Commit Graph

1026 Commits

Author SHA1 Message Date
Marc-André Moreau
5920dbc074 channels/smartcard: cleanup of sanitization 2014-04-12 15:09:23 -04:00
Marc-André Moreau
7ff1c984c2 channels/smartcard: add more debug output, make distinction between reader and card state 2014-04-12 14:31:54 -04:00
Marc-André Moreau
fd6052f348 channels/smartcard: add more debug output 2014-04-12 12:42:09 -04:00
Marc-André Moreau
727a4914f2 channels/smartcard: add more debug output 2014-04-11 18:57:04 -04:00
Marc-André Moreau
32b65c3000 channels/smartcard: fix broken context/handle encoding/decoding 2014-04-11 17:44:27 -04:00
Marc-André Moreau
79453d1bb4 channels/smartcard: make handles completely opaque 2014-04-11 16:27:01 -04:00
Marc-André Moreau
f49582614c channels/smartcard: fix on Windows 2014-04-11 14:13:06 -04:00
Marc-André Moreau
f99c8ed8d0 channels/smartcard: cleanup context/handle management 2014-04-11 14:01:42 -04:00
Marc-André Moreau
8cac6519e1 channels/smartcard: added detailed debug tracing 2014-04-11 02:17:36 -04:00
Marc-André Moreau
dd5fab82b5 channels/smartcard: cleanup and simplify ListReaders call 2014-04-10 23:55:11 -04:00
Marc-André Moreau
2b52c294a2 channels/smartcard: minor fixes 2014-04-10 17:36:42 -04:00
Marc-André Moreau
ccea0b1e62 libwinpr-smartcard: more pcsc-lite fixes 2014-04-09 17:44:39 -04:00
Marc-André Moreau
912d7f1e4e libwinpr-smartcard: add proper locking by SCARDCONTEXT for pcsc-lite 2014-04-09 15:32:18 -04:00
Marc-André Moreau
da56c8af62 channels/smartcard: pcsc-lite fixes 2014-04-09 14:27:44 -04:00
Marc-André Moreau
39f04c870e channels/smartcard: fix some valgrind warnings 2014-04-09 12:28:03 -04:00
Marc-André Moreau
b146bad480 channels/smartcard: don't treat certain errors as errors 2014-04-09 10:40:52 -04:00
Marc-André Moreau
b91c10392f channels/smartcard: improve SCardGetAttrib 2014-04-08 23:52:24 -04:00
Marc-André Moreau
46686d391f channels/smartcard: harden parsing of expected padding 2014-04-08 22:10:21 -04:00
Marc-André Moreau
b9e91bf3f6 channels/smartcard: Transmit_Return pioRecvPci implementation 2014-04-08 21:36:47 -04:00
Marc-André Moreau
3e4d30df6c channels/smartcard: fix ListReaders mszGroups parsing 2014-04-08 18:55:50 -04:00
Marc-André Moreau
5ae6ef4495 channels/smartcard: fix GetStatusChange SCARD_E_TIMEOUT handling 2014-04-08 12:00:04 -04:00
Marc-André Moreau
ca1ec811e8 Merge branch 'smartcard' of github.com:awakecoding/FreeRDP into smartcard
Conflicts:
	channels/smartcard/client/smartcard_pack.c
