Commit Graph

20175 Commits

Author SHA1 Message Date
akallabeth
de98cde7b2 [cmake,gprof] rename configuration file 2024-11-27 20:41:44 +01:00
akallabeth
ec684b7885 [cmake,format] add formatter script 2024-11-27 20:41:42 +01:00
akallabeth
47c95aa799 Merge pull request #10877 from akallabeth/websocket-simplify
[core,gateway] refactor websocket support
2024-11-25 14:37:39 +01:00
akallabeth
19b56938bc Merge pull request #10889 from ondrejholy/wip/oholy/x11-segfaults
[client,x11] use xf_lock_x11 in xf_cliprdr_server_format_list
2024-11-25 13:34:04 +01:00
akallabeth
fd0b23e33d Merge pull request #10803 from akallabeth/cleanups2
Fix more warnings
2024-11-25 13:03:15 +01:00
Ondrej Holy
946091bcdb [client,x11] use xf_lock_x11 in xf_cliprdr_server_format_list
Currently, the xfreerdp client segfaults when the
`xf_cliprdr_process_selection_request` and
`xf_cliprdr_server_format_list` functions run concurrently. They are
both reading and writing the `serverFormats`, `numServerFormats`,
`response` and possibly some other properties. Let's use the
`xf_local_x11` in the `xf_cliprdr_server_format_list` function
to prevent this.

See: https://issues.redhat.com/browse/RHEL-68126
2024-11-25 12:49:06 +01:00
akallabeth
bb6642e92f Merge pull request #10886 from akallabeth/nightly-deb
[ci,nightly] make fdk-aac optional
2024-11-22 11:41:14 +01:00
akallabeth
c8252a0610 [ci,nightly] make fdk-aac optional 2024-11-22 11:36:45 +01:00
akallabeth
fdba9bfc46 [winpr,thread] improve unittest 2024-11-22 11:10:43 +01:00
akallabeth
cd1330be80 [client,common] const correct variable declaration 2024-11-22 11:01:01 +01:00
akallabeth
ae3160174f [core,fastpath] fix bulk max size
the type is UINT16 so the maximum size can only be UINT16_MAX
2024-11-22 11:00:57 +01:00
akallabeth
1977338a32 [core,orders] fix update_write_brush
* Fix calls, the fieldFlags need to be masked
* Fix implementation, ensure the size is correct and abort on failures
2024-11-22 11:00:54 +01:00
akallabeth
ec3e8b564e fuzz-verbose-assert 2024-11-22 11:00:51 +01:00
akallabeth
64f4acdd2f [core,gdi] improve range asserts
use WINPR_ASSERT_AT to pinpoint location of call of checker function
2024-11-22 11:00:48 +01:00
akallabeth
0dc709a64d implicit-int-conversion 2024-11-22 11:00:45 +01:00
akallabeth
841151c456 implicit-int-conversion 2024-11-22 11:00:42 +01:00
akallabeth
8e7637ce1b implicit-int-conversion 2024-11-22 11:00:39 +01:00
akallabeth
cbffbd16db [winpr,thread] fix bugprone dec in condition 2024-11-22 11:00:36 +01:00
akallabeth
38494f5ce7 [clang,tidy] deactivate suggestions for boost 2024-11-22 11:00:34 +01:00
akallabeth
3029af1a5a [winpr,synch] check for valid file descriptor 2024-11-22 11:00:32 +01:00
akallabeth
402cc34e8c [winpr,synch] fix timer HANDLE casts 2024-11-22 11:00:30 +01:00
akallabeth
79bbb95884 [client,sdl] use std::min 2024-11-22 11:00:27 +01:00
akallabeth
ecbccecef6 [client,sdl] fix global-constructors 2024-11-22 11:00:25 +01:00
akallabeth
163e74844f [pragma] clang does not support -Wdiscarded-qualifiers 2024-11-22 11:00:22 +01:00
akallabeth
7aa233590b [channels,tsmf] fix incompatible pointer types 2024-11-22 11:00:20 +01:00
akallabeth
f084389cd7 [channels,urbdrc] fix enum-enum conversion
* fix integer type of port, use uint8_t
* cast enum values to uint8_t (enum values are used as constants here
  and multiple different ones are mixed together which provokes this
  warning)
