Commit Graph

19900 Commits

Author SHA1 Message Date
akallabeth
dc8d8553e8
[utils,smartcard] ensure '\0' termination for NDR
NDR read functions do not exactly know which kind of string is read and
if it contains a '\0', so ensure that we add one large enought to hold a
unicode '\0'
2024-10-10 16:25:41 +02:00
akallabeth
b4dbecd506
[primitives,copy] fix issues with SSE 4.1 and AVX2
* Deactivate optimized image_copy_bgr24_bgrx32
* Fall back to generic implementation instead of copying that code
2024-10-10 15:23:43 +02:00
akallabeth
7e28e0890c
[primitives,copy] remove invalid optimized branch 2024-10-10 15:23:33 +02:00
akallabeth
3ddc0e7c73
[primitives,copy] use loop unroll pragma 2024-10-10 15:23:30 +02:00
akallabeth
f5171b6b47
[primitives,sse] skip optimized copy on wrong alignment 2024-10-10 15:23:28 +02:00
akallabeth
62e8270db1
[codec,color] assert overlapping state in image copy 2024-10-10 15:23:26 +02:00
akallabeth
0fa9e73de6
[primitives,test] add new unittest for copy_no_overlap 2024-10-10 15:23:24 +02:00
Martin Fleisz
3d018a827f
Merge pull request #10708 from akallabeth/manpage-pre-generated
Manpage pre generated
2024-10-10 11:09:02 +02:00
Armin Novak
c3a5387187
[manpages] switch generation to pure CMake
* Ditch docbook/xmlto, use plain manpage files
* Add CMake functions to concatenate manpate sections
* Modify generate_argument_manpage helper tool to generate manpage
2024-10-09 21:41:14 +02:00
Armin Novak
8fcc59ed27
[ci] remove docbook and xml dependencies 2024-10-09 20:42:09 +02:00
Armin Novak
b9adc1dd24
[ci] remove travis configuration 2024-10-09 20:42:06 +02:00
Armin Novak
f72db3f9f7
[cmake] fix TODAY macro 2024-10-09 20:41:59 +02:00
akallabeth
815d6a9fdd
Merge pull request #10721 from akallabeth/language-extension
Language extension
2024-10-09 13:37:26 +02:00
Armin Novak
9531b7b270
[winpr,file] add missing WINPR_ATTR_MALLOC 2024-10-09 10:41:19 +02:00
Armin Novak
b73befd677
[cmake] reenable -Wlanguage-extension-token
since the offending macros are now silenced reenable the warning so we
are warned about unintentional use of extensions.
2024-10-09 10:09:49 +02:00
Armin Novak
8abf9cbe7c
[winpr] mark GNU macros with __extension__
mark GNU and clang definition of macros using statement expressions with
__extension__ to silence warnings. We know the compilers support that
and do not use it with others.
2024-10-09 10:09:43 +02:00
akallabeth
2d10effd3c
Merge pull request #10716 from akallabeth/kerberos-return
[winpr,sspi] fix kerberos return on get_credentials
2024-10-08 17:26:43 +02:00
akallabeth
4b52062658
Merge pull request #10718 from akallabeth/win-ci-proxy-modules
[ci,windows] build proxy modules
2024-10-08 17:17:20 +02:00
akallabeth
008de893fe [cmake,c++] define NOMINMAX
Windows header define min and max posing issues with c++ standard
library
https://stackoverflow.com/questions/4913922/possible-problems-with-nominmax-on-visual-c
2024-10-08 16:36:01 +02:00
akallabeth
fdd02c945a [ci,windows] build proxy modules 2024-10-08 16:36:01 +02:00
Martin Fleisz
25c281818a
Merge pull request #10714 from akallabeth/sse-fix
[primitives,sse] fix a bug in sse4.1 primitives copy
2024-10-08 12:31:56 +02:00
akallabeth
4e65fdb9eb
Merge pull request #10717 from akallabeth/revert-alt
[ci,workflow] set USE_UNWIND=OFF again
2024-10-08 12:08:00 +02:00
akallabeth
3eca097b34
[ci,workflow] set USE_UNWIND=OFF again
arm builds do not work with unwind backtrace on.
[winpr_unwind_backtrace]: _Unwind_Backtrace failed with _URC_FAILURE [0x09]
2024-10-08 11:10:18 +02:00
akallabeth
4c034ac36f
[client,x11] fix memory leak in clipboard 2024-10-08 11:03:24 +02:00
akallabeth
de5e837c76
Merge pull request #10715 from akallabeth/unwind-arm
[winpr,utils] fix undefined unwind symbols
2024-10-08 10:41:58 +02:00
akallabeth
1fe0a6f40e
[winpr,sspi] fix kerberos return on get_credentials
return SEC_E_NO_CREDENTIALS
2024-10-08 10:33:30 +02:00
akallabeth
1952cd0e66
[winpr,utils] fix undefined unwind symbols
on arm some reason codes are not defined.
2024-10-08 10:09:19 +02:00
akallabeth
99b5d2298b
[primitives,sse] fix a bug in sse4.1 primitives copy 2024-10-08 09:38:20 +02:00
akallabeth
0c0a5f4234
Merge pull request #10711 from hardening/sdl3_fix3
Fixes for the SDL3 client
2024-10-07 12:11:32 +02:00
David Fort
d05c781cd9 sdl3 client: take in account last SDL changes
This patch uses the last changes in the SDL3 clipboard to have that clean separation
between mime type announcement and retrieving the corresponding clipboard data. With
these changes we don't have anymore that spurious notifications where we loose the
clipboard ownership, and also we don't trigger data retrieval by calling functions
like SDL_ClipboardHasText().
2024-10-07 11:48:41 +02:00
akallabeth
4cd680c9fc
Merge pull request #10712 from akallabeth/file-handle-fixes
[winpr,file] make handle creators return const
2024-10-07 11:26:26 +02:00
akallabeth
7e8c374fe2
[winpr,file] make handle creators return const
* let the file handle creators return const HANDLE_CREATOR
* for comm port use winpr_definition_add(-DWINPR_HAVE_SERIAL_SUPPORT) to
  have the definition visible at correct scope
