akallabeth
a279a145df
[server,proxy] check file exists before library load
...
To avoid spamming the log with errors check if the file exists (and log
at debug level)
2025-09-12 10:05:06 +02:00
akallabeth
919a569d56
[server,proxy] eliminate unused variable
2025-09-12 09:59:56 +02:00
akallabeth
eb793be9d3
[proxy,modules] extend dynamic module loader
...
Expect different naming schemes, so try all configurations.
2025-09-11 21:42:39 +02:00
Armin Novak
d355082c32
[cmake] static build: populate private
...
in pkg-config files only add Requires.private and Libs.private if we
build a static library.
2025-09-11 10:59:26 +02:00
Armin Novak
b84c15e8b6
[proxy,modules] fix entry point for dyn-channel-dump
2025-09-11 07:16:34 +02:00
Armin Novak
a7b7474742
[proxy,modules] generate pkg-config files for modules
2025-09-11 07:16:23 +02:00
Armin Novak
2d7bf81397
[proxy,channels] better NULL checks
2025-09-04 10:54:30 +02:00
akallabeth
343d270c5a
[proxy,channels] fix unused parameter warning
2025-09-01 09:18:48 +02:00
akallabeth
2dd38aaeef
[proxy,channels] drop drdynvc packets not tracked
...
When receiving dynamic channel packets that do not belong to an open
channel drop the packet.
2025-08-25 16:26:51 +02:00
akallabeth
dc463e1fcd
[proxy,channels] refactor dynamic channel
...
* Split DynvcTrackerPeekFn into smaller fragments each handling one kind
of packet
* Unify logging with a custom logger function to have unified log
entries with appropriate data logged.
2025-08-25 15:54:19 +02:00
akallabeth
896c8dbd75
[proxy,channels] improve drdynvc logging
...
* Split functions to make them more readable
* Improve logging details
2025-08-22 09:06:37 +02:00
akallabeth
5a188d3e8a
[proxy,modules] ignore bitmap-filter skip remaining
...
There might be fragmented packets that need to be dropped. Ignore
remaining data on skip.
2025-08-19 07:37:59 +02:00
Armin Novak
bc1f6bd807
[proxy,modules] fix static entry point name
2025-08-18 11:30:52 +02:00
Armin Novak
93221680a5
[proxy,bitmap-filter] fix data skip check
2025-08-18 08:58:38 +02:00
Armin Novak
03ae8b242e
[proxy,modules] add missing entries to pf_modules_get_filter_type_string
2025-08-18 08:49:25 +02:00
Armin Novak
ce6d3e7ea2
[proxy,modules] fix bitmap filter entry point
2025-08-18 08:36:19 +02:00
Armin Novak
4eed6a1ed9
[proxy,modules] use GetModuleHandleA to load static
...
when loading static modules use GetModuleHandleA to allow this to work
with windows as well.
2025-08-18 08:33:20 +02:00
akallabeth
00a5775fc4
[proxy,modules] Declare proxy module entry function
...
When building static proxy modules export the entry function name as
<module_name>_proxy_module_entry_point instead of only
proxy_module_entry_point when using shared linking
2025-08-14 08:32:38 +02:00
akallabeth
a2510d1f5d
[proxy,modules] add support for statically linked
...
Look in proxy library/executable itself for a module entry point. This
allows statically linking in proxy modules.
2025-08-14 08:14:44 +02:00
akallabeth
65f18983ed
[warnings] Fix format string errors
...
* Fix casts of format string arguments (%p requires void*)
* Fix format string to match type of arguments
2025-08-13 15:09:48 +02:00
akallabeth
c3e507a82e
[winpr,wlog] Replace WLog_PrintMessage calls
...
Prefer WLog_PrintTextMessage to have proper format string checks in
place.
2025-08-13 15:08:01 +02:00
akallabeth
12d0e491f6
[cmake] add installWithRPATH
...
this new CMake function installs a target to a destination and adds the
correct relative RPATH to some desired locations
2025-07-17 13:59:51 +02:00
Armin Novak
b5b258c9f4
[winpr,path] fix NULL arguments for DeleteFile
2025-06-05 11:58:47 +02:00
gpotter2
a175640025
Support non-RDP security when shadow server running as Hyper-V console
2025-05-06 22:23:40 +02:00
gpotter2
0a10fe8ce3
Add 'restricted-admin' flag to shadow server
2025-05-06 22:08:36 +02:00
akallabeth
649fa67894
[server,mac] disable shadow if on mac
...
the mac implementation no longer compiles.
2025-04-29 12:55:48 +02:00
akallabeth
bb67da5411
[server,mac] disable platform server
...
the implementation for mac no longer compiles.
2025-04-29 12:12:34 +02:00
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