Граф коммитов

14684 Коммитов

Автор SHA1 Сообщение Дата
akallabeth b3dac8e8eb Fixed issue with GetAttr where the result buffer was not allocated
(cherry picked from commit 38ae006db981c5bb031d5fbd957d99d2fef5c14a)
2021-02-25 09:51:41 +01:00
akallabeth aef2a82144 Fixed GetAttrib return length
(cherry picked from commit 5342f351ea441c1c3c1b34af216d583051e84fdc)
2021-02-25 09:51:41 +01:00
akallabeth 0bcbc93cee Fixed smartcard_unpack_reader_state, allow empty names
(cherry picked from commit 2757b5d6c08e05154d5968c2fc04f7b15a7ea3d3)
2021-02-25 09:51:41 +01:00
akallabeth 3611aaadf7 Fixed SCardTransmit return
(cherry picked from commit ad4694f7a02cb9295795b6c5d07fa9bdb1614d2b)
2021-02-25 09:51:41 +01:00
akallabeth 12737094ee Fixed SCardState wrapper
(cherry picked from commit e5a1dae34f018d45049304a10a22658d853b1cc0)
2021-02-25 09:51:41 +01:00
akallabeth 58fa12d795 Unified smartcard call data structs
(cherry picked from commit 2674d3b2f3700e0b4bc859d41b4506d8c28d2d95)
2021-02-25 09:51:41 +01:00
akallabeth f85bbd79d4 Unified smartcard handle converstion
(cherry picked from commit 69d33da061ff15d2c016de1569b54ca68a578f05)
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 e32305dd3a09312cc04e428bb7d2cb5395be1fdd)
2021-02-25 09:51:41 +01:00
akallabeth fd529c826d Fixed GetAttrib call
(cherry picked from commit 99d228251c73c3c33bc1119ceb7d084f77d80076)
2021-02-25 09:51:41 +01:00
akallabeth de08784068 refactored smartcard allocations
(cherry picked from commit 27ba319c89ab46431b0df1b9ad41daf68b7eae6f)
2021-02-25 09:51:41 +01:00
akallabeth 131d38c2da Fixed SCard debug WCHAR string lengths
(cherry picked from commit a9409221d073e8665a1f27da764d9d042f557e0f)
2021-02-25 09:51:41 +01:00
akallabeth df49ebf244 Fixed double free in PCSC_SCardGetAttrib_FriendlyName
(cherry picked from commit c1575fa99aa9fae335cf6b0f4107c0e12aa7d931)
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
Armin Novak 5e89baddd9 Increased version to 2.3.0 2021-02-25 09:51:41 +01:00
Armin Novak 377c61648f 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)
2021-02-25 09:51:41 +01:00
akallabeth 176893e6da Fixed default return for DrawOrderInfo
(cherry picked from commit 4587ef976c)
2021-02-25 09:51:41 +01:00
akallabeth 66f13a3ea4 Fix length return for SCARD_ATTR_VENDOR_NAME
(cherry picked from commit cf2d26dbbd)
2021-02-25 09:51:41 +01:00
Armin Novak 7cb3753c08 Fixed PCSC_SCardGetAttrib wrapper
(cherry picked from commit 17d8267de7)
2021-02-25 09:51:41 +01:00
akallabeth 5a052b7515 Dereference ppbAttr as argument for SCardGetAttrib
(cherry picked from commit 1efcd605e0)
2021-02-25 09:51:41 +01:00
Armin Novak 1c590a71e7 Added option to remap scancodes
(cherry picked from commit d7bf6553c5)
2021-02-25 09:51:41 +01:00
Armin Novak d1250f9443 Compatibility commit
* Adds compatibility defines for 2.2.0
* Reorders some newe fields in structs to improve compatibility
2021-02-25 09:51:41 +01:00
Vic Lee f2d09e6eb0 progressive: fix multiple regions in one gfx frame.
(cherry picked from commit 7f94095a0670f6d0bc19021e6e1439cf934edf52)
2021-02-25 09:51:41 +01:00
0140454 b54e32261a libuwac: Fix code format
(cherry picked from commit 706b6ddbb12a22986a1a86171d4c19775f4a5d6f)
2021-02-25 09:51:41 +01:00
0140454 ed96ca820f Sync numlock, capslock state in Wayland
(cherry picked from commit b56a3691ca35a7f55e31998c55a40a9da9d0d745)
2021-02-25 09:51:41 +01:00
0140454 09268fb27b libuwac: Add UwacKeyboardModifiersEvent
(cherry picked from commit b4ffc2f8b3792f9781559ebe4a094511c3b46170)
2021-02-25 09:51:41 +01:00
0140454 56157f4dc2 Dont' commit surface in configure handler
(cherry picked from commit 256b94450cc921560dd9842fadc45edbeb85e760)
2021-02-25 09:51:41 +01:00
0140454 ea30b6988e Process close event
(cherry picked from commit f61744a062255eaaaaec21c9192666f55559e26e)
2021-02-25 09:51:41 +01:00
akallabeth 2647eefa83 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)
2021-02-25 09:51:41 +01:00
Martin Fleisz 856316f2c6 core: Enable network auto detection by default
(cherry picked from commit ce3edb00ef7471fc80b1991d126342aedc2d4c93)
2021-02-25 09:51:41 +01:00
Martin Fleisz 2b0958173a 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)
2021-02-25 09:51:41 +01:00
kubistika 609c54512c libfreerdp: core: add checks in gcc_write_client_data_blocks
(cherry picked from commit afa213b5e5)
2021-02-25 09:51:41 +01:00
Martin Fleisz 21bce4625c gateway: Fix consent/service message in legacy gateway code
(cherry picked from commit 00d56429211c2b1275e1122450e5bb87094c9678)
2021-02-25 09:51:41 +01:00
Armin Novak f80ca4580a Fixed drive hotplug path comparison.
(cherry picked from commit c7bf33aad0)
2021-02-25 09:51:41 +01:00
akallabeth 5e5e25284b Added OrderInfo callback for primary, seconardy and altsec orders
This allows gathering statistics about which orders have been
received

