Commit Graph

6506 Commits

Author SHA1 Message Date
Gioacchino Mazzurco
a18d6aaa1e
Add JSON API to get/set storage and sync GXS time 2021-09-03 14:55:03 +02:00
csoler
e22c5c9702 added bool return value to denyLobbyInvite() and marked overriding methods in p3msgs accordingly 2021-08-29 21:15:52 +02:00
csoler
5e851b4efd trying to fix compilation on windows 2021-08-28 21:46:02 +02:00
csoler
f5f608dbec trying to fix compilation on windows 2021-08-28 21:39:12 +02:00
csoler
563fc14532
Merge pull request #2459 from hunbernd/fix/partialfiles
Fix: additional / when combining file paths
2021-08-22 21:30:01 +02:00
csoler
3de68bf5e5 Merge remote-tracking branch 'upstream/master' into v0.6-TorControl 2021-08-15 15:07:58 +02:00
csoler
8b586412c2 Merge remote-tracking branch 'upstream/master' into v0.6-PGPHandler 2021-08-15 10:09:45 +02:00
csoler
020ef61297 fixed compilation 2021-08-15 09:41:30 +02:00
csoler
b084b20280 removed getAuthGPG and replaced AuthGPG with a class with static members 2021-08-14 14:56:28 +02:00
csoler
b8f4e64393 initial split of PHPHandler into two classes 2021-08-11 16:02:02 +02:00
csoler
4db6ac92e7 initial split of PHPHandler into two classes 2021-08-11 16:01:45 +02:00
Gioacchino Mazzurco
8bed99cc9f
Fix compilation with C++17 2021-08-06 12:15:34 +02:00
Gioacchino Mazzurco
e850e00a82
Optimization, cleanup, compiler warning fix
Chores I have made while working on single file share
2021-07-19 16:40:13 +02:00
Gioacchino Mazzurco
817a961013
Improve RsDirUtil::lastWriteTime error reporting 2021-07-18 22:41:14 +02:00
Gioacchino Mazzurco
9970f9d22f
Avoid leaking single shared file path in search results
Single shared files are a bit special and contain the full path in the
  name because they are not shared as part of a directory, epurate the
  path component from matching process and from search result
2021-07-18 21:16:46 +02:00
Gioacchino Mazzurco
e1580868dc
Avoid leaking non browsable shared single files to friends 2021-07-18 21:16:46 +02:00
Gioacchino Mazzurco
fc198d4e6d
libretroshare: add share single files (no dir, no extra)
Add capability to libretroshare to share single files without sharing
  the whole folder containing it, this is expecially useful in Android
  where files are organized in a peculiar way that render classic way of
  sharing folder almost unusable. Using extra files which was already
  implemented doesn't solve this use case as extra files are limited in
  time and dosn't support search and sharing permissions.
RetroShare GUI works fine if a single file is added as shared dir via
  JSON API, but probably would need tweaking some flags in file picker
  to give the ability to the user.
2021-07-18 21:16:45 +02:00
csoler
1f10be1c90
Merge pull request #2439 from csoler/v0.6-BugFixing_12
fixed errors in libretroshare.pro
2021-07-15 17:18:36 +02:00
csoler
0c98b7f178
Merge pull request #2438 from csoler/v0.6-rsHistory
[WIP] Documenting rsHistory.h to bring history to JSON api
2021-07-04 23:39:26 +02:00
csoler
abf481b0a1 removal of slignal/slots 2021-07-04 18:27:12 +02:00
csoler
b6156bff00 fixed compilation for appveyor 2021-07-04 14:06:37 +02:00
csoler
4e4427f0bd fixed errors in libretroshare.pro 2021-07-03 22:01:07 +02:00
csoler
8505544294 removed signals in HiddenService class 2021-07-03 21:54:44 +02:00
csoler
4833a8fdc4 added json api description for the rest of RsHistory 2021-07-03 20:48:47 +02:00
csoler
d6ccd75a7f started documenting rsHistory.h to bring history to JSON api 2021-07-03 00:31:09 +02:00
csoler
ae79261cbc fixed bootstrapping of Tor in retroshare-service 2021-07-02 00:11:10 +02:00
csoler
da86da29ff attempt at fixing tor bootstrap. Not working yet 2021-06-29 00:23:32 +02:00
csoler
139b22b41a added rstor.h file 2021-06-27 18:14:22 +02:00
csoler
a23ad41b11 fixed event handling in Tor bootstrap process 2021-06-26 23:13:17 +02:00
csoler
607c1896e5 progress in event handling in RsTor 2021-06-26 18:52:48 +02:00
csoler
43e8ed3d98 fixed compilation 2021-06-26 17:12:17 +02:00
csoler
f13b0cbe9f keeping Qt internally for a while and making RsTor Qt-free 2021-06-25 21:46:00 +02:00
Gioacchino Mazzurco
7bf4da0691
Avoid JSON operations on RsGxsIdGroup::mPgpIdSign
The field is actually a raw memory chunk even if declared as an
  std::string as result the produced JSON is broken and JSON API clients
  cannot parse the output of methods like rsIdentity/getIdentitiesInfo
