Commit Graph

1323 Commits

Author SHA1 Message Date
thunder2
cfcb6ac5c4 Show last error (GetLastError) in log when lock file cannot be accessed on Windows.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4101 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-21 22:16:03 +00:00
chrisparker126
e44c52d256 fixed file leak in history cache opt
enable with compile define ENABLE_CACHE_OPT, recompile p3GroupDistrib.cc

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4100 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-21 21:34:56 +00:00
chrisparker126
94b7522516 added main parts of history cache optimisation. disabled at the moment
(has file leakage)
check-pointing work essentially, but in principle working, 


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4099 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-20 18:27:56 +00:00
chrisparker126
2dd6581f14 added lockfile path info to the multiple-instances warning window in rs-
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4098 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-16 23:25:57 +00:00
csoler
7049920f68 attempt to make GPG errors more verbose at cert exchange time
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4096 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-15 23:15:46 +00:00
csoler
2399978102 implemented a backward compatible fix for bug when searching (advanced) with max size larger than 2Gb
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4095 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-15 23:14:11 +00:00
csoler
794ab4aa06 implemented a backward compatible fix for bug when searching (advanced) with max size larger than 2Gb
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4094 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-15 23:12:46 +00:00
csoler
9e2be4b5be implemented a better management of tunnel requests
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4093 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-15 23:09:31 +00:00
thunder2
c64cb3b5f2 Share the download directory by default.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4090 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-08 23:29:21 +00:00
thunder2
af4dd635e3 Removed member ftController::mShareDownloadDir and calculate the value from the shared directories.
Combined the two methods for share and unshare of the download dir.
Added share incoming directory to the QuickStartWizard.
Recompile of the GUI needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4089 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-08 20:05:36 +00:00
csoler
3b6388dbb8 suppressed testnetwork target from default compilation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4087 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-07 12:27:12 +00:00
thunder2
127eac1118 Fixed utf8 issues when the partial or the download dir is set to a utf8 dir.
Use the native dialog for selecting the shared folder.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4083 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-06 20:19:16 +00:00
thunder2
b245ad7cf7 Messages with plain text (like the welcome message) are shown correctly.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4080 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-06 12:58:18 +00:00
csoler
1027621e07 added missign destructors, causing some parasitic memory leaks
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4079 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-05 18:26:33 +00:00
drbob
e72155c9dc Added missing return... which was crashing OSX during directory creation.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4077 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-05 03:43:40 +00:00
chrisparker126
ec0ce30103 checked in first bits of code for cache service data optimisation,
distrib can build grps xml document
added pugixml src code into utilities

pls see design document:
http://retroshare.sourceforge.net/wiki/index.php/Documentation:design_services_histories

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4076 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-04 22:16:25 +00:00
thunder2
0a42b7899e The working (hashing) thread FileIndexMonitor is now stopped when RetroShare is closed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4072 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-03 23:30:08 +00:00
csoler
dd73fe3a9a supressed memory leak due to not deleting a RsItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4069 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-02 14:36:27 +00:00
csoler
800cc281c5 suppressed potential SIGSEGV as exit time
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4068 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-02 14:33:32 +00:00
csoler
1489d85ce9 forgot to commit fopen64 fix to this file
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4059 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-25 08:02:12 +00:00
csoler
e39a04ee7f last fix to missing ftello64 calls (hopefully)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4057 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-24 22:44:41 +00:00
csoler
ea84a81886 fixed bug with big files. To be tested.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4056 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-24 22:22:59 +00:00
csoler
f6dc46da73 fixed bug with big files. To be tested.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4055 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-24 22:19:04 +00:00
csoler
ebfe8b9828 disabled error msg from pqistreamer, as it is not an error in 99% of the cases it happens
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4051 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-23 19:32:51 +00:00
csoler
827dbd8cf3 added a memory management class for small objects.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4046 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-20 21:36:21 +00:00
thunder2
db19db7e60 Optimized some small things in TransferDialog and SearchDialog.
Changed the parameter of the constructor of ftFileCreator and ftFileProvider and some methods of ftTransferModule from "std::string" to "const std::string&"

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4045 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-20 00:59:47 +00:00
thunder2
61b57ede65 Reactivate minimal version
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4044 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-18 23:26:08 +00:00
csoler
b7b8831f71 fixed bug for hash size display
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4040 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-16 22:33:44 +00:00
csoler
9de341953d removed duplicate hashing function. Now the hash buffer is always 512 bytes.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4038 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-14 19:59:06 +00:00
thunder2
0c22066d3d Switched off optimization for Windows build.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4035 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-12 00:47:10 +00:00
thunder2
4b8766aec3 Fixed compile on Windows and removed some compiler warnings.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4033 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-11 21:23:44 +00:00
drbob
074f382eab Final tweaks to dummy msgs:
* Added MISSING_MSG flag for GUI support.
 * tweaked message.
 * disabled debugging messages.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4032 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-11 14:08:04 +00:00