* create namedPipeClient.h for handle creator function declaration
2024-10-07 10:15:34 +02:00
akallabeth
326fb337ef
Merge pull request #10292 from oleg0421/rdpecam_client_mjpeg_support
[channel,rdpecam] MJPEG input format support
2024-10-07 09:45:56 +02:00
David Fort
35df9e95ad sdl3: fix build with last SDL_ttf 2024-10-07 09:42:47 +02:00
oleg0421
4797609b80 [channel,rdpecam] MJPEG input format support 2024-10-05 17:32:43 -07:00
akallabeth
48eb68b53b
Merge pull request #10707 from akallabeth/alsa-mic-fix
Alsa mic fix
2024-10-04 21:20:15 +02:00
akallabeth
8ea903091b
[winpr,platform] disable GCC pragma
GCC does not support -Wtautological-constant-out-of-range-compare
2024-10-04 16:12:03 +02:00
akallabeth
cf46f341f6
[channels,audin] fix alsa backend
* Fix wrong variable passed to receive
* Improve logging/error handling
2024-10-04 16:11:53 +02:00
akallabeth
f4cac29f3c
[channels,audin] fix string to int conversion
use strtoul for unsigned values
2024-10-04 12:05:10 +02:00
akallabeth
140fe9c50f
[clang-tidy] disable readability-misleading-indentation
this only triggers because of some #ifdef and some of our macros. As all
the code is clang-formatted anyway the warning is useless.
2024-10-03 21:21:46 +02:00
akallabeth
f00d9c45e0
[warnings] fix integer narrowing
fix function freerdp_tls_write_all
2024-10-03 21:21:46 +02:00
akallabeth
503b9f0bb7
[warnings] fix integer narrowing 2024-10-03 21:21:45 +02:00
akallabeth
4fc2e1bb3e
[warnings] fix integer narrowing 2024-10-03 21:21:44 +02:00
akallabeth
4b5274c34f
[warnings] fix integer narrowing 2024-10-03 21:21:44 +02:00
akallabeth
04bd097455
[warnings] fix integer narrowing 2024-10-03 21:21:43 +02:00
akallabeth
544c6ddce6
[warnings] fix integer narrowing 2024-10-03 21:21:42 +02:00
akallabeth
53497a572d
[warnings] fix integer narrowing 2024-10-03 21:21:42 +02:00
akallabeth
57ed259be2
[warnings] fix integer narrowing 2024-10-03 21:21:41 +02:00
akallabeth
b19dcf8d68
[warnings] fix integer narrowing 2024-10-03 21:21:41 +02:00
akallabeth
eceab9aedb
[warnings] fix integer narrowing 2024-10-03 21:21:40 +02:00