Commit Graph

271 Commits

Author SHA1 Message Date
Marc-André Moreau 2fde653d8a wfreerdp: merging with win32 integration branch 2012-10-02 11:05:21 -04:00
Marc-André Moreau 412f5dc452 freerdp: fix build on Linux 2012-10-02 10:57:39 -04:00
Marc-André Moreau 610af773b3 channels/scard: fix compilation 2012-10-02 09:57:32 -04:00
richterger 37ca446cae win32: make rdpdr printer plugin working on win32 2012-10-02 09:10:21 +02:00
richterger 6bb2a8f6b0 win32: Add the following options for the disk plugin:
disk:<name>:* will share all windows drives
disk:<name>:% will share the home directory of the user

In addition c+\xxx in the pathname will be replaced by c:\xxx to avoid conflicts with option separators
2012-10-02 09:02:17 +02:00
richterger fbe8a2eaae Make the rdpdr disk plugin working on windows.
Currently not working are rename and setting of read only attribute and file times.

In addition it also adds the ability to staticly link plugins into the binary, so you get one big exe and need no dlls. I have only tested this on windows (only disk plugin so far).

I use the following options for cmake for static binary:

cmake -DWITH_MONOLITHIC_BUILD=ON -DMSVC_RUNTIME=static -DBUILD_SHARED_LIBS=OFF -DWITH_RDPDR=ON -DOPENSSL_INCLUDE_DIR=\opensslpath\inc32 -DOPENSSL_LIBRARIES="\opensslpath\out32.dbg\ssleay32.lib;d:\path\out32.dbg\libeay32.lib" -G "Visual Studio 9 2008" .

