Commit Graph

12845 Commits

Author SHA1 Message Date
Gioacchino Mazzurco
367c5182cf
Fix compilation with Qt older then 5.10 2018-11-09 12:41:08 +01:00
Gioacchino Mazzurco
ea86fe2615
Safer RsGxsChannel API
Deprecated old method which exposed interna async mechanism to the API
  users, making their and out life difficult
Things that really need to be async like turtle search/requests now accept
  callbacks, so the caller can be notified everytime some result is got
  back
Implement RsThread::async commodity wrapper to execute blocking API
  calls without blocking the caller, this could be optimized
  trasparently using a thread pool if necessary
Added hints into some retroshare-gui files on how to use RsThread::async
  thoghether with QMetaObject::invokeMethod and blocking RetroShare API
  to simplyfy interaction between GUI and libretroshare
2018-11-09 12:41:08 +01:00
Gioacchino Mazzurco
8fd22c8fd1
Safer rsGxsChannel API
Protect data members with mutexes
Print messages when errors happens
2018-11-09 12:41:08 +01:00
Gioacchino Mazzurco
5e6970b64b
Merge branch 'v0.6.5' 2018-11-09 11:17:26 +01:00
G10h4ck
60b424eb66
Merge pull request #1389 from G10h4ck/jsonapi
JSON API to check if PGP id is friend
2018-11-09 11:10:30 +01:00
G10h4ck
5e6e9e03e5
Merge pull request #1390 from G10h4ck/jsonapi
JSON API to check if PGP id is friend
2018-11-09 11:09:56 +01:00
G10h4ck
c073cc425d
Merge pull request #1397 from G10h4ck/htofix_rsGetHostByName_v0.6.5
Fix DNS resolution for hostnames that has also AAAA record
2018-11-09 11:09:21 +01:00
csoler
18f4dbb9f4
Merge pull request #1400 from sehraf/pr_small-DHT-fixes
add missing DEFINE, fix small bugs
2018-11-08 20:59:07 +01:00
csoler
a1f33e09e6
Merge pull request #1398 from G10h4ck/htofix_rsGetHostByName_v0.6.5
Fix DNS resolution for hostnames that has also AAAA record
2018-11-08 20:53:34 +01:00
sehraf
2ebca7159a
add missing DEFINE, fix small bugs 2018-11-08 18:52:56 +01:00
Gioacchino Mazzurco
c4cbcf78f3
Fix DNS resolution for hostnames that has also AAAA record
rsGetHostByName doesn't support IPv6 addresses.
Before this commit when
an hostname had both AAAA and A record rsGetHostByName retrurned success
but with 0.0.0.0 invalid address. As rsGetHostByName is not capable of
handling IPv6 (fixing it would require API change and a bunch of
refactors around) just avoid to receive IPv6 addresses on resolition, so
the correct IPv4 address is returned if present, otherwise fail
gracefully (A record not found).
2018-11-08 13:23:06 +01:00
csoler
dfe7ebaa08
fixed non working pause/cancel button in webUI 2018-11-07 23:11:52 +01:00
csoler
07f63c82e2
fixed typo causing FT to show blank for transfer completion in webUI 2018-11-07 21:45:44 +01:00
csoler
e9da9a555d
fixed typo causing FT to show NaN for transfer progress in webUI 2018-11-07 21:43:19 +01:00
csoler
d74f7bb61d
Merge pull request #1395 from RetroShare/v0.6.5
V0.6.5
2018-11-06 23:29:31 +01:00
csoler
cfb194a8ef
Merge pull request #1392 from G10h4ck/hotfix_udp_crash
WIP: Attempt to fix crash in pqissludp
2018-11-06 23:28:54 +01:00
csoler
09f92642d6
removed memory leak in gxsnettunnel 2018-11-06 20:55:10 +01:00
csoler
f976e1c525
removed memory leak in handlign of old chat lobby items 2018-11-06 20:38:35 +01:00
Gioacchino Mazzurco
a3c81e163d
Fix compilation for ubuntu 18.04 LTS
Ubuntu 18.04 still ships OpenSSL 1.1.0g which has bugs in BIO API, this
commit work around those bugs
2018-11-06 13:02:56 +01:00
Gioacchino Mazzurco
d00d0816ff
Use only BIO_METHOD pointer in openssl >= 1.1.0
The type declaration is hidden so we can't declare variable but only
pointers
Fix compilation on Android
2018-11-05 23:39:10 +01:00
Gioacchino Mazzurco
18e02c9f4a
TOU avoid forging BIO_METHOD in openssl >= 1.1.0
Forging of BIO_METHOD may be the cause of the stack overflow as the
internal structure in openssl changed so the methods get assigned to
wrong pointer.
Kudos Cyril to notice newer openssl internal struct had one new pointer
inserted as second member
2018-11-05 22:23:40 +01:00
sehraf
b54305d508
rename config option 2018-11-05 18:56:27 +01:00
sehraf
66dff9bf0b
Add a build-time switch to set whether GXS distributes all available data or only sends data withint the configured sync period. 2018-11-05 18:56:11 +01:00
csoler
fb7cfcaa11
Merge pull request #1394 from sehraf/pr_gxsSync
Add a build-time switch to GXS to distributes all requested data
2018-11-05 18:53:31 +01:00
Gioacchino Mazzurco
81cad2ab02
Fix missing include 2018-11-05 14:02:44 +01:00
sehraf
927403415c
rename config option 2018-11-05 12:55:51 +01:00
sehraf
67cd2a1407
Add a build-time switch to set whether GXS distributes all available data or only sends data withint the configured sync period. 2018-11-05 11:00:32 +01:00
Gioacchino Mazzurco
1ef9876610
Merge branch 'stacktrace_on_crash' into hotfix_udp_crash 2018-11-05 00:20:33 +01:00
Gioacchino Mazzurco
c0ca1a5aad
Print stack trace on crash 2018-11-05 00:19:45 +01:00
Gioacchino Mazzurco
7d6fba7e8c
Attempt to fix crash in pqissludp
Caused by unneeded pointer usages + not enough careful IPv6 porting

