Commit Graph

104 Commits

Author SHA1 Message Date
csoler
8e153b4acc
started removal of GxsBroadcastBase class 2020-02-06 19:57:23 +01:00
csoler
630609c11c
fixed retroshare.project email in licenses 2018-11-11 20:42:48 +01:00
csoler
c80022f9c6
fixed licenses in tests/ 2018-11-11 14:24:46 +01:00
csoler
1e1e81704a
added license headers for librssimulator 2018-11-11 14:24:45 +01:00
Gioacchino Mazzurco
77d938bf52
Remove _USE_32BIT_TIME_T windows define
Why did we added it in first place?
2018-10-07 13:07:22 +02:00
Gioacchino Mazzurco
eb77f921ec
Implement JSON API HTTP Basic authentication
jsonapi-generator is now capable of generating API for headers outside
  retroshare/ directory
jsonapi-generator do a bit of methods parameter sanity check
JsonApiServer is now integrated in the rsinit hell like other services
Add *::exportGPGKeyPairToString to a bunch of classes in cascade
RsControl is now capable of calling back a function when retroshare is almost
  completely stopped, this is useful when running retroshare toghether with
  externally managed runloop such as QCoreApplication
Expose a bunch of methods through JSON API
retroshare-nogui remove some dead code and fix stopping from the RetroShare API
2018-09-19 21:28:26 +02:00
Gioacchino Mazzurco
b4d2ce82c1
RsTokenService use enum for request status 2018-06-24 18:56:48 +02:00
Phenom
f39fd069b5 Fix CppCheck duplInheritedMember warning in RsItem
/libretroshare/src/rsitems/rsitem.h:92: warning:
Cppcheck(duplInheritedMember): The class 'RsPeerNetItem' defines member
variable with name 'peerId' also defined in its parent struct 'RsItem'.
/libretroshare/src/rsitems/rsitem.h:92: warning:
Cppcheck(duplInheritedMember): The class 'RsHistoryMsgItem' defines
member variable with name 'peerId' also defined in its parent struct
'RsItem'.
/libretroshare/src/rsitems/rsitem.h:91: warning:
Cppcheck(duplInheritedMember): The class 'RsBanListConfigItem' defines
member variable with name 'type' also defined in its parent struct
'RsItem'.
/libretroshare/src/rsitems/rsitem.h:92: warning:
Cppcheck(duplInheritedMember): The class 'RsBanListConfigItem' defines
member variable with name 'peerId' also defined in its parent struct
'RsItem'.
2018-05-07 17:29:11 +02:00
Gioacchino Mazzurco
f3ae61b462
Merge branch 'json_experiments' 2018-04-27 18:17:09 +02:00
Gioacchino Mazzurco
4876a0ea3b
Multiple improvements to build process
Restructure and document retroshare.pri variables and helper functions
Link sqlite statically like other libraries on Android
qmake has multiple win32-* specs match them correctly
Move a buch of generic thing to retroshare.pri instead of having them replocated
  accross project specific .pro
Fix retroshare-gui too many symbols exported on windows liking error by adding
  QMAKE_LFLAGS+=-Wl,--exclude-libs,ALL
Rename retroshare-gui/src/util/win32.h because the name is too prone to
  confusion and build conflicts
libreasapi avoid usage of cretar_prl link_prl that seems unreliable on some
  platforms
libreasapi rename LIBRESAPI_QT to more understendable LIBRESAPI_SETTINGS
Use use_*.pri instead of copy pasting error prone qmake snippets around
Expose bitdht option to retroshare.pri
Add RS_THREAD_LIB qmake variable for better crossplatform support
Move debug and profiling generic options to retroshare.pri (avoid copy/pasting)
Remove Qt script module in qmake as it is not available anymore
2018-04-18 07:56:43 +02:00
Phenom
737a2b440d
Fix Gcc Warning in nxstesthub.cc
/tests/unittests/libretroshare/gxs/nxs_test/nxstesthub.cc:109: warning:
deleting object of polymorphic class type ‘NotifyWithPeerId’ which has
non-virtual destructor might cause undefined behavior [-Wdelete-non-
virtual-dtor]
   delete *it ;
2018-02-20 23:27:59 +01:00
Phenom
cfcdec458a
Fix Gcc Warning in support.h
/tests/unittests/libretroshare/serialiser/support.h:168: warning:
suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
  if (outfi)
/tests/unittests/libretroshare/serialiser/support.h:234: warning:
suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
         if (outfi)
