Commit Graph

12125 Commits

Author SHA1 Message Date
Gioacchino Mazzurco
d598a01780 ApiLocalListener do some sanity check on listen
This solve Android App being stuck at "connecting to the core" at first
run. It was caused by the ApiLocalListener running before another
retroshare thread could create .retroshare directory, so listening on
the socket failed silently and the qml app could connect to the core.
2018-01-28 11:38:14 +01:00
Gioacchino Mazzurco
5a63ce8e0e Android service avoid shouldexit timer using all CPU available 2018-01-28 11:36:51 +01:00
csoler
8f7582588a fixed windows compilation 2018-01-27 20:59:11 +01:00
csoler
d0039241d3 replaced usleep() by rstime::rs_usleep() which accepts times >= 1 sec. Should fix problems on windows 2018-01-27 20:22:31 +01:00
Gioacchino Mazzurco
86ce177228 time_t may be signed in JSON 2018-01-27 19:57:15 +01:00
Gioacchino Mazzurco
ef6681b6f9 Remove outdated documentation 2018-01-27 19:40:39 +01:00
Gioacchino Mazzurco
8b774595d7 Better usage of type traits
Don't need register types for serializationanymore
Don't need casting helpers for serialization
2018-01-27 17:57:33 +01:00
Gioacchino Mazzurco
ba6f2d7e81 Remove default template for to/from_JSON
This way the compiler will complain if a type is added directly to
RsTypeSerializer without specify all needed serial operations
2018-01-26 17:18:05 +01:00
Gioacchino Mazzurco
13d4a2c916 Safer and elgant serial helper macros 2018-01-26 13:43:09 +01:00
Gioacchino Mazzurco
3e5ed6af9e Update Androig gdb debug instructions 2018-01-26 10:13:11 +01:00
Gioacchino Mazzurco
c39b3e5fb7 Better debug messages for Android app 2018-01-25 16:20:25 +01:00
Gioacchino Mazzurco
ac9a8437fa Gracefully handle signals in retroshare-android-service 2018-01-25 15:50:12 +01:00
Gioacchino Mazzurco
8c21bfcd54 Avoid crash on stop in ApiServerLocal
It is necessart to wait for QThread to stop before destruction
Avoid closing the socket in ApiLocalConnectionHandler destructor as
this remained as ultimate cause of crash on stop
2018-01-25 15:18:12 +01:00
Gioacchino Mazzurco
c1d8d6a52d Properly run Qt event loop
Check RsControlModule.processShouldExit() via a lazy timer
this should guarantee QCoreApplication enough autonomy to gracefully
handle any event specially stop
2018-01-25 15:14:09 +01:00
csoler
d80a806d2a
Merge pull request #1159 from csoler/v0.6-FileLists
V0.6 file lists
2018-01-25 09:37:31 +01:00
csoler
11eef05a1b fixed bug causing hidden/expanded items to be reset by show() event in SharedFilesDialog 2018-01-24 22:02:49 +01:00
csoler
1fbd9d1625 fixed hiding of top level items when searching 2018-01-24 21:26:35 +01:00
csoler
f139685438 added a fair limit to search in FL in order to avoid crazy costs 2018-01-24 21:14:26 +01:00
csoler
d93e259702 fixed expanding/collapsing of items on search 2018-01-24 00:26:22 +01:00
csoler
1ee353c5a7 improved efficiency of search in tree visualization mode. Re-enabled the search for testing purpose. 2018-01-23 22:18:35 +01:00
csoler
725abad777 fixed a bug in filterItems that caused searched files to generate an error in the console 2018-01-23 22:18:02 +01:00
Gioacchino Mazzurco
9b286c4adf add to README that DHT is not working on android 2018-01-23 11:13:32 +01:00
Gioacchino Mazzurco
000bbbd933 Add link to Android debugging documentation 2018-01-23 10:33:00 +01:00
Gioacchino Mazzurco
7409de5170 Fix compilation on systems with atipic time_t 2018-01-22 21:53:12 +01:00
Gioacchino Mazzurco
234625ad28 Remove extra debugging in Travis CI 2018-01-22 21:50:51 +01:00
Gioacchino Mazzurco
76b607c210 Fix warning in libresapi 2018-01-22 15:26:18 +01:00
Gioacchino Mazzurco
443ffb9f85 Fix some warnings 2018-01-22 15:02:33 +01:00
Gioacchino Mazzurco
9c68bcbca4 Fix some warnings 2018-01-22 14:50:07 +01:00
Gioacchino Mazzurco
04d32d2f44 Remove duplicated include 2018-01-22 12:55:22 +01:00
Gioacchino Mazzurco
6c40bd4212 Fix Travix CI on mac osx 2018-01-22 12:11:13 +01:00
Gioacchino Mazzurco
b95e3380c0 Fix Android compilation 2018-01-22 11:09:00 +01:00
csoler
7afa19e6d6 removed search from tree view in file lists, until I find some way to do it more efficiently 2018-01-21 22:23:08 +01:00
Gioacchino Mazzurco
bc0990e3c8 Install rapidJSON in travis CI 2018-01-21 21:14:41 +01:00
Gioacchino Mazzurco
9d40d416f6 Better naming for serialization helper macro 2018-01-21 20:27:49 +01:00
csoler
7448ff4805 re-enabled search in file lists tree view 2018-01-21 19:07:57 +01:00
csoler
d21a5e5875
Merge pull request #1157 from PhenomRetroShare/Fix_IconCacheInFilesDefs
Fix icon cache in files defs
2018-01-20 19:25:52 +01:00
csoler
c1fccef53b added comment about tab numbers 2018-01-20 19:23:08 +01:00
csoler
2c61f38887 added missing call to set compact mode 2018-01-20 19:22:49 +01:00
Phenom
f74ee5cde9 Move File Icon Cache in FilesDefs 2018-01-20 17:21:37 +01:00
Phenom
7652821ecd Revert "patch from sss to cache TransfersDialog QIcons"
This reverts commit 388b2c2143.
2018-01-20 17:18:50 +01:00
csoler
0112cf23e5 added check after starting TorManager 2018-01-20 17:10:47 +01:00
csoler
15decacc0d attempt to improve the tor statusbar widget 2018-01-20 16:43:38 +01:00
csoler
6179d22ad5 fixed uninitialized pointer in MainWindow 2018-01-19 22:13:40 +01:00
csoler
19f1a645f8 fixed update of Tor status in settings 2018-01-19 13:42:31 +01:00
csoler
8534147313 added Tor status icon in the status bar 2018-01-19 13:42:16 +01:00
csoler
9a54205add added time.h include for windows compilation 2018-01-18 22:40:28 +01:00
csoler
b6a2d75747 moved StringUtil into StrUtil to avoid conflicts with another file with lower case name in gui/util 2018-01-18 22:13:24 +01:00
csoler
95e8fc4404 merged upstream/master 2018-01-16 23:03:26 +01:00
Gioacchino Mazzurco
18891645e0 Add rapidjson installation in appveyor.yml 2018-01-16 14:04:43 +01:00
Gioacchino Mazzurco
5cdc5aa58d Add automatic JSON serialization/deserialization
Abstract serialization concept to pure virtaul class RsSerializable
  from which every other serializable class must inherit from
Use RapidJSON for JSON manipulation
Add TO_JSON and FROM_JSON SerializeJob
Deprecate unused SerializationFormat
Remove some unused old piece of code
Adjust many lines to max 80 columns for better readability on little
  screens
Clean up documentation and code, remove old cruft
Add copyright notice on edited files that miss it
2018-01-16 03:31:03 +01:00