Commit Graph

21344 Commits

Author SHA1 Message Date
akallabeth
ca8a644d04 [crypto,key] do not deprecate new_from*
Do not deprecate the functions to read an unencrypted key from file or
PEM. While the extended versions of the function now exist these still
have their use.
2025-04-25 14:59:34 +02:00
akallabeth
4e63699553 Merge pull request #11534 from akallabeth/proxy-addr-types
[core,proxy] detect address type
2025-04-25 14:47:25 +02:00
akallabeth
218c4492a3 [core,proxy] detect address type
* refactor code to make it more readable
* add support for IPv4, IPv6 and FQDN hostname types
2025-04-25 14:15:31 +02:00
akallabeth
abf7b1b758 Merge pull request #11533 from akallabeth/device-resize-fix
[core,settings] fix freerdp_device_collection_add
2025-04-25 10:33:30 +02:00
akallabeth
06564e4bc2 [core,settings] fix freerdp_device_collection_add
* Assert usage of DeviceArray, ensure returned values are != NULL if
  within DeviceCount
* Only reset newly allocated DeviceArray members on resize
2025-04-25 10:21:37 +02:00
akallabeth
910185921d Merge pull request #11530 from akallabeth/pulse
[rdpsnd/client] add parameters to pulse snd device plugin
2025-04-25 07:54:58 +02:00
Mark Nauwelaerts
3a4ead2e6c [rdpsnd/client] add parameters to pulse snd device plugin
... to specify pulseaudio client name and stream name
2025-04-24 21:41:06 +02:00
akallabeth
e54781b028 Merge pull request #11527 from hardening/serverside_multimn_fix
gcc: fix server-side connection with multiple monitor
2025-04-23 14:49:46 +02:00
David Fort
801c3fdda3 gcc: fix server-side connection with multiple monitor
The check was inverted and so any connection with multiple monitors was failing.
2025-04-23 14:17:37 +02:00
David Fort
ab8deea11e Merge pull request #11525 from bmiklautz/desktophandler
fix [resources]: remove MimeType from desktop file
2025-04-23 12:16:51 +02:00
Bernhard Miklautz
2ac047d472 fix [resources]: remove MimeType from desktop file
freerdp-file.desktop.template contains the MimeType handler and
handles the arguments.
2025-04-23 11:41:51 +02:00
akallabeth
3145267750 Merge pull request #11523 from akallabeth/warn-fixes
Warn fixes
2025-04-23 10:30:41 +02:00
Armin Novak
b8f5b9c719 [core,order] fix const correctness 2025-04-23 10:13:36 +02:00
Armin Novak
549ba56233 [crypto,key] eliminate dead code 2025-04-23 10:13:36 +02:00
Armin Novak
bc22b9d8da [common,settings] eliminate dead code 2025-04-23 10:13:30 +02:00
akallabeth
929bad366b Merge pull request #11522 from akallabeth/test-fix
[common,settings] fix add_string_or_null
2025-04-23 10:01:22 +02:00
Armin Novak
6a20b7bfd8 [common,settings] fix add_string_or_null
* If the value is NULL do not check WINPR_JSON_AddNullToObject return as
  that is most likely also NULL
