Commit Graph

16390 Commits

Author SHA1 Message Date
csoler
1571446a2e debugged pipe system with tor executable 2021-12-10 16:29:10 +01:00
csoler
7c77cfd603 fixed a few bugs in new TorManager 2021-12-09 22:19:00 +01:00
csoler
a757419d65 fixed compilation 2021-12-09 21:04:49 +01:00
G10h4ck
5be7869304
Merge pull request #2522 from G10h4ck/cmake_build
Add support to build via CMake
2021-12-09 17:50:30 +01:00
Gioacchino Mazzurco
6a92b99da3
Initial CMake support for libretroshare
libretroshare (not all build options yet) and it's dependencies can now
  be built using CMake instead of qmake.
Even Qt itself deprecated qmake, which is not developed anymore, as
  build system and it was making many things much more difficult
  and requiring an enormous amount of black magic to support a wide
  range of platforms.
libretroshare can now easly be build as static or shared library with
  simple commands and a maintaniable build system:
```
cmake \
	-D RS_LIBRETROSHARE_STATIC=OFF -D RS_LIBRETROSHARE_SHARED=ON \
	-S $YOUR_RS_SOURCE_DIR/libretroshare/ -B .
make
```
2021-12-09 13:04:06 +01:00
Gioacchino Mazzurco
94bd099407
Rename DATA_DIR macro to less polluting RS_DATA_DIR 2021-12-09 12:56:48 +01:00
G10h4ck
e55fa2b9d5
Merge pull request #2517 from G10h4ck/android_without_qt
Run on Android without Qt
2021-12-08 13:35:03 +01:00
csoler
e0812dce83 added back read attempt for control port 2021-12-07 21:20:19 +01:00
defnax
0afe305ca1 added classic stylesheet 2021-12-07 19:11:37 +01:00
csoler
b323a1635e fixed compilation. Qt is completely gone 2021-12-06 22:33:50 +01:00
csoler
7dc5c90d63 finished removing latest Qt bits 2021-12-06 22:08:56 +01:00
Phenom
a904a5d41a Fix PostedCreatePostDialog when reject show double message.
And stacked widget if current index is changed in ui file.
2021-12-06 16:05:43 +01:00
csoler
e75d312724 removed lots of signals/slots 2021-12-05 22:14:19 +01:00
csoler
bb37e2692b removed more QString, QHostAddress, QFile, QDir,... 2021-12-05 00:02:12 +01:00
csoler
20a4e00544
Merge pull request #2519 from defnax/boardsfixes
Fixed to display the right index for Image Page
2021-12-04 12:55:25 +01:00
defnax
777d0d9848 Fixed to display the right index for Image Page
* Fixed to display the right index for Image Page
* Fixed to disable share button when Identity is banned.
2021-12-04 12:12:29 +01:00
csoler
b03802fa1b turned TorProcess into a non-Qt object, using built-in popen3 system 2021-12-02 23:15:06 +01:00
csoler
d7afbea1dd progress in using ByteArray+std::string 2021-12-01 23:05:16 +01:00
Gioacchino Mazzurco
72caa2aa68
Android Dockerfiles better apt options 2021-12-01 16:30:28 +01:00
Gioacchino Mazzurco
475d8ffc11
Android Docker attempt to shrink image
Do not install apt recommended packages
Show upgraded packages on Android Gitlab CI Dockerfile
2021-12-01 08:32:09 +01:00
Gioacchino Mazzurco
a1a8bf1408
Android Dockerfile do updates 2021-12-01 08:26:34 +01:00
csoler
b5a7655f29
Merge pull request #2515 from PhenomRetroShare/Fix_PostedItemRedraw
Fix BoardPostDisplayWidget when editor redraw.
2021-11-30 23:57:35 +01:00
Phenom
3217cd4df0 Fix BoardPostDisplayWidget when editor redraw. 2021-11-30 23:38:21 +01:00
Gioacchino Mazzurco
7231d94ea4
Fix variable name in Android Dockerfile documentation 2021-11-30 17:00:33 +01:00
Gioacchino Mazzurco
2095dae95d
Fix build with older Java < 7 2021-11-30 17:00:02 +01:00
Gioacchino Mazzurco
856ce2ffb1
Do not depend on Qt at all on Android
Do the necessary modifications to not depend on Qt to run on Android
  both in libretroshare and in retroshare-service
