Commit Graph

14857 Commits

Author SHA1 Message Date
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
90d0686e88
removed Qt from unix version of retroshare service. Enabled loging at start with option -u 2019-08-27 21:54:17 +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
csoler
6a8f6bf93d
save/restore expanded items and selection 2019-08-22 13:13:04 +02:00
csoler
15e43dce01
proper handling of peer connections notifications 2019-08-21 22:39:07 +02:00
csoler
98e41ad075
made messenger an optional component of the UI 2019-08-21 15:23:25 +02:00
G10h4ck
5dc340d884
Merge pull request #1609 from G10h4ck/forum_jsonapi
Implement GXS forum reasonable JSON API
2019-08-21 13:28:01 +02:00
csoler
30708c9518
removed FriendList from compilation 2019-08-20 21:31:09 +02:00
csoler
a75a4945ec
added update every 5 mins to account for changes when sleeping 2019-08-20 21:27:59 +02:00
csoler
6a62227dba
cleanup up the code in FriendList, and fixed bug causing own locations not to show 2019-08-20 14:57:44 +02:00
Gioacchino Mazzurco
adacbeb586
Add missing jsonapi mark on rsidentity method 2019-08-20 12:45:40 +02:00
csoler
b26be4db08
added more checks against inconsistencies 2019-08-19 22:56:49 +02:00
csoler
e0681828ee
fixed bug causing SEGV 2019-08-17 15:25:32 +02:00
csoler
70680fae47
proper on/off switch for status show 2019-08-15 19:43:41 +02:00
csoler
038a0ae4c7
fixed display of custom state string 2019-08-15 19:05:42 +02:00
csoler
74b8ed0633
bypass useless avatar dialog when choosing own avatar 2019-08-15 18:11:57 +02:00
csoler
6e7a86058d
fixed saving of sortByState option 2019-08-15 16:16:01 +02:00
csoler
9d696f56bc
fixed removal of profiles from groupless list when the profile is in a group 2019-08-15 15:54:16 +02:00
csoler
9686fc5546
fixed sorting by state and cleaned up column show/hide menu 2019-08-15 15:49:20 +02:00
G10h4ck
a453706b94
Merge pull request #1614 from jpascualsana/patch-2
Replace deprecated class name
2019-08-15 12:42:22 +02:00