I haven't managed to reproduce the crash nor to test the fix due it
happening only when UDP relayed connection happens (apparently never on
my nodes.

I have managed to discover where the bug comes from thanks to multiple
user reports, specially to Ilario report which documented 3 crashes
happening on 0.6.4 with complete log.
2018-11-04 00:09:28 +01:00
csoler
56b31a0e23
Merge pull request #1391 from RetroShare/v0.6.5
V0.6.5
2018-11-03 20:48:11 +01:00
csoler
d711e09b68
fixed bug causing IdChooser to reset the current id 2018-11-03 20:25:32 +01:00
csoler
dccd40f77e
Merge pull request #1384 from hunbernd/fix/oldstuff
Removed outdated build scripts and information
2018-11-02 22:09:18 +01:00
csoler
1f8ecc024d
Merge pull request #1378 from csoler/v0.6-ImprovedGUI
V0.6 improved gui
2018-11-02 20:30:30 +01:00
csoler
38a81047ae
Merge pull request #1388 from RetroShare/v0.6.5
V0.6.5
2018-11-02 20:28:31 +01:00
csoler
af86b29f2b
moved initialization to initializer list in HomePage 2018-11-02 20:26:49 +01:00
Gioacchino Mazzurco
eca4f8adf7
JSON API to check if PGP id is friend 2018-11-01 23:26:42 +01:00
csoler
4aedfddb9f
fixed bug in GRouter failing to set proper service ID in return receipts 2018-11-01 22:10:17 +01:00
csoler
33b39a8be6
removed uninitialized memory read in determination of own IP 2018-11-01 22:05:22 +01:00
csoler
cb5d247565
removed unnecessry debug output from pqissl 2018-11-01 21:45:59 +01:00
csoler
eb078d462e
added more info to deserialization warning in rsrecogn 2018-11-01 21:42:07 +01:00
csoler
9a2bbe339a
fixed uninitialized memory read due to not checking the result of beMsgGetNodeId() in bitdht 2018-11-01 21:40:56 +01:00
csoler
84aedb8ac7
removed uninitialized memory read in updateOwnCert() 2018-11-01 20:28:09 +01:00
hunbernd
f80b815b26 Removed outdated instructions from readme 2018-10-28 22:25:26 +01:00
hunbernd
74fcb5435b Updated links in readme 2018-10-28 22:16:01 +01:00
hunbernd
d5d3830b6e Removed version.html 2018-10-28 22:15:07 +01:00
hunbernd
3ca13e141e Removed some old build scripts 2018-10-28 21:34:45 +01:00
csoler
3c6dd1af1c
removed unnecessary saving of config in p3turtle 2018-10-28 17:45:21 +01:00
csoler
20391371c7
fixed bug causing some GXS sync tunnels to remain unused and prevent new tunnels to be created 2018-10-28 17:29:48 +01:00
G10h4ck
b603b9b4c7
Merge pull request #1381 from G10h4ck/conservative_ext_port
Avoid external port being reset without necessity
2018-10-27 19:46:43 +02:00