Gioacchino Mazzurco
5b016f916b
Fix G10h4ck copyright attribution treewide
2026-06-14 12:13:43 +02:00
Gioacchino Mazzurco
5f765e3643
fix invalid escape sequence in jsonapi-generator.py
...
Make the TemplateOwn.pattern string a raw string to silence Python
3.12+ SyntaxWarning for \$ escape sequences.
2026-06-14 11:44:06 +02:00
Gioacchino Mazzurco
ba90b27199
Fix Android build for ndk r29 on ubuntu 26.04
...
Drop armeabi-v7a and minapi16 (EOL), build arm64-v8a at API 21/24 only.
Toolchain:
- Replace make_standalone_toolchain.py with direct NDK toolchain copy
- Use NDK r29 compiler triple naming and llvm-ar/llvm-ranlib
- Add gentoo_disturl() for hash-based Gentoo mirror URLs
Dependencies:
- Add librnp (openssl backend) with json-c and sexpp support
- Add qemu-user for librnp cross-compilation feature detection
- Replace sqlcipher with plain sqlite (RS_SQLCIPHER=OFF)
- Switch rapidjson to git source for C++17 compatibility
- Bump bzip2, zlib, libpng, xapian, tiff, cimg, sqlite versions
CMake:
- Remove Android C++14 workaround (NDK r29 std::filesystem works)
- Refactor RS_RNPLIB to support inline, pre-built, and FetchContent
- Add CMAKE_POLICY_VERSION_MINIMUM for CMake 4.x compatibility
Dockerfile:
- Move to Ubuntu 26.04, python-is-python3
- Split COPY for layer caching of SDK and toolchain builds
2026-06-14 11:44:03 +02:00
csoler
aa8832f70c
Merge pull request #308 from jolavillette/fix/gxstrans
...
fix issues in gxstrans
2026-06-13 19:55:41 +02:00
jolavillette
861ce247e8
fix(gxstrans): advertise messages injected via receiveNewMessages() to friends
...
When a GxsTrans message (e.g. a presigned ACK receipt) is re-injected on the
recipient side via RsGenExchange::receiveNewMessages(), it is stored but the
server-side message-update timestamp is never stamped - unlike the regular
netservice transaction path (processCompletedTransactions). As a result friends
are not notified and the message is not re-synced, so distant-mail ACKs can be
lost and the sender never sees the message as delivered.
- rsgenexchange: after storing, stamp the server msg-update TS for every group
that received genuinely-new (post-deduplication) messages, off-mutex.
- p3msgservice: notifyDataStatus now scans all outgoing boxes before giving up
(found-flag instead of returning on the first non-matching box);
notifyGxsTransSendStatus flags the correct message id (it->first) and breaks.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11 19:53:06 +02:00
csoler
76690b795c
Merge pull request #305 from csoler/v0.6-Config
...
force delete stream before trying to rename file. Fixes cfg file savi…
2026-06-06 21:30:38 +02:00
Cyril Soler
76ca274d73
moved initialization of cfg_bio insde a smaller scope
2026-06-05 23:32:05 +02:00
Cyril Soler
ee8fba6072
prevented use after free of cfg_bio
2026-06-05 23:29:01 +02:00
Cyril Soler
960cf57cf6
fixed typo
2026-06-05 17:52:10 +02:00
Cyril Soler
f64f08148d
added check to avoid trying to rename a non existing file
2026-06-05 17:08:28 +02:00
Gioacchino Mazzurco
e13bc4d491
Merge pull request #304 from jolavillette/CMakeMigration-Modular-CrossPlatform
...
CMake migration modular cross platform
2026-06-05 07:12:59 +02:00
jolavillette
b38ba51052
fix(cmake): address PR review comments for Windows build
...
- Add detailed comments explaining the necessity of an explicit --exclude-libs list over ALL (due to CMake objects.a export stripping).
- Group WIN32_LEAN_AND_MEAN with other Windows compile definitions.
- Add inline comments explaining each Windows compile definition (_UNICODE, NOGDI, NOMINMAX, NOCRYPT).
- Remove dead find_library(BOTAN_LIBRARY) code now that librnp is a CMake subdirectory.
2026-06-04 20:59:49 +02:00
jolavillette
29a6dd3956
fix(cmake): use explicit --exclude-libs list instead of ALL on Windows
2026-06-04 15:21:57 +02:00
jolavillette
8d09daf22d
fix(cmake): apply WIN32_LEAN_AND_MEAN to the static lib too and drop the sslfns.h X509_NAME/X509_EXTENSIONS #undef workaround
2026-06-03 18:02:17 +02:00
jolavillette
8e42c18fb7
CMake: build librnp as a subdirectory + Windows build fixes
...
- Build librnp via add_subdirectory under RS_RNPLIB, saving/restoring
BUILD_SHARED_LIBS so libretroshare stays shared while librnp is static.
- Windows: propagate UNICODE/_UNICODE to subprojects, link winmm/iphlpapi,
attach socket libs to whichever restbed target exists.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 13:21:00 +02:00
Cyril Soler
6518a52dc5
force delete stream before trying to rename file. Fixes cfg file saving on windows
2026-06-03 09:47:31 +02:00
jolavillette
2225487f9c
tempory fixes #2 following gio comments on github
2026-06-03 00:39:37 +02:00
jolavillette
1f54e958aa
tempory fixes following gio comments on github
2026-06-02 20:08:41 +02:00
jolavillette
6a1d720040
Address PR review: set RS_WARN_DEPRECATED back to ON
2026-06-02 15:42:07 +02:00
jolavillette
e38be45215
Address PR review: link heavy cryptographic dependencies (RNP, Botan) privately via absolute paths
2026-06-02 15:14:42 +02:00
jolavillette
e7086b28c0
fix(cmake): add missing target_include_directories for system rapidjson
2026-06-01 16:36:29 +02:00
jolavillette
b60973cc04
fix(build): conditionally compile I2P SAMv3 support and link sam3 library
2026-06-01 12:58:00 +02:00
jolavillette
b61af2c575
Merge branch 'master' into CMakeMigration-Modular-Windows-MacOS
2026-05-31 20:51:04 +02:00
jolavillette
f98b61f0a5
CMake: Dynamically find RNP include paths to support macOS and custom build dirs
2026-05-31 16:27:38 +02:00
csoler
dd2e85f0ed
Merge pull request #303 from csoler/v0.6-Config
...
hardenned the security in saving config files, avoiding corruption in…
2026-05-28 20:51:08 +02:00
Cyril Soler
ae13e7e4bf
hardenned the security in saving config files, avoiding corruption in some rare situations (disk full + large config file)
2026-05-25 16:37:07 +02:00
jolavillette
31a5b27156
Merge branch 'master' into CMakeMigration-Modular-Windows
2026-05-25 10:14:46 +02:00
csoler
357cf730ff
Merge pull request #301 from jolavillette/fix/email-unconditional-save
...
fix(mail): avoid unconditional periodic saves of email database
2026-05-24 16:17:39 +02:00
jolavillette
11c6137382
remove debug output in p3MsgService::checkOutgoingMessages
2026-05-24 08:39:20 +02:00
jolavillette
89f7396548
libretroshare: only save email config in checkOutgoingMessages when state changes
2026-05-24 07:08:32 +02:00
jolavillette
f4434ef043
Merge branch 'CMakeMigration-Modular' into CMakeMigration-Modular-Windows
2026-05-24 03:06:54 +02:00
jolavillette
62d1c6004d
Merge branch 'master' into CMakeMigration-Modular
2026-05-24 03:06:47 +02:00
jolavillette
72041cfeed
cmake: configure libretroshare as DLL on Windows and restrict exported symbols to avoid PE limit
2026-05-24 02:03:54 +02:00
csoler
a076abe2a0
Merge pull request #281 from jolavillette/FixCircularSymlinks
...
fix(file_sharing): prevent infinite loop on circular symlinks when duplicates are allowed
2026-05-23 20:50:36 +02:00
csoler
ec6fbf1328
Merge pull request #286 from jolavillette/FixUseAsDirectSourceWhenAcceptingFriendViaActivityFeed
...
Fixed Use as direct source being automatically enabled when re-accepting a denied friend via Activity / Peer Details
2026-05-23 19:20:27 +02:00
jolavillette
dc0347bca5
build: disable LTO on Windows to bypass GCC 15 thunk link bug
2026-05-22 04:41:04 +02:00
jolavillette
0d5f63a8d6
Merge branch 'CMakeMigration-Modular' into CMakeMigration-Modular-Windows
2026-05-21 08:23:53 +02:00
jolavillette
ad0dcf686e
build: fix deprecation warning encapsulation and set default RS_WARN_DEPRECATED to OFF
2026-05-21 08:22:08 +02:00
jolavillette
7a5d75bc36
Merge branch 'CMakeMigration-Modular' into CMakeMigration-Modular-Windows
2026-05-21 04:20:06 +02:00
jolavillette
c9804e8f32
build: use target_compile_options instead of global CMAKE_CXX_FLAGS
2026-05-21 03:02:33 +02:00
jolavillette
4ccd1b551b
Merge branch 'CMakeMigration-Modular' into CMakeMigration-Modular-Windows
2026-05-20 19:40:44 +02:00
jolavillette
60e127ec54
build: encapsulate RNP and PGP dependencies as PUBLIC targets
2026-05-20 19:39:38 +02:00
jolavillette
ed94151688
Build: WIN32: use FetchContent restbed 4.8 with bundled ASIO instead of local submodule
2026-05-20 13:59:41 +02:00
jolavillette
39e4dadc46
Merge branch 'CMakeMigration-Modular' into CMakeMigration-Modular-Windows
2026-05-19 12:02:35 +02:00
jolavillette
39df2f2300
build(cmake): support dynamic plugin linkage by exposing RNP directories
2026-05-19 11:58:05 +02:00
jolavillette
31efa37b04
Merge Windows changes: integrate WS2/IOCP linkage and dlfcn support
2026-05-19 08:27:29 +02:00
jolavillette
ef67686d9e
Fix RNP include paths and jsonapi recompilation cache in CMake
2026-05-19 07:57:49 +02:00
jolavillette
df1642bacd
Fix jsonapi generator and OpenSSL macro collisions
2026-05-19 07:57:40 +02:00
jolavillette
5edeb5f5de
SAVE: Toutes les modifications courantes (Universel + Windows)
2026-05-19 07:57:31 +02:00
jolavillette
ffcfda9d02
build(cmake): minimal fixes for transitive restbed headers, i2pcommon, and versioning
2026-05-18 16:01:30 +02:00