Marc-André Moreau
e22b6897f2
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-06-04 11:56:37 -04:00
Marc-André Moreau
d6e955e6f1
channels/rdpgfx: stub bitmap decompression
2014-06-03 20:51:28 -04:00
Marc-André Moreau
280d1c859f
channels/rdpgfx: parse all core egfx pdus
2014-06-03 19:48:47 -04:00
Marc-André Moreau
c9172dfdb3
channels/rdpgfx: start parsing pdus
2014-06-03 15:32:03 -04:00
Marc-André Moreau
a50e4d16fc
libfreerdp-codec: integrate basic RDP8 decompression support
2014-06-03 14:29:55 -04:00
Marc-André Moreau
abd833c27e
libfreerdp-codec: stub new ZGFX (RDP8) bulk compressor/decompressor
2014-06-03 13:38:10 -04:00
Marc-André Moreau
3d7524cac9
channels/drdynvc: add state machine, add workaround for missing capabilities pdu
2014-06-03 13:00:03 -04:00
Martin Fleisz
6f1f4be0ae
Merge pull request #1873 from hardening/WTSVirtualChannelWriteCallers
...
Don't use NULL for pWrittenBytes when calling WTSVirtualChannelWrite()
2014-06-03 16:40:05 +02:00
Marc-André Moreau
8ea161de61
channels/drdynvc: add OnOpen callback
2014-06-03 09:49:00 -04:00
Marc-André Moreau
e74fb24ad1
channels/rdpgfx: start working on capability sets
2014-06-03 00:05:43 -04:00
Marc-André Moreau
eb65777328
channels/disp: cleanup
2014-06-02 22:40:01 -04:00
Marc-André Moreau
f5bfb98aca
channels/smartcard: experiment with multiple card contexts
2014-06-02 17:20:01 -04:00
Marc-André Moreau
98077cfc24
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/core/transport.c
2014-05-30 15:06:07 -04:00
Vic Lee
a4c583c459
rdpsnd/server: fix incorrect use of channe handle.
2014-05-30 23:00:15 +08:00
Emmanuel Ledoux
50efce67f5
winpr-comm: completed support of Read*Timeout
2014-05-28 22:11:19 +02:00
Emmanuel Ledoux
cdbba47eee
winpr-comm: CommWriteFile, completed support of WriteTotalTimeout
2014-05-28 17:18:33 +02:00
Hardening
c076ffb020
Don't use NULL for pWrittenBytes when calling WTSVirtualChannelWrite()
...
Nothing in the MSDN API says that setting NULL is safe. And if the
implementation uses WriteFile directly, it crashes.
2014-05-28 17:04:24 +02:00
Emmanuel Ledoux
1aeca8fbc7
- serial: terminates IRP threads more gracefully and avoiding warning messages.
2014-05-27 16:17:47 +02:00
Emmanuel Ledoux
b889ad7125
winpr-comm: reviewed the synchronization around counters, WaitMask and PendingEvents variables. Got rid of the semaphore PendingEventsSem.
2014-05-27 12:29:24 +02:00
Emmanuel Ledoux
9796224936
- winpr-comm: got a finalized version of IOCTL_SERIAL_WAIT_ON_MASK
...
- serial: cleaning up the code
2014-05-27 11:33:10 +02:00
Marc-André Moreau
ba5d84ee5c
libwinpr-smartcard: add logging for each calls in smartcard inspector
2014-05-26 17:54:39 -04:00
Armin Novak
4b0b94d04d
Updated copyright header.
...
Added error checks and assertions.
2014-05-26 09:01:52 +02:00
Armin Novak
32ef77738f
Updated copyright headers.
2014-05-26 09:01:13 +02:00
Armin Novak
00637f3398
Fixed issue with gstreamer 1.0 video pipe.
2014-05-26 08:25:01 +02:00
Armin Novak
fd7ba77cd1
Removed <format> argument from caps, as it is not supported by decoders.
...
Fixed <video/x-raw-yuv> for gstreamer 1.0, where it is <video/x-raw>
Removed DEBUG_WARN in non error branches.
Removed pipeline delay.
2014-05-26 07:46:11 +02:00
Armin Novak
bbd63b6024
Using gst_parse_launch now instead of manual pipeline.
2014-05-25 10:08:50 +02:00
Armin Novak
2610f7ff50
Using wrapper set state function now everywhere.
2014-05-24 23:32:47 +02:00
Armin Novak
faf955b052
Added resize code for gstreamer 0.10
2014-05-24 23:21:05 +02:00
Armin Novak
50e5338f76
Added equality check for update rendering area.
2014-05-24 22:58:54 +02:00
Armin Novak
e5f81b5a36
Fixed c/p error.
2014-05-24 22:23:51 +02:00
Armin Novak
86e0ff8610
Added support for gstreamer 0.10
2014-05-24 22:22:33 +02:00
Armin Novak
02649e7322
Added cmake magic to allow selection of gstreamer 1.0 or 0.10
2014-05-24 18:21:40 +02:00
Armin Novak
00c205cb84
Fixed busy loop.
2014-05-24 15:55:55 +02:00
Armin Novak
058cba9383
Replaced custom state to name function with gstreamer version.
2014-05-24 13:56:12 +02:00
Emmanuel Ledoux
5dc21b5604
winpr-comm: renamed waitMask WaitEventMask
...
winpr-comm: removed ReadIrpQueue
2014-05-23 15:55:44 +02:00
Armin Novak
ec252a3bc4
Fixed formatting.
...
Replaced else if with switch.
2014-05-23 15:35:25 +02:00
Armin Novak
3ae7dd1237
Using TSMF debug define now.
2014-05-23 13:51:47 +02:00
Armin Novak
12c053c3dc
Replaced DVC with TSMF debug define.
2014-05-23 13:51:14 +02:00
Armin Novak
46fed926ae
Refactored and simplified stream and presentation layer.
2014-05-23 13:50:52 +02:00
Armin Novak
0ec7ad4aec
Using TSMF debug define now.
...
Fixed missing NULL pointer checks, replaced magic numbers with define.
2014-05-23 13:49:54 +02:00
Armin Novak
94b81e1bc2
Using TSMF debug define now.
...
Calling presentation sync after sample.
2014-05-23 13:49:13 +02:00
Armin Novak
933748a95c
Renamed control messages, removed unused ones.
...
Added functions to allow custom ACK and SYNC functions.
2014-05-23 13:48:02 +02:00
Armin Novak
29261a849d
Now respecting supported decoder backends in fallback, preferring gstreamer.
2014-05-23 13:47:28 +02:00
Armin Novak
7b455448f2
New gstreamer 1.0 code.
2014-05-23 13:46:37 +02:00
Armin Novak
30ffb98205
Now using TSMF debug print.
2014-05-23 13:12:34 +02:00
Armin Novak
3fde4f0bc2
Added callback dictionary with context to allow client to communicate with plugin.
2014-05-23 13:04:51 +02:00
Emmanuel Ledoux
ee268a92ee
serial: got a thread per IRP
...
winpr-comm: got IOCTL_SERIAL_GET_COMMSTATUS, IOCTL_SERIAL_SET_BREAK_ON and IOCTL_SERIAL_SET_BREAK_OFF
winpr-comm: tcdrain called by CommWriteFile() :(
2014-05-23 12:27:09 +02:00
Emmanuel Ledoux
9639da0067
serial: first steps to get a thread per IRP as a proof of concept. A bit of synchronization is still required.
2014-05-21 10:36:55 +02:00
Emmanuel Ledoux
baf4896a38
serial: got rid of most the warning message with MAKE_BUILD_TYPE=Release
...
winpr-comm: consolidated _set_handflow()/_get_handflow()
winpr-comm: introduced a permissive mode
winpr-comm: implementation of IOCTL_SERIAL_WAIT_ON_MASK still in progress
2014-05-19 16:53:57 +02:00
Emmanuel Ledoux
8179affea9
winpr-comm: got IOCTL_SERIAL_PURGE
2014-05-14 21:21:31 +02:00
Emmanuel Ledoux
6cc44ff112
winpr-comm: got IOCTL_SERIAL_SET_QUEUE_SIZE
2014-05-14 17:30:29 +02:00
Emmanuel Ledoux
4243928c2e
winpr-comm: fixed _set_lines() / _clear_lines()
...
winpr-comm: got IOCTL_SERIAL_SET_WAIT_MASK / IOCTL_SERIAL_GET_WAIT_MASK and a non-blocking version of IOCTL_SERIAL_WAIT_ON_MASK
2014-05-14 16:29:10 +02:00
Emmanuel Ledoux
116995f865
wimpr-comm: got IOCTL_SERIAL_GET_MODEMSTATUS
2014-05-13 17:27:51 +02:00
Emmanuel Ledoux
7ec15d9683
serial: removed the Write thread (kept the read and main threads)
...
serial: better closing
2014-05-13 15:12:14 +02:00
Emmanuel Ledoux
7e36374a89
serial: attempt to use two additional threads for read and write requests
...
winpr-comm: fixed CommWriteFile
2014-05-13 14:55:30 +02:00
Marc-André Moreau
bc771ec56b
channels/smartcard: reuse the same thread for the same SCARDCONTEXT
2014-05-12 17:05:20 -04:00
Marc-André Moreau
9f70629c3a
channels/smartcard: store SCARDCONTEXT, SCARDHANDLE in SMARTCARD_OPERATION
2014-05-12 16:45:24 -04:00
Marc-André Moreau
9f93565811
channels/smartcard: modify operation functions to take SMARTCARD_OPERATION*
2014-05-12 16:19:44 -04:00
Marc-André Moreau
d8053b3d93
channels/smartcard: cleanup smartcard operations
2014-05-12 15:47:49 -04:00
Marc-André Moreau
5416ab1d6e
channels/smartcard: decode and then call
2014-05-12 15:32:02 -04:00
Marc-André Moreau
77827bb411
channels/smartcard: split encoding from calling
2014-05-12 15:22:57 -04:00
Marc-André Moreau
526e74f7fa
channels/smartcard: further split decoding from calling
2014-05-12 15:04:31 -04:00
Marc-André Moreau
8a940ad778
channels/smartcard: start splitting decoding from calling
2014-05-12 14:13:57 -04:00
Emmanuel Ledoux
7f9545f12e
serial: removed the extra byte sent with an empty OutputBuffer. At least Windows 2008R2 SP1 works better without it. Need to figure out why...
2014-05-12 19:21:06 +02:00
Emmanuel Ledoux
4c743de69c
winpr-comm: got IOCTL_SERIAL_SET_TIMEOUTS / IOCTL_SERIAL_GET_TIMEOUTS
...
serial redirection: use of winpr-comm's functions and not serial_tty.* anymore
2014-05-12 17:33:56 +02:00
Marc-André Moreau
fc39f6bc8d
channels/smartcard: create smartcard context data structures with associated thread
2014-05-12 11:28:20 -04:00
Marc-André Moreau
2da6111972
channels/smartcard: fix clearing of rgSCardContextList
2014-05-12 10:17:49 -04:00
Marc-André Moreau
fda492c58d
libwinpr-smartcard: fix AccessStartedEvent
2014-05-11 01:53:47 -04:00
Marc-André Moreau
d04430cb02
channels/smartcard: implement usage of SCardAccessStartedEvent
2014-05-10 23:43:25 -04:00
Marc-André Moreau
ee282a931b
freerdp: fix build warnings on Windows
2014-05-10 09:50:36 -04:00
Marc-André Moreau
6505864bcd
channels/rdpdr: replace usage of strndup
2014-05-08 23:45:40 -04:00
Marc-André Moreau
a202fe4057
freerdp: fix several type related warnings
2014-05-08 18:02:02 -04:00
Marc-André Moreau
b0a9d7d690
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-05-08 16:11:42 -04:00
Marc-André Moreau
0cef8635ff
Merge pull request #1822 from hardening/sound_hardening
...
Fixes in the server-side sound channel
2014-05-08 16:00:52 -04:00
Marc-André Moreau
894ec8c4aa
channels/smartcard: cleanup
2014-05-08 15:24:33 -04:00
Marc-André Moreau
81be8b2473
channels/smartcard: better selection of async vs sync processing of IRPs
2014-05-07 21:16:05 -04:00
Marc-André Moreau
e7408089bd
channels/rdpdr: remove sequenceId usage
2014-05-07 17:50:09 -04:00
Marc-André Moreau
67f691f90a
channels/smartcard: add improve completed IRP management
2014-05-07 17:41:53 -04:00
Bernhard Miklautz
58cd56c488
sample channel: fix build
...
sample channel is static and not dynamic therefore dynamic
should be set to FALSE in add_channel_client_library
2014-05-07 20:56:49 +02:00
Marc-André Moreau
d53a9415ae
channels/smartcard: add sequence id to IRPs for easier cancellation
2014-05-06 18:19:54 -04:00
Marc-André Moreau
62395f7b0c
channels/smartcard: add rgSCardContextList
2014-05-06 17:42:10 -04:00
Marc-André Moreau
22e2490df7
channels/smartcard: avoid crash on SCardStatusA failure
2014-05-06 11:25:19 -07:00
Marc-André Moreau
b3114ff4d8
channels/smartcard: improve debug output, fix GetStatusChange SCARD_E_CANCELLED, fix SCardGetAttrib current protocol type
2014-05-06 10:00:44 -07:00
Emmanuel Ledoux
c2b024512a
winpr-comm: got IOCTL_SERIAL_SET_HANDFLOW / IOCTL_SERIAL_GET_HANDFLOW
2014-05-06 16:08:58 +02:00
Marc-André Moreau
9e407e6e22
libwinpr-smartcard: start handling SCardControl control code conversions
2014-05-03 19:02:17 -04:00
Marc-André Moreau
b51da6c6f4
libwinpr-smartcard: improve SCardGetAttrib, fix null SCARDCONTEXT usage in SCardListReaders
2014-05-03 17:07:30 -04:00
Marc-André Moreau
cd7e3151cd
libwinpr-smartcard: fix PCSC incompatible type definitions
2014-05-03 13:49:50 -04:00
Hardening
965eefe04e
Fixed bad check
2014-05-02 22:45:38 +02:00
Hardening
09c9181f8d
Fix ChannelEvent
2014-05-02 21:53:52 +02:00
Hardening
ffd356031f
Remove a warning
2014-04-29 10:39:07 +02:00
Hardening
9848314a5d
More fixes in DSP
2014-04-29 10:32:16 +02:00
Vic Lee
50746ea724
audin: remove unused variable.
2014-04-29 14:20:58 +08:00
Emmanuel Ledoux
ee2339addc
winpr-comm: implemented IOCTL_SERIAL_SET_CHARS and IOCTL_SERIAL_GET_CHARS
2014-04-29 04:04:09 +02:00
Hardening
a7023769d0
Fixes in the server-side sound channel
...
This patch:
* treats OOM situations
* adds checks when reading audio channel messages
2014-04-29 01:02:35 +02:00
Emmanuel Ledoux
69eeeebe67
winpr-comm: got IOCTL_SERIAL_GET_BAUD_RATE and IOCTL_SERIAL_GET_PROPERTIES (partial)
...
winpr-comm: cleant up unit tests
2014-04-28 19:57:17 +02:00
Marc-André Moreau
b1c0a68f55
client/common: honor RedirectSmartCards, RedirectPrinters
2014-04-27 21:29:44 -04:00
Marc-André Moreau
103b7d4151
libwinpr-smartcard: fix workaround for lack of PnP Notification support on OS X
2014-04-27 16:43:09 -04:00
Marc-André Moreau
6059ffbb88
channels/smartcard: harden unpacking code, don't modify GetStatusChange parameters
2014-04-27 15:45:36 -04:00
Emmanuel Ledoux
e7f0185e69
- firt use of winpr-comm by the serial channel (not tested and not finalized)
2014-04-27 19:41:25 +02:00
Marc-André Moreau
769502ec72
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-04-26 13:47:01 -04:00