thunder2
de87a89437
Added a name to the RsMutex class.
...
You can enable the debugging of the waiting time for a lock of RsMutex in rsthreads.h with
#define RSMUTEX_DEBUG 300
That means all locks waiting longer than 300ms are logged into the stderr.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4392 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-07-04 22:59:39 +00:00
thunder2
a94568ac33
Added missing notify when sending a message to an offline user.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4391 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-07-03 13:02:18 +00:00
thunder2
2a376253e0
Fixed compile with gpgme before 1.3.1.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4388 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-07-02 21:35:29 +00:00
chrisparker126
0980b8a733
reverted back cache opt changes, previous commit incorrectly made to trunk instead of cache opt branch
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4376 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-07-02 01:33:52 +00:00
chrisparker126
37a81e98ef
fix to duplicate msgs found between cachefile being formed
...
(caused by not marking cache opt loaded files as local or not)
also missing own-msgs bug caused by not accounting for msgs created by users
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4374 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-07-02 01:14:23 +00:00
csoler
e9853b655c
added a signature add/remove button in connect wizard, only when gpgme-1.3.1 or greater is used, based on the availability of the GPGME_EXPORT_MODE_MINIMAL option.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4372 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-07-01 20:47:58 +00:00
chrisparker126
28e5f1b8f3
refactored p3chatservice move avatar declaration to p3chat header
...
and encapsulating config methods
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4365 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-30 20:50:08 +00:00
thunder2
aab46a5295
Changed parameter of the methods of pqiNotify from "std::string" to "const std::string&"
...
Stops loading of a cache in p3GroupDistrib::loadFileMsgs on shutdown of RetroShare.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4363 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-29 22:54:44 +00:00
drbob
b683e663d6
Merged Changes /branches/v0.5-peernet/libretroshare/:r4237-4358
...
Major changes are:
* Improvements to tcponudp library to allow multiple UdpStacks / ports, with alternative recievers.
* Resurrected the UdpStunner code, and improved it.
* Added UdpRelay code.
* Modified startup code and ssludp code to use the new tcponudp and add a stunner.
* fixed buggy rs_inet_ntoa
* fixed a bunch of apple gcc warnings. mainly for(;;); => for(;;) ;
These changes shouldn't affect libretroshare stability... those changes will follow!
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4359 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-29 18:02:44 +00:00
drbob
d58f838269
Cleaned up formatting, and OSX zombie debugging
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4358 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-29 17:08:39 +00:00
drbob
702ff44194
added new dummy callback. Required for updated libbitdht.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4355 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-29 10:46:11 +00:00
csoler
e77913914d
fixed bug in search with size in MB. Caused crash due to deserialization error.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4347 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-28 08:18:54 +00:00
thunder2
a9b85c83ae
Moved define of the debug output from libretroshare.pro to pqissl.cc.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4346 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-27 22:28:33 +00:00
drbob
66b9f42835
Added Check for the existance of each Cache File before that are passed on the loader.
...
This should once and for-all remove the copy file warnings - I hope ;)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4343 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-26 21:43:49 +00:00
drbob
4e56166e3f
Updated tests for tcponudp. Only some of these tests are still valid.
...
the TOU interface no longer supports multiple sockets..
all the connections are attached to the same UdpStack.
Multiple sockets will be re-introduced in the next TOU iteration.
At that point the remaining tests will be fixed up.
* tweaked regress.mk
* added scripts to launch tests.
* replaced UdpLayer with UdpStacks.
* only two proper tests: udp_server (passes), test_tou (fails)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4341 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-26 15:41:08 +00:00
defnax
e34384b590
update for the win build script
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4336 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-25 16:16:59 +00:00
defnax
6b0dacb8c3
update version for trunk
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4335 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-25 16:16:02 +00:00
drbob
f475c4bdd6
Returned debugging to what it was!
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4334 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-25 12:41:37 +00:00
drbob
9e420ce08e
Found the CacheTransfer Killing Bug... misplaced brackets!
...
I've also switched on the debug output so we can see when it happens.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4333 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-25 11:49:38 +00:00
csoler
fc959a0ad6
fixed a bug in pqissl and pqistreamer. The 2nd one was responsible for disconnections and errors in GetTlvString type
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4332 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-24 21:44:29 +00:00
drbob
a333b12618
Fixed the Missing Cache File bug.
...
* Added Old Cache Storage... so these can be retrieved.
* Connected up the CancelCacheFile() -> FileCancel.
Other Changes.
* Removed ipaddr = 1 bug (thought someone else had commited this earlier???)
* added #ifdefs to remove debugging output in p3BitDht.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4330 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-24 15:10:52 +00:00
csoler
ee278b45b7
corrected uninitialized value
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4327 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-23 19:16:10 +00:00
csoler
e07e8e8d48
made "." be a plugin directory for debugging only
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4326 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-23 18:55:15 +00:00
chrisparker126
3455067373
moved authgpgtest.cc/.h back to src/pqi from test/pqi
...
removed test directory in src/pqi
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4323 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-22 23:33:43 +00:00
chrisparker126
f12d2c46bc
moved authgpg fake module to tests folder
...
fixed ficachetest and fimontest
makefile update for serialiser for previous revision
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4321 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-22 21:44:40 +00:00
chrisparker126
f3fbac7d77
updating tests:
...
serialiser:
added tests for rsconfigitems
added regression reporting for tlvrandom_test
fixed rstatusitem_tests
fixed tlvbase_test2 tests, any fix rstlvipaddrv4 from this revision should not break regression
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4320 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-22 21:38:26 +00:00
thunder2
ce90ea4495
PluginManager:
...
Fixed compile under Windows.
Removed CloseHandle of GetModuleHandle.
Added missing return when the function entry of the plugin is NULL.
Fixed checking for the extension ".dll".
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4287 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-18 00:58:09 +00:00
chrisparker126
6e633e419a
Added flag for coverage profiling to tests
...
updated services tests
- added chat and forum test skeletons
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4286 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-17 20:57:58 +00:00
csoler
e6f2d22a8c
added settings page for plugins.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4283 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-17 19:59:01 +00:00
csoler
e0f6899e01
added dlopen method for windows. To be tested.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4280 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-17 18:51:22 +00:00
csoler
03f0d61764
added missing file
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4277 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-17 08:30:12 +00:00
csoler
a2c91a7924
- Added basic infrastructure to plugin system in libretroshare and retroshare-gui.
...
- ported LinksCloud to a new plugin, and removed it from main sources
Next moves:
- add gui for managing plugins
- handle windows compilation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4275 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-16 21:59:26 +00:00
csoler
3925a7114a
removed debug ifdef
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4272 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-15 20:12:17 +00:00
csoler
f290c8eca4
Made the hash-cache more compliant with mounted/network drives:
...
- corrected bug that would wipe out the cache file every other start
- missing root directories are not discarded anymore, but kept empty, unless the user really removes them
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4271 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-15 20:03:26 +00:00
thunder2
0dd77f6f27
Optimized the functions for the forum messages.
...
- used "const std::string&" for the parameters
- used "std::map" for the read status
- removed useless variables
Added new define DEBUG_FORUMS in ForumsDialog.cpp.
Added function to generate mass data for the forum messages.
Fixed german language for the FriendsDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4236 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-06 21:44:16 +00:00
csoler
0baaa271e9
added missing info for search depths
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4227 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-31 21:22:18 +00:00
csoler
7edcf59116
moved TR filtering to beginning of TR handlign function. Makes it more consistent w.t.r. the displayed turtle statistics
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4223 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-28 20:36:52 +00:00
csoler
f3ca5b9941
added automatic limitation of turtle search and turtle tunnel requests as a function of current traffic
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4222 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-28 14:39:47 +00:00
csoler
4d846513e2
added additional statistics from turtle router. Needs full recompilation.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4221 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-26 22:11:06 +00:00
csoler
eae57516c5
Included patch to compile on OpenSUSE 11.4 (from AsamK)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4218 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-24 10:25:43 +00:00
thunder2
c45e7562bb
Added a star column for messages.
...
Recompile of the gui needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4217 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-23 23:45:31 +00:00
csoler
3f21835114
added a display of turtle search/tunnel requests over time, to help spotting potential spammers
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4216 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-23 21:45:25 +00:00
thunder2
f14b529009
Added tags to the MessageComposer.
...
Added context menu to contact list in MessageComposer.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4213 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-21 16:26:00 +00:00
drbob
29edfff524
Disabled the CACHE_OPT code, until the duplicate cache entries is fixed.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4210 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-17 19:57:29 +00:00
drbob
d208fa3c37
re-worked printcache to analyse a large batch of cache files.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4209 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-17 18:03:05 +00:00
drbob
94d526193c
fix debug output
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4207 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-17 15:04:27 +00:00
thunder2
72d9f352e3
Removed the difference of the separator for Linux and Windows.
...
Removed extra "/" of the filename (e.g. "E://") of the hashed file when sharing a whole drive.
Recompile of the gui needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4200 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-15 12:42:55 +00:00
chrisparker126
00c1bfcf54
fixed bug related to opening cache hist file in text mode for windows
...
added cleaning of cipher context to authssl encrypt decrypt functions
added header to trustview which caused compilation error
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4199 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-15 12:01:23 +00:00
chrisparker126
cf585b3ce0
added history cache optimisation to subscribed/client groups.
...
added couple more ifdefines to remove cache opt code.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4192 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-08 18:41:59 +00:00
csoler
31b950a8fe
Corrected bugs in chat:
...
- sending large messages now works, thanks to RsChatMsgItem splitting (not 100% backward compatible, but avoids crashing)
- removed crash due to dynamic_cast onto a deleted pointer.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4187 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-04 20:52:45 +00:00
csoler
34fc615d2c
added code to display msg text in debug mode
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4180 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-01 21:22:11 +00:00
csoler
eafa3d5a87
fixed compilation on ubuntu natty
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4178 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-30 11:48:48 +00:00
csoler
993e0d225c
improved strategy of cleaning unfinished cache transfers
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4171 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-25 14:20:57 +00:00
csoler
61b387447f
fixed display inconsistency in tunnel local src/dst when getPeerDetails() call fails
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4170 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-25 14:15:57 +00:00
csoler
db428d0cd8
always set location for connected peer. Previous settign was causing blank location display
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4169 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-25 14:12:34 +00:00
chrisparker126
660d5d8e58
attempt at fixing leak sources in channel messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4168 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-25 09:58:19 +00:00
csoler
478f145728
fixed compilation on ubuntu natty, probably due to a packaging bug
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4167 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-24 20:20:49 +00:00
csoler
7e77c01624
added print-cache code to the tests suite
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4163 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-20 20:54:44 +00:00
csoler
f110bad74c
changed policy for canceling cache files: only inactive transfers get canceled now.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4160 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-17 16:22:03 +00:00
csoler
c0f94a41db
used tr1::unordered_set instead of std::set to store pointer checking list, as it is more efficients for lookups
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4158 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-15 20:21:52 +00:00
thunder2
20fa00c40e
Added handling of RetroShare protocol under Windows.
...
Added new command line parameter "-r retroshare://..." for adding links to the registered running RetroShare.
Recompile of the GUI needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4156 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-14 21:59:51 +00:00
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