Commit Graph

12088 Commits

Author SHA1 Message Date
Gioacchino Mazzurco
9a9fcca1a9 Qml App token manager offer unregister token API
This way components can unregister callbacks when not interested anymore
Use the new mechanism to unregister TrustedNodesView callback on
destruction to avoid attempt to excecute code not valid anymore
2018-02-01 14:22:33 +01:00
csoler
1e3d2c2c9b
Merge pull request #1160 from G10h4ck/android_service_cleaning
Multiple fixes for Android
2018-01-30 20:55:01 +01:00
Gioacchino Mazzurco
6f91b938b6 Add some sanity check in libresapiclient
This way the Android app is much more stable
2018-01-30 20:10:04 +01:00
Gioacchino Mazzurco
4d6085047a More cleanup of .pro files 2018-01-30 18:25:04 +01:00
Gioacchino Mazzurco
00125864ff Add support for SQLCipher on Android
Plus some cleanup
2018-01-30 18:24:03 +01:00
Gioacchino Mazzurco
ebfe50f814 Make .pro files compiler agnostic on Android 2018-01-30 18:11:31 +01:00
Gioacchino Mazzurco
da2fc01952 Cleanup a bit libresapi.pro 2018-01-30 18:04:24 +01:00
Gioacchino Mazzurco
180a5b19a7 Remove unnecessary dependencies in android-notify-service 2018-01-30 18:02:55 +01:00
Gioacchino Mazzurco
feae9f5850 Fix some compiler warnings 2018-01-30 00:36:19 +01:00
Gioacchino Mazzurco
fc5ed14b89 Android toolchain builder libraries update
Update libraries build by android toolchain builder helper script
Version of the libraries is now parametrizable via environement variables
2018-01-29 22:44:04 +01:00
Gioacchino Mazzurco
fa71ed25ba Install bdboot.txt in Android
DHT now works on android as bdboot.txt is bundled as android asset
Update Android documentation as DHT works on Android after this commit
2018-01-29 16:14:14 +01:00
Gioacchino Mazzurco
2d8493fe02 Add link on how help confused gdb to give stacktrace 2018-01-29 10:56:12 +01:00
csoler
efe78f5d82 slight optimization to showEvent() and save/restore visible items in file lists 2018-01-28 21:54:56 +01:00
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