21 Commits

Author SHA1 Message Date
Armin Novak
4ba031aefc [c23,tools] replace NULL with nullptr 2026-02-26 15:07:09 +01:00
akallabeth
2a41b3d205 [tools,settings] update settings generator
* Fix format string violations in generator
* Update generated files
2026-01-16 11:38:58 +01:00
akallabeth
3186977e15 [cmake] Invert WITH_FREERDP_3x_DEPRECATED
API breaking change, with this logic the symbol needs to be manually
defined by an API user. So, to fix this:
* Rename to DROP_FREERDP_3x_DEPRECATED
* Invert logic, so a undefined value enables the symbols
2025-03-06 15:30:26 +01:00
akallabeth
d03b4b91d5 [cmake,freerdp] add WITH_FREERDP_3x_DEPRECATED
This new CMake option (ON by default) allows building the library with
all symbols deprecated during 3.x release cycle disabled.
This allows compatibility testing external applications for future
FreeRDP 4.x support
2025-03-04 13:26:45 +01:00
akallabeth
761c62f754 [common,settings] add comments for compat entries 2025-02-14 09:09:46 +01:00
akallabeth
97a79933d6 [common,settings] fix backward compatibility for LocalMonitorOffset
remmina is using the setters for the old (invalid) unsigned offsets
2025-02-13 17:49:22 +01:00
akallabeth
579d9b352d [tools,settings] generate getter/setter with maybe_unused
The rdpSettings getter/setter might be empty, so the parameters of the
functions might be unreferenced.
2025-02-13 15:00:15 +01:00
Armin Novak
ac1599333e [common,settings] drop MonitorLocalShiftX|Y compat 2025-02-12 14:04:22 +01:00
akallabeth
745ae2d615 [common,settings] MonitorLocalShift[XY] compat
Allow unsigned access to MonitorLocalShift[XY] values for compatibility
with older releases.
2025-01-19 15:30:58 +01:00
akallabeth
1905117465 [core,aad] unify client id
* use a setting to make it configurable
2024-12-10 15:12:32 +01:00
akallabeth
83f2f21ad3 [warnigns] fix lots of bugprone warnings
* update-settings-tests: properly cast types in getter/setter
* wtypes: fix PHANDLE definition
* wStream: fix INT64 write function warnings
* Simplify HANDLE copy in channels, just assign after proper cast
2024-12-06 09:15:48 +01:00
akallabeth
14ca8c736b [settings] assert invalid keys in getter 2023-11-24 14:54:56 +01:00
Armin Novak
8e9b6a9201 [settings] update test generator script 2023-11-24 14:54:56 +01:00
akallabeth
da42a2141e [core,settings] update getter/setter generation
fix issues with const and non const string pointer update
2023-02-01 09:51:54 +01:00
Armin Novak
641022b795 [logging] remove __FUNCTION__ from actual message
prefer the log formatter to provide that information.
2023-01-25 16:26:39 +01:00
Armin Novak
204c43a22c [tools] fixed settings getter generator
use proper default error return values by type
2022-12-22 18:50:05 +01:00
akallabeth
c1a9c19308 [settings] Fixed UTF16 helpers
Do not copy the already allocated buffer
2022-12-02 15:08:09 +01:00
akallabeth
58599c91a3 Add setting name for invalid function access
Try to be helpful and resolve the settings index with a readable
name if possible to help diagnose wrong function use
2022-10-27 10:46:58 +02:00
akallabeth
648612d6d3 Updated settings helper generator script 2022-06-23 09:18:37 +02:00
Armin Novak
1f9916eba2 Added settings comparison function 2022-04-22 10:20:09 +02:00
David Fort
44c82cd929 Fixes various akallabeth remarks 2022-02-24 08:52:25 +01:00