Commit Graph

1397 Commits

Author SHA1 Message Date
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