Commit Graph

1366 Commits

Author SHA1 Message Date
Julien Ropé
ffbbc13496 Removing reference to 'decoded_data' as this variable was removed by another commit 2012-05-16 11:34:28 +02:00
Julien Ropé
bbb48783e3 Some modifications on the LIST usage.
Made sure the list_*() API was used whenever possible, rather than relying on the internal implementation.
Added comments to the list.c file for documentation.
2012-05-16 11:34:18 +02:00
Julien Ropé
98d5b98465 Memory leak fixes.
Passed the code through a static analyzer and fixed all reported (and verified) potential memory leaks.
2012-05-16 11:33:57 +02:00
Vic Lee
ac5c7cded3 rdpsnd/alsa: reduce default audio latency. 2012-05-09 23:14:53 +08:00
Marc-André Moreau
e8144e4bdc Merge pull request #585 from llyzs/dsp
dsp: rewrite api to reduce memory allocations.
2012-05-09 07:36:18 -07:00
Vic Lee
473ba080e7 rdpsnd/pulse: fix a segfault in case device name is not provided. 2012-05-09 19:18:47 +08:00
Vic Lee
c9ad01ea55 dsp: rewrite api to reduce memory allocations. 2012-05-09 16:15:23 +08:00
Julien Ropé
b2177dc8c3 Replacing malloc calls by xmalloc or xzalloc as appropriate.
This will make sure we get an appropriate error message in case of memory allocation error, and not just a "Segmentation Fault"

Added some validation on xzalloc return in serial_tty_new to properly deallocate resources when an error occurs.
2012-05-07 15:27:13 +02:00
Julien Ropé
c1f7044693 Some fixes for potentials NULL pointer dereferences, and double-free of buffers 2012-05-04 15:50:33 +02:00
Laxmikant Rashinkar
1cbf3dab21 Initial push for the native Mac FreeRDP client 2012-05-02 20:15:27 -07:00
Marc-André Moreau
6f61ef8772 urbdrc: fix compilation against libusb 2012-04-30 16:28:32 -04:00
Scott Tsai
36a37cc752 Use PULSEAUDIO_INCLUDE_DIR instead of PULSE_INCLUDE_DIRS 2012-04-27 01:14:21 +08:00
Marc-André Moreau
8e64d1803b drdynvc: fix value of cb field 2012-04-25 14:27:38 -04:00
Marc-André Moreau
fa4d8fca1b urbrdc: initial USB redirection support, contributed by Atrust 2012-04-25 14:26:35 -04:00
Marc-André Moreau
848e7b704f Merge pull request #557 from dpoe/master
Fix for audin:alsa parameter parsing
2012-04-20 16:32:53 -07:00
Daryl Poe
abc3d365d8 Fix parameter parsing in audin:alsa drdynvc code. 2012-04-18 11:16:50 -06:00
Nigel Reeves
7b5d3ff1cb Mods to fix issues #502 & #462
Additionally modify some disk information values to reflect true values rather than some hardcoded ones so that disk properties show correctly.
2012-04-18 10:52:49 +01:00
Pawel Jakub Dawidek
87ac97e21e Don't forget to include config.h. 2012-04-06 20:57:34 +02:00
Pawel Jakub Dawidek
eb2757fac5 Compilation fixes for FreeBSD. 2012-03-20 14:27:28 +01:00
Norbert Federa
697429eb87 channels/rdpdr/disk: fix os x compilation issues
os x does not need/have stat/lseek/open/64 and O_LARGEFILE
2012-03-10 14:38:47 +01:00
Marc-André Moreau
51aff99ec5 channels/rdpdr/disk: fix stat64 references to STAT 2012-03-09 12:00:56 -05:00
Nigel Reeves
61adecef33 Fix for issue #487. RDPDR Disk Redirection: Cannot handle files > 2GB 2012-03-09 10:53:32 +00:00
Anthony Tong
69017a5f3c rdpsnd: follow rdpdr and free the stream from svc_plugin 2012-02-27 12:12:17 -05:00
Mads Kiilerich
1e46fae33e debug: remove extra newlines in debug messages 2012-02-21 23:22:01 +01:00
Anthony Tong
b13da4adb8 rdpdr/scard: dont incorrectly set SCARD_STATE_IGNORE 2012-02-21 15:55:32 -05:00
Marc-André Moreau
8189702ef3 channels/tsmf: disable deprecation warning 2012-02-17 17:45:58 -05:00
Slava Dubrovskiy
c10866db66 Fix not linked with libpulse (issue 418)
Signed-off-by: Slava Dubrovskiy <dubrsl@altlinux.org>
2012-02-14 13:46:26 -05:00
Marc-André Moreau
717b37fd48 channels/rdpdr: cleanup 2012-02-09 20:04:27 -05:00
Marc-André Moreau
7a6c813fcf libfreerdp-utils: extend plugin utils 2012-02-09 19:48:52 -05:00
Christian Nilsson
3c2997b352 Fix duplicate xfree on format_name->name, shuld resolve Issue #387 and #395 ? 2012-02-04 00:04:41 +01:00
Marc-André Moreau
9e4d76648b libfreerdp-core: fix more memory leaks 2012-02-01 21:11:46 -05:00
Marc-André Moreau
b4e542ba46 libfreerdp-core: fix multiple memory leaks detected by valgrind 2012-02-01 18:42:20 -05:00
Marc-André Moreau
0c048708b1 cliprdr: fix realloc on null pointer 2012-02-01 17:28:12 -05:00
Bernhard Miklautz
668c8c8cef build: use WITH_XXX instead of XXX_FOUND
To check if something should be en- or disabled WITH_XXX
should be used and not XXX_FOUND.

