Commit Graph

2662 Commits

Author SHA1 Message Date
Emmanuel Ledoux
6fcc1b4478 winpr-comm: first import of comm_ioctl.h and the REMOTE_SERIAL_DRIVER type. 2014-04-25 00:20:48 +02:00
Marc-André Moreau
d6b0b1ae0e Merge branch 'master' of github.com:awakecoding/FreeRDP into smartcard 2014-04-23 21:31:26 -04:00
Marc-André Moreau
59df3ca733 Merge pull request #1806 from bmiklautz/feat/export_modules
Improve pkg-config file generation
2014-04-23 19:37:53 -04:00
Hardening
9d2ea1fcd8 Fix Thread handle leak
When a thread pool is release the Thread handle is leaked.
2014-04-23 16:59:14 +02:00
Bernhard Miklautz
dee9188191 update and improve pkg-config files
* generate pkg-config files top level to make sure all
  exports are available (eg. client/server)
* .pc libs section is now generated from export libraries
* update .pc file to use .private fields (prevent overlinking)
2014-04-23 13:12:23 +02:00
Bernhard Miklautz
b817e92e5e cmake: mark required libraries for export 2014-04-23 10:16:02 +02:00
Emmanuel Ledoux
21f9bfeb6c winpr-comm: First implementation of CommCreateFileA()
winpr-comm: Implementation of GetCommState()/SetCommState() in progress (BaudRate, fBinary and fParity done)
2014-04-22 17:04:07 +02:00
Emmanuel Ledoux
346c598bbe Introduced RegisterHandleCreator() to be used with CreateFile() 2014-04-22 17:00:14 +02:00
Marc-André Moreau
784e9abd79 cmake: improve __FILE__ relative path hack 2014-04-21 14:42:24 -04:00
Hardening
bb2852df06 Add an helper function for the Key object 2014-04-18 23:07:43 +02:00
Mike McDonald
b9d5687e99 Added initializer for global BaseNamedPipeList per code review. 2014-04-18 15:11:26 -04:00
Mike McDonald
d8c1133201 Changes to named pipe functions based on code review. 2014-04-18 14:02:44 -04:00
Emmanuel Ledoux
7e44488e0a winpr-file: introduced HANDLE_CREATOR type
winpr-comm: got a _CommHandleCreator
2014-04-18 19:25:25 +02:00
Mike McDonald
5e09e37d42 Modified named pipes to support multiple instances (i.e., multiple calls to CreateNamedPipe with the same pipe name). 2014-04-18 13:16:42 -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
Emmanuel Ledoux
f9fc107c20 new functions: DefineCommDevice / QueryCommDevice / IsCommDevice 2014-04-18 17:18:08 +02:00
Hardening
6febe88026 Fixes for queue and stack
This patch does misc fixes in queue and stack:
* the *_new() were not handling OOM correctly ;
* the *_Contains() methods were not using the equals cb;
* the lock were not always taken when accessing internal members;
2014-04-18 16:27:51 +02:00
Emmanuel Ledoux
75ff8fd9a4 add tchar function: _tcsncmp 2014-04-18 15:04:11 +02:00
Bernhard Miklautz
02c4e261d1 winpr-env: update Get/SetEnvironmentVariableA
* set last error to ERROR_ENVVAR_NOT_FOUND in GetEnvironmentVariableA
  if not found
* remove unused variables in SetEnvironmentVariableA
* add more test cases
2014-04-17 11:48:50 +02:00
Bernhard Miklautz
291569d1e5 winpr: change GetKnownSubPath to use a const path 2014-04-17 10:04:34 +02:00
Bernhard Miklautz
b8cf4a2304 remove re-declaration of extended pipe functions
remove them from winpr/pipe.h since they are defined and declared
in winpr/file.h
2014-04-17 10:04:06 +02:00
Bernhard Miklautz
adff58f48d winpr/pipe: fix variable type - unsigned to signed
fcntl returns int. Comparison to 0 < always returned false.
2014-04-17 10:02:41 +02:00
Marc-André Moreau
19b9ed3bb0 channels/smartcard: some Mac OS X fixes 2014-04-16 14:03:22 -04:00
Marc-André Moreau
77a50401a7 channels/smartcard: fix autoallocate wrapper 2014-04-15 18:45:38 -04:00
Marc-André Moreau
6d7f3cd00c libwinpr-smartcard: fix SCardGetAttrib SCARD_ATTR_CURRENT_PROTOCOL_TYPE 2014-04-15 18:01:26 -04:00
Marc-André Moreau
fc885dc4b7 libwinpr-smartcard: fix SCardGetAttrib 2014-04-15 17:51:39 -04:00
Marc-André Moreau
a675800d68 channels/smartcard: fix multi-line handling 2014-04-15 16:48:25 -04:00
Marc-André Moreau
38d05b48a0 channels/smartcard: fix reader name aliasing 2014-04-15 13:49:52 -04:00
Marc-André Moreau
0059772efa Merge pull request #1789 from MartinHaimberger/mh-memfixes
Fixed misc leaks
2014-04-14 14:17:30 -04:00
Marc-André Moreau
edb3ad383e Merge pull request #1784 from hardening/collections_reallocs
Don't leak memory when realloc fails
2014-04-14 14:17:05 -04:00
Marc-André Moreau
62481e83ee channels/smartcard: add more debug output 2014-04-13 16:48:32 -04:00
Marc-André Moreau
d699128a57 channels/smartcard: add more debug output 2014-04-13 15:50:51 -04:00
Marc-André Moreau
9afe63aa76 libwinpr-smartcard: improve GetStatusChange 2014-04-13 00:43:12 -04:00
Marc-André Moreau
a352044c7a libwinpr-smartcard: implement PCSC/WinSCard reader name aliasing 2014-04-12 23:38:15 -04:00
Marc-André Moreau
2f3c3c4bb1 channels/smartcard: add pcsc-lite protocol value mapping 2014-04-12 18:13:18 -04:00
Marc-André Moreau
1d864fe9af channels/smartcard: make PCSC implementation even closer to WinSCard 2014-04-12 16:45:06 -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
ee9f44ce5a libwinpr-smartcard: fix SCardConnectW deadlock 2014-04-12 12:15:04 -04:00
Marc-André Moreau
c106b62920 libwinpr-smartcard: fix deadlock in PCSC_SCardFreeMemory 2014-04-12 11:24:47 -04:00
Marc-André Moreau
727a4914f2 channels/smartcard: add more debug output 2014-04-11 18:57:04 -04:00
Marc-André Moreau
79453d1bb4 channels/smartcard: make handles completely opaque 2014-04-11 16:27:01 -04:00
Mike McDonald
38c7a38141 Merge branch 'fdsapi' of https://github.com/awakecoding/FreeRDP into awakecoding 2014-04-11 10:13:27 -04:00
Martin Haimberger
dd62e88098 fixed Wlog_Uninit to also free child logger 2014-04-11 02:23:16 -07:00
Martin Haimberger
a6c34c114e using setenv instead of putenv to prevent memleaks 2014-04-11 02:17:43 -07:00
Marc-André Moreau
8cac6519e1 channels/smartcard: added detailed debug tracing 2014-04-11 02:17:36 -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
Hardening
31c77baba0 Don't leak memory when realloc fails 2014-04-09 21:53:42 +02: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
2c016bf2b0 Merge branch 'master' of github.com:FreeRDP/FreeRDP into smartcard 2014-04-09 10:41:05 -04:00
Marc-André Moreau
4093f1a715 Merge pull request #1782 from hardening/oom_cases
Treat OOM cases
2014-04-09 10:39:31 -04:00
Hardening
1d1844aabd Treat OOM cases 2014-04-09 16:07:06 +02:00
Marc-André Moreau
934a5d497b winpr: fix failing unit tests 2014-04-09 10:01:58 -04:00
Hardening
36b4f20ff8 Fixes in case of OOM 2014-04-09 15:26:43 +02:00
Marc-André Moreau
2060037026 libwinpr-smartcard: fix missing link dependency 2014-04-09 00:10:45 -04:00
Marc-André Moreau
b91c10392f channels/smartcard: improve SCardGetAttrib 2014-04-08 23:52:24 -04:00
Marc-André Moreau
a32d814218 libwinpr-smartcard: implement SCARD_AUTOALLOCATE 2014-04-08 21:02:30 -04:00
Marc-André Moreau
3e4d30df6c channels/smartcard: fix ListReaders mszGroups parsing 2014-04-08 18:55:50 -04:00
Marc-André Moreau
d762a284d7 libwinpr-smartcard: improve Mac OS X build 2014-04-08 16:58:51 -04:00
Marc-André Moreau
3a428b87df libwinpr-smartcard: add option to build statically against specialized pcsclite build 2014-04-08 01:26:28 -04:00
Marc-André Moreau
e3ae293971 channels/smartcard: more code hardening 2014-04-07 17:17:26 -04:00
Marc-André Moreau
21c3fd6093 channels/smartcard: fix GetStatusChangeW 2014-04-07 12:38:27 -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
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
7324ded7a2 channels/smartcard: fix non-monolithic build 2014-04-05 20:05:51 -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
600218dfb2 channels/smartcard: cleanup ConnectA/ConnectW parsing 2014-04-05 16:06:46 -04:00
Marc-André Moreau
f9ada64587 libwinpr-smartcard: fix compilation on Windows 2014-04-04 16:45:11 -04:00
Marc-André Moreau
91898fb293 libwinpr-smartcard: add winscard.dll backend 2014-04-04 15:50:04 -04:00
Marc-André Moreau
06bf1ecc95 libwinpr-smartcard: implement dynamic API stubs 2014-04-04 15:30:03 -04:00
Marc-André Moreau
33813c08ec channels/smartcard: cleanup unpacking of data structures 2014-04-04 13:57:28 -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
d5ca2162ad libwinpr-smartcard: dynamically load pcsclite 2014-04-02 22:08:04 -04:00
Marc-André Moreau
c1f1ae2f65 libwinpr-smartcard: initial stubs 2014-04-02 20:54:46 -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
82ed4f0f38 libwinpr-comm: initial stubs 2014-04-02 15:51:28 -04:00
Hardening
ac7507ab8d Adds some check to treat OOM problems + RDP security fix
Malloc can fail so it will, this patch adds some check in some places
where malloc/strdup results were not checked.

This patch also contains a server side fix for RDP security (credit to nfedera).
The signature len was badly set in the GCC packet. And some other RDP security
oriented fixes are also there.
2014-03-25 23:13:08 +01:00
Marc-André Moreau
14b75d1b27 libfreerdp-core: fix build warnings and windows broken build 2014-03-25 15:19:52 -04:00
Marc-André Moreau
64b550e18f libwinpr-utils: fix .ini parser whitespace trimming 2014-03-25 00:32:05 -04:00
Marc-André Moreau
43031d6b66 libwinpr-utils: improve .ini file parser 2014-03-24 22:41:30 -04:00
Marc-André Moreau
331209f02d libwinpr-utils: start new .ini config file parser 2014-03-24 18:20:34 -04:00
Marc-André Moreau
822b07eb3e Merge branch 'master' of github.com:awakecoding/FreeRDP into fdsapi 2014-03-24 11:56:30 -04:00
Benoit LeBlanc
27c753f80c Merge branch 'master' of git://github.com/awakecoding/FreeRDP 2014-03-19 11:53:10 -04:00
Benoit LeBlanc
23d80d78b7 added missing cast for GetProcAddress 2014-03-19 11:52:12 -04:00
Marc-André Moreau
4236cd0cf5 libwinpr-wnd: stub more functions 2014-03-18 18:03:55 -04:00
Marc-André Moreau
2d4cc74961 libwinpr-wnd: expand window procedure functions 2014-03-18 16:39:43 -04:00
Marc-André Moreau
2c7ab4be46 libwinpr-wnd: stub core functions 2014-03-18 14:43:25 -04:00
Marc-André Moreau
885fe64544 libwinpr-wnd: stub window functions 2014-03-17 21:37:12 -04:00
Marc-André Moreau
2c17f438f8 libwinpr-wtsapi: extend WtsApiQuerySessionInformation unit tests 2014-03-17 16:39:35 -04:00
Marc-André Moreau
5cf4a00658 libwinpr-wtsapi: add support for WTSAPI_LIBRARY environment variable 2014-03-17 12:16:07 -04:00
Marc-André Moreau
882f3098b3 libfreerdp-codec: add more NCrush tables, decode literals and CopyOffsets 2014-03-16 15:51:35 -04:00
Marc-André Moreau
b813189266 libwinpr-wtsapi: fix linker issue 2014-03-12 11:40:39 -04:00
Marc-André Moreau
707f3c0692 libwinpr-wtsapi: add missing link dependency 2014-03-12 10:02:26 -04:00
Marc-André Moreau
c2d8486d8a libwinpr-utils: convert BitStream to macros 2014-03-11 22:17:31 -04:00
Marc-André Moreau
201bbf5df4 Merge branch 'master' of github.com:awakecoding/FreeRDP into mppc 2014-03-11 11:57:01 -04:00
Martin Haimberger
3808705652 WriteFile and ReadFile does not check for INVALID_HANDLE_VALUE 2014-03-11 06:34:41 -07:00
Marc-André Moreau
c686d434b7 libfreerdp-codec: initial RDP4/RDP5 MPPC compression test case success 2014-03-09 17:32:49 -04:00
Marc-André Moreau
3530b83291 libfreerdp-codec: add annotated MPPC compression samples 2014-03-09 14:35:11 -04:00
Marc-André Moreau
d9a2fb4ff9 libfreerdp-codec: start MPPC compressor 2014-03-08 17:38:47 -05:00
Marc-André Moreau
77e91aa762 libwinpr-crt: add byteswap macros 2014-03-06 12:48:48 -05:00
Marc-André Moreau
95127d5632 libfreerdp-codec: start testing MPPC against large buffer 2014-03-05 18:03:39 -05:00
Benoît LeBlanc
557c082458 Merge branch 'master' of git://github.com/awakecoding/FreeRDP 2014-03-05 16:35:22 -05:00
Marc-André Moreau
dbe7e7aae2 libwinpr-utils: move BitStream functions to macros 2014-03-05 13:08:11 -05:00
Marc-André Moreau
3ba1d1ff4e libwinpr-utils: basic working UINT32-based bitstream implementation 2014-03-05 12:56:26 -05:00
Marc-André Moreau
3973775b69 libwinpr-utils: add MSB/LSB bit printing 2014-03-05 12:03:10 -05:00
Marc-André Moreau
2cd9649f37 libwinpr-utils: start new BitStream util 2014-03-04 18:15:03 -05:00
Marc-André Moreau
c484dc630c libwinpr-crt: add proper unicode uppercasing 2014-03-03 21:26:13 -05:00
Marc-André Moreau
fb2428309c mfreerdp: apply fixes from mac-audio branch 2014-03-03 16:57:43 -05:00
Marc-André Moreau
bb5c5dcaf0 libwinpr-wtsapi: start adding support for dynamically loaded FreeRDS-provided WTSAPI implementation 2014-03-01 00:32:23 -05:00
Marc-André Moreau
41236e87e3 winpr: fix calling convention declarations 2014-02-28 14:58:50 -05: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
e2c1713bcb Merge branch 'master' of github.com:awakecoding/FreeRDP into channels 2014-02-28 12:22:23 -05:00
Marc-André Moreau
fde6a98580 winpr: fix conflict with SAL on OS X 2014-02-28 12:22:12 -05:00
Marc-André Moreau
315885c1eb libwinpr-file: fix improper status code in overlapped i/o 2014-02-28 11:24:44 -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
25259b33b0 Merge branch 'channels' of github.com:awakecoding/FreeRDP into channels 2014-02-27 12:37:57 -05:00
Marc-André Moreau
02f6e12c5f Merge branch 'master' of github.com:awakecoding/FreeRDP into channels 2014-02-27 12:37:23 -05:00
Marc-André Moreau
3d2397ffcc winpr: fix SAL definition conflicts with X11 and libstdc++ 2014-02-27 12:37:09 -05:00
Marc-André Moreau
922624f5b4 Merge branch 'master' of github.com:awakecoding/FreeRDP into channels 2014-02-27 12:14:18 -05:00
Marc-André Moreau
25ff5ccd69 libwinpr-locale: add stubs and definitions 2014-02-27 12:09:00 -05:00
Marc-André Moreau
019877da97 winpr: fix compilation on Windows 2014-02-26 13:35:49 -05:00
Marc-André Moreau
5a7cffe59c winpr: expand specstrings and error definitions 2014-02-26 12:34:08 -05:00
Bernhard Miklautz
297247042d winpr-env: fix in GetEnvironmentVariableEBA
* also fix cases where the provided env block is NULL
2014-02-20 18:29:16 +01:00
Marc-André Moreau
1697469ced libwinpr-file: implement further AIO-based overlapped I/O 2014-02-17 13:02:39 -05:00
Marc-André Moreau
3989dc7c5e Merge branch 'master' of github.com:awakecoding/FreeRDP into channels 2014-02-17 09:54:01 -05:00
Marc-André Moreau
a143a70114 libfreerdp-core: link against libwinpr-wtsapi, dynamically register proper WtsApi implementation in FreeRDS 2014-02-16 20:41:19 -05:00
Marc-André Moreau
1afeb448b4 libfreerdp-core: expose stubbed WtsApi function table from the core 2014-02-16 20:12:45 -05:00
Marc-André Moreau
cf274e3523 libwinpr-wtsapi: make use of static function table 2014-02-16 19:38:12 -05:00
Marc-André Moreau
74d054172c libwinpr-wtsapi: define SSPI-like WTSAPI function table 2014-02-16 15:42:36 -05:00
Bernhard Miklautz
591a8192e0 winpr-env: fix in GetEnvironmentVariableEBA
GetEnvironmentVariableEBA didn't do exact matching of the requested variable name. If a variable
with similar but shorter name was set in the environment block it was returned.
For example if HOME was set in the environment block and HOMEX was requested the value of HOME was
returned.
2014-02-14 11:12:21 +01:00
Bernhard Miklautz
ee5814cbc2 winpr-env: extended GetSetEB ctest
Check if Get function only returns values for the exact variable name
2014-02-14 11:12:21 +01:00
Marc-André Moreau
22fbf48109 libwinpr-utils: add synchronized version of HashTable 2014-02-13 22:25:30 -05:00
Bernhard Miklautz
24c67267a3 winpr: add cwd support in CreateProcess* 2014-02-13 14:31:11 +01:00
Bernhard Miklautz
909800eca0 winpr: fixed problems Set/GetEnvironmentVariableEBA
* valgrind: fixed invalid read
* invalid or damaged environment blocked caused endless loop
* envblock created in SetEnvironmentVariableEBA lacked a trailing '\0'
  which could lead to a damaged environment block