2014-04-08 11:34:46 -04:00
Marc-André Moreau
55e23d1ff4 channels/smartcard: fix padding functions 2014-04-08 11:32:48 -04:00
Marc-André Moreau
8cc37ff759 channels/smartcard: harden packing 2014-04-07 23:45:11 -04:00
Marc-André Moreau
e3ae293971 channels/smartcard: more code hardening 2014-04-07 17:17:26 -04:00
Marc-André Moreau
4935199469 channels/smartcard: add more verbose debug output to transmit call 2014-04-07 13:39:47 -04:00
Marc-André Moreau
835e30d233 channels/smartcard: add more debug output to transmit calls 2014-04-07 12:53:38 -04:00
Marc-André Moreau
21c3fd6093 channels/smartcard: fix GetStatusChangeW 2014-04-07 12:38:27 -04:00
Marc-André Moreau
7b4c44c5ff channels/smartcard: handle ntstatus codes 2014-04-07 12:13:31 -04:00
Marc-André Moreau
f158cf0ac3 channels/smartcard: cleanup return codes 2014-04-07 10:59:13 -04:00
Marc-André Moreau
e75b9aa9fa channels/smartcard: more unpacking 2014-04-07 01:19:58 -04:00
Marc-André Moreau
c2fb729167 channels/smartcard: implement clean SCardStatusW 2014-04-07 00:58:34 -04:00
Marc-André Moreau
bbfd4fb361 channels/smartcard: implement clean ListReadersW 2014-04-07 00:10:27 -04:00
Marc-André Moreau
73df99a432 channels/smartcard: cleanup packing 2014-04-06 23:08:40 -04:00
Marc-André Moreau
10aaf59f19 channels/smartcard: cleanup old unpacking code 2014-04-06 21:28:59 -04:00
Marc-André Moreau
9dd9f8c7bf channels/smartcard: more unpacking 2014-04-06 21:09:49 -04:00
Marc-André Moreau
a22b7af2b9 channels/smartcard: unpacking improvements 2014-04-06 16:29:11 -04:00
Marc-André Moreau
7c6afc8099 channels/smartcard: more 64-bit fixes 2014-04-05 21:17:54 -04:00
Marc-André Moreau
b21038e339 channels/smartcard: fix some 64-bit handling issues 2014-04-05 20:46:20 -04:00
Marc-André Moreau
7ff35d11ce Merge branch 'smartcard' of github.com:awakecoding/FreeRDP into smartcard 2014-04-05 20:06:12 -04:00
Marc-André Moreau
7324ded7a2 channels/smartcard: fix non-monolithic build 2014-04-05 20:05:51 -04:00
Marc-André Moreau
368486dd13 channels/smartcard: cleanup 2014-04-05 19:58:48 -04:00
Marc-André Moreau
9de2a85f6a channels/smartcard: add async irp processing 2014-04-05 17:51:13 -04:00
Marc-André Moreau
2aa248853a channels/smartcard: cancel outstanding IRPs on re-initialization 2014-04-05 17:15:17 -04:00
Marc-André Moreau
70b490d05c channels/smartcard: add outstanding irp list 2014-04-05 16:57:31 -04:00
Marc-André Moreau
600218dfb2 channels/smartcard: cleanup ConnectA/ConnectW parsing 2014-04-05 16:06:46 -04:00
Marc-André Moreau
c40c1c3fab channels/smartcard: handle common headers in a common place 2014-04-05 11:56:02 -04:00
Marc-André Moreau
1e7c4dc091 Merge branch 'smartcard' of github.com:awakecoding/FreeRDP into smartcard 2014-04-05 11:23:01 -04:00
Marc-André Moreau
23745fd58a channels/smartcard: improve packing of data structures 2014-04-05 11:22:48 -04:00
Marc-André Moreau
67ba28e86d libwinpr-smartcard: ListReaders_Call fix 2014-04-04 17:37:00 -04:00
Marc-André Moreau
f9ada64587 libwinpr-smartcard: fix compilation on Windows 2014-04-04 16:45:11 -04:00
Marc-André Moreau
33813c08ec channels/smartcard: cleanup unpacking of data structures 2014-04-04 13:57:28 -04:00
Marc-André Moreau
b12e280ae2 channels/smartcard: improve parsing 2014-04-04 00:56:24 -04:00
Marc-André Moreau
caf1156254 channels/smartcard: add clean definitions of packed data structures and RDP smartcard IOCTLs 2014-04-03 18:47:18 -04:00
Marc-André Moreau
308e32ccb9 channels/smartcard: refactoring 2014-04-03 17:29:12 -04:00
Marc-André Moreau
89ad7638e4 channels/smartcard: migrate code to libwinpr-smartcard 2014-04-03 15:27:55 -04:00
Marc-André Moreau
8cdb3576c2 Merge branch 'master' of github.com:awakecoding/FreeRDP into smartcard
Conflicts:
	channels/smartcard/client/smartcard_main.c
2014-04-02 18:27:31 -04:00
Marc-André Moreau
8083350aaa channels/serial: remove debug output 2014-04-01 16:49:09 -04:00
Marc-André Moreau
021776e84b channels/serial: partial EPSON TM-T88III fix 2014-03-26 17:54:36 -04:00
Marc-André Moreau
8e2baab504 channels/serial: code cleanup 2014-03-26 17:11:15 -04:00
Marc-André Moreau
2ff5200f81 channels/serial: remove old async irp code, cleanup to make use of newer utils 2014-03-26 15:21:44 -04:00
Marc-André Moreau
00e6463e1e channels/rdpdr: robustness improvements 2014-03-26 11:05:12 -04:00
Marc-André Moreau
374b5e4dcc channels/rdpdr: fix potential robustness issues related to hotplug support 2014-03-25 16:37:47 -04:00
Benoit LeBlanc
27c753f80c Merge branch 'master' of git://github.com/awakecoding/FreeRDP 2014-03-19 11:53:10 -04:00
Marc-André Moreau
db1159f7b6 Merge pull request #1737 from zhangzl2013/sound-fix
Sound fix
2014-03-13 10:35:33 -04:00
Benoît LeBlanc
c6f235e1ee Merge branch 'master' of git://github.com/awakecoding/FreeRDP 2014-03-12 18:23:26 -04:00
Benoît LeBlanc
dde8d81f46 Removed WLOG traces for audio playback 2014-03-12 18:23:17 -04:00
Marc-André Moreau
a7ab4bb4af channels/audin: fix target export 2014-03-12 11:36:50 -04:00
Zhang Zhaolong
ffb53ba5e2 sound: cleanup invalid code. 2014-03-12 17:16:06 +08:00
Zhang Zhaolong
9cf6d1d9ae sound: fix long latency. 2014-03-12 17:02:45 +08:00
Zhang Zhaolong
69c926eb37 sound: fix random volume on connection. 2014-03-12 15:04:33 +08:00
Marc-André Moreau
b245dea4a8 channels/rdpei: make use of callback interface for Suspend/Resume touch events 2014-03-11 11:55:38 -04:00
Mike McDonald
b4b6a2171d Merge branch 'master' of https://github.com/awakecoding/FreeRDP into awakecoding 2014-03-10 15:11:23 -04:00
Zhang Zhaolong
bb2e5c5cb9 clipboard: wfreerdp: implement file clipping. 2014-03-10 14:25:59 +08:00
Zhang Zhaolong
edd3bff950 clipboard: implement file clipping on XP.
add temp directory.
    use %TEMP% directory as file transfering temprorary directory.
    if %TEMP% directory is in C:\, driver C:\ should be redirected in order
    to enable file clipping on XP.
