chrisparker126
2dbd6f4380
removed potential seg fault with decrypting cache file
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4154 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-11 19:07:30 +00:00
csoler
4ea647b78c
implemented a verification for tunnel results. When the network gets heavily loaded, some tunnel results happen to get back twice. This stops the tunnel result sibblings
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4152 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-10 19:22:15 +00:00
chrisparker126
97b4d5df41
fixed cache opt bug related to new msg notice being flagged up for historical msgs
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4151 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-10 16:36:53 +00:00
chrisparker126
753804eee8
for each channel msg post download request is now only called once.
...
also added logic to deal with case where auto dl has been disabled then re-enabled after a manual download
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4137 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-08 22:08:12 +00:00
chrisparker126
bff095198c
for each channel msg post download request is now only called once.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4136 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-08 21:58:03 +00:00
csoler
05ed2bec88
fast simplification of code in pqistreamer, and added a missing =null in p3service that could cause a bug
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4135 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-08 20:57:16 +00:00
thunder2
8f0793f071
Removed automatic cleaning of the certificate in p3Peers::loadDetailsFromStringCert.
...
Added new button in ConnectFriendWizard for cleaning the certificate.
Fixed cleaning:
- added blank line after the armor header
- moved the checksum to a new line
Recompile of the GUI needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4134 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-08 18:53:12 +00:00
chrisparker126
814c5d1619
auto download option:
...
ability to enable and disable channels auto dl added
added gui update to channel feed
msg download not enabled yet
cache opt:
added more enable cache opt #defines to disable cache opt code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4132 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-07 22:09:16 +00:00
csoler
8e6962808d
- added random bias to search and tunnel request maximum depth
...
- added random (and biased) re-routing of tunnel request to improve tunnel length.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4130 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-07 20:16:43 +00:00
chrisparker126
85aad4c75b
fix the msg download problem
...
part of code the disable auto download for channels
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4126 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-05 23:07:54 +00:00
thunder2
83837fb9a8
Fixed compile on Linux.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4125 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-03 23:27:36 +00:00
thunder2
bc113326e4
Fixed problem with utf characters in the %APPDATA% path on Windows.
...
Added function for opening files on Windows and Linux - RsDirUtil::rs_fopen.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4124 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-03 23:11:38 +00:00
csoler
bc78397a64
removed comment in log abotu bandwidth restriction (not applied)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4123 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-03 20:15:55 +00:00
csoler
b9af3bab92
made FileEntry derive from SmallObject class, to improve memory cache efficiency (50% time gained)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4122 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-03 20:10:26 +00:00
csoler
6c2bdbe214
- added some optimization to RequestDirDetails internal functions
...
- improved sorting/selection in shared files flat mode
*W* Needs full recompilation.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4121 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-03 19:59:12 +00:00
thunder2
f9c896c3ac
Fixed crash on shutdown of RetroShare, when the cache loading is running.
...
Now the p3distrib threads are stopped before the instance of AuthGPG is deleted.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4119 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-03 16:20:47 +00:00
chrisparker126
c22a0c79e7
first iteration of history cache opt
...
compile with ENABLE_CACHE_OPT
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4116 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-31 21:41:13 +00:00
csoler
26311a7ad6
turned some uint32_t into int, for file watch period (did not produce a bug, but was still incorrect)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4115 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-31 19:59:56 +00:00
csoler
ccfee2d8e4
forgot this (uint32_t->int)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4114 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-31 19:19:30 +00:00
csoler
451c75813d
- added a missing pthread_join in file checking, that eventually caused a leak of thread resources
...
- changed the order of check in tick() to allow cancelling a file that is being checked
- removed the hash step from mutex protection
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4113 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-30 22:35:09 +00:00
csoler
6edee55e57
added error message when thread creation fails
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4112 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-30 22:32:13 +00:00
csoler
cc5096e40a
removed soem debug outputs
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4109 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-28 21:54:04 +00:00
csoler
2f22a29d5e
added PQI_DISABLE_TUNNEL to all configs
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4108 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-28 21:53:21 +00:00
csoler
7c6682b89f
added a checkbox in settings for tuning auto-check of shared directories
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4107 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-28 21:52:21 +00:00
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