Commit Graph

6317 Commits

Author SHA1 Message Date
csoler
25041c694b fixed previous commit with remaining deletes and shared_ptr that messed the whole thing 2020-12-22 22:51:17 +01:00
csoler
68d7edd405 fixed leak in gossipDiscovery 2020-12-22 20:15:45 +01:00
csoler
d5aa8dd9f3 fixed wrong message code in rsEvent call from p3msgservice 2020-12-20 16:40:21 +01:00
defnax
43d953b992
Merge pull request #2168 from PhenomRetroShare/Fix_SystemMessageSender
Fix System Message Sender
2020-12-20 15:44:38 +01:00
csoler
e8d6632473 fixed bug in debug_printCacheSize() that was actually corrupting the cache 2020-12-19 21:11:13 +01:00
Phenom
d1ba81e50f Fix System Message Sender 2020-12-16 16:17:44 +01:00
csoler
63bc384ae7 switched to RC2 2020-12-15 21:29:11 +01:00
csoler
733b059571
Merge pull request #2161 from csoler/v0.6-BugFixing_5
V0.6 bug fixing 5
2020-12-15 20:50:14 +01:00
Phenom
4340b1a04a Fix Friend Request Toaster 2020-12-14 17:33:08 +01:00
csoler
aad27ff94b renamed "count" to "size" in DirDetails 2020-12-13 20:03:21 +01:00
csoler
335a90cc92 added internal update of total size for directories and display in GUI 2020-12-13 18:15:14 +01:00
csoler
d112357b77
Merge pull request #2158 from csoler/v0.6-BugFixing_5
Mem leaks fixing and cpu optimization
2020-12-12 19:57:18 +01:00
csoler
7b2f7f2e0e fixed mem leak in rsgxstunnel.cc 2020-12-10 20:23:23 +01:00
csoler
9a6835bf06 fixed memory leak in RsGenExchange 2020-12-10 20:15:53 +01:00
csoler
0f55d73b69 fixed quadratic search in GxsUtil check routine 2020-12-09 23:31:40 +01:00
csoler
e3c2b644b3
Merge pull request #2154 from csoler/v0.6-BugFixing_5
fixed missing delete in generic_sendData() causing a memory leak
2020-12-09 23:06:06 +01:00
csoler
50ad409e26
Merge pull request #2150 from PhenomRetroShare/Fix_RsMutexDebug
Fix RsMutex Debug and add rs_mutex_debug qmake option.
2020-12-09 23:04:51 +01:00
csoler
906c1f03e4
Merge pull request #2147 from csoler/v0.6-BugFixing_2
Still bug fixing 0.6.6-RC1
2020-12-09 22:58:13 +01:00
csoler
758aaffbd0 fixed missing delete in generic_sendData() causing a memory leak 2020-12-09 22:55:15 +01:00
Phenom
82bd8d5f6a Fix CONFIG with rs_deep_channels_index 2020-12-09 16:10:17 +01:00
csoler
4ddcf3c0bb removed double call to delete groups and delete msgs (left after previous changes). Improved output when checking groups/msgs 2020-12-08 23:57:30 +01:00
csoler
ed5f8618b6 fixed bug in mutexes causing a deadlock in gxs integrity check 2020-12-08 23:45:31 +01:00
Phenom
2ff3d83c30 Fix RsMutex Debug and add rs_mutex_debug qmake option. 2020-12-08 17:15:16 +01:00
Phenom
5f67710f16 Fix RsGxsDataAccess req delete when failed. 2020-12-07 14:47:57 +01:00
csoler
931be5dc6d fixed update of forum and circle lists when forum/circle is edited 2020-12-06 21:29:56 +01:00
csoler
dbd6477acd fixed bug in circle chooser that showed duplicates. Removed mCircleExternalIdList (not really useful now that circles are cached) and used a std::set to ensure uniqueness 2020-12-05 20:12:03 +01:00
csoler
08e264913d
Merge pull request #2143 from csoler/v0.6-BugFixing_4
V0.6 bug fixing 4
2020-12-05 16:15:11 +01:00
csoler
9533fc9c00 added notification when new extra file is shared, so that shared files updates 2020-12-04 16:33:12 +01:00
csoler
ba7bac4284 removed debug info 2020-12-03 23:33:22 +01:00
csoler
d2dad59b54 added sending of group authors along with group data in distant GXS search 2020-12-03 23:13:18 +01:00
csoler
fa20b9b254 simplified GxsIntegrityCheck, in hope that it will remove the crashes. Also moved the deletion to async RsGenExchange, so as to get the proper notifications 2020-12-01 20:34:23 +01:00
csoler
a4e3f98a09 Merge remote-tracking branch 'upstream/master' into v0.6-BugFixing_2 2020-12-01 19:45:30 +01:00
csoler
bcb43cb9a1 fixed bug in Gxs cleaning code 2020-12-01 14:43:23 +01:00
csoler
a3b7dbe55e fixed merge 2020-12-01 09:35:11 +01:00
csoler
ac7e2b5582 fixed redraw of channels and boards info when editing the group data 2020-11-28 23:10:40 +01:00
csoler
d842c6fe52 Merge remote-tracking branch 'upstream/master' into v0.6-BugFixing_4 2020-11-28 21:34:32 +01:00
csoler
0a78d27cae Merge remote-tracking branch 'upstream/master' into v0.6-BugFixing_2 2020-11-28 21:28:16 +01:00
csoler
1e53bf3b77 fixed auto-DL from trusted identities 2020-11-28 16:51:31 +01:00
jolavillette
9324d9de6c More optimization of priorities 2020-11-26 20:29:51 +01:00
jolavillette
e8691e9b0f Priority optimization and fixes 2020-11-26 20:29:51 +01:00
csoler
41357489c0
Merge pull request #2127 from PhenomRetroShare/Add_PID_InLockFile
Add current PID in Lock file.
2020-11-26 20:18:53 +01:00
csoler
cb995f3aff reverted back cleanup period to 59 mins 2020-11-26 20:07:16 +01:00
csoler
5a7f95f443 fixed deletion of groups using the proper method in RsGenExchange, and disabled debug output 2020-11-26 20:03:03 +01:00
csoler
b820057064
Merge pull request #2128 from PhenomRetroShare/Fix_RsItemDeserialiseTooSmall
Fix rs item deserialise too small
2020-11-26 20:01:41 +01:00
Phenom
3fff0869a2 Fix Valgrind report at End of RS
XXXX bytes in XX blocks are still reachable in loss record.
2020-11-26 19:13:54 +01:00
csoler
bce514115d added proper notifications when a group is deleted 2020-11-25 23:35:20 +01:00
csoler
f21b57b643 fixed a few bugs in checking for unused groups 2020-11-25 23:03:25 +01:00
Phenom
0ae073d073 Fix RsItem deserialise when they are too small (< 8 bytes). 2020-11-25 15:35:21 +01:00
csoler
be1728d535
Merge pull request #2120 from csoler/v0.6-BugFixing_2
Trying to optimize circles and prevent the spread of unwanted/useless circles
2020-11-24 18:40:49 +01:00
csoler
fc8604154b cancelled commit c1c6d33 because PR2122 provides a more advanced set 2020-11-24 18:39:21 +01:00
csoler
2c7ee7ebeb added logic to keep track of circles activity from friend nodes and the methods to estimate when circles are not used 2020-11-24 18:33:16 +01:00
Phenom
cf0360a172 Add current PID in Lock file. 2020-11-24 15:57:43 +01:00
thunder2
e9298c16bc Fixed linking with enabled libretroshare_shared with msys2 2020-11-23 21:04:18 +01:00
csoler
2fd15134c9 added auto-cleaning of unused forums, channels, posted. Works for all GXS groups if the correct method is supplied. 2020-11-22 21:45:21 +01:00
csoler
c1c6d33add new experimental set of priorities accounting for more recent statistics 2020-11-21 15:57:45 +01:00
csoler
1058989c5b added some info about circles subscribe and membership system 2020-11-21 15:12:50 +01:00
csoler
115dd1cf5f removed unused variable _item_count in pqiqos 2020-11-20 10:33:18 +01:00
csoler
e15058d14c optimization in circles: now only auto-subscribe when a own msg is present 2020-11-19 23:43:47 +01:00
csoler
11c71d16ab
Merge pull request #2115 from csoler/v0.6-BugFixing_2
Bug fixing for 0.6.6
2020-11-18 19:57:48 +01:00
Gioacchino Mazzurco
d473f1be3f
Fix JSON API compilation 2020-11-16 12:44:10 +01:00
csoler
7db8400233 disable limit of forward time checking for validating signatures 2020-11-15 21:22:25 +01:00
csoler
f9bb886c27 fixed bug in circles causing missing identities to block circle interaction in UI and data send/recv 2020-11-14 23:40:03 +01:00
csoler
f8721ad60f Merge remote-tracking branch 'upstream/master' into v0.6-BugFixing_2 2020-11-12 23:17:55 +01:00
csoler
3d958a7592 moved event to the right place for detecting change in local address 2020-11-11 22:43:07 +01:00
csoler
9a2749dbe5 added flags to invite system to unify the different variables and made sure the HomePage contains at least current IP (not fully tested) 2020-11-09 22:42:28 +01:00
thunder2
76b22ada5c Added new config "libretroshare_shared" to build libretroshare as shared library (default off) based on changes from ET. Activated for Windows build with plugins to fix the link error (ld.exe: Error: export ordinal too large) due to too many exported symbols. 2020-11-09 20:00:50 +01:00
thunder2
1895abfb24 Changed updating submodules for Windows build. Use "cd /D" to change directory. 2020-11-09 16:16:29 +01:00
csoler
d2bd947252 fixed bug due to passing shared_ptr to RsThread::async() without making an explicit copy before 2020-11-08 18:25:20 +01:00
csoler
d472053960 fixed missing call to update comments in GxsChannelPostsModel 2020-11-08 14:57:17 +01:00
csoler
08e2987154 added icon over posts with comments in channels 2020-11-07 20:52:50 +01:00
Phenom
b1129df077 Change Chat History Dialog to no modal.
It will be updated when new message comes.
2020-11-07 18:09:50 +01:00
csoler
3cac0c030d added NEW_COMMENT and NEW_VOTE to rsEvents types in Posted and Channels 2020-11-07 16:55:15 +01:00
csoler
dc90d6f6dc renamed SSGXSChannelGroup to GxsChannelGroupInfo, mCount in RsGxsChannelPost to mAttachmentCount and added a mCommentCount member. Also added some missing override in p3gxschannels.cc 2020-11-06 23:08:18 +01:00
csoler
1dd54317c7 fixed pinned post immediate update by adding the proper rsEvent notification when updating own group data. Should also help in circles 2020-11-04 22:30:30 +01:00
Gioacchino Mazzurco
079180c790
Fix compilation with libupnp 1.14.0
Based of sehraf patch https://github.com/RetroShare/RetroShare/issues/2072#issuecomment-703299870
2020-11-03 17:53:52 +01:00
csoler
b5cfa46073 fixed missed notification in Messages when new/draft msg happens by switching to new event system 2020-10-28 21:26:07 +01:00
csoler
74edefcc43 added infrastructure to track oingoing distant GXS group requests 2020-10-25 22:47:48 +01:00
csoler
c30107c248 added up-to-date info about sync period in group data details (channels, boards, forums) and warning when the sync period is too small w.r.t. the date of last post 2020-10-24 21:17:34 +02:00
hunbernd
a7cda5167d Fix: additional / when combining file paths 2020-10-23 22:28:35 +02:00
csoler
4199b1a02f switched to 0.6.6 2020-10-15 20:41:36 +02:00
csoler
ce6fb603c7
Merge pull request #2026 from csoler/v0.6-BoardsGUI
V0.6 boards gui
2020-10-12 20:07:42 +02:00
csoler
1170f0bc7b Merge remote-tracking branch 'upstream/master' into v0.6-BoardsGUI 2020-10-10 23:12:58 +02:00
csoler
74660b916a Merge remote-tracking branch 'upstream/master' into v0.6-TorV3 2020-10-10 23:12:27 +02:00
Gioacchino Mazzurco
eca11d0885
retroshare-gui: fix missing include in jsonapipage
Fix compile error, warnings and typo
2020-10-07 10:58:52 +02:00
csoler
3912c6562e fixed bugs causing short invites to not generate/parse hidden nodes with correct options to keep hidden address 2020-10-06 23:02:00 +02:00
sehraf
26d0443ff9
fixed Cyrils remarks 2020-10-04 20:41:34 +02:00
sehraf
26fdd79b50
Merge remote-tracking branch 'RetroShare/master' into pr_rsconfig 2020-10-04 20:25:06 +02:00
csoler
5dfa481f2f added code to change posts read status 2020-09-22 23:32:10 +02:00
csoler
0e4d438066 fixed model update when new vote is posted by user 2020-09-17 21:08:07 +02:00
csoler
5915c27b9f merged upstream 2020-09-11 22:37:26 +02:00
csoler
6e3f42381e
Merge pull request #2060 from csoler/v0.6-BugFixing_2
UI Bug fixing
2020-09-11 21:21:47 +02:00
csoler
a4d3848547 Hidden nodes always drop IP information from normal nodes. 2020-09-05 10:29:12 +02:00
csoler
05daa0387b added some debug info in p3gxschannels.cc 2020-09-03 20:53:57 +02:00
csoler
97762093ce added missing initialization of write-only pointer that causes error in RsTypeSerializer 2020-09-01 22:34:56 +02:00
csoler
e2a04c1baa
Merge pull request #2059 from G10h4ck/stubborn_post
Forum add API to mark a post to be kept forever
2020-09-01 22:28:10 +02:00
csoler
4e923bd8ad
Merge pull request #2057 from G10h4ck/rm_deadcode
Remove a bunch of deadcode
2020-09-01 22:25:29 +02:00
Gioacchino Mazzurco
06d8476120
Forum add API to mark a post to be kept forever
This way the post never get deleted even when older then  parent group
  maximum storage time