A proper fix would be refactoring the whole code to use a proper raw
  memory buffer for that field but given there is no usage for a raw PGP
  signature on a client app as RetroShare library already verify it internally
  workaround the issue by just ignoring that field in JSON serial operations.
2021-06-22 08:24:11 +02:00
csoler
d7fb3d8bf4 moved TorControl files into libretroshare. Not compiling yet. 2021-06-19 15:34:46 +02:00
Gioacchino Mazzurco
476180dc14
Files extra list optimization and cleanup
Improve performances and fix compiler warnings
2021-06-14 11:53:27 +02:00
csoler
8539dd503a fixed deadlock caused by wrong order in mutex lock 2021-05-04 19:49:47 +02:00
csoler
e22e1c1a8b
Merge pull request #2393 from hunbernd/fix/WebUI-binary-files
Fix: WebUI truncating binary files
2021-03-26 20:15:33 +01:00
hunbernd
bb6841370f Fix: WebUI truncating binary files.
Fixes font files not loading properly in the webui problem.
2021-03-25 18:20:11 +01:00
Gioacchino Mazzurco
67c607cb32
Fix Android compilation 2021-03-23 23:16:31 +01:00
Mohammed Saud
bf41f8ad92 add CORS headers to rsEvents/registerEventsHandler 2021-03-19 23:10:43 +05:30
sehraf
911cbeb61a
fix key generation and cleanup 2021-03-16 21:15:31 +01:00
sehraf
5418483934
fixed wrong size check 2021-03-16 21:15:31 +01:00
sehraf
aef993de55
reduce log 2021-03-16 21:15:31 +01:00
sehraf
8a2efe3e58
use libsam3 git submodule 2021-03-16 21:15:31 +01:00
sehraf
9c71177d3b
add workaround for i2p/libsam3#15 2021-03-16 21:15:31 +01:00
sehraf
719adaae9b
update i2psam3 2021-03-16 21:15:31 +01:00
sehraf
36e238951f
update p3i2psam 2021-03-16 21:15:31 +01:00
sehraf
1fa16aa6eb
SAM3: fix double free 2021-03-16 21:15:31 +01:00
sehraf
c869b9757f
drop BOB code 2021-03-16 21:15:31 +01:00
sehraf
25cb152a7e
make pqissl notice bad file descriptor 2021-03-16 21:15:31 +01:00
sehraf
eb0aa340e3
remove i2psam (library) support 2021-03-16 21:15:30 +01:00
sehraf
10189ba4d0
add i2psam3 2021-03-16 21:15:30 +01:00
sehraf
76f0678820
add fork of libsam3
add funtion to get i2p certificate crypto algo names
2021-03-16 21:15:26 +01:00
csoler
4420575a9a removed debug info about superseded groups 2021-03-13 22:28:26 +01:00
csoler
c9d7cb7e7e fixed wrong define in debug for circles 2021-03-13 22:27:43 +01:00
csoler
eee2fe43cf
Merge pull request #2362 from csoler/v0.6-BugFixing_10
A few fixes in People tab
2021-03-08 22:50:26 +01:00
csoler
8df1f0bf41 fixed crash due to using twice the same method name in p3gxscircles.h wiht json api header 2021-03-08 20:51:21 +01:00
Gioacchino Mazzurco
74dc476282
Fix list overwrite in RsGxsNetService::requestGrp
When requestGrp was called with different groups for same peer multiple
  times between ticks the list was overridden and groups from previous
  call overridden by the new, as a result some requested groups may be
  never really requested. Fix the bug by using a set instead of a list
  so the newly requested groups are uniquely added to the set without
  removing the previously added.
