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
Marc-André Moreau
c23da2f80b
channels/rdpei: minor improvements
2013-05-14 01:06:25 -04:00
Marc-André Moreau
b385e61bc0
xfreerdp-client: start trying to send multitouch events
2013-05-13 19:17:25 -04:00
Marc-André Moreau
d96249e19f
libfreerdp-client: start propagating channels initialization to client
2013-05-13 17:39:53 -04:00
Marc-André Moreau
e72f898956
channels/drdynvc: refactor and start exporting interface
2013-05-13 16:07:42 -04:00
Marc-André Moreau
8e151409be
libfreerdp-client: export and register successfully interface pointer for channel
2013-05-12 21:23:12 -04:00
Marc-André Moreau
608f00b7df
libfreerdp-client: propagate and export pInterface extended channel pointer
2013-05-12 20:40:48 -04:00
Marc-André Moreau
2f02ad3b68
libfreerdp-client: split channels code into multiple files
2013-05-12 19:52:24 -04:00
Marc-André Moreau
b18ffa2c88
libfreerdp-client: internal channels code cleanup
2013-05-12 19:08:08 -04:00
Marc-André Moreau
929b3b3076
channels/tsmf: implement set source video rect (0x116)
2013-05-10 17:36:27 -04:00
Marc-André Moreau
dc0aa4c72d
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-05-10 16:43:19 -04:00
Marc-André Moreau
ba0b4ee524
libfreerdp-client: load rdpdr when rdpsnd is loaded
2013-05-10 16:39:16 -04:00
Daryl Poe
089bfbea2c
handle drdynv version 3
2013-05-10 13:57:22 -06:00
Marc-André Moreau
335d13d65f
channels/rdpei: implement client pdus
2013-05-09 00:21:33 -04:00
Marc-André Moreau
e3a4d125cd
channels/rdpei: start implementing multitouch
2013-05-08 23:18:42 -04:00
Marc-André Moreau
fdf3ddcf9e
freerdp: purge deprecated stream utils
2013-05-08 17:48:30 -04:00
Marc-André Moreau
fd230443c5
freerdp: purge old stream utils
2013-05-08 16:27:21 -04:00
Marc-André Moreau
5b92413843
freerdp: purge deprecated stream utils
2013-05-08 16:09:16 -04:00
Marc-André Moreau
b4cac74136
xfreerdp-server: fix RemoteFX encoding
2013-05-01 18:15:55 -04:00
Marc-André Moreau
51715636a5
freerdp: remove some deprecated stream utils
2013-04-29 22:35:15 -04:00
Martin Fleisz
c0dffd6edf
Android: Added SDCard redirection support
2013-04-25 07:30:33 -07:00
Marc-André Moreau
0cbdd6b641
freerdp: merge with master
2013-04-09 10:18:03 -04:00
Marc-André Moreau
5325ad386c
wfreerdp: fix build
2013-04-01 18:21:21 -04:00
Marc-André Moreau
9129bc3c7a
channels/client: name refactoring
2013-03-29 18:55:59 -04:00
Marc-André Moreau
7d88e404d2
channels/client: refactor global channel manager list
2013-03-29 18:38:39 -04:00
Marc-André Moreau
506c665df2
channels/client: start breaking down into smaller blocks channel code
2013-03-29 17:53:18 -04:00
Marc-André Moreau
f4df4e4b26
channels: partial cleanup
2013-03-29 14:49:09 -04:00
Bernhard Miklautz
81a97144f1
channel/tsmf: fix for gstreamer detection
...
Print warning if gstreamer is there but xrandr is missing.
2013-03-29 16:17:03 +01:00
Bernhard Miklautz
23cac314a1
channel/tsmf: fixed gstreamer plugin build
...
Gstreamer wasn't build because it requires xrandr which wasn't
detected.
Fixes #1146
2013-03-29 13:17:12 +01:00
Marc-André Moreau
d187becc28
freerdp: merge with master
2013-03-28 21:20:36 -04:00
Marc-André Moreau
3417a3aab5
freerdp: merge RDP_EVENT type with wMessage
2013-03-28 21:13:56 -04:00
Marc-André Moreau
f757623f7f
channels: replace event_type, event_class with id for events
2013-03-28 20:23:16 -04:00
Marc-André Moreau
8ad5932a3d
channels: continue event refactoring
2013-03-28 19:33:31 -04:00
Marc-André Moreau
72bf8ea032
libfreerdp-utils: start migrating old eventing system
2013-03-28 18:29:57 -04:00
Hardening
7701c9d934
Replace printf(...) by fprintf(stderr, ...)
2013-03-28 23:06:34 +01:00
Marc-André Moreau
068f0de4d4
libfreerdp-utils: purge old file utils
2013-03-22 15:52:43 -04:00
Marc-André Moreau
dbbb341098
libfreerdp-utils: purge thread utils
2013-03-21 17:58:18 -04:00
Marc-André Moreau
75d4c70dd0
channels/printer: remove usage of thread utils
2013-03-21 17:40:04 -04:00
Marc-André Moreau
996e7c5dbd
channels/audin/server: remove usage of old thread utils
2013-03-21 17:28:55 -04:00
Marc-André Moreau
8c8a82c31f
libfreerdp-utils: purge old STREAM utils
2013-03-21 16:45:25 -04:00
Marc-André Moreau
a8201b0d1b
libwinpr-utils: combine old and new stream utils
2013-03-21 15:19:33 -04:00
Marc-André Moreau
62eec0c2b5
libfreerdp-utils: rename internal members of STREAM to match new wStream
2013-03-21 15:01:46 -04:00
Marc-André Moreau
882c914e6c
channels/tsmf: fix build
2013-03-21 14:45:03 -04:00
Marc-André Moreau
4d240b627d
channels/tsmf: remove usage of old thread utils
2013-03-20 21:42:52 -04:00
Marc-André Moreau
16ba581553
channels/serial: remove usage of old thread utils
2013-03-20 21:22:47 -04:00
Marc-André Moreau
6ad532fbf4
channels/parallel: remove usage of old thread utils
2013-03-20 20:57:51 -04:00
Marc-André Moreau
6a71f2e442
channels/audin: remove usage of old thread utils
2013-03-20 20:44:31 -04:00
Marc-André Moreau
2cfb8761d8
channels/rdpei: stub RDP8 multi-touch extension
2013-03-19 16:52:07 -04:00
Marc-André Moreau
37bb2bda8e
cmake: build client/server interfaces by default
2013-03-18 22:29:52 -04:00
Marc-André Moreau
aec86e1da8
wfreerdp: start splitting CLI from client core
2013-03-18 20:12:51 -04:00
Bernhard Miklautz
77df254265
Fixed some build warnings
2013-03-15 18:22:49 +01:00
Christian Hofstaedtler
1dbdfc155d
Add the ECHO dynamic virtual channel
2013-03-13 00:24:24 +01:00
C-o-r-E
4c769bc01b
rdpsnd: clean up debug output
2013-03-11 14:15:48 -04:00
C-o-r-E
1e8a7c6105
channels/rdpsnd: removed debug prints
2013-03-08 13:44:49 -05:00
C-o-r-E
7453fdaecc
channels/rdpsnd: merged
2013-03-08 13:25:03 -05:00
C-o-r-E
2d3fc241a6
mfreerdp-server and rdpsnd server more fixes
2013-03-08 12:55:21 -05:00
C-o-r-E
989232dc41
mfreerdp-server and rdpsnd server fixes
2013-03-08 12:36:38 -05:00
Marc-André Moreau
2abd3d11bd
channels/rdpsnd/server: cleanup pdu creation
2013-03-07 16:04:25 -05:00
Marc-André Moreau
cabc465464
channels/rdpsnd/server: get rid of old thread util
2013-03-07 15:33:27 -05:00
Marc-André Moreau
96fa4f462f
libfreerdp-codec: move audio format processing code to codec library
2013-03-07 14:43:21 -05:00
C-o-r-E
e4702cac98
rdpsnd: server no longer crashes when mstsc version 8 connects
2013-03-07 14:21:50 -05:00
C-o-r-E
d50cddc1bd
mfreerdp-server: begin reworking rdpsnd server channel
2013-03-07 13:34:12 -05:00
C-o-r-E
8ab7ce23b5
mfreerdp-server: check for invalid rdpsnd format
2013-03-05 17:31:31 -05:00
Bernhard Miklautz
b95bf97c20
android: build fix - no librt
...
Android NDK doesn't provide librt.
2013-02-28 11:47:09 +01:00
Marc-André Moreau
5468c53720
channels/rdpsnd: added better format debug output
2013-02-27 20:46:14 -05:00
Marc-André Moreau
af80955b78
wfreerdp: fix rdpsnd
2013-02-27 17:35:57 -05:00
Marc-André Moreau
761e1d464f
channels/rdpsnd: add GetVolume()
2013-02-27 16:57:18 -05:00
Marc-André Moreau
5ead9ec30d
channels/rdpsnd: fix stop/start
2013-02-27 15:10:35 -05:00
Marc-André Moreau
d815363fa7
channels/rdpsnd/alsa: fix build with DEBUG_SVC
2013-02-27 10:26:11 -05:00
Marc-André Moreau
6a775ff032
channels/rdpsnd: reduce ALSA buffer underruns
2013-02-26 17:54:16 -05:00
Marc-André Moreau
8df47fb7fa
channels/rdpsnd: attempt computing proper timestamp for playback end
2013-02-26 11:50:48 -05:00
Marc-André Moreau
afa7f4b945
channels/rdpsnd: fix crashes on termination
2013-02-26 11:16:33 -05:00
Marc-André Moreau
2b9174a69b
channels/rdpsnd: cleanup
2013-02-25 21:46:48 -05:00
Marc-André Moreau
efb0a15fc9
channels/rdpsnd: added audio data length
2013-02-25 17:49:07 -05:00
Marc-André Moreau
b6e46e4511
Merge branch 'master' of github.com:awakecoding/FreeRDP
2013-02-24 22:33:27 -05:00
Marc-André Moreau
c22e5181c1
channels/rdpsnd: added more ALSA debug output
2013-02-24 22:32:48 -05:00
Marc-André Moreau
fe34a529d5
freerdp: fix build and warnings on Mac OS X
2013-02-21 21:09:42 -05:00
Marc-André Moreau
71a205a21e
channels/rdpsnd: cleanup ALSA setup
2013-02-21 19:20:13 -05:00
Marc-André Moreau
23879a429b
channels/rdpsnd: refactor audio format negotiation
2013-02-21 18:41:41 -05:00
Marc-André Moreau
6ba81c2a1a
channels/rdpsnd: added more debug output for timing
2013-02-21 16:03:47 -05:00
Marc-André Moreau
8e8c9445dc
channels/rdpsnd: add detailed latency output
2013-02-21 14:58:39 -05:00
Marc-André Moreau
5f1b13d77f
channels/rdpsnd: start work on WavePlay/WaveConfirm
2013-02-21 13:25:43 -05:00