Commit Graph

20853 Commits

Author SHA1 Message Date
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
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
akallabeth
e6d098ed27 Merge pull request #11237 from akallabeth/wlog-inline
[winpr,wlog] simplify WLog_* macros
2025-02-25 13:11:34 +01:00
akallabeth
3f276f799c Merge pull request #11241 from yegorich/ignore-build-dir
CMake: generate a .gitignore file for the build directory
2025-02-25 12:03:38 +01:00
Yegor Yefremov
6ea6778f2b CMake: generate a .gitignore file for the build directory
As soon as a configuration step is successful, a .gitignore file
is created inside an out-of-source build directory. Hence,
there is no need to put its name into the root .gitignore file.
2025-02-25 11:35:02 +01:00
akallabeth
26ca0bd146 Merge pull request #11238 from akallabeth/warn-priority
[client,x11] reduce verbosity of actionscript log
2025-02-25 08:39:15 +01:00
akallabeth
78851e929e [winpr,wlog] simplify WLog_* macros
Macro nesting did expose some compiler limitations with GCC 11.4.0, so
replace the macros with static inline functions where possible.
2025-02-24 22:00:39 +01:00
akallabeth
f817301858 [client,x11] reduce verbosity of actionscript log 2025-02-24 21:03:29 +01:00
akallabeth
8602a0cd34 Merge pull request #11235 from akallabeth/cmdline-better-log
[client,common] improve parsing of TLS options
2025-02-24 20:45:50 +01:00
akallabeth
51685ea1bd [client,common] improve parsing of TLS options 2025-02-24 13:31:09 +01:00
akallabeth
9798bae1ee Merge pull request #11232 from akallabeth/android-more-fixes
[channels,rdpsnd] fix android build warnings
2025-02-23 08:44:34 +01:00
akallabeth
52fb11d16c [client,android] fix warnings in clipboard 2025-02-22 22:49:07 +01:00
akallabeth
82d74dbc96 [codec,test] fix warnings in img2bgra 2025-02-22 22:41:44 +01:00
akallabeth
7f68447de9 [channels,rdpsnd] fix android build warnings 2025-02-22 19:36:01 +01:00
akallabeth
4fb4aafdf7 Merge pull request #11230 from akallabeth/android-fixes
Android fixes
2025-02-22 19:19:29 +01:00
akallabeth
15456cc947 Merge pull request #11225 from akallabeth/aac-fix
[codec,dsp] ignore encoder errors
2025-02-22 19:19:11 +01:00
akallabeth
505e919fec [build,android] fix x86_64 build 2025-02-22 16:03:04 +01:00
akallabeth
93c7e456c8 Merge branch 'aac-fix' into android-fixes 2025-02-22 15:34:39 +01:00
akallabeth
06a5bd1183 [codec,dsp] ignore encoder errors
Due to the AAC encoder sometimes returning errors (due to some internal
foobar) ignore these and just move on to the next packet to encode.
2025-02-22 15:33:21 +01:00