2024-11-22 11:00:08 +01:00
akallabeth
b29c5dc6e0 Merge pull request #10885 from akallabeth/stream-write-fix
[winpr,stream] fix 64bit stream function
2024-11-21 20:18:57 +01:00
akallabeth
136a8998c4 [winpr,stream] fix 64bit stream function
* Fix Stream_Write_UINT64* functions
* Add unit tests to cover that
2024-11-21 18:40:11 +01:00
Armin Novak
4cbdd2c176 [core,gateway] refactor websocket support
* Unify read/write functions
* Unify websocket_context setup/teardown/reset
2024-11-21 16:36:39 +01:00
Armin Novak
2c461d0ea9 [core,freerdp] log state if preconnect fails 2024-11-21 16:34:50 +01:00
Martin Fleisz
234f0f2e5a Merge pull request #10883 from akallabeth/optional-prefix-map
[cmake,compiler] check for GCC/clang greater equal 10
2024-11-21 15:56:49 +01:00
akallabeth
baebc02881 [cmake,compiler] check for GCC/clang greater equal 10
for -fdebug-prefix-map et al check for compilers supporting it.
2024-11-21 15:05:18 +01:00
akallabeth
1b4ea3b3c6 Merge pull request #10882 from amazingfate/fix-floatbar-mouse
[client,X11] ignore mouse events not originating in session window
2024-11-21 12:01:57 +01:00
amazingfate
53ad1ea860 [client,X11] ignore mouse events not originating in session window
This is a relaunch of d4be1717c2, which
was deleted by e136444f51.
2024-11-21 12:01:33 +01:00
akallabeth
2779b663ff Merge pull request #10881 from akallabeth/codespell
Codespell
2024-11-21 11:36:04 +01:00
akallabeth
b5f95e0f87 [codespell] fix spelling mistakes 2024-11-21 11:28:06 +01:00
akallabeth
6e7feb8080 [ci,codespell] add workflow running codespell 2024-11-21 11:28:04 +01:00
akallabeth
91380a60b9 Merge pull request #10880 from stephanebill/master
spell check with codespell
2024-11-21 10:22:50 +01:00
akallabeth
f1e4b30507 clang-format after spellcheck changes 2024-11-21 09:53:00 +01:00
stephanebill
4f2afa8c47 spell check with codespell 2024-11-20 16:53:40 -05:00
akallabeth
c4559c39c3 Merge pull request #10875 from akallabeth/rpm-fdk
[ci,nightly] add fdk-aac support for rpm
2024-11-20 10:55:48 +01:00
Armin Novak
2a8bbcc993 [ci,nightly] add fdk-aac support for deb 2024-11-20 10:08:59 +01:00
Armin Novak
d4347ec2ad [ci,nightly] add fdk-aac support for rpm 2024-11-20 10:06:38 +01:00
akallabeth
0b42151b7d Merge pull request #10873 from akallabeth/create-deb
[utils,test] fix invalid format string
2024-11-19 18:06:45 +01:00
akallabeth
38dab4b2ab [utils,test] fix invalid format string 2024-11-19 17:56:45 +01:00
akallabeth
f0859e4bf9 Merge pull request #10872 from akallabeth/create-deb
[ci,nightly] fix braces in create_deb.sh
2024-11-19 16:49:58 +01:00
akallabeth
16c57aec55 [ci,nightly] fix braces in create_deb.sh 2024-11-19 16:36:04 +01:00
akallabeth
e86a2a4b54 Merge pull request #10865 from akallabeth/id_by_name
[core,client] fix freerdp_channels_get_id_by_name
2024-11-18 17:58:28 +01:00
akallabeth
e3c3b92500 Merge pull request #10870 from akallabeth/shadow-fix
[servser,shadow[ fix bitmap update error message
2024-11-18 17:58:12 +01:00
akallabeth
4dfe2968d0 [servser,shadow[ fix bitmap update error message 2024-11-18 17:12:03 +01:00