2014-03-10 14:25:56 +08:00
Zhang Zhaolong
353b4f8ba3 clipboard: add events for file clipping. 2014-03-10 14:25:56 +08:00
Mike McDonald
567b4f783b Merge branch 'master' of https://github.com/awakecoding/FreeRDP into awakecoding 2014-03-04 18:15:38 -05:00
Zhang Zhaolong
0d86ee942f wfreerdp: fix export names. 2014-03-04 13:54:26 +08:00
Zhang Zhaolong
69296ce3bd wfreerdp: build fix. 2014-03-04 13:54:25 +08:00
Marc-André Moreau
6695873394 libwinpr-wtsapi: fix multiple inconsistencies with original wtsapi headers 2014-02-28 14:49:57 -05:00
Marc-André Moreau
419e2936be Merge branch 'master' of github.com:awakecoding/FreeRDP into channels 2014-02-27 15:09:06 -05:00
Marc-André Moreau
951368a1ce Merge branch 'master' of github.com:FreeRDP/FreeRDP 2014-02-27 13:58:29 -05:00
Marc-André Moreau
be06fc33de Merge pull request #1696 from zhangzl2013/drive
drive: win: add hotplug support.
2014-02-27 13:50:49 -05:00
Marc-André Moreau
6e1cdf1b67 libfreerdp-core: expose opaque HANDLE instead of WTSVirtualChannelManager* 2014-02-27 13:30:04 -05:00
Vic Lee
4fa2ca3062 rdpsnd-server: fix broken message parsing. 2014-02-20 23:33:27 +08:00
Zhang Zhaolong
f924190d8b drive: linux: add hotplug support. 2014-02-20 17:42:02 +08:00
Marc-André Moreau
9afddf66ad libfreerdp-core: implement WTSVirtualChannelOpenEx 2014-02-16 23:00:58 -05:00
Marc-André Moreau
3e546a22a1 channels: start migrating existing server-side channels to WTSAPI 2014-02-16 22:07:00 -05:00
Marc-André Moreau
82b922a70d channels: rename custom CHANNEL_ENTRY_POINTS_EX to CHANNEL_ENTRY_POINTS_FREERDP to fix conflict 2014-02-16 17:38:59 -05:00
Marc-André Moreau
b833073f57 libfreerdp-core: make client virtual channel API prototypes converge towards original API 2014-02-16 17:27:36 -05:00
Marc-André Moreau
8a81208059 libfreerdp-core: move server-side virtual channels back into core 2014-02-15 17:42:59 -05:00
Marc-André Moreau
db7a9d2e77 libfreerdp-core: start moving internal MCS variables out of rdpSettings* 2014-02-15 16:32:38 -05:00
Zhang Zhaolong
e82d2f9e14 drive: win: fix use drive name(path) to find out the device plugged out. 2014-02-14 16:35:44 +08:00
Zhang Zhaolong
7205e348eb drive: win: add hotplug support. 2014-02-14 15:09:55 +08:00
Zhang Zhaolong
b1fe93bf4b drive: win: add file rename support. 2014-02-12 18:13:42 +08:00
Zhang Zhaolong
0adb22f305 drive: win: add 64 bits support. 2014-02-12 17:52:28 +08:00
Zhang Zhaolong
f67fa72386 drive: win: fix file open flag. 2014-02-12 17:45:17 +08:00
Zhang Zhaolong
5157555d5b drive: minor code formatting. 2014-02-12 11:34:33 +08:00
Zhang Zhaolong
c9a9f5b438 wfreerdp: add winmm audin subsystem. 2014-02-11 17:39:03 +08:00
Zhang Zhaolong
1404532d70 drdynvc: fix free invalid pointer. 2014-02-11 17:39:03 +08:00
Marc-André Moreau
00ace94b94 libfreerdp-channels: start consolidating channels client code with core 2014-02-10 23:13:29 -05:00
Marc-André Moreau
cdcd290c44 wfreerdp: fix most build warnings 2014-02-10 22:12:13 -05:00
Marc-André Moreau
ba0360f408 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2014-02-10 20:22:44 -05:00
Marc-André Moreau
5ff847a6e6 wfreerdp: fix multiple warnings 2014-02-10 01:06:11 -05:00
Marc-André Moreau
1f18c27ec3 channels/audin: fix audin-server link libraries 2014-02-09 20:08:49 -05:00
Bernhard Miklautz
ec908a9d6b smartcard: added missing defines for OS X 2014-02-09 14:53:59 +01:00
vworkspace
e6efe7c678 Added creation of rdpei events and added processing of received 'suspend/resume touches' event from the server in the rdpei plugin. 2014-02-07 13:16:41 -05:00
Bernhard Miklautz
7815747d02 smartcard: fix PCSC detection/build on OS X
fixes #1683
2014-02-07 00:14:46 +01:00
Marc-André Moreau
6acd0ed84a channels/rdpsnd: improve winmm rdpsnd implementation 2013-12-15 15:59:51 -05:00
Marc-André Moreau
4356eb5572 Merge branch 'audio' of github.com:FreeRDP/FreeRDP
Conflicts:
	libfreerdp/codec/audio.c
