Commit Graph

187 Commits

Author SHA1 Message Date
Marc-André Moreau
cb69657b81 channels: refactoring of rdpdr cmake scripts 2012-10-05 16:01:59 -04:00
Marc-André Moreau
e0693c8f4c cmake: refactoring of channels cmake scripts 2012-10-04 16:54:16 -04:00
Marc-André Moreau
4c319ebdd9 channels/rdpsnd: code style cleanup 2012-10-02 23:01:16 -04:00
Marc-André Moreau
77023ec1dd channels/rdpdr: reduce dependency on list utils in favor or lightweight interlocked singly-list lists 2012-10-02 21:52:27 -04:00
Marc-André Moreau
1fc525ccf7 libfreerdp-channels: replace list utils by interlocked API 2012-10-02 20:17:57 -04:00
Marc-André Moreau
ab7c952d80 channels: code style cleanup 2012-10-02 11:16:40 -04:00
Marc-André Moreau
5126e393ee channels/rdpdr: fix warning 2012-10-02 11:11:11 -04:00
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
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
3d65cb1c27 channels: moved client-side implementations in client subdirectories 2012-09-22 17:46:23 -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
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
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
52c697a7e2 channels: start fixing compilation on Windows 2012-07-28 22:24:14 -04: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
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
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
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
717b37fd48 channels/rdpdr: cleanup 2012-02-09 20:04:27 -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
Anthony Tong
40cfa9bfc8 rdpdr/disk: fix file deletes
- FileDispositionInfo implies delete_pending, if buffer is empty
2011-12-31 13:03:00 -06:00
Aaron Small
7ec1b56e42 Fix crash when connecting using smartcard 2011-12-22 14:23:08 -05: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
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
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
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
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
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
Vic Lee
8682228ec4 libfreerdp-utils/thread: separate freerdp_thread_free() call. 2011-09-19 22:52:16 +08:00
Rex Tsai
ecbe24ca9a cmake: make linking type as option. 2011-09-01 22:18:58 +08:00
Vic Lee
16a83b445a rdpdr/printer: fix debug messages. 2011-08-18 10:22:28 +08: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
046ff58d44 Fix compile warnings. 2011-08-13 16:52:05 +08:00
Vic Lee
ea54106dbd rdpdr: fix compile warning. 2011-08-11 15:11:01 +08: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
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