Commit Graph

2963 Commits

Author SHA1 Message Date
csoler
93dd5d8322 fixed weird logic in handling connection attempt for an already connected peer.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7767 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-16 22:16:14 +00:00
csoler
85515f0a62 fixed cross-deadlock between pqissl and pqithreadstreamer by removing locks over atomic operations.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7766 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-16 21:46:07 +00:00
csoler
f5a30c3d3f fixed bug in distant chat causing multiple tunnels to break the DH session.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7765 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-16 21:45:49 +00:00
thunder2
55be6675af Added size limit for chat types - Public, Private, Lobby, Distant
Set the size limit for private and distant chat to unlimited.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7761 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-16 10:39:56 +00:00
csoler
93f77a0e2c improved network statistics for GXS net service. Added number of available messages for unsubscribed forums in GUI. Should be done as well for channels.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7760 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-16 06:54:15 +00:00
csoler
d4dad8328f fixed compilation warnings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7759 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-16 06:49:42 +00:00
thunder2
70009367da Added missing initialize of members in constructor of GxsGroupStatistic and GxsServiceStatistic
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7747 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-11 13:03:09 +00:00
csoler
3e1f7fa4e3 remove GXS ids with faulty signature. This should not happen anyway.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7745 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-10 21:59:28 +00:00
csoler
2cbd77ac33 added additional check for signature consistency after signing GXS id.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7744 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-09 20:38:03 +00:00
thunder2
0738121a90 Fixed deadlock in pqithreadstreamer::stop (request from Cyril)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7741 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-09 11:18:20 +00:00
csoler
71cd1e0030 2nd attempt at fixing tcponudp bug. To be tested.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7740 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-08 22:17:06 +00:00
csoler
d8d5fdd24c attempt at fixing tcponudp bug. To be tested.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7739 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-08 21:13:26 +00:00
csoler
b7e94fce99 added keep-alive packets to distant chat. Improved the tunnel management logic.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7735 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-07 21:51:30 +00:00
thunder2
40bfa50b29 Fixed utf8 issue when using strings with openssl
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7726 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-03 23:03:03 +00:00
csoler
512a938cfb fixed bug in distant chat: tunnel monitoring wasnt stopped when quitting if no vitual peer present
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7725 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-03 19:26:12 +00:00
csoler
a5bf3b6f3f improved/cleaned debug outputs in in rsgxsnetservice.cc. Performed optimization of transaction system: limited the size of message transactions and allowed a much larger transaction timeout to suppress the transaction cancelling epidemic that caused global bandwidth increase and lack of channel/forum propagation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7724 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-02 20:06:56 +00:00
drbob
6588eafb99 Adding start of new Mail Service.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7723 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-02 13:22:48 +00:00
csoler
21fe2413cd two improvements of turtle router logic: increase of TR cache storage time to avoid too many void tunnels due to bouncing TR beyond storage period of 120 secs; prevent openning upload tunnels for files currently being downloaded before any chunk was obtained. Suggested by Jo.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7719 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-29 17:26:06 +00:00
csoler
959c0ebf5b fixed serialisation bug preventing the correct save of grouter matrix in some cases
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7715 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-27 18:14:11 +00:00
csoler
705598b0b4 fixed proper deleting of pending transactions inside mutex to avoid concurrent thread to use them
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7713 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-26 20:34:24 +00:00
csoler
e2daec7134 fixed uninitialised memory read in rsgxsdataaccess.cc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7712 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-26 20:33:29 +00:00
csoler
a9c40bf1d8 sorted initialisation routine. Removed uninitialised memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7711 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-26 20:07:43 +00:00
csoler
ab038bf69e fixed inconsistency using getKey() and getPrivateKey() supposing it returns a boolean. It should return a boolean anyway.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7709 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-25 20:31:18 +00:00
csoler
30d9671ca6 added setFlags method in Id combo box. Removed possibility to send anonymous distant messages (too risky). Improved the logic in message composer GUI. Fixed bug when key not available in message encryption/signing routine.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7705 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-24 21:02:18 +00:00
thunder2
2f547e4014 Added service pointer of forums and channels to RsPlugInInterfaces.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7704 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-23 23:24:41 +00:00
defnax
c731525b23 update the windows build bat`s
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7700 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-22 13:32:26 +00:00
csoler
5cd64bde29 removed uninitialised memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7699 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-22 12:51:52 +00:00
csoler
ce83a24692 removed unused code in distant chat, removed some debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7698 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-22 12:47:21 +00:00
thunder2
3ef04a61c9 Added feed item for Posted group and message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7694 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-21 00:50:18 +00:00
csoler
7014a8f171 reworked logic of distant chat so as to handle multiple conversations at once and cope with multi-tunneling system.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7693 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-20 23:18:14 +00:00
csoler
06065ef623 added selection of which identity we talk as when multiple GXS identities are available
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7691 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-18 15:55:31 +00:00
csoler
fd20f629dc fixed GUI for distant chat: correct display of peer names, chat window on client shows up when chat is openned. Window on server only shows up when first message is received.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7688 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-17 21:56:41 +00:00
csoler
8480d46eb5 improved the logic in distant chat. Now all traffic is referred to by the GXS id of the contact instead of virtual peer id which would change with tunnel route. Work still needed to fix up the GUI
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7687 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-16 22:46:18 +00:00
csoler
756b9acf41 fixed bug caused by old GXS keys in distant chat. Added a security warning for these keys to be deleted.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7684 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-15 20:54:42 +00:00
csoler
e007151197 implemented more tests and fixed a few bugs in GxsSecurity
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7683 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-15 20:24:56 +00:00
thunder2
b475b84070 Removed some compiler warnings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7678 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-15 00:39:19 +00:00
csoler
a3eea2cfb1 fixed bug in distant chat randomly screwing up key exchange, and causing distant chat to be unreliable.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7677 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-13 22:28:37 +00:00
csoler
f2a6d9f35e fixed error messages in grouter items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7676 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-13 22:27:01 +00:00
thunder2
33f785f200 Added notify of received groups and messages for forums and channels to libretroshare.
Show GxsChannelPostItem in NewsFeed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7675 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-13 22:03:12 +00:00
thunder2
67215c7ffe Removed unnecessary method p3Notify::AddFeedItem.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7674 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-11 20:28:45 +00:00
csoler
db4b87cd01 Mutex debugging: added a new macro RS_STACK_MUTEX(myMutex) to trigger a scope guard while recording file location and line number. Moved the timings from RsMutex to RsStackMutex. Changed the mutexes in rsgenexchange and rsgxsntservice to use the new macro.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7672 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-11 19:47:05 +00:00
csoler
b25f6f30ef fixed memory leak
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7671 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-11 17:10:16 +00:00
csoler
f6efa2fb92 separated chat items from message items, separated chat into tree components: chat, distant chat and distributed chat (i.e. lobbies). moved all chat components into chat/. Removed deprecated chat items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7670 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-11 16:10:54 +00:00
csoler
04b3b432e8 fixed re-login after wrong passwd. Patch from Electron
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7669 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-08 19:31:16 +00:00
thunder2
f7f1da01b5 Fixed compile on Windows
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7668 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-08 17:57:21 +00:00
csoler
b98c6cbe02 moved all distant chat code into a separate file. Will do the same for chat lobbies
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7666 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-08 14:55:29 +00:00
csoler
9a6d57f89b fixed compilation of network simulator
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7665 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-08 12:36:20 +00:00
csoler
7fca2836d6 improved mutex lock debugging
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7662 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-05 20:07:15 +00:00
csoler
2912b533a5 added additional factor to reduce Nxs item broadcast when outqueues are already filled in whereas user-defined bandwidth limit is unreached
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7656 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-02 10:21:45 +00:00
csoler
5d13dee029 fixed compilation after removing operators!= (patch from phenom)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7655 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-02 09:40:51 +00:00
csoler
1078126a38 added tempering system for GXS, so as to not send more in the outqueues than what the current bandwidth can handle.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7654 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-02 09:23:37 +00:00
csoler
ea5b923428 added very basic display of outqueue statistics in BwCtrlWindow. Removed unnecessary list::size() calls in pqistreamer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7652 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-31 21:24:42 +00:00
csoler
ec2d6ed2c7 removed unnecessary string to string conversion
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7651 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-31 21:19:52 +00:00
csoler
9311dc5922 removed unused comparison operators
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7650 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-31 21:18:52 +00:00
csoler
39e123dbf2 added security check in pqissl::senddata() to avoid SIGSEGV when quitting
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7649 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-30 19:55:10 +00:00
csoler
d8b3a16a50 removed debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7648 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-30 19:54:21 +00:00
thunder2
135dde5d59 Changed sleep to usleep in RsStackFileLock::RsStackFileLock (request from Cyril)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7647 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-29 09:38:22 +00:00
csoler
eefac5e4df added more time measurements in RsMutex, so as to measure locking time and waiting time. Only enabled with RSMUTEX_DEBUG
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7646 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-28 20:37:48 +00:00
csoler
59ab1bdc52 limited storage of DEAD items in grouter cache to 1 hour to favor re-explore dead routes and limit cache size
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7644 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-26 16:54:32 +00:00
csoler
90b57337f5 fixed display of TOR connexions in the friend list
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7642 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-26 16:24:45 +00:00
csoler
067e5d4fac fixed SIGSEGV when quitting due to deletion of UPnP handler during callback
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7634 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-25 12:48:03 +00:00
csoler
d547cb6fdb changed post fixed operator++ into prefixed. More efficient on some systems. Patch from Phenom.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7630 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-24 22:07:26 +00:00
csoler
880efee332 removed ifdef for the different sleep methods. Now only usleep is used, on all systems. Patch from Phenom
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7629 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-24 21:31:58 +00:00
csoler
c17de671bb added feedback from rsgenexchange into Global router to add routing information
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7628 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-22 21:00:20 +00:00
csoler
b593a918a0 optim: changed postfixed ++ into prefix++ for non trivial operators, replaced test on std::list::size() by std::list::empty() (Patch from Phenom, modified)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7627 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-21 22:33:02 +00:00
csoler
db55ab0bde weighted maximum length of a msg in grouter inversely to how much it has spread
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7625 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-19 22:02:00 +00:00
csoler
90c24e7135 improved anti-flooding stategy in g-router
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7624 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-19 21:30:28 +00:00
csoler
d44eb370e4 fixed bug in global router making the routing matrix too sparse
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7623 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-19 21:08:09 +00:00
csoler
85fce2f2dc added missing record of Dn traffic in turtle router
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7622 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-19 12:36:38 +00:00
drbob
cdfbe90682 Fixed check if address has changed - was preventing resetting of local port.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7619 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-18 00:19:05 +00:00
drbob
bd688f0156 Tweaked TOU so it can accept Generic Sized Ip Addresses,
even though it will only accept IPv4 addresses.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7615 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-17 13:59:05 +00:00
csoler
6e2df7e0de extended group share keys to Posted
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7608 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-13 18:31:47 +00:00
thunder2
fbb177dd66 Added read status to posted messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7600 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-12 17:22:21 +00:00
thunder2
d3682337f0 Set new messages to unread
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7599 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-12 17:11:37 +00:00
thunder2
1bfa4df911 Fixed missuse of message flag UNPROCESSED as indicator for a NEW message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7598 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-12 15:53:23 +00:00
csoler
e8b57abf05 removed udp debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7595 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-11 13:18:25 +00:00
csoler
39e8028837 increased sync period in RsGxsNetService so as to reduce network load. Increased transaction timeout to 30 seconds to avoid wasting too many transactions
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7592 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-09 17:20:09 +00:00
thunder2
dd1f88a1bb Replaced external library libcrypt32-cygwin.a by libcrypt32.a from MinGW for Windows compile.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7588 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-08 16:44:25 +00:00
csoler
8c2ba8b980 added a structure in GxsNetService to record who sends info about groups, so as to dynamically compute group popularity. The GUI needs to be improved to update regularly so as to reflect current values for popularity. For now only subscribing/unsubscribing and new messages trigger the update
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7587 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-07 21:42:44 +00:00
csoler
c527fa9375 removed debug code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7586 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-06 20:16:52 +00:00
csoler
d0469ccfc3 implemented publish key sharing between peers for channels.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7582 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-05 19:14:05 +00:00
thunder2
1d6bf4190e Added automatic upgrade (cipher_migrate) of the sqlite database.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7581 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-05 16:56:23 +00:00
thunder2
d0238810b7 Common folders for libraries, includes and binaries of all external libraries for Windows compile.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7580 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-05 15:31:00 +00:00
csoler
9efc43f41c Big progress for People dialog. Phenom work.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7573 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-28 20:46:56 +00:00
thunder2
e6eb0e22ff RsGxsIntegrityCheck
- Fixed message hash checking
- Added check for existing but not loadable messages
- Notify the gui when messages are deleted

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7568 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-28 12:11:29 +00:00
csoler
03fc766e55 basics for TOR proxy status. Unfinished
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7567 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-28 09:54:20 +00:00
thunder2
480e8e1385 Removed the directory name of the message file name in the database column "nxsFile".
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7565 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-27 12:43:25 +00:00
thunder2
37ddbf63cc Fixed count of new and unread messages for Channels and Posted.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7561 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-24 23:57:47 +00:00
csoler
38c7e50e06 fixed bug causing forum posts to disappear/re-appear and to be set unread again. The bug was due to inconsistency between cleaning old messages and still inserting old messages again. Also augmented the storage period to 4 months (previously 1 month). Challenge: we should keep threads until the newest post in the thread is older than 4 months
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7554 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-22 18:50:45 +00:00
csoler
b3126bff4f added explicit include of sqlcipher headers. Avoids confusion when packaging for ubuntu
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7551 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-21 13:31:37 +00:00
csoler
b1dc8912c7 added additional debug info in rsgenexchange
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7549 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-20 19:58:07 +00:00
csoler
e18c934e21 ported commit 7487 from branch 0.5.5. Seems to fix loss of config files on windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7548 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-20 19:54:04 +00:00
csoler
789e6ae24e removed some debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7542 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-16 19:53:23 +00:00
csoler
9752fb9698 security check for encryption key length to avoid crashing when deserialisation gives wrong numbers
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7535 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-14 19:23:23 +00:00
csoler
0c536c3f4c fixed deadlock in UDP connections. Still, UDP streams break after 5-10 secs. Needs further debugging.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7529 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-12 21:52:13 +00:00
csoler
e859160579 wrong format string (patch from Vaio)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7515 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-09 18:14:10 +00:00
csoler
3bee80c807 fixed possible dereference of null pointer (patch from Vaio)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7514 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-09 18:12:39 +00:00
csoler
28b11a555a fixed call of deleted pointer in std::map (patch from Vaio)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7513 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-09 18:10:52 +00:00
csoler
6bfe653330 small glitch fixed in std::cerr call (Patch from Vaio)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7512 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-09 17:15:05 +00:00
csoler
0ab21fa033 removed unused ftfilemapper class
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7511 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-09 17:13:48 +00:00
csoler
b83a1f18d8 fixed memory leak/missing fclose. Patch from Vaio
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7510 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-09 17:11:37 +00:00
csoler
7c43bd27d3 added missing fclose in error handling case (patch from Vaio)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7509 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-09 17:09:52 +00:00
csoler
86126dea25 fixed small memory leak when chunk data is not found (thx to electron)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7507 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-08 19:37:01 +00:00
csoler
9781982811 added missign file from previous merge
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7494 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-08-26 17:14:40 +00:00
csoler
f6db432c74 Merge of branch v0.6-rssocialnet 7419 to 7488. Changes from electron and myself:
- added possibility to modify groups (e.g. edit circles)
- fixed mismatched free/delete in fimonitor.cc, authssl.cc, pqibin.cc (saving encrypted hash cache file)
- improved plugin interface class to allow plugins to access GXS objects.
- added method to un-register notify clients from RsNotify
- fixed pqisslproxy for windows, due to win not properly supporting sockets in non blocking mode.
- removed static members form RsInitConfig and made RsAccounts object a pointer. This prevents plugin initialisation problems at symbol resolving time.
- removed bool return from p3IdService::getOwnIds()



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7492 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-08-25 21:07:07 +00:00
thunder2
9c3266fdd9 - Added two new members to GxsGroupStatistic/GxsServiceStatistic - mNumMsgsNew, mNumMsgsUnread
- Set mGrpId on GxsGroupStatistic
- Changed GxsUserNotify and GxsGroupFrameDialog to statistics

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7462 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-20 19:35:33 +00:00
chrisparker126
5399618cef completed addition of get statistic feature of gxs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7461 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-20 11:21:06 +00:00
chrisparker126
99519f14bd last bit needed have statistic functions
- getgrpstatistic and getservicestatistic should be working now


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7458 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-19 08:29:56 +00:00
chrisparker126
da335802e2 Added statistic calculation and retrieval
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7457 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-19 08:00:06 +00:00
chrisparker126
c30318f0c0 Added initial implementation of get statistic functions
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7455 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-16 21:40:57 +00:00
csoler
3b88acb45d fixed up mismatched free/delete
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7448 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-13 08:58:58 +00:00
thunder2
383a035bdb - Added new translatable strings (patch from Henry)
- Updated english translation

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7447 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-10 18:37:21 +00:00
thunder2
eb22610145 Merged revision 7443 from branches v0.5.5
Added patch from Henry:
- Added translation for password input
- Fixed utf8 issue in ProfileManager

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7444 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-07 19:37:04 +00:00
csoler
8667cf9f92 add changing state for Send button in chat when msg size exceeds allowed size (Patch from Phenom)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7438 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-06 11:33:04 +00:00
thunder2
7a63e1985b Fixed compile error.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7432 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-05 20:05:17 +00:00
chrisparker126
30681ed205 fix mem issue with outgoing transactions
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7430 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-05 12:29:40 +00:00
thunder2
60a67846b0 Added notify of meta changes to RsGenExchange
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7428 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-04 21:51:17 +00:00
thunder2
b85459ee02 - Removed not used members from RsGenExchange and p3IdService
- Fixed memory leaks in p3PostBase

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7425 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-03 21:49:17 +00:00
csoler
2785094c97 patch from HM to make password question translated
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7424 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-03 21:03:28 +00:00
csoler
be82951e2e fixed popup of distant chat dialog, and display of peer names.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7406 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-06-12 22:06:43 +00:00
csoler
b44e469e0e added missin gunistd.h
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7404 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-06-12 16:52:32 +00:00
csoler
80f4401e88 - implemented DH protocol for PFS encryption in distant chat between GXS ids.
- changed format of keyId in rstlvkeys.{h,cc}, but kept the serialisation for backward compatibility (A #define needs to be removed to fix it for good). Updated rsrecogn, rsmsgitems, gxssecurity accordingly
- added "chat peer" in IdDialog to help testing distant chat.

Distant chat works and is now encrypted. The GUI still needs some smoothing: display of correct peer names
in chat window, remove the need to add a message in p3chatservice.cc:3217 to force poping up the chat window.

- added MsgAddress class to handle generic address types while keeping type separation in Messages. Not used yet.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7403 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-06-12 10:28:23 +00:00
thunder2
4c6ab35867 Updated external library to openssl-1.0.1h
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7400 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-06-05 23:51:48 +00:00
chrisparker126
751930cd2d Fix meta update in gen exchange (for meta service string updates)
- was assuming all meta changes were related to bit sets
- was returning fail, when successful

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7397 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-06-03 21:49:41 +00:00
drbob
8d721c7a95 Restore Stunner functionality
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7394 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-06-01 09:30:27 +00:00
drbob
c87efec81b Fix for UDP relay deadlock... not tested
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7393 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-06-01 01:16:34 +00:00
csoler
b7f794c37d added more error info for failed servicePerm packet. Fixed small bug in GXS-distantChat. Data passes through. Crypto still pending.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7379 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-26 21:44:16 +00:00
csoler
b6c68d1812 - started changing distant chat so that it works with GXS ids instead of PGP ids. Something is still broken in
service control. Crypto is not done yet => distant chat is unencrypted.
- changed GUI for distant chat. Removed invitation system.
- added menu item to distant chat GXS ids from IdentityItem (only entry point for now).
- fixed bug in chat lobbies causing re-connexion of lobbies not to happen everytime (bug reported bu Lain)



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7378 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-25 21:43:05 +00:00
thunder2
d2fc7a3e10 Fixed compile on Windows
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7376 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-19 22:16:04 +00:00
csoler
bfe872118b - fixed a bug in distant message signature checking
- fixed delay problem in not getting uncached GXS Id keys by prior requesting details about the key
- enabled signing by default in MessageComposer
- implemented print() in RsTlvIdSet.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7373 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-17 21:36:07 +00:00
csoler
ec031ba940 moved all the code using explicit EVP_KEY and RSA structures into gxssecurity (except rsrecon, still need to do)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7371 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-17 13:50:40 +00:00
csoler
d3b92ddab9 Fixed mismatched free/delete; removed one dangerous and unused function; added missing memory release calls
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7370 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-15 21:55:34 +00:00
csoler
d782d8eed9 forgot to free memory.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7369 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-15 21:08:23 +00:00
csoler
1bf3e2967f fixed security hole in generation of key fingerprints. Fingerprint of previously existing GXS ids can be faked. The change is backward compatible.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7368 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-15 21:00:44 +00:00
csoler
9aba04982e improved cipher string for higher security
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7365 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-11 18:42:16 +00:00
csoler
7f9fde8c1d fixed stupid serialisation error causing routing matrix not to be loaded properly
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7357 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-09 21:44:52 +00:00
csoler
a9193c6380 added additional checks to signature verification
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7353 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-08 09:20:25 +00:00
csoler
a5d88d967e added code to transmit the sender GXS id in the message widget. Still need to make distant message links work
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7347 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-07 20:53:16 +00:00
csoler
3de7357923 removed warning about wrong string in Id constructor in case of null string
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7346 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-07 15:36:14 +00:00
thunder2
4c66f82da8 Added set read status to channel post
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7343 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-06 20:55:30 +00:00
defnax
a9dcd24ba7 Added Phenom's patch AddGxsIdDeleting_v0.6_7328.patch
Changed some context menu icons for GxsGroupFrameDialog

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7337 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-06 17:15:20 +00:00
thunder2
d7b7e4d976 - Removed exceptions from t_RsGenericIdType<>::t_RsGenericIdType
- Added rsids.h to libretroshare.pro

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7331 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-05 17:21:10 +00:00
drbob
2232e8e583 cleanups of debugging.
catch case where sql insert fails.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7325 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-04 12:48:42 +00:00
chrisparker126
faa7a8e7b1 checked for existence of messages before committing to
db store in genexhange (sql error drB noted in tests)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7324 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-04 10:43:42 +00:00
drbob
cc6a141b68 disable debug
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7320 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-03 06:04:04 +00:00
csoler
228ea43455 fixed mismatched free/delete[]
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7319 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-02 12:21:05 +00:00
chrisparker126
eed4dc54ab bug fix,
- initialise time stamp of vetting base class
- do not recv msgs from peer not in circle
- if msg vet expires then check cleared again is msg circle vet

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7318 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-01 18:50:07 +00:00
drbob
c1d7f514e9 added extra debugging.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7315 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-30 11:53:32 +00:00
drbob
6e4883f606 removed debug messages.
fixed bug in circles receive list.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7313 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-30 11:50:45 +00:00
drbob
d5af5e7a96 Added Warning when Group has EXTERNAL_CIRCLE but mCircleId.isNull().
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7310 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-29 10:28:46 +00:00
drbob
23480be883 Added PgpAuxUtils to allow Mocking of Pgp functions for simulations.
Cleaned up some of the debug messages.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7306 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-27 13:14:07 +00:00
chrisparker126
4fe6161d58 -fixed msg sync test, now passing
-enabled msg circle checking


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7305 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-26 23:48:33 +00:00
chrisparker126
c6059906d0 Added msg sync unit test
- not passing yet but almost, more tweaking needed 
TODO: identity and circle vet test
- added retrieve msg id for convenience
- updated .pro file

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7303 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-26 10:07:25 +00:00
chrisparker126
4cab2aaa65 Added another convenience class to simplify testing
(automates comparisons)
fixed some unit tests caused by copy constructor removal


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7302 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-25 22:02:34 +00:00
csoler
7d13a7f85b updated network simulator with new grouter methods
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7300 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-23 16:17:12 +00:00
csoler
7e517906fd small optimizations to grouter
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7299 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-23 16:16:44 +00:00
csoler
aa0c236607 removed debug info for grouter
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7296 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 13:13:00 +00:00
csoler
ac7f505efc fixed uninitialised memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7295 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 13:09:31 +00:00
csoler
9beb33f172 fixed enabling of distant messages, fixed serialisation bug
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7294 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 13:08:42 +00:00
csoler
4d2907efed - added client notification to grouter
- now distant messages stay in outgoing box until notified to be received.
- fixed serialisation bug



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7293 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 12:39:30 +00:00
csoler
a3ddc0ac7d remvoed some debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7292 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 12:38:08 +00:00
drbob
6319733113 3 GXS BugFixes:
- GxsCircles was created twice, removed second.
 - Modified Gxs DataLayer to always write AuthorId, modified retrieval to clear string if NULL.
      This originally caused AuthorId to filled with GroupId.
 - Fixed rsgxsnetservice to use mInternalCircle, rather than mCircleId.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7291 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 10:13:35 +00:00
csoler
bce35d26e3 fixed deadlock (found by Phenom)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7290 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 08:22:58 +00:00
csoler
33abca82e5 - removed LinksCloud from plugins (based on obsolete cache system)
- removed copy constructor of RsGenericId from std::string as it allowed many inconsistencies and double transforms of IDs from/to strings


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7289 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-20 16:34:26 +00:00
csoler
ca6b463a31 fixed up plugin system to work with v0.6
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7287 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-20 14:20:13 +00:00
chrisparker126
5573fcc672 bug fix, str should be cleared of previous data to
prevent fall through of previous result

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7285 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-20 09:12:26 +00:00
csoler
ed198af807 - added notification from global router to client services
- keep distant messages in outbox until they get notified to be received
- cleanup dead code


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7284 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-19 16:02:11 +00:00
csoler
11e370c56d fixed non working tunneling system, due to wrong service id used to query online peers
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7283 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-19 15:52:06 +00:00
chrisparker126
ef8f48ae73 Added rsshared ptr helper object (only use in test for memory management)
Added first nxs_test
modified pserviceserver to allow better dependency injection 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7279 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-18 21:58:14 +00:00
csoler
a929f80596 final fixes to global routing algorithm. Ensured messages are kept long enough and re-tried less and less wth time. Corrected 2 routing bugs.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7278 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-15 22:10:53 +00:00
chrisparker126
e916299ceb - reviving nxs tests for gtest framework
- removed double update bug thunder found

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7275 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-13 21:52:53 +00:00
csoler
5be7910cf5 improved network simulator, added display for message propagation and selective debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7274 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-13 19:27:50 +00:00
csoler
3a13b2ac65 removed dsdv that was re-enabled probably by mistake
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7270 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-12 19:59:23 +00:00
csoler
9efb7f4136 improved routing algorithm. Fixed several bugs.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7269 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-12 19:58:45 +00:00
drbob
9f358c5480 fixed printout of nxs items.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7268 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-12 07:25:33 +00:00
drbob
1d17290e78 move #include out of header.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7265 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-12 03:53:30 +00:00
csoler
dd72809f2d improved grouter routing algorithm using network simulator
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7264 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-11 21:56:10 +00:00
defnax
7b2ebcd7b4 update project file
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7259 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-10 16:15:43 +00:00
csoler
8420d27a02 fixed bug in distant msg sending code causing crashes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7255 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-07 21:36:43 +00:00
csoler
74bc8ad999 bug fixes to NS gui
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7254 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-07 21:35:51 +00:00
csoler
fa2c4d5001 additional fix to GUI in NS
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7252 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-06 20:27:50 +00:00
csoler
6d5d3da0fa fixed up GUI update issue
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7251 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-06 14:38:16 +00:00
csoler
bab24af091 added global router gui to NS
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7250 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-06 14:31:42 +00:00
csoler
cc8b1e8cb0 added global router to network simulator
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7248 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-06 09:21:36 +00:00
drbob
da081d6735 Change directories to release configuration.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7246 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-06 08:59:37 +00:00
csoler
7d9449421b fixed includes/libs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7245 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-06 08:15:41 +00:00
csoler
1e0ea41b4a moved code into separate directories
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7244 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-06 08:10:14 +00:00
csoler
44a1f6f6f3 a bit of code splitting
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7243 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-06 07:56:20 +00:00
csoler
7403a5c6d9 fixed small bug in NS gui
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7241 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-05 18:17:42 +00:00
csoler
fbec967b0c removed uninitialised memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7240 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-05 16:28:22 +00:00
csoler
679efe2ff3 fixed double call to sqlite3_close()
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7237 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-05 15:30:48 +00:00
csoler
e3c6816713 fixed bug in accessing null pointer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7236 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-05 15:21:22 +00:00
drbob
3eb79bbcba Bugfixes to rsmsgitems & rsserial.
removed testing utilites rstlvutil.
fixed up rsgxsiditems printing.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7232 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-05 04:48:52 +00:00
drbob
7fa611b2e7 updates to old tests....
moved rstlvutil to here as well.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7231 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-05 04:45:37 +00:00
chrisparker126
11fa133377 Bob's reputations code
- enables score calculation

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7230 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-04 22:07:18 +00:00
csoler
9cfc9ecee1 removed checks for permissions in turtle router, when they are handled by the ServiceControl
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7228 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-03 21:28:16 +00:00
csoler
e865ff2fb6 added debug tags to p3ServiceControl
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7227 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-03 21:27:22 +00:00
csoler
900edb48cf fixed up network simulator to work with new service control system and turtle client system
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7226 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-03 21:25:10 +00:00
csoler
47c9971b5c bug fixing in Network Simulator
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7225 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-02 20:44:01 +00:00
csoler
afcded6c3b updated network simulator to new class layout and ids
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7224 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-02 20:23:17 +00:00