Armin Novak [Wed, 22 Jan 2020 14:17:03 +0000 (15:17 +0100)]
Fixed duplicate call to NtCurrentTeb
(cherry picked from commit
ca1fe0193e2728635b415478dc366939817cfb6c)
Armin Novak [Fri, 29 Nov 2019 08:33:40 +0000 (09:33 +0100)]
Fix NTLM auth message return code.
(cherry picked from commit
aae3386226b1173c47a22843d52e5ed9897586e0)
akallabeth [Fri, 16 Apr 2021 13:30:54 +0000 (15:30 +0200)]
Cleaned up SAM file parser.
(cherry picked from commit
b500800104d3e07f2c00d3c6bc9a78f24193577e)
akallabeth [Fri, 16 Apr 2021 11:55:59 +0000 (13:55 +0200)]
Fixed log filter initialization from env
(cherry picked from commit
4dc40c4b642372a1691ee17295555c5f5babec2e)
akallabeth [Fri, 16 Apr 2021 08:58:47 +0000 (10:58 +0200)]
Updated changelog for #6938
akallabeth [Fri, 16 Apr 2021 08:50:08 +0000 (10:50 +0200)]
Fixed #6938: Remote app mode clipboard fix
In remote app mode the _FREERDP_TIMESTAMP_PROPERTY does not work.
Therefore ignore it
(cherry picked from commit
f2254f0b09a5fbc424ef3876cb47b03d83963c38)
akallabeth [Mon, 15 Mar 2021 12:29:35 +0000 (13:29 +0100)]
Updated changelog. (#6906)
akallabeth [Mon, 15 Mar 2021 09:04:59 +0000 (10:04 +0100)]
Ensure canvas background is black before drawing
(cherry picked from commit
618afd7028219610ecf580d10eab6e38096b6408)
akallabeth [Mon, 15 Mar 2021 08:49:23 +0000 (09:49 +0100)]
Updated OpenSSL and android dependencies
(cherry picked from commit
54fa29dc2d2125578efe6c80b214f42b669a140d)
Armin Novak [Fri, 12 Mar 2021 11:24:42 +0000 (12:24 +0100)]
Reverted winpr_BinToHexString argument change
keep API compatible.
akallabeth [Mon, 25 Jan 2021 09:06:01 +0000 (10:06 +0100)]
Fixed CodeQL warnings
(cherry picked from commit
95a9e60827c91cb9b924d7ce3c220c30bd36907d)
Armin Novak [Fri, 12 Mar 2021 10:53:34 +0000 (11:53 +0100)]
Fix /monitor-list
Armin Novak [Fri, 12 Mar 2021 09:53:41 +0000 (10:53 +0100)]
Updated changelog
Armin Novak [Fri, 12 Mar 2021 09:58:23 +0000 (10:58 +0100)]
Fixed #6882: Use default output device on mac
(cherry picked from commit
b09d2044e13577c68127effff3d3716c45f7571d)
akallabeth [Fri, 12 Mar 2021 07:56:23 +0000 (08:56 +0100)]
Fixed mac issues with smartcard context cleanup (#6890)
(cherry picked from commit
b8a8ae4622a2c426c54c300b32c50316f0af42b0)
Armin Novak [Fri, 12 Mar 2021 09:15:51 +0000 (10:15 +0100)]
Added missing bounds check.
(cherry picked from commit
2e6069d95b997d0dc7d2cc118255570d22f0ae0c)
Armin Novak [Fri, 12 Mar 2021 09:07:44 +0000 (10:07 +0100)]
Added fuzzying test for planar decoder
(cherry picked from commit
9bbc2cd094ac837a8f1196e80e7643c00436e486)
Armin Novak [Fri, 12 Mar 2021 08:29:55 +0000 (09:29 +0100)]
Added bounds check in rdpgfx_recv_wire_to_surface_1_pdu
(cherry picked from commit
5fc3846f7793d4afe48387ac3aeffd4ad6852bab)
Armin Novak [Fri, 12 Mar 2021 08:12:28 +0000 (09:12 +0100)]
Added bounds checks to gfx commands
(cherry picked from commit
dd61853142a07af0eca80c901292075373a6b2d6)
akarl [Fri, 5 Mar 2021 17:19:06 +0000 (18:19 +0100)]
use tlsOut BIO when using websocket in rdg_bio_ctrl
(cherry picked from commit
0e19c443e41cdc031a38a6ea24298972420af778)
akallabeth [Tue, 9 Mar 2021 12:57:59 +0000 (13:57 +0100)]
Updated changelog
Armin Novak [Tue, 9 Mar 2021 11:23:37 +0000 (12:23 +0100)]
Filter RDPDR types other than drives on windows hotplug
(cherry picked from commit
6f599eabbedace4adc215186783deec680057003)
akallabeth [Tue, 9 Mar 2021 11:09:58 +0000 (12:09 +0100)]
Use specific names for drive hotplug special values
(cherry picked from commit
b1be3d78fcc63a5842f7707a139b2582a4a42b21)
akallabeth [Tue, 9 Mar 2021 08:22:39 +0000 (09:22 +0100)]
Check smartcard_convert_string_list for NULL string
In #6821 it has been reported that there are buggy smartcard
drivers that report a string size but fail to allocate the string
itself. This check avoids a crash with such input parameters
(cherry picked from commit
f8b1e662b33f7b8f77cf6582d549348c2d048a2e)
akallabeth [Mon, 8 Mar 2021 13:33:46 +0000 (14:33 +0100)]
Updated changelog.
akallabeth [Mon, 8 Mar 2021 13:31:17 +0000 (14:31 +0100)]
Backported #6865: Disable websockets command line option
akallabeth [Mon, 8 Mar 2021 13:23:28 +0000 (14:23 +0100)]
Updated changelog.
akallabeth [Mon, 8 Mar 2021 12:52:29 +0000 (13:52 +0100)]
Fix xf_Pointer_SetPosition with smart-sizing
(cherry picked from commit
d3e3ab7b5d5ce376ba72fa1fc0aee2f25c9682b4)
Armin Novak [Fri, 5 Mar 2021 08:01:44 +0000 (09:01 +0100)]
Updated changelog
Armin Novak [Tue, 2 Mar 2021 08:11:28 +0000 (09:11 +0100)]
Added API check to allow compilation/run with mac os < 10.14
(cherry picked from commit
1cd97c327048ce87bb4e6da307f9ff959497cd3e)
akallabeth [Thu, 4 Mar 2021 13:26:35 +0000 (14:26 +0100)]
Parse on a copy of the argument string for printer
If done on original the wrong backend is loaded on autoreconnect
(cherry picked from commit
af1c6ebcb49c93d636817ec98f74d07cba9d7f26)
akallabeth [Thu, 4 Mar 2021 13:31:46 +0000 (14:31 +0100)]
Updated changelog
Armin Novak [Wed, 3 Mar 2021 10:39:55 +0000 (11:39 +0100)]
Fixed smartcard_convert_string_list with 0 length
(cherry picked from commit
e9904e286f43dea5940182b25740730c55e7c8a6)
akallabeth [Tue, 2 Mar 2021 07:03:12 +0000 (08:03 +0100)]
Updated changelog for next stable
akallabeth [Tue, 1 Dec 2020 10:44:14 +0000 (11:44 +0100)]
Fixed linking dependencies for client geometry channel
(cherry picked from commit
7056433c8ecd045912fecb896ffa2eac3aad1410)
akallabeth [Tue, 2 Mar 2021 06:50:17 +0000 (07:50 +0100)]
Fixed format string in smartcard_trace_state_return
(cherry picked from commit
ca96c4450707d39dbd5c94f2b1c4ae807789b012)
akallabeth [Mon, 1 Mar 2021 09:29:33 +0000 (10:29 +0100)]
Added -DDEFINE_NO_DEPRECATED CMake option
With that option all symbols marked deprecated are no longer
compiled. This helps testing compatibility of external apps.
akallabeth [Sat, 27 Feb 2021 07:40:16 +0000 (08:40 +0100)]
Added changelog.
akallabeth [Sat, 27 Feb 2021 16:37:35 +0000 (17:37 +0100)]
Fixed a leak on mouse cursor updates
akallabeth [Sat, 27 Feb 2021 07:35:33 +0000 (08:35 +0100)]
Reverted connectErrorCode removal
Reverted changes from
e4b30a5cb6100a8ea4f320b829c9c5712ed4a783
removing the symbol/define, keep the changes for the clients.
Mark as deprecated
akallabeth [Sat, 27 Feb 2021 07:30:01 +0000 (08:30 +0100)]
Added explicit warnings for experimental/unstable features
akallabeth [Sat, 27 Feb 2021 07:29:46 +0000 (08:29 +0100)]
Added compatibility define
akallabeth [Wed, 24 Feb 2021 06:24:07 +0000 (07:24 +0100)]
Updated changelog
akallabeth [Wed, 24 Feb 2021 06:23:54 +0000 (07:23 +0100)]
Compatibility reordering of new symbols in struct
akallabeth [Sat, 23 Jan 2021 09:01:48 +0000 (10:01 +0100)]
Force enable wayland in ci and nightly
(cherry picked from commit
ce396a9aff3b63edd76a92e71d96c64d1d237fb2)
Bernhard Miklautz [Fri, 4 Dec 2020 13:21:12 +0000 (14:21 +0100)]
ci [codeql]: run apt update before install
(cherry picked from commit
7bec71a63265bd8fd50e249bc733697f469e45cd)
akallabeth [Mon, 23 Nov 2020 08:36:21 +0000 (09:36 +0100)]
Create codeql-analysis.yml
(cherry picked from commit
2b676bf1e7de111cd63c7f77cbbbf1d299b3a8fd)
akallabeth [Thu, 18 Feb 2021 15:48:09 +0000 (16:48 +0100)]
Fixed smartcard crash on error return (invalid length)
Armin Novak [Wed, 17 Feb 2021 15:45:56 +0000 (16:45 +0100)]
Fixed #6821: _stricmp does not like NULL strings
(cherry picked from commit
7b211e525892f056c18c827b9f56ccc24d6ae5f3)
Armin Novak [Thu, 11 Feb 2021 16:13:28 +0000 (17:13 +0100)]
Updated windows time zones 2021-02-11
(cherry picked from commit
2e5c09f20984654b3cc9a5ec32683dcff0b25df6)
akallabeth [Tue, 16 Feb 2021 16:05:27 +0000 (17:05 +0100)]
2.0 compatibility for rdpinput flag debug function
akallabeth [Fri, 12 Feb 2021 13:18:24 +0000 (14:18 +0100)]
Fixed #6712: Use window size from settings
The xfc->window might be NULL (remote app, ...)
(cherry picked from commit
6ecd440658eee7dbd0a07c1366946046746d0b8d)
Fabio Fantoni [Sun, 14 Feb 2021 17:35:42 +0000 (18:35 +0100)]
Minor typo fix
From debian packages patch done by Mike Gabriel
<mike.gabriel@das-netzwerkteam.de>
(cherry picked from commit
5c408e080e66c917ec4aeaaadf324b9665ba992a)
Marc-André Moreau [Thu, 11 Feb 2021 20:05:53 +0000 (15:05 -0500)]
freerdp-client: don't enable vmconnect mode based on PCB field presence in .RDP file
(cherry picked from commit
4e14e7d41e10f39de9a0fafe53461e9fb5ebc765)
akallabeth [Fri, 12 Feb 2021 07:30:01 +0000 (08:30 +0100)]
Fixed formatting and source/destination length use
(cherry picked from commit
f0ba8d7fb9c21b1134a3089eda661852b2861c0e)
mingfang [Fri, 12 Feb 2021 02:27:24 +0000 (10:27 +0800)]
libfreerdp: core: deep copy ServerCertificate
(cherry picked from commit
b0783771055f55dccde85f8f5e50954ffca93383)
Armin Novak [Thu, 11 Feb 2021 11:43:05 +0000 (12:43 +0100)]
Compatibility commit for RDPEI API
Armin Novak [Thu, 11 Feb 2021 11:31:54 +0000 (12:31 +0100)]
Fixed issue with backported websockets support
Armin Novak [Thu, 11 Feb 2021 08:15:18 +0000 (09:15 +0100)]
Updated changelog
Pascal Nowack [Wed, 10 Feb 2021 17:50:51 +0000 (18:50 +0100)]
clients: Use the correct wheel rotation value
For the negative scrolling direction, RDP uses the two's complement,
instead of the positive wheel value with the negative flag.
xfreerdp currently uses the positive wheel value in addition to the
negative flag, which results in a wrong wheel value on the server side
(136 instead of 120).
Fix this, by using the correct wheel rotation value, which is in the
two's complement.
(cherry picked from commit
1087a5e1a64cb591efb44b67cfa5a97a7f40aaf7)
akallabeth [Wed, 10 Feb 2021 14:32:07 +0000 (15:32 +0100)]
Fixed #6801: Delay sending of resolution change
Changed the logic of the disp channel to wait for 800ms after a
ConfigureNotify before sending the new resolution.
The problem fixed with this patch is the following:
1. Resize the window with the mouse
2. ConfigureNotify triggers a resize notification
3. The server resizes to the desired resolution
3a. More ConfigureNotify events are generated
4. The local window resize to the new resolution triggers another
ConfigureNotify
a. Depending on the timing (sending is already rate limited) the
events from 3a and 4 will make the size of the window jump
b. Very fast resizing will pick a random resolution from the
sequence of ConfigureNotify events as the final resolution
(cherry picked from commit
d3ed42a7994975098973c5f29f1ab98f7bdac2bf)
Armin Novak [Mon, 8 Feb 2021 09:41:34 +0000 (10:41 +0100)]
Added ConnectionStateChangeEvent for clients
Clients can now subscribe to connection state change events to
prevend data from being transmitted on sessions being redirected.
(cherry picked from commit
27f6df97783c6f18377f91c9e229cce2b7d6c694)
Michael Saxl [Mon, 25 Jan 2021 15:20:18 +0000 (16:20 +0100)]
rdg websocket support
(cherry picked from commit
99489318f4832dbeca2130ae2c45f26c4e9a85bd)
akallabeth [Tue, 9 Feb 2021 14:48:20 +0000 (15:48 +0100)]
Fixed a ConvertToUnicode issue and added a unit test
(cherry picked from commit
e15684cb1477e2fac6170835ac9132443dc79970)
Armin Novak [Mon, 8 Feb 2021 15:42:40 +0000 (16:42 +0100)]
Always return data on SCardGetStatusChange
If the call fails just return empty data for each reader.
(cherry picked from commit
f0317a5e0fdc31f7f5f014e90e2b349fc7824bf2)
akallabeth [Sun, 7 Feb 2021 17:48:59 +0000 (18:48 +0100)]
Fixed issue with GetAttr where the result buffer was not allocated
(cherry picked from commit
38ae006db981c5bb031d5fbd957d99d2fef5c14a)
akallabeth [Sun, 7 Feb 2021 17:13:18 +0000 (18:13 +0100)]
Fixed GetAttrib return length
(cherry picked from commit
5342f351ea441c1c3c1b34af216d583051e84fdc)
akallabeth [Sun, 7 Feb 2021 11:21:44 +0000 (12:21 +0100)]
Fixed smartcard_unpack_reader_state, allow empty names
(cherry picked from commit
2757b5d6c08e05154d5968c2fc04f7b15a7ea3d3)
akallabeth [Sat, 6 Feb 2021 15:59:51 +0000 (16:59 +0100)]
Fixed SCardTransmit return
(cherry picked from commit
ad4694f7a02cb9295795b6c5d07fa9bdb1614d2b)
akallabeth [Sat, 6 Feb 2021 14:55:21 +0000 (15:55 +0100)]
Fixed SCardState wrapper
(cherry picked from commit
e5a1dae34f018d45049304a10a22658d853b1cc0)
akallabeth [Sat, 6 Feb 2021 14:22:38 +0000 (15:22 +0100)]
Unified smartcard call data structs
(cherry picked from commit
2674d3b2f3700e0b4bc859d41b4506d8c28d2d95)
akallabeth [Sat, 6 Feb 2021 14:08:57 +0000 (15:08 +0100)]
Unified smartcard handle converstion
(cherry picked from commit
69d33da061ff15d2c016de1569b54ca68a578f05)
akallabeth [Sat, 6 Feb 2021 13:28:28 +0000 (14:28 +0100)]
Fixed various return values in case of result != SCARD_S_SUCCESS
(cherry picked from commit
e32305dd3a09312cc04e428bb7d2cb5395be1fdd)
akallabeth [Sat, 6 Feb 2021 11:40:17 +0000 (12:40 +0100)]
Fixed GetAttrib call
(cherry picked from commit
99d228251c73c3c33bc1119ceb7d084f77d80076)
akallabeth [Sat, 6 Feb 2021 11:21:03 +0000 (12:21 +0100)]
refactored smartcard allocations
(cherry picked from commit
27ba319c89ab46431b0df1b9ad41daf68b7eae6f)
akallabeth [Fri, 5 Feb 2021 16:12:52 +0000 (17:12 +0100)]
Fixed SCard debug WCHAR string lengths
(cherry picked from commit
a9409221d073e8665a1f27da764d9d042f557e0f)
akallabeth [Fri, 5 Feb 2021 16:11:58 +0000 (17:11 +0100)]
Fixed double free in PCSC_SCardGetAttrib_FriendlyName
(cherry picked from commit
c1575fa99aa9fae335cf6b0f4107c0e12aa7d931)
Armin Novak [Fri, 5 Feb 2021 12:31:46 +0000 (13:31 +0100)]
Reordered UWAC events to keep compatibility
Armin Novak [Fri, 5 Feb 2021 08:55:50 +0000 (09:55 +0100)]
Changelog for 2.3.0
Armin Novak [Fri, 5 Feb 2021 11:42:20 +0000 (12:42 +0100)]
Compatibility changes
Renamed symbols and added wrappers to keep API compatible with
2.0 branch.
Armin Novak [Fri, 5 Feb 2021 10:13:11 +0000 (11:13 +0100)]
Increased version to 2.3.0
Armin Novak [Fri, 5 Feb 2021 10:06:23 +0000 (11:06 +0100)]
Do not recreate already initialized codecs
GFX and SurfaceBits commands share a common codec backend.
Recreating all codec context on GFX initialization will break
clients that are decoding SurfaceBits codec while having the GFX
channel initialized.
(cherry picked from commit
91a6ac131370c48a742b8bcc58ad188bb7ed60f8)
akallabeth [Thu, 28 Jan 2021 13:08:35 +0000 (14:08 +0100)]
Fixed default return for DrawOrderInfo
(cherry picked from commit
4587ef976c07a06f9fe751e2857bddea2a6e9a69)
akallabeth [Wed, 27 Jan 2021 22:25:57 +0000 (23:25 +0100)]
Fix length return for SCARD_ATTR_VENDOR_NAME
(cherry picked from commit
cf2d26dbbd7491d2039c6bb13cd4cc0130f50cd6)
Armin Novak [Wed, 27 Jan 2021 14:07:44 +0000 (15:07 +0100)]
Fixed PCSC_SCardGetAttrib wrapper
(cherry picked from commit
17d8267de70719d1ac7357bc71d177bf36c6ad86)
akallabeth [Tue, 26 Jan 2021 16:22:42 +0000 (17:22 +0100)]
Dereference ppbAttr as argument for SCardGetAttrib
(cherry picked from commit
1efcd605e02bdbe54121d9f1da85d6874c26f59e)
Armin Novak [Wed, 28 Oct 2020 11:22:48 +0000 (12:22 +0100)]
Added option to remap scancodes
(cherry picked from commit
d7bf6553c558db64e5e3108b08f8ee1d394d1393)
Armin Novak [Fri, 5 Feb 2021 08:39:07 +0000 (09:39 +0100)]
Compatibility commit
* Adds compatibility defines for 2.2.0
* Reorders some newe fields in structs to improve compatibility
Vic Lee [Thu, 4 Feb 2021 05:01:38 +0000 (13:01 +0800)]
progressive: fix multiple regions in one gfx frame.
(cherry picked from commit
7f94095a0670f6d0bc19021e6e1439cf934edf52)
0140454 [Thu, 4 Feb 2021 13:51:23 +0000 (21:51 +0800)]
libuwac: Fix code format
(cherry picked from commit
706b6ddbb12a22986a1a86171d4c19775f4a5d6f)
0140454 [Thu, 4 Feb 2021 12:24:49 +0000 (20:24 +0800)]
Sync numlock, capslock state in Wayland
(cherry picked from commit
b56a3691ca35a7f55e31998c55a40a9da9d0d745)
0140454 [Thu, 4 Feb 2021 12:23:02 +0000 (20:23 +0800)]
libuwac: Add UwacKeyboardModifiersEvent
(cherry picked from commit
b4ffc2f8b3792f9781559ebe4a094511c3b46170)
0140454 [Sat, 30 Jan 2021 13:39:07 +0000 (21:39 +0800)]
Dont' commit surface in configure handler
(cherry picked from commit
256b94450cc921560dd9842fadc45edbeb85e760)
0140454 [Sat, 30 Jan 2021 13:38:03 +0000 (21:38 +0800)]
Process close event
(cherry picked from commit
f61744a062255eaaaaec21c9192666f55559e26e)
akallabeth [Wed, 27 Jan 2021 18:42:32 +0000 (19:42 +0100)]
Added wayland discrete axis events for mouse wheel
the discrete axis event gives changes in steps just like the
xfreerdp version uses. This way scrolling can be implemented
consistent with the behaviour of xfreerdp
(cherry picked from commit
2cce37a82a08b0a7c24302a6819371218dea1ec6)
Martin Fleisz [Thu, 4 Feb 2021 12:10:58 +0000 (13:10 +0100)]
core: Enable network auto detection by default
(cherry picked from commit
ce3edb00ef7471fc80b1991d126342aedc2d4c93)
Martin Fleisz [Thu, 4 Feb 2021 08:54:48 +0000 (09:54 +0100)]
core: Remove connection type manipulation in gcc_write_client_core_data
Removes the changes to connection type in gcc_write_client_core_data and
adds some checks if network detection is enabled when receiving network
detection requests.
(cherry picked from commit
43825e364e9580eab08cae84dfd8021d16828730)
kubistika [Thu, 21 Jan 2021 13:24:38 +0000 (15:24 +0200)]
libfreerdp: core: add checks in gcc_write_client_data_blocks
(cherry picked from commit
afa213b5e572416fca6049c748cda14d38f3b262)
Martin Fleisz [Wed, 27 Jan 2021 08:44:19 +0000 (09:44 +0100)]
gateway: Fix consent/service message in legacy gateway code
(cherry picked from commit
00d56429211c2b1275e1122450e5bb87094c9678)
Armin Novak [Wed, 27 Jan 2021 08:25:26 +0000 (09:25 +0100)]
Fixed drive hotplug path comparison.
(cherry picked from commit
c7bf33aad04822eb6400459114d405031edb376a)