Commit Graph

20870 Commits

Author SHA1 Message Date
akallabeth
9f90d22c9b [utils,pcap] code cleanup 2025-03-04 12:42:40 +01:00
akallabeth
d99c4860fc [winpr,ntstatus] add HAVE_SORTED_STRUCT guard
NtStatus2Tag and Win32ErrorCode2Tag have an optimized implementation
that only works with sorted arrays. With this define the implementation
can be switched between optimized and generic.
2025-03-04 12:42:38 +01:00
akallabeth
764753af31 [client,sdl] implement mouse move on focus
Send current mouse position move event when focus is gained.
2025-03-04 12:42:36 +01:00
akallabeth
9b1c016371 [freerdp,codec] add freerdp_image_fill_ex 2025-03-04 12:42:34 +01:00
akallabeth
e2e6e9fd85 [freerdp,api] GCC/clang optimized IFCALLRESULT
Use statement expressions to add a log message for unset function
pointers
2025-03-04 12:42:31 +01:00
akallabeth
0d4af6deff Merge pull request #11275 from akallabeth/dead-code-eliminate
[warnings] eliminate dead code
2025-03-04 10:20:53 +01:00
akallabeth
41b0598fc1 [warnings] eliminate dead code 2025-03-04 09:57:46 +01:00
akallabeth
6d541c8691 [warnings] eliminate dead code 2025-03-04 09:53:05 +01:00
akallabeth
7406855337 Merge pull request #11262 from akallabeth/license-fix
Redirection && StreamPool usage fixes
2025-03-04 09:13:56 +01:00
akallabeth
d8c21effd5 Merge pull request #11268 from akallabeth/shadow-multi-rect
[server,shadow] multi rect BitmapUpdate support
2025-03-03 18:11:23 +01:00
akallabeth
fce23cc0c6 Merge pull request #11272 from akallabeth/cleanups
[warnings] clean up unused parameter and dead code
2025-03-03 12:43:34 +01:00
akallabeth
031dd16079 [warnings] clean up unused parameter and dead code 2025-03-03 12:08:35 +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
2d4fcf145b Merge pull request #11260 from akallabeth/unused-function
[warnings] fix -Wunused-function
2025-02-28 08:47:09 +01:00
akallabeth
d2914e3935 [core,freerdp] adjust disconnect provider ultimatum
do not send on cancel if the context is a server side one.
2025-02-27 20:30:32 +01:00
akallabeth
8a0cb6607f [core] rdp_handle_message_channel 2025-02-27 20:30:30 +01:00
akallabeth
504e87600c [core,transport] use allocated streams
in transport we end up in a race condition, so do not use the stream
pool for send packets.
2025-02-27 20:30:28 +01:00
akallabeth
ec030e8255 [winpr,stream] implement reference counting for streams 2025-02-27 20:30:25 +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
dcebd0cb2b Merge pull request #11258 from akallabeth/unused-fixes
[warnings] fix -Wunused-macro
2025-02-27 09:05:49 +01:00
akallabeth
5b9a1b5b1f [winpr,clipboard] define guard DIBv5 support 2025-02-27 08:33:39 +01:00
akallabeth
e184536083 [winpr,crypto] refactor winpr_Digest_Init_Allow_FIPS
eliminate dead code warnings
2025-02-27 08:30:52 +01:00
akallabeth
5732277c09 [winpr,clipboard] add warnings for missing implementation
warn if image conversion routines are called with formats not yet
implemented
2025-02-27 06:15:01 +01:00
akallabeth
413c9b8a85 [primitives,sse] enable and refactor prefetch code 2025-02-27 05:41:59 +01:00
akallabeth
a520f845a3 [warnings] fix -Wunused-macro
comment or delete macros that were not used.
2025-02-26 22:12:18 +01:00
akallabeth
ff3f4b3ce7 Merge pull request #11257 from akallabeth/action-script
[client,x11] improve action script logging
2025-02-26 19:35:22 +01:00
Raphael ZHOU
e2af30739b [shadow,kerberos] Fix Shadow crashing when calling krb5_get_init_creds_keytab if no suitable entry is found in keytab. 2025-02-26 18:53:10 +01:00
akallabeth
efb70690b3 [client,x11] improve action script logging 2025-02-26 18:49:26 +01:00
akallabeth
0eaf558ace Merge pull request #11255 from akallabeth/smartcard-out
[utils,smartcard] check output buffer length
2025-02-26 18:38:04 +01:00
Armin Novak
f24a562f1e [utils,smartcard] check output buffer length
check the resulting length to the one preallocated.
2025-02-26 18:24:51 +01:00
akallabeth
8b277adbc4 Merge pull request #11254 from akallabeth/clean
[packaging,flatpak] remove .orig file
2025-02-26 15:40:55 +01:00
Armin Novak
86bd6ec6fc [packaging,flatpak] remove .orig file 2025-02-26 15:40:20 +01:00
akallabeth
6194978442 Merge pull request #11252 from akallabeth/compile-commands
[cmake] Enable CMAKE_EXPORT_COMPILE_COMMANDS by default
2025-02-26 13:45:19 +01:00
KarelChanivecky
b16a23c2bc Fix WINPR_JSON_AddItemToArray compatibility with cJSON < 1.7.13
Modified the WINPR_JSON_AddItemToArray function to not expect a return value from cJSON_AddItemToArray. WINPR_JSON_AddItemToArray failure is given by the same conditions that cause add_item_to_array. add_item_to_array is a private cJSON function called by cJSON_AddItemToArray. The logic analysis is based on cJSON 1.7.12, which is the last release before cJSON_AddItemToArray's signature changed to include a bool return. See https://github.com/DaveGamble/cJSON/blob/v1.7.12/cJSON.c line: 1848.
2025-02-26 13:42:10 +01:00
Armin Novak
458837282e [cmake] Enable CMAKE_EXPORT_COMPILE_COMMANDS by default
if not set from environment or commandline default to enable the compile
commands generation
2025-02-26 13:42:10 +01:00
akallabeth
bbe53f3afe Merge pull request #11246 from akallabeth/abi-suppr
[ci,abi] suppress gdi_graphics_pipeline_init_ex
2025-02-25 17:56:14 +01:00
akallabeth
5c7fd90ebd [ci,abi] suppress gdi_graphics_pipeline_init_ex
subtype changed from __uint32 to uint32_t...
2025-02-25 17:55:20 +01:00
akallabeth
a36488de74 Merge pull request #11245 from akallabeth/mingw-follow-up
[ci,mingw] add option to clean
2025-02-25 17:17:23 +01:00
akallabeth
635b4f234f [ci,mingw] add option to clean
allow cleaning the build and install directories before a new build
2025-02-25 17:15:29 +01:00
akallabeth
ae4296f7a4 Merge pull request #11244 from akallabeth/mingw-static
[ci,mingw] add static build
2025-02-25 16:51:57 +01:00
akallabeth
292d824981 [ci,mingw] add static build 2025-02-25 16:51:43 +01:00
akallabeth
5df85d7a04 Merge pull request #11242 from akallabeth/mingw-update
Mingw update
2025-02-25 16:47:46 +01:00
akallabeth
feb88adcb8 [packaging,flatpak] update dependencies 2025-02-25 16:25:15 +01:00
akallabeth
8c1015e60f Merge pull request #11243 from THS-on/master
[client,cmdline] fix port parsing for gateway
2025-02-25 16:21:02 +01:00
Thore Sommer
30054052cc [client,cmdline] fix port parsing for gateway 2025-02-25 13:41:48 +01:00
akallabeth
c6bdf3a02e [ci,cmake] add workflow for cmake-format 2025-02-25 13:39:10 +01:00
akallabeth
2adca10b3c [scripts,bash] reformat bash scripts 2025-02-25 13:38:20 +01:00
akallabeth
418d228d4b [ci,mingw] update build scripts
* update dependency versions
* replace SDL2 with SDL3 client
* update documentation
* add option to do fully static builds
* format script with shfmt -i 2 w scripts/mingw.sh
2025-02-25 13:38:19 +01:00
akallabeth
e0ccda667e [ci] add workflows for bash and cmake formatters 2025-02-25 13:38:17 +01:00
akallabeth
dd7cdaefc0 [scripts] add bash format script
Add a script to format all bash scripts in the repo
2025-02-25 13:38:14 +01:00