Commit Graph

13422 Commits

Author SHA1 Message Date
csoler
dd90314c3d
fixed missing type conversion 2019-09-08 20:49:38 +02:00
csoler
6419b03a2a
merged upstream/master 2019-09-08 20:35:23 +02:00
csoler
23a7a0876a
disabled cmark by default, which was enabled as a side effect of previous PR 2019-09-05 22:21:39 +02:00
G10h4ck
c8f4f8ca04
Merge pull request #1632 from PhenomRetroShare/Fix_CMark_CompilWithQtCreator
Fix CMark Compilation with QtCreator
2019-09-05 19:46:24 +02:00
csoler
048beaf27a
Merge pull request #1631 from csoler/v0.6-FriendList
show best icon for not expanded profiles in friend list
2019-09-05 13:20:41 +02:00
Phenom
2922bc92a8 Fix CMark Compilation with QtCreator 2019-09-05 05:28:37 +02:00
csoler
e0623e6178
fixed default avatar when no locations available 2019-09-04 21:42:21 +02:00
csoler
81e9cd1c51
show best icon for not expanded profiles in friend list 2019-09-04 21:35:17 +02:00
G10h4ck
e31b7c2816
Merge pull request #1607 from PhenomRetroShare/Fix_CMark_Compil
Fix CMark compilation
2019-09-02 16:28:45 +02:00
G10h4ck
06a158e677
Merge pull request #1628 from G10h4ck/gxs_sqlite_sqlcipher_compat
Improve SQLCipher/SQLite support
2019-09-02 16:28:26 +02:00
csoler
49b0fdf3aa
Merge pull request #1626 from csoler/v0.6-Threads
added destructor in RsTickingThread calling for fullstop, which preve…
2019-09-01 16:59:10 +02:00
Gioacchino Mazzurco
6edf503ae0
Improve SQLCipher/SQLite support
When compiled with SQLCipher it is now capable of handling databases
  created by SQLite-only versions
Add support for SQLCipher on Android arm64
2019-08-31 16:22:24 +02:00
csoler
7d9db1fc22
added destructor in RsTickingThread calling for fullstop, which prevents the crash due to threads being killed when still running 2019-08-30 21:44:05 +02:00
csoler
a51259beb5
Merge pull request #1625 from csoler/v0.6-FriendList
fixed connection for "deny friend" function in FriendList
2019-08-30 14:05:58 +02:00
csoler
15e6947b07
use queued connections for notification signals in friend list, added a call to begin/endResetModel() 2019-08-30 13:57:27 +02:00
csoler
4d96c71942
fixed connection for "deny friend" function in FriendList 2019-08-30 11:11:40 +02:00
Gioacchino Mazzurco
9f04e1c9c2
Update udp-discovery-cpp and android openssl 2019-08-29 15:52:07 +02:00
Gioacchino Mazzurco
2d7b855983
More fixes in JSON API
Schedule delayed async session closing properly (without recurrence)
Fix double capture of this in async method registering, that was causing
  compilation error for Android
Fix minor compiler warning in jsonapi-generator
2019-08-29 01:24:51 +02:00
G10h4ck
76dfa04bb5
Merge pull request #1621 from G10h4ck/jsonapi_async_crash_fix
Fix sporadic crash in JSON API async calls
2019-08-28 23:42:02 +02:00
G10h4ck
9f95649bbc
Merge pull request #1623 from G10h4ck/fix_crash_in_p3banlist
Protect p3BanList::isAddressAccepted with mutex
2019-08-28 23:39:08 +02:00
Gioacchino Mazzurco
85ef0e0940
Protect p3BanList::isAddressAccepted with mutex
This method is called from other threads and apparently caused
  a sporadic crash caought on Android.
See retroshare://forum?name=Got%20crash%20on%20Android%20with%20GDB%20backtrace&id=95de1451952d8c38cb1cdfdb85eed986&msgid=ac8c9d41f2cd0c9e8e290433c7f296fecb2d62b3
2019-08-28 23:29:41 +02:00
csoler
ac8043806b
Merge pull request #1622 from csoler/v0.6-FriendList
increased spacing for groups to fit the group icon in friendlist
2019-08-28 20:57:26 +02:00
Phenom
d681136831 Fix CMark compilation
Remove cmark_node_mem as cmark_node_free do the job.
Look at man:
https://github.com/commonmark/cmark/blob/master/man/man3/cmark.3#L141
2019-08-28 04:53:47 +02:00
csoler
0ddeaaf810
increased spacing for groups to fit the group icon in friendlist 2019-08-27 13:41:19 +02:00
Gioacchino Mazzurco
9b8d0afacb
Fix sporadic crash in JSON API async calls
In Restbed one is not supposed to call session->yield outside the
  threads controlled by Restbed. RetroShare JSON API async call were
  calling session->yield from threads controlled by RetroShare all the
  times, this caused crashes in some cases, like when the JSON API
  socket timed out concurrently with the session->yield call .
  To solve this problem session->yield from async
  calls are now wrapped insto mService->schedule to ensure they are
  executed on the right thread (aka one of the threads controlled by
  Restbed).