2013-12-11 17:24:00 -05:00
Marc-André Moreau
f890771871 channels/rdpsnd: fix audio duration computation for GSM610 format 2013-12-11 17:21:29 -05:00
Marc-André Moreau
95a452e77f channels/rdpsnd: start using AudioConverter 2013-12-09 17:34:23 -05:00
Marc-André Moreau
c230e872af channels/rdpsnd: start refactoring mac audio code 2013-12-09 16:02:42 -05:00
Marc-André Moreau
4d6f3b6de4 libfreerdp-client: fix bug in pInterface channel registration 2013-12-05 16:55:28 -05:00
Marc-André Moreau
128fb72ec6 mfreerdp: fix possible crash on gdi termination 2013-11-25 00:25:16 -05:00
Marc-André Moreau
8fa7008435 channels/cliprdr: add callback for data request response 2013-11-24 20:46:56 -05:00
Marc-André Moreau
4fbbc03ac9 channels/cliprdr: fix conflict with CLIPRDR_HEADER 2013-11-24 15:35:26 -05:00
Marc-André Moreau
d7379cd4ff channels/cliprdr: implement more of the callback interface 2013-11-23 23:45:31 -05:00
Marc-André Moreau
21ec46036b channels/cliprdr: start implementing clean callback interface 2013-11-23 21:35:44 -05:00
Marc-André Moreau
83ad1730b8 Merge branch 'master' of github.com:FreeRDP/FreeRDP
Conflicts:
	libfreerdp/core/input.c
	libfreerdp/core/update.c
2013-11-23 16:39:29 -05:00
Marc-André Moreau
76c842285d channels/rdpsnd: initial attempt at adding GSM610 support 2013-11-22 12:11:39 -05:00
eroen
6fe23e1a38 ffmpeg-2 -- CodecID
deprecated:
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=104e10fb426f903ba9157fdbfe30292d0e4c3d72

broken with libavcodec 55
2013-11-21 15:11:42 +01:00
eroen
cbcf0de3fa ffmpeg-2 -- dsp_mask
deprecated:
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=95510be8c35753da8f48062b28b65e7acdab965f

broken with libavcodec 55
2013-11-21 15:11:42 +01:00
eroen
bf065f3e89 ffmpeg-2 -- AVCODEC_MAX_AUDIO_FRAME_SIZE
deprecated:
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=0eea212943544d40f99b05571aa7159d78667154

