Commit Graph

6857 Commits

Author SHA1 Message Date
Gerry Reno 6ecb8131a4 android toolchain: add back setting of ANDROID_SDK 2014-07-14 07:58:32 -04:00
Gerry Reno d06ed2fa2f 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
2014-07-13 14:54:48 -04:00
Gerry Reno 9fa451428b cmake: android toolchain set ANDROID_DEFAULT_NDK_API_LEVEL 9 2014-07-13 08:40:58 -04:00
Gerry Reno a640428905 cmake: android toolchain update to latest upstream
AndroidToolchain.cmake: updated from https://github.com/taka-no-me/android-cmake/raw/master/android.toolchain.cmake
2014-07-13 08:34:48 -04:00
Marc-André Moreau 4d3ea77972 Merge pull request #1917 from SBoyNumber1/BitmapCacheV3OnAndroid
Added detect of uncompressed data in CACHE_BITMAP_REV3_ORDER. According ...
2014-07-11 16:35:11 -04:00
Marc-André Moreau 61b35e2e8f Merge pull request #1948 from jbd1986/fix-french-canadian
I am making several changes to clean up French Canadian keyboard defs.
2014-07-11 16:34:43 -04:00
Bernhard Miklautz c99d4648ff Merge pull request #1950 from hardening/kill_select
kill the last remaining select() in libfreerdp
2014-07-11 16:41:31 +02: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
Bernhard Miklautz 39d78ba707 Merge pull request #1954 from nfedera/fix-2014-07-10-01
transport_read: ensure stream buf size >= pdu size
2014-07-11 15:08:10 +02:00
Bernhard Miklautz 97fec44eed Merge pull request #1823 from akallabeth/cmake-library-noversion
Build library without SOVERSION
2014-07-11 13:21:12 +02:00
Armin Novak f05e872009 Now usin ON/OFF to set library versioning. 2014-07-11 13:07:36 +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
Marc-André Moreau 71c380830c Merge pull request #1957 from hardening/ssl_deco_fix
Fix unclean SSL disconnection
2014-07-10 17:45:43 -04:00
Hardening 3fce288c66 Fix unclean SSL disconnection
This patch prevent an infinite loop when the remote peer disconnect
the socket without cleanly closing the SSL connection.
2014-07-10 23:35:11 +02:00
Marc-André Moreau 1a192f552b Merge pull request #1956 from bmiklautz/feat/monolithic
monolithic winpr
2014-07-10 17:02:43 -04: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
Norbert Federa c206a35c12 transport_read: ensure stream buf size >= pdu size
Without this check a simple nc < /dev/urandom server:3389 could
kill the server instantly.
2014-07-10 12:09:48 +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 1d8e2fc95f Merge pull request #1953 from awakecoding/master
Fix _aligned_realloc() when resizing to smaller size
2014-07-09 20:26:03 -04:00
Marc-André Moreau 2e1f6b0c6d libwinpr-crt: fix realloc to smaller size 2014-07-09 20:10:33 -04:00
Justin DeFields eeeaa1f4df Fixed typo and changed Canadian French (legacy) to 0x00000c0c which most online docs support. 2014-07-09 10:09:43 -04:00
Hardening 6223460557 kill the last remaining select() in libfreerdp 2014-07-09 11:28:41 +02:00
Justin DeFields 00b01f1b4e I am making several changes to cleanup French Canadian, with the end result being: ca,fr -> Canadian French ca,fr-legacy -> Canadian English ca,eng -> Canadian English. Currently ca,fr isn't defined, ca,fr-legacy thinks it's Canadian French and it isn't anyway because the value is wrong for that definition, and ca,eng is US. 2014-07-08 16:51:50 -04:00
Marc-André Moreau 17102fd42c Merge pull request #1947 from awakecoding/egfx
[MS-RDPEGFX] ClearCodec, H264, YCbCr
2014-07-08 16:12:03 -04:00
Marc-André Moreau ee8c0906f0 libfreerdp-codec: fix strict aliasing warnings in ncrush code 2014-07-08 15:59:23 -04:00
Marc-André Moreau c492017fa1 libfreerdp-codec: fix build bot warnings 2014-07-08 15:48:29 -04:00
Marc-André Moreau ac7d23b9a3 libfreerdp-gdi: migrate to _aligned_malloc/_aligned_free 2014-07-08 15:07:19 -04:00
Marc-André Moreau c16000e67b Merge branch 'master' of github.com:FreeRDP/FreeRDP into egfx 2014-07-08 12:29:30 -04:00
Marc-André Moreau 8516846999 libfreerdp-client: cleanup gfx options 2014-07-08 12:29:08 -04:00
Marc-André Moreau 1a32c2e33e Merge branch 'egfx' of github.com:vworkspace/FreeRDP into egfx 2014-07-08 12:20:30 -04:00
Marc-André Moreau 31b6459484 libfreerdp-codec: don't use posix_memalign 2014-07-08 12:18:41 -04:00
Marc-André Moreau a0dad3fa87 Merge branch 'master' of https://github.com/dpoe/FreeRDP into egfx 2014-07-08 12:13:11 -04:00
Marc-André Moreau 2f26ed58e5 libfreerdp-codec: reduce ClearCodec memory usage 2014-07-08 11:37:27 -04:00
Bernhard Miklautz c005205795 Merge pull request #1944 from nfedera/fix-2014-07-07-01
xfreerdp: xfixes selection ownership notification
2014-07-08 16:36:54 +02: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
Bernhard Miklautz 246e7a0196 Merge pull request #1946 from akallabeth/android-openssl-build-tag
Openssl makefile repo now checked out with specific TAG.
2014-07-08 12:54:16 +02:00
Armin Novak 80e6a055fb Updated OpenSSL tag to 1.0.1h-fips-2.0.7
Using ndk-build from ANDROID_NDK now if available, fallback to path.
2014-07-08 12:44:35 +02:00
Armin Novak 4b901aa3a9 Openssl makefile repo now checked out with specific TAG. 2014-07-08 10:20:13 +02:00
Marc-André Moreau d6a37d641e libfreerdp-codec: fix C++ headers 2014-07-07 22:24:17 -04:00
Marc-André Moreau 465ecb02a1 libfreerdp-codec: fix ClearCodec short vbar cache hit 2014-07-07 16:50:19 -04:00
Marc-André Moreau 44edb3025f libfreerdp-codec: improve ClearCodec error checking 2014-07-07 15:48:56 -04:00
Norbert Federa 196330111b xfreerdp: xfixes selection ownership notification
The X11 core protocol does not have support for selection ownership
notifications. Until now xfreerdp worked around this issue by always sending
a format list pdu to the server after sending the format data response pdu
which makes the server side think that the clients clipboard data has changed.

