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
e700dc6818
Winpr stacktrace header.
2014-08-14 10:37:48 +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
19c25cf2b4
winpr-pool: fix header on non-Windows
2014-07-17 17:34:51 -04:00
Marc-André Moreau
a23d5ea527
winpr/makecert: improve command line options
2014-07-17 16:47:29 -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
Marc-André Moreau
0fb3bf1dfd
winpr/tools/makecert: add pfx support
2014-07-16 17:13:02 -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