broken with libavcodec 54
2013-11-21 11:35:53 +01:00
Marc-André Moreau
c1fa455c30 channels/rdpsnd: add wlog debug output 2013-11-19 15:31:38 -05:00
Marc-André Moreau
c03a2e5497 channels/rdpsnd: add option for configuring audio quality mode 2013-11-19 14:29:31 -05:00
Marc-André Moreau
b1bcbea483 Merge pull request #1588 from akallabeth/message_queue_clear
Message queue clear
2013-11-12 09:59:38 -08:00
Armin Novak
8d6f49c01a Using new API for message queue. 2013-11-12 15:18:35 +01:00
Armin Novak
04854b292c Using new API for MessageQueue. 2013-11-12 15:18:18 +01:00
Armin Novak
23b5845660 Fixed crash due to duplicate resource cleanup (MessagePipe freed in channel) 2013-11-12 10:22:04 +01:00
Armin Novak
f3bfef8da5 Resource cleanup fixes. 2013-11-08 10:27:16 +01:00
Marc-André Moreau
bfa6410641 Merge pull request #1578 from ntwerdochlib/drive_channel_tweak
Minor optimization in Drive Channel
2013-11-07 09:18:50 -08:00
Nik Twerdochlib
c35c2bdeb6 Minor optimization in DeviceServiceEntry when setting up
to share all drives. Removed the call to strlen() and use
the return value from _snprintf
2013-11-07 11:43:22 -05:00
Marc-André Moreau
3c44ff9c83 channels/rdpsnd: fix bug in rdpsnd and rdpdr deinitialization 2013-11-06 14:31:33 -05:00
Marc-André Moreau
b4a78c31bb Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-11-06 13:59:03 -05:00
Zhang Zhaolong
870e52ed1d Add cliprdr on windows. File clipping is not supported yet. 2013-11-05 10:52:17 +08:00
Marc-André Moreau
9b394a0189 channels/rdpdr: make use of MessageQueue for drive redirection 2013-11-03 21:01:36 -05:00
Marc-André Moreau
1dbf279212 channels/smartcard: refactor usage of lists and get rid of workarounds 2013-11-03 20:46:40 -05:00
Marc-André Moreau
f78efde09a Merge branch 'master' of github.com:awakecoding/FreeRDP into smartcard 2013-11-03 19:18:01 -05:00
Marc-André Moreau
5406ebd5d8 channels/drive: refactoring 2013-11-03 19:10:33 -05:00
Marc-André Moreau
3caff4e460 libfreerdp-core: prevent multi-session crashes on Mac OS X 2013-11-01 20:23:56 -04:00
Marc-André Moreau
37450da55d cmake: fix exporting of targets on pre-2.8.11 2013-10-29 14:47:40 -04:00
Marc-André Moreau
55565e056c freerdp: export targets 2013-10-28 23:06:39 -04:00
Marc-André Moreau
f9ef874fec channels/smartcard: code style cleanup 2013-10-24 15:34:14 -04:00
Marc-André Moreau
1ffb3f40b0 Merge branch 'smartcard_context_fix' of https://github.com/akallabeth/FreeRDP into smartcard 2013-10-24 15:15:32 -04:00
Marc-André Moreau
50e8c713a0 channels/smartcard: fix crash and get rid of svc_plugin usage 2013-10-24 15:12:11 -04:00
Marc-André Moreau
d30f66b1b7 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-10-23 14:18:40 -04:00
Zhang Zhaolong
471b8be8fe Bug fix: fs redirection shows Chinese characters as messy code on Windows. 2013-10-23 18:16:27 +08:00
Marc-André Moreau
3cd5652c7d libfreerdp-core: fix asynchronous queueing of RemoteApp messages 2013-10-22 16:28:23 -04:00
Marc-André Moreau
3951a6e1c3 channels/rdpgfx: implement basic negotiation 2013-10-21 23:33:25 -04:00
Marc-André Moreau
fb752b3aae channels/rdpgfx: create empty channel client stub 2013-10-21 22:53:55 -04:00
Marc-André Moreau
1a9f86738b channels/rail: improve callback interface 2013-10-20 21:59:03 -04:00
Marc-André Moreau
f35d45488c channels/rdpsnd: make use of MessagePipe 2013-10-19 16:42:42 -04:00
Marc-André Moreau
bd64e616de channels/rdpsnd: decouple rdpsnd from svc_plugin 2013-10-19 16:20:31 -04:00
Marc-André Moreau
dbbb364caf channels: export audin and rdpsnd subsystem interface 2013-10-19 12:38:31 -04:00
Marc-André Moreau
7dbe40bba8 channels/rdpdr: cleanup rdpdrPlugin struct 2013-10-17 17:39:48 -04:00
Marc-André Moreau
0417e552cf libwinpr-utils: fix bug in ListDictionary 2013-10-17 17:27:47 -04:00
Marc-André Moreau
359c31b360 channels/drive: attempt at migrating LIST util to ListDictionary 2013-10-17 17:06:51 -04:00
Marc-André Moreau
490f18a7aa channels/rdpdr: don't use deprecated LIST util, use ListDictionary for faster lookups 2013-10-17 16:30:36 -04:00
Marc-André Moreau
b1e9cfa445 channels/rdpdr: get rid of svc_plugin definitions 2013-10-17 15:56:56 -04:00
Marc-André Moreau
05d9fbfe2a channels/rdpdr: remove dependency on svc_plugin 2013-10-17 15:42:51 -04:00
Marc-André Moreau
49a2334554 channels/rdpdr: reduce dependency on svc_plugin 2013-10-17 15:20:04 -04:00
Marc-André Moreau
92f7d64c17 channels/rdpdr: start refactoring to get rid of old channel utils 2013-10-17 14:19:33 -04:00
Marc-André Moreau
0276b095eb Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-10-17 13:08:30 -04:00
Marc-André Moreau
acc341e84f channels/rail: refactor 2013-10-16 15:32:33 -04:00
Marc-André Moreau
bf7d9ff219 channels/rail: refactoring 2013-10-16 14:58:45 -04:00
Marc-André Moreau
7be92579b2 channels/rail: start refactoring 2013-10-14 23:16:40 -04:00
Marc-André Moreau
3880640132 libfreerdp-client: add channel event handlers for static virtual channels 2013-10-14 21:14:05 -04:00
Marc-André Moreau
53bdd952bf channels/rail: add new debug output 2013-10-11 17:36:34 -04:00
Marc-André Moreau
11109b00e9 libfreerdp-rail: refactor and update RAIL code 2013-10-11 17:09:36 -04:00
Marc-André Moreau
7a7c967425 libfreerdp-rail: cleanup RAIL code 2013-10-09 22:38:26 -04:00
Armin Novak
5abe42226d Removed forced disable of microphone redirection for android builds. 2013-10-03 13:21:42 +02:00
Armin Novak
c5b3ee9b85 Fixed length check against wrong variable. 2013-10-02 16:48:54 +02:00
Armin Novak
918797914b Fixed accidental double free by realloc. 2013-10-01 14:41:59 +02:00
Armin Novak
29dd9ce861 Resource clean up unified in functions to avoid accidental leaks. 2013-10-01 13:09:52 +02:00
Armin Novak
de835018f4 Fixed invalid preprocessor check. 2013-10-01 12:17:55 +02:00
Armin Novak
a9b5d91fd9 Removed printf. 2013-10-01 12:06:46 +02:00
Armin Novak
27566ce566 Fixed invalid return. 2013-10-01 11:19:16 +02:00
Armin Novak
05a4f541bd Refactored, now using cached handles, if the context or card handles
are NULL.
2013-09-30 14:49:19 +02:00
Armin Novak
4011fafc51 Now storing established context and using it for messages without
provided context.
2013-09-30 13:29:40 +02:00
Armin Novak
8ccf7f8ca2 Fixed queue initialization and overflow checks. 2013-09-30 10:11:54 +02:00
Armin Novak
6d14739ada Working microphone input without sound gaps. 2013-09-30 10:08:22 +02:00
Armin Novak
95468dcf17 Modified rdpsnd opensles backend, now just filling queue and not waiting
for completion of playback, results in better sound quality.
2013-09-27 15:55:14 +02:00
Armin Novak
c96cef5dd8 Ok, now actually creating 3 buffers initially. 2013-09-27 15:13:12 +02:00
Armin Novak
b07caafdbf Added triple buffer to avoid gaps between frames. 2013-09-27 15:07:32 +02:00
Armin Novak
e7f941c419 Deactivated formats not working. 2013-09-27 12:06:30 +02:00
Armin Novak
2269cbe155 Merge branch 'master' of https://github.com/FreeRDP/FreeRDP into android_sound 2013-09-27 11:46:48 +02:00
Armin Novak
8139c4894b Cleaned up rdpsnd for android, prepared volume control. 2013-09-27 11:45:53 +02:00
Armin Novak
c2d3f60ad0 Initial working microphone redirection for android.
Added debug messages to alsa and pulse microphone backends.
2013-09-27 11:39:04 +02:00
Armin Novak
bd7845e656 Basic opensles microphone redirection support, data conversion still buggy.
Fixed pulse audio default device name, now working without arguments again.
2013-09-26 16:05:16 +02:00
Marc-André Moreau
0d7df9ab72 Merge pull request #1509 from akallabeth/smartcard_fixes
Smartcard fixes
2013-09-25 08:37:26 -07:00
Armin Novak
632800679b Merge branch 'smartcard_fixes' of github.com:akallabeth/FreeRDP into smartcard_fixes
Conflicts:
	channels/smartcard/client/smartcard_operations.c
