Commit Graph

309 Commits

Author SHA1 Message Date
Gioacchino Mazzurco
4876a0ea3b
Multiple improvements to build process
Restructure and document retroshare.pri variables and helper functions
Link sqlite statically like other libraries on Android
qmake has multiple win32-* specs match them correctly
Move a buch of generic thing to retroshare.pri instead of having them replocated
  accross project specific .pro
Fix retroshare-gui too many symbols exported on windows liking error by adding
  QMAKE_LFLAGS+=-Wl,--exclude-libs,ALL
Rename retroshare-gui/src/util/win32.h because the name is too prone to
  confusion and build conflicts
libreasapi avoid usage of cretar_prl link_prl that seems unreliable on some
  platforms
libreasapi rename LIBRESAPI_QT to more understendable LIBRESAPI_SETTINGS
Use use_*.pri instead of copy pasting error prone qmake snippets around
Expose bitdht option to retroshare.pri
Add RS_THREAD_LIB qmake variable for better crossplatform support
Move debug and profiling generic options to retroshare.pri (avoid copy/pasting)
Remove Qt script module in qmake as it is not available anymore
2018-04-18 07:56:43 +02:00
Gioacchino Mazzurco
4dd277614c
Remove android JNI .class from source 2018-03-10 13:15:53 +01:00
Gioacchino Mazzurco
2b300eb9b0
Update version in Android Manifest 2018-03-10 00:44:24 +01:00
Gioacchino Mazzurco
b662e6623b Qml app fix disappearing sidebar buttons
Cleaup the messy code of sidebar buttons, should fix button erratic
disappearance
2018-02-02 00:20:14 +01:00
Gioacchino Mazzurco
36e20db887 Fix some glitches in qml app menu 2018-02-01 21:26:36 +01:00
Gioacchino Mazzurco
6e093c74c0 Qml token manager removed unuseful debug message 2018-02-01 14:59:08 +01:00
Gioacchino Mazzurco
2d00532e00 Qml app fix sidebar buttons hiding behaviour 2018-02-01 14:42:46 +01:00
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
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
ebfe50f814 Make .pro files compiler agnostic on Android 2018-01-30 18:11:31 +01:00
Gioacchino Mazzurco
c39b3e5fb7 Better debug messages for Android app 2018-01-25 16:20:25 +01:00
Gioacchino Mazzurco
fe5dd00c4d Add context to debug message 2017-11-01 14:34:01 +01:00
Konrad
c41f6a29a5 Added: Debug output in Android app of callback functions 2017-10-29 19:40:37 +01:00
Gioacchino Mazzurco
b6f102cabb Fix TokenManager.qml JSON API request
This was the cause of ChatView.qml not being updated on messages sent or
received, the problem was into the TokeManager and manifested only on
some hardaware, this fix probably many other Qml App and Qml Notification
Service unexpected behaviours due to tokens not being properly updated.
2017-10-21 13:00:36 +02:00
Gioacchino Mazzurco
034d88c4e2 Fix android compilation with newer Qt
In lastest Qt versions linux-* mkspec doesn't match android anymore,
this was triggering a compilation error as DATA_DIR was not defined the
RsAccountsDetail::PathDataDirectory(bool check) code has been rearranged
so it works reasonably also on Android and do not depend on DATA_DIR
define anymore

