akallabeth
ba8fd2ada5
[cmake] force configuration options
...
limit multiconfiguration options to supported types
2024-12-05 09:36:23 +01:00
akallabeth
9ac770b70e
[cmake] use configuration generator expressions
2024-12-05 09:19:46 +01:00
David Fort
d38bf5a5e1
Merge pull request #10915 from akallabeth/reconnect-fix
...
[core,freerdp] fix automatic reconnect after auth
2024-12-04 22:35:21 +01:00
akallabeth
54a1177965
Merge pull request #10916 from akallabeth/manpage-no-exit
...
[common,man] eliminate exit() calls
2024-12-04 16:55:31 +01:00
Armin Novak
e12f3fd15a
[common,man] eliminate exit() calls
2024-12-04 16:22:28 +01:00
Armin Novak
5a7621bfa3
[core,freerdp] fix automatic reconnect after auth
...
In freerdp_connect do an automatic reconnect if we failed with a
FREERDP_ERROR_CONNECT_TRANSPORT_FAILED
This way we can prevent connection disconnects if the remote was
disconnected due to timeout (e.g. Auth-Dialog was open for a long time)
2024-12-04 15:49:47 +01:00
Martin Fleisz
af4e3ede0c
Merge pull request #10914 from akallabeth/winpr-hash
...
[winpr,tools] remove exit() from hash-cli tool
2024-12-04 14:36:56 +01:00
Armin Novak
f9b8303b4e
[winpr,tools] remove exit() from hash-cli tool
2024-12-04 14:20:49 +01:00
akallabeth
8b05f8bee5
Merge pull request #10913 from hardening/freerdp_settings_set_pointer_len_
...
Cleanup freerdp_settings_set_pointer_len_
2024-12-04 14:07:00 +01:00
David Fort
f0f830f3e9
Cleanup freerdp_settings_set_pointer_len_
...
Instead of doing convertions to SSIZE_T for the key length id, use FreeRDP_UINT32_UNUSED
when a pointer has no associated len key.
2024-12-04 13:45:39 +01:00
Martin Fleisz
fb52b02487
Merge pull request #10894 from akallabeth/unify-simd-detection
...
[CMake,simd] unify WITH_SSE2, WITH_AVX2, WITH_NEON
2024-12-04 09:05:52 +01:00
akallabeth
05801a1623
Merge pull request #10773 from akallabeth/wtypes.h
...
[winpr,wtypes] simplify by basing on stdint.h
2024-12-03 17:50:09 +01:00
akallabeth
3253f30204
Merge pull request #10909 from akallabeth/shadow-gfx-fix
...
[channels,rdpgfx] fix rdpgfx_server_packet_complete_header
2024-12-03 17:26:25 +01:00
akallabeth
60dd32fbc7
[channels,rdpgfx] fix rdpgfx_server_packet_complete_header
...
a condition check was inverted preventing server side gfx packets to be
sent.
2024-12-03 17:11:37 +01:00
akallabeth
c2beba472e
Merge pull request #10905 from akallabeth/monitor-check-verbose
...
Monitor check verbose
2024-12-03 13:34:38 +01:00
akallabeth
646cacca0e
[core,settings] add instructions on fail
...
Add bug reporting instructions for failing monitor configurations
2024-12-03 13:06:29 +01:00
akallabeth
d48cd481e7
[core,settings] dump monitor configuration to log
2024-12-03 13:00:54 +01:00
Martin Fleisz
f526e6a8c2
Merge pull request #10907 from akallabeth/clip-fix-unicode
...
[winpr,clipboard] follow up to #10901
2024-12-03 11:58:55 +01:00
akallabeth
172fe47c85
[ci,cmake-format] add ci configuration
...
also format the ci configuration files
2024-12-03 11:54:38 +01:00
akallabeth
b4976163cd
[CMake,simd] unify WITH_SSE2, WITH_AVX2, WITH_NEON
...
* Add new CMake option WITH_SIMD to enable best available instruction
type
* Unify simd related defines in single header
2024-12-03 11:54:36 +01:00
akallabeth
be6c108189
[winpr,clipboard] follow up to #10901
...
CF_UNICODETEXT is UCS-2 encoded, so determine string length with
_wscnlen, the other string types are in local encoding which requires
strnlen
2024-12-03 11:40:53 +01:00
Martin Fleisz
4b35fe8cfa
Merge pull request #10900 from akallabeth/drive-sync
...
[channels,drive] allow operation on main thread
2024-12-03 10:17:46 +01:00
akallabeth
861e3bbe65
[channels,drive] allow operation on main thread
2024-12-03 09:58:09 +01:00
akallabeth
7748cbc816
Merge pull request #10904 from joantolo/rdstls-parse-fix
...
[core,rdstls] fix rdstls parsing
2024-12-03 09:31:27 +01:00
akallabeth
6d0381e36e
[core,transport] fix reading of data
...
in transport_default_read_pdu only try to read the remaining PDU bytes
if we did not already complete that. Calling transport_read_layer_bytes
with a length of 0 returns 0 whereas every other value returns 1 for
success.
2024-12-03 08:48:18 +01:00
akallabeth
def00a32be
[core,settings] add testcases
2024-12-02 21:01:28 +01:00
akallabeth
49f1689496
[core,settings] verbose output on monitor layout failure
2024-12-02 21:01:25 +01:00
Joan Torres
d284d024b6
[core,rdstls] fix rdstls parsing
...
When parsing the rdstls PDU, don't set the stream position at the end.
To know the pduLength is enough getting the last field length and the
stream position.
This fixes transport_read_layer_bytes failing because it was
getting on toRead = 0.
2024-12-02 17:42:31 +01:00
akallabeth
6b81b6ed78
Merge pull request #10901 from akallabeth/clip-fix
...
[winpr,clipboard] fix SetClipboardData
2024-11-30 21:14:47 +01:00
akallabeth
9cc79f3797
[winpr,clipboard] fix SetClipboardData
...
* calloc an additional byte to add (possibly) missing zero termination
* For string types determine length by strnlen
2024-11-30 16:40:24 +01:00
akallabeth
41295e2a0d
[winpr,interlocked] code cleanup
...
* properly compile with and without NONAMELESSUNION
* WINPR_ASSERT all arguments
2024-11-28 15:19:08 +01:00
akallabeth
0d2e20a3c3
[client,windows] fix compilation issues
2024-11-28 15:19:08 +01:00
akallabeth
5c8ca25cd9
[winpr] fix NONAMELESSUNION handling
...
Fix code to compile with and without this set
2024-11-28 15:19:08 +01:00
akallabeth
9c2635a264
[winpr,wtsapi] fix windows compile issues
...
With NONAMELESSUNION defined the code did no longer compile cleanly
2024-11-28 15:19:07 +01:00
akallabeth
7842891d0f
[winpr,spec] fix windows compatibility
...
define NONAMELESSUNION to have the same struct definitions under windows
as we have under linux.
2024-11-28 15:19:06 +01:00
akallabeth
17295d114b
[winpr] fix OVERLAPPED and SYSTEM_INFO definitions
...
rename them to conform to windows versions
2024-11-28 15:18:42 +01:00
akallabeth
06214fec26
[winpr,wtypes] fix LPHANDLE definition
...
PHANDLE and LPHANDLE are pointers to a HANDLE
2024-11-28 15:18:42 +01:00
akallabeth
99d6fdba9d
[winpr,wtypes] simplify by basing on stdint.h
2024-11-28 15:18:40 +01:00
akallabeth
f7e5e6507b
Merge pull request #10895 from akallabeth/cmake-format
...
Cmake format
2024-11-28 14:52:19 +01:00
akallabeth
a2b4b61e18
Merge pull request #10897 from akallabeth/codespell
...
[codespell] fix spelling mistakes
2024-11-28 12:01:18 +01:00
Armin Novak
601249115f
[codespell] fix spelling mistakes
2024-11-28 11:52:22 +01:00
akallabeth
faae38120c
[cmake,format] reformat all cmake files
2024-11-27 20:41:48 +01:00
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