2018-02-20 23:27:28 +01:00
Gioacchino Mazzurco
443ffb9f85 Fix some warnings 2018-01-22 15:02:33 +01:00
csoler
5e57cb4b83 fixed gxs unit tests 2018-01-07 23:02:22 +01:00
csoler
85b94d7f88 fixed test compilation 2018-01-07 22:36:49 +01:00
csoler
ea72c58d81 fixed unnecessary () 2017-07-26 12:27:38 +02:00
csoler
041f989f1c rewrote processRecvdMessages() and processRecvdGroups() in RsGenExchange. Removed mReceivedGrps and mReceivedMsgs, cleaned-up terrible branching and memory management 2017-07-25 21:21:24 +02:00
csoler
461ccf3b84 removed aliasing in storeMessages/storeGroups, removed several memory leaks in unittests, improved auto-delete structures in rsgxsutil, added deletion for members of RsGenExchange, removed shared pointers from unittests (they cause a memory leak and are only used in unittests) 2017-07-25 00:07:53 +02:00
csoler
ef24459c5e fixed memory leak in gxssecurity test 2017-07-24 18:48:13 +02:00
csoler
bcaafc241d improved template class naming for temporary Gxs grp data structures 2017-07-24 14:29:30 +02:00
csoler
df691bd2d7 improved tests to avoid memory leak 2017-07-24 12:16:06 +02:00
csoler
764fadf0ee suppressed memory leak in serialisation test code 2017-07-23 22:58:01 +02:00
csoler
880eb58155 suppressed memory leak in serialisation test code 2017-07-23 22:56:27 +02:00
Phenom
d02cba5a91 Fix Lobby Topic not send on invite. 2017-05-08 15:38:36 +02:00
Phenom
4e2db2f50a Fix UnitTest 2017-05-08 11:31:32 +02:00
Phenom
1c2b43b7e0 Fix UnitTest compilation
But running failed.
2017-05-04 15:01:25 +02:00
csoler
cecd9a3368 merged upstream/master 2017-04-30 20:14:23 +02:00
Phenom
936dcbabb3 Fix UnitTest compilation. 2017-04-21 18:50:36 +02:00
csoler
e2d9152b22 moved converted serialisation files into new directory rsitems/, leaving serialiser/ for the serialisation classes 2017-04-18 21:11:37 +02:00
Phenom
8325c72153 Fix UnitTest Compilation and Travis Error. 2017-02-22 17:46:16 +01:00
csoler
37f3e1a62a fixed problem in ID creation code. 2017-02-07 20:15:55 +01:00
Phenom
aa05d60894 Fix all warnings in UnitTest 2017-01-21 16:31:45 +01:00
csoler
14352220ab fixed compilation in tests 2017-01-14 10:19:31 +01:00
csoler
c4695e3341 fixed compilation of unittests 2017-01-13 22:41:54 +01:00
csoler
ae2accd286 fixed cmpilation of unittests 2016-12-08 14:30:47 +01:00
csoler
d2ef2248c6 added entry in rsgxsnetservice to change sync params 2016-12-04 23:42:26 +01:00
Gio
8ab3c7de26 Merge branch 'master' into android 2016-11-07 14:37:23 +01:00
mr-alice
2bb9a87b3b merged and fixed conflict with upstream/master 2016-11-04 13:52:11 +01:00
mr-alice
30860b8f1a removed ^M that polluted unittests.pro 2016-11-04 13:46:20 +01:00
Phenom
2db8dbd45f Fix El Capitan OSX 10.11 Compil 2016-11-02 21:40:46 +01:00
Gio
ea42d822c2 Merge branch 'master' into android 2016-10-26 13:43:24 +02:00
mr-alice
0570427c1d added google test for chacha20 code 2016-10-25 14:09:39 +02:00
mr-alice
1be599008a disabled dbase from unittests.pro, which should be cnverted into proper tests for file_sharing. 2016-09-21 22:31:39 +02:00
Gio
9a980def2c libretroshare now compiles for Android, instruction on how to do it included 2016-08-23 12:15:28 +02:00
Phenom
275c47eff9 Add Title when ask for password. 2016-08-09 01:22:14 +02:00
csoler
59d08591d2 fixed compilation in tests 2016-07-15 22:25:15 -04:00
Phenom
3152ecaa9b Fix UnitTests and run it in windows too. 2016-07-15 15:36:06 +02:00
csoler
24eb88aa0a added explicit comparisons for tests on RsGxsGrpMetaData and RsGxsMsgMetaData 2016-06-18 20:38:48 -04:00
Phenom
43f618fedd Fix UnitTest Compilation 2016-06-18 23:10:12 +02:00
csoler
c2ae4fc904 merged upstream/master 2016-06-05 10:06:11 -04:00