Commit Graph

6837 Commits

Author SHA1 Message Date
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
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
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
Marc-André Moreau
4f00408c37 Merge pull request #1941 from eledoux/master
Serial ports redirection based on winpr-comm
2014-07-05 15:33:13 -04:00
Mike McDonald
bcec880d29 Merge branch 'egfx' of https://github.com/awakecoding/FreeRDP into egfx 2014-07-05 06:52:27 -04:00
Mike McDonald
a539e8c20e Updated coefficients for YUV to RGB conversion to match Microsoft, updated clip function, and added an initial implementation for upconverting 4:2:0 to 4:4:4. 2014-07-05 06:51:57 -04:00
Hardening
4bb910fec5 Fixed a typo 2014-07-04 22:14:04 +02:00
Emmanuel Ledoux
2d48323865 winpr-comm: UGLY: attempt to resolve the linking issue below specific to debian-squeeze. This might end up in some circular dependencies...
Linking C executable ../../../../Testing/TestInterlocked
	../../handle/libwinpr-handle.so.1.1.0: undefined reference to `LeaveCriticalSection'
2014-07-04 18:02:35 +02:00
Emmanuel Ledoux
80f641c38a winpr-comm, serial: excluded Android platforms as well 2014-07-04 17:40:06 +02:00
Emmanuel Ledoux
4fad947cb4 serial: implementation still __linux__ specific (even though not much remains to do to be platform agnostic at this stage) 2014-07-04 16:57:25 +02:00
Emmanuel Ledoux
7bbeff3427 winpr-comm: made its current implementation verific specific to __linux__ since it was done on top of NTTY. 2014-07-04 16:16:26 +02:00
Hardening
16681cc91a Fix header inclusion 2014-07-04 16:11:19 +02:00
Hardening
4b3dc22a79 Fix missing include for macOS 2014-07-04 15:29:21 +02:00
Hardening
bf53f044bd Fix missing include 2014-07-04 15:18:50 +02:00
Emmanuel Ledoux
9217de3bb1 winpr-utils: WLog_PrintMessageVA, include stdarg.h from wlog.h instead of wlog.c 2014-07-04 14:52:13 +02:00
Armin Novak
abda0b1830 Removed unused welcome screen. 2014-07-04 14:43:32 +02:00
Armin Novak
cdef682fe2 Moved common resources to top asset folder, adjusted html references.
Removed unused asset folder.
2014-07-04 14:32:59 +02:00
Emmanuel Ledoux
37dc55d7c2 winpr-comm: fixed QueryCommDevice() when used with some wide characters 2014-07-04 12:24:41 +02:00
Mike McDonald
07351ddff4 Fixed issue with last merge. 2014-07-04 03:52:05 -04:00
Mike McDonald
0ddd52a7db Merged branch 'egfx' of github.com:awakecoding/FreeRDP into egfx 2014-07-04 03:16:55 -04:00