Commit Graph

2812 Commits

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