Commit Graph

115 Commits

Author SHA1 Message Date
Gioacchino Mazzurco
5b016f916b
Fix G10h4ck copyright attribution treewide 2026-06-14 12:13:43 +02:00
Gioacchino Mazzurco
b07265664c
Moved deprecated and unused rssharedptr.h 2022-02-07 13:33:49 +01:00
Gioacchino Mazzurco
f708e893a0
Furter cleanup after libretroshare split 2022-01-11 12:25:17 +01:00
thunder2
3808abb738 Moved compiler flags for warnings to retroshare.pri 2022-01-04 00:33:04 +01:00
csoler
9782c56ed5 fixed merge with upstream/master 2021-12-13 21:01:06 +01:00
Gioacchino Mazzurco
a384da3680 Improve JSON API DirDetails handle type test 2021-11-04 13:29:32 +01:00
Gioacchino Mazzurco
d3cce428ed Add test for JSON API DirDetails handle type 2021-11-04 11:58:42 +01:00
csoler
db61873ae6 fixed additional GPG->Pgp names 2021-10-29 20:29:18 +02:00
Gioacchino Mazzurco
29c5e89cc6 Remove a bunch of deadcode 2020-09-01 12:01:38 +02:00
csoler
10b1dc5074 removed askForDeferredSelfSignature() and made IdEditDialog comply with this 2020-04-02 22:24:14 +02:00
csoler
4800f21f27 removed unused print methods in some RsItems since now print is handled by serializer 2020-02-29 12:14:37 +01:00
csoler
60ba2dc868 started removal of GxsBroadcastBase class 2020-02-06 19:57:23 +01:00
csoler
39b95f6fa2 fixed retroshare.project email in licenses 2018-11-11 20:42:48 +01:00
csoler
a7a8d0677e fixed licenses in tests/ 2018-11-11 14:24:46 +01:00
csoler
a8ba35e522 added license headers for librssimulator 2018-11-11 14:24:45 +01:00
Gioacchino Mazzurco
b30443bec5 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
3865a8f1f6 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
d1380a85fb RsTokenService use enum for request status 2018-06-24 18:56:48 +02:00
Phenom
c3689495a3 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
f03fc9f38a Merge branch 'json_experiments' 2018-04-27 18:17:09 +02:00
Gioacchino Mazzurco
df893a6dd6 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
e5446ff86e 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
8ae42aa1fe 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
d996afe7b8 Fix some warnings 2018-01-22 15:02:33 +01:00
csoler
f96424c0d9 fixed gxs unit tests 2018-01-07 23:02:22 +01:00
csoler
e97a0441da fixed test compilation 2018-01-07 22:36:49 +01:00
csoler
014d0987e5 fixed unnecessary () 2017-07-26 12:27:38 +02:00
csoler
f28a393293 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
e55e78b3fc 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
359dafbee1 fixed memory leak in gxssecurity test 2017-07-24 18:48:13 +02:00
csoler
f27260f6c3 improved template class naming for temporary Gxs grp data structures 2017-07-24 14:29:30 +02:00
csoler
de64f80fbe improved tests to avoid memory leak 2017-07-24 12:16:06 +02:00
csoler
ca66145536 suppressed memory leak in serialisation test code 2017-07-23 22:58:01 +02:00
csoler
866fd7e148 suppressed memory leak in serialisation test code 2017-07-23 22:56:27 +02:00
Phenom
d488192081 Fix Lobby Topic not send on invite. 2017-05-08 15:38:36 +02:00
Phenom
a78d29f2a7 Fix UnitTest 2017-05-08 11:31:32 +02:00
Phenom
5565483a64 Fix UnitTest compilation
But running failed.
2017-05-04 15:01:25 +02:00
csoler
edba722353 merged upstream/master 2017-04-30 20:14:23 +02:00
Phenom
97f0ce33e2 Fix UnitTest compilation. 2017-04-21 18:50:36 +02:00
csoler
9f2d56d72f moved converted serialisation files into new directory rsitems/, leaving serialiser/ for the serialisation classes 2017-04-18 21:11:37 +02:00
Phenom
1e20e26699 Fix UnitTest Compilation and Travis Error. 2017-02-22 17:46:16 +01:00
csoler
af0a5a5ed9 fixed problem in ID creation code. 2017-02-07 20:15:55 +01:00
Phenom
91d0ff4ec3 Fix all warnings in UnitTest 2017-01-21 16:31:45 +01:00
csoler
88975a6ed3 fixed compilation in tests 2017-01-14 10:19:31 +01:00
csoler
6b87259ae2 fixed compilation of unittests 2017-01-13 22:41:54 +01:00
csoler
dc7796d335 fixed cmpilation of unittests 2016-12-08 14:30:47 +01:00
csoler
3cfd6afa60 added entry in rsgxsnetservice to change sync params 2016-12-04 23:42:26 +01:00
Gioacchino Mazzurco
31ead6c8cb Merge branch 'master' into android 2016-11-07 14:37:23 +01:00
mr-alice
46f3fd7e95 merged and fixed conflict with upstream/master 2016-11-04 13:52:11 +01:00
mr-alice
61cc32c373 removed ^M that polluted unittests.pro 2016-11-04 13:46:20 +01:00