Updated Android compiling documentation
2017-10-16 20:07:52 +02:00
Gioacchino
3b781f04dd Merge pull request #1058 from G10h4ck/qml_app_development
Qml app improvements
2017-10-10 12:53:20 +02:00
Gioacchino Mazzurco
69efa07224 qml-app removed some dead code 2017-10-08 12:00:07 +02:00
Gioacchino Mazzurco
9ba7b5cf47 qml-app properly initialize ChatView.gxsInfo
Use proper Qml empty object notation instead of string to inistalize
property of type var as it is an object not a string, thus fixing the
assiciated warning
2017-10-08 11:44:51 +02:00
Angela Mazzurco
3530353678 Merge branch 'qml_app_ui_improvements' into qml_app_development 2017-09-11 17:03:19 +02:00
Angela Mazzurco
44ffdb97c5 Refactor and delete repeated code 2017-09-11 17:01:34 +02:00
Angela Mazzurco
be7c6a966f Refactor function name 2017-09-11 16:43:38 +02:00
Angela Mazzurco
4642f2ab2a Clean code 2017-09-11 16:42:29 +02:00
Angela Mazzurco
cd2e18f27b Use correct image size 2017-09-11 16:36:59 +02:00
Angela Mazzurco
1fdd190fb0 Set correct qrc path 2017-09-11 16:27:16 +02:00
Angela Mazzurco
75180f2a01 Encode base64 via c++ code 2017-09-07 20:38:43 +02:00
Angela Mazzurco
335c1463e6 Open own contact details page when click your identity 2017-09-07 18:47:08 +02:00
Angela Mazzurco
404469b0a7 Set android mode on android os platforms 2017-09-07 18:34:23 +02:00
Angela Mazzurco
bbd139ae0e Disable keyboard close when emojimenu button is pushed 2017-09-07 18:33:57 +02:00
Angela Mazzurco
d9804928dc Set emoji menu under inferior panel on android mode 2017-09-07 18:13:57 +02:00
Angela Mazzurco
f435fcda28 Implement android layout 2017-09-07 17:59:53 +02:00
Angela Mazzurco
cfe44be128 Fix close android keyboard when emoji menu is shown 2017-09-06 20:23:33 +02:00
Angela Mazzurco
9386657955 Fix horizontal scroll on category selection 2017-09-06 18:50:20 +02:00
Angela Mazzurco
efd14e4465 Fix correct indent style 2017-09-06 18:48:51 +02:00
Phenom
cb7cfb440a Remove *.png.png duplicated Files 2017-08-19 23:55:39 +02:00
Gioacchino Mazzurco
32f43b999e Merge branch 'GSoC2017-evaluation-final' 2017-08-18 01:39:31 +02:00
Angela Mazzurco
79f09f14ac Merge branch 'qml_app_ui_improvements' into GSoC2017-evaluation-final 2017-08-16 14:09:38 +02:00
Angela Mazzurco
18f7733a80 Merge branch 'qml_app_face_generator' into GSoC2017-evaluation-final 2017-08-16 14:09:26 +02:00
Angela Mazzurco
a87c31f2dc Fix canvas face displaced down 2017-08-13 13:05:01 +02:00
Angela Mazzurco
5a1a84fc5d Refactor use better variable names 2017-08-13 13:02:49 +02:00
Angela Mazzurco
c0f28f524f Set transparent background color 2017-08-03 18:31:05 +02:00
Angela Mazzurco
785bd65c74 Add shadow to the toolbar 2017-08-03 18:27:16 +02:00
Angela Mazzurco
9f52ffb677 Increase toolbar size 2017-08-03 17:38:15 +02:00
Angela Mazzurco
c790a5bff4 Merge branch 'qml_app_ui_improvements' into GSoC2017-evaluation-II 2017-08-03 16:48:47 +02:00
Angela Mazzurco
83f886075d Merge branch 'qml_app_emoji_font' into GSoC2017-evaluation-II 2017-08-03 16:48:37 +02:00
Angela Mazzurco
d70293c071 Merge branch 'qml_app_notify_unread' into GSoC2017-evaluation-II 2017-08-03 16:48:27 +02:00
Angela Mazzurco
54c8e26fee Set emoji font declaration global for all app 2017-08-02 18:10:22 +02:00
Angela Mazzurco
0a5b3508da Set RS emoji font as default if no emoji native font is detected 2017-08-02 17:47:03 +02:00
Angela Mazzurco
1cdb3db548 Add OpenSansEmoji font 2017-08-02 16:51:29 +02:00