Commit Graph

8197 Commits

Author SHA1 Message Date
Giovanni Panozzo
7ceafe190e Fix channels_free for multiple connected clients
When a client disconnects from a server and its channel structures are removed, the global hash g_OpenHandles should not be destroyed. Only freed channels must be removed from the hash.
2015-02-01 10:57:54 +01:00
Marc-André Moreau
85191391d5 libfreerdp-core: simplify TS Gateway RPC fragment receiving 2015-01-31 16:56:25 -05:00
Marc-André Moreau
5e53063d55 channels/smartcard: fix SCardTransmit pioRecvPci parsing 2015-01-31 12:27:48 -05:00
Roland Kaufmann
d930431169 Forward layout ID of Programmer Dvorak to server
The Programmer Dvorak keyboard layout is supported by Xkb but support
in Windows is only available through an open-source add-on driver. It
is plausible that those that use this layout in X11 also installs this
driver on Windows instead of using the standard Dvorak variant there.

This changeset recognizes Programmer Dvorak as its own variant, and
assigns this a layout ID which matches the one used in the Windows
driver so that it will be selected when you logon. If this layout is
not available, it will now revert to the regular United States layout.

Tested with Ubuntu Precise 12.04 connecting to Windows 7 SP1.
2015-01-30 21:22:59 +01:00
Marc-André Moreau
5cdc464933 libfreerdp-core: warn but do not fail in freerdp_tcp_set_keep_alive_mode 2015-01-30 11:34:09 -05:00
Marc-André Moreau
ee17750633 Merge pull request #2348 from awakecoding/socket
FreeRDP Wait Events
2015-01-30 11:10:58 -05:00
Marc-André Moreau
7c6948cd5c xfreerdp: make use of freerdp_get_event_handles 2015-01-30 09:47:02 -05:00
Armin Novak
6229d6218e Added additional search path suffix for OpenH264. 2015-01-30 08:54:10 +01:00
Armin Novak
b5c7093477 Fixed OpenSSL version regex
Starting with OpenSSL 1.0.2 source code is reformatted.
This patch takes care of the differences in the define
spacing.
2015-01-30 08:54:10 +01: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
77b6a20223 Merge pull request #2346 from awakecoding/gateway
Win32 Gateway Fix
2015-01-29 15:00:37 -05:00
Marc-André Moreau
c6b6bd0a57 Merge branch 'master' of github.com:FreeRDP/FreeRDP into gateway 2015-01-29 14:51:40 -05:00
Bernhard Miklautz
86ab147399 Merge pull request #2337 from bmiklautz/ci/preloads
ci update cmake preloads and build fix
2015-01-29 20:48:06 +01:00
Marc-André Moreau
ef71181897 libfreerdp-core: fix Win32 gateway authentication 2015-01-29 14:07:02 -05:00
Marc-André Moreau
b387708069 libfreerdp-core: fix Win32 socket event handle 2015-01-29 11:35:52 -05:00
Adam Borowski
15d5037df4 Fix build failure on x32.
Unlike i386, x32 can't accept -march=i686 but wants -fPIC, same as amd64
(both are x86_64 ABIs after all).  Thus, check for the __x86_64__ define
instead of pointer width.
2015-01-29 05:50:12 +01:00
Marc-André Moreau
bb67968141 libfreerdp-core: cleanup transport debug output 2015-01-28 15:37:20 -05:00
Marc-André Moreau
977cd21919 libfreerdp-core: don't enable GatewayBypassLocal by default 2015-01-28 15:16:31 -05:00
Marc-André Moreau
a9df86ab16 libfreerdp-core: update gateway code for Windows 2015-01-28 14:54:03 -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
Marc-André Moreau
32a991c165 libfreerdp-core: move socket event and nonblock options to socket BIO 2015-01-27 21:18:26 -05:00
Marc-André Moreau
bc857776fb Merge branch 'master' of github.com:FreeRDP/FreeRDP 2015-01-27 15:55:52 -05: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
c76847dafc Merge branch 'master' of github.com:awakecoding/FreeRDP 2015-01-27 14:54:49 -05:00
Bernhard Miklautz
4eb1054927 build: Disable ALSA on OS X 2015-01-27 01:16:24 +01:00
Bernhard Miklautz
b1c5d10feb ci: update os x preload
* enable testing
* build cups
* enable x11
2015-01-27 01:07:07 +01:00
Bernhard Miklautz
07b9988ddd ci: add cmake preload for linux
Enable debugging and most features to cover as much code paths as
possible.
2015-01-27 00:24:21 +01:00
Marc-André Moreau
447ea28afa Merge pull request #2335 from nfedera/fix-2015-01-26-01
drdynvc: fix segfaults and a compiler warning
2015-01-26 14:54:08 -05:00
Norbert Federa
70c8acdd67 drdynvc: fix segfaults and a compiler warning
If we send a negative creation status while processing the DVC create
response pdu in drdynvc_process_create_request() we must also close
the created channel. Otherwise we will get duplicated channel IDs
in the channel manager's array list because the server will
eventually reuse the channel ids which we have reported as failed in
previous creation responses.
In order to protect the client from duplicated IDs sent by buggy or
malicious servers I've added an appropriate check in
dvcman_channel_new() which will now return NULL in this case.
Also added a missing NULL check for the result of dvcman_channel_new()
in dvcman_create_channel().
2015-01-26 19:26:38 +01:00
Bernhard Miklautz
adcc7020bf pkg/rpm: update spec file to build on opensuse 2015-01-24 00:53:46 +01:00
Marc-André Moreau
bcc702346f channels/smartcard: fix buffer read alignment in SCardTransmit parsing 2015-01-23 14:19:15 -05:00
Bernhard Miklautz
d16efe92c0 Remove old unmaintained spec file 2015-01-23 14:55:07 +01:00
Bernhard Miklautz
126888019e pkg/rpm: add initial version of freerdp-nightly 2015-01-23 02:06:12 +01:00
Marc-André Moreau
0146927605 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2015-01-22 16:07:25 -05:00
Marc-André Moreau
bcf3a551c4 libwinpr-utils: fix Win32 undefined function write error 2015-01-22 16:06:18 -05:00
Marc-André Moreau
b73e61de6b Merge pull request #2320 from nfedera/fix-2015-01-20-01
build/win32: fix static build
2015-01-22 16:05:55 -05:00
Marc-André Moreau
27af9786e2 Merge pull request #2322 from akallabeth/channel_load_once
Preventing channels from being loaded twice
2015-01-22 16:05:41 -05:00
Marc-André Moreau
62d1276a0a Merge pull request #2330 from akallabeth/h264_decoder_fix
Fixed buffer size checks in h264_decompress
2015-01-22 16:05:09 -05:00
Marc-André Moreau
1ad5299a1c Merge pull request #2327 from akallabeth/dynamic_channel_cleanup_fix
Fixes cleanup when closing a dynamic channel.
2015-01-22 16:04:39 -05:00
Marc-André Moreau
b4a456a3ea Merge pull request #2328 from bmiklautz/pkg_deb
initially add .deb packaging
2015-01-22 13:00:56 -05:00
Armin Novak
dd9e1879b6 Updated h264_decompress arguments. 2015-01-22 13:24:33 +01:00
Armin Novak
7fc9f98d3c Updated h264_decompress arguments. 2015-01-22 13:24:15 +01:00
Armin Novak
3c7b611041 Added destination buffer width to h264_decompress. 2015-01-22 13:23:59 +01:00
Armin Novak
d42261f5eb Added destination buffer width to h264_decompress.
Added proper region limit checks in h264_decompress.
2015-01-22 13:22:53 +01:00
Armin Novak
c43faeec0a Removed broken buffer size check.
To check the decoded h264 frame size against the output buffer is wrong.
The size of the output buffer must only hold the data defined by the
region rectangles.
2015-01-22 13:06:37 +01:00
Bernhard Miklautz
418735d8fa pkg/deb: add workaround for cmake <= 2.8.10
PACKAGES are not exported with cmake <= 2.8.10 therefore always create
lib/cmake directory that install doesn't fail
2015-01-22 01:57:32 +01:00
Bernhard Miklautz
8c4e4364cd pkg/deb: install libraries to lib
Recent cmake versions (starting with 3.0) don't use multiarch
libdir when the install prefix is not /usr. To have the same library
directory for all packages explicitly set CMAKE_INSTALL_LIBDIR to lib.
2015-01-22 01:35:38 +01:00
Bernhard Miklautz
05f2872520 packaging/deb: add prepare_deb_freerdp-nightly.sh
* this script is used to prepare the source tree for freerdp-nightly
 packaing
* update .gitignore accordingly
2015-01-22 00:03:19 +01:00
Bernhard Miklautz
7d90b19328 packaging/deb: initial version of freerdp-nightly 2015-01-22 00:00:02 +01:00