(cherry picked from commit f45f92f7bb4b560d1fedd723a353d8c1d0c73fbd)
2021-02-25 09:51:41 +01:00
0140454 214a3308c6 Fix key repeat in Wayland
(cherry picked from commit 712c5fee97)
2021-02-25 09:51:41 +01:00
akallabeth d4dee27b61 Filter out duplicate ClientFormatList announcements
(cherry picked from commit a51f4ccaaa)
2021-02-25 09:51:41 +01:00
Simon Tatham aa9b644e3a Command-line option to choose an X selection.
I personally find it more convenient to have pasted data written to
the X11 PRIMARY selection, so that I can paste it with a fast middle-
button click, than to write to CLIPBOARD which typically needs a key
sequence or menu action.

This commit adds a command-line option to let me express that
preference: now I can say "/clipboard:use-selection:PRIMARY" on the
command line, which not only enables clipboard transfer but also says
which X selection I want it to talk to. The previous options
"+clipboard" and "-clipboard" are also still supported.

(cherry picked from commit 64948b96c4c4640078ce563b165a907251fd6f20)
2021-02-25 09:51:41 +01:00
Simon Tatham 818480be91 winpr/utils: allow COMMAND_LINE_VALUE_{OPTIONAL,BOOL} to coexist.
Now you can give an option the combination of flags
COMMAND_LINE_VALUE_OPTIONAL and COMMAND_LINE_VALUE_BOOL. If you do,
then all three of the syntaxes +foo, -foo and /foo:value are allowed
at once, and the receiving code can tell the difference because the
Value field is set to BoolValueTrue, BoolValueFalse or a valid char
pointer.

(cherry picked from commit 22c6b375d4ae9bf9dcac74d3360d0042673f1353)
2021-02-25 09:51:41 +01:00
Simon Tatham 04fd010402 xf_cliprdr: fill in support for TIMESTAMP requests.
A selection owner is supposed to respond to a request for the
selection target TIMESTAMP by providing the X server time at which the
selection was written. There was a /* TODO */ comment in xf_cliprdr
where the code to do that should have been.

The absence of this can cause a problem when pasting into some X
clients. xtightvncviewer, in particular, will give up the attempt to
read from the clipboard at all if it doesn't get a satisfactory
response to the initial TIMESTAMP request - and the non-answer zero
value "CurrentTime" counts as unsatisfactory. It won't be happy with
anything short of a real X server time value.

(Checking the VNC source code, that's because it reads both PRIMARY
and CLIPBOARD and picks the one with the later timestamp. So it does
depend on the timestamps existing.)

When you're writing to the selection in response to a normal X event
like a mouse click or keyboard action, you get the selection timestamp
by copying the time field out of that X event. Here, we're doing it on
our own initiative, so we have to _request_ the X server time. There
isn't a GetServerTime request in the X protocol, so I work around it
by setting a property on our own window, and waiting for a
PropertyNotify event to come back telling me it's been done - which
will have a timestamp we can use.

(cherry picked from commit fcabbc9707e23b94d7e82021e997578fb20c9313)
2021-02-25 09:51:41 +01:00
akallabeth 4a2265cb1e Fixed #6696: Implement HandshakeEx in windows client
Special thanks to @byteboon for bisecting the issue

(cherry picked from commit fc20299c22735beb64afe33b958c41506f092c72)
2021-02-25 09:51:41 +01:00
akallabeth 552c18858a Fixed call to GetKeyboardLayout
(cherry picked from commit 8b8016ec21)
2021-02-25 09:51:41 +01:00
akallabeth 3becbc6c26 Fixed naming of FILEDESCRIPTORW
(cherry picked from commit a3bf25e9239b1fb970e65901356a970531bf067a)
2021-02-25 09:51:41 +01:00
akallabeth 43516beb70 Fixed support for huge files in clipboard
(cherry picked from commit f3dad4106a)
2021-02-25 09:51:41 +01:00
Armin Novak b46b52ee15 Fixed NtStatus2Tag return.
(cherry picked from commit 11ca443aaf)
2021-02-25 09:51:41 +01:00
Armin Novak 5dbf2cc7eb Added backward compatibility define
(cherry picked from commit a22f264189)
2021-02-25 09:51:41 +01:00
Armin Novak 8379eaf982 Updated FD_FLAGS definition.
(cherry picked from commit ef1c8a3b50)
2021-02-25 09:51:41 +01:00
akallabeth b9f00a97e3 Refactored RDG chunked data struct
(cherry picked from commit eafb4b8d5f4dd081606b4e6a69d92089993aae4b)
2021-02-25 09:51:41 +01:00
akallabeth 971341dd37 Fixed RDP gateway types and use after free
(cherry picked from commit 8c78e6742569936cb2bff59649888c93f3f3437f)
2021-02-25 09:51:41 +01:00