Commit Graph

2329 Commits

Author SHA1 Message Date
csoler
fced5af60c fixed memory leak in key signature verification
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6539 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-24 21:35:19 +00:00
thunder2
7330ab894c Fixed memory leak in RsDataService::retrieveNxsGrps when no group is available.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6537 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-24 11:51:23 +00:00
thunder2
9d61832a86 Fixed some memory leaks and double frees in RsGxsNetService.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6536 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 22:04:24 +00:00
csoler
504ab562cc doubled data chunk for signature in chat links. Apparently some keys need more than 287 bytes.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6535 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 20:57:05 +00:00
thunder2
6dc9dcd49d Fixed some memory leaks in RsGxsNetService.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6534 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 12:17:50 +00:00
thunder2
c3303a1969 GXS:
- fixed some possible crashs with dynamic_cast
- fixed memory leak in p3GxsCircles::cache_load_for_token and p3Posted::background_loadMsgs

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6532 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 01:31:36 +00:00
csoler
a42b3fdbd4 fixed memory leak
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6527 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-21 20:52:54 +00:00
csoler
b1bc66b319 added missing delete when RsDiscReply item is rejected because of service permissions, causing memory leak
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6525 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-21 19:20:12 +00:00
thunder2
f5218cdfc3 Fixed crash after last commit in p3idservice.cc.
Fixed memory leaks and possible crashs in ::getGroupData
- p3gxschannels
- p3gxscircles
- p3gxsforums
- p3idservice
- p3posted
- p3photoservice


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6524 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-21 01:50:13 +00:00
csoler
11cfb1dc5c fixed memory leak in group item not being deleted after being received and treated
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6522 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-20 12:36:57 +00:00
csoler
2b9a211184 fixed memory leak in cert signature verification at connect (Patch from Phenom). Also removed some unused variables reported by gcc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6516 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-18 22:10:30 +00:00
csoler
14890ef007 added ACK system to make sure the secured tunnels for distant chat are actually working, before one starts using it.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6502 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-14 13:59:38 +00:00
csoler
06b68e4e31 updated comment. no actual change.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6498 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-11 21:53:30 +00:00
csoler
4c53d8dc5b removed MT19937 which is not used anymore. Changed N from 624 to 1024 to reduce cost
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6497 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-11 20:59:18 +00:00
csoler
6ee0aa9b3f fixed bug in distant chat accepting tunnels for collecting invites with same hash
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6491 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-07 20:43:37 +00:00
csoler
975e0d01fb fixed mistake in commit 6487
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6489 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-06 21:25:07 +00:00
csoler
0c2939734c added limits for field sizes in key generation method. Removed some compilation warnings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6487 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-06 19:59:42 +00:00
thunder2
4ce08bee38 Renamed the lib of sqlcipher to libsqlcipher.a for Windows too.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6482 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-06 00:58:17 +00:00
thunder2
af5c31a4f5 Use the best network interface to route an ip instead of the first interface in getLocalInterfaces on Windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6469 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-01 15:12:06 +00:00
csoler
7414659bd9 Patch (modified) from Phenom to allow auto-subscribe to chat lobbies
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6466 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-29 16:15:33 +00:00
csoler
9f88917ac1 added display of SSL encryption parameters in PeerDetails dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6465 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-28 21:47:25 +00:00
csoler
3560729ba7 fixed define for encrypted database
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6462 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-25 19:31:59 +00:00
csoler
4868a90d81 patch from Henry morgan to fix soem typos (e.g misspelled connexion into connection)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6460 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-24 21:23:50 +00:00
csoler
748f7db7a4 Made pqiStore accept packets even after deserialization error, so that it is retrocompatible (Patch from Phenom)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6459 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-23 21:53:14 +00:00
thunder2
233953cab9 Set path to sqlcipher instead of sqlite for Windows compile.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6457 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-23 00:00:40 +00:00
chrisparker126
4252270cd6 new db for release, TESTNET5, old TESTNET4 db's are not keyed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6456 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-22 16:21:13 +00:00
chrisparker126
87bb66e349 removed inlined #define RS_ENABLE_GXS
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6450 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-20 21:17:57 +00:00
chrisparker126
6b0594dfe1 Fixed database keying bug, left db closed causing meta modification fail.
- needed to keep ssl pword a little while longer after rs init