If XXX_FOUND is used and something gets disabled afterwards (by setting
WITH_XXX to OFF) it will be compiled in as long as XXX_FOUND is found in
cmake's cache file. So disabling a feature, or option, without
clearing the CMakeCache.txt might result in builds with unwanted
configuration.
2012-01-23 14:40:05 +01:00
Bernhard Miklautz
cc24a7ad6a Changed cmake find prefix for pulseaudio.
Now option (WITH_PULSEAUDIO) and package prefix (PULSEAUDIO_FOUND) match.
2012-01-23 14:40:05 +01:00
Marc-André Moreau
5924666748 channels/drdynvc/audin: fix typo in header 2012-01-16 09:20:54 -05:00
Anthony Tong
40cfa9bfc8 rdpdr/disk: fix file deletes
- FileDispositionInfo implies delete_pending, if buffer is empty
2011-12-31 13:03:00 -06:00
Dorian Johnson
39752fa014 drdynvc: dvcman_load_plugin load multiple drdynvc plugins 2011-12-27 16:06:57 -06:00
Dorian Johnson
e303867528 drdynvc-tsmf: make tsmf plugin parser allow mulitple data chunks
Allows one to config both decoder and audio simultaneously
2011-12-27 13:57:40 -06:00
Dorian Johnson
6dae926d86 drdynvc: make audin and tsmf config data parsers recognize path-based plugin loading 2011-12-27 09:55:00 -06:00
Aaron Small
7ec1b56e42 Fix crash when connecting using smartcard 2011-12-22 14:23:08 -05:00
Dorian Johnson
69ed9290c7 freerdp-cliprdr: Fix parsing of long-style format lists
Long-style format lists use variable length utf-16le names, but parser was treating the chunks as short-style 32-byte chunks, causing various issues
2011-12-21 16:02:53 -06:00
Vic Lee
b7a46c4bf0 printer: support flexible document format (#211) 2011-12-17 17:28:48 +08:00
Anthony Tong
ac55807e1a add additional debugging 2011-12-06 11:03:24 -05:00
Anthony Tong
9104cef59c rdpdr: initial pattern matching for directory query 2011-12-05 21:04:27 -06:00
Mike Gilbert
ce28e06158 channels: Optimize storage of string tables. 2011-11-30 19:11:27 -05:00
Marc-André Moreau
7371d203cb rdpdr: fix warnings, directfb: fix warnings 2011-11-25 11:24:47 -05:00
Anthony Tong
11e75881da rdpdr/disk: fix renames; target path was not contructed properly 2011-11-24 09:51:01 -06:00
Marc-André Moreau
32732efe4c Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-11-23 10:58:28 -05:00
Marc-André Moreau
65fe2f367f xfreerdp: added WITH_DEBUG_X11_CLIPRDR option 2011-11-23 10:58:13 -05:00
Christer Palm
a6b491cb88 Add translation between Windows and local CTL_CODE values for SCardControl 2011-11-23 01:22:17 +01:00
Marc-André Moreau
5ad3089243 scard: cleanup of code style, fix initialization issue 2011-11-21 20:46:58 -05:00
Marc-André Moreau
a63a196f53 types: refactoring to make use of standard data types when available 2011-11-19 12:19:16 -05:00
Marc-André Moreau
7f3bad1d15 cliprdr: added more debug output, still unable to stabilize 2011-11-17 19:51:30 -05:00
Marc-André Moreau
d2335a5167 cliprdr: fix segmentation fault, still not working though 2011-11-15 15:41:00 -05:00
Marc-André Moreau
0e95675da3 libfreerdp-core: add support for Refresh Rect and Suppress Output PDUs 2011-11-11 14:02:59 -05:00
Rex Tsai
7a0613b8dd tsmf: fix when using older then libav major version 53. 2011-11-11 01:02:10 +08:00
Marc-André Moreau
4dbe450e39 cliprdr: add support for long format names 2011-11-01 01:09:38 -04:00
Marc-André Moreau
1c5f9c173c cliprdr: add more detailed debug output 2011-10-31 19:15:27 -04:00
Alan Pearson
ca7fdb870b More compilation warning cleanup: header file reorganization, include <sys/select.h> or <unistd.h> to define select where it is used. 2011-10-27 10:41:39 -07:00
Alan Pearson
e82fc535d2 Cross-platform 2011-10-24 11:08:39 -07:00
Eduardo Beloni
d4b30e701a rdpdr/parallel: fix and adjust parallel port redirection 2011-10-24 09:08:12 -02:00
Marc-André Moreau
38f25c99ee rail: fix flags for executable specified as full path, not alias 2011-10-21 14:08:31 -04:00
Eduardo Beloni
0d421ac6f7 rdpdr/serial: [fix] ignore purge of port buffers
See http://msdn.microsoft.com/en-us/library/ms901431.aspx
2011-10-19 17:32:17 -02:00
Eduardo Beloni
b8c865fa9f rdpdr/serial: [fix] write zero at the end of an aborted irp 2011-10-19 17:09:14 -02:00
Anthony Tong
0e9ad32bcb port of llyzs patch from freerdp-old, issue #26 2011-10-19 10:55:54 -04:00
Anthony Tong
5abdec9dec rdpdr disk: map error codes, starting with create irp 2011-10-19 09:43:04 -04:00
Anthony Tong
00133a2090 build fixes 2011-10-17 09:39:21 -04:00
Anthony Tong
1277bc7f8a initial scard support 2011-10-15 10:30:10 -05:00
Eduardo Beloni
5a57532ee0 rdpdr: migrating serial code 2011-10-14 17:41:28 -03:00
Eduardo Beloni
34f3cb90f8 rdpdr_types: [fix] add include svc_plugin 2011-10-14 11:44:13 -03:00
Marc-André Moreau
5cf5e2171a channels/rdpdr/parallel: migrating parallel code 2011-10-11 11:43:54 -04:00
Marc-André Moreau
9ee04a3671 channels: remove serial skeleton code to avoid conflict with eduardo 2011-10-11 10:25:35 -04:00
Marc-André Moreau
56ae3272c5 channels: added serial and parallel port plugins skeleton code 2011-10-11 03:16:05 -04:00
Eduardo Beloni
35d2502af5 channels/drdynvc/audin: fix segfault when device name is not specified 2011-10-04 09:28:44 -03:00
Vic Lee
7891ce2c75 rdpsnd/pulse: add latency control. 2011-09-25 14:00:09 +08:00
Vic Lee
c82dfa2a0b rdpsnd/alsa: better buffer size against requested latency. 2011-09-25 13:41:38 +08:00
Vic Lee
e5060dcaee rdpsnd: add manual latency control for ALSA. 2011-09-25 11:41:37 +08:00
Vic Lee
783681664a cliprdr: integrate with xfreerdp. 2011-09-23 13:41:26 +08:00
Vic Lee
f5ccf34605 audin: migrate audin plugin and ALSA/PulseAudio devices. 2011-09-21 15:18:54 +08:00
Vic Lee
6c914cd60d tsmf: fix incorrect data realignment. 2011-09-20 22:03:05 +08:00
Vic Lee
ebaf94d6d6 tsmf: add ffmpeg, alsa and pulse sub-plugins. 2011-09-20 14:27:10 +08:00
Vic Lee
dadb94a1e3 tsmf: add tsmf main module. 2011-09-20 01:58:27 +08:00
Vic Lee
fee5b3fab8 drdynvc: fix incorrect data length handling. 2011-09-19 22:53:00 +08:00
Vic Lee
8682228ec4 libfreerdp-utils/thread: separate freerdp_thread_free() call. 2011-09-19 22:52:16 +08:00
Vic Lee
6d6c5062ab drdynvc: fix buffer pointer type. 2011-09-19 17:04:14 +08:00
Marc-André Moreau
6fdecdb01b debug: cleanup printf's all over the place 2011-09-02 13:29:17 -04:00
Rex Tsai
96b7418e56 rdpsnd/pulse: Fix default device name. 2011-09-01 22:36:26 +08:00
Rex Tsai
ecbe24ca9a cmake: make linking type as option. 2011-09-01 22:18:58 +08:00
Marc-André Moreau
b56962d254 xfreerdp: start handling multiple monitors in xf_monitor.c 2011-08-30 20:59:42 -04:00
Vic Lee
bd5fb5c62a rdpsnd/pulse: add a pointer check. 2011-08-30 10:59:30 +08:00
roman-b
7744e17ec2 channels/rail: fixed multithread side effect by creating full orders copy for events. 2011-08-22 02:04:21 +03:00
roman-b
e701bf1bcf channels/rail: create fixed size order struct for Server Get Application ID Response. 2011-08-22 02:01:40 +03:00
roman-b
327ad2607c channel/rail: add UI event handling. 2011-08-21 04:12:17 +03:00
roman-b
2378b989ff channel/rail: fix Server Get Application ID Response PDU receiving.
It is a possible error in MS-RDPERP 2.2.2.8.1.
2011-08-21 04:09:13 +03:00
roman-b
e7367f9aac channel/rail: add initial handling all RAIL PDU from server.
Note:
Sometimes we have multi-thread side effect with data trasfer throught shared 
memory between different threads.
2011-08-20 01:46:10 +03:00
roman-b
e85caeb17d channel/rail: add handling Server Execute Result PDU 2011-08-19 17:10:08 +03:00
roman-b
154598288b channel/rail: fixed client system parameters sending. 2011-08-19 16:42:58 +03:00
roman-b
ab0e95a2ad channel/rail: simplify data and event sending interface. 2011-08-19 15:42:14 +03:00
Vic Lee
16a83b445a rdpdr/printer: fix debug messages. 2011-08-18 10:22:28 +08:00
Marc-André Moreau
48d3e65b08 rail: get client system parameters from xfreerdp 2011-08-17 21:33:22 -04:00
Marc-André Moreau
09980c8a7c include: refactor FRDP_ types to RDP_ 2011-08-17 17:28:26 -04:00
Marc-André Moreau
5f9d000227 libfreerdp-kbd: quick compilation fix 2011-08-17 14:18:19 -04:00
Marc-André Moreau
feb1470ba6 Merge pull request #48 from llyzs/printer
Migrate Print Virtual Channel
2011-08-17 08:38:24 -07:00
Vic Lee
fad4ea4343 rdpdr/printer: migrate/redesign printer virtual channel plugin. 2011-08-17 21:57:09 +08:00
Marc-André Moreau
6215417b29 windows: export all exported api functions 2011-08-16 23:54:42 -04:00
Vic Lee
46dd495229 rdpsnd: reset close request when a wave is received. 2011-08-16 09:23:29 +08:00
Marc-André Moreau
200b4c4493 Merge pull request #42 from llyzs/rdpsnd
Migrate rdpsnd channel plugin.
2011-08-15 12:21:34 -07:00
Vic Lee
15e553f8f1 rdpsnd: add PulseAudio sub-plugin. 2011-08-15 18:21:58 +08:00
Vic Lee
c02a568ed8 rdpsnd: use xfree. 2011-08-15 18:21:11 +08:00
Vic Lee
a8fde1144b rdpsnd: start playing immediately when a close signal received. 2011-08-15 16:58:07 +08:00
Vic Lee
a122006b0e rdpsnd: add ALSA sub-plugin. 2011-08-15 16:28:52 +08:00
Vic Lee
a2a9fdb630 rdpsnd: add device sub-plugin prefix. 2011-08-15 15:21:56 +08:00
Vic Lee
bfe7f83f03 rdpsnd: add main rdpsnd module. 2011-08-15 15:08:23 +08:00
Marc-André Moreau
6f8af2515b libfreerdp-core: fix window altsec orders negotiation 2011-08-14 17:05:34 -04:00
Vic Lee
046ff58d44 Fix compile warnings. 2011-08-13 16:52:05 +08:00
Vic Lee
460dd38cad rail: support passing multiple apps and arguments using plugin data. 2011-08-13 11:16:44 +08:00
Vic Lee
549e0f5b93 rail: fix buffer overflow issue. 2011-08-12 16:46:40 +08:00
Vic Lee
e9ba98c827 rail: rename some variables. 2011-08-12 16:26:57 +08:00
Vic Lee
e1159fc043 rail: rename rdpRail to rdpRailOrder. 2011-08-12 16:15:04 +08:00
Marc-André Moreau
91326a4f65 rail: removing older code 2011-08-11 16:27:16 -04:00
Marc-André Moreau
53981e9dba rail: fix bugs uncovered by increased warning level 2011-08-11 14:06:19 -04:00
Vic Lee
193a92fa8c rail: fix some compile warnings. 2011-08-11 15:19:30 +08:00
Vic Lee
ea54106dbd rdpdr: fix compile warning. 2011-08-11 15:11:01 +08:00
Vic Lee
d7e502dbe1 Add event_class in event object. 2011-08-11 11:14:07 +08:00
Marc-André Moreau
e5a3355099 rail: fixed sending of actual PDUs 2011-08-10 18:08:44 -04:00
Marc-André Moreau
b680ac1ecc rail: started new cleaner RAIL orders parsing/encoding code 2011-08-10 16:33:15 -04:00
Marc-André Moreau
21aa8ad9a8 libfreerdp-utils: added RAIL utils 2011-08-10 02:24:06 -04:00
Marc-André Moreau
b782189569 rail: started integrating Roman's RAIL virtual channel plugin 2011-08-09 17:42:10 -04:00
Vic Lee
e4585c801e rdpdr/disk: fix rename. 2011-08-08 10:01:26 +08:00
Vic Lee
cc3160cb9d rdpdr/disk: add set_information and device_control irp processing. 2011-08-08 00:23:36 +08:00
Vic Lee
f598bca687 rdpdr/disk: add query directory irp processing. 2011-08-07 19:24:29 +08:00
Vic Lee
12215d0e0a rdpdr/disk: add query file/fs information irp processing. 2011-08-07 15:24:12 +08:00
Vic Lee
419a8163d6 rdpdr/disk: add read/write irp processing. 2011-08-07 13:11:52 +08:00
Vic Lee
49458e7363 rdpdr/disk: add create/close irp processing. 2011-08-07 11:21:42 +08:00
Vic Lee
9c64e5b08d drdynvc: remove unused header 2011-08-06 16:25:14 +08:00
Vic Lee
5ce3e4deac rdpdr: implement irp. 2011-08-06 01:54:40 +08:00
Vic Lee
4c5ad80033 rdpdr/disk: initial work on disk. 2011-08-06 00:12:16 +08:00
Vic Lee
ac5ef85809 rdpdr: trivial fixes. 2011-08-06 00:11:41 +08:00
Vic Lee
b399897627 rdpdr: fix missing return devman. 2011-08-05 23:19:43 +08:00
Vic Lee
125ce3d116 rdpdr: fix incorrect variable. 2011-08-05 23:07:09 +08:00
Vic Lee
9faf581341 rdpdr: add device list announce. 2011-08-05 22:44:06 +08:00
Vic Lee
667d78206d rdpdr: add capability processing. 2011-08-05 15:43:48 +08:00
Vic Lee
e3eeb30e2d rdpdr: implement server/client announce. 2011-08-05 10:24:46 +08:00
Vic Lee
e3cbe6ccc9 rdpdr: initial work. 2011-08-05 09:36:25 +08:00
Vic Lee
7c597ac278 libfreerdp-utils/list: rewrite using functions instead of macros. 2011-08-04 22:18:01 +08:00
Brad Hards
2601d110aa Various minor warning fixes and unittest fixes. 2011-07-27 09:14:11 +10:00
Brad Hards
091432b89a Fix DEBUG usage
trivial.
2011-07-25 20:09:23 +10:00
Vic Lee
3533609da9 drdynvc: start working on main drdynvc module. 2011-07-19 14:07:15 +08:00
Vic Lee
0ab607716a cliprdr: fix compile warning, close issue #19. 2011-07-15 23:41:26 +08:00
Vic Lee
c8a5b83186 libfreerdp-utils/svc_plugin: use a macro to simplify plugin entry. 2011-07-15 23:39:38 +08:00
Vic Lee
51d2efd91c cmake/rdpdbg: use FREERDP_PLUGIN_PATH variable. 2011-07-13 23:08:06 +08:00
Vic Lee
25a8b6f0e2 rdpdbg: change to use new DEBUG_WARN macro so that message will always printed 2011-07-13 14:04:42 +08:00
Vic Lee
e10aba7cae cliprdr: add UI data request -> server data response. 2011-07-13 00:50:00 +08:00
Vic Lee
a93194da06 cliprdr: add server data request -> UI data response. 2011-07-13 00:30:25 +08:00
Vic Lee
b4a0b651f8 cliprdr: process format list response PDU. 2011-07-13 00:01:50 +08:00
Vic Lee
a57fe59660 cliprdr: process format list PDU. 2011-07-12 23:53:54 +08:00
Vic Lee
19c309e5d4 cliprdr: use unicode constants for format names. 2011-07-12 23:13:30 +08:00
Vic Lee
4fc7794ae9 cliprdr: add format list ui event. 2011-07-12 23:06:39 +08:00
Vic Lee
128901d60a cliprdr: add cliprdr->ui sync event. 2011-07-12 23:05:31 +08:00
Vic Lee
35cfae8412 cliprdr: initial work. 2011-07-12 17:06:14 +08:00
Vic Lee
d0ac3d3ee9 rdpdbg: use DEBUG_SVC macro. 2011-07-12 11:40:49 +08:00
Vic Lee
3f8c2176a3 libfreerdp-utils/svc_plugin: add event sending from plugin to UI. 2011-07-11 12:21:55 +08:00
Vic Lee
2a217504eb Integrate in/out plugin event struct and add event utils. 2011-07-11 12:04:13 +08:00
Vic Lee
15f3f1521c libfreerdp-chanman: add API for sending events from UI to plugin. 2011-07-11 00:06:02 +08:00
Vic Lee
9bdb09f876 Add rdpdbg test plugin. 2011-07-10 22:24:05 +08:00