Commit Graph

17 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
ebfe50f814 Make .pro files compiler agnostic on Android 2018-01-30 18:11:31 +01:00
Gioacchino Mazzurco
5a63ce8e0e Android service avoid shouldexit timer using all CPU available 2018-01-28 11:36:51 +01:00
Gioacchino Mazzurco
ac9a8437fa Gracefully handle signals in retroshare-android-service 2018-01-25 15:50: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
Konrad
ca1dc9d64f Changed: Unified socket path across systems. 2017-06-04 22:10:41 +02:00
Gioacchino Mazzurco
e83fec8d84 Avoid linking libretroshare in qml app and notify
Use QDir::homePath() instead of RsAccounts::ConfigDirectory() to
  determine libresapi socket path, this way statically linking to
  libretroshare is not needed and the android package size is reduced
  dramatically 20+MB -> 13MB

At same time this solves the socket path mismatch between retroshare
  android  service and the other android applications due to merge
2017-04-18 23:14:44 +02:00
Gioacchino Mazzurco
4455bfa92d Merge branch 'master' into merge_alpha_master 2017-04-18 21:30:25 +02:00
Gioacchino Mazzurco
9accb2b3d5 Attempt to fix retroshare android service quit 2017-04-18 11:53:14 +02:00
Gioacchino Mazzurco
bcbd5230eb android notification service stub, improve login
Added retroshare-android-notify-service a stub will handle notifications
  to android system, at the moment it only attempt autologin if default
  password is used
retroshare-android-service quit QCoreApplication gracefully
Android Studio update has changed some android build files
Create BusyOverlay.qml componet so it is reusable accross the qml app
Contacts.qml create a pseudonimous GXS identity as needed without
  prompting the user
RsLoginPassView.qml nicer look, on mobile phone password usage is not
  common so do not use password by default
QML app main view handle correctly +waiting_startup+ runstate
QML app main view use BusyOverlay as initial item
2017-04-07 18:26:08 +02:00
Konrad
6e65fcd6ac Removed: Unused #include statement 2017-04-01 14:32:49 +02:00
Konrad
8543525c77 Fixed: Linker problem 2017-04-01 14:28:55 +02:00
Konrad
b0d2249ebc Added Windows support to retroshare-android-service 2017-03-25 18:12:39 +01:00
Gio
06a1020724 Add workaround to see debug messages from native code in android service 2016-12-22 13:50:44 +01:00
Gio
c12cfd60b8 Implemented login on Retroshare Android QML App
Login works fine but soon after retroshare-android-service crashes
probably when trying to determine local address (getLocalAddresses)
Added RsLoginPassView.qml generic login/pass/button view
retroshare-android-service can be build as a separate app on non-android systems
2016-09-16 12:04:49 +02:00
Gio
8d6d3d1894 Retroshare QML App: Implemesh some basic stuff
Implement location creation, selection and login
Implement people listing
Implement firends adding (not working yet)
Depend on androidextra qt module only if compiling for android
LibresapiLocalClient parse one line at time to avoid error if two
requests are sent rapidly one after another
LibresapiLocalClient socket path now is a parameter of openConnection()
to use it as qml type constructor without parameter must be useful
Added JSONListModel for JASON based MVC pattern
2016-09-15 13:07:13 +02:00
Gio
279551fe8d Retroshare android service now run and start at boot on android, the qml app is still disfunctional 2016-08-23 12:15:28 +02:00