Commit Graph

60 Commits

Author SHA1 Message Date
Bernhard Miklautz 0313ca3622 libfreerdp: always build "MONOLITHIC"
"libfreerdp" consisted of multiple (small) single libraries. If the cmake
option MONOLITHIC was used only one library was build combining all of
the libfreerdp-* libraries.
The only exceptions to this are libfreerdp-server and libfreerdp-client these
are build as separate libraries.

This commit obsoltes non-monolithic builds and makes monolithic builds
the default. The cmake option MONOLITHIC is also removed.
2014-09-12 00:19:53 +02:00
Norbert Federa e393499ff8 rdpdr/drive: fixes for hung peers & info requests
drive_file_init: only allow directories and regular files
This is fixes issue #2071

Even if the server is only interested in getting a file's or directory's
attributes FreeRDP still tries to open the object with read permissions.
If the FreeRDP client has no read permissions for this object the call will
fail which forces the server to perform some expensive workarounds (e.g.
getting to the stat buffers via a directory enumeration request).

On Linux we can try to open the file or directory with the O_PATH flag in
order to obtain a file descriptor who's only purpose is to perform operations
that act purely at the file descriptor level.
2014-09-02 15:42:44 +02:00
Marc-André Moreau f30d7cf66a Merge pull request #2024 from repzilon/master
uclibc build fixes and recompressed images
2014-08-18 13:08:52 -04:00
Marc-André Moreau 4148211c6c Merge pull request #2045 from zhangzl2013/fix-cut-fold
drive: fix contents lost when cut-paste a folder.
2014-08-18 13:06:58 -04:00
Zhang Zhaolong 60f283cffb drive: fix contents lost when cut-paste a folder. 2014-08-18 16:00:34 +08:00
Rene Rheaume 0d2a3d2e2f Fixed a typo for conditional compilation 2014-08-07 07:11:04 -04:00
Rene Rheaume 223a9f6124 futimens, while being POSIX-compliant, does not exist on Mac OS X. Added futimes back to address this. 2014-08-07 06:47:33 -04:00
Rene Rheaume 5f9c36da5d * Use futimens that is POSIX-compliant and compatible with uclibc instead of futimes.
* Borrowed eventfd_read and eventfd_write from bionic for uclibc compatibility (uclibc headers are broken unfortunately). Bionic and
FreeRDP are both under the Apache 2.0 license.
2014-08-06 22:06:01 -04:00
Bernhard Miklautz 6a49bcfe40 winpr: always build "monolitic"
winpr is now always build as single library.
The build option MONOLITHIC_BUILD doesn't influence this behavior anymore.

The only exception is winpr-makecert-tool which is still build as extra
library.

This obsoletes complex_libraries for winpr.
2014-07-10 11:10:58 +02:00
Marc-André Moreau ee282a931b freerdp: fix build warnings on Windows 2014-05-10 09:50:36 -04:00
Hardening ef11358668 Enhance ListDictonnary
This patch enhances ListDictionnary so that you can set callbacks for
keys and for values.
2014-04-18 18:26:04 +02:00
Marc-André Moreau 951368a1ce Merge branch 'master' of github.com:FreeRDP/FreeRDP 2014-02-27 13:58:29 -05: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
Marc-André Moreau 5ff847a6e6 wfreerdp: fix multiple warnings 2014-02-10 01:06:11 -05:00
Armin Novak 04854b292c Using new API for MessageQueue. 2013-11-12 15:18:18 +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 9b394a0189 channels/rdpdr: make use of MessageQueue for drive redirection 2013-11-03 21:01:36 -05:00
Marc-André Moreau 5406ebd5d8 channels/drive: refactoring 2013-11-03 19:10:33 -05: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 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 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 b1e9cfa445 channels/rdpdr: get rid of svc_plugin definitions 2013-10-17 15:56:56 -04: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
Armin Novak 1d416ff387 Fixed thread handling. 2013-09-05 13:38:47 +02:00
Armin Novak 82382d88ba Fixed coverity issue 1047568 2013-09-05 12:14:33 +02: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 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 c39bac3e00 channels/drive: fix warning 2013-02-19 18:15:28 -05:00
Marc-André Moreau cc3db24be5 channels/drive: fix double free 2013-02-18 06:39:17 -05:00
Marc-André Moreau 289aad8d45 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-02-15 11:16:36 -05:00
Marc-André Moreau cfa706cace libfreerdp-common: added new command-line options 2013-02-14 19:38:45 -05:00
Norbert Schneider 0f28c7ee35 Ignore IRP_MJ_LOCK_CONTROL
Ignoring this request improves working with shared volumes and MSWord
et al, see https://github.com/FreeRDP/FreeRDP/issues/959
2013-02-13 12:31:13 +01:00
Norbert Schneider fed04b7626 Added SetVolumeInformation 2013-02-05 13:21:25 +01:00
david 43cb13585d always initialize lpMultiByteStr parameter when calling ConvertFromUnicode 2013-01-16 01:14:03 +01:00
rdp.effort e53e8e524d Initialize lpWideCharStr parameter when using ConvertToUnicode
This patch ensure that lpWideCharStr is initialized by callers of
ConvertToUnicode
2013-01-10 21:30:32 +01:00
Marc-André Moreau d19e2042c3 libfreerdp-utils: remove deprecrated unicode utils in favor of WinPR 2012-12-17 10:20:25 -05:00
Marc-André Moreau af9be28000 libfreerdp-utils: purge deprecated freerdp_UnicodeToAsciiAlloc util in favor of WinPR ConvertFromUnicode 2012-12-16 23:34:07 -05:00