2021-03-08 20:07:07 +01:00
csoler
bc99321b14 fixed merge with upstream/master 2021-03-08 09:34:34 +01:00
csoler
6f78952df9 fixed error msg 2021-03-07 21:00:53 +01:00
Phenom
3d9ba341f0 Fix Windows 64b G++ under MSys2 compil. 2021-03-05 17:40:06 +01:00
csoler
118ec492e6 added missing explicit update circle method (Not used yet) 2021-03-03 22:37:12 +01:00
csoler
4ef1c0545c
Merge pull request #2359 from csoler/v0.6-v0.6.6
moved from 0.6.6-RC2 to 0.6.6
2021-02-28 20:13:36 +01:00
csoler
f5233b1190 moved from 0.6.6-RC2 to 0.6.6 2021-02-28 20:02:57 +01:00
csoler
2b9a290a85
Merge pull request #2350 from csoler/v0.6-BugFixing_10
Bug fixing in FriendList
2021-02-28 19:59:57 +01:00
csoler
b16c30bc3f fixed registration of event handler 2021-02-26 23:20:48 +01:00
csoler
339948a15c added missing event for FriendList when friends added now that notifyQt is not used anymore 2021-02-26 23:01:41 +01:00
jolavillette
b8b3d7515c add missing mutex locks around free_pend calls in pqistreamer.cc 2021-02-22 09:04:33 +01:00
csoler
36e063160c removed some debug messages 2021-02-20 20:29:30 +01:00
csoler
226de56f88 improved output for when max chat room messages is reached 2021-02-20 20:20:56 +01:00
csoler
481a207ccb fixed bug when retroshare-service -U list is ran with no account 2021-02-20 09:32:57 +01:00
csoler
d1baa3821a auto-validate own signed identities 2021-02-19 21:09:17 +01:00
csoler
04fd7f17ca fixing update of groups restricted to circles when circle membership changes 2021-02-15 18:42:34 +01:00
csoler
8e91efbb93 fixed setAutoDownload and setDownloadDirectory for channels 2021-02-14 23:40:35 +01:00
csoler
4ef58cce81 fixed update of channel list when publish permissions received 2021-02-14 23:14:23 +01:00
csoler
dfa088acac
Merge pull request #2308 from csoler/v0.6-BugFixing_9
V0.6 bug fixing 9
2021-02-13 14:13:18 +01:00
csoler
9fd16827da fixed compilation of rsgxsnetservice debg code 2021-02-12 23:38:35 +01:00
csoler
43fbd6f76a fixed bug causing lack of passwd request on group edit 2021-02-10 21:47:06 +01:00
csoler
499753f873 fixed setting up avatar when creating a GxsId 2021-02-10 20:57:55 +01:00
Phenom
47ad48cafd Fix Uninitialised in RsNxsGrp 2021-02-10 19:45:45 +01:00
csoler
8e64a07efc
Merge pull request #2285 from jolavillette/pqihandler-bwctrl-bugfix
Fix bug in pqihandler preventing UP BW management when bwctrl service is OFF
2021-02-08 09:49:58 +01:00
csoler
6739887f58
Merge pull request #2289 from jolavillette/turtle_TR-SR_Optim
Optimization of TR and SR lifespan
2021-02-08 09:46:53 +01:00
csoler
d9721746c3
Merge pull request #2287 from csoler/v0.6-BugFixing_8
Added early check of ExtAddrFinder and notify about its results
2021-02-08 09:45:31 +01:00
csoler
90a11a1236 only update peer IPs form discovery for non hidden nodes 2021-02-06 21:55:43 +01:00
csoler
abe3527635 update friends IP from own net info sent by discovery 2021-02-06 21:42:07 +01:00
jolavillette
bdccef5ef9 increase TR and SR validity to 20 seconds 2021-02-06 20:57:04 +01:00
csoler
1f1a226f87 removed soem dead code 2021-02-06 17:31:43 +01:00
csoler
3f89a3300d added event handling when peer discovery is received 2021-02-06 14:57:22 +01:00
jolavillette
81e444a164 remove debug messages 2021-02-06 08:13:01 +01:00
csoler
d9aff498c5
Merge pull request #2276 from RetroPooh/no-spam-debug
disable some spam debug
2021-02-05 23:52:03 +01:00
csoler
37dc37ce4a fixed parsing and exporting of local+ext IPs in short invites (not compatible with IPv6) 2021-02-05 23:25:55 +01:00
jolavillette
02232b389e Optimization of TR and SR lifespan 2021-02-05 09:53:14 +01:00
csoler
251d022ae1 attempt to fix error in setting external port when guessing external IP 2021-02-04 22:22:21 +01:00
csoler
6c83b5cd27 added double check in ext IP hack to avoid re-calling UpdateOwnAdress() 2021-02-04 16:12:18 +01:00
csoler
d87de5121a small fix to make setLocalAddress() and setExtAddress() also call mPeerMgr-UpdateOwnAddresses() 2021-02-03 23:35:23 +01:00
csoler
67cf8baf77 added early check of ExtAddrFinder and notify about its results 2021-02-03 22:36:24 +01:00
csoler
104facdfe2
Merge pull request #2263 from csoler/v0.6-BugFixing_8
Attempt to improve BW graph
2021-02-03 21:57:07 +01:00
jolavillette
725094e9be Fix bug in pqihandler preventing proper BW management when bandwidth ctrl service is OFF 2021-02-03 09:38:35 +01:00
csoler
95e1073b8a fixed error in reputation that prevented to account for delay after which banned identities are un-banned 2021-02-02 12:35:17 +01:00
csoler
1abd206443 added missing delete causing mem leak in GXS distant search 2021-02-01 17:59:25 +01:00
RetroPooh
c4ca513791 disable some spam debug
(cherry picked from commit 70f9aa5d63)
2021-02-01 11:56:22 +03:00
csoler
f61b37e10b fixed bw graph window to display both up+dn 2021-01-31 23:28:15 +01:00
csoler
85c86197a1 fixed bug causing swarming to fail when FT encryption is enforced 2021-01-31 19:55:36 +01:00
csoler
42dd13b0e6
Merge pull request #2261 from csoler/v0.6-BugFixing_6
Better display of last seen info in groups
2021-01-30 20:14:44 +01:00
csoler
38c0603f6d
Merge pull request #2252 from jolavillette/ConfigFilesSavePeriod
Save configuration files every 1 hour instead of every 5 seconds
2021-01-30 19:56:46 +01:00
csoler
70a536b13e
Merge pull request #2251 from csoler/v0.6-BugFixing_7
Additional fixes for 0.6.6
2021-01-30 19:55:01 +01:00
csoler
8a4e15d304 removed some debug info in rsgenexchange 2021-01-30 00:00:48 +01:00
csoler
5292ff0af5 added info about last time unsubscribed circles and forums have been advertised by subscribed friends 2021-01-29 00:18:08 +01:00
csoler
c9a92bc58a added last seen display info in circles to help debugging auto-cleaning of circles 2021-01-28 21:14:43 +01:00
csoler
48ac7c3147 removed debug info 2021-01-28 20:21:06 +01:00
csoler
a7918d426e improved GxsId signature checking scheme to avoid bruteforcing PGPHash when signature provides the issuer ID 2021-01-27 22:33:25 +01:00
csoler
17b2da269a fixed missing call to loadign groups to process 2021-01-27 20:14:44 +01:00
csoler
633d69dc7d only load GxsId metadata to check for signatures flag, and data for actual signature check 2021-01-26 20:45:09 +01:00
defnax
d1c87f215d
Merge pull request #2250 from PhenomRetroShare/Fix_FriendListStatus
Fix Friend List Status
2021-01-26 13:38:36 +01:00
jolavillette
1760f967c2 Save configuration files every 1 hour instead of every 5 seconds 2021-01-26 09:51:21 +01:00
csoler
6ebea19087 added check for group/friends consistency at loadign time 2021-01-25 21:13:37 +01:00
csoler
7613fe1a44
Merge pull request #2245 from csoler/v0.6-BugFixing_7
Fixing the token queues
2021-01-25 20:48:48 +01:00
csoler
5c08dcb0de added missing delete causing small leak 2021-01-25 20:33:27 +01:00
Phenom
6b519838b1 Fix Friend List Status 2021-01-25 20:15:04 +01:00
csoler
c85209693f removed some debug info 2021-01-24 22:34:07 +01:00
csoler
16c4e2cef4 added missing acknowledge token in ID service 2021-01-24 22:33:56 +01:00
csoler
537957a2ea added missing acknowledge token in channels and fasten up markAllRead by using async on each post 2021-01-24 22:17:02 +01:00
csoler
a7de50d4c8 fixed direct calls to setMsgReadStatus in forums. Made them async to gain GUI speed 2021-01-24 22:06:58 +01:00
csoler
202ce3327d added better debug info in RsGenexchange (allowing service-based debug) and fixed growing of mGrpNotify and mMsgNotify in DataAccess due to not acknowledging tokens for explicit operations in circles 2021-01-24 21:42:45 +01:00
David Gerber
a73ea961c6 Fix JSON API mime type
Most clients expect application/json which is standard, instead
of text/json.
2021-01-24 01:53:58 +01:00
csoler
53f0c396e7 attempt to fix token queue growth in circles 2021-01-23 22:54:29 +01:00
csoler
4be2ed548c added more debug info to rsdataservice 2021-01-23 20:18:15 +01:00
csoler
f63575aa21 added missing test on mUseCache in dataservice 2021-01-22 22:33:04 +01:00
csoler
17c6a2c54f added more debuginfo to data service 2021-01-22 22:32:43 +01:00
csoler
3d1e43cf25 fixed bug in updating cache from DB 2021-01-22 16:51:37 +01:00
Phenom
b2baf89758 Fix NickName in Chat Lobby when starting 2021-01-22 15:56:20 +01:00
csoler
95fc1a56c8 Merge remote-tracking branch 'upstream/master' into v0.6-BugFixing_6 2021-01-21 18:15:08 +01:00
csoler
feecf7c763 added safeguard against crash in dir_hierarchy 2021-01-21 18:15:02 +01:00
csoler
39a8de9bb9 improved cache management to avoid clearing it unless strictly necessary 2021-01-21 18:00:00 +01:00
csoler
f491e3c20e fixed conflict with master 2021-01-19 22:34:44 +01:00
csoler
0757b161ba patched BroadcastDiscivery and GxsNetTunnel so that they respond faster to shutdown 2021-01-19 20:44:21 +01:00
csoler
e56add841a removed useless reload of channel data. Fixed default implicit conversion from pointer to shared_ptr 2021-01-19 19:38:38 +01:00
csoler
80ed4e0e25
Merge pull request #2235 from PhenomRetroShare/Fix_QMakeErrorMessage
Fix qmake error:
2021-01-18 21:52:51 +01:00
csoler
ddc0a8c1ec fixed update of identity list when avatar is changed and changed avatar to use ZoomableLabel 2021-01-18 21:49:03 +01:00
csoler
5ec3ae8640
Merge pull request #2224 from csoler/v0.6-BugFixing_5
continue bug fixing for 0.6.6 (See commits)
2021-01-18 13:24:31 +01:00
csoler
5d805e3798 fixed compilation, removing implicit cast from nullptr to uninitialized std::shared_ptr 2021-01-18 13:23:43 +01:00
Phenom
da02bf8ca1 Fix qmake error:
Please specify at least one package name on the command line.
2021-01-18 11:57:38 +01:00
csoler
e73e3232f6 fixed update of avatar/name in signed identities 2021-01-17 23:53:49 +01:00
csoler
217aa119ff limit distant search results to non circle-restricted groups 2021-01-15 22:48:31 +01:00
Phenom
31acef55d3 Fix Compil with Photo Service
CONFIG+=gxsphotoshare
2021-01-15 22:29:59 +01:00
csoler
dca8a5a91d fixed bug in chat history causing lots of gibberish output to the console 2021-01-14 22:35:08 +01:00
csoler
7f5f03bcda
Merge pull request #2141 from PhenomRetroShare/Fix_DataAccessReqDelWhenFailed
Fix RsGxsDataAccess req delete when failed.
2021-01-14 21:42:35 +01:00
csoler
3decd2b768
Merge pull request #2137 from PhenomRetroShare/Add_HandleTokenStatus
Add ability to manage canceled token in Gxs.
2021-01-14 19:50:55 +01:00
csoler
af696639cc fixed channel UI so that comment label is only shown when a new comment is here 2021-01-12 22:31:59 +01:00
csoler
7b2f6a3439
Merge pull request #2213 from jolavillette/bandwidthOptim
bandwith management optimization
2021-01-12 19:35:43 +01:00
jolavillette
df7de80914 restore smooth increase of up bw, and restore the use of the maximum down bw advertised by peer via BwCtrl 2021-01-12 10:12:11 +01:00
csoler
d92132d025
Merge pull request #2211 from csoler/v0.6-BugFixing_5
Various bug fixes
2021-01-11 20:12:01 +01:00
csoler
faa09ea55a fixed small memleak in authssl 2021-01-10 21:09:14 +01:00
csoler
78628a1842 fixed mem leak in p3MsgService 2021-01-10 20:52:58 +01:00
csoler
0f9aa519a5 added proper check for size w.r.t. RsSerialiser::MAX_SERIAL_SIZE before publishing GXS message, and proper handling of error if de-deserialization produces an item that is too large as well 2021-01-10 20:32:30 +01:00
jolavillette
45a1c7af24 bandwith management optimization 2021-01-10 15:55:38 +01:00
csoler
453c656570 fixed the status of signature vs. making friends, and fixed the deadlock when signing a certificate 2021-01-09 14:24:04 +01:00
csoler
d7fbe29a56 sorted out the mess with various calls to clear/cache PGP passphrase that resulted in the passphrase staying in memory 2021-01-08 23:43:59 +01:00
Phenom
ec32ec9983 Add ability to manage canceled token in Gxs. 2021-01-08 15:49:22 +01:00
csoler
3ee9408c00 fixed compilation with rs_deep_channels_index 2021-01-08 13:28:27 +01:00
csoler
d0b8c7dd69
Merge pull request #2203 from csoler/v0.6-CacheTests_2
Cache tests 2
2021-01-07 18:07:55 +01:00
csoler
ce4a0de6df fixed normal checking/cleaning periods 2021-01-06 23:09:50 +01:00
csoler
c3988e986f only call the costly part of db checking when deep-indexing is needed 2021-01-06 21:48:18 +01:00
csoler
839a82450e made GxsUtil check a static method 2021-01-06 21:47:46 +01:00
csoler
6d11abc0f3 added single call for db check at time of db creation 2021-01-05 20:35:58 +01:00
csoler
2124c0935d fixed stupid mistake 2021-01-05 14:51:24 +01:00
csoler
94afc17629 added more debug output 2021-01-04 21:24:06 +01:00
csoler
d0dffaa2a4 removed display of "Dead" elements in cache since they are no longer used 2021-01-04 13:57:54 +01:00
csoler
f1ccfb4d57 removed double-return 2021-01-03 21:24:15 +01:00
csoler
ec0f56f0ae
Merge pull request #2194 from jolavillette/ChatroomStatus
speed up status display of participants in chatrooms
2021-01-03 15:41:38 +01:00
csoler
ef21db0a0a fixed bug causing bad cache update 2021-01-02 23:56:26 +01:00
csoler
a6010beab3 Merge remote-tracking branch 'upstream/master' into v0.6-CacheTests 2021-01-02 22:25:10 +01:00
csoler
aad542e3a5 trick to avoid creating new memoty when cache is not used 2021-01-02 22:24:13 +01:00
hunbernd
a97d0ff15c Fix: DHT cannot bootstrap if bdboot.txt is corrupted.
If the bdboot.txt file is broken in profile folder, attempt to load the data from the file installed with RS.
2021-01-02 18:44:32 +01:00
csoler
71f2e273ea moved all metadata cache switches into DataStore as a single internal variable 2021-01-01 23:36:16 +01:00
csoler
06ed1e3e97
Merge pull request #2175 from csoler/v0.6-BugFixing_2
v0.6.6-RC2 fixes
2020-12-31 13:19:02 +01:00
csoler
637d5f360a fixed extra delete after storeGroup and storeMessage 2020-12-30 21:41:47 +01:00
csoler
c3f4e1babc
Merge pull request #2189 from PhenomRetroShare/Fix_UninitGxsTunnelPeerInfo
Fix Uninit in GxsTunnelPeerInfo
2020-12-30 21:00:01 +01:00
csoler
159a2061f6
Merge pull request #2182 from csoler/v0.6-MemLeaks
Fixing mem leaks
2020-12-30 20:58:32 +01:00
csoler
4916c3925f renamed mispelled functions 2020-12-30 20:16:44 +01:00
csoler
1fe3664007 fixed bug causing GXS sync to fail and crash 2020-12-30 20:16:25 +01:00
jolavillette
4aaae99a52 speed up status display of participants in chatrooms 2020-12-30 16:06:12 +01:00
Phenom
ac4b7334dd Fix ValGrind error in PGPHandler::locked_writePrivateTrustDatabase
Syscall param write(buf) points to uninitialised byte(s)
  in PGPHandler::locked_writePrivateTrustDatabase() in /libretroshare/
