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
drbob
0dbe55bd05
Fixed serialiser bug in RsTlvList
...
Switched to proper Ids in gxsCircle gxsId items.
Fixed up Config serialiser.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7218 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-01 08:00:20 +00:00
csoler
acba05b780
setup routing probabilities and branching factors. Will probably need some tweaking to get right.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7217 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-31 21:21:11 +00:00