csoler
4ff7e52f91 added missign return
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4029 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-10 11:13:33 +00:00
csoler
081cfee461 made init port random, depending on the SSL id
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4026 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-09 20:21:28 +00:00
chrisparker126
bbcbc9282e added key restore to forums and fixed restore bug
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4023 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-08 22:34:54 +00:00
csoler
c448e82987 suppressed --probably-- harmless data race
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4021 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-08 19:37:01 +00:00
drbob
bad3e81077 * Changes to fix the "Parent Bug" in Forums.
- added Search Functions (for DummyMsgs) to p3distrib
     - added timestamps to RsDistribDummyMsg.
     - interfaced in p3forums

  Not sure about its interaction with "Read Msgs".



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4020 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-08 18:18:16 +00:00
drbob
ce298e62cf Added AutoLogin clear for OSX
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4019 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-08 12:29:11 +00:00
csoler
c0201b8dd2 corrected bug of not sending info to own location (tracker 3104190)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4016 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-05 20:44:41 +00:00
drbob
dec7a36835 Added First Part of tracking missing messages.
* Added RsDistribDummyMsg class to each GroupInfo.
  * Added function to check for missing parents.
  * added print functions for debugging.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4010 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-03 00:41:16 +00:00
thunder2
78aacb927f Fixed compile of the changes in rsloginhandler on Windows.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4009 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-02 22:38:56 +00:00
drbob
0dcef10ec2 Fixed the FriendFeed backup of messages:
* switched to one universal PendingCache list.
   * added mHistoricalCaches variable to p3distrib - to indicate when old caches have been loaded.
   * added calls to p3GroupDistrib::HistoricalCachesDone() in rsinit.cc
   * added "historical" parameter to lots of p3distrib functions.
   * updated child classes to only add FeedItems if (historical == false).
   * Switched Validate / Duplicate Msg checks to speed up historical data load.
   * corrected rsrandom function for OSX.
   * bugfix to rsloginhandler function. (compile error).
   


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4008 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-02 21:03:46 +00:00
csoler
8c35ecdc67 Cleaned the login code:
- Added a RsLoginHandler class, responsible for storing/loading the SSL passwd from keyrings/disk/gpg file
- Removed RsInitConfig::havePasswd, RsInitConfig::haveHelp, etc.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4007 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-01 23:27:53 +00:00
thunder2
23782a9d28 Fixed compile on Windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4004 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-30 21:04:09 +00:00
csoler
c4b8094d8e restored random seeding of the Mersenne twister (plz dont remove this! If it does not compile on windows, use time(NULL) only)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4000 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-30 15:27:02 +00:00
thunder2
62f7404199 Fixed compile on Windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3999 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-30 11:37:34 +00:00
drbob
71798f4e8a moved p3distrib loading to background thread.
* Added Cache Queues to p3distrib.
 * Created p3ThreadedService class.
 * added code to launch these threads.
 * debug code to see loading.

Seems to be far too many called to gpg->verifySignature()... to look at.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3998 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-30 01:37:59 +00:00
drbob
1f9395058c Added OSX keychain functionality.
* Done save and read, need to do "remove autologin" . 
       This can be done manually through KeyChain Acess program.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3997 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-30 00:13:52 +00:00
thunder2
91c2c0e4bf Fixed compile on Windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3996 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-29 19:08:30 +00:00
notdefine
55ae64a277 Needed header for complie on Gentoo
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3995 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-29 17:53:08 +00:00