Commit Graph

8124 Commits

Author SHA1 Message Date
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
Armin Novak
2f57cca71c Moved arraylist remove to dvcman_close_channel
This ensures, that the resources are also cleaned up if no channel
listener was registered.
2015-01-21 14:16:23 +01:00
Armin Novak
256c64fbed Fixes cleanup when closing a dynamic channel.
The resource cleanup was executed twice for each dynamic channel.
Now cleaning up the resources by array list free callback and only
when closing the channel.
2015-01-21 12:58:18 +01:00
Marc-André Moreau
bf7b2ef445 Merge pull request #2326 from bmiklautz/wl_version_fix
build: set minimum wayland version to 1.3.0
2015-01-21 06:45:54 -05:00
Bernhard Miklautz
421d5858e9 build: set minimum wayland version to 1.3.0 2015-01-21 12:33:39 +01: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
Armin Novak
34b700dd0f Preventing channels from being loaded twice
Skipping channels already loaded in freerdp_channels_client_load
This prevents channels already loaded in a context to be added a
second time to the channel list.
2015-01-20 18:01:33 +01:00
Marc-André Moreau
ee51da8500 channels/smartcard: cleanup debug output 2015-01-20 11:16:37 -05:00
Marc-André Moreau
e5dee8fd3a Merge pull request #2321 from awakecoding/master
SmartCard Robustness, Revert broken channel loading
2015-01-20 10:55:15 -05:00
Marc-André Moreau
4fe932f21f libfreerdp-core: cleanup redirection debug output 2015-01-20 10:46:32 -05:00
Norbert Federa
bd345ed416 build/win32: fix static build
version.rc must only be included in client executable
2015-01-20 16:23:05 +01:00
Marc-André Moreau
9bc32c2a85 Revert "Moved channel loading, now only loading before connect."
This reverts commit f7756efca6.
2015-01-20 10:15:37 -05:00
Marc-André Moreau
b057d1eaf7 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2015-01-20 09:29:21 -05:00
Marc-André Moreau
8e7b80b25a Merge pull request #2319 from akallabeth/channel_reconnect_fix
Channel reconnect fix
2015-01-20 07:22:25 -05:00
Armin Novak
ecad3d5b5c Fixed iOS undeclared identifier error. 2015-01-20 12:42:02 +01:00
Armin Novak
b6d0ce797b Fixed variable initialisation and cleanup. 2015-01-20 12:31:43 +01:00
Armin Novak
4d08528f89 Fixed variable initialisation and cleanup. 2015-01-20 12:31:39 +01:00
Armin Novak
97988b4868 Fixed variable initialisation and cleanup. 2015-01-20 12:31:37 +01:00
Armin Novak
cadd2675f6 Fixed variable initialisation and cleanup. 2015-01-20 12:31:30 +01:00
Armin Novak
ac81b9ddf5 Fixed variable initialisation and cleanup. 2015-01-20 12:31:26 +01:00
Armin Novak
557e8bb938 Fixed variable initialisation and cleanup. 2015-01-20 12:31:21 +01:00
Armin Novak
6170aba5fb Fixed variable initialisation and cleanup. 2015-01-20 12:31:16 +01:00