2020-09-01 16:15:49 +02:00
Gioacchino Mazzurco
4a81f7f5db
Remove documentation for param which doesn't exists anymore 2020-09-01 15:36:47 +02:00
Gioacchino Mazzurco
162028abd0
Remove a bunch of deadcode 2020-09-01 12:01:38 +02:00
csoler
fa72af4d0c merged upstream/master 2020-08-25 11:52:06 +02:00
csoler
bb6706e996 added missing destructor in MsgMetaCache 2020-08-15 18:54:00 +02:00
csoler
20346fc30e fixed voting in Boards 2020-08-12 12:02:28 +02:00
csoler
347b3ac9aa added mechanism for voting. Not working yet 2020-08-11 22:10:22 +02:00
thunder2
0df86aa416 Fixed update of submodule supportlibs/udp-discovery-cpp and supportlibs/restbed with mingw32-make compile 2020-08-11 13:19:08 +02:00
thunder2
4c4648e3e2 Fixed compile of jsonapi with MinGW 2020-08-11 00:37:56 +02:00
thunder2
1760f819c8 Added git update of submodule supportlibs/udp-discovery-cpp for MinGW compile 2020-08-11 00:37:45 +02:00
drbob
9a90ef694e [TheWire] update GroupPtrs
Ensure all possible GroupPtrs are filled in on Pulse Data Requests.
 * Expand Id collection to include all the additonal RefGroupIds.
 * Perform intersection(available IDs, pulse GroupIds) before retrieving
 * Iterate over pulse tree and update GroupPtr references.
 * Enable GROUP_IDS gxs data fetches.
