Armin Novak
2958a2c0c5
Fixed memory leaks.
2014-11-17 01:00:55 +01:00
Armin Novak
037c612c33
Fixed memory leak.
2014-11-17 00:58:43 +01:00
Armin Novak
e4b33efdb2
Fixed memory leak.
2014-11-17 00:56:56 +01:00
Armin Novak
dac7c178a1
Fixed memory leak.
2014-11-17 00:44:22 +01:00
Armin Novak
458f948c7a
Fixed memory leak.
2014-11-17 00:41:06 +01:00
Armin Novak
a9cfb1d07b
Fixed memory leak.
2014-11-17 00:37:29 +01:00
Armin Novak
aa92017d86
Fixed memory leak.
2014-11-17 00:36:50 +01:00
Armin Novak
a594a15220
Fixed memory leaks.
2014-11-17 00:28:17 +01:00
Armin Novak
bde7b156a8
Fixed uninitialized data warning.
2014-11-17 00:05:12 +01:00
Armin Novak
9e5be6f7e8
Fixed API nonnull warning.
2014-11-17 00:00:09 +01:00
Armin Novak
e52fdc805a
Fixed API nonnull warning.
2014-11-16 23:56:51 +01:00
Armin Novak
3a92a626fc
Fixed memory leaks.
2014-11-16 23:11:28 +01:00
Armin Novak
585d9101b7
Fixed memory leaks.
2014-11-16 23:06:03 +01:00
Armin Novak
07051fb3d1
Fixed memory leaks.
2014-11-16 23:00:13 +01:00
Armin Novak
e8c7d97c9d
Fixed memory leaks.
2014-11-16 22:58:36 +01:00
Armin Novak
ce3e70840c
Fixed uninitialized value.
2014-11-16 22:22:44 +01:00
Armin Novak
cef228d0f4
Fixed memory leak.
2014-11-16 15:54:37 +01:00
Armin Novak
b5d7c30639
Added support for OpenH264v1.2
2014-11-16 14:32:52 +01:00
Armin Novak
8d4589b1e1
Replaced fprintf error messages with WLog.
2014-11-16 12:21:38 +01:00
Marc-André Moreau
496ce10637
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-11-15 12:37:29 -05:00
Marc-André Moreau
7300f5efdb
Merge pull request #2206 from nfedera/fix-2014-11-12-01
...
libfreerdp-codec: fix mppc decompression
2014-11-14 10:39:44 -05:00
Norbert Federa
be7a10e660
core: use zero padding in suppress output pdu
...
Some legacy rdp servers seem to expect a zero padding after the
allowDisplayUpdates byte, probably because they incorrectly parse the
value as uint32.
2014-11-14 11:25:05 +01:00
Norbert Federa
7c0c905683
libfreerdp-codec: fix mppc decompression
...
* protect against history buffer overflows
* fix replicating copy (CopyOffset can be > HistoryBufferSize!)
2014-11-13 14:55:15 +01:00
Marc-André Moreau
1c9231acf8
libfreerdp-rail: remove
2014-11-12 19:51:17 -05:00
Marc-André Moreau
ddedc574f3
freerdp: remove tcp, uds utils
2014-11-12 14:06:34 -05:00
Marc-André Moreau
8c98cbc247
libfreerdp-utils: remove old time utils
2014-11-12 13:45:03 -05:00
Marc-André Moreau
986dae429b
freerdp: remove deprecated svc_plugin.c utils
2014-11-12 13:34:07 -05:00
Marc-André Moreau
0e7c95c421
freerdp: remove deprecated eventing system
2014-11-12 13:18:18 -05:00
Marc-André Moreau
589c21d819
libfreerdp-utils: remove rail utils
2014-11-12 10:18:53 -05:00
Marc-André Moreau
68ee5df7d9
winpr: fix build warnings
2014-11-11 11:21:34 -05:00
Marc-André Moreau
a48ed7239d
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/core/update.c
2014-11-11 09:55:48 -05:00
Marc-André Moreau
e685acdbc5
Merge pull request #2194 from hopToDev/master
...
Added SIGPIPE handling for iOS.
2014-11-11 09:43:38 -05:00
Martin Fleisz
53f38d3e89
Merge pull request #2189 from llyzs/llyzs
...
Support Continuous Auto-Detection.
2014-11-11 08:42:48 +01:00
Vic Lee
36f0281ff8
libfreerdp-core: auto-detect defines.
2014-11-11 10:14:44 +08:00
Marc-André Moreau
ee7299ec3f
channels/tsmf: remove dependency on deprecated eventing system
2014-11-10 16:33:34 -05:00
Mehul Dhorda
256eab682b
Added SIGPIPE handling for iOS.
2014-11-10 11:52:29 -08:00
Marc-André Moreau
b7c6e9c050
Merge pull request #2188 from hopToDev/master
...
Ignore T.128 FlowPDU in Share Control header
2014-11-10 13:54:12 -05:00
Marc-André Moreau
a6bb185760
channels/tsmf: add new callback interface
2014-11-07 18:33:45 -05:00
Mike McDonald
7d5963a1e6
Fixed crash caused by trying to cast and dereference a NULL hChannel.
2014-11-07 18:06:14 -05:00
Mehul Dhorda
e8b8ae1900
Added comment to clarify flow control PDU fields.
2014-11-07 14:58:58 -08:00
Marc-André Moreau
bfdd3bd606
libfreerdp-gdi: fix bitmap update scanline size
2014-11-07 17:19:46 -05:00
Vic Lee
8eaeeebecc
libfreerdp-core: support continuous auto-detection.
2014-11-07 16:18:49 +08:00
Marc-André Moreau
a538e791b3
shadow: add improved pointer updates
2014-11-06 17:25:41 -05:00
Mehul Dhorda
29c42cfc0e
Fixed incorrect values for PDUTypeFlow.
...
Swapped values for PDU_TYPE_FLOW_RESPONSE and PDU_TYPE_FLOW_STOP to
match the T.128 spec.
2014-11-06 10:08:58 -08:00
Mehul Dhorda
f64d620a3b
Ignore T.128 FlowPDU in Share Control header
...
According to the Microsoft RDP specification, T.128 flow control PDUs
should be ignored when reading Share Control headers.
(http://msdn.microsoft.com/en-us/library/cc240576.aspx ). This patch
checks if we got a flow control PDU (length = 0x8000) and advances the
stream to ignore the PDU.
2014-11-05 11:32:46 -08:00
Marc-André Moreau
c5c9423ccf
winpr: fix Win32 build warnings
2014-11-04 10:44:55 -05:00
Hardening
e04f90eada
Offer to disable bulk compression when using remoteFx
...
This patch adds a skipCompression field in surface commands struct so that
we can disable bulk compression with remoteFx.
2014-11-04 16:14:53 +01:00
Vic Lee
18428a43d0
libfreerdp-core: distinguish continuous/connect-time autodetect.
2014-11-04 13:41:04 +08:00
Hardening
7b108f1aa8
Merge pull request #2141 from zhangzl2013/polyline
...
fix polyline.
2014-10-31 22:15:13 +01:00
Martin Fleisz
0be28ba0f6
Merge pull request #1965 from akallabeth/dynamic-addin-naming
...
Dynamic channel library naming
2014-10-31 13:42:16 +01:00
Marc-André Moreau
d323753a9e
Merge pull request #2180 from nfedera/fix-2014-10-31-01
...
codec: fix pointer data conversion + 24bpp support
2014-10-31 07:49:32 -04:00
Martin Fleisz
d58c6de93c
Merge pull request #2134 from akallabeth/windows_version_information
...
Windows version information
2014-10-31 12:23:11 +01:00
Norbert Federa
ea0d8a280c
codec: fix pointer data conversion + 24bpp support
...
- alpha values were annihilated (fixed)
- support 24bit xor mask data added
2014-10-31 12:18:08 +01:00
Norbert Federa
62dbcac0c7
xfreerdp: fix glyph index primary drawing order
...
The fOpRedundant field of the GlyphIndex primary drawing order
(MS-RDPEGDI, chapter 2.2.2.2.1.1.2.13) was neglected which resulted in some
severe text rendering errors.
2014-10-29 20:56:26 +01:00
Vic Lee
152d525a05
libfreerdp-core: server-side auto-detect feature.
2014-10-29 00:49:49 +08:00
Vic Lee
0e7797ffca
libfreerdp-core: server-side mcs message channel.
2014-10-29 00:49:27 +08:00
Marc-André Moreau
2de73e0243
Merge pull request #2130 from eosrei/2056/ts-gateway-connect-fail
...
Removing TS Gateway breaking BIO_clear_flags() call
2014-10-25 11:52:29 -04:00
Marc-André Moreau
02646b349f
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/core/gcc.c
2014-10-25 10:29:06 -04:00
Marc-André Moreau
765150e3ed
libfreerdp-codec: fix incorrect pixel increment in freerdp_image24_copy
2014-10-23 15:50:24 -04:00
Marc-André Moreau
ce7302a999
wfreerdp: cleanup clipboard
2014-10-22 22:32:55 -04:00
Marc-André Moreau
25dd984812
Merge branch 'awakecoding-staging' of github.com:vworkspace/FreeRDP
2014-10-22 20:17:13 -04:00
Norbert Federa
9c2e90df7d
core: fix pointer caps, slowpath kbd and a gcc fix
...
* According to MS-RDPBCGR 2.2.7.1.5 the pointerCacheSize is optional
and its absence or a zero value indicates missing client support for
the New Pointer Update.
* Added and fixed some comments regarding the meaning of the KBDFLAGS_DOWN
keyboard flag and how it is currently used in the code.
"Fixed" the slow path keyboard input to generate the same keyboard flags
as the corresponding fast path code.
* Some arbitrary value was used for the ConnectPDULength in the GCC
Conference Create Response. According to MS-RDPBCGR 4.1.4 this value must
be ignored by the client so we encode a zero value instead.
2014-10-22 12:27:07 +02:00
Bernhard Miklautz
4dcc0957f1
Fix build on windows
...
Problem was introduces by a non pull request push for ipv6 support
2014-10-22 12:16:40 +02:00
Marc-André Moreau
23e4963102
xfreerdp: remove dependency on clrconv
2014-10-21 22:19:11 -04:00
Marc-André Moreau
5f95f0776f
libfreerdp-codec: add freerdp_image_copy_from_monochrome replacement function for deprecated freerdp_mono_image_convert
2014-10-21 21:56:10 -04:00
Marc-André Moreau
0aab1e7ee5
libfreerdp-codec: fix and enhance cursor image conversion
2014-10-21 20:46:15 -04:00
Mike McDonald
5fa6fa7013
Merge branch 'master' of https://github.com/awakecoding/FreeRDP into awakecoding-staging
2014-10-20 14:42:46 -04:00
Jean-Louis Dupond
0dc0e01568
Add ipv6 client support
2014-10-17 12:08:39 +02:00
Marc-André Moreau
1d47b16f3c
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-10-14 20:59:37 -04:00
Marc-André Moreau
26556323c0
libfreerdp-color: fix 24bpp copy
2014-10-14 20:59:22 -04:00
Marc-André Moreau
02987bbd4a
libfreerdp-codec: add 24bpp to 24bpp color conversion
2014-10-13 12:29:06 -04:00
Marc-André Moreau
a0bab75cff
libfreerdp-codec: fix graphical artifacts with interleaved RLE
2014-10-13 11:39:21 -04:00
Marc-André Moreau
00e3533230
libfreerdp-core: expose API for FreeRDS WTSVirtualChannelRead
2014-10-10 17:19:38 -04:00
Marc-André Moreau
11ae267518
libfreerdp-core: expose new API to allow FreeRDS virtual channel hooking
2014-10-10 16:11:42 -04:00
Armin Novak
22c775988b
Using global RC_VERSION_PATCH now.
2014-10-09 16:20:32 +02:00
Marc-André Moreau
9ce862edc8
Merge pull request #2135 from erbth/wfreerdp
...
Added lock key synchronization to wfreerdp
2014-10-09 09:05:58 -04:00
Zhang Zhaolong
3de5c62bf3
fix polyline.
2014-10-09 18:11:38 +08:00
Brad
0746d8c14c
Do not BIO_clear_flags() when the SSL error is not valid to fix #2056
2014-10-08 00:00:36 -07:00
Marc-André Moreau
d6a2f76dd6
libfreerdp-core: server-side virtual channel code style cleanup
2014-10-07 14:56:57 -04:00
erbth
58c392e72e
Added lock key synchronization to wfreerdp
2014-10-03 16:27:47 +02:00
Armin Novak
5364a834c4
Added windows version information to build.
2014-10-03 15:17:40 +02:00
Bernhard Miklautz
f40053577f
core: add support for set keyboard indicators PDU
...
Server Set Keyboard Indicators PDU MS-RDPBCGR 2.2.8.2.1
* add server side code
* add support for client callback
2014-10-03 12:10:44 +02:00
Mike McDonald
0357a38e31
Fix to properly negotiate fast-path fragmentation.
2014-09-30 21:12:20 -04:00
Marc-André Moreau
2d40fe7644
libfreerdp-core: fix cloning of LoadBalanceInfo
2014-09-26 15:18:40 -04:00
Marc-André Moreau
9daa8bd36f
libfreerdp-gdi: handle egfx desktop resize
2014-09-25 22:08:10 -04:00
Marc-André Moreau
ca1cec64d8
libfreerdp-core: update RDP8 virtual channels
2014-09-25 17:31:05 -04:00
Marc-André Moreau
8b1ad6a6cd
libfreerdp-gdi: remove some dead code
2014-09-25 10:39:23 -04:00
Marc-André Moreau
c762a4d5a2
Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
2014-09-25 10:35:14 -04:00
Marc-André Moreau
bbf4732470
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/gdi/gdi.c
2014-09-25 10:34:56 -04:00
Armin Novak
8d7de50f6f
Decreased log level for not implemented GDI functions.
...
All functions only used within gdi.c are now static.
2014-09-25 08:56:55 +02:00
Marc-André Moreau
72fff184dd
libfreerdp-core: fix RemoteFX/autodetect incompatibility issue with 2008 R2
2014-09-24 17:23:12 -04:00
Mike McDonald
092855fe99
Fixed gcc_write_conference_create_request to send a constant byte of 0x2A instead of attempting to encode the length of the payload. Sending the length is causing older RDP clients to fail the connection when the payload length of the server data blocks exceeded 256 bytes(which is nearly always the case when RDP security is negotiated). Traces of Windows 2003, 2008R2, 2012, 7, and 8 show that Windows always sends a constant of 0x2A (OCTET STRING) followed by a constant of 0x14 (ConnectGCCPDU).
2014-09-23 22:04:02 -04:00
Marc-André Moreau
8123a1d9b8
libfreerdp-codec: refactor NSCodec
2014-09-23 20:00:26 -04:00
Marc-André Moreau
af858e8f2a
shadow: disable RemoteFX if connection type is not LAN
2014-09-23 18:19:05 -04:00
Marc-André Moreau
7574788ba5
libfreerdp-core: fix GCC core data block negotiation
2014-09-22 11:38:33 -04:00
Marc-André Moreau
c4ad706c34
libfreerdp-core: improve bitmap codec negotiation
2014-09-21 15:40:27 -04:00
Marc-André Moreau
6cb4b59426
libfreerdp-core: fix server-side receiving of X224 disconnect TPDU
2014-09-20 20:19:59 -04:00
Marc-André Moreau
86c7f46b76
shadow: improve bitmap update performance
2014-09-20 16:29:13 -04:00
Marc-André Moreau
45b9a5454e
libfreerdp-codec: improve compressor interfaces
2014-09-20 15:25:33 -04:00
Marc-André Moreau
c4588fb14f
libfreerdp-core: remove dependency on OPENSSL_Applink on Windows
2014-09-19 17:11:56 -04:00
Marc-André Moreau
73c90e0505
libfreerdp-gdi: remove frame marker error output
2014-09-19 14:45:58 -04:00
Marc-André Moreau
72e7507bee
Merge branch 'shadow' of github.com:awakecoding/FreeRDP
...
Conflicts:
libfreerdp/core/capabilities.c
2014-09-19 14:39:43 -04:00
Marc-André Moreau
d102e746c8
Merge branch 'awakecoding' of github.com:vworkspace/FreeRDP
...
Conflicts:
libfreerdp/core/license.c
libfreerdp/core/nego.c
winpr/libwinpr/synch/wait.c
2014-09-19 14:38:25 -04:00
Marc-André Moreau
3ddbb128cc
libfreerdp-core: add SurfaceFrameBits function to combine frame marker with surface commands
2014-09-19 14:23:17 -04:00
Marc-André Moreau
aa2e6dacbb
shadow: fix frame acks + bitmap negotiation
2014-09-19 12:06:12 -04:00
Marc-André Moreau
09fc388e03
shadow: add RefreshRect/SuppressOutput support
2014-09-18 22:18:58 -04:00
Mike McDonald
ad8268d059
Minor fix to server side RDP security negotiation.
2014-09-18 19:44:52 -04:00
Mike McDonald
a228952a69
Modified server code to honor the negotiated setting for SEC_LICENSE_ENCRYPT_SC in the security exchange PDU (which controls the encryption of license PDUs from the server to the client).
2014-09-18 19:43:28 -04:00
Mike McDonald
65d38b54be
Modified server code to honor the negotiated settings for 1) SEC_LICENSE_ENCRYPT_SC in the security exchange PDU (which controls the encryption of license PDUs from the server to the client) and 2) ENC_SALTED_CHECKSUM in the bitmap capability set.
2014-09-18 19:38:04 -04:00
Mike McDonald
62f4b0be2e
Modified code to honor the negotiated settings for 1) ENC_SALTED_CHECKSUM in the general capability set extraFlags field and 2) DRAW_ALLOW_SKIP_ALPHA in the bitmap capability set drawingFlags field.
2014-09-18 19:31:06 -04:00
Marc-André Moreau
527638c691
shadow: delay subsystem initialization for monitor enumeration
2014-09-18 13:06:49 -04:00
Marc-André Moreau
6afd621d4c
Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
...
Conflicts:
server/Mac/mf_audin.c
server/Mac/mf_event.c
server/Mac/mf_info.c
server/Mac/mf_mountain_lion.c
server/Mac/mf_peer.c
server/Mac/mf_rdpsnd.c
server/Mac/mfreerdp.c
server/shadow/CMakeLists.txt
2014-09-17 20:15:01 -04:00
Marc-André Moreau
24c8e0c4b5
libfreerdp-gdi: fix clipping of bitmap update
2014-09-17 19:55:39 -04:00
Marc-André Moreau
02c1bf14ce
libfreerdp-gdi: fix gdi_init
2014-09-17 19:44:59 -04:00
Marc-André Moreau
25f1073aa5
freerdp: fix build problems
2014-09-17 19:19:37 -04:00
Marc-André Moreau
2a5192b027
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
...
Conflicts:
client/Windows/wf_cliprdr.h
client/Windows/wf_event.h
client/X11/xf_client.c
client/X11/xf_gdi.c
libfreerdp/gdi/gdi.c
server/Mac/mf_input.c
2014-09-17 19:09:56 -04:00
Marc-André Moreau
60b2d7d603
libfreerdp-codec: fix warning in color conversion, fix color move
2014-09-17 18:43:42 -04:00
Marc-André Moreau
73471eb1f0
libfreerdp-gdi: fix 8bpp mode
2014-09-17 18:30:09 -04:00
Marc-André Moreau
1c646da826
Merge branch 'egfx' of github.com:awakecoding/FreeRDP into shadow
2014-09-17 15:17:05 -04:00
Marc-André Moreau
3b02eccc06
libfreerdp-gdi: fix 16bpp internal buffer format
2014-09-17 14:55:52 -04:00
Marc-André Moreau
48b35be953
xfreerdp: fix X11 16bpp mode
2014-09-17 14:29:56 -04:00
Marc-André Moreau
fb4e5d352b
libfreerdp-codec: add proper 16bpp output format support
2014-09-17 12:17:41 -04:00
Armin Novak
f31eb52e46
Adding prefix in libfreerdp addin.c too.
2014-09-17 11:44:15 +02:00
Armin Novak
059374457d
Removed library prefix override.
2014-09-17 11:27:11 +02:00
Mike McDonald
50cf0ee915
Modified per_read_integer to handle a length of 0 (which is seen when older RDP clients connect to the FreeRDP server)
2014-09-16 23:15:34 -04:00
Marc-André Moreau
1b7a84419c
xfreerdp: partial fix for X11 16bpp mode
2014-09-16 19:12:26 -04:00
Marc-André Moreau
c40d8155a6
libfreerdp-gdi: fix SurfaceToSurface overlapping copies
2014-09-16 17:41:24 -04:00
Marc-André Moreau
1837c34e6e
libfreerdp-codec: add BGR support to egfx
2014-09-16 16:55:47 -04:00
Marc-André Moreau
b25258e8c6
libfreerdp-gdi: add support for ABGR plain colors
2014-09-15 16:28:53 -04:00
Marc-André Moreau
501386b790
libfreerdp-gdi: partial support for internal ABGR buffer format
2014-09-15 16:08:06 -04:00
Marc-André Moreau
abb841e533
libfreerdp-codec: add RGB/BGR color conversion to freerdp_image_copy
2014-09-15 14:59:45 -04:00
Armin Novak
7ea24ef6cb
Decreased logging verbosity.
2014-09-15 19:55:21 +02:00
Armin Novak
eead7733c8
Decreased logging verbosity.
2014-09-15 19:52:33 +02:00
Armin Novak
31c88013ca
Decreased logging verbosity.
2014-09-15 19:52:19 +02:00
Armin Novak
7ceddc73e9
Decreased logging verbosity.
2014-09-15 19:51:58 +02:00
Armin Novak
d178e33db5
Decreased logging verbosity.
2014-09-15 19:51:37 +02:00
Armin Novak
00d15d0a1b
Decreased logging verbosity.
2014-09-15 19:51:17 +02:00
Armin Novak
06b609062d
Removed remaining printf and DEBUG_* usages.
2014-09-15 09:01:05 +02:00
Armin Novak
a715e9ef50
Fixed compiler warnings.
2014-09-15 08:55:00 +02:00
Armin Novak
17fa410785
Fixed compiler warning.
2014-09-15 08:48:46 +02:00
Armin Novak
2f519d7f16
Replaced logging in libfreerdp with wlog defines.
2014-09-15 08:48:46 +02:00
Marc-André Moreau
06dc76bce2
shadow/mac: add initial screen capture support
2014-09-14 20:08:38 -04:00
Marc-André Moreau
b7351e0795
Merge branch 'egfx' of github.com:awakecoding/FreeRDP into shadow
2014-09-13 12:04:02 -04:00
Marc-André Moreau
f693ff42d7
Merge pull request #2097 from awakecoding/egfx
...
GDI Bitmap Update Optimization
2014-09-12 15:12:52 -04:00
Marc-André Moreau
198f94fe03
libfreerdp-gdi: add RDP8 graphics pipeline support
2014-09-12 14:57:44 -04:00
Marc-André Moreau
efd9b8f7a9
libfreerdp-cache: fix 15bpp
2014-09-12 01:11:40 -04:00
Marc-André Moreau
7130b7064e
libfreerdp-gdi: fix bitmap caching
2014-09-12 01:03:19 -04:00
Marc-André Moreau
45d2bab95d
xfreerdp: optimize bitmap updates
2014-09-11 22:29:09 -04:00
Marc-André Moreau
a3cdcc1641
libfreerdp-gdi: fix and cleanup new bitmap update code
2014-09-11 20:46:15 -04:00
Marc-André Moreau
5b2a465ee6
libfreerdp-gdi: start optimizing gdi bitmap update
2014-09-11 20:12:32 -04:00
Bernhard Miklautz
0313ca3622
libfreerdp: always build "MONOLITHIC"
...
"libfreerdp" consisted of multiple (small) single libraries. If the cmake
option MONOLITHIC was used only one library was build combining all of
the libfreerdp-* libraries.
The only exceptions to this are libfreerdp-server and libfreerdp-client these
are build as separate libraries.
This commit obsoltes non-monolithic builds and makes monolithic builds
the default. The cmake option MONOLITHIC is also removed.
2014-09-12 00:19:53 +02:00
Martin Fleisz
54b96290c9
Merge branch 'fix_2036' of git://github.com/akallabeth/FreeRDP into akallabeth-fix_2036
...
Conflicts:
libfreerdp/codec/test/TestFreeRDPCodecPlanar.c
libfreerdp/codec/test/TestFreeRDPCodecProgressive.c
libfreerdp/core/transport.c
libfreerdp/primitives/test/TestPrimitivesYCbCr.c
2014-09-11 13:03:01 +02:00
Vic Lee
af57056228
transport: exit transport loop when the session is activated.
2014-09-11 14:04:32 -07:00
Marc-André Moreau
e1e8da9490
shadow: add ability to share rectangle within monitor
2014-09-10 16:27:24 -04:00
Marc-André Moreau
89e5fef11f
wfreerdp: fix build on Windows
2014-09-10 11:38:38 -04:00
Armin Novak
f18a4b8252
Fixed winpr_HexDump calls in tests.
2014-09-10 08:48:49 +02:00
Marc-André Moreau
c71e4e18a1
libfreerdp-core: refactor codec context management
2014-09-10 00:42:41 -04:00
Marc-André Moreau
3d4fea7d8e
libfreerdp-primitives: fix YUV420 color conversion matrix
2014-09-09 19:18:07 -04:00
Marc-André Moreau
bcf1266f51
libfreerdp-primitives: integrate H264 SSE3 color converter
2014-09-09 19:15:07 -04:00
Marc-André Moreau
666919d157
Merge branch 'egfx_new' of https://github.com/erbth/FreeRDP into egfx
2014-09-09 18:04:55 -04:00
Marc-André Moreau
5c5eedc85b
libfreerdp-codec: allow error margin of 1 on YCbCr to RGB color decoding
2014-09-09 17:34:02 -04:00
Marc-André Moreau
372d4076d4
libfreerdp-codec: fix progressive decoding
2014-09-09 14:36:04 -04:00
Marc-André Moreau
1931dc546f
Merge branch 'egfx' of github.com:awakecoding/FreeRDP into egfx
2014-09-09 13:45:08 -04:00
Marc-André Moreau
12ca7b3391
libfreerdp-primitives: update YCbCr test code
2014-09-09 13:44:57 -04:00
Armin Novak
6762d73ae1
Fixed winpr_HexDump calls.
2014-09-09 16:33:05 +02:00
Armin Novak
b22b897389
Reformatted changed files.
2014-09-09 16:32:22 +02:00
Armin Novak
f8eae11bf3
Fixed calling of dump functions, updated API
2014-09-09 16:31:46 +02:00
erbth
2d6a59e34b
added some commits, I didn't understand my own code anymore
2014-09-09 12:34:08 +02:00
erbth
7828725413
YUV data conversion of H.264 implementation (egfx):
...
only convert invalid areas
SIMD SSSE3 conversion in primitives
compiling all primitives sources with optimization
and cleanup after last merge
2014-09-09 00:13:18 +02:00
Marc-André Moreau
a427a46ba5
libfreerdp-primitives: start porting tests to Windows
2014-09-08 16:24:43 -04:00
Marc-André Moreau
81454c1171
libfreerdp-primitives: add more YCbCr test coefficients
2014-09-08 15:47:03 -04:00
Marc-André Moreau
e21202ee61
libfreerdp-primitives: add per-pixel YCbCr test code
2014-09-08 15:16:03 -04:00
Marc-André Moreau
cc16ddea2d
libfreerdp-primitives: update YCbCr color converter
2014-09-08 12:28:35 -04:00
erbth
cbc8b3a7e1
Merge branch 'egfx' of https://github.com/awakecoding/freerdp into egfx_new
...
Conflicts:
channels/drdynvc/client/dvcman.c
include/freerdp/codec/h264.h
libfreerdp/codec/h264.c after this merge h264 doesn't work anymore!!
libfreerdp/utils/svc_plugin.c
2014-09-08 16:56:45 +02:00
erbth
fee370e4b2
YUV data conversion with SSSE3 using intrinsics
2014-09-08 16:29:01 +02:00
Marc-André Moreau
ad9092baf9
libfreerdp-codec: cleanup and restructure planar decompressor for chroma subsampling
2014-09-07 15:40:36 -04:00
Marc-André Moreau
5b8fb70e8c
libfreerdp-codec: simplify and optimize planar raw rgb decoding
2014-09-07 14:08:29 -04:00
Marc-André Moreau
bd516e04fa
libfreerdp-primitives: cleanup YCoCg
2014-09-06 21:13:37 -04:00
Marc-André Moreau
3203d37bdf
libfreerdp-primitives: optimize YUV420p to RGB conversion
2014-09-06 20:15:40 -04:00
Marc-André Moreau
437583aa9a
libfreerdp-primitives: add YUV420 to RGB conversion
2014-09-06 17:10:27 -04:00
Marc-André Moreau
73d121dd82
Merge branch 'egfx' of github.com:awakecoding/FreeRDP into egfx
2014-09-05 20:17:05 -04:00
Marc-André Moreau
5f37e768f0
libfreerdp-codec: improve YUV to RGB color conversion
2014-09-05 20:16:56 -04:00
Marc-André Moreau
fe75405d5c
libfreerdp-codec: fix build on Windows
2014-09-05 19:38:33 -04:00
Marc-André Moreau
f14b0e0195
libfreerdp-codec: cleanup h264 decoder
2014-09-05 19:11:03 -04:00
Marc-André Moreau
033e75467b
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
2014-09-05 17:29:35 -04:00
Marc-André Moreau
66bbbf0519
libfreerdp-gdi: enable altsec frame markers
2014-09-05 16:06:19 -04:00
Marc-André Moreau
dc56ad7a0e
Merge pull request #2055 from dbungert/initialize
...
Fix multiple cases of use of uninitialized vars
2014-09-05 14:51:43 -04:00
Marc-André Moreau
510a02ea94
libfreerdp-codec: improve progressive unit test
2014-09-04 16:52:41 -04:00
Marc-André Moreau
be60bddec0
libfreerdp-primitives: add YCbCr color converter test
2014-09-04 16:34:29 -04:00
Marc-André Moreau
ccb31efe63
libfreerdp-primitives: migrate tests to ctest
2014-09-04 15:46:20 -04:00
Marc-André Moreau
37aabc50d1
libfreerdp-codec: improve YCbCr to RGB color conversion
2014-09-04 13:09:46 -04:00
Marc-André Moreau
fd7b9669a5
libfreerdp-codec: improve progressive unit tests
2014-09-03 18:47:02 -04:00
Marc-André Moreau
320b1d35ed
libwinpr-utils: centralize bitmap utils
2014-09-03 16:20:50 -04:00
Marc-André Moreau
1491c5a7f9
libfreerdp-codec: initial partial upgrade tile support
2014-09-02 19:25:01 -04:00
Marc-André Moreau
f79be532f0
libfreerdp-codec: fix and improve SRL decoder
2014-09-02 18:15:36 -04:00
erbth
25593c7250
H.264: converting only clipping rects to XRGB
2014-09-02 22:16:56 +02:00
Marc-André Moreau
6abd9e6be0
libfreerdp-codec: add more progressive test functions
2014-09-02 13:31:40 -04:00
Marc-André Moreau
49cede6e01
libfreerdp-codec: add separate sign array
2014-08-28 15:14:01 -04:00
Marc-André Moreau
e15baf6184
libfreerdp-codec: add code for SRL parsing
2014-08-28 12:14:28 -04:00
Vic Lee
551ee0566a
channels: fix memory leak in stream pools.
2014-08-28 23:16:32 +08:00
Marc-André Moreau
59b8bd0bd1
libfreerdp-codec: start reading progressive RAW bytes
2014-08-27 18:34:37 -04:00
Marc-André Moreau
32766b0647
libfreerdp-codec: start computing BitPos
2014-08-27 17:02:15 -04:00
Marc-André Moreau
51d1d42616
libfreerdp-codec: fix progressive tile diffing
2014-08-27 15:15:37 -04:00
Marc-André Moreau
656dd760c5
libfreerdp-codec: fix sub-band diffing
2014-08-26 16:15:22 -04:00
Marc-André Moreau
4773403243
libfreerdp-codec: partial YCbCr diffing support
2014-08-26 14:36:33 -04:00
Marc-André Moreau
ec53dd612e
libfreerdp-codec: fix progressive codec tile drawing offset, fix dequantization
2014-08-25 19:50:42 -04:00
Marc-André Moreau
2cffa7d8f4
libfreerdp-codec: make use of progressive quantization factors
2014-08-25 17:58:38 -04:00
Marc-André Moreau
ed7312501c
libfreerdp-codec: fix progressive quantization shifts
2014-08-21 19:43:37 -04:00
Marc-André Moreau
969d9011da
libfreerdp-codec: partially working progressive iDWT
2014-08-21 19:02:26 -04:00
Marc-André Moreau
f79ba1b364
libfreerdp-codec: fix crashes
2014-08-21 17:14:10 -04:00
Marc-André Moreau
f77e515965
libfreerdp-codec: improve progressive iDWT
2014-08-21 16:05:39 -04:00
Marc-André Moreau
e54bbdab00
libfreerdp-codec: start new progressive rfx iDWT functions
2014-08-20 19:12:08 -04:00
erbth
dee50a8ca2
H264 data alignement and 32 bit comilation ...
2014-08-21 00:58:08 +02:00
erbth
9eec9cb18a
RDPEGFX H264 YUV data conversion in assembly/with SSSE3 in 32bit
2014-08-21 00:08:56 +02:00
Marc-André Moreau
5e778d6a0c
libfreerdp-codec: intermediate progressive rfx iDWT
2014-08-20 17:16:34 -04:00
Daniel Bungert
27fc3ee64d
Fix multiple cases of use of uninitialized vars
...
* Zeroing xevent helped address some erratic behavior.
* valgrind complained about using xfBitmap uninitialized
during shutdown, traced it back to the initialization.
Bitmap_Prototype->size > sizeof(rdpBitmap).
* Early exit from recv_tpkt_pdu is necessary to address
a shutdown crash - the channelId value was being used
without being set in the disconnect case.
2014-08-20 03:54:05 -06:00
Marc-André Moreau
68b3d0476b
libfreerdp-codec: start work on progressive inverse DWT
2014-08-19 14:48:09 -04:00
Marc-André Moreau
2e672d5bdb
libfreerdp-codec: optimize RemoteFX dequantization and differentiation
2014-08-18 21:10:56 -04:00
Marc-André Moreau
6744bbe7ae
libfreerdp-codec: start working on progressive dequantization
2014-08-18 19:12:08 -04:00
Marc-André Moreau
1a8c763309
Merge branch 'shadow' of github.com:awakecoding/FreeRDP
2014-08-18 17:06:13 -04:00
Marc-André Moreau
5e177118aa
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-08-18 16:23:45 -04:00
Marc-André Moreau
82a53057a1
Merge pull request #2023 from ptsekov/software-gdi-improvements
...
Software GDI improvements
2014-08-18 16:22:23 -04:00
erbth
497e130c21
YUV data conversion using SSSE3/assembly with libavcodec implementation
2014-08-18 21:21:24 +02:00
Marc-André Moreau
ca90650336
shadow: fix race conditions
2014-08-15 18:12:53 -04:00
Marc-André Moreau
0457a29f57
shadow: fix WDS connectivity
2014-08-15 14:15:53 -04:00
Marc-André Moreau
78d43ced3d
Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
2014-08-15 11:44:07 -04:00
Marc-André Moreau
168d46f253
Merge branch 'awakecoding' of github.com:vworkspace/FreeRDP
...
Conflicts:
libfreerdp/core/nego.c
libfreerdp/core/peer.c
winpr/libwinpr/synch/wait.c
2014-08-15 11:43:50 -04:00
Marc-André Moreau
158f9856ba
shadow: start RDP client backend for WDS
2014-08-14 18:41:22 -04:00
Pavel Tsekov
651887c7e0
Fix erronous use of colors in gdi_patblt().
...
* libfreerdp/gdi/gdi.c:
(gdi_patblt): Fix a call to freerdp_mono_image_convert() which was
still passed colors in drawing order representation instead of GDI
representation.
2014-08-14 20:21:49 +03:00
Pavel Tsekov
eab69c2984
Fix 1bpp -> 16bpp image conversion.
...
* libfreerdp/codec/color.c (freerdp_mono_image_convert): Update the
1bpp -> 16bpp conversion code to reflect the fact that the foreground
and the background colors are in GDI representation now.
2014-08-14 20:09:12 +03:00
Norbert Federa
3c8700f62d
Merge pull request #1963 from akallabeth/async-update-to-lib
...
Moved update thread from client to library.
2014-08-14 17:46:43 +02:00
Marc-André Moreau
86a68f0c0f
shadow: start Windows Desktop Sharing API support
2014-08-13 17:48:57 -04:00
Pavel Tsekov
53e19e0da7
Fix conversion of 24bpp bitmaps to 32bpp fb when
...
CLRCONV_INVERT and/or CLRCONV_ALPHA is set.
* include/freerdp/codec/color.h (RGB32_to_BGR32): New inline function.
* libfreerdp/codec/color.c:
(freerdp_image_convert_24bpp): Fix CLRCONV_ALPHA and CLRCONV_INVERT
processing for 32bpp destination.
Unroll the conversion loop to process four pixels in one go using
32-bit load and store operations.
2014-08-14 00:31:15 +03:00
erbth
095a7aba99
OpenH264 YUV data conversion with intel SSSE3 in assembly
2014-08-13 20:56:40 +02:00
Mike McDonald
5906efc5f7
Fixed a FreeRDP server problem which prevented RDP security from being negotiated.
2014-08-13 11:01:43 -04:00
Mike McDonald
37c8ce48e3
Fixed typo in message
2014-08-13 10:14:56 -04:00
Bernhard Miklautz
e5e1a75c35
crypto: fix fingerprint
...
Latest logging changes introduced a problem with fingerprint generation.
The last byte wasn't added.
2014-08-12 15:40:53 +02:00
Marc-André Moreau
e4a4aa4d3a
Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
...
Conflicts:
channels/encomsp/client/encomsp_main.c
libfreerdp/core/tcp.c
libfreerdp/crypto/certificate.c
server/Windows/CMakeLists.txt
server/X11/xf_cursor.c
server/X11/xf_input.c
server/X11/xf_interface.c
server/X11/xf_monitors.c
server/X11/xf_peer.c
2014-08-11 19:22:33 -04:00
Marc-André Moreau
87fd839a35
libfreerdp-codec: cleanup and fix __lzcnt on Windows
2014-08-11 18:48:42 -04:00
Marc-André Moreau
dc7f89dbd5
Merge branch 'egfx' of github.com:awakecoding/FreeRDP
2014-08-11 17:25:38 -04:00
Marc-André Moreau
7171a0b5c1
libfreerdp-core: fix reconnection using client random
2014-08-11 11:23:23 -04:00
Marc-André Moreau
cff9c16c1e
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
channels/disp/client/disp_main.c
2014-08-11 10:36:07 -04:00
Marc-André Moreau
067da290dd
Merge pull request #2027 from akallabeth/winpr-log
...
Replace stdout and logging defines with WLog, add logcat support
2014-08-11 10:38:28 -04:00
Marc-André Moreau
51ac7fffbd
Merge pull request #1993 from bmiklautz/merge/from-stable-1.1
...
Pick changes from stable-1.1 that are not yet on master
2014-08-11 10:28:10 -04:00
Armin Novak
d0c5d9bb9e
Fixed missing include.
2014-08-11 09:49:57 +02:00
Armin Novak
784696c1cd
Fixed missing includes and invalid replacement.
2014-08-11 09:38:08 +02:00
Armin Novak
bcb5f90ee6
Replaced perror with DEBUG_WARN
2014-08-11 09:19:23 +02:00
Benoit LeBlanc
b990c2002a
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
2014-08-08 11:42:53 -04:00
erbth
a8945306a1
Merge branch 'egfx' of https://github.com/awakecoding/freerdp into egfx
2014-08-08 15:22:47 +02:00
erbth
a8257b5201
fixed some memory leaks arround DVC and RDPEGFX
2014-08-08 15:19:49 +02:00
Armin Novak
b897c6a433
Replaced fprintf(stderr with DEBUG_WARN
2014-08-07 22:20:35 +02:00
Armin Novak
eecc8e2333
Removed debug.c
2014-08-07 21:38:11 +02:00
Pavel Tsekov
052173de5f
Do not assume 32bpp framebuffer when flipping NSCodec bitmaps.
...
* libfreerdp/gdi/gdi.c (gdi_surface_bits): Do not assume 32bpp
framebuffer when flipping NSCodec compressed bitmaps.
2014-08-07 20:37:06 +03:00
Pavel Tsekov
adb750f7ca
Convert NSCodec compressed bitmaps to framebuffer format.
...
* libfreerdp/gdi/gdi.c (gdi_surface_bits): Convert NSCodec compressed
bitmaps to framebuffer format.
2014-08-07 20:33:30 +03:00
Armin Novak
f00cb3d25c
Reverted previous replacements, not to be done for tests.
2014-08-07 19:05:22 +02:00
Armin Novak
a27706d129
Fixed missing includes.
2014-08-07 18:25:43 +02:00
Armin Novak
f4c133eaf8
Replaced custom logging mechanism with WLog wrapper.
2014-08-07 16:51:24 +02:00
Pavel Tsekov
c51c5df2ff
* include/freerdp/codec/color.h:
...
(freerdp_color_convert_drawing_order_color_to_gdi_color): Declare new
function.
* libfreerdp/codec/color.c:
(freerdp_color_convert_drawing_order_color_to_gdi_color): Implement.
(freerdp_image_convert_8bpp): Properly use the ARGB32/ABGR32/RGB32/BGR32
macros when converting 8bpp data to 32bpp.
(freerdp_image_convert_32bpp): Fix CLRCONV_ALPHA and CLRCONV_INVERT
processing for 32bpp destination.
(freerdp_mono_image_convert): Use ARGB32/ABGR32 when converting to 32bpp
and CLRCONV_ALPHA is set.
* libfreerdp/core/orders.c: Color data from drawing orders is
interpreted in big endian mode.
* libfreerdp/core/update.c (update_read_palette): Likewise.
* libfreerdp/gdi/16bpp.c (gdi_get_color_16bpp): GDI colors are stored as
RGB now.
* libfreerdp/gdi/32bpp.c (gdi_get_color_32bpp): Likewise.
* libfreerdp/gdi/gdi.c:
Use freerdp_color_convert_drawing_order_color_to_gdi_color() to convert
from drawing order color representation to GDI color representation
troughout.
* libfreerdp/gdi/graphics.c (gdi_Glyph_BeginDraw): Likewise.
(gdi_Glyph_EndDraw): Likewise.
2014-08-07 00:58:58 +03:00
Benoît LeBlanc
1f2f9dfbdc
fix gdi_resize: set primary_buffer to NULL to avoid use after free
2014-08-06 17:02:21 -04:00
Marc-André Moreau
9838200068
libfreerdp-core: fix unix domain socket support
2014-08-06 12:08:00 -04:00
Marc-André Moreau
2653c5420f
libfreerdp-codec: start processing tiles in progressive rfx
2014-08-06 10:23:14 -04:00
Marc-André Moreau
22d3b6c74b
libfreerdp-codec: remove old RemoteFX RLGR implementation in favour of faster one
2014-08-05 21:41:58 -04:00
Marc-André Moreau
b7ca13f19d
libfreerdp-codec: add RLGR3 support in new RLGR function
2014-08-05 21:26:47 -04:00
Marc-André Moreau
db5b947852
libfreerdp-codec: optimize RLGR1
2014-08-05 17:22:20 -04:00
Marc-André Moreau
e6dbbfb305
libfreerdp-codec: fix progressive RLGR1 decode
2014-08-05 17:07:06 -04:00
Marc-André Moreau
3895c930a3
Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
2014-08-05 09:56:12 -04:00
Marc-André Moreau
85b1d6c167
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/codec/h264.c
2014-08-05 09:55:54 -04:00
U-PAVEL\Pavel Tsekov
8a4f134fab
Revert to 15d2b35574
2014-08-05 14:35:31 +03:00
Marc-André Moreau
88e5bacda7
libfreerdp-codec: improve progressive rfx rlgr1
2014-08-03 00:08:22 -04:00
Marc-André Moreau
51f6ffd2ba
libfreerdp-codec: improve rfx progressive RLGR1 implementation
2014-08-02 22:26:05 -04:00
Marc-André Moreau
85026bff76
libfreerdp-codec: initial RLGR1 progressive implementation
2014-08-02 11:24:47 -04:00
Marc-André Moreau
14a3ff94eb
libfreerdp-codec: simplify block reading logic
2014-08-01 09:44:00 -04:00
Marc-André Moreau
574c1789b7
libfreerdp-codec: start processing progressive tiles
2014-07-31 15:08:54 -04:00
erbth
64501b895b
Merge branch 'egfx' of https://github.com/awakecoding/freerdp into egfx
...
Conflicts:
libfreerdp/codec/h264.c (deleted in my repo in order to get complete remote file)
2014-07-30 13:11:05 +02:00
erbth
55407bd4e8
repo prepared for merging #2
2014-07-30 13:08:08 +02:00
erbth
de46a0c738
repo prepared for merging
2014-07-30 12:46:52 +02:00
Marc-André Moreau
800be2f680
libfreerdp-codec: complete parsing of progressive codec block arrays
2014-07-29 17:37:46 -04:00
erbth
20e76411dc
H.264 hack and first port of YUV to XRGB format conversion to assembly
2014-07-29 21:42:04 +02:00
Marc-André Moreau
7c07035f29
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
2014-07-29 13:41:57 -04:00
Marc-André Moreau
c060fb07a2
libfreerdp-codec: fix build on Windows
2014-07-29 13:41:21 -04:00
Marc-André Moreau
2b3cd39026
libfreerdp-codec: more parsing of progressive data blocks
2014-07-29 12:38:29 -04:00
Pavel Tsekov
8c3080f345
Fix 1bpp to 32bpp conversion with CLRCONV_ALPHA on
...
* libfreerdp/codec/color.c (freerdp_mono_image_convert): Use
ARGB32/ABGR32 when
using 32bpp framebuffer and CLRCONV_ALPHA is set.
2014-07-29 11:19:25 +03:00
Marc-André Moreau
a3de93d867
libfreerdp-codec: start parsing progressive codec
2014-07-28 23:41:16 -04:00
Bernhard Miklautz
a124f6a7c6
fix comment style
...
// to /* */
2014-07-29 05:22:30 +02:00
Bernhard Miklautz
a9eed46e38
Fix warnings found in Xcode
2014-07-29 05:22:30 +02:00
Bernhard Miklautz
8c318da7b1
fix compiler warnings
2014-07-29 05:22:29 +02:00
Bernhard Miklautz
b8415af0d8
Fix compiler warnings.
...
This commit is based on pull request #1493
2014-07-29 05:22:29 +02:00
Marc-André Moreau
0c408c213c
libfreerdp-codec: stub progressive codec decompressor
2014-07-28 17:42:23 -04:00
Marc-André Moreau
8321d7ffad
libfreerdp-codec: fix OpenH264 usage thanks to @erbth's hack
2014-07-28 17:22:02 -04:00
Marc-André Moreau
6c034f17eb
Merge branch 'egfx' of github.com:vworkspace/FreeRDP into egfx
2014-07-28 17:04:03 -04:00
Marc-André Moreau
780079d629
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
2014-07-28 16:59:29 -04:00
Marc-André Moreau
b56eaccdc3
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
client/common/client.c
2014-07-28 16:58:32 -04:00
Marc-André Moreau
42ec69f9c7
Merge branch 'master' of github.com:awakecoding/FreeRDP
2014-07-28 16:47:56 -04:00
Marc-André Moreau
e303c3bd4c
channels: cleanup RDP8 virtual channels
2014-07-28 16:47:42 -04:00
Marc-André Moreau
15d2b35574
Merge pull request #1982 from bmiklautz/feat/read_pdu
...
Transport re-factor and clean up
2014-07-28 16:32:06 -04:00
Norbert Federa
cdcdec99bc
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).
2014-07-28 21:55:57 +02:00
Bernhard Miklautz
b17045ddd8
fix: typos and formating
2014-07-28 13:12:01 +02:00
Marc-André Moreau
ef04373628
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-07-26 14:43:10 -04:00
Daryl Poe
3794720455
correct Pause key sequence
...
(cherry picked from commit 46a00b5c9e
)
2014-07-25 11:31:50 +02:00
Bernhard Miklautz
bdad9524dc
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.
2014-07-24 16:34:59 +02:00
Bernhard Miklautz
47dd22ba87
transport refactor
...
rename transport_read to transport_read_pdu. This name is more
descriptive what the function actually does.
2014-07-24 16:34:59 +02:00
Bernhard Miklautz
2bb0659fb4
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
2014-07-24 16:29:46 +02:00
Benoit LeBlanc
653d52bff3
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
2014-07-18 12:02:52 -04:00
Marc-André Moreau
d8b858811f
shadow: initial windows server-side connectivity
2014-07-17 21:15:22 -04:00
Marc-André Moreau
5d4f28a788
Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
2014-07-17 17:33:33 -04:00
erbth
9501b6c58e
OpenH264 first frame decode fix
2014-07-17 16:25:34 +02:00
Daniel Bungert
625f7c3c22
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.
2014-07-17 06:59:06 -06:00
Norbert Federa
8482eed323
core: addd missing PlaySound server callback
2014-07-16 15:38:10 +02:00
Marc-André Moreau
21571eea88
channels/remdesk: add PassStub generation
2014-07-15 20:09:19 -04:00
Vic Lee
8df60ecbe4
tls: fix some error handling.
2014-07-15 11:36:35 +08:00
Armin Novak
689902c995
Moved update thread from client to library.
2014-07-14 19:27:50 +02:00
Mike McDonald
4370c26e0d
Added the ability to decode H.264 frames using libavcodec and refactored code to make it a little cleaner.
2014-07-14 09:59:57 -04:00
Vic Lee
29cb8680ce
server: allow partial channel read (fix rdpsnd).
2014-07-14 20:00:38 +08:00
Marc-André Moreau
8ae00f7385
shadow: start hooking X11 code as subsystem
2014-07-11 19:30:40 -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
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
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
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
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
Mike McDonald
1087b50e92
Added use of U/V planes to freerdp_image_copy_yuv420p_to_xrgb function.
2014-07-09 19:56:05 -04:00
Marc-André Moreau
03c91a92d1
libfreerdp-codec: add more egfx h264 debugging
2014-07-09 16:41:36 -04:00
Hardening
6223460557
kill the last remaining select() in libfreerdp
2014-07-09 11:28:41 +02:00
Marc-André Moreau
1a4b84ade4
Merge branch 'egfx' of github.com:vworkspace/FreeRDP into egfx
2014-07-08 18:04:49 -04:00
Mike McDonald
3e817090b9
Added SetOption calls to enable trace logging in OpenH264.
2014-07-08 17:45:48 -04:00
Marc-André Moreau
f7e5365719
libfreerdp-codec: add more gfx H264 debug output
2014-07-08 17:16:13 -04: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
Benoît LeBlanc
18eaddc7fe
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
...
# By Marc-André Moreau (20) and others
# Via Mike McDonald (6) and others
* 'master' of git://github.com/awakecoding/FreeRDP: (26 commits)
libfreerdp-codec: fix C++ headers
libfreerdp-codec: fix ClearCodec short vbar cache hit
libfreerdp-codec: improve ClearCodec error checking
libfreerdp-codec: fix ClearCodec RLEX decoding
libfreerdp-codec: ClearCodec fix error codes and wrapping around of cursors
libfreerdp-codec: fix some ClearCodec flag checking
Fixed issue with last merge.
Added #ifdef WITH_OPENH264 ... #endif to appropriate places in the code.
libfreerdp-codec: handle long vbar length mismatch
channels/rdpgfx: add egfx command line options and settings
libfreerdp-codec: reduce number of variables
libfreerdp-codec: improve ClearCodec robustness
libfreerdp-codec: simplify ClearCodec code
Initial implementation of H.264 decoder for MS-RDPEGFX
libfreerdp-codec: improve ClearCodec subcodec xStart, yStart handling
libfreerdp-codec: improve ClearCodec subcodec support
libfreerdp-codec: improve ClearCodec error checking
libfreerdp-codec: more ClearCodec vBar caching
channels/rdpgfx: harden parsing code
libfreerdp-codec: add ClearCodec glyph cache
...
2014-07-08 16:45:59 -04:00
Benoît LeBlanc
84d0089401
Added KeyboardHook to settings
2014-07-08 16:32:28 -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
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
199d53bb00
Merge pull request #1942 from hardening/kill_select
...
Use poll() instead of select() when available
2014-07-08 16:36:04 +02: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
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
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
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
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
bf53f044bd
Fix missing include
2014-07-04 15:18:50 +02:00