Added more sturdy logic to prevent segv on failed msg/grp meta modification

Added, Data base does not key database if key string is empty

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6448 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-20 19:50:25 +00:00
csoler
5e319b1261 fixed autoWash() method in p3turtle.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6447 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-20 19:12:33 +00:00
csoler
b21fae52d0 improved status display for distant chat
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6437 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-17 21:58:26 +00:00
csoler
8ab9c59a9f drop generic items with inconsistent peer id vs. tunnel directions
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6436 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-17 20:38:20 +00:00
csoler
63339153de removed debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6434 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-16 20:55:36 +00:00
csoler
69bf523c7a Enabled distant chat system.
Added system to collect and create chat invites from pgp keys.
Finished the GUI (some layouts need fixing, especially the link creation window).
Still needed: QoS on generic turtle data items. Will need a new item class for any anyway.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6433 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-16 14:39:44 +00:00
chrisparker126
777366a79b Enabled db encryption and changed gxs folder
- need sql cipher to compile if gxs compile flags are enabled

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6431 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-13 21:21:33 +00:00
csoler
ff544da72e added proper tunnel closing mechanism with notification of the talking peer, and popups to inform the chat participants
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6430 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-13 21:12:07 +00:00
csoler
42db43e590 - fixed a few bugs in PopupDistantChatDialog (Possible deadlock, wrong window for private chat)
- added method to properly close distant chat conversation (Still needs some work)
- improved chat link creation window + clipboard copy



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6426 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-12 21:10:09 +00:00
csoler
d5c645e383 fixed assert crash due to using non RSA key
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6424 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-11 20:51:39 +00:00
csoler
a6e315db54 added include that might be necessary on some architectures
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6420 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-09 18:49:39 +00:00
thunder2
a304ffbab7 Fixed some compiler warnings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6419 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-09 17:54:54 +00:00
csoler
046a3548fe fixed update of flag for peer signature over own key
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6417 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-09 13:09:36 +00:00
csoler
90b5e76f25 fixed bug in anti-search-by-depth mechanism; removed some compiation warnings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6416 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-08 20:48:02 +00:00
thunder2
9fcb18553a Fixed crash with Windows compile.
Renamed method "RsFiles::CopyFile" to "RsFiles::copyFile" (lower case) to avoid renaming of "CopyFile" to "CopyFileW" with the newly included "windows.h".

From windows.h
#define CopyFile CopyFileW

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6415 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-08 20:03:29 +00:00
csoler
f6509bef31 only add direct sources that have flag for direct DL enabled
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6412 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-06 20:52:24 +00:00
csoler
dc2521cf71 Merged branch v0.5-GenericTunneling into trunk (Rev. 6284 to 6410).
- adds turtle router as a generic tunneling service
- made ftServer a client of the service. Now turtle file items are handled in ftServer
- added new client: p3MsgService to send/recv pgp-encrypted distant messages
- added new client: p3ChatService to perform private (AES-encrypted) distant chat through tunnels.
- The GUI is disabled for now, since it needs some polishing before being fully usable.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6411 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-06 19:58:30 +00:00
csoler
264f92cf15 disabled debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-GenericTunneling@6409 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-05 19:55:10 +00:00
csoler
900abd0f54 fixed compilation of network simulator
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-GenericTunneling@6408 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-05 19:54:34 +00:00
thunder2
faac2987db Revert changes for Windows compile in libretroshare.pro after merging gxs_phase2 branch.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6407 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-05 14:19:21 +00:00
csoler
9c69ad0500 added a new per-friend flag to allow to seek for direct transfers. Disabled for existing friendds (should be added manually), enabled by default for new friends
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6406 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-05 12:57:11 +00:00
csoler
ef2ebcc1d6 removed unused code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6405 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-05 12:55:48 +00:00
csoler
451dc2da5e disabled gxs by default in libretroshare to be consistent with rs-gui
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6404 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-05 12:11:46 +00:00