2020-08-07 18:12:06 +10:00
csoler
035010af76
Merge pull request #1970 from drbob/TheWire-rework-ui
TheWire rework UI, and update Data Messages.
2020-08-03 14:57:03 +02:00
drbob
660be58cf2 make image count more robust 2020-08-03 20:48:44 +10:00
thunder2
2eb7fecd42 Fixed Windows build of udp-discovery-cpp without MSYS2 2020-08-01 22:31:31 +02:00
Gioacchino Mazzurco
794fb13660
Fix description in copyright header 2020-08-01 18:28:20 +02:00
Gioacchino Mazzurco
3a6648f706
Fix build error on big endian architectures 2020-08-01 18:23:35 +02:00
G10h4ck
9587cfd4d9
Merge pull request #2009 from hunbernd/feature/msys2enhancements
Reworked msys2 build scripts
2020-08-01 18:00:19 +02:00
G10h4ck
97a0ba72f6
Merge pull request #2032 from G10h4ck/forums_get_child_posts
Add API method to retrieve forum child posts
2020-08-01 17:11:10 +02:00
drbob
8c869f0bbf Merge remote-tracking branch 'origin/master' into TheWire-rework-ui 2020-07-31 09:58:00 +10:00
drbob
b0245920aa Fix Gxs data requests with LATEST flag.
This was broken during a re-write earlier this year.
Currently the code incorrectly checks mParentId,
this has been fixed to check mOrigMsgId.
2020-07-30 23:02:17 +10:00
drbob
0522c7907a Merge branch 'master' into TheWire-rework-ui 2020-07-30 21:45:59 +10:00
csoler
ed0e0f1da1
removed more debug info 2020-07-23 22:05:45 +02:00
csoler
7d21390d03
increased GxsId size to 15000 2020-07-23 21:59:35 +02:00
csoler
120eb02638
disabled debug output 2020-07-17 21:56:57 +02:00
csoler
e4d9194073
fixed bug causing to not request identities correctly to friends 2020-07-17 00:27:09 +02:00
csoler
016e6445a3
fixed bug causing dataservice to return a non null group when the DB doesnt contain the requested group, causing rsgxsnetservice to still sync new groups in no mGrpAutoSync mode, causing identities to spread like hell 2020-07-17 00:26:14 +02:00
csoler
6f636fd816
fixed compilation and re-enabled sync grp broadcast because it is necessary for grp updates 2020-07-16 21:51:37 +02:00
csoler
1a2e25da71
disabled syncWithPeers group sync broadcast when mGrpAutoSync is false 2020-07-16 21:41:01 +02:00
csoler
6e52804547
fixed bug causing banned GXS id to be still added to sync list 2020-07-16 21:33:26 +02:00
Gioacchino Mazzurco
c01d797386
Add API method to retrieve forum child posts
RsGxsDataAccess::getMsgRelatedInfo print errors also when not debugging
RsGxsForums::getChildPosts get child posts from parent id
p3gxsforums.cc remove a bit of deadcode
2020-07-16 10:31:02 +02:00
csoler
b3ab99bd49
added last minute check to avoid re-requesting IDs that have been loaded in cache after they where foundmissing 2020-07-15 22:07:31 +02:00
csoler
94918dc1a3
fixed error in parsing identity service string. 2020-07-15 21:22:02 +02:00
csoler
6d665868e8
fixed usage info statistics in identities 2020-07-08 12:56:40 +02:00
csoler
57a1c4bf5d
attempt to improve the info about GXS id usage 2020-07-07 23:01:20 +02:00
csoler
8fba3ba937
Merge pull request #2015 from csoler/v0.6-BugFixing
Fixing distant channel search
2020-07-03 22:45:55 +02:00
csoler
d805b18578
Merge pull request #2024 from csoler/v0.6-GXS-Optim
added anti-clogging strategy in GXS. To be tested.
2020-07-03 21:20:05 +02:00
Gioacchino Mazzurco
6510af7ab6
Enable JSON API for channel turtle search
Add event subtype to RsGxsChannelSearchResultEvent so its type can be
  recognized from JSON API
