Commit Graph

484 Commits

Author SHA1 Message Date
jolavillette
d1785479c8 build(cmake): address 2nd review round (deps, naming, per-target hacks)
Reply to G10h4ck's second review pass on the CMake migration PR.

- FeedReader: revert the waitForToken interface->helper rename. libretroshare
  defines WIN32_LEAN_AND_MEAN PUBLIC, inherited by the plugin on Windows, so
  <windows.h> no longer pulls in the "interface" macro; the rename is unneeded.
- retroshare-gui: name the GUI executable "retroshare-gui" on all platforms
  (RUNTIME_OUTPUT_NAME); clarify that the TARGET define is the single-instance
  socket name, not the executable name.
- retroshare-gui: gate -Wno-deprecated(-declarations) behind a new
  RS_WARN_DEPRECATED option, mirroring libretroshare.
- retroshare-gui: document direct deps (sam3, X11/XScreenSaver idle detection,
  _FILE_OFFSET_BITS) and the librnp-transitive deps (botan, json-c, z, bz2).
- root: move the global Windows UNICODE/_UNICODE definition and the GCC>=15
  error downgrade out of the global scope into per-target settings (bitdht,
  and the legacy C submodules), applied after the subdirectories are added.
- root: document why the sam3 target is defined once at the top level.
- deploy-macos.sh / deploy-windows.sh: keep them (deployment is a first-class
  step), document why the macdeployqt/windeployqt glue is needed, and update
  the bundle/executable names for the rename (retroshare-gui).
- Stop tracking the convenience Makefile and build_retroshare.sh (CMake builds
  everything itself); they remain available locally as untracked files.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 18:14:18 +02:00
jolavillette
ac5190d90d build(cmake): address reviewer feedback and drop unrelated cosmetic changes
Reply to the build-system review on the CMake migration PR.

CMake:
- retroshare-gui: bump project version 0.6.6 -> 0.6.7; restore
  CMAKE_VERBOSE_MAKEFILE ON for development builds; reword
  RS_USE_NATIVE_DIALOGS description without referring to qmake; document
  why AUTOUIC is OFF and why the qmake_info.h shim exists.
- retroshare-gui: fix circles option name mismatch (if(RS_GXS_CIRCLES) ->
  if(RS_GXSCIRCLES)) so RS_USE_CIRCLES is actually defined.
- VOIP, friendserver: drop OpenSSL (and ZLIB/BZip2 for friendserver) which
  are not used directly and come transitively through libretroshare; keep
  ws2_32 for the friendserver (direct Winsock use in network.cc) and drop
  winmm/iphlpapi/mswsock.
- FeedReader: document OpenSSL as a direct dependency and the Windows-only
  plugin link requirement.
- VOIP: document __STDC_CONSTANT_MACROS (required by the libav headers).

Source (kept, now with justifying comments; required to build cross-platform):
- p3FeedReader: parameter renamed interface -> helper ("interface" is a
  reserved Windows SDK macro).
- PluginsPage, PluginManager, PluginManagerWidget, GxsGroupDialog: compile
  fixes exposed by the modular build.