2014-02-13 14:31:11 +01:00
Marc-André Moreau
9668549fa4 Merge pull request #24 from MartinHaimberger/wlogimprovment
improved WLog
2014-02-12 06:54:20 -05:00
Marc-André Moreau
cdcd290c44 wfreerdp: fix most build warnings 2014-02-10 22:12:13 -05:00
Marc-André Moreau
5ff847a6e6 wfreerdp: fix multiple warnings 2014-02-10 01:06:11 -05:00
Marc-André Moreau
d64f86d52c wfreerdp: fix 64-bit build 2014-02-10 00:34:17 -05:00
Marc-André Moreau
ad86d3c333 libwinpr-utils: add HashTable 2014-02-09 21:55:21 -05:00
Hardening
569ca5b62e Fix the behaviour ReadFile() and WriteFile() in non-blocking mode
These functions were not returning the correct values when treating
non-blocking file descriptor.
2014-02-07 15:19:46 +01:00
Hardening
13fc57fa86 Fix GetEventFileDescriptor() with server NamedPipe
The GetEventFileDescriptor() function was not returning the correct
file descriptor with the server HANDLE.
2014-02-07 15:18:17 +01:00
Hardening
0129875bf2 Print human readable messages
Log why the pipe creation failed helps
2014-02-07 15:17:05 +01:00
Hardening
600047df4f Fix LinkedList_Remove
The previous version was setting to NULL both tail and head when
removing the head or tail item. That was corrupting the list.
2014-02-07 14:30:38 +01:00
Benoît LeBlanc
53f2b8511d Merge branch 'master' of git://github.com/awakecoding/FreeRDP 2014-02-06 12:13:39 -05:00
Marc-André Moreau
7f49c7302d libwinpr-winsock: stub more of winsock 2014-02-05 16:25:55 -05:00
Marc-André Moreau
c799db6855 libwinpr-synch: fix linker error 2014-02-05 13:09:25 -05:00
Marc-André Moreau
e8a9b7ff14 libfreerdp-core: fix ignored port settings for TS Gateway and vmconnect 2014-02-05 11:54:42 -05:00
Benoît LeBlanc
9d929469d2 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Marc-André Moreau (27) and others
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP: (48 commits)
  afreerdp: fix build on Android
  libwinpr-wtsapi: include wtsapi32.h on Windows
  wfreerdp: fix target exporting
  wfreerdp: fix building against OpenSSL with MONOLITHIC_BUILD and shared libraries
  wfreerdp: fix test build issues
  libwinpr-crypto: implement CryptProtectMemory/CryptUnprotectMemory
  libwinpr-memory: add missing definitions
  libwinpr-memory: start stubbing
  Increased size of stream on GCC conference create request from 512 to 1024.  For large numbers of static virtual channels, the stream was being overflowed and was causing crashes.
  Fixes to process new command line options (autodetect, heartbeat, multitransport), join the MCS message channel and process auto-detect PDUs during the connection sequence.
  wfreerdp: fix build against static openssl library
  winpr-hash: fix building against openssl in static mode
  libfreerdp-gdi: fix invalidation of region with line drawing
  mfreerdp: fix hungarian keyboard '0' and 'i' key inversion
  Fixes build issue on Windows
  libwinpr-synch: add active/inactive linked list for timer queue
  libwinpr-synch: improve timer queue implementation
  libwinpr-synch: make use of head's expiration time in timer queue
  libwinpr-synch: make use of timespec for timer queue
  libwinpr-synch: improve timer queue implementation
  ...

Conflicts:
	client/common/CMakeLists.txt
2014-02-04 11:37:40 -05:00
Benoît LeBlanc
04734d8f37 ts_add_ms: replaced while() that could result in infinite lock 2014-02-04 11:35:16 -05:00
Marc-André Moreau
fab61ba946 afreerdp: fix build on Android 2014-02-03 16:03:43 -05:00
Marc-André Moreau
7c7aa192ec libwinpr-wtsapi: include wtsapi32.h on Windows 2014-02-03 00:56:16 -05:00
Marc-André Moreau
17665378a9 wfreerdp: fix target exporting 2014-02-02 22:37:54 -05:00
Marc-André Moreau
b5bef07e50 wfreerdp: fix building against OpenSSL with MONOLITHIC_BUILD and shared libraries 2014-02-01 19:53:45 -05:00
Marc-André Moreau
9bdfbcd556 wfreerdp: fix test build issues 2014-02-01 12:50:28 -05:00
Marc-André Moreau
851ace73ff libwinpr-crypto: implement CryptProtectMemory/CryptUnprotectMemory 2014-02-01 11:52:04 -05:00
Marc-André Moreau
6365880f4d libwinpr-memory: add missing definitions 2014-01-31 20:48:31 -05:00
Marc-André Moreau
80449cd2c5 libwinpr-memory: start stubbing 2014-01-31 18:27:58 -05:00
Marc-André Moreau
839bcb42ae wfreerdp: fix build against static openssl library 2014-01-29 15:27:43 -05:00
Marc-André Moreau
ae2a51fdc5 Merge branch 'master' of https://github.com/FreeRDP/FreeRDP 2014-01-28 22:58:18 -05:00
Marc-André Moreau
c73c558d1f winpr-hash: fix building against openssl in static mode 2014-01-28 22:41:11 -05:00
Alessandro Pilotti
9d6dcab3c6 Fixes build issue on Windows
Solves the following build issue:

error C2373: 'InitializeCriticalSectionEx' : redefinition;
different type modifiers
2014-01-28 01:09:14 +02:00
Marc-André Moreau
eb38b9f1e1 libwinpr-synch: add active/inactive linked list for timer queue 2014-01-27 10:37:38 -05:00
Marc-André Moreau
159f539ef2 libwinpr-synch: improve timer queue implementation 2014-01-26 21:56:07 -05:00
Marc-André Moreau
1f394eb81d libwinpr-synch: make use of head's expiration time in timer queue 2014-01-26 20:49:48 -05:00
Marc-André Moreau
3616b19290 libwinpr-synch: make use of timespec for timer queue 2014-01-26 20:39:13 -05:00
Marc-André Moreau
2e45ad143f libwinpr-synch: improve timer queue implementation 2014-01-26 17:21:12 -05:00
Marc-André Moreau
656766ca2e libwinpr-synch: start implementing timer queue 2014-01-26 12:37:38 -05:00
Marc-André Moreau
d5fcd78b65 libwinpr-synch: fix build on OS X 2014-01-26 00:06:27 -05:00
Marc-André Moreau
3782c2ad72 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2014-01-25 16:34:34 -05:00
Marc-André Moreau
d2405a25f8 libwinpr-synch: initial waitable timer asynchronous procedure callback support 2014-01-24 22:44:23 -05:00
Marc-André Moreau
9a4fb396da libwinpr-synch: add unit test for waitable timer asynchronous procedure calls 2014-01-24 18:08:06 -05:00
Marc-André Moreau
fab0cd2779 libwinpr-synch: stub timer queues 2014-01-24 17:48:55 -05:00
Marc-André Moreau
21a259927a libwinpr-sspi: fix encoding of server-side NTLM challenge message 2014-01-24 13:02:45 -05:00
Martin Haimberger
24ee273540 fixed compiler warning 2014-01-15 06:15:18 -08:00
Martin Haimberger
65d7e17d4c improved WLog
childlogger use per default now a WLOG_LEVEL_INHERIT level
so the loglevel is taken from the first parent which has another level set.
2014-01-15 05:52:48 -08:00
Daryl Poe
9897f72b97 add additional evdev key mappings for multimedia and Korean keyboards 2014-01-14 15:18:20 -07:00
Hardening
19fb713b83 Handle EINTR nicely
When we caught an EINTR during a select we should retry instead of returning an error
2014-01-07 16:36:41 +01:00
Marc-André Moreau
9c1dca14f7 libwinpr-input: minor code style cleanup 2013-12-18 22:53:34 -05:00
Marc-André Moreau
05947dd0b2 libfreerdp-core: fix linux build 2013-12-18 22:02:59 -05:00
Benoît LeBlanc
043b834ac2 Fixed WaitForSingleObject and WaitForMultipleObjects (timeouts incorrectly sets). Added detailed error reporting, better timeout error handling. 2013-12-17 18:21:12 -05:00
Benoît LeBlanc
f4a0216c76 Fixed WaitForSingleObject and WaitForMultipleObjects (timeouts incorrectly sets). Added detailed error reporting, better timeout error handling. 2013-12-17 18:20:33 -05:00
Marc-André Moreau
652dbfd50d libwinpr-sspi: fix NTLM TargetName bug 2013-12-17 11:51:13 -05:00
Marc-André Moreau
62199fc46a Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-12-10 11:54:03 -05:00
Marc-André Moreau
f963491ebe libfreerdp-client: cleanup .rdp file parsing 2013-12-05 12:35:31 -05:00
Marc-André Moreau
84137cb76d libwinpr-utils: create wlog output directory 2013-12-04 23:46:58 -05:00
Bernhard Miklautz
2b6b4a6685 updated file headers 2013-12-04 11:44:22 +01:00
Marc-André Moreau
cea8c08328 ifreerdp: fix iOS/OSX platform detection 2013-12-03 15:19:58 -05:00
Marc-André Moreau
ea9511fb0d Merge branch 'master' of github.com:awakecoding/FreeRDP 2013-12-03 00:52:36 -05:00
Marc-André Moreau
d5f18e88cc libwinpr-environment: fix usage of environ on OS X 2013-12-03 00:52:02 -05:00
Marc-André Moreau
d9e1c0abaa libfreerdp-codec: add more planar unit tests 2013-11-29 02:16:16 -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
Bernhard Miklautz
204842561b winpr-thread: fixed bugs in _CreateProcessExA
* don't run fork/exec if the command isn't found
* return from forked process with exit
2013-11-21 20:06:21 +01:00
Benoît LeBlanc
13322f5ba2 Removed warning 2013-11-18 11:59:53 -05:00
Benoît LeBlanc
184ee149f6 Merge branch 'master' of git://github.com/awakecoding/FreeRDP 2013-11-18 11:34:32 -05:00
Benoît LeBlanc
6e581daebb Removed compilation warning 2013-11-18 11:34:24 -05:00
Marc-André Moreau
ea18d2b740 Merge pull request #1597 from bmiklautz/tests
Fixed failing tests
2013-11-15 08:22:05 -08:00
Marc-André Moreau
fa64ca758d Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-11-15 10:50:30 -05:00
Bernhard Miklautz
a56e3f259b winpr: disabled schannel test
not practicable for now since it requires local key setup
2013-11-15 16:19:49 +01:00
Bernhard Miklautz
916f2d2dbf winpr: fixed build warnings
* moved pthread_tryjoin_np to toplevel CMakeLists.txt
* removed duplicated -DHAVE_PTHREAD_GNU_EXT
2013-11-15 16:04:04 +01:00
Marc-André Moreau
a6af3f5c0a Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-11-15 09:38:29 -05:00
Armin Novak
fbc1acd70e Fixed includes and test function naming. 2013-11-15 11:43:01 +01:00
Armin Novak
5dbd94e2a3 Added unit tests for thread and mutex. 2013-11-15 11:38:59 +01:00
Armin Novak
efd2d833c2 Extended test, now also checks, if lock / unlock is working. 2013-11-15 08:38:59 +01:00
Armin Novak
e17a4d1f26 Using CLOCK_MONOTONIC instead of CLOCK_REALTIME now.
Fixed timeout comparison for systems missing GNU posix extensions.
2013-11-14 13:48:20 +01:00
Armin Novak
719c1a27d6 Fixed broken timed wait for thread and mutex objects in WaitForSingleObject. 2013-11-14 09:34:16 +01:00
Marc-André Moreau
b0b8b6aa9e Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-11-12 12:59:41 -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
4a1e9d2e4e Using new API for message queue. 2013-11-12 15:18:45 +01:00
Armin Novak
638d26569f Updated MessagePipe to new MessageQueue API. 2013-11-12 15:11:39 +01:00
Armin Novak
09d219b8d6 Added <MessageQueue_Clear> and custom handler argument to
<MessageQueue_New>.
2013-11-12 15:10:41 +01:00
Armin Novak
25e7682e02 Added <MessagePipe_Clear> and argument for custom handlers to
<MessagePipe_New>.
2013-11-12 15:10:08 +01:00
Marc-André Moreau
f17a36f84c libwinpr-library: port GetModuleFileName to Mac OS X 2013-11-11 17:25:59 -05:00
Marc-André Moreau
226cad3e03 winpr: improve winpr.pc generation 2013-11-10 17:54:41 -05:00
Marc-André Moreau
fb23f08388 libfreerdp-client: fix possible infinite loop with .rdp file parsing containing freerdp options 2013-11-10 13:29:20 -05:00
Marc-André Moreau
4898868e9d libwinpr-path: extend custom portability functions 2013-11-09 23:38:22 -05:00
Marc-André Moreau
0e662a060e freerdp: improve pkgconfig .pc file generation 2013-11-09 17:51:09 -05:00
Marc-André Moreau
70aed3fa85 libfreerdp-core: minor style cleanup 2013-11-08 13:57:41 -05:00
Armin Novak
b34c2d0e1d Removed unneccessary include <spawn.h>, which broke the build. 2013-11-08 10:27:57 +01:00
Marc-André Moreau
5536033a8a libfreerdp-core: transport refactoring 2013-11-07 17:37:58 -05:00
Marc-André Moreau
61f95fbe16 libfreerdp-core: transport code style cleanup 2013-11-07 15:14:59 -05:00
Marc-André Moreau
7fa5ab7ced Merge branch 'master' of github.com:mrthebunny/FreeRDP 2013-11-07 13:58:33 -05:00
Marc-André Moreau
8cbb7f42da libwinpr-library: add GetModuleFileName implementation for Linux 2013-11-07 13:57:05 -05:00
Benoît LeBlanc
dfd39b6d0a Fixed macro declaration 2013-11-07 13:55:06 -05:00
Benoît LeBlanc
c4dea17af3 added _scprintf macro to winpr because snprintf does not count characters on Windows.
Modified write_rdp_file_ macros for windows compatibility
2013-11-07 13:44:18 -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
33a9694b45 Merge pull request #15 from MartinHaimberger/WLOGIMPROVEMENT
improved wlog
2013-11-06 10:56:30 -08:00
Marc-André Moreau
b174dd9199 Merge pull request #16 from bmiklautz/process
Process
2013-11-06 10:55:55 -08:00
Marc-André Moreau
b8a1f7d6c0 freerdp: implement restricted admin mode pass-the-hash option 2013-11-06 10:02:58 -05:00
Marc-André Moreau
f38c73b6c1 libwinpr-security: fix exporting of target 2013-11-05 19:44:26 -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
cc301348df libwinpr-crt: added SecureZeroMemory 2013-11-01 18:32:36 -04:00
Marc-André Moreau
fd8355d47a libwinpr-io: add missing link dependency to libwinpr-nt 2013-10-31 17:19:46 -04:00
Marc-André Moreau
5a5733eb83 Merge branch 'master' of github.com:awakecoding/FreeRDP 2013-10-31 11:02:40 -04:00
Marc-André Moreau
8a64934c7b libwinpr-io: start device file implementation 2013-10-31 11:02:25 -04:00
Bernhard Miklautz
9f42b41f4e winpr/thread: use _strdup instead of strdup 2013-10-31 10:43:59 +01:00
Bernhard Miklautz
e51b9b0c03 winpr-thread: fixed issue with commands starting with / 2013-10-31 10:19:55 +01:00
Marc-André Moreau
938d423ec9 freerdp: fix build on Windows 2013-10-30 17:56:44 -04:00
Marc-André Moreau
3b0bcc9824 cmake: export to different directory, export more build info 2013-10-29 15:16:44 -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
c0a1c259f3 freerdp: start exporting targets automatically 2013-10-28 22:09:31 -04:00
Marc-André Moreau
7e58dfd22b winpr: fix wlog function prototypes 2013-10-28 18:21:14 -04:00
Marc-André Moreau
89d45690c6 libwinpr-synch: don't use timed waits on OS X until they are properly ported 2013-10-25 10:48:37 -04:00
Marc-André Moreau
723e423799 libwinpr-synch: fix build on Mac OS X 2013-10-25 10:03:57 -04:00
Martin Haimberger
ad7be5a4ee improved wlog so new logger inhertit the loglevel
of the root logger
2013-10-25 05:41:01 -07:00
Marc-André Moreau
deff2217b8 Merge pull request #14 from MartinHaimberger/VOIDFix
WINPR Void Fix
2013-10-24 11:04:36 -07:00
Marc-André Moreau
fb4ac3b5dd Merge pull request #13 from MartinHaimberger/EnvMerge
added merge function for environmentblocks
2013-10-24 11:04:09 -07:00
Martin Haimberger
b2ca632f79 WINPR Void Fix
c++ only allows only void to define empty parameter list
typedef defines a new type therfore its not valid in c++
2013-10-24 06:39:09 -07:00
Marc-André Moreau
5fb65101e9 libwinpr-nt: make test successfully call NtCreateFile on Windows 2013-10-23 19:32:32 -04:00
Marc-André Moreau
e2fe00fd37 libwinpr-nt: load and make use of original Rtl* functions on Windows 2013-10-23 18:57:41 -04:00
Marc-André Moreau
1de70aa064 libwinpr-nt: dynamically load original NtCreateFile functions on Windows, extend tests 2013-10-23 18:15:10 -04:00
Marc-André Moreau
d30f66b1b7 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-10-23 14:18:40 -04:00
Martin Haimberger
8479462b5e changed the interface of SetEnvironmentVariableEBA 2013-10-23 03:43:06 -07:00
Armin Novak
2ba55a48f8 Added missing variable declaration. 2013-10-23 12:25:04 +02:00
Armin Novak
17a024dcd1 Returing WAIT_TIMEOUT for MUTEX objects now too. 2013-10-23 12:16:23 +02:00
Armin Novak
c1051fe4c6 Always including <errno.h> now. 2013-10-23 12:13:53 +02:00
Armin Novak
7704788474 Implemented fallback functions for pthread_timedjoin_np and
pthread_mutex_timedlock functions for systems without PTHREAD_GNU_EXT
Now returning WAIT_TIMEOUT if the operation timed out.
2013-10-23 12:09:09 +02:00
Martin Haimberger
fdacd898f5 MergeEnvironmentStrings works also for a null original env 2013-10-23 03:00:22 -07:00
Martin Haimberger
97ef519a54 added Set/GetEnvironmentVariableEBA
did some bugfixing within the MergeEnvironmentVariable
added Tests
2013-10-23 02:27:31 -07:00
Martin Haimberger
87ce6f28cf added merge function for environmentblocks 2013-10-23 00:58:33 -07:00
Marc-André Moreau
9c536cfe01 libwinpr-wtsapi: fix build after changes to libwinpr-nt 2013-10-22 21:43:59 -04:00
Marc-André Moreau
ebc096f2b2 libwinpr-nt: fix conflict for NtCreateFile on Windows 2013-10-22 21:38:16 -04:00
Marc-André Moreau
888812eaa0 libwinpr-nt: stub more of the native file API 2013-10-22 20:47:29 -04:00
Marc-André Moreau
8609a19cac Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-10-17 17:34:16 -04:00
Marc-André Moreau
d2d1226292 Merge pull request #1537 from bmiklautz/windowsbuild
Windows build fixes
2013-10-17 14:31:27 -07:00
Marc-André Moreau
0417e552cf libwinpr-utils: fix bug in ListDictionary 2013-10-17 17:27:47 -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
0276b095eb Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-10-17 13:08:30 -04:00
Marc-André Moreau
dfcab616f8 Merge pull request #12 from bmiklautz/listdict
Improvements and new function for ListDictionary
2013-10-15 08:02:42 -07:00
Bernhard Miklautz
7c61b16da5 ListDictionary: added Remove_Head function
ListDictionary_Remove_Head removed the first object from the dictionary
and returns it's value.
2013-10-15 16:15:44 +02:00
Bernhard Miklautz
95bed71dbc ListDictionary: support for wObject added 2013-10-15 15:51:53 +02:00
Bernhard Miklautz
86e53aed9a ListDictionary_Remove: return value if removed
Update tests accordingly.
2013-10-15 15:49:57 +02:00
Bernhard Miklautz
96e267fcdf winpr-file: fixed memory leak in error case 2013-10-15 13:22:34 +02:00
Bernhard Miklautz
d2790d92c8 winpr-handle: fixed compiler warning 2013-10-15 13:22:01 +02:00
Bernhard Miklautz
bab5c22f9e winpr-pipe: fixed memory leak in WaitNamedPipeA 2013-10-15 13:09:13 +02:00
Bernhard Miklautz
0cc918a1d5 winpr-handle: fixed mem leak when closing named pipes 2013-10-15 13:03:30 +02:00
Marc-André Moreau
b70ecbbf62 libfreerdp-core: decouple initialization of rdpSettings from freerdp* instance 2013-10-12 18:20:25 -04:00
Norbert Federa
6f9a8dbc1e winpr: greatly improved NtCurrentTeb performance
Use pthread_setspecific/pthread_getspecific to store/retrieve the thread
environment block (TEB). Use pthread_once to trigger the creation of that
data from within NtCurrentTeb.
This allows us to get rid of the process environment block stuff which
was only used to provide serialized access to a thread table in order to
retrieve the TEB.

