Gioacchino Mazzurco
1c698bff83
Qml App add option to control DHT behaviour
...
As bitDHT is very noisy and keeps the radio always on on mobile thus
having huge impact on the battery life, DHT is now turned on only when
the App is interacting with the user byt default, on the option tab it
is possible to change this behaviour to set it always off, always on or
active depending on user interaction.
To handle settings AppSettings singleton has been added and a button on
the sidebar to edit configurations too
2018-02-01 14:31:07 +01:00
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
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
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
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
7cac367820
removed warnign about bad service string when the service string is actually empty
2018-01-14 22:39:50 +01:00
csoler
388b2c2143
patch from sss to cache TransfersDialog QIcons
2018-01-12 22:47:42 +01:00
csoler
783e918b4e
Merge pull request #1151 from csoler/v0.6-SecurityFixes
...
removed consts in GrpMetaCache pointers, and made it possible to alwa…
2018-01-12 22:19:52 +01:00
csoler
bbd8afefa8
Merge pull request #1150 from chelovechishko/unfocus_chat_text_edit
...
chatwidget: do not set focus to edit when it is not necessary
2018-01-11 18:14:20 +01:00
csoler
173336e354
Merge pull request #1148 from chelovechishko/qdarkstyle_fix
...
qdarkstyle fixes
2018-01-11 18:12:22 +01:00
csoler
b4ff14cd29
Merge pull request #1144 from PhenomRetroShare/Fix_DisableYesButtonOnInvite
...
Disable Yes button on chat room invitation if no Id selected.
2018-01-11 18:06:48 +01:00
Phenom
bb9dcbb83f
Disable Yes button on chat room invitation if no Id selected.
2018-01-10 19:42:15 +01:00
chelovechishko
add9c1e72c
chatwidget: do not set focus to edit when it is not necessary
...
e.g. when a user just wants to browse chat history
2018-01-10 21:11:57 +09:00
csoler
4eea5a8eca
removed consts in GrpMetaCache pointers, and made it possible to always re=use cache entries, possibly updating them
2018-01-10 00:10:08 +01:00
csoler
553ab93f07
Merge pull request #1149 from csoler/v0.6-SecurityFixes
...
V0.6 security fixes
2018-01-09 22:18:01 +01:00
csoler
506190a64b
fixed bug causing failure of flag actions on groups
2018-01-09 22:11:11 +01:00
csoler
ed81b4cac6
removed delete causing read of deleted memory
2018-01-09 21:49:15 +01:00
csoler
51c7942443
Merge pull request #1146 from csoler/v0.6-SecurityFixes
...
moved memory ownership of RsGxsGrpMetaData down into RsGxsDataAccess.…
2018-01-08 19:08:10 +01:00