Reverted unrelated cosmetic renames (back to master, dropped from the PR):
- MessageComposer.cpp (grp2), RsNetUtil.cpp (lst2).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 14:47:47 +02:00
jolavillette
c425487bbb Merge remote-tracking branch 'upstream/master' into CMakeMigration-Modular-CrossPlatform 2026-06-04 16:47:44 +02:00
jolavillette
d59ce80ed0 Revert "FeedReader: keep XML_TEXT_NODE test to prevent undefined behavior in getContent()"
This reverts commit 4be95c236e.
2026-05-25 11:08:06 +02:00
jolavillette
a5f0e01248 Merge branch 'master' into CMakeMigration-Modular-Windows 2026-05-25 10:08:41 +02:00
jolavillette
4be95c236e FeedReader: keep XML_TEXT_NODE test to prevent undefined behavior in getContent() 2026-05-25 07:17:17 +02:00
jolavillette
25b79662ea Fix FeedReader text truncation on Windows MSYS2 by forcing UTF-8 and improving XML extraction 2026-05-25 07:17:16 +02:00
jolavillette
9da2af5844 FeedReader: extract RSS message size correction to correctMsgSize 2026-05-24 11:09:16 +02:00
jolavillette
079967dcf7 Fix FeedReader: truncate oversized feed messages to prevent deserialization failure on startup 2026-05-24 11:09:16 +02:00
jolavillette
4ec8bafec7 plugins & friendserver: explicitly link OpenSSL to resolve dynamic library dependencies 2026-05-24 02:05:50 +02:00
jolavillette
c0a3eb38b0 build: define WINDOWS_SYS for FeedReader and VOIP plugins on Windows 2026-05-22 04:41:04 +02:00
jolavillette
765a398659 win32: fix plugin compilation by enabling exports on GUI and linking plugins privately to retroshare and retroshare-gui on Windows 2026-05-21 14:04:57 +02:00
jolavillette
110bdfa850 voip: fix CMake crash by moving target compile definitions after target is declared 2026-05-21 11:44:26 +02:00
jolavillette
d8f1267124 build(cmake): integrate FeedReader and VOIP plugins as optional targets 2026-05-20 09:58:22 +02:00
jolavillette
4bd02cf0bb build(cmake): implement modular build system and align service dependencies 2026-05-18 16:04:01 +02:00
thunder2
8e5629df9c Enabled compile of plugin VOIP for Qt 5 only 2026-02-17 18:56:41 +01:00
thunder2
c83b4f3950 Fixed compile of VOIP for older compilers 2026-02-17 18:56:41 +01:00
David Bears
5997bf100c
fix rapidjson include directory 2026-01-18 14:21:54 -05:00
David Bears
fabd25be22
remove size from NetQueue template arguments 2026-01-16 12:05:35 -05:00
David Bears
7542ee4f8c
some minor touchup 2026-01-16 11:10:18 -05:00
David Bears
921f8eb690
implement proper avcodec encode/decode loops 2026-01-16 02:30:14 -05:00
David Bears
e01e1a490d
update VOIP for current libavcodec 2026-01-15 08:58:25 -05:00
thunder2
3e057bf5b5 FeedReader: Fixed using first image for posted without need to embed images 2025-12-23 12:19:12 +01:00
thunder2
721cfb9e18 Added changes of RsChatFlags and RsStatusValue to VOIP plugin 2025-12-06 00:48:26 +01:00
csoler
28a5db7204 fixed compilation for feed reader plugin 2025-11-24 21:09:45 +01:00
csoler
d3069e9b44 fixed compilation 2025-11-11 20:12:53 +01:00
csoler
b8bb797171 fixed compilation 2025-11-11 19:01:04 +01:00
thunder2
dae748ca2e FIX MSYS2: Disabled VOIP for msys2 and Qt 6 2025-08-10 19:58:56 +02:00
thunder2
15684bf8d3 Added Qt 5 Core Compat module for QRegExp for Qt 6 2025-07-29 18:32:50 +02:00
thunder2
6251f36e3e Replaced deprecated QDateTime::toTime_t by QDateTime::toSecsSinceEpoch 2025-07-29 18:32:31 +02:00
thunder2
42b3b95fd8 Use QDateTime::fromSecsSinceEpoch in Qt 6 instead of QDateTime::fromTime_t 2025-07-20 14:15:27 +02:00
thunder2
a00c1375e5 Renamed QtVersion.h to RsQtVersion.h because of the same filename in Qt 6 2025-07-20 14:14:57 +02:00
thunder2
3a8f7d5a2d Use "Qt::WindowFlags flags = Qt::WindowFlags()" instead of "Qt::WindowFlags flags = 0" 2025-07-20 14:14:13 +02:00
thunder2
9f607765bc Fixed crash in VOIP by initializing member _image_capture in constructor of QVideoInputDevice 2025-07-19 14:54:51 +02:00
thunder2
f53a30a0e4 Updated external libraries for Windows native build
- curl-8.9.1
- ffmpeg-4.4.6
- libxml2-2.14.5
- libxslt-1.1.43
- speex-1.2.1
- speexdsp-1.2.1
- xapian-core-1.4.29
2025-07-18 14:25:17 +02:00
thunder2
ddb4300a60 FeedReader: Updated translation 2025-07-14 00:04:31 +02:00
thunder2
c8cea52b39 FeedReader: Reworked proxy setting 2025-07-14 00:04:31 +02:00
thunder2
1094e3e651 FeedReader: Moved proxy setting to own widget 2025-07-14 00:04:31 +02:00
thunder2
bd7dfe957f FeedReader: Added FontSizeHandler 2025-04-12 15:50:43 +02:00
defnax
01617da863 Fixed some frames to get compatible for system style
* Fixed some frames to get compatible for system style
* update macos package script
2024-12-30 21:36:04 +01:00
thunder2
a60f3f44f7 FeedReader: Don't add items as new item when pubDate less than storage time 2024-04-16 19:25:26 +02:00
thunder2
d0b4bfdaa1 Fixed Linux compile of FeedReader plugin 2023-09-10 15:25:13 +02:00
thunder2
ad9d566767 FeedReader: Added processing of enclosure in RSS feed 2023-05-28 13:47:13 +02:00
thunder2
f9ca6cd3e1 FeedReader: Show error when some post could not be created 2023-05-28 13:47:12 +02:00
thunder2
180b7d3703 FeedReader: Added process of response code 403 and added user agent 2023-05-06 20:36:08 +02:00
thunder2
ff183ee98b FeedReader: Reduced the height of the dialog for creating a feed 2023-05-06 20:36:08 +02:00
thunder2
af562cb4ca FeedReader: Added shrink of images for board post 2023-05-06 20:36:08 +02:00
thunder2
e25c148c27 FeedReader: Changed save type for IndicateConfigChanged in service to SAVE_NOW 2023-05-06 20:36:07 +02:00
thunder2
b14fecfc2a FeedReader: Message of a local feed can be added as forum and board message 2023-05-06 20:36:07 +02:00
thunder2
63390fddee FeedReader: Renamed enum RsFeedAddResult to RsFeedResult 2023-05-06 20:36:06 +02:00