akallabeth
2fb2e5f9c5
[crypto,key] add function to export PEM and create a key
...
* freerdp_key_generate creates a new key
* freerdp_key_get_pem exports the key as PEM
2025-04-22 12:00:40 +02:00
akallabeth
3805575c58
Merge pull request #11384 from akallabeth/rel-mouse-change
...
Rel mouse change
2025-04-11 08:21:14 +02:00
akallabeth
f708f90937
[server,sample] implement relative mouse event
...
* implement callbacks for relative mouse input events
* optimize drawing:
* only send drawing rectangle for current cursor position (background
image data) and then the current cursor
2025-04-10 19:47:16 +02:00
akallabeth
6af01d9b89
[server,sample] do not wait for channelHandle
...
If we wait for channelHandle events before calling
WTSVirtualChannelManagerCheckFileDescriptor we will never open the
drdynvc channel.
2025-04-10 19:06:31 +02:00
akallabeth
7f5a3bc352
[server,shadow] sort command line arguments
...
when printing the help output first sort the COMMAND_LINE_ARGUMENT_A by
argument name.
2025-04-10 09:10:36 +02:00
akallabeth
4b2d65e977
[server,shadow] add option to hide mouse cursor
2025-04-10 09:10:33 +02:00
akallabeth
40b162736c
[server,shadow] fix x11_shadow_query_cursor
...
the coordinates must be clamped to positive values.
2025-04-10 08:48:54 +02:00
akallabeth
87683746a5
[server,shadow] implement relative mouse support
2025-04-10 08:43:33 +02:00
akallabeth
6314e93939
[cmake] drop legacy and unused cmake_policy
...
Some cmake_policy settings have long been active by default (3.13 is our
current baseline) or simply unused. Due to issues with CMake 4.0 lets
drop them
2025-04-03 08:31:36 +02:00
akallabeth
4356dd35f0
[server,shadow] add option WITH_SERVER_SHADOW_CLI
...
this allows building the shadow library only without cli tools
2025-03-20 09:15:29 +01:00
Armin Novak
73dfd5e143
[server,proxy] avoid _ in struct names
2025-03-19 19:00:12 +01:00
akallabeth
e3c93573f3
[cmake] add explicit instructions to turn off unmaintained modules
...
* Add detailed CMake warning to disable unmaintained modules
* Add sample shadow subsystem implementation
* Allow building shadow server with dummy subsystem
2025-03-17 16:23:51 +01:00
Armin Novak
c79f080e8d
[warnings] improve array bound checks
2025-03-12 15:04:38 +01:00
akallabeth
1fe0ca41e1
[warnings] fix missing integer casts
2025-03-11 13:20:19 +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
Michael Tokarev
19f129654e
spelling: dont
2025-03-06 13:24:29 +03:00
akallabeth
44d5461cd5
[warnings] fix -Wunused-but-set-variable
2025-03-06 07:15:20 +01:00
akallabeth
8bd7814e9a
[server,proxy] Log MinorFunction in smartcard channel
2025-03-05 23:48:56 +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
5faf0149c2
[server,shadow] readd multi rect BitmapUpdate support
...
* Partially revert 1f83198bb1
* Introduce new /bitmap-compat command line option for shadow-server
* Default to send multi rectangle BitmapUpdate
2025-02-28 11:19:36 +01:00
akallabeth
d4f7fb081b
[warnings] fix -Wunused-function
...
* delete unused functions that are no longer required
* define guard functions only used while debugging
2025-02-27 19:29:46 +01:00
akallabeth
3454194ea4
[server,warnings] fix -Wunused-parameter for shadow
2025-02-13 15:54:15 +01:00
akallabeth
652d5299e7
[server,warnings] fix -Wunused-parameter for sample
2025-02-13 15:54:13 +01:00
akallabeth
150b61d4c2
[proxy,warnings] fix -Wunused-parameter
2025-02-13 15:53:58 +01:00
akallabeth
4df9e30604
[proxy,channels] fix return values and sign conversions
2025-02-13 15:35:15 +01:00
akallabeth
a24ffe957c
[cmake] make C and C++ standards configurable
...
use cache variables to allow overriding them from command line
2025-02-13 13:30:06 +01:00
Vic Lee
6352108ffe
[server] fix compilation errors after adding NONAMELESSUNION.
2025-02-10 18:11:09 +08:00
akallabeth
ea2022b76b
[clang,tidy] fix warnings
2025-01-15 09:32:52 +01:00
akallabeth
06402de801
[server,shadow] properly clean up encoder
2025-01-12 15:12:00 +01:00
akallabeth
26eac974fe
[warnings] fix integer casting
...
* use WINPR_ASSERTING_INT_CAST where possible
* fix a few inconsistencies
2024-12-19 12:33:42 +01:00
akallabeth
cc6c3dd98b
Merge pull request #10927 from Biswa96/typo-rdpSettings
...
shadow: Fix typo with rdpSettings data type
2024-12-07 17:50:07 +01:00
akallabeth
344841714c
Merge pull request #10844 from akallabeth/cmake-mulitconfig
...
Cmake multiconfig
2024-12-07 17:43:05 +01:00
Biswapriyo Nath
cad4f8ebd7
shadow: Fix typo with rdpSettings data type
...
This commit fixes the following compiler error.
FreeRDP/server/shadow/Win/win_wds.c:767:9: error: unknown type name 'rdpSetting';
did you mean 'rdpSettings'?
767 | rdpSetting* settings = subsystem->shw->settings;
| ^~~~~~~~~~
| rdpSettings
The typo was introduced in ba41d5e532
commit.
2024-12-06 18:25:57 +00: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
180a9d7d72
[cmake,flags] print all configuration flags
...
Since we do not know wich configuration will be build with
multiconfiguration generators print out all C_FLAGS_XXX and
CXX_FLAGS_XXX variables
2024-12-05 09:36:26 +01:00
akallabeth
ba8fd2ada5
[cmake] force configuration options
...
limit multiconfiguration options to supported types
2024-12-05 09:36:23 +01:00
akallabeth
faae38120c
[cmake,format] reformat all cmake files
2024-11-27 20:41:48 +01:00
akallabeth
b5f95e0f87
[codespell] fix spelling mistakes
2024-11-21 11:28:06 +01:00
stephanebill
4f2afa8c47
spell check with codespell
2024-11-20 16:53:40 -05:00
akallabeth
4dfe2968d0
[servser,shadow[ fix bitmap update error message
2024-11-18 17:12:03 +01:00
akallabeth
78acedb40e
[warnigns] fix Wshorten-64-to-32
2024-11-11 10:22:37 +01:00
akallabeth
dcf5a8e28c
[warnings] fix -Wswitch-default
2024-10-31 11:42:24 +01:00
akallabeth
940d067f52
[server,proxy] stricter argument parsing
...
* Check number of arguments is valid (don't allow additional ones)
* Replace exit() with normal return for helper functions
2024-10-26 19:53:36 +02:00
akallabeth
a3aa01214c
[resource root] unify locations
...
unify resource locations in case WITH_BINARY_VERSIONING is set.
2024-10-25 11:40:40 +02:00
akallabeth
9caf38bbb6
[warnings] unify CommandLineParseCommaSeparatedValues
...
CommandLineParseCommaSeparatedValues does some internal hack to allow
the allocated char** to be cleaned up by free.
This enforces compiler warnings as the pointer types do not match.
Use a new free function CommandLineParserFree instead
2024-10-22 21:11:58 +02:00
akallabeth
5353bff104
[assert] use WINPR_STATIC_ASSERT
2024-10-16 19:07:07 +02:00
akallabeth
e6cf35c518
[warnings] fix integer narrowing
2024-10-14 10:31:55 +02:00
akallabeth
15d408d6fc
[warnings] fix integer narrowing
2024-10-14 10:31:45 +02:00
akallabeth
6c8c67b385
Merge pull request #10677 from akallabeth/int-narrow
...
Int narrow
2024-10-03 21:17:56 +02:00
akallabeth
3a2a65bbed
[server,shadow] fix integer narrow
2024-10-03 18:58:56 +02:00