Commit Graph

511 Commits

Author SHA1 Message Date
Ian Whyman
75b6e12c11 Backwards compat defines
Conflicts:
	channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c
2014-08-08 15:13:25 +02:00
Ian Whyman
3b9b030b0e CODEC_ID_* -> AV_CODEC_ID_* 2014-08-08 15:08:15 +02:00
Daryl Poe
865b816b80 fixes for drive cut, mode, read/write 2014-01-27 17:21:34 -07:00
Armin Novak
a91592bd68 Using a monitor thread for tty input now to work around a WaitForMultipleObjects
limitation of winpr.
Using infinite timeout now in threads to reduce CPU usage to nearly zero.
2013-08-26 20:19:03 +02:00
Armin Novak
48ce36fd11 Reset file descriptor set only, if necessary now. 2013-08-26 20:19:03 +02:00
Armin Novak
ebff396e90 Fixed compilation error, now using WaitForMultipleObjects. 2013-08-26 20:16:06 +02:00
Armin Novak
c3923afa1f Fixed initialization of serial device, now aborting pending
read / write operations.
2013-08-26 20:16:06 +02:00
Armin Novak
bd74f5c8b5 Removed EAGAIN handling, again passing on the error to the server. 2013-08-26 20:10:43 +02:00
Armin Novak
cf6b9d44ac Fixed invalid access to tty in thread, which was already removed by
serial_process_irp_close
Retry read now, if non blocking IO returns EAGAIN.
2013-08-26 20:10:43 +02:00
Armin Novak
4a5b19e816 Fixed high CPU usage. 2013-08-26 20:10:43 +02:00
Armin Novak
605f956486 Fixed resource leaks and missing thread sync. 2013-08-26 20:10:43 +02:00
Armin Novak
86c0c02975 Fixed resource leaks. 2013-08-26 20:10:42 +02:00
Armin Novak
ac63b9ae56 Using WaitForMultipleObjects now to reduce CPU load. 2013-08-26 20:10:42 +02:00
Armin Novak
28ee436374 Added links to documentation of message sequences for clipboard data exchange. 2013-08-26 20:01:59 +02:00
Armin Novak
c3dc19cc5f Fixed invalid package size allocation and calculation in cliprdr_process_format_list_event
Enabled and fixed error handling in cliprdr_process_format_list_response
2013-08-26 20:01:50 +02:00
Armin Novak
7015f83d97 Fixed #1404, using WaitForMultipleObjects now.
(cherry picked from commit 44c80c29cc)
2013-08-26 20:00:20 +02:00
Armin Novak
93cb8fc11a Moved generated tables.c to binary folder. 2013-08-26 19:58:09 +02:00
Armin Novak
b6d06ec012 Added libusb detection CMake script. 2013-08-26 14:41:47 +02:00
Armin Novak
c22b539153 Fixed linking with libusb, now linking against correct library. 2013-08-26 14:41:47 +02:00
Armin Novak
fe221cdc56 Now using libraries detected by CMake for linking against libusb. 2013-08-26 14:41:47 +02:00
Armin Novak
67808b8bc3 Added proper CMake checks for libraries linked with urbdrc 2013-08-26 14:41:47 +02:00
Daryl Poe
be51676541 fix segfault due to pulse input race condition 2013-07-26 13:54:20 -06:00
Marc-André Moreau
cd68f79519 channels/disp: remove RDP8.1 Preview MS-RDPEDISP support from 1.1 stable branch (will be included in next release) 2013-07-16 15:21:17 -04:00
Marc-André Moreau
b0450f556e channels/disp: initial MS-RDPEDISP support (8.1 Preview build) 2013-07-15 10:43:38 -04:00
Marc-André Moreau
a306d3f9fc channels/rdpei: fix multitouch with Word 2013 2013-07-11 11:04:20 -07:00
Marc-André Moreau
5926fa36dd libfreerdp-client: use PubSub for OnChannelConnected/OnChannelDisconnected 2013-07-11 08:53:15 -07:00
Marc-André Moreau
f5c2181218 channels/disp: update 2013-07-10 14:04:43 -07:00
Marc-André Moreau
eca98fe8cc channels/disp: initial RDP8.1 MS-RDPEDISP implementation 2013-07-08 18:36:03 -04:00
Norbert Federa
db6c0083d0 channels/serial: bring it back to life
- Fixes #1166
- Fixed a possible segfault caused by invalid command line parameters
- Removed serial->in_event which had no effect at all on the program logic
2013-07-03 14:09:04 +02:00
Marc-André Moreau
863b51f938 freerdp: merge with master 2013-06-28 12:50:24 -04:00
Marc-André Moreau
7bb9e5e408 Merge pull request #1308 from dbungert/tsmf
Assorted tsmf and gstreamer fixes
2013-06-28 09:40:29 -07:00
Marc-André Moreau
237f5a63d5 Merge pull request #1288 from dbungert/dvcmanDupeChannels
Free incompletely initialized dvcs.
2013-06-28 09:36:40 -07:00
Daniel Bungert
c95b5c49a6 Assorted tsmf and gstreamer fixes:
* tsmf audio volume fixes
  * The first audio volume message is received before everything is
    initialized.  Cache this data until we're ready.
  * Handle the cases of gstreamer unitialized/partially ready/
    fully ready.
  * Default to 50% as a fallback if the above fails.