* Fix testcase, always use goto for error handling
2025-04-23 09:31:59 +02:00
akallabeth
3532cc0dc9 Merge pull request #11520 from mnauw/winpr_sysinfo_time
[winpr,sysinfo] use a single clock to provide System and Local time
2025-04-23 09:08:17 +02:00
Mark Nauwelaerts
b7a2eecaa1 [winpr,sysinfo] use a single clock to provide System and Local time
... rather than a different one for second and sub-second part
2025-04-22 21:01:54 +02:00
akallabeth
ab413f41e6 Merge pull request #11517 from akallabeth/glyph-cache
[cache,glyph] fix GLYPH_FRAGMENT_USE
2025-04-22 16:12:29 +02:00
akallabeth
39ca16f4aa [cache,glyph] fix GLYPH_FRAGMENT_USE 2025-04-22 13:29:57 +02:00
akallabeth
243c6d46f4 Merge pull request #11516 from akallabeth/sdl-build-fix
[client,sdl] hide implementation details
2025-04-22 12:30:06 +02:00
akallabeth
1f7b7fbb5d Merge pull request #11508 from akallabeth/settings-serialize
[common,settings] new settings (de)serialization API
2025-04-22 12:16:52 +02:00
akallabeth
45d42d1db3 [client,sdl] fix SDL-ttf usage
* hide library in sdl/dialogs, do not call functions from outside
2025-04-22 12:05:57 +02:00
Armin Novak
a4c4bad132 [common,settings] new settings (de)serialization API
* Add rdpKey to PEM conversion
* Modify WINPR_JSON_Version to return -1 if not supported
* Add rdpSettings serialize and deserialize functions
2025-04-22 12:00:48 +02:00
akallabeth
2fb2e5f9c5 [crypto,key] add function to export PEM and create a key
* freerdp_key_generate creates a new key
* freerdp_key_get_pem exports the key as PEM
2025-04-22 12:00:40 +02:00
akallabeth
0eefdbdb40 [cmake,json] improve json detection 2025-04-22 10:20:01 +02:00
akallabeth
2c74263b60 [ci,qa] use opaque settings
helps clang-tidy to eliminate false positives by removing external
access to settings struct members
2025-04-22 10:19:54 +02:00
akallabeth
052fe08cd2 Merge pull request #11511 from lazy5f/unicode-apple-fix
[winpr] Put '\0' when converting empty string to wstr
2025-04-20 23:08:18 +02:00
akallabeth
20ce2acd96 Merge pull request #11510 from pnowack/fix-rdpei-pdulen
rdpei/server: Fix incorrect PDU length read
2025-04-20 21:40:36 +02:00
lazy5f
706110ef4e [winpr] Put '\0' when converting empty string to wstr 2025-04-20 18:06:15 +09:00
Pascal Nowack
a16cb1da63 rdpei/server: Fix incorrect PDU length read
The PDU length is a 32-bit unsigned integer and not a 16-bit one.
2025-04-19 20:30:24 +02:00
akallabeth
6a4bbfc047 Merge pull request #11506 from akallabeth/rdp-sec-fixes
Rdp sec fixes
2025-04-15 16:33:31 +02:00
Armin Novak
88a3c94adc [crypto,certificate] Add a fallback for weak RSA keys
X509_dup fails with weak RSA keys. RDP security does still use them, so
add a fallback to recreate the X509 from the raw RSA data.
2025-04-15 16:30:29 +02:00
Armin Novak
e92f0170e4 [core,settings] handle empty OrderSupport and received capabilities 2025-04-15 16:09:46 +02:00
akallabeth
0d901eeed1 Merge pull request #11504 from akallabeth/sdl-draw-fix
Sdl draw fix
2025-04-15 10:50:53 +02:00
Armin Novak
ce8fc4e0f4 [client,sdl] only draw to window if connected 2025-04-15 10:16:22 +02:00
Armin Novak
4cb1536d2c [utils,smartcard] ignore ConvertWCharToUtf8 return 2025-04-15 10:12:18 +02:00
akallabeth
5f54f13566 Merge pull request #11503 from akallabeth/scard-log
[utils,smartcard] improve trace log
2025-04-14 23:21:29 +02:00
akallabeth
2e7e6dde87 [utils,smartcard] improve trace log 2025-04-14 22:36:45 +02:00
akallabeth
7e9c0f8e9a Merge pull request #11502 from akallabeth/sdl-primary
[client,sdl] force primary monitor in windowed mode
2025-04-14 21:49:04 +02:00
Armin Novak
fca2974219 [client,sdl] force primary monitor in windowed mode 2025-04-14 16:18:07 +02:00
akallabeth
ef71aae578 Merge pull request #11500 from akallabeth/release-3.15.0
Release 3.15.0
2025-04-14 15:13:53 +02:00
Armin Novak
9e68bd2685 start 3.15.1-dev0 cycle 2025-04-14 15:11:42 +02:00
Armin Novak
0ce68ddd1c release 3.15.0 2025-04-14 15:11:41 +02:00
Armin Novak
1d75ccee48 changelog 2025-04-14 15:11:41 +02:00
Armin Novak
69fcafcaae [ci,abi] suppress shadow_server_command_line_status_print
suppress change of argument to const type
2025-04-14 15:11:38 +02:00
akallabeth
0d6f7241b3 Merge pull request #11499 from akallabeth/touch
rdpei/server: Add optional threaded handling of messages
2025-04-14 14:54:01 +02:00
Pascal Nowack
eb3fdc3a22 rdpei/server: Add optional threaded handling of messages 2025-04-14 14:40:30 +02:00
Armin Novak
55737d1cdd [client,sdl] fix compiler warning 2025-04-14 14:40:27 +02:00