Important notice: Openssl need to be compiled with the same static runtime. Currently missing is a switch to link different openssl libraries for debug and release builds.
2012-10-02 08:58:54 +02:00
Marc-André Moreau 659a901450 cmake: add solution folder subdirectories 2012-10-01 11:48:53 -04:00
Marc-André Moreau 03b19c3f30 libwinpr: fix compilation on Windows 2012-09-28 18:10:37 -04:00
Marc-André Moreau c7719e9982 libfreerdp-utils: get rid of rect utils 2012-09-24 04:59:18 -04:00
Marc-André Moreau 58e1fd325a libfreerdp-utils: get rid of freerdp_uniconv_in 2012-09-23 20:11:50 -04:00
Marc-André Moreau d0ac31b2c1 libfreerdp-utils: get rid of freerdp_uniconv_out 2012-09-23 19:49:13 -04:00
Marc-André Moreau 44f18159c4 libfreerdp-utils: get rid of UNICONV unicode conversion context 2012-09-23 18:41:07 -04:00
Marc-André Moreau a11a69c70f channels/rdpdr/disk: replace thread utils by WinPR thread API 2012-09-23 13:54:14 -04:00
Marc-André Moreau 6cb933aa5a channels: added build options to enabled/disable client and server channels 2012-09-22 20:16:38 -04:00
Marc-André Moreau e4e85be15d channels: add automatic inclusion and bundling of built-in server channels 2012-09-22 19:25:21 -04:00
Marc-André Moreau 81974d1b2a channels: moving dynamic virtual channels 2012-09-22 18:08:22 -04:00
Marc-André Moreau 3d65cb1c27 channels: moved client-side implementations in client subdirectories 2012-09-22 17:46:23 -04:00
Marc-André Moreau 538c89e311 cmake: add OpenSSL and MSVC runtime build options 2012-09-21 19:28:47 -04:00
Marc-André Moreau cb8c0ef3c8 channels: refactoring of cmake build scripts 2012-09-20 23:39:27 -04:00
Marc-André Moreau 15eeaa2327 libfreerdp-utils: remove semaphore utils in favor of WinPR semaphore API 2012-09-18 19:40:54 -04:00
Marc-André Moreau 13dbbb9513 libfreerdp-utils: removing mutex util in favor of WinPR mutex API 2012-09-18 17:34:11 -04:00
Dorian Johnson fb6d86a37f tsmf-ffmpeg: Update to latest versions of api (Fix #285) 2012-09-13 22:27:46 -05:00
Marc-André Moreau cee2fcc6f0 libfreerdp: fix debug output 2012-09-08 15:27:00 -04:00
Marc-André Moreau 910f9ffed6 libfreerdp: wrap inclusion of config.h with HAVE_CONFIG_H 2012-08-14 17:41:40 -04:00
Marc-André Moreau d5d1eb7762 libfreerdp: add proper config.h inclusions 2012-08-14 17:09:01 -04:00
Marc-André Moreau dd91fdac03 channels: add support for monolithic build 2012-08-14 00:48:55 -04:00
Marc-André Moreau ec1a17f554 client/Mac: merge latest updates from Jay 2012-08-12 16:04:11 -04:00
Dorian Johnson 3740e2ff46 tsmf: add ability for tsmf audio players to get volume change
notifications, even when the decoder doesn't support it.
2012-08-07 17:45:11 -05:00
Marc-André Moreau d53aaa7cf3 Merge pull request #683 from bjcollins/master
Issue #661: Fix rdpdr directory "open only" operation to no longer create directory
2012-08-03 08:57:24 -07:00
Jay Sorg 21a8b64bc7 channel/rdpsnd: from LK2000, remove debug messages in mac audio 2012-08-02 10:12:31 -07:00
Brent Collins 9b9398ec12 Issue #684.
Fix the problem with a smart card reader being lost when a smart card is removed during a reconnected Windows 2008r2 rdp session. This was due to a improper handling of a message with a duplicate completionID. There is a lengthy comment in the code with explicit details. Also, many minor updates for the code to more closely reflect the protocol documentation - such as correcting packet lengths, undocumented padding, etc.
2012-08-01 17:05:45 -05:00
Brent Collins 9b8044aa6a Fix FreeRDP Issue #661.
Check directory operations in rdpdr to determine if the directory should be created if it does not exist - instead of always just creating a directory regardless.
2012-08-01 15:05:33 -05:00
Marc-André Moreau baeafc5dfc channels: merging with master 2012-08-01 12:50:27 -04:00
Marc-André Moreau 4b720a6c0d client: merging Mac OS X and Windows client improvements from Jay Sorg 2012-07-31 16:27:42 -04:00
Bernhard Miklautz 6359c93609 rdpsnd: show message when plugin was successfully loaded
Helps to inform the user which plugin is actually be used. Fixes #523
2012-07-31 12:57:58 +02:00
Marc-André Moreau 52c697a7e2 channels: start fixing compilation on Windows 2012-07-28 22:24:14 -04:00
Jay Sorg 49f2fdfbd6 channels: added sample server code for skel 2012-07-25 19:33:43 -07:00
Jay Sorg bbeec4aa5e channels: fix minor bug in skel plugin, added comments 2012-07-25 17:41:58 -07:00
xangis a0d651d8a2 Fix for C2036 void pointer unknown size build error on Windows. 2012-07-25 15:08:35 -07:00
xangis 0dbdd0004c Exclude channels that don't build on Windows from project. 2012-07-25 14:41:00 -07:00
Marc-André Moreau e4c920c946 Merge branch 'master' of github.com:FreeRDP/FreeRDP into winpr 2012-06-29 08:55:58 -04:00
Marc-André Moreau b96f89b1c3 Merge branch 'winpr' of github.com:FreeRDP/FreeRDP into winpr 2012-06-25 11:23:41 -04:00
Jay Sorg 9623fe7dc2 channels: added a sample virtual channel plugin 2012-06-22 16:41:53 -07:00
Marc-André Moreau 1aa0512490 libfreerdp-rail: rename UNICODE_STRING to RAIL_UNICODE_STRING to avoid conflict 2012-06-19 17:26:37 -04:00
Alam Arias 477b90c439 gstreamer: use PRIu64 marco for uint64_t 2012-06-17 12:12:08 -04:00
Alam Arias 0ddea5afa3 ffmpeg: avcodec_init() is been deprecated (and removed) 2012-06-17 09:51:37 -04:00
Alam Arias 0863c2eefd gsteamer: #if 0 to block out unused tsmf_gstream_start_eventloop_thread() and tsmf_gstream_Eventloop_thread_finc() 2012-06-14 12:46:27 -04:00
Alam Arias c147ee2ed1 test for XRandR for Gstreamer support 2012-06-14 12:46:27 -04:00
Irwan Halim c9c22fa331 Add GStreamer plugin for Multi-media redirection 2012-06-13 14:45:58 -05:00
Vic Lee cc9e584301 rdpsnd/pulse: fix set volume synchronization. 2012-05-30 20:35:17 +08:00
Vic Lee 2633484e8d rdpsnd/pulse: support volume change. 2012-05-30 00:22:58 +08:00
Vic Lee 229d4e0d3c rdpsnd/alsa: support volume change. 2012-05-29 23:36:47 +08:00
Vic Lee e50983fdff dsp: add MS ADPCM codec. 2012-05-24 23:09:30 +08:00
Vic Lee 052f841d7f server: add rdpsnd server channel library. 2012-05-24 14:03:21 +08:00
Julien Ropé 80f16c6201 Small fixes from static analysis:
- Potential NULL dereference in tsmf_ifman.c
- Check return value for our functions in tsmf_media.c and rdp.c
- Bad binary operator used in gcc.c
- Unreachable code in ntlm.c
- Bad free operation on SCOPE_LIST object in license.c
2012-05-16 15:29:35 +02:00
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