Commit Graph

11921 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
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
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
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
csoler
4c626e04a1
Merge pull request #1152 from csoler/v0.6-SecurityFixes
fixed possible crash due to accessing deleted memory in database cach…
2018-01-15 23:17:09 +01:00
csoler
841fee6799 fixed possible crash due to accessing deleted memory in database cache access 2018-01-15 23:13:42 +01:00
csoler
7b6394b3f9 removed old makefile 2018-01-15 22:01:20 +01:00
csoler
c8a638c1d6 removed useless IP whitelist options for hidden nodes 2018-01-15 22:00:08 +01:00