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
ae2a51fdc5
Merge branch 'master' of https://github.com/FreeRDP/FreeRDP
2014-01-28 22:58:18 -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
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
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
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
62199fc46a
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-12-10 11:54:03 -05:00
Bernhard Miklautz
2b6b4a6685
updated file headers
2013-12-04 11:44:22 +01:00
Benoît LeBlanc
13322f5ba2
Removed warning
2013-11-18 11:59:53 -05: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
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
55565e056c
freerdp: export targets
2013-10-28 23:06:39 -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
Marc-André Moreau
d30f66b1b7
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-10-23 14:18:40 -04: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
Marc-André Moreau
0276b095eb
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-10-17 13:08:30 -04:00
Bernhard Miklautz
e6f3cd7dff
build: link winpr-synch against winpr-sysinfo
2013-10-05 14:09:04 +02:00
Marc-André Moreau
f4e98f29ec
libwinpr-pipe: add server-side named pipe waiting
2013-09-25 19:13:39 -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
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
518995a05e
freerdp: merge with master
2013-09-16 17:10:27 -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
Bernhard Miklautz
8c796e9afc
winpr/synch: link against librt
2013-09-10 10:38:23 +02:00
Armin Novak
62356e667c
Fixed erroneous patch.
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
1e2455fa4a
Fixed various memory leaks and compiler warnings.
2013-09-05 12:14:33 +02:00
Armin Novak
629ac4ad28
Fixed coverity issue 1047588
2013-09-05 12:14:33 +02:00