Commit Graph

14619 Commits

Author SHA1 Message Date
akallabeth
9ce4bc351f 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 af1c6ebcb4)
2021-03-04 16:56:42 +01:00
akallabeth
73b37791cd Updated changelog 2021-03-04 16:56:42 +01:00
Armin Novak
471cda7ef3 Fixed smartcard_convert_string_list with 0 length
(cherry picked from commit e9904e286f)
2021-03-03 12:06:15 +01:00
akallabeth
48ce8fabd8 Updated changelog for next stable 2021-03-02 08:31:28 +01:00
akallabeth
de743a836a Fixed linking dependencies for client geometry channel
(cherry picked from commit 7056433c8e)
2021-03-02 08:31:28 +01:00
akallabeth
69ff618ebc Fixed format string in smartcard_trace_state_return
(cherry picked from commit ca96c44507)
2021-03-02 08:31:28 +01:00
akallabeth
136a58fbd0 Added -DDEFINE_NO_DEPRECATED CMake option
With that option all symbols marked deprecated are no longer
compiled. This helps testing compatibility of external apps.
2021-03-01 10:58:24 +01:00
akallabeth
f7295b31d7 Added changelog. 2021-03-01 10:58:24 +01:00
akallabeth
d88480fc48 Fixed a leak on mouse cursor updates 2021-03-01 10:58:24 +01:00
akallabeth
73753f8af4 Reverted connectErrorCode removal
Reverted changes from e4b30a5cb6
removing the symbol/define, keep the changes for the clients.
Mark as deprecated
2021-03-01 10:58:24 +01:00
akallabeth
bc956b47e5 Added explicit warnings for experimental/unstable features 2021-03-01 10:58:24 +01:00
akallabeth
1ff1906545 Added compatibility define 2021-03-01 10:58:24 +01:00
akallabeth
14c7f7aed7 Updated changelog 2021-02-25 09:51:41 +01:00
akallabeth
a572f5e429 Compatibility reordering of new symbols in struct 2021-02-25 09:51:41 +01:00
akallabeth
168dc7f52c Force enable wayland in ci and nightly
(cherry picked from commit ce396a9aff)
2021-02-25 09:51:41 +01:00
Bernhard Miklautz
8600781a78 ci [codeql]: run apt update before install
(cherry picked from commit 7bec71a632)
2021-02-25 09:51:41 +01:00
akallabeth
3825b4cd4e Create codeql-analysis.yml
(cherry picked from commit 2b676bf1e7)
2021-02-25 09:51:41 +01:00
akallabeth
7b6ea77613 Fixed smartcard crash on error return (invalid length) 2021-02-25 09:51:41 +01:00
Armin Novak
13494bc6de Fixed #6821: _stricmp does not like NULL strings
(cherry picked from commit 7b211e5258)
2021-02-25 09:51:41 +01:00
Armin Novak
5eb9c11524 Updated windows time zones 2021-02-11
(cherry picked from commit 2e5c09f209)
2021-02-25 09:51:41 +01:00
akallabeth
dc179867cc 2.0 compatibility for rdpinput flag debug function 2021-02-25 09:51:41 +01:00
akallabeth
e5f92ba550 Fixed #6712: Use window size from settings
The xfc->window might be NULL (remote app, ...)

(cherry picked from commit 6ecd440658)
2021-02-25 09:51:41 +01:00
Fabio Fantoni
689ca72285 Minor typo fix
From debian packages patch done by Mike Gabriel
<mike.gabriel@das-netzwerkteam.de>