src/pgp/pgphandler.cc:1885
  1: write in /usr/lib/libc-2.32.so
  2: _IO_file_write@@GLIBC_2.2.5 in /usr/lib/libc-2.32.so
  3: new_do_write in /usr/lib/libc-2.32.so
  4: _IO_do_write@@GLIBC_2.2.5 in /usr/lib/libc-2.32.so
  5: _IO_file_close_it@@GLIBC_2.2.5 in /usr/lib/libc-2.32.so
  6: fclose@@GLIBC_2.2.5 in /usr/lib/libc-2.32.so
  7: PGPHandler::locked_writePrivateTrustDatabase() in /libretroshare/
src/pgp/pgphandler.cc:1885
  8: PGPHandler::locked_syncTrustDatabase() in /libretroshare/src/pgp/
pgphandler.cc:1987
  9: PGPHandler::syncDatabase() in /libretroshare/src/pgp/pgphandler.cc:
1909
  10: AuthGPG::threadTick() in /libretroshare/src/pqi/authgpg.cc:207
  11: RsTickingThread::run() in /libretroshare/src/util/rsthreads.h:314
  12: RsThread::wrapRun() in /libretroshare/src/util/rsthreads.cc:116
  13: RsThread::rsthread_init(void*) in /libretroshare/src/util/
