Emmanuel Ledoux [Thu, 19 Jun 2014 10:03:36 +0000 (12:03 +0200)]
winpr-comm, winpr-file: better initialization of the static variables
Emmanuel Ledoux [Wed, 18 Jun 2014 16:20:21 +0000 (18:20 +0200)]
serial: ability to setup the server serial driver thanks to a third parameter on the command line
Emmanuel Ledoux [Wed, 18 Jun 2014 13:58:08 +0000 (15:58 +0200)]
winpr-comm: renamed REMOTE_SERIAL_DRIVER by SERIAL_DRIVER or ServerSerialDriver according the context
Emmanuel Ledoux [Tue, 17 Jun 2014 15:49:06 +0000 (17:49 +0200)]
winpr-comm: implemented IOCTL_SERIAL_RESET_DEVICE
Emmanuel Ledoux [Tue, 17 Jun 2014 15:18:42 +0000 (17:18 +0200)]
serial: cleaned up serial_main and removed other files which have been replaced by winpr-comm
Emmanuel Ledoux [Tue, 17 Jun 2014 14:34:20 +0000 (16:34 +0200)]
winpr-comm: CommReadFile and CommWriteFile are now protected by a mutex
winpr-comm: implemented IOCTL_SERIAL_IMMEDIATE_CHAR
Emmanuel Ledoux [Tue, 17 Jun 2014 13:19:16 +0000 (15:19 +0200)]
winpr-comm: implemented IOCTL_SERIAL_CONFIG_SIZE
Emmanuel Ledoux [Mon, 16 Jun 2014 17:18:45 +0000 (19:18 +0200)]
winpr-comm: cleaning up code, focused on indentation and whitespaces
Emmanuel Ledoux [Wed, 28 May 2014 20:11:19 +0000 (22:11 +0200)]
winpr-comm: completed support of Read*Timeout
Emmanuel Ledoux [Wed, 28 May 2014 18:15:08 +0000 (20:15 +0200)]
winpr-comm: need to purge _purge()'s events before read and write operations
Emmanuel Ledoux [Wed, 28 May 2014 17:10:01 +0000 (19:10 +0200)]
winpr-comm: fixed _purge(), eventfd_read() and eventfd_write() just return a error code, not a number of bytes read or written
Emmanuel Ledoux [Wed, 28 May 2014 16:42:23 +0000 (18:42 +0200)]
winpr-comm: completed _purge() supporting SERIAL_PURGE_RXABORT
winpr-comm: CommReadFile, support of FREERDP_PURGE_RXABORT sent by _purge()
Emmanuel Ledoux [Wed, 28 May 2014 15:18:33 +0000 (17:18 +0200)]
winpr-comm: CommWriteFile, completed support of WriteTotalTimeout
Emmanuel Ledoux [Wed, 28 May 2014 14:41:24 +0000 (16:41 +0200)]
winpr-comm: completing _purge() on write operations (SERIAL_PURGE_TXABORT)
winpr-comm: CommWriteFile, implemented the WriteTotalTimeout
Emmanuel Ledoux [Wed, 28 May 2014 09:39:10 +0000 (11:39 +0200)]
winpr-comm: got IOCTL_SERIAL_GET_DTRRTS
Emmanuel Ledoux [Wed, 28 May 2014 08:44:52 +0000 (10:44 +0200)]
winpr-comm: _get_commstatus() just some comments about HoldReasons.
Emmanuel Ledoux [Tue, 27 May 2014 15:29:55 +0000 (17:29 +0200)]
- winpr-comm: fixed again the synchronization arround PendingEvents. Prefer to wait for the end of _wait_on_mask() inside _set_wait_mask()
Emmanuel Ledoux [Tue, 27 May 2014 14:27:04 +0000 (16:27 +0200)]
winpr-comm: fixed _set_wait_mask() on previous commit
Emmanuel Ledoux [Tue, 27 May 2014 14:17:47 +0000 (16:17 +0200)]
- serial: terminates IRP threads more gracefully and avoiding warning messages.
Emmanuel Ledoux [Tue, 27 May 2014 10:29:24 +0000 (12:29 +0200)]
winpr-comm: reviewed the synchronization around counters, WaitMask and PendingEvents variables. Got rid of the semaphore PendingEventsSem.
Emmanuel Ledoux [Tue, 27 May 2014 09:33:10 +0000 (11:33 +0200)]
- winpr-comm: got a finalized version of IOCTL_SERIAL_WAIT_ON_MASK
- serial: cleaning up the code
Emmanuel Ledoux [Mon, 26 May 2014 14:31:56 +0000 (16:31 +0200)]
winpr-comm: identified the ioctl 0x00220034 as IOCTL_USBPRINT_GET_1284_ID (support not yet implemented)
Emmanuel Ledoux [Fri, 23 May 2014 15:46:05 +0000 (17:46 +0200)]
winpr-comm: replaced the cumbersome hashtable for defined COM defines by a simpler array[128]
Emmanuel Ledoux [Fri, 23 May 2014 13:55:44 +0000 (15:55 +0200)]
winpr-comm: renamed waitMask WaitEventMask
winpr-comm: removed ReadIrpQueue
Emmanuel Ledoux [Fri, 23 May 2014 13:16:07 +0000 (15:16 +0200)]
winpr-comm: don't loop yet on IOCTL_SERIAL_WAIT_ON_MASK
Emmanuel Ledoux [Fri, 23 May 2014 13:06:15 +0000 (15:06 +0200)]
winpr-comm: IOCTL_SERIAL_SET_XON / IOCTL_SERIAL_SET_XOFF not supposed to be supported by SerCx2.sys
Emmanuel Ledoux [Fri, 23 May 2014 11:04:43 +0000 (13:04 +0200)]
winpr-comm: got IOCTL_SERIAL_SET_XOFF and IOCTL_SERIAL_SET_XON
Emmanuel Ledoux [Fri, 23 May 2014 10:27:09 +0000 (12:27 +0200)]
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() :(
Emmanuel Ledoux [Wed, 21 May 2014 08:36:55 +0000 (10:36 +0200)]
serial: first steps to get a thread per IRP as a proof of concept. A bit of synchronization is still required.
Emmanuel Ledoux [Mon, 19 May 2014 14:53:57 +0000 (16:53 +0200)]
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
Emmanuel Ledoux [Wed, 14 May 2014 19:21:31 +0000 (21:21 +0200)]
winpr-comm: got IOCTL_SERIAL_PURGE
Emmanuel Ledoux [Wed, 14 May 2014 15:30:29 +0000 (17:30 +0200)]
winpr-comm: got IOCTL_SERIAL_SET_QUEUE_SIZE
Emmanuel Ledoux [Wed, 14 May 2014 14:29:10 +0000 (16:29 +0200)]
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
Emmanuel Ledoux [Tue, 13 May 2014 15:27:51 +0000 (17:27 +0200)]
wimpr-comm: got IOCTL_SERIAL_GET_MODEMSTATUS
Emmanuel Ledoux [Tue, 13 May 2014 13:12:14 +0000 (15:12 +0200)]
serial: removed the Write thread (kept the read and main threads)
serial: better closing
Emmanuel Ledoux [Tue, 13 May 2014 12:55:30 +0000 (14:55 +0200)]
serial: attempt to use two additional threads for read and write requests
winpr-comm: fixed CommWriteFile
Emmanuel Ledoux [Mon, 12 May 2014 18:33:33 +0000 (20:33 +0200)]
winpr-comm: got IOCTL_SERIAL_SET_RTS / IOCTL_SERIAL_CLR_RTS
Emmanuel Ledoux [Mon, 12 May 2014 18:16:13 +0000 (20:16 +0200)]
winpr-comm: got IOCTL_SERIAL_SET_DTR / IOCTL_SERIAL_CLR_DTR
Emmanuel Ledoux [Mon, 12 May 2014 17:21:06 +0000 (19:21 +0200)]
serial: removed the extra byte sent with an empty OutputBuffer. At least Windows 2008R2 SP1 works better without it. Need to figure out why...
Emmanuel Ledoux [Mon, 12 May 2014 15:33:56 +0000 (17:33 +0200)]
winpr-comm: got IOCTL_SERIAL_SET_TIMEOUTS / IOCTL_SERIAL_GET_TIMEOUTS
serial redirection: use of winpr-comm's functions and not serial_tty.* anymore
Emmanuel Ledoux [Tue, 6 May 2014 14:45:05 +0000 (16:45 +0200)]
winpr-comm: slightly improved GetCommProperties()
Emmanuel Ledoux [Tue, 6 May 2014 14:08:58 +0000 (16:08 +0200)]
winpr-comm: got IOCTL_SERIAL_SET_HANDFLOW / IOCTL_SERIAL_GET_HANDFLOW
Emmanuel Ledoux [Wed, 30 Apr 2014 22:04:55 +0000 (00:04 +0200)]
winpr-comm: fixed DCB's fBinary and fParity flags
Emmanuel Ledoux [Tue, 29 Apr 2014 20:25:07 +0000 (22:25 +0200)]
wimpr-comm: got IOCTL_SERIAL_SET_LINE_CONTROL and IOCTL_SERIAL_GET_LINE_CONTROL
Emmanuel Ledoux [Tue, 29 Apr 2014 02:04:09 +0000 (04:04 +0200)]
winpr-comm: implemented IOCTL_SERIAL_SET_CHARS and IOCTL_SERIAL_GET_CHARS
Emmanuel Ledoux [Mon, 28 Apr 2014 20:56:25 +0000 (22:56 +0200)]
winpr-comm: completed GetCommProperties() (the underlying ioctl remains unfinished)
Emmanuel Ledoux [Mon, 28 Apr 2014 20:32:27 +0000 (22:32 +0200)]
winpr-comm: tests are done according the "remote serial driver" in TestGetCommState/TestSetCommState
Emmanuel Ledoux [Mon, 28 Apr 2014 17:57:17 +0000 (19:57 +0200)]
winpr-comm: got IOCTL_SERIAL_GET_BAUD_RATE and IOCTL_SERIAL_GET_PROPERTIES (partial)
winpr-comm: cleant up unit tests
Emmanuel Ledoux [Sun, 27 Apr 2014 17:41:25 +0000 (19:41 +0200)]
- firt use of winpr-comm by the serial channel (not tested and not finalized)
Emmanuel Ledoux [Thu, 24 Apr 2014 22:20:48 +0000 (00:20 +0200)]
winpr-comm: first import of comm_ioctl.h and the REMOTE_SERIAL_DRIVER type.
Emmanuel Ledoux [Tue, 22 Apr 2014 15:04:07 +0000 (17:04 +0200)]
winpr-comm: First implementation of CommCreateFileA()
winpr-comm: Implementation of GetCommState()/SetCommState() in progress (BaudRate, fBinary and fParity done)
Emmanuel Ledoux [Tue, 22 Apr 2014 15:00:14 +0000 (17:00 +0200)]
Introduced RegisterHandleCreator() to be used with CreateFile()
Emmanuel Ledoux [Fri, 18 Apr 2014 17:25:25 +0000 (19:25 +0200)]
winpr-file: introduced HANDLE_CREATOR type
winpr-comm: got a _CommHandleCreator
Emmanuel Ledoux [Fri, 18 Apr 2014 15:18:08 +0000 (17:18 +0200)]
new functions: DefineCommDevice / QueryCommDevice / IsCommDevice
Emmanuel Ledoux [Fri, 18 Apr 2014 13:04:11 +0000 (15:04 +0200)]
add tchar function: _tcsncmp
Emmanuel Ledoux [Wed, 9 Apr 2014 14:43:41 +0000 (16:43 +0200)]
added TAGS to .gitignore
Marc-André Moreau [Wed, 2 Apr 2014 19:51:28 +0000 (15:51 -0400)]
libwinpr-comm: initial stubs
Marc-André Moreau [Wed, 2 Apr 2014 01:37:25 +0000 (21:37 -0400)]
Merge pull request #1764 from awakecoding/ports
Serial Port Improvements
Marc-André Moreau [Wed, 2 Apr 2014 01:17:44 +0000 (21:17 -0400)]
libfreerdp-crypto: fix tls_verify_certificate declaration
Marc-André Moreau [Wed, 2 Apr 2014 00:56:34 +0000 (20:56 -0400)]
libfreerdp-core: fix non-C89 declaration
Marc-André Moreau [Tue, 1 Apr 2014 20:49:09 +0000 (16:49 -0400)]
channels/serial: remove debug output
Marc-André Moreau [Tue, 1 Apr 2014 20:28:39 +0000 (16:28 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP into ports
Marc-André Moreau [Tue, 1 Apr 2014 20:23:27 +0000 (16:23 -0400)]
libfreerdp-crypto: make distinction between TLS connection error and user cancellation
Marc-André Moreau [Mon, 31 Mar 2014 18:26:02 +0000 (14:26 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP into ports
Marc-André Moreau [Mon, 31 Mar 2014 17:10:57 +0000 (13:10 -0400)]
cmake: fix debug symbols for C++ code
Marc-André Moreau [Sat, 29 Mar 2014 16:37:16 +0000 (12:37 -0400)]
libfreerdp-codec: fix unit test compilation
Marc-André Moreau [Fri, 28 Mar 2014 16:30:24 +0000 (12:30 -0400)]
Merge branch 'master' of github.com:mrthebunny/FreeRDP
Benoît LeBlanc [Fri, 28 Mar 2014 16:23:16 +0000 (12:23 -0400)]
Added context error codes
Marc-André Moreau [Thu, 27 Mar 2014 21:11:25 +0000 (17:11 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP into ports
Marc-André Moreau [Thu, 27 Mar 2014 21:09:26 +0000 (17:09 -0400)]
libfreerdp-core: fix potential issue while reading packet headers
Marc-André Moreau [Thu, 27 Mar 2014 18:24:15 +0000 (14:24 -0400)]
libfreerdp-core: enforce checking of NLA packets in transport only when expecting NLA
Marc-André Moreau [Thu, 27 Mar 2014 15:50:56 +0000 (11:50 -0400)]
libfreerdp-core: don't set connectErrorCode when there is no error
Marc-André Moreau [Wed, 26 Mar 2014 21:54:36 +0000 (17:54 -0400)]
channels/serial: partial EPSON TM-T88III fix
Marc-André Moreau [Wed, 26 Mar 2014 21:11:15 +0000 (17:11 -0400)]
channels/serial: code cleanup
Marc-André Moreau [Wed, 26 Mar 2014 19:21:44 +0000 (15:21 -0400)]
channels/serial: remove old async irp code, cleanup to make use of newer utils
Marc-André Moreau [Wed, 26 Mar 2014 15:05:12 +0000 (11:05 -0400)]
channels/rdpdr: robustness improvements
Marc-André Moreau [Wed, 26 Mar 2014 13:24:16 +0000 (09:24 -0400)]
Merge pull request #1758 from awakecoding/master
Bulk Decompression Fix
Marc-André Moreau [Wed, 26 Mar 2014 13:16:28 +0000 (09:16 -0400)]
libfreerdp-core: fix handling of uncompressed packets
Marc-André Moreau [Wed, 26 Mar 2014 13:01:39 +0000 (09:01 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Wed, 26 Mar 2014 01:20:15 +0000 (21:20 -0400)]
Merge pull request #1756 from hardening/malloc_checks
Adds some check to treat OOM problems + RDP security fix
Hardening [Tue, 25 Mar 2014 22:13:08 +0000 (23:13 +0100)]
Adds some check to treat OOM problems + RDP security fix
Malloc can fail so it will, this patch adds some check in some places
where malloc/strdup results were not checked.
This patch also contains a server side fix for RDP security (credit to nfedera).
The signature len was badly set in the GCC packet. And some other RDP security
oriented fixes are also there.
Marc-André Moreau [Tue, 25 Mar 2014 20:37:47 +0000 (16:37 -0400)]
channels/rdpdr: fix potential robustness issues related to hotplug support
Marc-André Moreau [Tue, 25 Mar 2014 19:26:38 +0000 (15:26 -0400)]
Merge pull request #1754 from awakecoding/master
Multimon Fix, xfreerdp extensibility, context-specific error handling, Gateway LAN auto-detect
Marc-André Moreau [Tue, 25 Mar 2014 19:19:52 +0000 (15:19 -0400)]
libfreerdp-core: fix build warnings and windows broken build
Marc-André Moreau [Tue, 25 Mar 2014 18:39:21 +0000 (14:39 -0400)]
libfreerdp-core: fix /multimon and /span options
Marc-André Moreau [Tue, 25 Mar 2014 16:27:22 +0000 (12:27 -0400)]
Merge branch 'xkeys' of github.com:awakecoding/FreeRDP
Marc-André Moreau [Tue, 25 Mar 2014 16:27:06 +0000 (12:27 -0400)]
xfreerdp: treat Super key differently
Marc-André Moreau [Mon, 24 Mar 2014 18:44:18 +0000 (14:44 -0400)]
libfreerdp-core: add 'Bypass RD Gateway server for local addresses' feature
Marc-André Moreau [Mon, 24 Mar 2014 13:40:01 +0000 (09:40 -0400)]
xfreerdp: don't execute action script when not present
Marc-André Moreau [Sat, 22 Mar 2014 21:43:02 +0000 (17:43 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP into xkeys
Marc-André Moreau [Sat, 22 Mar 2014 21:42:44 +0000 (17:42 -0400)]
libfreerdp-core: fix context error handling
Marc-André Moreau [Sat, 22 Mar 2014 21:12:50 +0000 (17:12 -0400)]
xfreerdp: add action script options for X11 events
Marc-André Moreau [Sat, 22 Mar 2014 18:40:52 +0000 (14:40 -0400)]
xfreerdp: add registration of key combinations
Marc-André Moreau [Sat, 22 Mar 2014 17:31:12 +0000 (13:31 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP into xkeys
Benoit LeBlanc [Fri, 21 Mar 2014 19:25:00 +0000 (15:25 -0400)]
Fix windows build
Benoît LeBlanc [Fri, 21 Mar 2014 18:03:38 +0000 (14:03 -0400)]
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
Benoît LeBlanc [Fri, 21 Mar 2014 17:45:43 +0000 (13:45 -0400)]
updated context error messages. utility macros for getting error code CLASS/TYPE
Marc-André Moreau [Fri, 21 Mar 2014 14:27:11 +0000 (10:27 -0400)]
libfreerdp-core: fix RDP4 compression
Benoît LeBlanc [Thu, 20 Mar 2014 22:19:54 +0000 (18:19 -0400)]
Added context-specific error management.
Added error codes to replace connectErrorCode.
Marc-André Moreau [Thu, 20 Mar 2014 13:49:51 +0000 (09:49 -0400)]
Merge branch 'master' of github.com:mrthebunny/FreeRDP