Commit Graph

6452 Commits

Author SHA1 Message Date
thunder2
057e872eca Added missing initializations of members in constructor of TorControl 2021-12-22 22:29:18 +01:00
thunder2
085e102ce1 Added RsFileUtil for os specific file functions
Added RsFileUtil::set_fd_nonblock to set a file descriptor to non blocking
2021-12-22 22:29:17 +01:00
thunder2
5b8ac7e49b Added missing fclose to TorProcess::tryReadControlPort 2021-12-22 22:29:17 +01:00
thunder2
15d56f01ac Added missing include to string in PendingOperation.h 2021-12-22 22:29:16 +01:00
thunder2
8d020e7395 Changed ifdef Q_OS_WIN to WINDOWS_SYS 2021-12-22 22:29:15 +01:00
thunder2
59d11b71ce Changed uint to ByteArray::size_type in StrUtil.cpp 2021-12-22 22:29:14 +01:00
csoler
49d8a851c5 moved faulty line causing early deletion of this at the end of the function 2021-12-22 22:26:47 +01:00
csoler
8af6ca9fb7 fixed a few errors reported by valgrind 2021-12-22 14:03:29 +01:00
csoler
f6892066bc fixed compilation on win$ 2021-12-20 16:10:52 +01:00
csoler
4a76fddaa9 fixed conflicts with upstream/master 2021-12-19 21:10:15 +01:00
csoler
5fe39248f8 fixed compilation on windows 2021-12-19 20:22:04 +01:00
csoler
9684b2ed94 code cleaning 2021-12-19 18:40:44 +01:00
csoler
37d4e4f3df attempt to fix compilation on windows 2021-12-19 17:44:23 +01:00
csoler
6048a9a011 attempt to fix compilation on windows 2021-12-19 16:52:43 +01:00
csoler
40b965cab1 improved display of tor process completion 2021-12-18 21:30:58 +01:00
Phenom
e137c17039 Fix NotifyQt::askForPassword QInputDialog is not created in GUI Thread. 2021-12-18 18:22:30 +01:00
csoler
7e6156566a fixed display of tor bootstrap status 2021-12-18 18:14:49 +01:00
csoler
f352235ccd fixed a few bugs 2021-12-18 16:45:53 +01:00
G10h4ck
bc76b10792
Merge pull request #2527 from G10h4ck/cmake_build
Integrate python3 JSON API generator into libretroshare
2021-12-18 15:31:17 +01:00
csoler
bdbcadc43c fixed Tor icon to stay red 2021-12-17 22:26:32 +01:00
csoler
3121a61910 more bug fixing 2021-12-17 22:17:26 +01:00
csoler
af4c948024 fixed some bugs in TorControl 2021-12-17 16:54:44 +01:00
csoler
d9368507a9 fixed a few bugs in torcontrol socket methods 2021-12-15 22:15:52 +01:00
csoler
56e17f077e fixed merge with upstream/master 2021-12-13 21:01:06 +01:00
csoler
7455013fc2 fixed std::cerr => RsErr() 2021-12-13 20:58:53 +01:00
csoler
24e862ae25 moved event loop in TorManager to the TorManager class 2021-12-13 20:28:07 +01:00
Gioacchino Mazzurco
e62b847234
Integrate python3 JSON API generator into libretroshare
Add more options to CMake:
  Support for JSON API
  Support for forum deep index

Fix bitdht CMake project name
General CMake files improvements
2021-12-13 18:46:56 +01:00
csoler
1c576411fb fixed control port reading 2021-12-10 18:01:21 +01:00
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
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
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
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
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
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
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
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