Remove unused member remnant of the past from RsGxsChannelEvent
2020-07-03 18:07:07 +02:00
Gioacchino Mazzurco
0c173587e2
Merge branch 'v0.6-BugFixing' of https://github.com/csoler/RetroShare into csoler-v0.6-channe_distant_search 2020-07-03 16:03:43 +02:00
csoler
9133adbde8
added anti-clogging strategy in GXS. To be tested. 2020-06-29 21:03:17 +02:00
Gioacchino Mazzurco
2d01eadd56
Fix missing include in i2p common 2020-06-29 15:45:53 +02:00
csoler
ba486a0029
multiple improvements in distant channel search and general display of distant search results 2020-06-25 21:15:37 +02:00
csoler
500f572b98
merged with master 2020-06-25 16:53:18 +02:00
csoler
69b51fecb7
Merge pull request #1994 from csoler/v0.6-ChannelsGUI
Abstract item model for channels
2020-06-24 23:22:44 +02:00
hunbernd
6863f4cc70 Fix hidden node crashing at the startup, caused by calling uninitialized objects. 2020-06-21 21:55:52 +02:00
csoler
d0a373c14f
print more debug info and added missing emit to display the channel tab name after loading 2020-06-21 21:43:10 +02:00
hunbernd
a5d23d0b3f Merge remote-tracking branch 'remotes/retroshare/master' into feature/msys2enhancements 2020-06-19 22:48:43 +02:00
csoler
9f5e7f2081
removed debug info 2020-06-16 21:29:13 +02:00
csoler
33da5c06b8
removed multi-callback based distant search result handling, and use rsEvents instead 2020-06-16 21:13:55 +02:00
G10h4ck
891d7e7c9a
Merge pull request #1971 from sehraf/pr_i2p_refactoring
i2p refactoring
2020-06-16 18:26:08 +02:00
csoler
8e2c670716
fixed the logic with distant search. 2020-06-16 00:00:22 +02:00
csoler
61437cd0b4
added some debug info in rsgxsnetservice distant search result handling and fixed a bug causing so some search result to not show up 2020-06-15 21:11:58 +02:00
Gioacchino Mazzurco
f13b429f1c
Document what chars are return RsRandom::alphaNumeric
As requested by Cyril
2020-06-13 14:58:30 +02:00
sehraf
f18d49db48
use RsRandom::alphaNumeric 2020-06-13 11:07:07 +02:00
sehraf
8323b94a6a
use modern c++ 2020-06-13 10:58:44 +02:00
sehraf
ba23b9ad51
fix typo 2020-06-13 10:57:08 +02:00
Gioacchino Mazzurco
5ff5a32df7
Proper naming for RsRandom string functions 2020-06-12 20:06:43 +02:00
sehraf
f88527dbd7
i2pbob: remove sockaddr_storage_tostring 2020-06-12 17:28:08 +02:00
sehraf
ebc5a116b2
remove unnecessary std::replace 2020-06-11 11:18:52 +02:00
sehraf
591d2ad864
autoproxy: use new RS_DBG 2020-06-11 11:16:31 +02:00
sehraf
3d784e8871
remove unnecessary std::replace 2020-06-11 11:14:01 +02:00
sehraf
86c30a01dd
next attampt to use RS_DBG correctly 2020-06-11 10:55:09 +02:00
sehraf
7207e6a2c1
use RS_DBG 2020-06-10 22:06:12 +02:00
sehraf
008a4b87b3
replace std::map with std::array 2020-06-10 22:06:12 +02:00
sehraf
d0c5dc4e24
i2p: bob: convert to RS_DBG 2020-06-10 22:06:09 +02:00
sehraf
a5a2b49d99
i2p: bob: add option to disable bob CONFIG+=no_rs_bob 2020-06-10 20:05:00 +02:00
sehraf
9a5504bb47
autoproxy: make async really async 2020-06-10 20:05:00 +02:00
sehraf
b6a550b8f5
autoproxy: make use of rsdebug.h 2020-06-10 20:05:00 +02:00
sehraf
f4f08f0379
i2p: bob: rework recv() to check for new line character as EOL indicator 2020-06-10 20:05:00 +02:00
sehraf
1da3d262d9
i2p: bob: removed function name within debug output (replaced by __PRETTY_FUNCTION__) 2020-06-10 20:05:00 +02:00
sehraf
a41e10b178
i2p: bob: remove unused variables 2020-06-10 20:04:59 +02:00
sehraf
c20d92f04c
i2p: bob: convert to RsDbg 2020-06-10 20:04:59 +02:00
sehraf
6136416b56
i2p: bob: convert bobSettings to i2p::settings 2020-06-10 20:04:59 +02:00
sehraf
4b6e12ca45
i2p: bob: use common i2p::keyToBase32Addr() 2020-06-10 20:04:59 +02:00
sehraf
462f52585b
add helper for i2p related functions 2020-06-10 20:04:54 +02:00
G10h4ck
b49dfaead0
Merge pull request #2011 from G10h4ck/createLocationV2
Improve API to create locations
2020-06-10 10:49:32 +02:00
G10h4ck
1d8510069e
Merge pull request #1934 from PhenomRetroShare/Fix_AutoLogin
Fix AutoLogin
2020-06-10 10:19:55 +02:00
Gioacchino Mazzurco
4a34cfaf11
Improve API to create locations
Improve on top of sehraf work, add documentation for API token params
Deprecate old version and disable it once RS 0.6.6 is released
New method take relevant paramethers explicitely instead of having them
  incapsualted inside a RsLoginHelper::Location struct