NtCurrentTeb is currently only as a per-thread storage location for the
last error value used by SetLastError and GetLastError.

Also made the TestErrorSetLastError CTest a bit more demanding.
It makes sure the 4 threads run for at least 2 seconds.
Each thread constantly calls SetLastError with a random value and checks
if GetLastError returns the same value again. The total amount of
these iterations is calculated in order to measure the performance.

This change increases the NtCurrentTeb performance by roughly 50% on
linux and by several thousand percent (yes) on Mac OS X.

Thanks for watching.
2013-10-11 19:34:23 +02:00
Marc-André Moreau
7dd95b9587 libwinpr-crypto: improve Schannel unit test 2013-10-11 04:01:07 -04:00
Marc-André Moreau
3d7d4c50db libwinpr-utils: fix IPv4 checksum and TCP sequence numbers with wlog packet messages 2013-10-09 16:37:45 -04:00
Marc-André Moreau
90b90ad496 libwinpr-utils: improve quality of data for reconstructed IP headers 2013-10-09 15:11:56 -04:00
Marc-André Moreau
7bdb63ad89 libwinpr-utils: initial wlog packet header reconstruction 2013-10-09 14:23:38 -04:00
Marc-André Moreau
166e3fbf2d libwinpr-utils: start reconstructing IP headers for wlog packet message 2013-10-09 13:37:53 -04:00
Marc-André Moreau
a3f0f4c8dc libfreerdp-core: started logging packets to pcap file 2013-10-08 23:43:57 -04:00
Marc-André Moreau
684db03578 libwinpr-utils: start implement wlog packet appender 2013-10-08 23:18:59 -04:00
Marc-André Moreau
07afc88878 libwinpr-utils: add some configurability to wlog with environment variables 2013-10-08 22:35:14 -04:00
Marc-André Moreau
a87e7deac4 libwinpr-utils: fix wlog build warnings 2013-10-08 19:39:03 -04:00
Marc-André Moreau
c96207fd69 Merge pull request #10 from MartinHaimberger/fixLogWarnings
fixed warining fo not constant log format string
2013-10-08 15:54:32 -07:00
Marc-André Moreau
85e6729854 Merge pull request #9 from hardening/awakecoding
Fix function prototype
2013-10-08 15:54:21 -07:00
Marc-André Moreau
1ee2fa73cf Merge pull request #8 from MartinHaimberger/wlogfix
fixed memory leak in wlog
2013-10-08 15:54:09 -07:00
Marc-André Moreau
353816e050 Merge pull request #6 from MartinHaimberger/loglevel
Loglevel
2013-10-08 15:53:54 -07:00
Marc-André Moreau
fdae43aafc mfreerdp: fix keyboard mapping for toggle keys 2013-10-07 16:43:23 -04:00
Bernhard Miklautz
57d295441f windows build: use different .def file for xp
Use different def file for windows < 5.1.
2013-10-07 15:03:50 +02:00
Martin Haimberger
7d35c1adaf fixed warining fo not constant log format string 2013-10-07 02:20:01 -07:00
Bernhard Miklautz
e6f3cd7dff build: link winpr-synch against winpr-sysinfo 2013-10-05 14:09:04 +02:00
Hardening
c37c86601d Fix function prototype
This patch fixes the prototypes with warnings enabled.
2013-10-04 23:07:31 +02:00
Marc-André Moreau
97447420c9 Merge branch 'master' of github.com:awakecoding/FreeRDP 2013-10-04 11:34:00 -04:00
Marc-André Moreau
e37981e57c libwinpr-utils: improved binary appender 2013-10-04 11:33:49 -04:00
Martin Haimberger
fea6d83367 fixed memory leak in wlog 2013-10-04 03:51:10 -07:00
Martin Haimberger
5e073f5f17 loglevel filtering fix 2013-10-03 06:32:12 -07:00
Martin Haimberger
02487da987 added c++ declaration in wlog 2013-10-03 05:07:37 -07:00
Marc-André Moreau
aaeb4ea0b2 libwinpr-utils: add wlog support for image and binary data 2013-10-02 15:41:46 -04:00
Marc-André Moreau
0569de167d libwinpr-utils: further split wlog framework into more source files, add some thread safety for write operations 2013-10-02 13:38:21 -04:00
Bernhard Miklautz
5c3ce890b1 winpr-thread: close fds before exec new process
Close all open file handles, except stdion/stdout/stderr before executing a new process
to make sure that no file descriptors leak or kept open.
2013-10-02 17:21:56 +02:00
Marc-André Moreau
3fb2724536 libwinpr-utils: fix default WLog behaviour 2013-10-01 20:45:20 -04:00
Marc-André Moreau
2684b829d0 libwinpr-utils: add simple parent/child hierarchy 2013-10-01 18:19:50 -04:00
Marc-André Moreau
0b29f72cc4 libwinpr-utils: added default file output path for wlog 2013-10-01 16:50:47 -04:00
Marc-André Moreau
a374525e6a libwinpr-utils: split wlog framework 2013-10-01 16:08:26 -04:00
Marc-André Moreau
8695c5226b libwinpr-file: added more error checking 2013-10-01 12:03:08 -04:00
Marc-André Moreau
480071cdeb libwinpr-io: improve overlapped io with server-side named pipes 2013-09-25 23:16:33 -04:00
Marc-André Moreau
f4e98f29ec libwinpr-pipe: add server-side named pipe waiting 2013-09-25 19:13:39 -04:00
Marc-André Moreau
8c72211eea libwinpr-thread: fix link libraries 2013-09-25 16:38:41 -04:00
Marc-André Moreau
b3b6ee57f0 libwinpr-thread: add missing link dependencies for tests 2013-09-25 16:26:54 -04:00
Marc-André Moreau
7ec19ac0f2 libwinpr-thread: fix build on Windows 2013-09-25 15:47:18 -04:00
Marc-André Moreau
f6ee26f15a winpr: fix noreturn warnings 2013-09-24 14:35:03 -04:00
Marc-André Moreau
9a124a1d60 libwinpr-thread: initial CreateProcessAsUser implementation 2013-09-24 13:08:29 -04:00
Marc-André Moreau
f363b93819 libwinpr-process: add searching of system path 2013-09-24 11:03:42 -04:00
Marc-André Moreau
4a77f12b32 libwinpr-security: expand stubs 2013-09-24 00:07:48 -04:00
Marc-André Moreau
0506bd1ac6 libwinpr-security: initial stub module 2013-09-23 22:39:28 -04:00
Marc-André Moreau
979ed1b756 libwinpr-pipe: implement WaitNamedPipe 2013-09-23 18:10:21 -04:00
Marc-André Moreau
3d2754e8ed libwinpr-environment: implement required functions for CreateProcess 2013-09-23 14:44:59 -04:00
Marc-André Moreau
8d142eb85f libwinpr-thread: initial CreateProcess() implementation 2013-09-22 17:23:00 -04:00
Marc-André Moreau
bb9db97204 libwinpr-thread: improve CommandLineToArgv completeness 2013-09-21 20:05:14 -04:00
Marc-André Moreau
83e124f909 libwinpr-thread: partial support for character escaping in CommandLineToArgv 2013-09-21 19:49:00 -04:00
Marc-André Moreau
56672023db libwinpr-thread: start implementing CommandLineToArgv 2013-09-21 17:16:49 -04:00
Marc-André Moreau
e841e6068b winpr: fix inclusion of winternl.h 2013-09-20 14:39:31 -04:00
Marc-André Moreau
b9a3ff3c85 winpr: fix build on Linux 2013-09-19 15:47:54 -04:00
Marc-André Moreau
e8a8c1cf7f winpr: fix crashing tests 2013-09-19 14:17:00 -04:00
Marc-André Moreau
0c17eb1a23 winpr: fix unit tests on Windows 2013-09-19 13:50:00 -04:00
Marc-André Moreau
929d292f35 wfreerdp: fix compilation 2013-09-19 12:08:20 -04:00
Marc-André Moreau
10f1a898ef libfreerdp-client: fix command-line parsing with .rdp file 2013-09-17 17:03:35 -04:00
Marc-André Moreau
c0ba0fb337 libwinpr-utils: fix BufferPool test 2013-09-16 17:59:29 -04:00
Marc-André Moreau
8f1aceac6a libwinpr-nt: add missing link dependency 2013-09-16 17:49:16 -04:00
Marc-André Moreau
8a6b545a36 libwinpr-print: add missing include headers 2013-09-16 17:43:24 -04:00
Marc-André Moreau
518995a05e freerdp: merge with master 2013-09-16 17:10:27 -04:00
Marc-André Moreau
3b7994a9a6 Merge pull request #1467 from akallabeth/cmdline_enhanced
Cmdline enhanced
2013-09-16 13:33:04 -07:00
Marc-André Moreau
22ce171261 libwinpr-utils: added custom prefix formatter in logger 2013-09-16 16:30:49 -04:00
Marc-André Moreau
5386d5cd60 libwinpr-utils: make use of logMessage structure and macro for logging 2013-09-16 13:24:50 -04:00
Marc-André Moreau
a4c8d97b4c libwinpr-utils: start implementing FileAppender 2013-09-16 12:56:22 -04:00
Marc-André Moreau
af1ea7573c libwinpr-utils: start implementing ConsoleAppender 2013-09-16 12:05:08 -04:00
Bernhard Miklautz
1b304321ef winpr/registry: Fixed double free
fixes #1479
2013-09-16 17:23:26 +02:00
Marc-André Moreau
968ef14349 libwinpr-utils: introduce trace levels 2013-09-15 16:48:09 -04:00
Marc-André Moreau
6a8b5f2283 libwinpr-utils: start implementing WinPR logger 2013-09-15 15:46:02 -04:00
Marc-André Moreau
4fbebba528 libwinpr-wait: add support for waiting on named pipes (non-standard) 2013-09-11 19:00:32 -04:00
Marc-André Moreau
22855c933b Merge branch 'xrdp-ng' of github.com:awakecoding/FreeRDP into xrdp-ng 2013-09-10 17:53:28 -04:00
Marc-André Moreau
7574e7bfc9 Merge branch 'master' of github.com:awakecoding/FreeRDP into xrdp-ng 2013-09-10 17:02:36 -04:00
Marc-André Moreau
4a4a36d5c4 cmake: remove vendor-specific options 2013-09-10 14:03:15 -04:00
Bernhard Miklautz
8c796e9afc winpr/synch: link against librt 2013-09-10 10:38:23 +02:00
Armin Novak
21127ec33b Added a new flag to indicate the presence of a single not escaped argument
allowing the legacy command line <server>:<port> syntax.
2013-09-10 10:29:45 +02:00
Armin Novak
a7a7bab619 Fixed optional argument parsing. 2013-09-09 17:21:15 +02:00
Armin Novak
4274b266c0 Fixed command line parser, now printing help, if an invalid option is detected. 2013-09-09 16:07:14 +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
07139276b5 Added newlines at end of file, prevents clang from crashing... 2013-09-05 12:14:35 +02:00
Armin Novak
cf20efb4c6 Simplified code for FindFirstFileA, now always using FindClose
for cleanup.
2013-09-05 12:14:35 +02:00
Armin Novak
62356e667c Fixed erroneous patch. 2013-09-05 12:14:34 +02:00
Armin Novak
4331fa1f8b Fixed invalid API usage, ... 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
2a7ab454ba Fixed static library compilation, using -fPIC now to allow linking
to dynamic lib.
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
62330ca669 Fixed variable mixup. 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
a355093219 Fixed coverity issue 1047645 2013-09-05 12:14:33 +02:00
Armin Novak
96285eec58 Fixed coverity issue 1047647 2013-09-05 12:14:33 +02:00
Armin Novak
d519bc3115 Fixed coverity issue 1047592 2013-09-05 12:14:33 +02:00
Armin Novak
629ac4ad28 Fixed coverity issue 1047588 2013-09-05 12:14:33 +02:00
Armin Novak
87a9a24ef2 Fixed coverity issue 1047593 2013-09-05 12:14:33 +02:00
Armin Novak
020bae25d7 Fixed coverity issue 1047594 2013-09-05 12:14:32 +02:00
Armin Novak
04e9338668 Fixed coverity issue 1047595 2013-09-05 12:14:32 +02:00
Armin Novak
0c08b584b8 Fixed coverity issue 1047596 2013-09-05 12:14:32 +02:00
Armin Novak
f231f3fcc5 Fixed coverity issue 1047597 2013-09-05 12:14:32 +02:00
Armin Novak
1673e526f5 Fixed coverity issue 1047598 2013-09-05 12:14:32 +02:00
Armin Novak
e2cd11332b Fixed coverity issue 1047599 2013-09-05 12:14:32 +02:00
Armin Novak
4bd1c567bd Fixed coverity issue 1047600 2013-09-05 12:14:32 +02:00
Armin Novak
64c3aafcc6 Fixed coverity issue 1047602 2013-09-05 12:14:32 +02:00
Armin Novak
53e0d53b99 Fixed coverity issue 1047603 2013-09-05 12:14:32 +02:00
Armin Novak
a55afb58a4 Fixed coverity issue 1047634 2013-09-05 12:14:31 +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
41f53696d5 Merge branch 'xrdp-ng' of github.com:awakecoding/FreeRDP into xrdp-ng 2013-09-03 18:50:18 -04:00
Marc-André Moreau
ee36541fb7 freerdp: merge with master 2013-09-03 18:49:48 -04:00
Bernhard Miklautz
90c2cb22ab winpr: fixed test building 2013-08-29 09:44:41 +02:00
Marc-André Moreau
e429136c0c libwinpr-wtsapi: started internal RPC stubs 2013-08-23 00:06:22 -04:00
Marc-André Moreau
8423fccbc2 libwinpr-pipe: add support for overlapped i/o with named pipes (synchronous, compatible implementation) 2013-08-22 22:36:37 -04:00
Marc-André Moreau
c1625c1ead libwinpr-wtsapi: start implementation, extend NtApi 2013-08-22 19:20:59 -04:00
Marc-André Moreau
d5679889f3 libwinpr-nt: start implementing core NTDLL functions 2013-08-22 13:30:44 -04:00
Marc-André Moreau
68ec10a9d9 libwinpr-nt: implement NtCurrentTeb() 2013-08-22 10:18:38 -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
cea6de16ee libwinpr-wtsapi: add VC API 2013-08-20 15:22:31 -04:00
Marc-André Moreau
1f0caa4161 libwinpr-wtsapi: complete unicode definitions 2013-08-20 14:22:42 -04:00
Marc-André Moreau
9d1dd14581 libwinpr-wtsapi: updated interface definition 2013-08-19 20:58:42 -04:00
Marc-André Moreau
7a88e7cb35 libwinpr-wtsapi: initial stubs 2013-08-19 20:38:43 -04:00
Marc-André Moreau
0ca78c877e libwinpr-wtsapi: added empty module 2013-08-19 19:18:31 -04:00
Marc-André Moreau
1068a1f3cc libwinpr-com: create empty module 2013-08-19 19:06:47 -04:00
Marc-André Moreau
d7656ada48 libfreerdp-codec: fix NSCodec encoding and buffer pool usage 2013-08-19 18:21:34 -04:00
Marc-André Moreau
317ffb2ca3 libwinpr-utils: backport fixed-size buffer pool inside variable size buffer pool 2013-08-19 17:14:24 -04:00
Armin Novak
2f20a8c12b Fixed various memory leaks and resource deallocation problems. 2013-08-19 17:44:52 +02:00
Armin Novak
1a3a6c3e0f Fixed check for _GNU_SOURCE pthread extensions. 2013-08-16 11:49:35 +02:00
Marc-André Moreau
1d3cf89cbc libwinpr-synch: fix wait.c build on Mac OS X 2013-08-15 15:02:24 -04:00
Marc-André Moreau
87593b4f19 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-08-15 13:16:05 -04:00
Marc-André Moreau
efff23acb5 Merge pull request #1395 from richterger/client_redir
Fix memory corruption in client redirection
2013-08-15 10:15:11 -07:00
Marc-André Moreau
9f25c4fc25 libfreerdp-codec: initial working fragmented NSCodec encoder 2013-08-15 13:13:02 -04:00
Marc-André Moreau
c149ede6f2 libwinpr-utils: add support for variable size buffer pool 2013-08-15 00:01:42 -04:00
Marc-André Moreau
0c6f62ce47 Merge pull request #1416 from akallabeth/cmake_generate_with_clean_source_tree
Cmake generate with clean source tree
2013-08-14 06:53:46 -07:00
Armin Novak
86fd873907 Added error messages for not implemented functions. 2013-08-14 13:19:57 +02:00
Armin Novak
0752597e00 Thread timed join now only available with _GUN_SOURCE. 2013-08-14 13:18:18 +02:00
Armin Novak
c3e847f472 Implemented timeouts for WaitForSingleObject.
Added assertions for functions not implemented.
2013-08-14 13:18:18 +02:00
Marc-André Moreau
b972830841 libfreerdp-codec: make use of ObjectPool for tiles 2013-08-13 09:34:15 -04:00
Marc-André Moreau
f8e870a258 libwinpr-utils: implement asynchronous mode for ListDictionary 2013-08-12 17:48:32 -04:00
Marc-André Moreau
356186ed54 Merge branch 'master' of github.com:awakecoding/FreeRDP 2013-08-12 12:09:44 -04:00
Armin Novak
c39d99b02d winpr config.h now generated in binary tree. 2013-08-12 13:51:18 +02:00
Marc-André Moreau
bb30ceb006 mfreerdp: cleanup 2013-08-09 21:23:08 -04:00
Alessandro Pilotti
644e0efa76 Fixes libwinpr build issue on Windows
Adds conditional statements in file.c to solve a Posix portability
issue on Windows introduced with the following commit:

913d532e0d
2013-08-09 02:45:31 +03:00
Marc-André Moreau
e31b9b7709 libwinpr-pipe: add missing link dependency 2013-08-07 16:00:21 -04:00
Marc-André Moreau
a9bf93ed6a libwinpr-pipe: add missing link dependencies for test code 2013-08-07 15:56:05 -04:00
Marc-André Moreau
34f9985add freerdp: merge with master 2013-08-07 15:48:57 -04:00
Marc-André Moreau
331933635c Merge pull request #1401 from nfedera/fix-2013-08-07-02
libwinpr-utils: Use criticalsection with spincount
2013-08-07 12:35:46 -07:00
Norbert Federa
3a58934eb2 libwinpr-utils: Use criticalsection with spincount
Use InitializeCriticalSectionAndSpinCount instead of IntializeCriticalSection.
Using spin counts for critical sections of short duration enables the calling
thread to avoid the wait operation in most situations which can dramatically
improve the overall performance on multiprocessor systems.

On Linux this change has no effect because the new winpr critical section
implementation does not use the SpinCount field under Linux because the NPTL
synchronization primitives are implemented using the extremely performant
futex system calls which have this magic already built in.

However, on Mac OS X this change improved the overall performance of the
multithreaded RemoteFX decoder by 25 percent.

I've used a SpinCount of 4000 which avoided 99 percent of the wait calls.
This value is also used by Microsoft's heap manager for its per-heap
critical sections.

Note: This change requires pull request #1397 to be merged.
2013-08-07 18:16:01 +02:00
Norbert Federa
2b25b4a520 libwinpr-sync: New complete critical section code
- Complete implementation including recursion support
- Added an intensive ctest (TestSynchCritical)
- Struct members are used exactly as Windows does it internally:
  LockCount starts at -1, RecursionCount at 0
- Same performance optimizations as internally on Windows:
    - Fast lock acquisition path using CAS -> SpinCount -> wait
    - SpinCount automatically disabled on uniprocessor systems
- On Linux SpinCount is disabled because it provided no advantage over NPTL/futex in all tests

Support for CRITICAL_SECTION's DebugInfo is not yet included (but trivial to add).
2013-08-07 10:20:04 +02:00
richterger
505facbb6f Fix off by one problem in StreamPool allocation 2013-08-07 08:01:33 +02:00
Marc-André Moreau
7b80b19306 cmake: add FindPixman.cmake 2013-08-05 20:50:23 -04:00
Marc-André Moreau
13872f33bf libwinpr-utils: implement doubly-linked list 2013-08-05 17:29:14 -04:00
Marc-André Moreau
190ed85a3d libwinpr-synch: add detection of timerfd support 2013-08-03 19:50:17 -04:00
Marc-André Moreau
ecc543d87d Merge branch 'master' of github.com:FreeRDP/FreeRDP into multitouch 2013-08-03 16:22:09 -04:00
Norbert Federa
81ef251fc8 winpr: improve and fix locking for data structures
- Improved/completed(almost) winpr's critical section implementation
- Replaced WaitForSingleObject locking with critical sections

Note:
WaitForSingleObject should _never_ be used for granular low-contention
locks as it _always_ enters the kernel.

Just replacing WaitForSingleObject locking in Bufferpool with
EnterCriticalSection boosts the multithreaded rfx decoder
performance by almost 400% on win32.
2013-08-02 12:07:05 +02:00
Marc-André Moreau
913d532e0d winpr: fix build on Linux 2013-07-30 10:57:54 -04:00
Marc-André Moreau
4d2bc6ba46 libwinpr-synch: add unit tests, initial waitable timer support 2013-07-29 13:07:39 -04:00
Marc-André Moreau
007bd87ff4 libwinpr-synch: start implementing waitable timers 2013-07-29 11:57:29 -04:00
Marc-André Moreau
8a4e83bdfb libfreerdp-core: fix server-side update encoding edge case 2013-07-28 16:31:38 -04:00
Benoît LeBlanc
03a401b8e6 CMakelists:
disabled installation of headers and libraries for the wayk client.
2013-07-25 21:59:21 -04:00
Marc-André Moreau
bef2ad5c92 libwinpr-pipe: added overlapped io tests for named pipes 2013-07-23 15:03:08 -04:00
Marc-André Moreau
507899ade9 libwinpr-pipe: initial basic named pipe support 2013-07-22 23:17:08 -04:00
Marc-André Moreau
65bc944def libwinpr-pipe: implement of more named pipes 2013-07-22 22:53:44 -04:00
Marc-André Moreau
afe1f22bcf libwinpr-pipe: start implementing named pipes 2013-07-22 18:20:34 -04:00
Marc-André Moreau
c6764f9034 libwinpr-pipe: added stubs for named pipes 2013-07-22 16:30:25 -04:00
Benoît LeBlanc
163cc975d9 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Marc-André Moreau
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP:
  libwinpr-utils: implement ListDictionary
2013-07-07 22:02:09 -04:00
Marc-André Moreau
b3265b6958 libwinpr-utils: implement ListDictionary 2013-07-05 18:23:26 -04:00
Benoît LeBlanc
d72452b4f5 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Bernhard Miklautz (4) and others
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP:
  libfreerdp-core: fix unused variable
  libfreerdp-codec: add bitmap encoder
  cmdline: unix/windows return detected error
  client/common: fixed command line parsing issue
  channels/serial: bring it back to life
  nla: invalidate sec handle after creation
  tls: updated certificate mismatch message
2013-07-05 16:35:08 -04:00
Benoît LeBlanc
c17c2f811b FreeRDP:
- replaced char* by const char* in function prototypes
- MacFreeRDP: moved assignation of context function pointers
- freerdp: added more pointer and return value validations to prevent crashes
2013-07-04 14:42:40 -04:00
Bernhard Miklautz
0773bb9303 nla: invalidate sec handle after creation
If sec pointer isn't invalidated after creation it is not possible
to check if the upper and lower pointers are valid.