While solving this issue I realized also that passing RsEvents as const
  references around was quite limiting in cases where the event need to
  be finally handled in another thread, in that case passing by const
  reference the RsEvent needed to be copied by value into the thread
  that process it, in this copy by value process the information of
  which was the original specific type is lost, and then only the data
  and methods from general RsEvents are available, unless the handler
  does tricky stuff with type coercion etc. To solve this limitation
  pass the events as std::shared_ptr<const RsEvent> seems the safer and
  more elegant solution.
2019-08-27 11:59:38 +02:00
csoler
a84a96e0b7
Merge pull request #1617 from G10h4ck/jsonapi_javascript_sixtyfour_integers
Implement workaround to JavaScript 53bit int issue
2019-08-26 19:08:05 +02:00
csoler
acdc8089ec
Merge pull request #1620 from csoler/v0.6-ImprovedGUI
V0.6 improved gui
2019-08-26 19:07:29 +02:00
csoler
c28c193b7c
Merge pull request #1615 from csoler/v0.6-FriendList
V0.6 friend list
2019-08-26 19:07:11 +02:00
csoler
886d71e59c
keep groups sorted together, and auto-expand group when adding a profile to a group 2019-08-26 18:27:20 +02:00
csoler
014c50c104
removed duplicated functionalities from chat window tool bar and moved the other ones into context menu 2019-08-25 11:10:13 +02:00
csoler
34f0c46bc9
clear hashing status tooltip when hashing is over 2019-08-25 10:22:58 +02:00
csoler
991077a32a
fixed loading of header settings in MessageaDialog 2019-08-25 10:17:05 +02:00
csoler
0cea0e5217
fixed missing connection to connect attempt 2019-08-24 20:45:13 +02:00
csoler
56fcd38851
disable system tray if not available 2019-08-24 20:21:09 +02:00
csoler
cd070dea46
hide DHT and Peer lookup for hidden nodes 2019-08-24 20:15:01 +02:00
csoler
a6a8e69965
hide incoming hidden service configuration for non hidden nodes 2019-08-24 20:01:36 +02:00
csoler
8a7722388a
added missing layoutChanged() to model 2019-08-24 10:21:11 +02:00
csoler
978ce82243
switch 32bits implementation to a more compact mode allowing more profiles 2019-08-23 23:25:43 +02:00
csoler
4b55fc4789
fix int bugs in previous implementation 2019-08-23 23:08:29 +02:00
csoler
a9aa5225ca
fixed possible bug due to not checking returned value 2019-08-23 22:51:50 +02:00
csoler
cc32de8466
added specific index implementations for 32bits and 64bits 2019-08-23 22:46:56 +02:00
csoler
b06f78d954
restored missing addToGroup menu 2019-08-23 20:21:57 +02:00
csoler
236e24ed93
Merge pull request #1589 from hunbernd/feature/stickers
Added sticker support
2019-08-23 19:45:35 +02:00
csoler
b5cdd0f4f0
save/restore expanded items when sorting 2019-08-23 16:39:57 +02:00
csoler
fdea4febbe
cleaned up the code, added icon for groups, only save/restore expanded items when changes are expected 2019-08-23 16:15:43 +02:00
Gioacchino Mazzurco
202cee687e
Implement workaround to JavaScript 53bit int issue
JavaScript represents all numbers in a double like manner thus it
  treats 64 bit integers in an unsafe manner, to workaroud this problem
  provide an alternative strin representation in JSON serialization
  format so JavaScript clients can access the correct value someway.
As JSON have no probles with 64 bits integers keep supporting the integer
  representation too.
See https://stackoverflow.com/a/34989371
2019-08-23 13:41:46 +02:00
Gioacchino Mazzurco
98b9152204
Fix a couple compliler warnings in JSON API 2019-08-23 12:02:25 +02:00
Gioacchino Mazzurco
3820e324b0
Implement stracktrace for Android
Tested both on armeabi and arm64
2019-08-23 11:49:26 +02:00
Gioacchino Mazzurco
5381f58707
Fix missing call to RsEvent serialization in RsGxsChanges 2019-08-22 18:44:32 +02:00
csoler
1181e26bc5
removed debug output 2019-08-22 13:30:15 +02:00