Commit Graph

6210 Commits

Author SHA1 Message Date
Phenom
31acef55d3 Fix Compil with Photo Service
CONFIG+=gxsphotoshare
2021-01-15 22:29:59 +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