2021-11-30 11:55:15 +01:00
csoler
6a4cdcc471 continue on switching QString and QByteArray 2021-11-29 22:59:46 +01:00
csoler
e4fcf26ea8
Merge pull request #2500 from PhenomRetroShare/Add_ConnectFriendWizard_Imp
Add ConnectFriendWizard improvement.
2021-11-29 21:29:50 +01:00
csoler
2c52ff852f
Merge pull request #2516 from PhenomRetroShare/Fix_UnusedSkins
Remove unused skins.
2021-11-29 17:48:26 +01:00
Phenom
92da1881e7 Remove unused skins. 2021-11-29 15:39:42 +01:00
G10h4ck
941ec42502
Merge pull request #2513 from G10h4ck/forum_deep_search_wildcard
Forum deep search support wildcard* search
2021-11-26 17:23:09 +01:00
G10h4ck
8c52535860
Merge pull request #2508 from G10h4ck/android_ifaddrs
libretroshare Android Qt network dependency optional
2021-11-26 17:22:51 +01:00
csoler
e4ce32bef8 switching QString to std::string and QByteArray to ByteArray. Unfinished yet. 2021-11-25 23:28:01 +01:00
csoler
3845dc1ea7 added new files 2021-11-22 20:06:01 +01:00
G10h4ck
cf56059a6d
Merge pull request #2510 from PhenomRetroShare/Fix_QSplitter_TitleBar_StyleSheet
Fix QSplitter and TitleBar StyleSheet.
2021-11-20 16:26:18 +01:00
csoler
0a5f3328df changed names SocketBioInterface->RsFdBinInterface and TcpSocket->RsTcpSocket (more consistent). Moved them to pqi/ 2021-11-16 22:19:27 +01:00
Gioacchino Mazzurco
1e9a26893c
Forum deep search support wildcard* search
Xapian have support for wildcard search
  wild* matches wild, wildcard, wildcat, wilderness
  but it need to be enabled by passing a specific flag to the query
  parser, this is very useful for forum search so enable it in addition
  to default Xapian search capabilities
2021-11-16 10:52:18 +01:00
csoler
a5b1f2d976 created independent tcpsocket class to be used also in TorManager 2021-11-14 23:31:40 +01:00
G10h4ck
fe0561b3fe
Merge pull request #2377 from G10h4ck/gxs_fast_pull_request
Implement pull request mechanism in RsGxsNetService
2021-11-12 21:36:06 +01:00
Phenom
1146a0bf27 Fix QSplitter and TitleBar StyleSheet. 2021-11-12 20:04:43 +01:00
Gioacchino Mazzurco
cd5dad6a75
Rename GXS pullFromPeers to pullFromPeers
According to what discussed with Cyril
2021-11-12 19:11:02 +01:00
Gioacchino Mazzurco
ebbd8cf938
Forums expose API to request syncronization 2021-11-12 18:46:36 +01:00
Gioacchino Mazzurco
fc404bd5d8
RsGxsNetService trigger pulling on group subscribe 2021-11-12 18:43:52 +01:00
Gioacchino Mazzurco
6295e91304
Request pull from peers when GXS message is created 2021-11-12 18:43:52 +01:00
Gioacchino Mazzurco
b42323013e
Fix includes in rsnxs.h 2021-11-12 18:43:49 +01:00
Gioacchino Mazzurco
a7f1e94cea
Request pull from peers when GXS group is created 2021-11-12 18:42:55 +01:00
Gioacchino Mazzurco
a374f1dc6b
Implement RsNxsSerialiser::create_item for RsNxsPullRequestItem 2021-11-12 18:41:18 +01:00
Gioacchino Mazzurco
e4f25a558d
Implement pull request mechanism in RsGxsNetService
This could be used to request the online peers to pull updates from us
  ASAP, as an exaple when a group is created a pull request can be
  emitted too so the online peers pull the groups from us ASAP instead
  of waiting for the usual 60 seconds. A mechanism like this is
  especially useful on mobile phones where the internet connection is
  usually turned on only in a few moments (as an example while the user
  is interacting with the app).
Cleanup a few old corners in the code keeping retro-compatibility and
  make the code more welcoming to new developers.
Put a bunch of dead code under #ifdef.
2021-11-12 18:41:10 +01:00
Gioacchino Mazzurco
11f17fef40
libretroshare Android Qt network dependency optional
One of the reason libretroshare dependend on Qt on Android
  and in particular in networking module is the lack of
  `getifaddrs` with API level < 24, we included Android
  Gingerbread internal implementation so this dependency can be avoided
  at compile time.
The code depending on Qt has been placed under `#if` and can be enabled
  at compile time by appending `DEFINES+=LIBRETROSHARE_ANDROID_IFADDRS_QT`
  to `qmake` command line.
2021-11-12 16:02:53 +01:00
csoler
4d06ab2b4a Merge remote-tracking branch 'upstream/master' into v0.6-TorControl 2021-11-11 18:28:02 +01:00