(cherry picked from commit 5c408e080e)
2021-02-25 09:51:41 +01:00
Marc-André Moreau
3047a73744 freerdp-client: don't enable vmconnect mode based on PCB field presence in .RDP file
(cherry picked from commit 4e14e7d41e)
2021-02-25 09:51:41 +01:00
akallabeth
fba23b8ef7 Fixed formatting and source/destination length use
(cherry picked from commit f0ba8d7fb9)
2021-02-25 09:51:41 +01:00
mingfang
707828df8f libfreerdp: core: deep copy ServerCertificate
(cherry picked from commit b078377105)
2021-02-25 09:51:41 +01:00
Armin Novak
9e3dce0264 Compatibility commit for RDPEI API 2021-02-25 09:51:41 +01:00
Armin Novak
0428ec9e21 Fixed issue with backported websockets support 2021-02-25 09:51:41 +01:00
Armin Novak
ab1bee07f4 Updated changelog 2021-02-25 09:51:41 +01:00
Pascal Nowack
0f4ca4c3fb 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 1087a5e1a6)
2021-02-25 09:51:41 +01:00
akallabeth
97327cbf33 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 d3ed42a799)
2021-02-25 09:51:41 +01:00
Armin Novak
ee65815128 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 27f6df9778)
2021-02-25 09:51:41 +01:00
Michael Saxl
4516c2bc15 rdg websocket support
(cherry picked from commit 99489318f4)
2021-02-25 09:51:41 +01:00
akallabeth
fcfb8d0283 Fixed a ConvertToUnicode issue and added a unit test
(cherry picked from commit e15684cb14)
2021-02-25 09:51:41 +01:00
Armin Novak
8a7a73e37b Always return data on SCardGetStatusChange
If the call fails just return empty data for each reader.

(cherry picked from commit f0317a5e0f)
2021-02-25 09:51:41 +01:00
akallabeth
b3dac8e8eb Fixed issue with GetAttr where the result buffer was not allocated
(cherry picked from commit 38ae006db9)
2021-02-25 09:51:41 +01:00
akallabeth
aef2a82144 Fixed GetAttrib return length
(cherry picked from commit 5342f351ea)
2021-02-25 09:51:41 +01:00
akallabeth
0bcbc93cee Fixed smartcard_unpack_reader_state, allow empty names
(cherry picked from commit 2757b5d6c0)
2021-02-25 09:51:41 +01:00
akallabeth
3611aaadf7 Fixed SCardTransmit return
(cherry picked from commit ad4694f7a0)
2021-02-25 09:51:41 +01:00
akallabeth
12737094ee Fixed SCardState wrapper
(cherry picked from commit e5a1dae34f)
2021-02-25 09:51:41 +01:00
akallabeth
58fa12d795 Unified smartcard call data structs
(cherry picked from commit 2674d3b2f3)
2021-02-25 09:51:41 +01:00
akallabeth
f85bbd79d4 Unified smartcard handle converstion
(cherry picked from commit 69d33da061)
2021-02-25 09:51:41 +01:00
akallabeth
dd3164f3c9 Fixed various return values in case of result != SCARD_S_SUCCESS
(cherry picked from commit e32305dd3a)
2021-02-25 09:51:41 +01:00
akallabeth
fd529c826d Fixed GetAttrib call
(cherry picked from commit 99d228251c)
2021-02-25 09:51:41 +01:00
akallabeth
de08784068 refactored smartcard allocations
(cherry picked from commit 27ba319c89)
2021-02-25 09:51:41 +01:00
akallabeth
131d38c2da Fixed SCard debug WCHAR string lengths
(cherry picked from commit a9409221d0)
2021-02-25 09:51:41 +01:00
akallabeth
df49ebf244 Fixed double free in PCSC_SCardGetAttrib_FriendlyName
(cherry picked from commit c1575fa99a)
2021-02-25 09:51:41 +01:00
Armin Novak
2f95316fc7 Reordered UWAC events to keep compatibility 2021-02-25 09:51:41 +01:00
Armin Novak
ee27c59570 Changelog for 2.3.0 2021-02-25 09:51:41 +01:00
Armin Novak
048aca5cce Compatibility changes
Renamed symbols and added wrappers to keep API compatible with
2.0 branch.
2021-02-25 09:51:41 +01:00