New method return a proper error_condition instead of boolean + string
RsLoginHelper::attemptLogin doesn't need manual wrapper anymore
2020-06-09 20:13:22 +02:00
Gioacchino Mazzurco
275bdba132
Unify common error category message into a function 2020-06-09 20:08:23 +02:00
Gioacchino Mazzurco
4f0e18cbfd
Fix Android armv7 compilation due to narrowing 2020-06-09 20:02:40 +02:00
G10h4ck
f456389580
Merge pull request #2006 from sehraf/pr_remove_rs_pw_as_token
remove retroshare password from json tokens
2020-06-09 16:19:11 +02:00
Gioacchino Mazzurco
f99a8a0fc6
Improve homogeneity of rsdebug
Offer variadic style macros also for RsInfo...RsFatal
2020-06-09 16:10:07 +02:00
G10h4ck
680d9cde85
Merge pull request #1906 from sehraf/pr_fix_unix_fcntl_nonblock
Fix unix_fcntl_nonblock() to not overwrite any existing flags.
2020-06-07 12:36:18 +02:00
sehraf
878111d224
remove password from json tokens 2020-06-06 22:28:54 +02:00
G10h4ck
6603accf8f
Merge pull request #1992 from G10h4ck/debug_strip
Multiple improvements in debugging helpers
2020-06-06 18:26:30 +02:00
csoler
a18009413d
Merge pull request #1979 from csoler/v0.6-GxsGroup
[WIP] implementing a cache for MsgMeta
2020-06-06 15:54:35 +02:00
csoler
44324fbc98
Merge pull request #1914 from jolavillette/pqihandlerOptim
Pqihandler optim
2020-06-06 15:48:44 +02:00
csoler
f75a6424b5
fixed long-term bug due to sending an empty list of destkeys for GXSSecurity to encrypt an item 2020-06-04 13:38:57 +02:00
jolavillette
752c997f24 Merge remote-tracking branch 'upstream/master' into pqihandlerOptim 2020-06-04 07:39:59 +02:00
drbob
bcaef29d49 Merge branch 'master' into TheWire-rework-ui 2020-06-02 22:33:33 +10:00
Gioacchino Mazzurco
aef87fb1f8
Multiple improvements in debugging helpers
Add variadic style macro helpers that make debugging code disappear completely
  (also the paramethers evaluation) when debugging level is lower
