Bernhard Miklautz
81568ff03a
Merge pull request #2596 from akallabeth/wlog_default_out_fix
...
Wlog console output to stderr
2015-05-08 00:49:41 +02:00
Marc-André Moreau
87bb3aa6e0
wfreerdp: fix build
2015-05-07 13:35:39 -04:00
Norbert Federa
f9f59cd29b
Fix unchecked CreateDirectory calls
2015-05-07 13:28:13 +02:00
Norbert Federa
c77def3048
Fix unchecked CreateMutex calls
2015-05-07 13:27:49 +02:00
Armin Novak
1d3e847f12
Fixed broken indent.
2015-05-06 15:37:55 +02:00
Armin Novak
c0fbaa579b
Not writing messages if level is WLOG_OFF.
2015-05-06 10:58:57 +02:00
Armin Novak
c375071b5d
Console logging to stdout and stderr
...
With this patch the default for the console logger
changes to writing to stdout for TRACE, DEBUG and INFO
messages and stderr for WARNING, ERROR and FATAL messages.
2015-05-06 10:56:30 +02:00
Martin Fleisz
063c1bc806
Merge pull request #2592 from nfedera/fix-2015-05-05-01
...
Fix unchecked CreateThread calls and misc fixes
2015-05-06 10:16:26 +02:00
Baruch Siach
81fc2c9740
Don't disable C99 long double math on non Unix platforms
...
CMakeLists.txt may enable HAVE_MATH_C99_LONG_DOUBLE only on Unix platforms.
Limit the effect of this symbol accordingly.
2015-05-05 21:27:17 +03:00
Bryan Everly
9865854f3c
Simplified random byte stream generation code to use SSL RAND_bytes() and also eliminated two more compiler warnings.
2015-05-05 12:33:44 -04:00
Marc-André Moreau
70ecd9b619
Merge pull request #2589 from baruchsiach/fix-math
...
Don't use unavailable C99 long double math functions
2015-05-05 10:47:03 -04:00
Norbert Federa
25fc866a58
Fix unchecked CreateThread calls and misc fixes
2015-05-05 13:55:48 +02:00
MartinHaimberger
9a4f645f78
Merge pull request #2582 from nfedera/fix-2015-04-28-01
...
Fix unchecked CreateEvent calls and misc fixes
2015-05-04 10:14:27 +02:00
Baruch Siach
414663cc36
Don't use unavailable C99 long double math functions
...
uClibc variants do not provide the C99 long double math functions like ceill,
powl, etc.. For future compatibility use check_symbol_exists() to check
whether these functions are available, and keep the result in
HAVE_MATH_C99_LONG_DOUBLE. Use that instead of the fragile Cygwin version
check in triodef.h.
Fixes build failures under uClibc(-ng) like:
../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `powl'
../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `fmodl'
../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `ceill'
../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `log10l'
../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `floorl'
collect2: error: ld returned 1 exit status
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
2015-05-03 21:12:30 +03:00
Bryan Everly
df9ae5e31b
Changed the xf_tsmf.c code to test for zero visible rectangles for all platforms. Modified arc4random() change to actually have a skeletal implementation in winpr for BCryptGenRandom() on all platforms.
2015-04-30 10:12:37 -04:00
Bernhard Miklautz
dd2e7f393d
Merge pull request #2584 from baruchsiach/fix-eventfd-2
...
Fix build with newer uclibc versions
2015-04-30 14:20:33 +02:00
Baruch Siach
3b7d3190a1
Fix build with newer uclibc versions
...
uClibc master branch, as well as uclibc-ng add eventfd_{read,write}
definitions. Instead of testing for __UCLIBC__, have cmake explicitly check
for the existence of eventfd_read and save the result in
WITH_EVENTFD_READ_WRITE.
Fixes build errors like:
.../winpr/libwinpr/synch/event.c:120:12: error: static declaration of 'eventfd_read' follows non-static declaration
static int eventfd_read(int fd, eventfd_t* value)
^
In file included from .../winpr/libwinpr/synch/event.c:39:0:
.../usr/include/sys/eventfd.h:37:12: note: previous declaration of 'eventfd_read' was here
extern int eventfd_read (int __fd, eventfd_t *__value);
^
.../winpr/libwinpr/synch/event.c:125:12: error: static declaration of 'eventfd_write' follows non-static declaration
static int eventfd_write(int fd, eventfd_t value)
^
In file included from .../winpr/libwinpr/synch/event.c:39:0:
.../usr/include/sys/eventfd.h:40:12: note: previous declaration of 'eventfd_write' was here
extern int eventfd_write (int __fd, eventfd_t __value);
2015-04-29 20:31:25 +03:00
Norbert Federa
ef1fd12b15
Fix unchecked CreateEvent calls and misc fixes
...
1)
Added missing checks for CreateEvent which also required the
following related changes:
- changed freerdp_context_new API to BOOL
- changed freerdp_peer_context_new API to BOOL
- changed pRdpClientNew callback to BOOL
- changed pContextNew callback to BOOL
- changed psPeerAccepted callback to BOOL
- changed psPeerContextNew callback to BOOL
2)
Fixed lots of missing alloc and error checks in the
changed code's neighbourhood.
3)
Check freerdp_client_codecs_prepare result to avoid segfaults
caused by using non-initialized codecs.
4)
Fixed deadlocks in x11 caused by missing xf_unlock_x11() calls
in some error handlers
5)
Some fixes in thread pool:
- DEFAULT_POOL assignment did not match TP_POOL definition
- don't free the pool pointer if it points to the static DEFAULT_POOL
- added error handling and cleanup in InitializeThreadpool
2015-04-29 18:18:39 +02:00
Armin Novak
b7fccafb94
Added EBUSY to success states.
2015-04-29 08:48:07 +02:00
Armin Novak
07ee198203
Better error handling on mutex destroy.
2015-04-28 17:31:27 +02:00
Armin Novak
fe27913859
Ensuring mutex is unlocked on destroy.
2015-04-28 09:42:46 +02:00
Armin Novak
ac15ce2da8
Added mutex debug flag.
...
When mutex debugging is enabled now a stack trace
is logged, if a mutex is locked on destruction.
2015-04-28 08:55:49 +02:00
Bryan Everly
cb66f3ee70
Removed compiler warning about obsolete header file in OpenBSD
2015-04-22 09:50:50 -04:00
Bernhard Miklautz
d5e7314392
Merge pull request #2564 from akallabeth/pthread_mutex_timedjoin_detection
...
Fixed pthread_mutex_timedjoin detection.
2015-04-22 14:42:31 +02:00
Hardening
6cd7713e12
Merge pull request #2544 from bmiklautz/boolenization
...
change return types of callbacks to BOOL
2015-04-22 11:01:27 +02:00
Armin Novak
5911332dfe
Fixed pthread_mutex_timedjoin detection.
2015-04-22 09:32:59 +02:00
Bryan Everly
d31301f73f
Modified code to use bulitin pthread functions on OpenBSD
2015-04-21 16:14:56 -04:00
Bryan Everly
8c75127a67
Necessary changes to get latest branch working on OpenBSD 5.6
2015-04-21 14:42:06 -04:00
Bernhard Miklautz
c9ee30a815
TestStream: set function parameters to void
2015-04-21 14:25:59 +02:00
Bernhard Miklautz
61473923e4
TestStream: fix compiler warning
...
Remove unnecessary argument from read function call.
2015-04-21 14:16:33 +02:00
Armin Novak
ad41fc59a3
Fixed reading bitmap from buffer.
2015-04-20 15:13:23 +02:00
Armin Novak
7990ea6371
Added proper bitmap and png image test.
2015-04-19 12:29:28 +02:00
Armin Novak
e5cdd8a299
Fixed bitmap reading bug.
2015-04-19 12:29:17 +02:00
Armin Novak
813e75e14d
Fixed NULL dereference.
2015-04-16 22:04:38 +02:00
Armin Novak
60de56e1bb
Fixed NULL dereference and double free
2015-04-16 21:56:57 +02:00
Armin Novak
276757c082
Fixed NULL dereference
2015-04-16 21:56:26 +02:00
Armin Novak
0d9bcb63b7
Fixed memory leaks and NULL dereferences.
2015-04-16 21:39:25 +02:00
Bernhard Miklautz
1093f647d3
ObjectPool: fix regression
...
winpr allocation checks introduced a problem that lead to zero size
allocations in ObjectPool
2015-04-14 13:47:23 +02:00
Bernhard Miklautz
a8c44f15c0
winpr: small fixes and cleanups
...
Update the pull request and integrate the latest comments and
suggestions.
* TestLibrary*: fix typo in error message
* TestPipeCreateNamedPipeOverlapped: free possibly allocated memory
* smartcard_pcsc.c: format fix
* process.c: add missing NULL check
* MessageQueue.c: delete possibly initialized critical section on error
2015-04-08 11:34:37 +02:00
Bernhard Miklautz
12e1d94567
winpr: fixes and cleanup
...
Integrated notes and issues for the pending pull request
* wf_info:
* cleanup: remove unnecessary breaks
* fix typo
* change usage of calloc
* print.c: fix incorrect check
* makecert.c: cleanup includes
2015-04-08 11:34:37 +02:00
Bernhard Miklautz
850de59b55
winpr: add checks for *alloc
...
Add missing checks if memory allocation was successful. Also adapt
caller(s) when possible.
2015-04-08 11:34:37 +02:00
Bernhard Miklautz
20e2774aa8
comm/tests: set label comm
...
Set the comm label to all comm related test that they can be excluded
more easily.
2015-04-08 11:34:37 +02:00
Bernhard Miklautz
b8e41b843d
aligned memory: fixes in _aligned_offset_recalloc
...
* _aligned_offset_recalloc did ignore the nmemb element
therefore only *one* element was allocated
* in case memblock was NULL the allocated memory
wasn't zeroed
* restructure realloc and recalloc to check if the memory was initially
created aligned before allocating a new segment
2015-04-08 11:34:37 +02:00
Bernhard Miklautz
5692117f8c
wlog: add missing check
...
Integrate pull request feedback
2015-03-31 15:20:10 +02:00
Armin Novak
71d4b81c6d
Removed scopes.
2015-03-31 15:18:46 +02:00
Armin Novak
b1edaf677b
Removed duplicated NULL pointer checks.
2015-03-31 15:18:46 +02:00
Armin Novak
d50ce6bd7a
Corrected end of string checks.
2015-03-31 15:18:46 +02:00
Armin Novak
853ac63afd
Removed INVALID_HANDLE_VALUE.
2015-03-31 15:18:46 +02:00
Armin Novak
bd55b0df80
Removed INVALID_HANDLE_VALUE from types not using it.
2015-03-31 15:18:45 +02:00
Armin Novak
b3ea02a777
Removed INVALID_HANDLE_VALUE from types not using it.
2015-03-31 15:18:45 +02:00
Armin Novak
afe8bd2a86
Fixed missing checks for invalid handle.
2015-03-31 15:18:45 +02:00
Hardening
bdb975afe8
Merge pull request #2510 from akallabeth/build_date
...
Added version and build info functions
2015-03-30 19:14:59 +02:00
Armin Novak
8e521e7aee
Fixed return value in test.
2015-03-30 18:18:14 +02:00
Armin Novak
eedf45583a
Using sprintf_s now.
2015-03-30 18:17:07 +02:00
Armin Novak
0adab13719
Now returning const char*
2015-03-30 18:09:02 +02:00
Armin Novak
cf941304b3
Fixed windows _snprintf.
2015-03-30 18:05:46 +02:00
Armin Novak
8f228163a8
Added version and build info functions
...
Added functions to get
* Version String
* Build Time String
* Git Revision String
and appropriate tests.
2015-03-30 17:51:29 +02:00
Bernhard Miklautz
74c8400789
coding style fixes
...
Add missing space after if
2015-03-30 17:15:45 +02:00
Bernhard Miklautz
f469e069dc
stream: Stream_Ensure*Capacity: change return type
...
Change the return type of Stream_Ensure*Capacity from void to BOOL to be
able to detect realloc problems easily. Otherwise the only way to detect
this was to check if the capacity after the call was >= the required
size.
In case Stream_Ensure*Capacity fails the old memory is still available
and need to freed outside.
This commit also adds checks to most calls of Stream_Ensure*Capacity to
check if the call was successful.
2015-03-30 16:33:48 +02:00
Bernhard Miklautz
1d7b3694a9
Integrate feedback from pull request ( #2492 )
...
* shell: add missing NULL checks
* thread: handle case where HAVE_EVENTFD_H isn't defined
* wlog: return NULL instead of 0
* wlog: use g_RootLog instead of WLog_GetRoot
otherwise a new root might be initialized on uninit
* indentation and style fixes
2015-03-25 17:38:21 +01:00
Bernhard Miklautz
3c7662517c
hardening
...
Start to add missing checks for:
* *alloc
* *_New
2015-03-25 17:38:21 +01:00
Bernhard Miklautz
f717075321
asn1: use enum instead of returning a fixed value
2015-03-25 17:38:20 +01:00
Armin Novak
54cb89f303
Fixed pipe cleanup.
2015-03-23 14:10:49 +01:00
Marc-André Moreau
ca95ec1079
Merge branch 'master' of github.com:FreeRDP/FreeRDP into gateway
2015-03-19 09:38:16 -04:00
Marc-André Moreau
3c4bee3d95
libfreerdp-core: fix RDG valgrind issues
2015-03-17 16:54:45 -04:00
David FORT
552df08926
Implement ReadFile() and WriteFile() as handle operation
2015-03-16 21:29:19 +01:00
Marc-André Moreau
9562439bd8
libfreerdp-codec: add support for 1bpp image copy
2015-03-16 13:27:27 -04:00
Marc-André Moreau
c21bff5415
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-03-16 08:01:54 -04:00
David FORT
bfb8593590
Fixed the test for named pipe creation
...
All credits goes to @akallabeth.
2015-03-16 11:19:45 +01:00
David FORT
a9020a34c2
Changes for upstream changes on pipe
2015-03-16 10:40:38 +01:00
David FORT
52bd4469d9
Make handle operations static
...
This patch moves the handle operations in a static struct.
2015-03-16 10:31:26 +01:00
Marc-André Moreau
f226c27fb0
libwinpr-utils: improve BipBuffer
2015-03-13 20:22:21 -04:00
Armin Novak
2d5bdcf3bb
Proper default values for fds.
2015-03-14 00:49:49 +01:00
Armin Novak
0201f61d19
Fixed missing callbacks for named pipes.
2015-03-14 00:34:44 +01:00
Marc-André Moreau
34181949e6
libwinpr-utils: update BipBuffer
2015-03-13 18:37:48 -04:00
Marc-André Moreau
afdd55fa81
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-03-13 15:30:31 -04:00
Marc-André Moreau
cb27703d2e
Merge pull request #2461 from ivan-83/master
...
audin OSS support, dyn channels fix, dev arg broken fix, add debug verbosity, build warning fix
2015-03-13 15:19:35 -04:00
Marc-André Moreau
cb002d91cd
channels/smartcard: fix pioRecvPci with cbExtraBytes > 0
2015-03-13 14:20:57 -04:00
Zhang Zhaolong
ea67d8b1bc
libwinpr: fix lost of mergeStrings.
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-13 10:38:07 +08:00
ivan-83
712b5e6174
* fix: /winpr/libwinpr/synch/timer.c:79:11: warning: implicit declaration of function 'read' is invalid in C99
2015-03-13 01:51:59 +03:00
ivan-83
9e7e4ce7ff
Merge branch 'master' of github.com:ivan-83/FreeRDP
2015-03-13 01:39:41 +03:00
ivan-83
7b3a552988
+ audin OSS support (un tested now)
...
+ add: COMMAND_LINE_IGN_UNKNOWN_KEYWORD flag for CommandLineParseArgumentsA to ignory unknown keys without fail
+ add: lot of WLog_DBG() in drdynvc, add function names in existing
* change: error text in rdpsnd OSS
* fix: dev in rdpsnd does not work
* fix/change: audio-dev renamed to dev and now work in audin
* fix dynamic channels now work again
2015-03-13 01:28:44 +03:00
Marc-André Moreau
1222da4a86
libwinpr-utils: initial BipBuffer implementation
2015-03-12 16:34:48 -04:00
Marc-André Moreau
dfc1238523
Merge pull request #2447 from ivan-83/master
...
Fix poor sound quality with ALSA, add OSS sound system support, FreeBSD patches
2015-03-12 10:09:02 -04:00
Mike McDonald
bef63ad1ae
Added the ability to initialize a FileAppender from environment variables (WLOG_FILEAPPENDER_OUTPUT_FILE_PATH and WLOG_FILEAPPENDER_OUTPUT_FILE_NAME).
2015-03-12 08:57:01 -04:00
Marc-André Moreau
e6ceb5e13f
Merge pull request #2459 from akallabeth/handle_close_cb
...
Refactored WaitForSingleObject and CloseHandle
2015-03-12 07:35:39 -04:00
Marc-André Moreau
5ab34dfa3e
Merge pull request #2456 from zhangzl2013/fix-realloc
...
Fix incorrect usage of realloc
2015-03-12 07:33:27 -04:00
Marc-André Moreau
39e6aa36ff
Merge pull request #2448 from eledoux/ports2
...
Fixed a regression on the #2333 resolution
2015-03-12 07:30:40 -04:00
Armin Novak
13dce87403
Fixed missing return value check.
2015-03-11 18:14:50 +01:00
Armin Novak
98b0f37020
Initializing handles with calloc now.
2015-03-11 18:09:22 +01:00
Armin Novak
9153af6a3e
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
465d8ec688
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
3594d39ba8
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
1e43f2a953
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
372927fedb
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
e701e802bb
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
33995e936c
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
0036737675
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
0630ad88b5
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
b03356f880
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
3b983476fb
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
02212db9cb
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
4fda6b1e5a
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
7fb4c9ae14
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
1706c1f8db
Using handle close callback now.
2015-03-11 15:11:20 +01:00
Armin Novak
15f9344c5b
Using handle close callback now.
2015-03-11 15:11:17 +01:00
Armin Novak
4d471aacd6
Using handle close callback now.
2015-03-11 15:11:14 +01:00
Armin Novak
5520a1cafb
Using handle close callback now.
2015-03-11 15:11:11 +01:00
Armin Novak
1cc30f0a47
Using handle close callback now.
2015-03-11 15:11:08 +01:00
Armin Novak
a6f27f48ea
Using handle close callback now.
2015-03-11 15:11:03 +01:00
Armin Novak
0daae8a2aa
Using handle close callback now.
2015-03-11 15:11:00 +01:00
Armin Novak
8848d1d1fa
Using handle close callback now.
2015-03-11 15:10:52 +01:00
Armin Novak
ac16811e46
Fixed PubSub_Unsubscribe.
2015-03-11 12:28:07 +01:00
Armin Novak
06df5049a7
Fixed missing loop exit condition.
2015-03-11 11:33:17 +01:00
Zhang Zhaolong
512865011d
libwinpr: check return value of realloc.
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-11 16:34:38 +08:00
Zhang Zhaolong
19f2354ee4
fix build error.
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-11 15:04:38 +08:00
Zhang Zhaolong
e30d1c0f47
libwinpr: fix incorrect usage of realloc.
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-11 14:59:56 +08:00
ivan-83
434436b75f
* BSD/FreeBSD build fix
2015-03-10 01:21:28 +03:00
Emmanuel Ledoux
a8fc5fc68b
winpr-comm: fixed a regression about timeouts to block of first bytes when required. Added timeouts values in the DEBUG log.
2015-03-09 20:01:51 +01:00
Mike McDonald
aa6a737fbb
Added the shell function GetUserProfileDirectory to WinPR.
2015-03-04 16:56:48 -05:00
Austin English
9c09a1d531
winpr/asn1: add ASN1_Decode stub
2015-02-22 19:11:11 -06:00
Austin English
2d185e51b5
winpr/asn1: add ASN1_CreateDecoder stub
2015-02-22 19:09:58 -06:00
Norbert Federa
d7243a1fae
wlog: wrong format specifiers, use LWP id on linux
2015-02-19 14:47:03 +01:00
Marc-André Moreau
a6c292742e
libwinpr-winsock: implement interface listing with WSAIoctl
2015-02-18 13:35:33 -05:00
Marc-André Moreau
f9885da81c
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-02-18 09:51:11 -05:00
Marc-André Moreau
ccf144e10f
libwinpr-synch: fix test build on Win32
2015-02-17 18:44:09 -05:00
Bernhard Miklautz
0b902eeb5d
wtsapi: add WTSStartRemoteControlSessionEx
...
WTSStartRemoteControlSession doesn't allow to specify additional flags
therefore add a new extended version WTSStartRemoteControlSessionEx
with an additional "flags" parameter.
The following flags are defined:
REMOTECONTROL_FLAG_DISABLE_KEYBOARD - disable keyboard input
REMOTECONTROL_FLAG_DISABLE_MOUSE - disable mouse input
REMOTECONTROL_FLAG_DISABLE_INPUT - disable input (keyboard and mouse)
2015-02-16 12:16:54 +01:00
Norbert Federa
6f3a07d510
winpr: stream ctest and missing read/peek types
2015-02-12 18:13:06 +01:00
Hardening
0393624af8
Merge pull request #2377 from bmiklautz/wtsapi_tests
...
wtsapi: add TestWtsApiExtra
2015-02-12 11:21:09 +01:00
Marc-André Moreau
22ac46957a
xfreerdp: fix egfx multimonitor support
2015-02-10 16:32:07 -05:00
Bernhard Miklautz
67fb97f68f
wtsapi: add TestWtsApiExtra
...
Move wtsapi tests that only make sense when run within a session
("interactive") to TestWtsApiExtra since they either brake automated
builds or don't make sense if the return value isn't checked.
TestWtsApiExtra is not build by default but can be enabled by specifying
-DTESTS_WTSAPI_EXTRA=ON (this option is only available if BUILD_TESTING
is enabled).
The tests set the ctest label WTSAPI_EXTRA and can therefore also
be run explicitly with ctest -L WTSAPI_EXTRA.
2015-02-10 18:05:40 +01:00
Marc-André Moreau
b918e18a40
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-02-10 10:43:59 -05:00
Marc-André Moreau
fc0a2e529d
Merge pull request #2372 from MartinHaimberger/wtsapiextension
...
wtsapi: extended wtsapi
2015-02-10 10:42:13 -05:00
Norbert Federa
30716c182d
Merge pull request #2371 from bmiklautz/terminate_process
...
winpr/process: handle PIDs <= 0 in TerminateProcess
2015-02-10 14:57:57 +01:00
Norbert Federa
cc0db37725
Merge pull request #2375 from hardening/minimize_diff
...
Check return value for fcntl()
2015-02-10 14:56:30 +01:00
Hardening
129c2084d7
Handle OOM in Stream_New()
2015-02-10 10:26:32 +01:00
Hardening
5dddd977f2
Check return value for fcntl()
2015-02-10 10:08:39 +01:00
Martin Haimberger
256b420afc
wtsapi: extended wtsapi
...
- added missing definitions for session change notification
- extended wtsapi to allow remote logon and logoff against the wtsapi (this allows remote wtsapi usage)
2015-02-09 06:30:18 -08:00
Bernhard Miklautz
582856d142
winpr/process: handle pids <= 0
...
TerminateProcess shouldn't call kill if the PID is <=0 because this has
unwanted effects (and is not what TerminateProcess should do):
* with PID == 0 any process in the same process group gets the signal
sent
* with PID == -1 *every* processes that the running users has
permissions to gets the signal sent
* with PID < -1 the process within the same process group and -PID gets
the signal send
For more details see kill(2).
2015-02-09 14:07:14 +01:00
Marc-André Moreau
a214719a95
libwinpr-winsock: add WSAEventSelect, ioctlsocket
2015-02-08 22:29:52 -05:00
Marc-André Moreau
edb8b3055f
Merge pull request #2367 from eledoux/ports
...
fixed: serial redirect not work #2333
2015-02-06 18:02:16 -05:00
Marc-André Moreau
a4979456e5
Merge branch 'master' of github.com:FreeRDP/FreeRDP into gateway
2015-02-04 11:36:05 -05:00
Emmanuel Ledoux
6f06c2ff3c
winpr-comm: fixed timeouts to return immediately with zeroed timeval structures instead of a NULL pointer.
2015-02-03 21:16:29 +01:00
Petr Sumbera
17df42e4b5
Fixes some build issues on Solaris 11.
2015-02-02 08:48:54 -08:00
Marc-André Moreau
85191391d5
libfreerdp-core: simplify TS Gateway RPC fragment receiving
2015-01-31 16:56:25 -05:00
Marc-André Moreau
3a906caa4a
freerdp: add event handle usage instead of file descriptors
2015-01-29 22:57:58 -05:00
Marc-André Moreau
5bf8b1509e
libfreerdp-core: improve socket BIO handling
2015-01-28 13:46:17 -05:00
Emmanuel Ledoux
4aeaffa286
libwinpr: better indentation
2015-01-28 12:43:20 +01:00
Emmanuel Ledoux
ab4a744b08
libwinpr: attempt to fix TerminateThread(...).
...
The following sequence should not hang forever anymore: TerminateThread(thread, 0); WaitForSingleObject(thread, INFINTE);
2015-01-27 21:05:40 +01:00
Marc-André Moreau
bcf3a551c4
libwinpr-utils: fix Win32 undefined function write error
2015-01-22 16:06:18 -05:00
Marc-André Moreau
6b6c368e3a
libwinpr-smartcard: stub new transaction system
2015-01-20 21:40:45 -05:00
Marc-André Moreau
344a1b52ca
libwinpr-smartcard: remove unused (and useless) pcsc-lite static link option
2015-01-20 20:15:10 -05:00
Marc-André Moreau
f0fc27f7bd
libwinpr-winscard: add WINPR_WINSCARD_LOCK_TRANSACTIONS environment variable, fix winpr_HexDump line feeds
2015-01-20 15:29:05 -05:00
Marc-André Moreau
b057d1eaf7
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-01-20 09:29:21 -05:00
Armin Novak
feeb4e4713
Prettiefied WLog messages.
2015-01-20 11:05:56 +01:00
Armin Novak
bab7fe50a7
Prettiefied WLog messages.
2015-01-20 11:05:45 +01:00
Armin Novak
4b2e6f0ad2
Prettiefied WLog messages.
2015-01-20 11:05:32 +01:00
Armin Novak
9903c87ed2
Prettiefied WLog messages.
2015-01-20 11:05:18 +01:00
Armin Novak
122d1c43f4
Prettiefied WLog messages.
2015-01-20 11:04:23 +01:00
Armin Novak
5075aec5a2
Added function WTSErrorToString to get a string from an error code.
2015-01-20 11:03:21 +01:00
Marc-André Moreau
73cfa920a9
libwinpr-smartcard: add SCARD_ATTR_CHANNEL_ID
2015-01-19 14:56:02 -05:00
Marc-André Moreau
8d32a86318
Merge pull request #2312 from bmiklautz/cmd_line_tests
...
Command line tests and fixes
2015-01-16 07:30:10 -05:00
Marc-André Moreau
4a3488a224
Merge pull request #2313 from akallabeth/test_fix
...
Fixed SetLastError test.
2015-01-16 07:29:17 -05:00
Armin Novak
44904ad5d2
Fixed a race condition at thread creation
...
The thread structure was incorrectly updated after the thread
function was already running. This caused a race condition with
thread exiting. When the thread function returned before the structure
was correctly updated, the exit routine cleaned up the handle as
it was incorrectly marked not started.
2015-01-16 11:26:31 +01:00
Armin Novak
052b4b4365
Fixed SetLastError test.
...
WLog initialisation checks environment variables, which may not exist
and therefore set an error. So initialise it before doing tests.
2015-01-16 10:45:34 +01:00
Bernhard Miklautz
c70293aa60
Fix clang compiler warnings
2015-01-16 00:41:57 +01:00
Marc-André Moreau
51554ff16c
channels: patch rdpdr/smartcard valgrind leaks, fix hang on disconnect
2014-12-28 14:56:13 -05:00
Marc-André Moreau
ee5a354328
freerdp: more valgrind fixes
2014-12-27 15:34:45 -05:00
Marc-André Moreau
6c2ebb2b58
channels: redirection valgrind fixes
2014-12-27 13:50:50 -05:00
Marc-André Moreau
9ebc67ba02
channels/smartcard: cleanup SCardControl
2014-12-22 16:25:59 -05:00
Marc-André Moreau
0625be2720
channels/smartcard: fix SCardGetAttrib SCARD_AUTOALLOCATE support
2014-12-22 13:28:16 -05:00
Marc-André Moreau
08c8c6f285
channels/cliprdr: fix empty clipboard format lists, server-side locking
2014-12-20 13:07:30 -05:00
Marc-André Moreau
544c2f3e45
Merge pull request #2266 from Vinche59/smartcard
...
SmartCard
2014-12-14 11:56:01 -05:00
Vincent Sourin
719e5c9cdb
Determine OSX Version ... only on OSX
2014-12-14 15:15:33 +01:00
Vincent Sourin
8a028f78e2
* Determine OS X Version at runtime
2014-12-13 05:30:44 -08:00
Marc-André Moreau
aa23c4eaaa
libfreerdp-core: fix random TS Gateway disconnects with async modes
2014-12-12 09:08:39 -05:00
Marc-André Moreau
cc2321d359
libfreerdp-core: fix leak and use after free in tsg ListDictionary usage
2014-12-11 17:08:22 -05:00
Marc-André Moreau
d8e10ac04a
freerdp: patch leaks reported by valgrind when using TS Gateway
2014-12-11 11:25:34 -05:00
Vincent Sourin
956cece54b
* Correct detection of Mac OS X Yosemite Version
2014-12-09 22:14:06 +01:00
Vincent Sourin
64ff9ee1b6
SmartCard
...
* Check for NULL parameters in PCSC_ConvertReaderNameToWinSCard (Issue #2184 )
* Remove masking of dwEventState as it is not needed under Linux and MacOSX and it helps in ThinLinc environment
* Workaround for Mac OS X Yosemite (10.10) SCardStatus Bug (Issue #2184 )
* Since Mac OS Tiger (10.5.6), Apple introduced new function for SCardControl calls named SCardControl132(), the old SCardControl doesn't work (cf. https://opensource.apple.com/source/SmartCardServices/SmartCardServices-55111/src/PCSC/winscard_clnt.c )
2014-12-09 20:14:57 +01:00
Armin Novak
4d8c91b0fe
Fixed missing declarations.
2014-12-07 01:15:49 +01:00
Armin Novak
8a6c4396b2
Fixed memory leak.
2014-12-07 01:04:30 +01:00
Armin Novak
f676c48a2f
Fixed broken NULL pointer check.
2014-12-07 00:21:28 +01:00
Marc-André Moreau
f2267a2277
libwinpr-clipboard: fix memory corruption and leaks
2014-12-04 13:19:10 -05:00
Marc-André Moreau
75e0e84130
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-12-04 10:00:10 -05:00
Martin Fleisz
441632310a
Merge pull request #2110 from akallabeth/winpr_backtrace_windows
...
Winpr backtrace windows
2014-12-04 15:03:37 +01:00
Armin Novak
eafc49b154
Using fixed size debug string buffers now.
2014-12-04 14:54:08 +01:00
Marc-André Moreau
6ccce86140
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
winpr/libwinpr/thread/thread.c
2014-12-03 10:10:50 -05:00
Martin Haimberger
7897de057b
fixed compiler warning
2014-12-02 00:36:46 -08:00
Martin Haimberger
12aad63f4d
fixed win32 build
2014-12-02 00:27:30 -08:00
Martin Haimberger
fa6d551676
changed processhandle handling to new system
2014-12-02 00:08:10 -08:00
Martin Haimberger
128458d380
fixing memoryleak by introducing a nonehandle
...
In CreateProcess the non functional thread
handle was leaked.
2014-12-01 23:53:58 -08:00
Marc-André Moreau
0818846d7c
winpr: fix build warnings
2014-11-21 15:12:49 -05:00
Marc-André Moreau
9258ecca37
libwinpr-clipboard: improve robustness
2014-11-20 12:08:01 -05:00
Marc-André Moreau
871339da88
Merge branch 'master' of github.com:awakecoding/FreeRDP
...
Conflicts:
winpr/libwinpr/thread/thread.c
2014-11-20 11:51:18 -05:00
Marc-André Moreau
2afcac7838
libwinpr-thread: fix non-blocking internal pipe-based event on OS X
2014-11-20 11:48:02 -05:00
Marc-André Moreau
8a7a71a7b6
Merge pull request #2213 from akallabeth/wlog_callback_appender
...
Wlog callback appender
2014-11-17 09:41:58 -05:00
Armin Novak
8640872161
Fixed mixed variable declaration.
2014-11-17 01:42:24 +01:00
Armin Novak
c3f47128db
Fixed header include.
2014-11-17 01:39:45 +01:00
Armin Novak
6ef98e2aa7
Fixed null pointer dereference.
2014-11-17 01:20:46 +01:00
Armin Novak
b920f9a081
Fixed null pointer dereference.
2014-11-17 00:50:15 +01:00
Armin Novak
54224d4155
Fixed memory leak.
2014-11-17 00:07:58 +01:00
Armin Novak
83f6b24b16
Fixed API nonnull warning.
2014-11-16 23:58:39 +01:00
Armin Novak
51cc567dc6
Fixed typo.
2014-11-16 23:52:22 +01:00
Armin Novak
2e1c2555a2
Fixed typo.
2014-11-16 23:50:46 +01:00
Armin Novak
d525999a06
Fixed allocation size warning.
2014-11-16 23:43:18 +01:00
Armin Novak
d225b97078
Fixed allocation size warning.
2014-11-16 23:42:30 +01:00
Armin Novak
28220d5b9f
Fixed allocation size warning.
2014-11-16 23:41:28 +01:00
Armin Novak
a1761d8a7b
Fixed memory leaks.
2014-11-16 23:10:33 +01:00
Armin Novak
55e455f1ab
Fixed memory leaks.
2014-11-16 22:50:50 +01:00
Armin Novak
709435d6d7
Fixed memory leak.
2014-11-16 22:47:23 +01:00
Armin Novak
be3df80c9c
Fixed memory leak.
2014-11-16 22:45:09 +01:00
Armin Novak
e256e14cc4
Fixed bad sizeof in calloc.
2014-11-16 22:43:11 +01:00
Armin Novak
abeb29213f
Fixed memory leak.
2014-11-16 17:21:36 +01:00
Armin Novak
831b74d519
Fixed memory leak.
2014-11-16 17:07:48 +01:00
Armin Novak
e77a4fedc2
Fixed memory leak.
2014-11-16 17:06:42 +01:00
Armin Novak
7b9bf1a504
Fixed uninitialized variable.
2014-11-16 17:02:36 +01:00
Armin Novak
b7d5bf49f8
Fixed NULL pointer dereference.
2014-11-16 16:53:55 +01:00
Armin Novak
fb5d20f338
Fixed NULL pointer dereference.
2014-11-16 16:51:04 +01:00
Armin Novak
2671482458
Fixed Stack_Free.
2014-11-16 16:48:50 +01:00
Armin Novak
cd1782efaa
Fixed NULL pointer dereference.
2014-11-16 16:47:38 +01:00
Armin Novak
37facc0d44
Fixed memory leak.
2014-11-16 16:05:01 +01:00
Armin Novak
b9908af64a
Fixed memory leaks.
2014-11-16 16:02:28 +01:00
Armin Novak
53450b6423
Checking setgid before calling initgroups now.
2014-11-16 15:59:26 +01:00
Armin Novak
9339411c9b
Fixed memory leak.
2014-11-16 15:53:39 +01:00
Armin Novak
45896e7a61
Fixed memory leak.
2014-11-16 15:51:45 +01:00
Armin Novak
b7304f16b8
Fixed memory leak.
2014-11-16 15:47:57 +01:00
Armin Novak
9ab5f4c222
Fixed memory leak.
2014-11-16 15:44:02 +01:00
Armin Novak
58d1853de7
Fixed missing return check.
2014-11-16 15:25:10 +01:00
Armin Novak
51cb07b0f4
Fixed use after free.
2014-11-16 15:21:13 +01:00
Armin Novak
77a3c0ca4a
Fixed use after free.
2014-11-16 15:13:08 +01:00
Armin Novak
cf5b9a75b8
Fixed memory leak
2014-11-16 15:03:20 +01:00
Armin Novak
7756cfb7a4
Fixed memory leaks.
2014-11-16 14:56:08 +01:00
Armin Novak
f5a78d9c98
Fixed use after free.
2014-11-16 14:44:30 +01:00
Armin Novak
643a309537
Fixed memory leak.
2014-11-16 14:40:30 +01:00
Armin Novak
1b6cb6349e
Added unit test for callback wlog appender.
2014-11-16 13:59:12 +01:00
Armin Novak
7697eafa02
Fixed callback appender setup.
2014-11-16 13:59:04 +01:00
Armin Novak
8d4589b1e1
Replaced fprintf error messages with WLog.
2014-11-16 12:21:38 +01:00
Armin Novak
6de22298d0
Added callback appender for wlog.
2014-11-16 12:20:48 +01:00
Marc-André Moreau
496ce10637
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-11-15 12:37:29 -05:00
Martin Fleisz
7acc61e3f6
Merge pull request #2199 from akallabeth/backtrace_fix
...
Fixed type of stack trace variables.
2014-11-13 16:11:08 +01:00
Emmanuel Ledoux
096159054b
winpr-comm: ignore errors on TIOCGICOUNT during the port initialization but the permissive mode must be on afterwards.
2014-11-13 19:54:32 +01:00
Armin Novak
041c26eff6
Fixed mixed variable declaration.
2014-11-12 09:16:55 +01:00
Armin Novak
16f9f34b52
Removed assert, breaking build on visual studio.
2014-11-12 09:16:55 +01:00
Armin Novak
c39fbcfacb
Fixed scope of variable declarations, MSVC does not like mixed variable declaration.
2014-11-12 09:16:55 +01:00
Armin Novak
56f087dfbc
Fixed commented include.
2014-11-12 09:16:55 +01:00
Armin Novak
6c4f013bd9
Enhanced debug output, fixed missing includes.
2014-11-12 09:16:55 +01:00
Armin Novak
cbf70a3d75
Fixed missing include in unit test.
2014-11-12 09:16:55 +01:00
Armin Novak
f09aec878e
Added unit test for backtrace.
2014-11-12 09:16:54 +01:00
Armin Novak
3830a9f580
Added windows implementation of backtrace.
2014-11-12 09:16:54 +01:00
Armin Novak
2d7311b253
Fixed type of stack trace variables.
2014-11-11 21:00:03 +01:00
Marc-André Moreau
22260600fa
libwinpr-input: add missing VK_DECIMAL mapping of OS X keycode mapping of ABNT2 keyboard
2014-11-11 12:39:41 -05:00
Marc-André Moreau
367ceff02c
libwinpr-smartcard: revert minor change from pull request #2195
2014-11-11 12:00:37 -05:00
Marc-André Moreau
d4bdf52b07
libwinpr-smartcard: re-enable SCardGetStatusChange status filtering
2014-11-11 11:46:59 -05:00
Marc-André Moreau
68ee5df7d9
winpr: fix build warnings
2014-11-11 11:21:34 -05:00
Marc-André Moreau
a48ed7239d
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/core/update.c
2014-11-11 09:55:48 -05:00
Marc-André Moreau
b77a3bc1bc
Merge pull request #2195 from Vinche59/master
...
Implementation of SCARD_IOCTL_LOCATECARDSBYATRA & Modification to make Smartcard reader with PinPad work
2014-11-11 09:29:45 -05:00
Martin Fleisz
6cd55a591d
Merge pull request #1964 from akallabeth/thread-wait-support
...
Implemented thread handling for WaitForMultipleObjects.
2014-11-11 10:50:55 +01:00
Vinche
d427faf5c6
Cleaning Code
2014-11-10 23:51:34 +01:00
Vinche
fdb95c712b
Implementation for Smartcard Reader with Pin Pad
2014-11-10 23:40:22 +01:00
Marc-André Moreau
71b8bfac30
libwinpr-smartcard: fix PCSC structure padding that was recently broken
2014-11-10 11:31:28 -05:00
Armin Novak
ff3fcc24c1
Fixed unlocking if pthread_join fails.
2014-11-10 10:24:32 +01:00
Vinche
69766de29f
Add comments to modifications
2014-11-09 23:02:12 +01:00
Vinche
bbff8db75f
Add comments to modifications
2014-11-09 23:00:41 +01:00
Vinche
2708a8de5c
first commit
2014-11-09 22:42:35 +01:00
Marc-André Moreau
c5c9423ccf
winpr: fix Win32 build warnings
2014-11-04 10:44:55 -05:00
Armin Novak
017e4a323e
Locking thread until joined now, preventing multiple joins and race conditions.
2014-11-03 09:29:35 +01:00
Martin Fleisz
0be28ba0f6
Merge pull request #1965 from akallabeth/dynamic-addin-naming
...
Dynamic channel library naming
2014-10-31 13:42:16 +01:00
Martin Fleisz
d58c6de93c
Merge pull request #2134 from akallabeth/windows_version_information
...
Windows version information
2014-10-31 12:23:11 +01:00
Armin Novak
5bf25fd87c
Fixed missing includes and typo.
2014-10-27 11:45:39 +01:00
Armin Novak
8f98f28ce8
Fixed merge errors.
2014-10-27 11:39:02 +01:00
Armin Novak
a6eff65259
Fixed ExitThread, now running pthread_exit and setting event.
2014-10-27 11:28:13 +01:00
Armin Novak
c6ed95d1bf
Fixed typo
2014-10-27 11:28:13 +01:00
Armin Novak
02a4d77da1
Setting exited flag in TerminateThread now to allow setting return code.
2014-10-27 11:28:12 +01:00
Armin Novak
7ef2bd3ca0
Added joined flag.
2014-10-27 11:28:12 +01:00
Armin Novak
7acdbdaa85
Error messages now prefixed with function name.
...
Implemented bWaitAll for WaitForMultipleObjects.
pthread_join now only called on first wait event, later ones skip this to avoid undefined behavior.
2014-10-27 11:28:11 +01:00
Armin Novak
c5bb6125c1
Added additional tests for WaitForSingleObject and WaitForMultipleObjects.
2014-10-27 11:23:18 +01:00
Armin Novak
5122ce939a
Added funcion name to debug messages.
...
Fixed setting of started flag for threads.
pthred_exit now used correct return value argument.
Return value now also set when terminating thread.
2014-10-27 11:23:18 +01:00
Armin Novak
56ae609943
Removed WaitForSingleObject in reset_event, joining thread when not allowed.
2014-10-27 11:23:17 +01:00
Armin Novak
8a352c6f63
Fixed thread cleanup, now saving state of started flag, setting event and
...
then cleaning up the thread resources.
2014-10-27 11:23:17 +01:00
Armin Novak
f80f5621ac
Fixed thread handle cleanup, checking for resource cleanup now before resetting flags.
2014-10-27 11:23:17 +01:00
Armin Novak
8de2868281
Preferring exit code from ExitThread now over thread function return.
2014-10-27 11:23:16 +01:00
Armin Novak
3d7b65a430
Now using thread_launcher function to properly clean up thread resources at exit.
2014-10-27 11:23:15 +01:00
Armin Novak
c304f457cf
Implemented thread handling for WaitForMultipleObjects.
...
Implemented thread specific functions.
2014-10-27 11:23:15 +01:00
Marc-André Moreau
02646b349f
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/core/gcc.c
2014-10-25 10:29:06 -04:00
Marc-André Moreau
ce7302a999
wfreerdp: cleanup clipboard
2014-10-22 22:32:55 -04:00
Marc-André Moreau
83ecddd6c1
xfreerdp: replace cliprdr to wire format conversion
2014-10-17 20:40:11 -04:00
Marc-André Moreau
e8312e2dac
libwinpr-clipboard: add more synthetic clipboard formats
2014-10-17 19:14:54 -04:00
Marc-André Moreau
0e4659403f
libwinpr-clipboard: add basic clipboard synthesizers
2014-10-17 18:23:07 -04:00
Marc-André Moreau
c27888ed72
libwinpr-clipboard: initial clipboard synthetic format support
2014-10-17 16:45:36 -04:00
Marc-André Moreau
d98ce1a819
libwinpr-clipboard: initial commit
2014-10-17 15:19:05 -04:00
Armin Novak
3d28c9dbf1
Fixed sspi_CopyAuthIdentity, now checking source struct, if it is ANSI encoded.
2014-10-17 11:43:41 +02:00
Marc-André Moreau
334dec3c1f
winpr: add pragma pack, bitmap + clipboard definitions
2014-10-16 21:45:47 -04:00
Marc-André Moreau
f6b3b24c22
winpr: add new line ending, utf16 byte order swap functions
2014-10-16 18:07:44 -04:00
Marc-André Moreau
1d47b16f3c
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-10-14 20:59:37 -04:00
Marc-André Moreau
e0a063a3f9
libwinpr-wtsapi: improve Win32 winsta.dll-based channel API
2014-10-14 19:25:41 -04:00
Marc-André Moreau
f837ba3caa
libwinpr-wtsapi: implement overlapped i/o event handle Win32 wrapper
2014-10-14 15:23:07 -04:00
Marc-André Moreau
398eab35d4
libwinpr-wtsapi: add Win32 winsta.dll-based VC implementation
2014-10-13 10:55:11 -04:00
Marc-André Moreau
020436db79
libwinpr-handle: fix dummy DuplicateHandle implementation
2014-10-11 12:34:45 -04:00
Marc-André Moreau
8ef4c14a6d
libwinpr-environment: fix extended functions
2014-10-10 19:16:51 -04:00
Marc-André Moreau
11ae267518
libfreerdp-core: expose new API to allow FreeRDS virtual channel hooking
2014-10-10 16:11:42 -04:00
Marc-André Moreau
8865077b40
libwinpr-winsock: minor improvements
2014-10-09 20:27:42 -04:00
Marc-André Moreau
b01ef89b3d
libwinpr-utils: improve HashTable flexibility, add proper string support
2014-10-09 16:46:55 -04:00
Armin Novak
89bb28adb2
Fixed setting of RV_VERSION_PATCH, now BUILD_NUMBER is used for every library.
...
Executable names are now correctly set, using CMAKE_EXECUTABLE_SUFFIX now.
Fixed version defines for winpr executables.
2014-10-09 16:18:35 +02:00
Marc-André Moreau
06c1810c8a
libwinpr-rpc: fix RpcStringFree
2014-10-08 21:46:46 -04:00
Daryl Poe
af5462eb7b
correct check for lzcnt cpu capability
2014-10-06 13:50:49 -06:00
Armin Novak
5364a834c4
Added windows version information to build.
2014-10-03 15:17:40 +02:00
Marc-André Moreau
cdbfc51daf
libwinpr-utils: add .ini write support
2014-10-02 20:16:30 -04:00
Marc-André Moreau
d5cbadee9d
libwinpr-utils: improve .ini file parser
2014-10-02 18:45:53 -04:00
Marc-André Moreau
abd87ace55
rdtk: initial commit
2014-09-29 16:08:08 -04:00
Marc-André Moreau
c5a0c7e97a
libwinpr-utils: add simple image loading/writing test
2014-09-28 11:14:30 -04:00
Marc-André Moreau
1c34583407
libwinpr-utils: add png support
2014-09-28 11:02:39 -04:00
Marc-André Moreau
bbf4732470
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/gdi/gdi.c
2014-09-25 10:34:56 -04:00
Marc-André Moreau
86b4123cf0
Merge pull request #2101 from eledoux/ports
...
Ports
2014-09-25 10:38:07 -04:00
Bernhard Miklautz
417707e4b7
winpr-utils: extend LinkedList test
2014-09-24 13:03:46 +02:00
Bernhard Miklautz
7bd62a0127
winpr-utils: fix problem in LinkedList enumerator
...
A segfault can happen if LinkedList_Enumerator_MoveNext is invoked
before LinkedList_Enumerator_Reset was called.
2014-09-24 12:31:52 +02:00
Marc-André Moreau
c4588fb14f
libfreerdp-core: remove dependency on OPENSSL_Applink on Windows
2014-09-19 17:11:56 -04:00
Marc-André Moreau
72e7507bee
Merge branch 'shadow' of github.com:awakecoding/FreeRDP
...
Conflicts:
libfreerdp/core/capabilities.c
2014-09-19 14:39:43 -04:00
Marc-André Moreau
d102e746c8
Merge branch 'awakecoding' of github.com:vworkspace/FreeRDP
...
Conflicts:
libfreerdp/core/license.c
libfreerdp/core/nego.c
winpr/libwinpr/synch/wait.c
2014-09-19 14:38:25 -04:00
Marc-André Moreau
09fc388e03
shadow: add RefreshRect/SuppressOutput support
2014-09-18 22:18:58 -04:00
Marc-André Moreau
2a5192b027
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
...
Conflicts:
client/Windows/wf_cliprdr.h
client/Windows/wf_event.h
client/X11/xf_client.c
client/X11/xf_gdi.c
libfreerdp/gdi/gdi.c
server/Mac/mf_input.c
2014-09-17 19:09:56 -04:00
Marc-André Moreau
f0bff7e890
libwinpr-sspi: fix NTLM strict error check
2014-09-17 18:44:59 -04:00
Armin Novak
e0fe6d58b8
Removing platform specific library prefix for library tests.
2014-09-17 11:27:11 +02:00
Armin Novak
059374457d
Removed library prefix override.
2014-09-17 11:27:11 +02:00
Armin Novak
4004543a33
Default WLog_Level is now INFO.
2014-09-17 09:28:40 +02:00
Emmanuel Ledoux
e9749c6b3f
serial: ability to turn on the permissive mode from the command line
2014-09-16 12:08:33 +02:00
Emmanuel Ledoux
275a1b9bc4
winpr-comm: fixed set_baud_rate()/get_baud_rate() functions in comm_serial_sys.c (the issue came from a wrong extrapolation of the COMMPROP's MaxBaud field)
...
winpr-comm: got rid of SERIAL_BAUD_* values which are identical to BAUD_* ones
2014-09-16 11:21:01 +02:00
Armin Novak
69c0aa4b22
Fixed missing log message formatting argument on android.
2014-09-16 10:14:18 +02:00
Armin Novak
81a4081279
Decreased logging verbosity.
2014-09-16 09:37:45 +02:00
Marc-André Moreau
b0d27beae3
mfreerdp: add egfx support
2014-09-13 12:02:53 -04:00
Bernhard Miklautz
2218e9684a
Fix: misc compiler warnings
...
Seen in Xcode
2014-09-12 00:36:29 +02:00
Bernhard Miklautz
8dc70f4045
fix build warning
...
warning: implicit declaration of function ‘winpr_bitmap_write’
[-Wimplicit-function-declaration]
2014-09-11 17:26:01 +02:00
Armin Novak
38d110da03
Fixed string size calculation in winpr_HexDump
2014-09-11 13:59:48 +02:00
Armin Novak
263393d649
Added braces to distinguish between pointer dereference and multiplication.
2014-09-11 12:09:06 +02:00
Armin Novak
cceb216e2e
Replaced fprintf with WLog_ERR.
2014-09-09 16:35:04 +02:00
Armin Novak
0131e576b7
Fixed Barrier test. First get the thread ID, then wait for the barrier to be reached.
2014-09-09 16:33:05 +02:00
Armin Novak
41e7fdd95f
Fixed missing initialisation of position variable.
2014-09-09 16:33:05 +02:00
Armin Novak
a15df299e9
Removed last remainig printf.
2014-09-09 16:32:23 +02:00
Armin Novak
6a26e33695
Fixed winpr_HexDump calls in debug mode.
2014-09-09 16:32:22 +02:00
Armin Novak
25e9ebadc2
Using trio_snprintf now.
2014-09-09 16:32:22 +02:00
Armin Novak
b22b897389
Reformatted changed files.
2014-09-09 16:32:22 +02:00
Armin Novak
a738f3c6ce
Added stacktrace in case of log recursion.
2014-09-09 16:32:04 +02:00
Armin Novak
6baf98dcda
Moved logging defines to main logger.
2014-09-09 16:32:04 +02:00
Armin Novak
7e3a1b3073
Now using macro to generate module specific log tag.
2014-09-09 16:32:04 +02:00
Armin Novak
28ece6bb46
Replaced stdio logging with WLog
2014-09-09 16:31:46 +02:00
Armin Novak
3e21e570b8
Added recursion detection to WLog.
...
Dump functions now expect TAG and level as arguments.
2014-09-09 16:31:46 +02:00
Armin Novak
c32c48fbb6
Added recursion guard to logging functions.
2014-09-09 16:30:52 +02:00
Marc-André Moreau
fd7b9669a5
libfreerdp-codec: improve progressive unit tests
2014-09-03 18:47:02 -04:00
Marc-André Moreau
320b1d35ed
libwinpr-utils: centralize bitmap utils
2014-09-03 16:20:50 -04:00
Mike McDonald
2ec493d094
Reverted WaitForSingleObject for event handles to retry the select upon receiving an EINTR error
2014-08-21 08:21:29 -04:00
Marc-André Moreau
1a8c763309
Merge branch 'shadow' of github.com:awakecoding/FreeRDP
2014-08-18 17:06:13 -04:00
Marc-André Moreau
5e177118aa
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-08-18 16:23:45 -04:00
Marc-André Moreau
f30d7cf66a
Merge pull request #2024 from repzilon/master
...
uclibc build fixes and recompressed images
2014-08-18 13:08:52 -04:00
Marc-André Moreau
065d6f0c99
Merge pull request #2010 from hardening/list_return_value
...
Make LinkedList return errors when something fails
2014-08-18 13:05:18 -04:00
Marc-André Moreau
78d43ced3d
Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
2014-08-15 11:44:07 -04:00
Marc-André Moreau
168d46f253
Merge branch 'awakecoding' of github.com:vworkspace/FreeRDP
...
Conflicts:
libfreerdp/core/nego.c
libfreerdp/core/peer.c
winpr/libwinpr/synch/wait.c
2014-08-15 11:43:50 -04:00
Armin Novak
fd2c1a7508
Fixed license header, added correct copyright.
2014-08-14 10:42:10 +02:00
Armin Novak
77ae3bc8b3
Fixed missing argument checks in logger, fixed crashes if file not created.
2014-08-14 10:38:02 +02:00
Armin Novak
494ca1f1a3
Added winpr functions to generate a stacktrace.
...
Added libcorkscrew headers for stacktrace on android.
Added execinfo.h detection for stacktrace on linux.
2014-08-14 10:36:50 +02:00
Armin Novak
93ad5b7335
Implemented default fnObjectEquals function.
...
Implemented ArrayList_Contains.
ArrayList_IndexOf and ArrayList_LastIndexOf now use comparison function.
2014-08-13 14:15:17 +02:00
Marc-André Moreau
1ba42dccf3
shadow: improve DXGI support
2014-08-12 16:57:58 -04:00
Marc-André Moreau
90d202ab87
server: fix build on Windows
2014-08-11 19:31:38 -04:00
Marc-André Moreau
e4a4aa4d3a
Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
...
Conflicts:
channels/encomsp/client/encomsp_main.c
libfreerdp/core/tcp.c
libfreerdp/crypto/certificate.c
server/Windows/CMakeLists.txt
server/X11/xf_cursor.c
server/X11/xf_input.c
server/X11/xf_interface.c
server/X11/xf_monitors.c
server/X11/xf_peer.c
2014-08-11 19:22:33 -04:00
Marc-André Moreau
87fd839a35
libfreerdp-codec: cleanup and fix __lzcnt on Windows
2014-08-11 18:48:42 -04:00
Marc-André Moreau
dc7f89dbd5
Merge branch 'egfx' of github.com:awakecoding/FreeRDP
2014-08-11 17:25:38 -04:00
Marc-André Moreau
cff9c16c1e
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
channels/disp/client/disp_main.c
2014-08-11 10:36:07 -04:00
Armin Novak
2436e41e63
Fixed warnings for comm tests.
2014-08-11 09:17:56 +02:00
Marc-André Moreau
6c85505ecc
libwinpr-synch: replace pthreads-based barrier implementation by interlocked operations + event and avoid deadlocks
2014-08-08 21:02:15 -04:00
Marc-André Moreau
54264936d1
shadow: improve synchronization barrier usage
2014-08-08 20:51:26 -04:00
Marc-André Moreau
edde16e9d5
libwinpr-synch: add initial synchronization barrier implementation
2014-08-08 17:34:30 -04:00
Armin Novak
e6ed76977a
DEBUG_PRINT now a define, resolves linking issues.
...
Using log name as logcat tag now.
Removed log name from default android log formatting.
2014-08-07 21:51:52 +02:00
Armin Novak
1a37435a26
Added redirection of ConsoleAppender to logcat, if used on android.
...
Using custom default format for log messages on android.
2014-08-07 17:47:59 +02:00
Rene Rheaume
5f9c36da5d
* Use futimens that is POSIX-compliant and compatible with uclibc instead of futimes.
...
* Borrowed eventfd_read and eventfd_write from bionic for uclibc compatibility (uclibc headers are broken unfortunately). Bionic and
FreeRDP are both under the Apache 2.0 license.
2014-08-06 22:06:01 -04:00
Marc-André Moreau
22d3b6c74b
libfreerdp-codec: remove old RemoteFX RLGR implementation in favour of faster one
2014-08-05 21:41:58 -04:00
Marc-André Moreau
3895c930a3
Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
2014-08-05 09:56:12 -04:00
Marc-André Moreau
85b1d6c167
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/codec/h264.c
2014-08-05 09:55:54 -04:00
Marc-André Moreau
51f6ffd2ba
libfreerdp-codec: improve rfx progressive RLGR1 implementation
2014-08-02 22:26:05 -04:00
Mike McDonald
ca0ddf4039
Merge branch 'awakecoding' of https://github.com/vworkspace/FreeRDP into awakecoding
2014-08-01 15:49:19 -04:00
Mike McDonald
12c0bd64f0
Removed loop which was retrying the select after being interrupted by a signal. This was leading to threads blocking forever.
2014-08-01 15:48:54 -04:00
Norbert Federa
9bde12f26a
winpr/utils/ssl: fix comp warning and wrong param
2014-07-31 11:22:46 +02:00
Hardening
ff95b9aafa
Make LinkedList return errors when something fails
2014-07-31 10:38:59 +02:00
Bernhard Miklautz
a124f6a7c6
fix comment style
...
// to /* */
2014-07-29 05:22:30 +02:00
Bernhard Miklautz
a9eed46e38
Fix warnings found in Xcode
2014-07-29 05:22:30 +02:00
Bernhard Miklautz
352dbd52e2
winpr/comm: don't build on apple
...
Since code is only defined on linux building comm causes /usr/bin/ranlib
to warn about empty objects and the test doesn't build at all on apple.
2014-07-29 05:22:29 +02:00
Bernhard Miklautz
8c318da7b1
fix compiler warnings
2014-07-29 05:22:29 +02:00
Bernhard Miklautz
b8415af0d8
Fix compiler warnings.
...
This commit is based on pull request #1493
2014-07-29 05:22:29 +02:00
Marc-André Moreau
8321d7ffad
libfreerdp-codec: fix OpenH264 usage thanks to @erbth's hack
2014-07-28 17:22:02 -04:00
Marc-André Moreau
b56eaccdc3
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
client/common/client.c
2014-07-28 16:58:32 -04:00
Norbert Federa
cdcdec99bc
OpenSSL thread safety
...
freerdp/winpr had the following issues:
* The non reentrant SSL_library_init() was called concurrently (crash)
* Missing code/api to set the eventually required OpenSSL static and dynamic locking callbacks
* Missing code/api to free the application-global or thread-local OpenSSL data and tables
This commit creates two new winpr functions:
BOOL winpr_InitializeSSL(DWORD flags):
Use the flag WINPR_SSL_INIT_ALREADY_INITIALIZED if you want to tell winpr that
your application has already initialized OpenSSL.
If required use the flag WINPR_SSL_INIT_ENABLE_LOCKING to tell winpr that it
should set the OpenSSL static and dynamic locking callbacks.
Otherwise just call it with the flag WINPR_SSL_INIT_DEFAULT.
The recommended way is that your application calls this function once before
any threads are created. However, in order to support lazy OpenSSL library
initialization winpr_InitializeSSL() can also safely be called multiple times
and concurrently because it uses the new InitOnceExecuteOnce() function to
guarantee that the initialization is only performed successfully once during
the life time of the calling process.
BOOL winpr_CleanupSSL(DWORD flags):
If you create a thread that uses SSL you should call this function before the
thread returns using the flag WINPR_SSL_CLEANUP_THREAD in order to clean up
the thread-local OpenSSL data and tables.
Call the function with the flag WINPR_SSL_CLEANUP_GLOBAL before terminating
your application.
Note: This commit only replaced the current occurences of the
SSL_load_error_strings(); SSL_library_init(); pairs in the freerdp source
with winpr_InitializeSSL(). None of the server or client applications has been
changed according to the recommended usage described above (TBDL).
2014-07-28 21:55:57 +02:00
Marc-André Moreau
2036b443eb
libwinpr-wtsapi: fix WtsApi32.dll dynamic loading on Windows
2014-07-26 15:23:39 -04:00
Norbert Federa
fae8f6fbf2
winpr/sync: Added InitOnceExecuteOnce plus CTest
2014-07-24 21:12:59 +02:00
Marc-André Moreau
d8b858811f
shadow: initial windows server-side connectivity
2014-07-17 21:15:22 -04:00
Marc-André Moreau
e6f4754ed3
winpr: improve windows builds across visual studio versions and toolsets
2014-07-17 15:11:04 -04:00
Marc-André Moreau
4f4603133e
winpr: fix build on Windows with unit tests
2014-07-17 12:02:47 -04:00
Norbert Federa
6b47229563
Merge pull request #1955 from nfedera/fix-2014-07-10-02
...
winpr: CloseHandle did not release the thread TCB
2014-07-11 16:35:12 +02:00
Armin Novak
ad3255354d
Added WITH_LIBRARY_VERSIONING, allowing to build shared libraries without
...
SOVERSION information. (required by Android)
2014-07-11 11:53:58 +02:00
Bernhard Miklautz
7b450f4012
winpr: fix handling of absolute include paths
...
Don't prefix include paths if it is absolute
2014-07-10 17:40:27 +02:00
Norbert Federa
aac57e7e72
winpr: CloseHandle did not release the thread TCB
...
This resulted in huge memory leaks - 8MB per thread, depending on
the system's default stack size.
The leak happend even if CloseHandle() was correctly used to "detach"
the thread but WaitForSingleObject was never called.
2014-07-10 12:28:35 +02:00
Bernhard Miklautz
6a49bcfe40
winpr: always build "monolitic"
...
winpr is now always build as single library.
The build option MONOLITHIC_BUILD doesn't influence this behavior anymore.
The only exception is winpr-makecert-tool which is still build as extra
library.
This obsoletes complex_libraries for winpr.
2014-07-10 11:10:58 +02:00
Marc-André Moreau
2e1f6b0c6d
libwinpr-crt: fix realloc to smaller size
2014-07-09 20:10:33 -04:00
Marc-André Moreau
ac7d23b9a3
libfreerdp-gdi: migrate to _aligned_malloc/_aligned_free
2014-07-08 15:07:19 -04:00
Bernhard Miklautz
199d53bb00
Merge pull request #1942 from hardening/kill_select
...
Use poll() instead of select() when available
2014-07-08 16:36:04 +02:00
Hardening
f09076e4d2
Add a guard on nCount with MAXIMUM_WAIT_OBJECTS + cosmetic fixes
2014-07-07 14:50:05 +02:00
Hardening
4bb910fec5
Fixed a typo
2014-07-04 22:14:04 +02:00
Emmanuel Ledoux
2d48323865
winpr-comm: UGLY: attempt to resolve the linking issue below specific to debian-squeeze. This might end up in some circular dependencies...
...
Linking C executable ../../../../Testing/TestInterlocked
../../handle/libwinpr-handle.so.1.1.0: undefined reference to `LeaveCriticalSection'
2014-07-04 18:02:35 +02:00
Emmanuel Ledoux
80f641c38a
winpr-comm, serial: excluded Android platforms as well
2014-07-04 17:40:06 +02:00
Emmanuel Ledoux
7bbeff3427
winpr-comm: made its current implementation verific specific to __linux__ since it was done on top of NTTY.
2014-07-04 16:16:26 +02:00
Hardening
16681cc91a
Fix header inclusion
2014-07-04 16:11:19 +02:00
Hardening
4b3dc22a79
Fix missing include for macOS
2014-07-04 15:29:21 +02:00
Emmanuel Ledoux
9217de3bb1
winpr-utils: WLog_PrintMessageVA, include stdarg.h from wlog.h instead of wlog.c
2014-07-04 14:52:13 +02:00
Emmanuel Ledoux
37dc55d7c2
winpr-comm: fixed QueryCommDevice() when used with some wide characters
2014-07-04 12:24:41 +02:00
Emmanuel Ledoux
94dfce4f52
winpr-comm: made the unit tests to succeed when /dev/ttyS0 is not available
2014-07-03 19:01:45 +02:00
Hardening
542811291c
Use poll() instead of select() when available
...
select() has the major drawback that it cannot handle file descriptor
that are bigger than 1024. This patch makes use of poll() instead of
select() when poll() support is available.
2014-07-03 15:26:49 +02:00
Emmanuel Ledoux
fba58a5b90
winpr-comm: added _HandleCloseCbsLock to protect accesses to _HandleCloseCbs
2014-07-03 11:24:37 +02:00
Emmanuel Ledoux
87ce88370a
winpr-comm: added _HandleCreatorsLock to protect accesses to _HandleCreators
2014-07-03 11:20:46 +02:00
Emmanuel Ledoux
0bd9f1b789
winpr-comm: added _CommDevicesLock to protect accesses to _CommDevices
2014-07-03 11:07:48 +02:00
Emmanuel Ledoux
db1fba3a68
Revert "winpr-handle: removed RegisterHandleCloseCb() which would require a better synchronization"
...
RegisterHandleCloseCb() is also useful to don't get a circular dependency, a better synchronization must be find out...
This reverts commit 8f3b3fa573
.
2014-07-02 16:57:20 +02:00
Emmanuel Ledoux
8f3b3fa573
winpr-handle: removed RegisterHandleCloseCb() which would require a better synchronization
...
winpr-comm: don't use anymore RegisterHandleCloseCb()
2014-07-02 16:19:28 +02:00
Emmanuel Ledoux
0d54307251
winpr-comm: introduced CommLog_Print(...). Don't use anymore DEBUG_WARN() and DEBUG_MSG() macros
2014-07-02 15:59:16 +02:00
Emmanuel Ledoux
9fc225ac5d
Merge branch 'ports'
...
Conflicts:
channels/serial/client/serial_tty.c
2014-06-30 17:22:15 +02:00
Emmanuel Ledoux
d93c6b1362
serial: don't use wlog API yet
...
winpr-comm: cleared some #warnings due to wrong printf formats
2014-06-25 17:02:10 +02:00
Marc-André Moreau
c156006195
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
2014-06-23 11:55:27 -04:00
Marc-André Moreau
78d3c82798
xfreerdp: fix multiple egfx-related memory leaks
2014-06-20 13:52:13 -04:00
Emmanuel Ledoux
11ed1f122f
winpr-comm: comm_serial_sys, got rid of the latest TMP tags
2014-06-20 16:30:59 +02:00
Emmanuel Ledoux
b2bfc8004c
winpr-comm: gathered together all SERIAL_EV_* #defines
2014-06-20 15:56:41 +02:00
Marc-André Moreau
ce6ff35297
xfreerdp: fix egfx off-by-one errors
2014-06-19 17:08:50 -04:00
Emmanuel Ledoux
f454a5c0c8
winpr-handle: CloseHandle(), added ability to register some callback functions
...
winpr-comm: implemented CommCloseHandle()
2014-06-19 19:07:45 +02:00
Emmanuel Ledoux
d38a323526
winpr-comm, winpr-file: better initialization of the static variables
2014-06-19 12:03:36 +02:00
Marc-André Moreau
8688eabc23
Merge pull request #1914 from hardening/pipe_eintr
...
Silently handle EINTR and retry operation
2014-06-18 17:53:16 -04:00
Marc-André Moreau
3aac5ec897
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-06-18 16:12:54 -04:00
Hardening
9039a23de3
Silently handle EINTR and retry operation
2014-06-18 22:09:07 +02:00
Marc-André Moreau
948d137426
libwinpr-sspi: add support for passing NTLMv2 hash
2014-06-18 16:02:13 -04:00
Marc-André Moreau
7818c77e5e
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
2014-06-18 15:19:52 -04:00
Marc-André Moreau
e272bc923e
libwinpr-sspi: fix server-side NTLM authentication against NTLMv2 without key exchange
2014-06-18 14:42:35 -04:00
Emmanuel Ledoux
e6c82f99d5
serial: ability to setup the server serial driver thanks to a third parameter on the command line
2014-06-18 18:20:21 +02:00
Hardening
bf30d54fac
Merge pull request #1902 from hardening/pipeFix
...
Don't forget to SetLastError() on disconnection
2014-06-18 17:01:09 +02:00
Emmanuel Ledoux
62298fcd95
winpr-comm: renamed REMOTE_SERIAL_DRIVER by SERIAL_DRIVER or ServerSerialDriver according the context
2014-06-18 15:58:08 +02:00
Emmanuel Ledoux
62d893b2bd
winpr-comm: implemented IOCTL_SERIAL_RESET_DEVICE
2014-06-17 17:49:06 +02:00
Emmanuel Ledoux
9fc0e6eccc
winpr-comm: CommReadFile and CommWriteFile are now protected by a mutex
...
winpr-comm: implemented IOCTL_SERIAL_IMMEDIATE_CHAR
2014-06-17 16:34:20 +02:00
Emmanuel Ledoux
34c3654faf
winpr-comm: implemented IOCTL_SERIAL_CONFIG_SIZE
2014-06-17 15:19:16 +02:00
Emmanuel Ledoux
0db3d9dbb0
winpr-comm: cleaning up code, focused on indentation and whitespaces
2014-06-16 19:18:45 +02:00
Hardening
b4d756830a
Don't forget to SetLastError() on disconnection
...
Otherwise if the last error was a ERROR_NO_DATA we have no indication that
the pipe has been closed.
2014-06-12 23:09:49 +02:00
Marc-André Moreau
42c83c25f8
Merge branch 'egfx' of github.com:awakecoding/FreeRDP into egfx
...
Conflicts:
channels/tsmf/client/tsmf_main.c
2014-06-12 12:08:15 -04:00
Armin Novak
fb4fd9f5bb
Added stream pool shrinking if large parts are unused.
2014-06-11 14:38:20 +02:00
Armin Novak
4325741583
Merge remote-tracking branch 'origin/master' into tsmf-gstreamer-1.0
...
Conflicts:
client/X11/xf_client.c
2014-06-11 11:27:08 +02:00
Marc-André Moreau
adbfcf53ea
libwinpr-sspi: fix failing test
2014-06-10 18:09:51 -04:00
Marc-André Moreau
a7de9e5ac9
Merge branch 'master' of github.com:awakecoding/FreeRDP into sspi
...
Conflicts:
winpr/include/winpr/timezone.h
winpr/libwinpr/timezone/timezone.c
2014-06-10 16:40:58 -04:00
Marc-André Moreau
1b93dca6c0
libwinpr-sspi: add support for querying user+domain and setting NTLM hash
2014-06-10 16:38:16 -04:00
Marc-André Moreau
723e9a171b
libwinpr-sspi: fix server-side NLA
2014-06-10 14:38:17 -04:00
Marc-André Moreau
8a343c3e6d
libwinpr-sspi: fix memory leaks
2014-06-10 14:16:02 -04:00