rsthreads.cc:84
  14: start_thread in /usr/lib/libpthread-2.32.so
  15: clone in /usr/lib/libc-2.32.so
Address 0xcb70379 is 9 bytes inside a block of size 4,096 alloc'd  1:
malloc in /build/valgrind/src/valgrind-3.16.1/coregrind/m_replacemalloc/
vg_replace_malloc.c:307
  2: _IO_file_doallocate in /usr/lib/libc-2.32.so
  3: _IO_doallocbuf in /usr/lib/libc-2.32.so
  4: _IO_file_overflow@@GLIBC_2.2.5 in /usr/lib/libc-2.32.so
  5: _IO_file_xsputn@@GLIBC_2.2.5 in /usr/lib/libc-2.32.so
  6: fwrite in /usr/lib/libc-2.32.so
  7: PGPHandler::locked_writePrivateTrustDatabase() in /libretroshare/
src/pgp/pgphandler.cc:1877
  8: PGPHandler::locked_syncTrustDatabase() in /libretroshare/src/pgp/
pgphandler.cc:1987
  9: PGPHandler::syncDatabase() in /libretroshare/src/pgp/pgphandler.cc:
1909
  10: AuthGPG::threadTick() in /libretroshare/src/pqi/authgpg.cc:207
  11: RsTickingThread::run() in /libretroshare/src/util/rsthreads.h:314
  12: RsThread::wrapRun() in /libretroshare/src/util/rsthreads.cc:116
  13: RsThread::rsthread_init(void*) in /libretroshare/src/util/
rsthreads.cc:84
  14: start_thread in /usr/lib/libpthread-2.32.so
  15: clone in /usr/lib/libc-2.32.so
Uninitialised value was created by a stack allocation  1:
PGPHandler::locked_writePrivateTrustDatabase() in /libretroshare/src/
pgp/pgphandler.cc:1855
2020-12-29 13:05:41 +01:00
Phenom
308fa78307 Fix Uninit in GxsTunnelPeerInfo 2020-12-29 12:23:18 +01:00
csoler
a40c54950c fixed bug due to double free 2020-12-27 00:12:13 +01:00
csoler
5ff58e6a5f added params to disable the use of cache when retrieving msg and grp data and metadata. Made GxsUtil::check() not use the cache 2020-12-26 23:35:39 +01:00
csoler
22ceec6c43 replaced GxsMetaData pointers by shared_ptrs in dataaccess and dataservice, so that we can easily disable caching, more freely get rid of cache items, and have a simpler memory management scheme 2020-12-26 23:13:17 +01:00
csoler
2a3fa76256 added missing delete of X509 cert at loading time 2020-12-23 21:12:05 +01:00
csoler
d28665df18 added missing delete in authssl.cc 2020-12-23 20:47:28 +01:00
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