* Improved detection of the primary monitor.
* Fix an unexpected shutdown when the server asks us to resize the media
  overlay to (width=0,height=0).
* Permit multiple presentations - required for repeat of audio files
  and also is seen in some video cases.
* Several leak fixes.
* Fix logging related compile warnings and other usage of PRIu64.
2013-06-19 12:33:46 -04:00
Bernhard Miklautz
0fd6439123 server/sample: fix build
Needs now also to be linked against winpr-error
2013-06-13 14:53:09 +02:00
Daniel Bungert
475a44f0e2 Free incompletely initialized dvcs.
If dynamic channels are not completely initialized, the server will
reuse those channel numbers for new channels.
This causes interesting problems when the server asks for a channel
by number, as we can end up with multiple channels with the same number.

Log example of the problem:
DBG_DVC drdynvc_process_receive (341): Cmd=0x1
DBG_DVC drdynvc_process_create_request (249): ChannelId=0 ChannelName=PNPDR
DBG_DVC drdynvc_process_create_request (265): no listener
DBG_DVC drdynvc_process_receive (341): Cmd=0x1
DBG_DVC drdynvc_process_create_request (249): ChannelId=0 ChannelName=TSMF
DBG_DVC tsmf_on_new_channel_connection (378):
DBG_DVC dvcman_create_channel (415): listener TSMF created new channel 0
DBG_DVC drdynvc_process_create_request (260): channel created
DBG_DVC drdynvc_process_receive (341): Cmd=0x3
DBG_DVC drdynvc_process_data (311): ChannelId=0
Warning dvcman_receive_channel_data (517): ChannelId 0 not ready!

In this log, we received data intended for TSMF, but the channel lookup
found the incompletely initialized PNPDR.
2013-06-11 16:49:27 -04:00
Marc-André Moreau
3317592ecb channels/rdpei: fix long press (multitouch right-click) 2013-06-11 16:15:46 -04:00
Marc-André Moreau
977191bba2 channels/rdpei: start implementing strict state machine logic 2013-06-06 18:37:52 -04:00
Marc-André Moreau
7c877e1a61 channels/rdpei: restructure 2013-06-06 18:14:59 -04:00
Marc-André Moreau
2bd6808432 freerdp: merge with master 2013-06-05 10:31:01 -04:00
Hardening
5ad5e5821a Refactored printf(msg) to fprintf(stderr, msg) 2013-06-02 11:07:59 +02:00
Marc-André Moreau
7cf9526a78 channels/tsmf: fix set source video rect 2013-05-29 12:21:54 -04:00
Marc-André Moreau
e45f149db4 channels/rdpsnd: fix potential uninitialized value 2013-05-25 15:49:44 -04:00
Marc-André Moreau
e9d362b58e channels/printer: fix printer redirection and test with cups-pdf 2013-05-20 15:50:22 -04:00
Marc-André Moreau
8095bec3ec channels/drdynvc: call OnChannelDisconnected 2013-05-20 15:23:54 -04:00
Vic Lee
25229f520f channels/server: provide error codes to distinguish between not-registered and not-ready state. 2013-05-19 16:46:02 -07:00
Marc-André Moreau
367ebf32a3 freerdp: make use of stream macros to access members 2013-05-15 12:14:26 -04:00
Marc-André Moreau
9229548cd7 xfreerdp: fix initialization when multitouch hardware is not present 2013-05-15 11:39:28 -04:00
Marc-André Moreau
0ee55ddcfe channels/rdpei: fix warnings 2013-05-14 22:01:36 -04:00
Marc-André Moreau
c3efeccbd6 xfreerdp: partial cleanup of multitouch code 2013-05-14 19:26:01 -04:00
Marc-André Moreau
e6aec6c936 xfreerdp: initial multitouch functionality 2013-05-14 17:45:52 -04:00