This workaround has some severe drawbacks:
* it causes unnecessary data transfers because even without local clipboard
  data changes the same data is always re-transferred over the channel
* with some clipboard managers (in the server sessions) you will get massive
  endless data transfer loops because these managers immediately request the
  data on clipboard changes.

The correct (core X11) way would be polling for selection ownership changes
which must include the ability to detect changes to the TIMESTAMP target if
the selection owner did not change.
The alternative to the poll based approach is using the X Fixes extension in
order to get selection ownership notifications.

This commit adds support for the XFIXES solution and also moves the complete
clipboard related event handling from xf_event.c to xf_cliprdr.c
2014-07-07 20:31:23 +02:00
Marc-André Moreau 7489675ab9 libfreerdp-codec: fix ClearCodec RLEX decoding 2014-07-07 14:16:05 -04:00
Marc-André Moreau 9474784070 libfreerdp-codec: ClearCodec fix error codes and wrapping around of cursors 2014-07-07 12:17:37 -04:00
Hardening f09076e4d2 Add a guard on nCount with MAXIMUM_WAIT_OBJECTS + cosmetic fixes 2014-07-07 14:50:05 +02:00
Hardening fd7b8170dc Fix invalid timeout
timeout was set to 1000ms while in the old code it was 1000us. As 1ms
seems too small set it to 10ms.
2014-07-07 10:44:57 +02:00
Martin Fleisz 190cd55e45 Merge pull request #1933 from akallabeth/android-localized-assets
Android localized assets
2014-07-07 09:46:00 +02:00
Marc-André Moreau 0ed7d3e6be libfreerdp-codec: fix some ClearCodec flag checking 2014-07-05 16:29:28 -04:00
Marc-André Moreau cd78e87525 Merge branch 'egfx' of github.com:vworkspace/FreeRDP into egfx 2014-07-05 15:35:37 -04:00