Marc-André Moreau [Wed, 6 Aug 2014 21:51:38 +0000 (17:51 -0400)]
shadow: start detecting invalid regions manually
Marc-André Moreau [Wed, 6 Aug 2014 18:18:34 +0000 (14:18 -0400)]
shadow: fix X11 non-XShm support
Marc-André Moreau [Wed, 6 Aug 2014 16:08:00 +0000 (12:08 -0400)]
libfreerdp-core: fix unix domain socket support
Marc-André Moreau [Tue, 5 Aug 2014 13:56:12 +0000 (09:56 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
Marc-André Moreau [Tue, 5 Aug 2014 13:55:54 +0000 (09:55 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Conflicts:
libfreerdp/codec/h264.c
Bernhard Miklautz [Thu, 31 Jul 2014 09:43:01 +0000 (11:43 +0200)]
Merge pull request #2011 from nfedera/fix-2014-07-31-01
winpr/utils/ssl: fix comp warning and wrong param
Norbert Federa [Thu, 31 Jul 2014 09:22:46 +0000 (11:22 +0200)]
winpr/utils/ssl: fix comp warning and wrong param
Bernhard Miklautz [Wed, 30 Jul 2014 17:45:12 +0000 (19:45 +0200)]
Merge pull request #1985 from bmiklautz/fix/warnings
Fix compiler warnings and build
Hardening [Wed, 30 Jul 2014 08:14:56 +0000 (10:14 +0200)]
Merge pull request #2008 from itharbor/master
rdpsnd->Initialize requires two arguments
Robert Lockwood [Tue, 29 Jul 2014 22:30:47 +0000 (23:30 +0100)]
rdpsnd->Initialize requires two arguments
Fixes rdpsnd->Initialize() to have two arguments. Fixes compilation on XCode 5. To be tested.
Marc-André Moreau [Tue, 29 Jul 2014 17:41:21 +0000 (13:41 -0400)]
libfreerdp-codec: fix build on Windows
Marc-André Moreau [Tue, 29 Jul 2014 13:54:29 +0000 (09:54 -0400)]
Merge branch 'egfx' of github.com:awakecoding/FreeRDP into egfx
Marc-André Moreau [Tue, 29 Jul 2014 03:41:16 +0000 (23:41 -0400)]
libfreerdp-codec: start parsing progressive codec
Bernhard Miklautz [Wed, 23 Jul 2014 21:53:43 +0000 (23:53 +0200)]
fix comment style
// to /* */
Bernhard Miklautz [Wed, 23 Jul 2014 18:22:30 +0000 (20:22 +0200)]
Fix warnings found in Xcode
Bernhard Miklautz [Wed, 23 Jul 2014 17:08:30 +0000 (19:08 +0200)]
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.
Bernhard Miklautz [Wed, 23 Jul 2014 17:08:06 +0000 (19:08 +0200)]
fix compiler warnings
Bernhard Miklautz [Wed, 23 Jul 2014 15:26:49 +0000 (17:26 +0200)]
Fix compiler warnings.
This commit is based on pull request #1493
Marc-André Moreau [Mon, 28 Jul 2014 21:42:23 +0000 (17:42 -0400)]
libfreerdp-codec: stub progressive codec decompressor
Marc-André Moreau [Mon, 28 Jul 2014 21:22:02 +0000 (17:22 -0400)]
libfreerdp-codec: fix OpenH264 usage thanks to @erbth's hack
Marc-André Moreau [Mon, 28 Jul 2014 21:04:03 +0000 (17:04 -0400)]
Merge branch 'egfx' of github.com:vworkspace/FreeRDP into egfx
Marc-André Moreau [Mon, 28 Jul 2014 20:59:29 +0000 (16:59 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
Marc-André Moreau [Mon, 28 Jul 2014 20:58:32 +0000 (16:58 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Conflicts:
client/common/client.c
Marc-André Moreau [Mon, 28 Jul 2014 20:47:56 +0000 (16:47 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP
Marc-André Moreau [Mon, 28 Jul 2014 20:47:42 +0000 (16:47 -0400)]
channels: cleanup RDP8 virtual channels
Marc-André Moreau [Mon, 28 Jul 2014 20:32:06 +0000 (16:32 -0400)]
Merge pull request #1982 from bmiklautz/feat/read_pdu
Transport re-factor and clean up
Marc-André Moreau [Mon, 28 Jul 2014 20:08:10 +0000 (16:08 -0400)]
Merge pull request #2005 from nfedera/fix-2014-07-28-01
OpenSSL thread safety
Norbert Federa [Mon, 28 Jul 2014 19:55:57 +0000 (21:55 +0200)]
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).
Marc-André Moreau [Mon, 28 Jul 2014 19:55:18 +0000 (15:55 -0400)]
Merge pull request #2000 from jbd1986/master
remove multimon/span logic from cmdline.c and move to new combined logic...
Justin DeFields [Mon, 28 Jul 2014 19:24:48 +0000 (15:24 -0400)]
Move multimon/span logic from cmdline.c to client.c post processing
Marc-André Moreau [Mon, 28 Jul 2014 18:49:26 +0000 (14:49 -0400)]
Merge pull request #2004 from bmiklautz/fix/cmd_post
Fix/cmd post
Bernhard Miklautz [Mon, 28 Jul 2014 16:49:18 +0000 (18:49 +0200)]
return status instead of returning directly
Bernhard Miklautz [Mon, 28 Jul 2014 15:57:51 +0000 (17:57 +0200)]
cmdline post: cleanup in case of oom
Bernhard Miklautz [Mon, 28 Jul 2014 15:52:40 +0000 (17:52 +0200)]
fix freerdp_client_settings_post_processing
Bernhard Miklautz [Mon, 28 Jul 2014 11:12:01 +0000 (13:12 +0200)]
fix: typos and formating
Marc-André Moreau [Sat, 26 Jul 2014 19:23:39 +0000 (15:23 -0400)]
libwinpr-wtsapi: fix WtsApi32.dll dynamic loading on Windows
Marc-André Moreau [Sat, 26 Jul 2014 18:43:10 +0000 (14:43 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Fri, 25 Jul 2014 14:40:33 +0000 (10:40 -0400)]
Merge pull request #1991 from jbd1986/master-split-cmdline-special-items
Apply GatewayUseSameCredentials logic to RDP file parsing as well
Justin DeFields [Thu, 24 Jul 2014 20:07:14 +0000 (16:07 -0400)]
Removed GatewayUseSameCredentials logic from cmdline.c, and placed it after both cmdline and rpd file have been parsed. This provides proper GatewayUseSameCredentials support for the rdp file
Marc-André Moreau [Thu, 24 Jul 2014 19:34:06 +0000 (15:34 -0400)]
Merge pull request #1990 from nfedera/fix-2014-07-24-01
winpr/sync: Added InitOnceExecuteOnce plus CTest
Norbert Federa [Thu, 24 Jul 2014 19:07:44 +0000 (21:07 +0200)]
winpr/sync: Added InitOnceExecuteOnce plus CTest
Hardening [Thu, 24 Jul 2014 16:10:50 +0000 (18:10 +0200)]
Merge pull request #1989 from bmiklautz/feat/fast-path
core: improve fast-path multifragment handling
Bernhard Miklautz [Tue, 22 Jul 2014 17:14:43 +0000 (19:14 +0200)]
refactor transport_read_pdu and check_fds
transport_check_fds and transport_read_pdu had almost the same
functionality: reading and validating one pdu at a time.
Now transport_read_pdu reads one pdu from the transport layer and verifies
that the pdu data is valid - as before.
transport_read_pdu also ensures that the stream is sealed and
rewound when the pdu is received completely.
transport_check_fds just uses transport_read_pdu and does *not* do
the verification a second time based on the stream.
Besides the clean up this fixes the following problems:
* transport_read always read 4 bytes. Fast-path input synchronize pdus
are only 3 bytes long. In this case on byte got lost in the stream
buffer which lead to "de-synchronization" of server and
client.
* Size check in tpdu_read_connection_confirm - already read bytes
weren't taken into account.
Bernhard Miklautz [Tue, 22 Jul 2014 09:19:38 +0000 (11:19 +0200)]
transport refactor
rename transport_read to transport_read_pdu. This name is more
descriptive what the function actually does.
Bernhard Miklautz [Thu, 24 Jul 2014 14:29:46 +0000 (16:29 +0200)]
core: improve fast-path multifragment handling
* make sure fast-path packages are not fragmented if no
multifragment support was announced
* handle special server side case where the multifragment size
received from the client is smaller than one maximum fast-path
PDU size
Bernhard Miklautz [Tue, 22 Jul 2014 23:00:00 +0000 (01:00 +0200)]
Merge pull request #1973 from floppym/file-modes
Remove execute bit from many files
Mike Gilbert [Sun, 20 Jul 2014 04:52:35 +0000 (00:52 -0400)]
Remove execute bit from many files
Marc-André Moreau [Fri, 18 Jul 2014 21:26:21 +0000 (17:26 -0400)]
shadow: improve DXGI 1.2 error checking
Benoit LeBlanc [Fri, 18 Jul 2014 16:02:52 +0000 (12:02 -0400)]
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
Bernhard Miklautz [Fri, 18 Jul 2014 09:14:18 +0000 (11:14 +0200)]
Merge pull request #1970 from dbungert/cipher
Add arguments for managing tls ciphers & netmon
Marc-André Moreau [Fri, 18 Jul 2014 04:33:55 +0000 (00:33 -0400)]
shadow: make use of DXGI move rects
Marc-André Moreau [Fri, 18 Jul 2014 04:20:55 +0000 (00:20 -0400)]
shadow: improve DXGI frame info management
Marc-André Moreau [Fri, 18 Jul 2014 02:38:10 +0000 (22:38 -0400)]
shadow: initial Win8 DXGI 1.2 support
Marc-André Moreau [Fri, 18 Jul 2014 01:15:22 +0000 (21:15 -0400)]
shadow: initial windows server-side connectivity
Marc-André Moreau [Thu, 17 Jul 2014 22:27:40 +0000 (18:27 -0400)]
wfreerdp-server: restore Win8 DXGI 1.2 support
Marc-André Moreau [Thu, 17 Jul 2014 21:46:15 +0000 (17:46 -0400)]
Merge pull request #1971 from awakecoding/master
Win32 Visual Studio Version + Toolset Fixes, makecert improvements
Marc-André Moreau [Thu, 17 Jul 2014 21:34:51 +0000 (17:34 -0400)]
winpr-pool: fix header on non-Windows
Marc-André Moreau [Thu, 17 Jul 2014 21:33:33 +0000 (17:33 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
Marc-André Moreau [Thu, 17 Jul 2014 21:30:36 +0000 (17:30 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Thu, 17 Jul 2014 20:47:29 +0000 (16:47 -0400)]
winpr/makecert: improve command line options
Marc-André Moreau [Thu, 17 Jul 2014 19:11:04 +0000 (15:11 -0400)]
winpr: improve windows builds across visual studio versions and toolsets
Marc-André Moreau [Thu, 17 Jul 2014 16:02:47 +0000 (12:02 -0400)]
winpr: fix build on Windows with unit tests
Daniel Bungert [Thu, 17 Jul 2014 12:59:06 +0000 (06:59 -0600)]
Add arguments for managing tls ciphers & netmon
This adds 2 arguments:
/tls-ciphers List of permitted openssl ciphers - see ciphers(1)
/tls-ciphers-netmon Use tls ciphers that netmon can parse
With KB2919355, client/server negotiate the use of
TLS cipher TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
which works fine except that netmon can't parse it.
By adding commandline /tls-ciphers-netmon, we restrict
the available ciphers to a list that netmon can
deal with. Also adds /tls-ciphers, which
accepts a string arg, for further customization.
Marc-André Moreau [Wed, 16 Jul 2014 21:13:02 +0000 (17:13 -0400)]
winpr/tools/makecert: add pfx support
Marc-André Moreau [Wed, 16 Jul 2014 19:12:20 +0000 (15:12 -0400)]
shadow: disable 24bpp
Marc-André Moreau [Wed, 16 Jul 2014 18:11:37 +0000 (14:11 -0400)]
shadow: reduce resource usage in encoder
Bernhard Miklautz [Wed, 16 Jul 2014 14:17:20 +0000 (16:17 +0200)]
Merge pull request #1967 from nfedera/fix-2014-07-16-01
core: addd missing PlaySound server callback
Norbert Federa [Wed, 16 Jul 2014 13:38:10 +0000 (15:38 +0200)]
core: addd missing PlaySound server callback
Bernhard Miklautz [Wed, 16 Jul 2014 09:26:00 +0000 (11:26 +0200)]
Merge pull request #1961 from g-reno/master
android toolchain and CMakeLists.txt update
Marc-André Moreau [Wed, 16 Jul 2014 03:01:56 +0000 (23:01 -0400)]
shadow: stub Mac subsystem
Marc-André Moreau [Wed, 16 Jul 2014 00:09:19 +0000 (20:09 -0400)]
channels/remdesk: add PassStub generation
Marc-André Moreau [Tue, 15 Jul 2014 22:38:32 +0000 (18:38 -0400)]
channels/remdesk: initial dummy server-side remote assistance message parsing
Marc-André Moreau [Tue, 15 Jul 2014 20:34:15 +0000 (16:34 -0400)]
shadow: add basic server-side encomsp server
Marc-André Moreau [Tue, 15 Jul 2014 16:50:47 +0000 (12:50 -0400)]
shadow: reset encoder on reconnection
Vic Lee [Tue, 15 Jul 2014 03:42:12 +0000 (11:42 +0800)]
echo: add server echo channel api.
Vic Lee [Tue, 15 Jul 2014 03:36:35 +0000 (11:36 +0800)]
tls: fix some error handling.
Marc-André Moreau [Mon, 14 Jul 2014 22:44:15 +0000 (18:44 -0400)]
shadow: add support for older bitmap codecs
Marc-André Moreau [Mon, 14 Jul 2014 22:01:29 +0000 (18:01 -0400)]
shadow: add basic lobby functionality
Marc-André Moreau [Mon, 14 Jul 2014 17:33:20 +0000 (13:33 -0400)]
shadow: initial X11 multi-monitor support
Mike McDonald [Mon, 14 Jul 2014 13:59:57 +0000 (09:59 -0400)]
Added the ability to decode H.264 frames using libavcodec and refactored code to make it a little cleaner.
Gerry Reno [Mon, 14 Jul 2014 12:53:20 +0000 (08:53 -0400)]
android CMakeLists.txt: added else clause to test for v7 appcompat
Vic Lee [Mon, 14 Jul 2014 12:00:38 +0000 (20:00 +0800)]
server: allow partial channel read (fix rdpsnd).
Gerry Reno [Mon, 14 Jul 2014 11:58:32 +0000 (07:58 -0400)]
android toolchain: add back setting of ANDROID_SDK
Bernhard Miklautz [Mon, 14 Jul 2014 08:49:07 +0000 (10:49 +0200)]
Merge pull request #1960 from akallabeth/android-build-script-fix
Android build setup script fixes
Bernhard Miklautz [Mon, 14 Jul 2014 08:47:40 +0000 (10:47 +0200)]
Merge pull request #1958 from akallabeth/android-bookmark-fix
Android bookmark fix
Marc-André Moreau [Mon, 14 Jul 2014 01:20:36 +0000 (21:20 -0400)]
shadow: remove header include dependency on subsystem
Marc-André Moreau [Sun, 13 Jul 2014 23:42:57 +0000 (19:42 -0400)]
shadow: add support for frame acks
Marc-André Moreau [Sun, 13 Jul 2014 21:30:39 +0000 (17:30 -0400)]
shadow: improve X11 event handling
Marc-André Moreau [Sun, 13 Jul 2014 19:58:31 +0000 (15:58 -0400)]
shadow: consolidate X11 subsystem code
Gerry Reno [Sun, 13 Jul 2014 18:54:48 +0000 (14:54 -0400)]
android CMakeLists.txt: added support for both 'support' and 'compatibility' in support library path for v7 appcompat
supports path styles:
$ANDROID_SDK/extras/android/support/v7/appcompat
$ANDROID_SDK/extras/android/compatibility/v7/appcompat
Gerry Reno [Sun, 13 Jul 2014 12:40:58 +0000 (08:40 -0400)]
cmake: android toolchain set ANDROID_DEFAULT_NDK_API_LEVEL 9
Gerry Reno [Sun, 13 Jul 2014 12:34:48 +0000 (08:34 -0400)]
cmake: android toolchain update to latest upstream
AndroidToolchain.cmake: updated from https://github.com/taka-no-me/android-cmake/raw/master/android.toolchain.cmake
Armin Novak [Sun, 13 Jul 2014 11:35:11 +0000 (13:35 +0200)]
* Fixed android setup script, if run as update. (git fetch instead of git pull)
* Checking return of openssl build now and inform about build errors.
Marc-André Moreau [Sat, 12 Jul 2014 05:18:08 +0000 (01:18 -0400)]
shadow: hook X11 input
Marc-André Moreau [Sat, 12 Jul 2014 04:01:29 +0000 (00:01 -0400)]
shadow: start hooking X11 subsystem with shadow server core
Marc-André Moreau [Sat, 12 Jul 2014 03:01:34 +0000 (23:01 -0400)]
shadow: start structuring X11 code as shadow subsystem
Marc-André Moreau [Sat, 12 Jul 2014 00:49:56 +0000 (20:49 -0400)]
shadow: stub more components
Marc-André Moreau [Fri, 11 Jul 2014 23:30:40 +0000 (19:30 -0400)]
shadow: start hooking X11 code as subsystem
Marc-André Moreau [Fri, 11 Jul 2014 22:30:56 +0000 (18:30 -0400)]
shadow: reduce X11 code
Marc-André Moreau [Fri, 11 Jul 2014 22:00:33 +0000 (18:00 -0400)]
shadow: further consolidate old X11 server code