2013-09-24 09:48:21 +02:00
Armin Novak
4d8c47ce92 Replaced linkedLen, which is a padded version of the buffer length
from being used for reading from a packet. Now just used for sanity checks.
2013-09-24 09:23:43 +02:00
Armin Novak
1148a8c9fd Fixed length check, now just assuring data read is available and
ignoring padding length.
2013-09-23 15:10:06 +02:00
Armin Novak
2839f5d755 Renamed plugins from 'opensl_es' to 'opensles' 2013-09-23 12:38:05 +02:00
Armin Novak
9a08171b88 Dumping stream now. 2013-09-23 09:11:23 +02:00
Armin Novak
d60e74e622 Removed obsolete audiotrack implementation. 2013-09-20 12:48:35 +02:00
Armin Novak
e092852765 Added basic input module for android microphone redirection. 2013-09-20 11:47:10 +02:00
Armin Novak
1c506a3724 Fixed CommandLinePArseArgumentsA return value check, only abort if negative. 2013-09-20 10:11:05 +02:00
Armin Novak
01b6d5d229 Fixed compiler warnings. 2013-09-20 10:08:56 +02:00
Armin Novak
489e375f7b Fixed potential memory leak, now always calling WaveConfirm after playing
a sample.
2013-09-20 09:19:11 +02:00
Armin Novak
3f62a9176c Added audiotrack support to rdpsnd. 2013-09-19 12:01:14 +02:00
Armin Novak
4748d0e4dd Merged back audiotrack support from felix lang. 2013-09-19 12:00:49 +02:00
Armin Novak
403a9fff62 Fixed compiler warnings. 2013-09-19 10:34:18 +02:00
Armin Novak
64454faf71 Fixed double free of wave buffer. 2013-09-19 10:23:28 +02:00
Marc-André Moreau
990be143bb Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-09-16 17:11:21 -04:00
Marc-André Moreau
518995a05e freerdp: merge with master 2013-09-16 17:10:27 -04:00
Bernhard Miklautz
a44fb64cf4 Merge pull request #1482 from bmiklautz/pulls/1475
Respond to DYNVC_CLOSE like described in MS-RDPEDYC
2013-09-16 13:53:41 -07:00
Bernhard Miklautz
7b2a372c76 drdynvc: fixed masked used in close request 2013-09-16 22:48:08 +02:00
Marc-André Moreau
336e47e82f Merge pull request #1460 from akallabeth/thread_handle_fixes
Thread handle fixes
2013-09-16 13:40:32 -07:00
Giacomo Rombaut
0729f3b780 Respond to DYNVC_CLOSE like described in MS-RDPEDYC 2013-09-13 15:22:10 +02:00
Armin Novak
cbf5e7e3f8 Fixed clang warnings. 2013-09-13 09:47:18 +02:00
Armin Novak
7cf95bcf6e Fixed compile error. 2013-09-13 09:17:06 +02:00
Armin Novak
32a9bd366c Fixed reading of SCARD_IO_REQUEST structures in Transmit_Call. 2013-09-12 15:50:12 +02:00
Armin Novak
513c963670 Smartcard arguments now optional. 2013-09-12 14:55:25 +02:00
Armin Novak
8f024d46cf Fixed setting of name and path of smartcard, now determining on number
of valid arguments.
2013-09-12 14:41:11 +02:00
Armin Novak
31abdb9103 Fixed setting of smartcard filter name and path. 2013-09-12 14:34:18 +02:00
Armin Novak
27cb9ee604 Now printing debug message for unhandled data. 2013-09-12 14:10:44 +02:00
Armin Novak
c33821d026 Resource cleanup now done using goto
Length now checked at all places.
2013-09-12 13:53:15 +02:00
Armin Novak
02abe530a8 Added debug output, if some message block could not be read. 2013-09-12 12:30:46 +02:00
Armin Novak
9455c4fa5d Fixed smartcard argument checks.
Fixed smartcard package reading.
2013-09-12 12:18:35 +02:00
Bernhard Miklautz
8baa04e7e5 Merge pull request #1448 from akallabeth/coverity_fixes
Multiple resource leak and NULL pointer dereferencing fixes
2013-09-10 00:56:30 -07:00
Armin Novak
3b931a9d69 Reverted accidental commit. 2013-09-06 11:08:45 +02:00
Armin Novak
c986f30c4a Fixed smartcard related issues with double free. 2013-09-06 10:55:26 +02:00
Armin Novak
81a5e727d6 Added proper thread sync for input thread.
Channels thread now listening to message pipe quit signal posted
when shutting down the channel.
2013-09-06 09:02:46 +02:00
Marc-André Moreau
f790831e7d Merge branch 'master' of github.com:awakecoding/FreeRDP into xrdp-ng 2013-09-05 15:23:19 -04:00
Armin Novak
8442c79e10 Added assertions and ExitThread calls. 2013-09-05 14:27:34 +02:00
Armin Novak
8e6b79376c Fixed possible race found by bmiklautz 2013-09-05 13:41:32 +02:00
Armin Novak
6c7ad72295 Fixed thread handling. 2013-09-05 13:40:16 +02:00
Armin Novak
d7d5869cb6 Fixed thread handling. 2013-09-05 13:39:15 +02:00
Armin Novak
733a39779c Fixed thread handling. 2013-09-05 13:39:05 +02:00
Armin Novak
d2fec8f612 Fixed thread handling. 2013-09-05 13:38:56 +02:00
Armin Novak
1d416ff387 Fixed thread handling. 2013-09-05 13:38:47 +02:00
Armin Novak
3b54ba3449 Fixed thread handling. 2013-09-05 13:38:35 +02:00
Armin Novak
07139276b5 Added newlines at end of file, prevents clang from crashing... 2013-09-05 12:14:35 +02:00
Armin Novak
6ac0b10158 Removed buffer copy, still fixes memory leak. 2013-09-05 12:14:34 +02:00
Armin Novak
854aa3fcfa Fixed memory leak. 2013-09-05 12:14:34 +02:00
Armin Novak
7bc0cbdabf Fixed clang issues. 2013-09-05 12:14:34 +02:00
Armin Novak
e5c138a5b9 Fixed various memory leaks, allocation size issues and API misuse
warnings shown by clang as well as some compiler warnings.
2013-09-05 12:14:34 +02:00
Armin Novak
a3b531c036 Fixed issues found with clang-analyzer 2013-09-05 12:14:33 +02:00
Armin Novak
1e2455fa4a Fixed various memory leaks and compiler warnings. 2013-09-05 12:14:33 +02:00
Armin Novak
a3c319c973 Fixed coverity issue 1047567 2013-09-05 12:14:33 +02:00
Armin Novak
82382d88ba Fixed coverity issue 1047568 2013-09-05 12:14:33 +02:00
Armin Novak
82f0efd6e6 Fixed coverity issue 1047635 2013-09-05 12:14:31 +02:00
Armin Novak
42ceabbebb Fixed coverity issue 1047636 2013-09-05 12:14:31 +02:00
Armin Novak
d1c24aa873 Fixed coverity issue 1047640. 2013-09-05 12:14:31 +02:00
Armin Novak
8ecbb86acf Fixed issue #1281, thread shutdown now properly waiting for quit. 2013-09-05 09:33:12 +02:00
Marc-André Moreau
7edfe66274 freerdp: various missing link dependencies and symbol exports 2013-09-03 21:48:26 -04:00
Marc-André Moreau
ee36541fb7 freerdp: merge with master 2013-09-03 18:49:48 -04:00
Marc-André Moreau
1b7abe9e4f Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-09-03 18:42:47 -04:00
Marc-André Moreau
c11da95165 Merge branch 'master' of github.com:awakecoding/FreeRDP into xrdp-ng 2013-09-03 18:41:14 -04:00
Mike McDonald
3e1f72a011 Fixed minor formatting issues 2013-08-28 21:37:45 -04:00
Mike McDonald
cfe90ae829 Added RDPSND device plugin for iOS 2013-08-28 21:03:34 -04:00
Mike McDonald
772f738c47 Added RDPSND device plugin for iOS 2013-08-28 21:02:48 -04:00
Hardening
c7c5be0bf7 Extract shared code in RAIL channel
This patch starts a code mutualisation for a RAIL server-side
implementation. The file rail_common.c contains code that is shared
by both client and server.
2013-08-29 00:06:50 +02:00
Marc-André Moreau
c878200e00 channels/server: refactor to match WTSApi + avoid conflicts 2013-08-20 19:26:36 -04:00
Marc-André Moreau
552cee7431 channels/server: start refactoring to fully match WTSApi 2013-08-20 18:06:19 -04:00
Marc-André Moreau
73c02a7637 channels/cliprdr: fix unicode conversion 2013-08-19 12:21:40 -04:00
Marc-André Moreau
23a8354656 channels: rdpsnd refactoring, drdynvc initial server-side code 2013-08-18 21:52:55 -04:00
Marc-André Moreau
3d0d65e917 channels/rdpdr: server-side device list and user logged on pdu 2013-08-18 20:27:50 -04:00
Marc-André Moreau
363bd27d76 channels/rdpdr: start server-side device redirection 2013-08-18 18:09:12 -04:00
Marc-André Moreau
af93bee5d2 channels/cliprdr: implement initialization of server-side cliprdr 2013-08-18 15:39:28 -04:00
Marc-André Moreau
bca442a477 channels/cliprdr: start exchanging messages with server-side cliprdr 2013-08-16 21:17:24 -04:00
Marc-André Moreau
0fd705c6c7 channels/cliprdr: start server-side implementation 2013-08-16 16:46:47 -04:00
Armin Novak
6f9183c7aa 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-16 15:51:44 +02:00
Armin Novak
60d38daf0a Reset file descriptor set only, if necessary now. 2013-08-16 12:40:06 +02:00
Armin Novak
7f89966efc Fixed compilation error, now using WaitForMultipleObjects. 2013-08-16 10:50:07 +02:00
Armin Novak
1a96bdc7a5 Fixed initialization of serial device, now aborting pending
read / write operations.
2013-08-16 10:34:54 +02:00
Marc-André Moreau
f82c825176 Merge pull request #1422 from akallabeth/serial_event_fix
Serial event fix and resource leakage fixes
2013-08-14 08:45:04 -07:00
Armin Novak
e40d921da3 Removed EAGAIN handling, again passing on the error to the server. 2013-08-14 17:33:46 +02:00
Marc-André Moreau
1b25d81086 Merge pull request #1415 from akallabeth/clipboard_fix_clean
Clipboard fix
2013-08-14 06:54:52 -07:00
Marc-André Moreau
729f73d52b Merge pull request #1405 from akallabeth/printer_stop_fix
Fix hang on shutdown with printer redirection
2013-08-14 06:54:15 -07:00
Armin Novak
bb0e5f2660 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-14 15:14:40 +02:00
Armin Novak
d4945f7a81 Fixed high CPU usage. 2013-08-14 13:23:55 +02:00
Armin Novak
755bd6980b Fixed resource leaks and missing thread sync. 2013-08-14 13:23:54 +02:00
Armin Novak
1d2adcbe26 Fixed resource leaks. 2013-08-14 13:23:54 +02:00
Armin Novak
7d27062edd Using WaitForMultipleObjects now to reduce CPU load. 2013-08-13 14:04:17 +02:00
Armin Novak
1a681ad117 Moved generated tables.c to binary folder. 2013-08-12 13:41:11 +02:00
Armin Novak
d41f2fa2ed Added links to documentation of message sequences for clipboard data exchange. 2013-08-12 12:47:47 +02:00
Armin Novak
a57f1302f4 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-09 16:23:00 +02:00
Armin Novak
44c80c29cc Fixed #1404, using WaitForMultipleObjects now. 2013-08-08 14:46:21 +02:00
Marc-André Moreau
9be33f83ea channels/rdpei: make use of critical section 2013-08-03 16:45:53 -04:00
Marc-André Moreau
36f361b2d5 Merge pull request #1389 from akallabeth/urbdrc_cmake_fixes
Urbdrc cmake fixes
2013-08-03 13:18:04 -07:00
Armin Novak
71ec4e5a32 Added libusb detection CMake script. 2013-08-02 15:49:53 +02:00
Armin Novak
e1ca852e00 Fixed linking with libusb, now linking against correct library. 2013-08-02 15:49:53 +02:00
Armin Novak
bb1e6ce5e0 Now using libraries detected by CMake for linking against libusb. 2013-08-02 15:49:53 +02:00
Armin Novak
3e56dd108a Added proper CMake checks for libraries linked with urbdrc 2013-08-02 15:49:53 +02:00
Daryl Poe
174f2114dc fix segfault due to pulse input race condition
(cherry picked from commit be51676541)
2013-07-29 18:19:47 +02: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