Chained style << is now atomic like variadic style, still can't benefit
  of paramethers eveluation stripping
Reduced to minimum the difference between Android and other platform
  debugging code
Port debugging code to new helpers, expecially a few corner cases to
  test it, and as examples of how to use it.
2020-06-01 00:53:58 +02:00
Gioacchino Mazzurco
295ecf368e
ExtraFileHash check for integer overflow
When passing large periods 2038 problems was silently triggered due to
  time being stored as int in FileInfo::age, thus causing erratic
  behaviour in extra files timeout. Now period is checked and if too
  large an error is reported.
Deprecate FileDetails which is confusing dummy wrapper of FileInfo
Remove ftExtraList::cleanupEntry deadcode
2020-05-31 15:19:00 +02:00
Gioacchino Mazzurco
0c1785b0d3
Merge branch 'atomic_variadic_log' 2020-05-30 22:11:04 +02:00
Phenom
d256595aa7 Fix Message Sent keeps Tags 2020-05-30 18:20:17 +02:00
hunbernd
cd751f12d4 Clang support 2020-05-30 02:16:59 +02:00
G10h4ck
97a60865b4
Merge pull request #1981 from G10h4ck/RsMemoryWrapper_JSON_fixup
Change raw memory JSON representation
2020-05-29 19:16:00 +02:00
Gioacchino Mazzurco
43f7b6c0ba
RsFiles::alreadyHaveFile look into extra list too 2020-05-29 11:03:57 +02:00
csoler
d1e95f94a8
added method to print cache size 2020-05-29 09:49:07 +02:00
Gioacchino Mazzurco
2ae21ca800
rsdebug supports variadic style for atomic log 2020-05-29 01:09:10 +02:00
csoler
1dbc0c1fcf
fixed long-term bug due to sending an empty list of destkeys for GXSSecurity to encrypt an item 2020-05-28 23:58:07 +02:00
Gioacchino Mazzurco
c1c303218c
Change raw memory JSON representation
Fix bug reported by b1rdG
The new way permits to add more formats in the future without breaking
  retro-compatibility again.
Add support for RsJson in rsdebug for Android
2020-05-28 23:01:04 +02:00
G10h4ck
968f234bfd
Merge pull request #1959 from G10h4ck/rsbase64_fixup
RsBase64 handle correcly 0 lenght buffer encoding and padding
2020-05-28 18:45:04 +02:00
Gioacchino Mazzurco
d76f397358
RsBase64 calculate size properly and avoid FP math 2020-05-28 17:57:42 +02:00
csoler
31e6e02a91
removed MsgMeta delete that was left 2020-05-28 17:07:33 +02:00
csoler
1a362f1cc0
moved a debug output to the right place 2020-05-28 16:06:31 +02:00