Commit Graph

282 Commits

Author SHA1 Message Date
jolavillette
4a1799db76 fix(voip): keep aspect ratio in camera preview
The self-view preview in Preferences/VOIP scaled camera frames into the
display widget with Qt::IgnoreAspectRatio, forcing them into a 4:3 box.
Non-4:3 cameras (e.g. 16:9) were therefore stretched vertically.

Use Qt::KeepAspectRatio, matching the sibling showFrameOff() which
already scales the placeholder icon correctly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-16 18:24:46 +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
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
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
721cfb9e18 Added changes of RsChatFlags and RsStatusValue to VOIP plugin 2025-12-06 00:48:26 +01:00
csoler
d3069e9b44 fixed compilation 2025-11-11 20:12:53 +01: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
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
csoler
068aa7b7ec
Merge pull request #2545 from thunder2/warnings
Moved compiler flags for warnings to retroshare.pri
2022-01-08 17:53:06 +01:00
thunder2
af430c14a9 Removed unused parameter 2022-01-04 00:39:13 +01:00
thunder2
c0e3e9b4e4 Moved compiler flags for warnings to retroshare.pri 2022-01-04 00:33:04 +01:00
thunder2
0ffb31be85 Added missing initialization and check of members in VOIPConfigPanel to fix crash at shutdown with enabled plugin VOIP 2021-12-29 17:07:15 +01:00
Phenom
92da1881e7 Remove unused skins. 2021-11-29 15:39:42 +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
thunder2
6cf60f1add Removed not needed libraries in VOIP.pro for Windows build 2021-07-19 21:07:52 +02:00
csoler
90bc88089c fixed up bandwidth display when no video is selected 2021-05-27 21:45:56 +02:00
csoler
b78f7f11de added the possiblity to choose which camera to use 2021-05-27 21:21:26 +02:00
csoler
7b5be347bf refactored the UI of VOIP config panel and added list of available devices (not used yet) 2021-05-15 21:37:11 +02:00
csoler
d3f75234a7 moved abSpeech audio bar to main panel 2021-05-12 23:24:57 +02:00
csoler
d7ecd775eb made camera/audio only active when config panel is shown 2021-05-12 23:05:15 +02:00
csoler
c4fbd3a4f5 renamed AudioInputConfig into VOIPConfigPanel 2021-05-12 21:44:25 +02:00
csoler
0de9c877b8 switched video capture to QCamera and removed opencv dependency 2021-05-12 09:40:42 +02:00
csoler
b2f9ac5b71 fixed VOIP compilation on ubuntu 20.04 2021-04-04 14:40:15 +02:00
csoler
96fb0d2d5f updated translation files 2020-12-10 09:37:10 +01:00
thunder2
1ee38877ca Fixed linking of VOIP plugin for msys2 2020-11-24 19:09:06 +01:00
hunbernd
7a0dfbcda9 Fixed includes and macros for newer opencv 2020-11-24 19:02:37 +01:00
thunder2
95d521f692 Fixed compile of VOIP plugin 2020-11-09 22:04:25 +01:00
csoler
1dc8004430
added missing commands to install plugins 2018-12-21 15:50:45 +01:00
csoler
ecf5f79c03
fixed version numbers in packaging scripts and added proper targets in VOIP and FeedReader plugins 2018-12-18 23:14:14 +01:00
csoler
cdcc796afc
fixed licenses in plugins/VOIP 2018-11-11 14:24:49 +01:00
csoler
15b3c48149
finished licenses in VOIP. Files re-licensed with authorization 2018-11-11 14:24:46 +01:00
csoler
53ec7467d5
fixed licenses in VOIP. Permission pending for some files 2018-11-11 14:24:46 +01:00
Gioacchino Mazzurco
92f90178c4
RS version is now parametrizable at compile time
Avoid the need of dirty patching to set the version at build time
In case RS version is not passed as argument attempt to determine it
  using git describe, if unavailable use hardcoded default
2018-09-12 10:49:36 +02:00
csoler
0f758902cd
started cleaning the mess with rsAccounts: only exposed useful functionality of rsAccount beyond a static class and removed all references to rsAccounts in the code 2018-07-24 23:47:32 +02:00
thunder2
38ac234862 Fixed Windows compile with pre-compiled libraries
Added new variable EXTERNAL_LIB_DIR to specify path of external libraries
2018-05-07 09:42:36 +02:00
csoler
676c070152
extended the rapid_json trick to plugins 2018-05-03 15:55:21 +02:00
thunder2
c92b860174 Windows build environment:
- Updated external libraries
- Added compile of plugins to build.bat
- Added copy of Qt style DLL to pack.bat and Windows Installer
- Removed "CONFIG=console" for release build
2018-03-05 11:05:04 +01:00
csoler
e3d8d86044
updated translation files 2018-02-20 23:03:33 +01:00
csoler
861dc165f7 switched VOIP to new serialization 2017-05-02 22:05:54 +02:00
csoler
cecd9a3368 merged upstream/master 2017-04-30 20:14:23 +02:00