This fixes a segfault in the server part if the client disconnects before
the authentication was finished.
2013-07-01 19:24:19 +02:00
Marc-André Moreau
863b51f938 freerdp: merge with master 2013-06-28 12:50:24 -04:00
Marc-André Moreau
48347b1f4d Merge pull request #1305 from bmiklautz/mem_alignment
winpr: offset support in _aligned_offset_malloc
2013-06-28 09:39:02 -07:00
Marc-André Moreau
3fbc4f899f libwinpr-utils: fix deadlock in PubSub 2013-06-27 14:16:50 -04:00
Marc-André Moreau
77f5994e1c winpr: add _WINRT platform detection macro 2013-06-26 18:12:01 -04:00
Martin Fleisz
14e81877fb Merge pull request #1294 from bmiklautz/null_handle
winpr: check added if handle is NULL
2013-06-26 05:48:30 -07:00
Marc-André Moreau
c66b79ad46 winpr: extend stream api 2013-06-25 16:46:55 -04:00
Norbert Federa
786df03bb6 libwinpr-synch: fix broken USleep (on WIN32)
Also reduce CPU usage by reducing the max busy-looping time to 1ms
2013-06-25 16:33:40 +02:00
Marc-André Moreau
31f68d0779 winpr: fix type conflict with X11 2013-06-24 23:58:31 -04:00
Bernhard Miklautz
b0d69caee8 winpr/alignment: use size_t instead of UINT32 2013-06-19 19:07:31 +02:00
Marc-André Moreau
fbf3208b0a libwinpr-utils: rename certain PubSub functions 2013-06-18 21:23:26 -04:00
Bernhard Miklautz
40ea683982 winpr: offset support in _aligned_offset_malloc
Added support to handle offset parameter in _aligned_offset_ functions.
fixes #1299
2013-06-18 18:43:59 +02:00
Marc-André Moreau
508bae674b libwinpr-utils: improve PubSub with automatic strongly-typed helpers 2013-06-18 00:39:48 -04:00
Marc-André Moreau
c76efec345 wfreerdp: update client with new API 2013-06-15 22:57:21 -04:00
Marc-André Moreau
e77d4657e4 libwinpr-utils: add PubSub multiplexing and synchronized access 2013-06-15 18:18:02 -04:00
Marc-André Moreau
6c9a3b8e64 freerdp: start using pubSub for client GUI events 2013-06-15 17:01:10 -04:00
Marc-André Moreau
95a129eb69 libfreerdp-client: start splitting termination and printing logic for CLI parsing 2013-06-15 15:13:38 -04:00
Marc-André Moreau
8ad532a9d4 libwinpr-utils: implement basic Publisher/Subscriber pattern 2013-06-15 13:32:13 -04:00
Marc-André Moreau
174d1bdd71 libwinpr-utils: start implementing Publisher/Subscriber pattern 2013-06-14 16:55:05 -04:00
Christian Plattner
9373787fb1 winpr: check added if handle is NULL 2013-06-14 15:41:06 +02:00
Marc-André Moreau
2bd6808432 freerdp: merge with master 2013-06-05 10:31:01 -04:00
Daryl Poe
86156ce61f fix memory errors due to too-large memcpy in ArrayList 2013-06-03 09:30:14 -06:00
Marc-André Moreau
9d3ec97f9e freerdp: fix monolithic build with Xcode 2013-05-24 18:38:02 -04:00
Marc-André Moreau
8a2220a3d9 libwinpr-synch: remove unnecessary critical section 2013-05-16 19:27:12 -04:00
Marc-André Moreau
c0160b8015 libwinpr-handle: reduce usage of unneeded handle management functions 2013-05-16 18:27:26 -04:00
Marc-André Moreau
23e8af45f0 libwinpr-handle: don't use a centralized handle table as it was a major performance bottleneck 2013-05-16 18:14:37 -04:00
Marc-André Moreau
f8b24826da libwinpr-handle: optimize handle table lookup 2013-05-16 17:49:41 -04:00
Marc-André Moreau
72e9087d1f winpr: unify handle types 2013-05-16 17:32:58 -04:00
Marc-André Moreau
e8c5e6c70b libfreerdp-core: send using separate streams, re-enable frame acks 2013-05-15 18:05:40 -04:00
Marc-André Moreau
54281cac13 libwinpr-utils: grow stream by a factor of two 2013-05-15 16:22:58 -04:00
Marc-André Moreau
367ebf32a3 freerdp: make use of stream macros to access members 2013-05-15 12:14:26 -04:00
Marc-André Moreau
1b28ef5976 winpr: fix endian.h 2013-05-08 19:44:51 -04:00
Marc-André Moreau
d11752aa4b libwinpr-utils: started endianness utility macros 2013-05-08 18:29:41 -04: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
9bf924929c xfreerdp-server: use libwinpr-input for keyboard mapping 2013-05-02 01:34:54 -04:00
Marc-André Moreau
b4cac74136 xfreerdp-server: fix RemoteFX encoding 2013-05-01 18:15:55 -04:00
Marc-André Moreau
e88b59c32c libfreerdp-core: improve async-transport mode 2013-04-30 17:16:38 -04:00
Marc-André Moreau
c49c235c93 libwinpr-utils: fix stream pool 2013-04-30 00:36:16 -04:00
Marc-André Moreau
83af4266bf libfreerdp-core: refactor fastpath fragmentation 2013-04-29 23:55:44 -04:00
Marc-André Moreau
51715636a5 freerdp: remove some deprecated stream utils 2013-04-29 22:35:15 -04:00
Marc-André Moreau
5f4342f4e8 Merge github.com:FreeRDP/FreeRDP 2013-04-29 14:05:21 -04:00
Marc-André Moreau
70dea34a90 Merge github.com:FreeRDP/FreeRDP 2013-04-29 13:59:24 -04:00
Marc-André Moreau
fae24b1ef9 xfreerdp-server: auto-generate self-signed certificate 2013-04-23 18:17:01 -04:00
Hardening
dcdb411208 Fix winpr headers for C++ usage
This patch add missing extern "C" declaration to use the headers in
C++ projects.
2013-04-17 23:06:48 +02:00
Hardening
129614ff6c Merge branch 'master' of git://github.com/FreeRDP/FreeRDP 2013-04-14 15:46:23 +02:00
Hardening
4b9f61596b Fixed signed/unsigned warning 2013-04-14 15:41:04 +02:00
Hardening
fa5ee0a7dd Fixed external declaration for C++ 2013-04-14 15:40:34 +02:00
Marc-André Moreau
b4b0fb0642 Merge pull request #1188 from awakecoding/master
Android Translation, LoadBalanceInfo, StreamPool
2013-04-12 15:30:14 -07:00
Marc-André Moreau
d04b76d005 libfreerdp-core: use stream pool 2013-04-12 13:44:23 -04:00
Marc-André Moreau
0fded8c2d0 winpr-utils: fix StreamPool 2013-04-12 12:20:20 -04:00
Vic Lee
edaf5073e3 winpr: do not redefine UNICODE_STRING on Windows. 2013-04-11 20:52:54 -07:00
Marc-André Moreau
f94f90c08b winpr-utils: initial stream pool implementation 2013-04-11 21:59:02 -04:00
Marc-André Moreau
0be8a12d78 winpr: fix string.h for C++ 2013-04-11 16:27:12 -04:00
Marc-André Moreau
e7436a1a9d wfreerdp: minor 64-bit fixes 2013-04-10 21:15:38 -04:00
Marc-André Moreau
0cbdd6b641 freerdp: merge with master 2013-04-09 10:18:03 -04:00
Marc-André Moreau
6dfa196966 wfreerdp: unify client interface 2013-04-08 22:10:59 -04:00
Marc-André Moreau
c48a7bc5f1 Merge pull request #1169 from hardening/scancode_fix
Small correctly in GetVirtualKeyCodeFromVirtualScanCode
2013-04-06 13:30:36 -07:00
Hardening
37e2f97180 Small correctly in GetVirtualKeyCodeFromVirtualScanCode
this function was not doing his job, this patch fixes it.
2013-04-06 22:22:55 +02:00
Marc-André Moreau
f778cd38c3 Merge pull request #1161 from bmiklautz/mutex_init
winpr/mutex: Support for bInitialOwner in CreateMutex
2013-04-04 14:22:24 -07:00
Marc-André Moreau
7b2f70c0c7 xfreerdp: fix including from C++ 2013-04-03 18:48:59 -04:00
Marc-André Moreau
55fb73fc42 winpr: fix headers for C++ (VOID issue) 2013-04-03 16:54:09 -04:00
Bernhard Miklautz
aea81fb5c8 winpr/mutex: Support for bInitialOwner in CreateMutex 2013-04-03 19:35:45 +02:00
Marc-André Moreau
022ceec22a xfreerdp: split client into executable and library 2013-04-02 16:22:30 -04:00
Marc-André Moreau
d13f89d359 xfreerdp: modify way to return thread exit code 2013-04-02 14:51:12 -04:00
Martin Fleisz
8d16086969 Android: Fix crash after changes in FreeRDP directory handling 2013-04-02 06:33:59 -07:00
Marc-André Moreau
3835fa8a35 Merge pull request #1152 from mfleisz/master
iOS: Got rid of .xcodeproj file and various compile fixes
2013-04-02 06:07:53 -07:00
Hardening
4a92e370e0 Fix includes + pkgconfig file
This patch fixes some winpr includes when used with C++.
It also fix the pkgconfig file as Stream_New has changed of
library.
2013-03-29 23:37:13 +01:00
Martin Fleisz
38446b5f2b iOS: got rid of xcode project file 2013-03-29 14:28:27 +01:00
Marc-André Moreau
c65ee0c2f4 wfreerdp: fix build on Windows 2013-03-29 00:33:15 -04:00
Marc-André Moreau
d187becc28 freerdp: merge with master 2013-03-28 21:20:36 -04:00
Marc-André Moreau
3417a3aab5 freerdp: merge RDP_EVENT type with wMessage 2013-03-28 21:13:56 -04:00
Hardening
7701c9d934 Replace printf(...) by fprintf(stderr, ...) 2013-03-28 23:06:34 +01:00
Marc-André Moreau
8b9ea43d78 libfreerdp-core: fix locking with TS Gateway 2013-03-27 20:06:10 -04:00
Marc-André Moreau
6f69b8a22f wfreerdp: fix build 2013-03-26 15:02:33 -04:00
Marc-André Moreau
690b5147db cmake: simplify android build 2013-03-23 18:13:10 -04:00
Marc-André Moreau
890c418536 winpr-makecert: added file output functions 2013-03-22 17:34:57 -04:00
Marc-André Moreau
c715ff69bc winpr-makecert: improve library/executable separation 2013-03-22 16:59:54 -04:00
Marc-André Moreau
48419c0a0a libwinpr-tools: start splitting makecert tool into library and executable 2013-03-22 16:36:44 -04:00
Marc-André Moreau
b4f70ed8fd libwinpr-path: rename known path constants 2013-03-22 16:03:42 -04:00
Marc-André Moreau
068f0de4d4 libfreerdp-utils: purge old file utils 2013-03-22 15:52:43 -04:00
Marc-André Moreau
edf6e7258d libwinpr-path: add path detection functions 2013-03-22 00:42:09 -04:00
Marc-André Moreau
27dc85bed9 libwinpr-utils: add trio portable printf implementation 2013-03-21 21:30:31 -04:00
Marc-André Moreau
8fb7e80919 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-03-21 16:46:35 -04:00
Vic Lee
1964a2e4f1 include/winpr/synch.h: add missing extern C decl. 2013-03-21 15:13:33 -07:00
Marc-André Moreau
a8201b0d1b libwinpr-utils: combine old and new stream utils 2013-03-21 15:19:33 -04:00
Marc-André Moreau
882c914e6c channels/tsmf: fix build 2013-03-21 14:45:03 -04:00
Bernhard Miklautz
0a90bec26f winpr/dsparse: removed autogenerated test file 2013-03-15 23:15:59 +01:00
Bernhard Miklautz
6b1a414b36 winpr/sspi: disable test TestSchannel 2013-03-15 23:11:17 +01:00
Bernhard Miklautz
f6810fb138 Fixed warnings for 32 bit builds 2013-03-15 22:49:25 +01:00
Bernhard Miklautz
1519152709 winpr/sspi: fixed test TestInitializeSecurityContext 2013-03-15 21:47:24 +01:00
Bernhard Miklautz
e4aef1b07f Merge remote-tracking branch 'upstream/master' into fix_warnings 2013-03-15 20:43:57 +01:00
Bernhard Miklautz
103171a98e Fixed compiler warnings (-Wall) 2013-03-15 20:41:10 +01:00
Bernhard Miklautz
e8eb0d0b44 Fixed formating build warnings (-Wformat) 2013-03-15 20:03:48 +01:00
Bernhard Miklautz
77df254265 Fixed some build warnings 2013-03-15 18:22:49 +01:00
Bernhard Miklautz
d7b4f68b0c winpr/sysinfo: cleaned up cpu flag tests 2013-03-15 01:31:48 +01:00
Bernhard Miklautz
3bac044825 winpr/sysinfo: fixes and detection for avx PCLMULQDQ added
- fixed defines for avx aes detection
- added detection for avx carry less multiplication (PF_EX_AVX_PCLMULQDQ)
2013-03-15 01:06:33 +01:00
Bernhard Miklautz
81580f10d9 winpr/sysinfo: fixed build and detection when build with AVX 2013-03-14 23:18:21 +01:00
Martin Fleisz
7518170cd4 winpr: Don't build tools for Android and iOS 2013-03-14 09:38:50 -07:00
Marc-André Moreau
79638db42c winpr-makecert: only include OpenSSL's applink.c on Windows 2013-03-13 17:57:13 -04:00
Marc-André Moreau
f0de7c88a8 winpr-makecert: fix OpenSSL applink error 2013-03-13 17:55:42 -04:00
Marc-André Moreau
140b44006b winpr-makecert: fix linking against OpenSSL 2013-03-13 17:43:33 -04:00
Marc-André Moreau
10e09ed846 winpr-makecert: fix CMakeLists.txt 2013-03-13 14:04:18 -04:00
Marc-André Moreau
2a99837fb9 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-03-13 12:43:42 -04:00
Martin Fleisz
b5ffa2f8ae iOS: Compile fix 2013-03-13 15:12:44 +01:00
Martin Fleisz
96a2717b3c iOS: Compile fixes (Fixed #1069, #1086) 2013-03-13 15:08:45 +01:00
Marc-André Moreau
9eaa530d49 makecert: generate self-signed RDP certificate 2013-03-13 00:26:10 -04:00
Marc-André Moreau
91c12fa312 makecert: accept more parameters 2013-03-12 21:53:41 -04:00
Christian Hofstaedtler
8833c14eac fix ArrayList_Shift for args (al, 0, -1)
As a result, this should fix #1051.
2013-03-12 23:21:42 +01:00
Marc-André Moreau
00cbfdb2af winpr-makecert: start implementing 2013-03-12 17:57:16 -04:00
Christian Hofstaedtler
b8d0e03a53 add KBDEXT to KEYCODE_TO_VKCODE_APPLE where needed 2013-03-11 23:23:20 +01:00
Marc-André Moreau
89cf0a3dd0 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-03-07 13:56:51 -05:00
Marc-André Moreau
32d9f76c41 libwinpr-input: fix virtual key code definitions 2013-03-07 13:56:00 -05:00
Marc-André Moreau
72957e39eb libwinpr-input: started mapping XKB keynames to virtual key codes 2013-03-06 17:43:41 -05:00
Marc-André Moreau
f91efc8f05 Merge pull request #1053 from C-o-r-E/master
Various small changes on the server and a fix for winpr-pool
2013-03-06 14:33:37 -08:00
Marc-André Moreau
9c8ae99628 Merge pull request #1028 from hardening/waylanCompilationWarnings
Fixed prototype for -Wstrict-prototypes
2013-03-05 04:57:50 -08:00
Marc-André Moreau
1630b80bda libwinpr-input: added more japanese definitions 2013-03-04 21:27:56 -05:00
Marc-André Moreau
6c40fde892 libwinpr-input: map most evdev keycodes 2013-03-04 20:37:44 -05:00
Marc-André Moreau
d4dc6b256e libwinpr-input: prepare comments for evdev keycode map 2013-03-04 18:27:31 -05:00
Marc-André Moreau
0bff72935b libwinpr-input: add empty keycode map for evdev 2013-03-04 17:19:33 -05:00
Marc-André Moreau
cd7edbbc81 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-03-04 16:07:29 -05:00
Corey C
395cfe94c5 winpr-pool: better solution for building on winxp to win8 2013-03-04 16:05:32 -05:00
Corey C
6882ed2f14 wfreerdp-server: removed manuallly setting sse2, winpr-pool: fixed build on win8 2013-03-04 14:06:54 -05:00
Martin Fleisz
a822d736f0 Fixed issues with new sysinfo on windows 2013-03-04 09:40:26 +01:00
Marc-André Moreau
7d75343e8e libfreerdp-locale: cleanup Mac OS X keycode mapping 2013-03-03 19:30:01 -05:00
Marc-André Moreau
44758bfe54 libfreerdp-locale: start moving some code to libwinpr-input 2013-03-03 16:30:31 -05:00
hardening
f0f7c9d80d Fixed prototype for -Wstrict-prototypes 2013-03-03 18:23:43 +01:00
Marc-André Moreau
be27783e81 libwinpr-input: initial commit 2013-03-02 22:25:40 -05:00
Marc-André Moreau
8f3911d4b8 Merge pull request #1023 from bmiklautz/cpuflagdetection
CPU feature detection
2013-03-02 15:52:25 -08:00
Martin Fleisz
c76d009a35 libwinpr-pool: Fix compile issue if SDK version is pre Vista 2013-03-01 11:57:00 +01:00
Bernhard Miklautz
b8a545d9c9 winpr/sysinfo: restructuring and "aliases" added
Added meaningful aliases for the not so clear defines.
2013-03-01 09:02:15 +01:00
Bernhard Miklautz
0ce13c3837 sysinfo: neon is supported on all current ios devices 2013-03-01 09:02:15 +01:00
Bernhard Miklautz
bf7f7f0f60 winpr/sysinfo: added IsProcessorFeaturePresent and IsProcessorFeaturePresentEx
These functions can be used to check if an processor feature is supported.
IsProcessorFeaturePresentEx is a extended version which is not available
in the windows API and allows to query additional features.
Currently it works on the following platforms:
- i386/amd64 when compiling with gcc
- ARM on linux
2013-03-01 09:02:14 +01:00
Marc-André Moreau
ea63fdb18e libwinpr-utils: start custom printf replacement 2013-02-28 15:43:57 -05:00
Marc-André Moreau
62e686f62a Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-02-28 10:42:13 -05:00
Marc-André Moreau
9873ce28d0 libwinpr-utils: experiment with printf replacement 2013-02-28 08:41:51 -05:00
Bernhard Miklautz
b95bf97c20 android: build fix - no librt
Android NDK doesn't provide librt.
2013-02-28 11:47:09 +01:00
Marc-André Moreau
fe34a529d5 freerdp: fix build and warnings on Mac OS X 2013-02-21 21:09:42 -05:00
Marc-André Moreau
41fbdbeb0d libfreerdp-utils: don't use freerdp_thread util in svc_plugin 2013-02-20 19:44:14 -05:00
Marc-André Moreau
082e069913 libwinpr-utils: initial MessagePipe implementation 2013-02-20 14:48:32 -05:00
Marc-André Moreau
5e8d35c4ac channels/rdpsnd: use MessageQueue 2013-02-19 22:36:04 -05:00
Marc-André Moreau
43fd37de6e channels/rdpsnd: fix timestamps 2013-02-19 21:21:20 -05:00
Marc-André Moreau
f75b3f5d51 libwinpr-utils: fix parsing of optional arguments with the space separator 2013-02-19 18:05:20 -05:00
Marc-André Moreau
35033497d8 libwinpr-sspi: implement partial Schannel EncryptMessage/DecryptMessage support 2013-02-18 21:50:33 -05:00
Marc-André Moreau
4e565e26b5 Merge branch 'master' of github.com:awakecoding/FreeRDP 2013-02-18 20:07:41 -05:00
Marc-André Moreau
01e8eb8204 libwinpr-sspi: complete Schannel handshake 2013-02-18 20:07:29 -05:00
Marc-André Moreau
801708297a libwinpr-rpc: fix windows build 2013-02-18 19:29:50 -05:00
Marc-André Moreau
7987875591 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-02-15 11:23:59 -05:00
Marc-André Moreau
d74a53c738 Merge pull request #973 from hardening/includeFixesTrunk
Fixed compilation with -Wstrict-prototypes
2013-02-15 08:18:22 -08:00
Marc-André Moreau
289aad8d45 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-02-15 11:16:36 -05:00
Marc-André Moreau
0dc52e219c libwinpr-interlocked: fix iOS build 2013-02-15 10:33:21 -05:00
Marc-André Moreau
e42b1272ef libfreerdp-core: added ObjectPool 2013-02-14 20:39:56 -05:00
hardening
865ff2a5f8 Fixed compilation with -Wstrict-prototypes 2013-02-14 22:20:43 +01:00
Bernhard Miklautz
e5cf8ff7fb iOS: initial release of iFreeRDP
This is the initial release of iFreeRDP the FreeRDP iOS client.
Build instructions can be found in docs/README.ios.
2013-02-14 14:59:12 +01:00
Marc-André Moreau
cca810aa4c libfreerdp-core: refactor bitmap codec guid handling 2013-02-12 21:25:49 -05:00
Marc-André Moreau
47a7d54370 xfreerdp: stabilize asynchronous X11 event handling 2013-02-11 20:38:19 -05:00
Marc-André Moreau
4269ac5c14 xfreerdp: improve asynchronicity 2013-02-09 17:13:53 -05:00
Marc-André Moreau
4cd720416a libfreerdp-core: added more licensing debug output 2013-02-05 01:07:34 -05:00
Marc-André Moreau
64160af3a8 libfreerdp-core: added more message definitions 2013-02-04 14:56:54 -05:00
Marc-André Moreau
d9ac2cca39 libfreerdp-gdi: fix 8bpp FillRect color 2013-02-03 15:16:37 -05:00
Marc-André Moreau
a00ac1f689 Merge pull request #949 from hardening/eventfd
Add support for eventfd
2013-02-02 13:30:33 -08:00
hardening
497041b44e event: don't select then write when using eventfd, write directly 2013-02-01 00:47:44 +01:00
Marc-André Moreau
51293f48e9 libfreerdp-crypto: fix build on windows 2013-01-31 16:36:56 -05:00
Marc-André Moreau
a17ddeea2a mfreerdp-server: merging with master 2013-01-31 11:33:08 -05:00
Marc-André Moreau
ff586504e7 libwinpr-sspi: cleanup NTLM messages 2013-01-30 20:39:57 -05:00
Marc-André Moreau
4a5bd8584a libwinpr-sspi: cleanup NTLM authenticate message construction 2013-01-30 19:47:27 -05:00
C-o-r-E
a39ef9980f Merge remote-tracking branch 'upstream/master' 2013-01-30 19:05:35 -05:00
Marc-André Moreau
ed33ac84c5 libwinpr-sysinfo: fix hostname detection 2013-01-29 16:18:17 -05:00
Marc-André Moreau
22ecaa85a7 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-01-29 14:01:33 -05:00
Vic Lee
2fa23e598e include/winpr/pool.h: fix windows build. 2013-01-29 15:04:17 +08:00
Bernhard Miklautz
f91b88f714 added missing defined() in #elif
gcc >= 4.4 requires a condition in #elif.
2013-01-25 17:50:40 +01:00
Marc-André Moreau
f92f48bf9d libfreerdp-core: added message queue stubs 2013-01-24 17:11:43 -05:00
Marc-André Moreau
470defa4af libwinpr-utils: test MessageQueue 2013-01-24 15:08:49 -05:00
Marc-André Moreau
fa30eeaef9 libwinpr-utils: started implementing asynchronous MessageQueue 2013-01-24 14:09:44 -05:00
Bernhard Miklautz
f54f6ce196 winpr/pool: zero thread pool on creation 2013-01-24 17:17:12 +01:00
Marc-André Moreau
0478449fb4 libwinpr-sysinfo: fix build on Mac OS X 2013-01-23 19:37:50 -05:00
Marc-André Moreau
ebefab1de4 libfreerdp-codec: add processor count detection and auto-enabling of threads in RemoteFX decoder 2013-01-23 19:21:14 -05:00
Marc-André Moreau
da3a3d5c9a libfreerdp-primitives: cleanup platform definitions 2013-01-23 18:39:48 -05:00
Marc-André Moreau
ec22b89772 libwinpr-sysinfo: added platform-specific macro definitions 2013-01-23 17:46:32 -05:00
C-o-r-E
caa1032cce Merge remote-tracking branch 'upstream/master' 2013-01-23 16:10:57 -05:00
hardening
f0d5e24979 Added preliminary support for eventfd 2013-01-23 21:59:01 +01:00
C-o-r-E
58e5034d5f mfreerdp-server: replaced xnew/xzalloc calls 2013-01-23 12:54:09 -05:00
Marc-André Moreau
683e395bf8 Merge pull request #918 from awakecoding/master
RemoteFX Parallel Processing of Tiles
2013-01-22 19:03:06 -08:00
Marc-André Moreau
7b7acf4944 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-01-22 21:57:21 -05:00
Marc-André Moreau
94ad538185 libfreerdp-codec: added registry keys for multithreaded RemoteFX decoder 2013-01-22 21:54:13 -05:00
Marc-André Moreau
22f374ac36 libfreerdp-codec: implement buffer pooling for RemoteFX 2013-01-22 21:24:04 -05:00
Marc-André Moreau
f5d9b06252 libwinpr-utils: added buffer pool 2013-01-22 20:36:08 -05:00
Marc-André Moreau
438a727c6b libfreerdp-codec: start parallel decoding of RemoteFX tiles 2013-01-22 18:14:50 -05:00
Marc-André Moreau
fb189989af libwinpr-pool: fix InitializeThreadpoolEnvironment 2013-01-22 17:24:57 -05:00
Marc-André Moreau
74bba0e767 libwinpr-pool: improve thread pool API on Linux 2013-01-22 16:19:32 -05:00
Marc-André Moreau
c230726259 Merge pull request #917 from hardening/WaitForMultipleObjectsFix
WaitForMultipleObjects should conform to API and return WAIT_FAILED when nCount is 0
2013-01-22 13:04:52 -08:00
hardening
7b37f92b2b WaitForMultipleObjects should conform to API and return WAIT_FAILED when nCount is 0 2013-01-22 21:58:06 +01:00
Marc-André Moreau
a98b8a1390 libwinpr-pool: improve Windows implementation 2013-01-21 23:34:46 -05:00
Marc-André Moreau
d4d19d6473 libwinpr-pool: implement WaitForThreadpoolWorkCallbacks 2013-01-21 19:22:08 -05:00
Marc-André Moreau
025b5bab68 libwinpr-pool: start implementing scheduling of asynchronous calls 2013-01-21 18:33:00 -05:00
Marc-André Moreau
ad9769dfe7 libwinpr-pool: make tests pass on Windows 2013-01-20 22:39:32 -05:00
Marc-André Moreau
c048dc4cc4 libwinpr-pool: add test stubs 2013-01-20 21:15:55 -05:00
Marc-André Moreau
9a7bcbb084 libfreerdp-codec: remove old RemoteFX tile pool 2013-01-20 20:44:30 -05:00
Marc-André Moreau
151c2a63e4 libfreerdp-primitives: fix build on Mac OS X 2013-01-19 20:32:14 -05:00
Marc-André Moreau
49ee48e8d0 libfreerdp-primitives: code style cleanup 2013-01-19 15:16:28 -05:00
Marc-André Moreau
04c6f689cc Merge branch 'master' of github.com:awakecoding/FreeRDP 2013-01-18 13:50:59 -05:00
Marc-André Moreau
5b4aaf276f libfreerdp-core: added reference counter for receive buffers 2013-01-18 13:50:35 -05:00
Marc-André Moreau
3d77d5a497 freerdp: merging with master 2013-01-14 13:50:16 -05:00
rdp.effort
4d90284657 Renamed CODEC_ID_NONE to RDP_CODEC_ID_NONE as it is already defined in
avcodecs.h
Fixed a warning in schannel_openssl.c
Added checks for: input, mcs, tpdu, certificate, license
2013-01-12 14:49:01 +01:00
Marc-André Moreau
136bbc8bf7 libwinpr-sspi: start implementing Schannel EncryptMessage 2013-01-11 14:23:54 -05:00
Marc-André Moreau
b868af322e libwinpr-sspi: fix Schannel TLS handshake 2013-01-10 17:12:27 -05:00
Marc-André Moreau
03ef822d0c libwinpr-sspi: add Schannel EncryptMessage/DecryptMessage tests 2013-01-10 16:28:56 -05: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
59084a09ba libwinpr-sspi: fix Schannel TLS handshake 2013-01-10 12:19:07 -05:00
Marc-André Moreau
0fbf846671 libwinpr-sspi: NTLM extended protection cleanup 2013-01-10 11:19:57 -05:00
Marc-André Moreau
f0c94562cc libfreerdp-core: TS Gateway cleanup and NTLM SingleHostData implementation 2013-01-09 12:05:34 -05:00
Marc-André Moreau
1d893ed268 libwinpr-sspi: add support for NTLMv2 Channel Binding Token (CBT) 2013-01-09 00:20:08 -05:00
Marc-André Moreau
d8949f5d8f libfreerdp-core: fix computing of test channel binding token 2013-01-08 21:56:28 -05:00
Marc-André Moreau
811ff44720 libfreerdp-core: change ReceiveCallback return values 2013-01-06 17:24:08 -05:00
Marc-André Moreau
218773a04c Merge branch 'master' of github.com:awakecoding/FreeRDP 2013-01-06 16:42:59 -05:00
Marc-André Moreau
4cf0dc1004 libwinpr-sspi: improve attempted channel binding token computation 2013-01-06 16:05:20 -05:00
Marc-André Moreau
3b71138442 wfreerdp-server: fix build on Windows 7 2013-01-05 14:58:47 -05:00
Marc-André Moreau
609459f8a6 libwinpr-sspi: fix build on Linux 2013-01-05 12:35:24 -05:00
Marc-André Moreau
05ef57bb01 libwinpr-sspi: complete Schannel TLS handshake test 2013-01-04 13:43:44 -05:00
Marc-André Moreau
f8b364d696 libwinpr-sspi: add more Schannel tests 2013-01-04 12:16:55 -05:00
Marc-André Moreau
985721d035 libwinpr-sspi: start implementing ISC and ASC for Schannel 2013-01-03 13:36:19 -05:00
Marc-André Moreau
80daf6fb5c libwinpr-sspi: fix build on Linux 2013-01-03 11:35:08 -05:00
Marc-André Moreau
27084c4642 libwinpr-sspi: improve SSPI Schannel test 2013-01-03 11:13:13 -05:00
Marc-André Moreau
436a7dfc9f libwinpr-sspi: enable extended protection by default to restore TSG connectivity with most servers 2012-12-28 11:53:17 -05:00
Marc-André Moreau
d0f623a1a9 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-12-28 10:12:01 -05:00
Vic Lee
48c0c4b090 libwinpr-utils/queue: fix a memory corruption in Queue_Clear. 2012-12-24 12:45:55 +08:00
Marc-André Moreau
45ad6e9ac9 libwinpr-sspi: started OpenSSL-based Schannel implementation 2012-12-23 20:20:41 -05:00
Marc-André Moreau
5240823124 libwinpr-sspi: fix build on Linux 2012-12-23 18:59:59 -05:00
Marc-André Moreau
a5aa8fc2cc libwinpr-sspi: improved Schannel test with fake client-server communication 2012-12-23 18:41:02 -05:00
Marc-André Moreau
85690a3ec7 libwinpr-sspi: improve Schannel QueryCredentialsAttributes stubs 2012-12-23 14:38:58 -05:00
Marc-André Moreau
d4e580834f libwinpr-sspi: fix build on Windows 2012-12-23 13:21:57 -05:00
Marc-André Moreau
1c89b62f55 libwinpr-sspi: added Schannel test 2012-12-22 20:23:44 -05:00
Marc-André Moreau
af05962a8e libwinpr-sspi: added more Schannel definitions 2012-12-22 12:18:13 -05:00
Marc-André Moreau
093a0edd9c libwinpr-sspi: add schannel definitions 2012-12-22 03:58:09 -05:00
Marc-André Moreau
f9ad678a51 libfreerdp-client: fix /pcb and /pcid 2012-12-22 02:39:39 -05:00
Marc-André Moreau
0e02134c40 libwinpr-crypto: started stubbing CryptoAPI 2012-12-22 02:23:58 -05:00
Marc-André Moreau
fd993a5997 libwinpr-pool: stubbed thread pooling API 2012-12-21 18:30:33 -05:00
Marc-André Moreau
f2f1c641a3 libwinpr-synch: merge with master 2012-12-21 12:22:37 -05:00
Marc-André Moreau
81c2782be3 libwinpr-sspi: start implementing Channel Bindings 2012-12-21 12:17:07 -05:00
Vic Lee
502368dd95 libwinpr-synch: proper handling fd event creation on Windows. 2012-12-21 11:41:18 +08:00
Marc-André Moreau
8c746976bb libfreerdp-core: return proper event handles on Windows 2012-12-21 11:27:44 +08:00
Marc-André Moreau
038754cbed libwinpr-sspi: fix SSPI NTLM SuppressExtendedProtection 2012-12-20 16:35:07 -05:00
Marc-André Moreau
05e6157d29 libfreerdp-core: return proper event handles on Windows 2012-12-19 12:16:39 -05:00
Vic Lee
b3d34f62dc libwinpr-crt: add extra null-terminator for ConvertFromUnicode. 2012-12-19 22:03:31 +08:00
Marc-André Moreau
0047511055 libwinpr-sspi: fix unicode conversion 2012-12-17 13:35:12 -05:00
Marc-André Moreau
f9321045a4 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-12-17 10:41:26 -05:00
Marc-André Moreau
591bbaae5b Merge branch 'master' of github.com:awakecoding/FreeRDP 2012-12-17 10:36:08 -05:00
Marc-André Moreau
f58a1205ae libwinpr-error: fix windows build 2012-12-17 10:35:00 -05:00
Alam Arias
7b0f4ce1ea libfreerdp-core: llvm said fd may not be set 2012-12-16 23:03:00 -05:00
Marc-André Moreau
a02090c09b libfreerdp-utils: fix unicode conversion 2012-12-16 23:00:40 -05:00
Marc-André Moreau
15eb66a707 libwinpr-crt: document usage of unicode functions 2012-12-16 20:44:40 -05:00
Marc-André Moreau
136fd5da45 libwinpr-crt: fix unicode conversion null termination 2012-12-16 17:48:35 -05:00
Marc-André Moreau
c6503c3283 libwinpr-crt: isolate single failing unicode conversion test 2012-12-16 16:59:40 -05:00
Marc-André Moreau
d7bae41092 libwinpr-crt: improve UTF conversion efficiency 2012-12-16 16:51:05 -05:00
Marc-André Moreau
36a1683a5d libwinpr-crt: initial WideCharToMultiByte and MultiByteToWideChar replacement implementation 2012-12-16 16:21:48 -05:00
Marc-André Moreau
8fffb17933 libwinpr-crt: cleanup unicode conversion test 2012-12-15 14:07:32 -05:00
Marc-André Moreau
a23e658add libwinpr-crt: improve unicode conversion test 2012-12-15 13:55:20 -05:00
Daryl Poe
d393a26790 allow GCC compile with no compare_and_swap_8 2012-12-14 15:41:02 -07:00
Marc-André Moreau
9dd281e9ee libwinpr-crt: improve MultiByteToWideChar tests 2012-12-14 16:54:51 -05:00
Marc-André Moreau
b60754cee6 libwinpr-crt: added test strings for character set conversion 2012-12-14 14:45:52 -05:00
Marc-André Moreau
3e1ac9a55e libfreerdp-utils: fix build 2012-12-14 13:15:27 -05:00
Marc-André Moreau
6cdb09740c wfreerdp: fix build 2012-12-14 13:11:07 -05:00
Marc-André Moreau
92bf3e4ae0 libfreerdp-utils: remove sleep utils in favor of WinPR 2012-12-14 00:58:48 -05:00
Marc-André Moreau
85b023bb08 libwinpr-sspi: remove debug output 2012-12-13 16:30:34 -05:00
Marc-André Moreau
72110807b1 libfreerdp-core: fix NLA 2012-12-13 16:29:16 -05:00
Marc-André Moreau
c428d1c4de libfreerdp-core: fix build on linux 2012-12-12 23:36:15 -05:00
Marc-André Moreau
6450ecd67f libfreerdp-core: fix windows build 2012-12-12 23:18:20 -05:00
Marc-André Moreau
7ff2be09b2 libfreerdp-core: more TSG memory cleanup 2012-12-12 22:03:40 -05:00
Marc-André Moreau
102abcbef2 libfreerdp-core: improve TSG memory cleanup 2012-12-12 20:02:56 -05:00
Marc-André Moreau
d3e0537d0d libfreerdp-core: more TSG memory cleanup 2012-12-12 00:49:15 -05:00
Marc-André Moreau
3aeb9eb197 libfreerdp-core: TSG partial cleanup 2012-12-11 23:34:51 -05:00
Marc-André Moreau
db91555564 libfreerdp-core: improved TSG asynchronicity 2012-12-10 18:56:53 -05:00
Marc-André Moreau
424ac18eba libwinpr-utils: simplify winpr stream utils even more 2012-12-10 14:43:48 -05:00
Marc-André Moreau
6e07570dda libwinpr-utils: simplify stream utils 2012-12-10 14:23:27 -05:00
Marc-André Moreau
c4e06eb0a7 libwinpr-utils: refactor winpr stream utils 2012-12-10 14:08:06 -05:00
Marc-André Moreau
731e606c15 libfreerdp-core: start handling client call state 2012-12-07 21:09:55 -05:00
Marc-André Moreau
be98cffbd2 libwinpr-utils: fix ArrayList 2012-12-07 19:40:44 -05:00
Marc-André Moreau
b92d2cf30f libwinpr-utils/collections: stubbed more classes 2012-12-05 19:36:45 -05:00
Marc-André Moreau
5a131688e4 libwinpr-utils: implement ArrayList 2012-12-05 17:24:01 -05:00
Marc-André Moreau
875c556d13 libfreerdp-core: change interlocked singly-linked list to synchronized Queue 2012-12-05 16:04:01 -05:00
Marc-André Moreau
a3080bcd3a libfreerdp-client: add compatibility for --plugin command 2012-12-05 14:00:49 -05:00
Marc-André Moreau
71befd95af libfreerdp-client: introduce CLI compatibility layer and migration assistant 2012-12-05 12:12:18 -05:00
Marc-André Moreau
d8fa43c526 libwinpr-synch: fix race condition in event handling 2012-12-03 14:57:15 -05:00
Marc-André Moreau
e6f524f6c3 libfreerdp-client: accept posix-style command-line syntax 2012-12-02 13:34:00 -05:00
Marc-André Moreau
9416e7355e libwinpr-utils: implement queue 2012-11-30 17:23:36 -05:00
Marc-André Moreau
c06c0fe665 libwinpr-utils: stubbed Queue, Stack and ArrayList 2012-11-30 16:13:19 -05:00
Marc-André Moreau
3936a19914 libfreerdp-core: add asynchronous send queue 2012-11-28 13:38:01 -05:00
Marc-André Moreau
d0792ea4d1 libwinpr-synch: implement pipe-based semaphore 2012-11-28 12:47:04 -05:00
Marc-André Moreau
2db4c27be7 libfreerdp-core: fix SPN for TS Gateway 2012-11-27 16:37:56 -05:00
Marc-André Moreau
6cad536d34 libfreerdp-core: implement RPC response stub data reassembly 2012-11-27 02:49:44 -05:00
Marc-André Moreau
fbacea6bad winpr/tools/makecert: stubbed basic makecert wrapper 2012-11-26 22:42:40 -05:00
Marc-André Moreau
68e7e077bb libwinpr-synch: fix build on Windows 2012-11-26 20:34:36 -05:00
Marc-André Moreau
57d4a07af9 libfreerdp-utils: replace internal wait_obj implementation 2012-11-26 18:02:41 -05:00
Marc-André Moreau
8406eb898b libfreerdp-client: improved command-line interface 2012-11-26 14:31:31 -05:00
Marc-André Moreau
9af3c21959 xfreerdp-server: fix build 2012-11-25 15:35:58 -05:00
Marc-André Moreau
6b2db2d103 macosx: update client 2012-11-22 15:32:21 -05:00
Marc-André Moreau
70170c7437 xfreerdp: deprecate old command-line syntax 2012-11-22 09:36:09 -05:00
Marc-André Moreau
b3d8f79b5c libfreerdp-utils: replace ARRAY_SIZE custom macro with ARRAYSIZE() windows macro 2012-11-21 20:50:28 -05:00
Marc-André Moreau
83473d11d1 channels: patch memory leaks, load addins from list 2012-11-19 13:26:56 -05:00
Marc-André Moreau
a5d81fcb9a channels/rdpsnd: refactoring of parameter parsing 2012-11-18 17:32:18 -05:00
Marc-André Moreau
925eb59bf1 libfreerdp-common: refactoring of addin loader 2012-11-17 22:03:04 -05:00
Marc-André Moreau
25d2533eaa libwinpr-rpc: added UUID functions 2012-11-17 03:45:15 -05:00
Marc-André Moreau
e3b4c91bf6 winpr: fix build on linux 2012-11-12 20:46:07 -05:00
Marc-André Moreau
31417bd4b5 wfreerdp: added basic password prompt 2012-11-12 17:50:40 -05:00
Marc-André Moreau
421c4c86c4 windows: fix NSIS packaging 2012-11-12 13:17:44 -05:00
Marc-André Moreau
1c4a587ef1 windows: fix build 2012-11-11 17:23:57 -05:00
Marc-André Moreau
cd8be905d8 libfreerdp-core: TSG refactoring of context handles 2012-11-09 12:52:34 -05:00
Marc-André Moreau
d4045895ef libwinpr-utils: added post/pre command-line filters 2012-11-06 23:07:03 -05:00
Marc-André Moreau
e133d01376 libfreerdp-client: improved set of new command-line options 2012-11-06 22:08:09 -05:00
Marc-André Moreau
5ad116b468 libwinpr-utils: extended command-line API 2012-11-06 18:49:02 -05:00
Marc-André Moreau
917bb894d7 libfreerdp-client: started new command-line syntax 2012-11-05 22:11:13 -05:00
Marc-André Moreau
b250cce496 libwinpr-utils: improved command-line API 2012-11-04 16:09:43 -05:00
Marc-André Moreau
b3f6dea390 libfreerdp-client: started addin enumerator 2012-11-03 23:04:04 -04:00
Marc-André Moreau
cd52a5b0b2 libwinpr-file: get FindFirstFile, FindNextFile working 2012-11-03 18:31:01 -04:00
Marc-André Moreau
9f5917682f libwinpr-file: fix X* and X? pattern matching cases 2012-11-03 17:24:52 -04:00
Marc-André Moreau
cc90fd1955 libwinpr-file: implement recursive pattern matching 2012-11-03 16:45:19 -04:00
Marc-André Moreau
1ff1d4ce49 libwinpr-file: partially implement proper pattern matching 2012-11-03 15:13:13 -04:00
Marc-André Moreau
7a316d8db7 libwinpr-file: make simplest FindFirstFile test case pass 2012-11-02 20:58:58 -04:00
Marc-André Moreau
e62860ab29 cmake: replace FindOptionalPackage macros with FindFeature macros 2012-11-02 19:27:01 -04:00
Marc-André Moreau
a4bf11cdb6 libwinpr-utils: improve command-line parsing API 2012-11-02 14:16:37 -04:00
Marc-André Moreau
37886515a0 libwinpr-utils: extended command-line parsing api 2012-11-02 00:58:32 -04:00
Marc-André Moreau
f62180ec2a libwinpr-utils: started command-line parser 2012-11-02 00:20:46 -04:00
Marc-André Moreau
51cd809289 macfreerdp: fix Mac OS X build 2012-10-31 21:49:36 -04:00
Marc-André Moreau
6862605cee libwinpr-rpc: stub Rpc* API 2012-10-31 15:54:08 -04:00
Marc-André Moreau
bed7933b83 libfreerdp-core: added RPC fault error code name tables 2012-10-31 10:52:04 -04:00
Marc-André Moreau
4d171408e9 freerdp: merging with master 2012-10-29 09:50:44 -04:00
Marc-André Moreau
a6d1ec0ecf libwinpr-dsparse: fix on linux 2012-10-28 22:16:21 -04:00
Marc-André Moreau
78908fb857 libfreerdp-core: add proper SPN for HTTP authentication in TSG 2012-10-28 20:55:19 -04:00
Marc-André Moreau
beefa1a21d libfreerdp-client: initial support for .rdp file parsing 2012-10-27 20:25:11 -04:00
Marc-André Moreau
95766036f4 Merge branch 'channels' of github.com:FreeRDP/FreeRDP into channels 2012-10-26 12:00:39 -04:00
Marc-André Moreau
9eece31e19 libwinpr-sspi: fix SuppressExtendedProtection 2012-10-26 12:00:30 -04:00
Marc-André Moreau
b7a289f843 libwinpr: fix test build on Mac OS X 2012-10-25 15:34:57 -04:00
Marc-André Moreau
9a6d405a54 libwinpr-library: fix unit tests 2012-10-25 07:42:06 -04:00
Bernhard Miklautz
d6569d945b cmake: make sure build works with cmake < 2.8.3
cmake/compat_2.8.3 contains files required for cmake versions < 2.8.3
and CheckCmakeCompat includes them if necessary.

CMakeParseArguments.cmake and FindPackageHandleStandardArgs.cmake are
taken from the modules shipped with cmake.
2012-10-25 11:22:53 +02:00
Marc-André Moreau
d251538252 libwinpr: fix build on linux 2012-10-18 22:05:06 -04:00
Marc-André Moreau
2f1711c506 libwinpr-path: make tests pass on Windows 2012-10-18 21:11:12 -04:00
Marc-André Moreau
1ee21f558e libwinpr: fix build of tests on Windows 2012-10-18 17:30:57 -04:00
Marc-André Moreau
d5b635c9e8 libwinpr-library: improve library tests 2012-10-18 16:58:27 -04:00
Marc-André Moreau
dd23dd1aee ctest: change default output test path 2012-10-18 15:37:00 -04:00
Marc-André Moreau
63858bf722 cmake: improve NSIS packaging 2012-10-17 13:07:29 -04:00
Marc-André Moreau
74d2244e94 libwinpr-path: fix Windows build 2012-10-17 07:48:24 -04:00
Marc-André Moreau
d815369545 libwinpr-path: extend API with portability functions 2012-10-16 17:18:12 -04:00
Marc-André Moreau
8e424f7e4c channels: simplify API 2012-10-16 12:41:16 -04:00
Marc-André Moreau
304b4c2d86 cmake: fix windows build 2012-10-14 01:17:25 -04:00
Marc-André Moreau
e764c81ad5 freerdp: fix building of libraries for Android 2012-10-13 20:31:01 -04:00
Marc-André Moreau
229438dbf3 cmake: fix monolithic test build 2012-10-13 17:38:02 -04:00
Marc-André Moreau
06fa85f31c cmake: refactoring of MONOLITHIC_BUILD 2012-10-13 17:30:59 -04:00
Marc-André Moreau
2ee9f23a8e cmake: revert back to standard CTest BUILD_TESTING option 2012-10-13 09:50:02 -04:00
Marc-André Moreau
c26a623ed1 cmake: rename BUILD_TESTING to TEST_BUILD 2012-10-12 16:04:46 -04:00
Marc-André Moreau
061758a742 libfreerdp-core: add registry configuration for bitmap cache v2 2012-10-11 14:59:01 -04:00
Marc-André Moreau
a0136e84da libwinpr-credui: stubbed Credentials Management UI API 2012-10-11 11:42:16 -04:00
Marc-André Moreau
f1ccbcac02 libwinpr-credentials: stubbed credentials management API 2012-10-11 10:55:17 -04:00
Marc-André Moreau
94ffaf704d Merge branch 'master' of github.com:FreeRDP/FreeRDP into channels 2012-10-11 09:28:49 -04:00
Marc-André Moreau
b97b40a91e wfreerdp: fix build on Windows 2012-10-10 19:11:36 -04:00
Vic Lee
ddf495a79f cmake: fix some linking error on Windows. 2012-10-11 01:05:37 +08:00
Marc-André Moreau
b8cd2175d5 macfreerdp: fix compilation 2012-10-09 13:38:42 -04:00
Marc-André Moreau
10f6b797cd xfreerdp: fix compilation on Mac OS X 2012-10-09 13:04:41 -04:00
Marc-André Moreau
40eea7c76b cmake: rename WITH_MONOLITHIC_BUILD to MONOLITHIC_BUILD 2012-10-08 22:55:06 -04:00
Marc-André Moreau
9aa1217c4e libwinpr-pipe: implement anonymous pipes 2012-10-07 20:25:50 -04:00
Marc-André Moreau
8d7495dba4 libwinpr: add tests for CreatePipe 2012-10-07 17:54:19 -04:00
Marc-André Moreau
7891e0a765 winpr: stubbed pipe module, added some test stubs 2012-10-07 16:13:30 -04:00
Marc-André Moreau
f8b049630f libwinpr-interlocked: added support for doubly-linked lists 2012-10-06 20:19:03 -04:00
Marc-André Moreau
e2cd73ba54 channels: moving device plugins up in the directory structure 2012-10-05 18:30:14 -04:00
Marc-André Moreau
fbd2f360e9 winpr: fix compilation on Linux 2012-10-05 14:45:54 -04:00
Marc-André Moreau
1622a2f271 libwinpr-path: make tests pass on Windows 2012-10-05 11:40:33 -04:00
Marc-André Moreau
708499f0d2 libwinpr-path: implement more of the API 2012-10-05 00:14:44 -04:00
Marc-André Moreau
56ea938fbf libwinpr: wrote more tests 2012-10-04 23:19:05 -04:00
Marc-André Moreau
bf26079d3f libwinpr: added tests and fix InterlockedCompareExchange64 on Windows XP 2012-10-04 18:57:32 -04:00
Marc-André Moreau
5a4c2677d9 winpr: merging with master 2012-10-04 16:56:42 -04:00
Marc-André Moreau
e0693c8f4c cmake: refactoring of channels cmake scripts 2012-10-04 16:54:16 -04:00
Alam Arias
d7ba589b1f fixup mismerge of typedef from 90ffa6ea86 2012-10-04 15:23:21 -04:00
Marc-André Moreau
e828feccb7 cmake: organize solution folders 2012-10-04 09:42:23 -04:00
Marc-André Moreau
b15e152011 libwinpr: use ModuleOptions.cmake automatically 2012-10-03 19:50:48 -04:00
Marc-André Moreau
a9d4164a23 freerdp: improve scripts for complex modules with monolithic build option 2012-10-03 19:29:28 -04:00
Marc-André Moreau
12554c172f winpr: fix build on Windows 2012-10-03 17:53:03 -04:00
Marc-André Moreau
703d9346c8 libwinpr-interlocked: fix on 32-bit 2012-10-03 08:43:27 -04:00
Marc-André Moreau
f905fd09eb winpr: fix tchar redefinition 2012-10-03 08:20:40 -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
ab7c952d80 channels: code style cleanup 2012-10-02 11:16:40 -04:00
Marc-André Moreau
111ab8d6c6 libwinpr-crt: fix compilation 2012-10-02 09:30:31 -04:00
Marc-André Moreau
f31b5c7f5d libwinpr-crt: improve aligned memory tests 2012-10-01 23:31:49 -04:00
Marc-André Moreau
ebbdc8dca9 libwinpr-interlocked: make tests pass 2012-10-01 23:00:41 -04:00
Marc-André Moreau
eb54da8eb5 libwinpr-interlocked: added unit tests for interlocked access 2012-10-01 21:58:24 -04:00
Marc-André Moreau
a80eeabc48 libwinpr-crt: add tests for memory aligned allocation functions 2012-10-01 19:10:00 -04:00
Marc-André Moreau
423585a6a1 libwinpr-path: fix build on Linux 2012-10-01 18:34:46 -04:00
Marc-André Moreau
9155bf3eab libwinpr-path: start writing tests 2012-10-01 16:49:34 -04:00
Marc-André Moreau
659a901450 cmake: add solution folder subdirectories 2012-10-01 11:48:53 -04:00
Marc-André Moreau
fcc9f91302 cmake: add support for solution groups 2012-09-30 22:58:59 -04:00
Marc-André Moreau
a18ebef019 cunit: migrate Sspi tests to CTest 2012-09-30 20:15:42 -04:00
Marc-André Moreau
03b19c3f30 libwinpr: fix compilation on Windows 2012-09-28 18:10:37 -04:00
Marc-André Moreau
0df7bcf632 libwinpr-file: added CreateFile/DeleteFile 2012-09-26 16:25:23 -04:00
Marc-André Moreau
9f284fa1a9 libwinpr: add check for objective-c bool type 2012-09-26 15:28:05 -04:00
Marc-André Moreau
ce887f973c libwinpr-error: define all windows error codes 2012-09-26 13:38:21 -04:00
Marc-André Moreau
089312abb0 libwinpr-error: stub error API 2012-09-26 12:37:35 -04:00
Marc-André Moreau
75f7f78af1 libwinpr: add stubs for io and file modules 2012-09-24 15:58:33 -04:00
Marc-André Moreau
1059337d90 libfreerdp-utils: make freerdp_uniconv_in a wrapper for WideCharToMultiByte 2012-09-23 18:08:12 -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
90ffa6ea86 libwinpr: stubbed Path API 2012-09-22 22:02:55 -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
7d7536f649 libwinpr: add module definition files 2012-09-21 13:02:54 -04:00
Marc-André Moreau
24fc026783 libwinpr: add possibility of building WinPR as standalone 2012-09-20 22:11:56 -04:00
Marc-André Moreau
403d85f080 cmake: bump soname version to 1.1.0 2012-09-20 20:45:56 -04:00
Marc-André Moreau
ec8314048d libwinpr-winsock: fix build on Windows 2012-09-20 11:07:54 -04:00
Marc-André Moreau
699eabcfb8 libwinpr-winsock: add inet_ntop for Windows XP portability 2012-09-20 10:42:01 -04:00
Marc-André Moreau
af4d0060c2 libwinpr-winhttp: stubbed API 2012-09-20 10:29:12 -04:00
Marc-André Moreau
9c41865fa7 libwinpr: stubbed a couple more modules of interest 2012-09-19 21:42:46 -04:00
Marc-André Moreau
6333df8505 libwinpr-interlocked: fix build on 32-bit linux 2012-09-19 19:46:18 -04:00
Marc-André Moreau
9cc76d0b02 libwinpr-synch: fix compilation on Windows 2012-09-19 03:07:47 +02:00
Marc-André Moreau
ca6a37eed4 libwinpr-synch: implemented semaphores + thread wait 2012-09-18 19:24:03 -04:00
Marc-André Moreau
4bd217055c libwinpr-synch: implemented Win32 Events 2012-09-18 18:36:13 -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
78723f019f libwinpr-synch: stubbed more 2012-09-18 15:51:33 -04:00
Marc-André Moreau
deec68be19 libwinpr-synch: stubbed larger portions of the Synchronization API 2012-09-18 12:57:19 -04:00
Marc-André Moreau
a05334c8b5 libwinpr-handle: add definitions for objects 2012-09-18 00:10:14 -04:00
Marc-André Moreau
6aabffa2cf libwinpr-thread: started stubbing threading API 2012-09-17 19:17:19 -04:00
Marc-André Moreau
e40025b7fc xfreerdp-server: fix build with SSPI include problem 2012-09-17 17:38:39 -04:00
Marc-André Moreau
a11615aebd wfreerdp-server: add PeerLogon callback for server logon 2012-09-16 15:30:11 -04:00
Marc-André Moreau
4910d696f8 libwinpr-sysinfo: fix warning 2012-09-06 13:22:31 -04:00
Marc-André Moreau
373d0fcbb6 libwinpr-sspi: fix SecBufferDesc output buffer on last call to AcceptSecurityContext 2012-08-31 18:04:26 -04:00
Marc-André Moreau
f8c6801a6d winpr: fix sprintf_s missing define 2012-08-30 22:19:44 -04:00
Marc-André Moreau
f8f1cddacf wfreerdp: Windows 8 fixes 2012-08-28 18:01:42 -04:00
Marc-André Moreau
a794e0c9da libwinpr-crt: add more tchar definitions 2012-08-26 18:40:17 -04:00
Marc-André Moreau
5eae27873c libwinpr-sspi: fix build on Windows 2012-08-23 15:15:57 -04:00
Marc-André Moreau
5a16095ddf libwinpr-sspi: valgrind cleanup 2012-08-23 01:18:47 -04:00
Marc-André Moreau
5184af6b97 libwinpr-sspi: fix PLUID data type in API definitions 2012-08-22 22:38:27 -04:00
Marc-André Moreau
308fe01b3c libwinpr-sspi: fix API data types 2012-08-22 22:24:29 -04:00
Marc-André Moreau
c4df990760 winpr: fix SSPI inconsistent DLL linkage 2012-08-20 20:55:21 -04:00
Marc-André Moreau
0cebca888f winpr-sspi: fix SSPI data types 2012-08-20 21:07:03 -04:00
Marc-André Moreau
c5624ce58f include: fix installation of headers 2012-08-14 19:55:48 -04:00
Marc-André Moreau
9313bf12b4 wfreerdp: fix monolithic build on Windows 2012-08-14 19:04:45 -04:00
Marc-André Moreau
faa4311232 libwinpr: add proper config.h inclusions 2012-08-14 17:20:53 -04:00
Marc-André Moreau
d5d1eb7762 libfreerdp: add proper config.h inclusions 2012-08-14 17:09:01 -04:00
Marc-André Moreau
384af1d93b include: move winpr include directory inside winpr 2012-08-14 15:49:39 -04:00
Marc-André Moreau
cf7c65ba00 libwinpr: add support for monolithic build (single libwinpr.so) 2012-08-14 14:37:31 -04:00
Marc-André Moreau
822242e86f cmake: cleanup of cmake scripts for FreeRDP libraries 2012-08-12 22:16:26 -04:00
Vic Lee
5d6ff1536c winpr: fix compilation error on Windows. 2012-08-12 14:27:55 +08:00
Marc-André Moreau
92e46af233 libwinpr-sspi: add support for dynamic loading of SSPI module 2012-08-10 18:05:37 -04:00
Martin Fleisz
1ea6c6790c Fixed crash in SamLookupUserW when SamOpen fails in ntlm_fetch_ntlm_v2_hash 2012-08-07 03:52:52 -07:00
Marc-André Moreau
baeafc5dfc channels: merging with master 2012-08-01 12:50:27 -04:00
Marc-André Moreau
fa6ff1fae0 libwinpr-sspi: add support for SuppressExtendedProtection registry key 2012-07-31 21:15:07 -04:00
Dorian Johnson
347337d45d build: ignore unresolved symbols on OS X. Fixes #677 2012-07-31 15:22:10 -05:00
Marc-André Moreau
39ce1596f7 libwinpr-crt: add strtok_s 2012-07-30 15:21:57 -04:00
Marc-André Moreau
dbd6149e01 libwinpr-sspi: fix NTLM registry loading 2012-07-30 14:52:50 -04:00
Marc-André Moreau
1d80e998a2 libwinpr-sspi: fix NTLM version info 2012-07-28 20:29:02 -04:00
Marc-André Moreau
d1322c756e libfreerdp-core: fix timezone finding and encoding 2012-07-28 19:30:21 -04:00
Marc-André Moreau
0b7b6ca2ec libwinpr-registry: fix case sensivity 2012-07-28 15:49:16 -04:00
Marc-André Moreau
66809ba269 libwinpr-sspi: fix on Linux 2012-07-26 19:43:51 -04:00
Marc-André Moreau
56db379571 libwinpr-sspi: fix UNICODE build 2012-07-26 18:35:39 -04:00
Marc-André Moreau
984a8c97a3 Merge branch 'master' of github.com:FreeRDP/FreeRDP into winpr 2012-07-26 12:41:49 -04:00
Florian Echtler
415e663d61 fix NTLM segfault from issue #656 2012-07-26 16:31:22 +02:00
Marc-André Moreau
e569991ba8 libfreerdp-core: add support for loading server settings from registry 2012-07-24 20:46:21 -04:00
Marc-André Moreau
d1be8fc222 Merge branch 'master' of github.com:FreeRDP/FreeRDP into winpr 2012-07-23 10:42:09 -04:00
Marc-André Moreau
6155e3718f libwinpr-sspi: store NTLM hashes in SAM, generate NTLMv2 hashes on the fly 2012-07-22 23:23:23 -04:00
Marc-André Moreau
8e224d2f94 libwinpr-asn1: declare new stubs 2012-07-05 16:36:47 -04:00
Marc-André Moreau
f3d480bba2 Merge branch 'master' of github.com:FreeRDP/FreeRDP into winpr 2012-07-04 18:34:37 -04:00
Marc-André Moreau
3c7ad65bea libwinpr-utils: cleanup stream utils 2012-07-04 18:33:49 -04:00
Martin Fleisz
2130e897a0 winpr-crt: Fixed compilation errors in _wcsdup on Android 2012-07-04 03:28:04 -07:00
Marc-André Moreau
e1e7626c56 libwinpr-sspi: add support for MsvChannelBindings and MsvTargetName 2012-07-01 22:13:02 -04:00
Marc-André Moreau
693b1787b7 libwinpr-sspi: get rid of old AV_PAIR code for NTLM 2012-07-01 21:40:33 -04:00
Marc-André Moreau
6d7f1e427c libwinpr-sspi: get partial server-side NLA functionality with mstsc.exe as a client 2012-07-01 19:43:13 -04:00
Marc-André Moreau
bf559e37eb libwinpr-sspi: add proper detection of MIC in server-side NLA 2012-07-01 17:05:31 -04:00
Marc-André Moreau
63a3fe70cb libwinpr-sspi: improve NTLM message debugging 2012-07-01 14:33:36 -04:00
Marc-André Moreau
aff78da527 libwinpr-sspi: cleanup buffer management 2012-06-29 18:22:39 -04:00
Marc-André Moreau
d3f9b057a2 libwinpr-sspi: add GetSystemTimeAsFileTime() 2012-06-29 16:43:07 -04:00
Marc-André Moreau
633e0f90bf libwinpr-sspi: simplify NTLM header and fields read/write 2012-06-29 16:09:14 -04:00
Marc-André Moreau
3ff86d0501 libwinpr-sspi: refactoring of NTLM messages 2012-06-29 14:31:32 -04:00
Marc-André Moreau
5a11fbcac1 libwinpr-utils: add support for reading domain accounts in local SAM 2012-06-29 11:36:31 -04:00
Marc-André Moreau
35ddcafdb1 libwinpr-sspi: simplify NTLM code with NTLM_MESSAGE_FIELD 2012-06-29 10:58:44 -04:00
Marc-André Moreau
1ed7442db6 libwinpr-sspi: fix SeqNo size 2012-06-29 08:55:03 -04:00
Marc-André Moreau
d0e1d39dbc Merge branch 'winpr' of github.com:FreeRDP/FreeRDP into winpr 2012-06-26 12:13:08 -04:00
Marc-André Moreau
071c111b3d libwinpr-asn1: initial commit 2012-06-26 12:12:41 -04:00
Marc-André Moreau
b96f89b1c3 Merge branch 'winpr' of github.com:FreeRDP/FreeRDP into winpr 2012-06-25 11:23:41 -04:00
Marc-André Moreau
274ee51a7a Merge branch 'master' of github.com:FreeRDP/FreeRDP into winpr 2012-06-21 14:30:35 -04:00
Marc-André Moreau
23027a5b97 libwinpr-sspi: detect real computer name in server-side NLA 2012-06-19 18:06:43 -04: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
Marc-André Moreau
34fc918da1 libwinpr-sspi: fix SAM on Linux 2012-06-19 15:53:19 -04:00
Dorian Johnson
6c3af717c5 winpr: fix semaphore_t definition 2012-06-19 12:31:35 -05:00
Marc-André Moreau
05a77eb8ff libwinpr-sspicli: initial commit 2012-06-19 10:19:53 -04:00
Marc-André Moreau
fb4df9f731 libwinpr-dsparse: initial commit 2012-06-18 22:41:37 -04:00
Marc-André Moreau
630affb47c libwinpr-sysinfo: initial commit 2012-06-18 22:22:39 -04:00
Marc-André Moreau
b55f958e5d libfreerdp-core: start using registry settings 2012-06-15 17:06:26 -04:00
Marc-André Moreau
14467a2eda libwinpr-sspi: fix uninitialized variable warning 2012-06-15 10:38:02 -04:00
Marc-André Moreau
89b7c63f03 libwinpr-sspi: fix WinPR NTLM SSPI module 2012-06-07 00:14:47 -04:00
Marc-André Moreau
5624b4450a libwinpr-sspi: partially fix encoding of credentials on Windows 2012-06-06 21:16:47 -04:00
Marc-André Moreau
e588bb2bf0 libwinpr-sspi: improve native SSPI build 2012-06-06 19:20:05 -04:00
Marc-André Moreau
5ed9796e96 libwinpr-sspi: fix compilation on Windows 2012-06-06 02:59:37 -04:00
Marc-André Moreau
ce08f3a6d0 libwinpr-registry: add support for reading simple values from a .reg file 2012-06-05 21:50:03 -04:00
Marc-André Moreau
18a8a5c6c4 libwinpr-registry: reduce API stubs to MinWin 2012-06-05 19:40:49 -04:00
Marc-André Moreau
fa4fc7d2ee libwinpr-registry: start implementation 2012-06-05 18:56:31 -04:00
Marc-André Moreau
4a5de37c00 libwinpr-sspi: improve SAM management 2012-06-03 19:59:35 -04:00
Marc-André Moreau
0736077e07 winpr: fix WCHAR, define -fshort-wchar 2012-06-03 16:30:15 -04:00
Marc-André Moreau
3325098009 libwinpr-utils: started SAM utils 2012-06-02 23:31:15 -04:00
Marc-André Moreau
e8f2f7b30e winpr/tools/hash: added NTLM hashing tool 2012-06-02 18:21:04 -04:00
Marc-André Moreau
b846f72de3 libwinpr-synch: initial commit 2012-05-29 14:14:26 -04:00
Marc-André Moreau
337bcf7605 winpr: fix compilation on Windows 2012-05-25 16:42:35 -04:00
Marc-André Moreau
138321bc2f libwinpr-bcrypt: started stubbing bcrypt api 2012-05-25 16:01:18 -04:00
Marc-André Moreau
cdd610ee12 libwinpr-sspi: remove libfreerdp-crypto dependency 2012-05-25 14:03:56 -04:00
Marc-André Moreau
6379cc628b libwinpr-utils: started replacement stream utils 2012-05-25 03:24:42 -04:00
Marc-André Moreau
b70683af9e libwinpr-sspi: move NLA code out of CredSSP module 2012-05-25 01:50:46 -04:00
Marc-André Moreau
0bd91f3cb9 libwinpr-sspi: cleanup of data types in NTLM module 2012-05-24 22:40:46 -04:00
Marc-André Moreau
6bb032f24e libwinpr-sspi: remove unused WIP kerberos code 2012-05-24 22:25:44 -04:00
Marc-André Moreau
45009824be libwinpr-sspi: cleanup of data types 2012-05-24 22:20:51 -04:00
Marc-André Moreau
9fd0d13a1c libwinpr-sspi: started stubbing Schannel SSPI module 2012-05-24 17:19:58 -04:00
Marc-André Moreau
add1319ee6 libwinpr-sspi: start new winpr utility library 2012-05-24 17:05:12 -04:00
Marc-André Moreau
f897159058 libwinpr-sspi: parse CredSSP plaintext credentials 2012-05-24 15:52:20 -04:00
Marc-André Moreau
2ff8a103d6 libwinpr-sspi: fix server-side NTLM signing and sealing 2012-05-24 15:19:11 -04:00
Marc-André Moreau
d57e879d7c libwinpr-sspi: start using Heap functions 2012-05-23 03:58:47 -04:00
Marc-André Moreau
4b72bcd3d7 libwinpr-sspi: remove dependency on unicode utils 2012-05-23 03:08:24 -04:00
Marc-André Moreau
5207d65c2a libwinpr-crt: implement unicode functions 2012-05-23 01:49:21 -04:00
Marc-André Moreau
a09dbbd671 libwinpr-sspi: cleanup headers and structure 2012-05-21 22:48:33 -04:00
Marc-André Moreau
c4ec4ae1d5 libwinpr-registry: initial stubs 2012-05-21 22:34:42 -04:00
Marc-André Moreau
fbcce67cd8 libwinpr-crt: expand string functions 2012-05-21 22:04:14 -04:00
Marc-André Moreau
90dcef3178 libwinpr-sspi: fix data type warnings 2012-05-21 21:08:04 -04:00
Marc-André Moreau
733fc24a48 libwinpr-sspi: data type cleanup 2012-05-21 20:39:45 -04:00
Marc-André Moreau
d3dc1c780d wfreerdp: fix compilation 2012-05-21 16:01:24 -04:00
Marc-André Moreau
3cfc3d6d80 winpr: move to one folder 2012-05-20 20:54:22 -04:00