Commit Graph

181 Commits

Author SHA1 Message Date
jolavillette
2cd7c21aa6 gui(feedreader): add "Mark all as unread" alongside "Mark all as read"
The FeedReader message widget already offered "Mark all as read"
(toolbar button + context menu) but had no way to mark every visible
message as unread again. Add the symmetric "Mark all as unread" entry
to the message context menu.

Factor the shared iterate-over-visible-items logic out of
markAllAsReadMsg() into setAllMsgAsReadUnread(bool read); the read and
unread slots now just call it. Like the existing "mark all as read", the
action honours the current filter (acts on non-hidden rows only) and
goes through the existing per-message setMessageRead() path, so no
backend change is required.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-25 13:31:47 +02:00
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
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
David Bears
5997bf100c
fix rapidjson include directory 2026-01-18 14:21:54 -05:00
thunder2
3e057bf5b5 FeedReader: Fixed using first image for posted without need to embed images 2025-12-23 12:19:12 +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
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
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
thunder2
186976e209 FeedReader: The feed can be moved with drag and drop to a folder 2023-05-06 20:36:05 +02:00
thunder2
571f709b50 FeedReader: The feed can be used as source for board 2023-05-06 20:36:05 +02:00
thunder2
ecffb3cb7f FeedReader: Fixed download of favicon 2023-05-06 20:36:04 +02:00
thunder2
7070a6cad6 FeedReader: Fixed compile of FeedReader plugin 2023-05-06 20:36:04 +02:00
thunder2
c90ea518c5 FeedReader: Fixed embedding of images with https 2023-04-10 21:17:49 +02:00
thunder2
93c1cafdc4 Updated external libraries for Windows MinGW build
- zlib 1.2.11
- bzip2 1.0.8
- miniupnpc 2.2.3
- openssl 1.1.1m
- speexdsp 1.2.0
- libxml2 2.9.12
- libxslt 1.1.34
- curl 7.81.0
- sqlcipher 4.5.0
- libmicrohttpd 0.9.75
- ffmpeg 4.4
- xapian 1.4.19
2022-02-15 20:51:49 +01:00
thunder2
af430c14a9 Removed unused parameter 2022-01-04 00:39:13 +01:00
Phenom
d7981f3811 StyleSheet Rewrite
Use QDarkStyle to make Standard_Dark.qss and Standard_Light.qss
Use Widget name to stylize them.
2021-11-04 21:21:54 +01:00
csoler
96fb0d2d5f updated translation files 2020-12-10 09:37:10 +01:00