Armin Novak [Thu, 19 Jan 2017 15:40:58 +0000 (16:40 +0100)]
Fixed scanline for RFX.
Bernhard Miklautz [Mon, 23 Jan 2017 09:39:02 +0000 (10:39 +0100)]
Merge pull request #3703 from akallabeth/prim_optimize
[PERFORMANCE] Inlined heavily used functions
Bernhard Miklautz [Mon, 23 Jan 2017 09:02:14 +0000 (10:02 +0100)]
Merge pull request #3711 from hardening/monitor_layout
Misc fixes and improvements
David Fort [Thu, 19 Jan 2017 16:59:54 +0000 (17:59 +0100)]
Add a callback that allows to adjust monitors layout
This callback is useful in server mode when you want to adjust the monitor
layout just before the server monitor layout PDU is built and sent.
David Fort [Thu, 19 Jan 2017 16:57:44 +0000 (17:57 +0100)]
Treat the result of the Capabilities callback
The result was ignored. Plus return the correct value in case of licence error (-1
instead of FALSE).
Bernhard Miklautz [Thu, 19 Jan 2017 11:05:26 +0000 (12:05 +0100)]
Merge pull request #3705 from akallabeth/android_openssl_1_1
Android openssl 1 1
Armin Novak [Wed, 18 Jan 2017 15:52:52 +0000 (16:52 +0100)]
Disabled OpenH264 in default android build.
Armin Novak [Wed, 18 Jan 2017 15:41:02 +0000 (16:41 +0100)]
Progressive structs to private header for tests.
Armin Novak [Wed, 18 Jan 2017 15:16:29 +0000 (16:16 +0100)]
Progressive struct now opaque.
Armin Novak [Wed, 18 Jan 2017 14:25:24 +0000 (15:25 +0100)]
Progressive conversion and speed fixes
* Using destination color format and precomputed tile stride
* Using preallocated logger
Armin Novak [Mon, 16 Jan 2017 11:40:39 +0000 (12:40 +0100)]
Removed obsolete primitive usage.
Armin Novak [Mon, 16 Jan 2017 11:40:25 +0000 (12:40 +0100)]
Optimized functions, removed duplicates.
Armin Novak [Mon, 16 Jan 2017 11:39:34 +0000 (12:39 +0100)]
Inlined shift operations.
Armin Novak [Mon, 16 Jan 2017 10:45:53 +0000 (11:45 +0100)]
Inlined freerdp_image_copy helpers.
Armin Novak [Mon, 16 Jan 2017 10:39:55 +0000 (11:39 +0100)]
Inlined interleaved helper functions.
Armin Novak [Mon, 16 Jan 2017 10:36:35 +0000 (11:36 +0100)]
Optimized freerdp_image_fill
Armin Novak [Mon, 16 Jan 2017 09:54:01 +0000 (10:54 +0100)]
Optimized general_YUV444ToRGB_8u_P3AC4R for BGRX
Armin Novak [Mon, 16 Jan 2017 09:25:12 +0000 (10:25 +0100)]
Inlined heavy used functions.
Armin Novak [Mon, 16 Jan 2017 09:13:35 +0000 (10:13 +0100)]
Optimized general_RGBToRGB_16s8u_P3AC4R for BGRX
Armin Novak [Mon, 16 Jan 2017 09:01:51 +0000 (10:01 +0100)]
Optimized general_yCbCrToRGB_16s8u_P3AC4R for BGRX
Bernhard Miklautz [Wed, 18 Jan 2017 13:28:27 +0000 (14:28 +0100)]
Merge pull request #3702 from akallabeth/clear_reset_fix
ClearCodec fix #3642
Bernhard Miklautz [Wed, 18 Jan 2017 12:45:34 +0000 (13:45 +0100)]
Merge pull request #3707 from akallabeth/AMV007-patch-2
Rebased #2541
Armin Novak [Wed, 18 Jan 2017 11:39:40 +0000 (12:39 +0100)]
Fixed warnings due to API changes.
Martin Fleisz [Tue, 17 Jan 2017 18:14:56 +0000 (19:14 +0100)]
Merge pull request #3704 from bmiklautz/versioning
Library naming and man pages
Bernhard Miklautz [Tue, 17 Jan 2017 12:25:47 +0000 (13:25 +0100)]
Fix typos in man pages.
Armin Novak [Tue, 17 Jan 2017 12:17:25 +0000 (13:17 +0100)]
Fixed SONAME
Armin Novak [Tue, 17 Jan 2017 09:03:05 +0000 (10:03 +0100)]
Merge branch 'patch-2' of https://github.com/AMV007/FreeRDP into AMV007-patch-2
Conflicts:
channels/tsmf/client/tsmf_ifman.c
channels/tsmf/client/tsmf_media.c
Norbert Federa [Mon, 16 Jan 2017 17:18:43 +0000 (18:18 +0100)]
Merge pull request #3669 from xhaakon/master
Limit MultifragMaxRequestSize in server mode
Armin Novak [Mon, 16 Jan 2017 17:08:07 +0000 (18:08 +0100)]
Updated library names after change in #3704
Armin Novak [Mon, 16 Jan 2017 15:40:06 +0000 (16:40 +0100)]
Updated gradle settings.
Armin Novak [Mon, 16 Jan 2017 15:39:06 +0000 (16:39 +0100)]
Renamed OpenSSL library
To avoid collisions with system provided OpenSSL use
a different (unique) library name for android builds.
Armin Novak [Mon, 16 Jan 2017 14:23:11 +0000 (15:23 +0100)]
Added android release build configurations.
Armin Novak [Mon, 16 Jan 2017 13:57:28 +0000 (14:57 +0100)]
Updated android build scripts for OpenSSL 1.1
Bernhard Miklautz [Mon, 16 Jan 2017 10:34:32 +0000 (11:34 +0100)]
Install man pages
* man pages are only build/installed if WITH_MANPAGES is enabled
* create a new cmake function install_freerdp_man to unified install man
pages
* install all man pages using the new function
* update the nightly packages accordingly
Bernhard Miklautz [Mon, 16 Jan 2017 10:09:26 +0000 (11:09 +0100)]
wlfreerdp: add initial man page
Bernhard Miklautz [Mon, 16 Jan 2017 08:25:58 +0000 (09:25 +0100)]
shadow-cli: add initial man page
Bernhard Miklautz [Mon, 16 Jan 2017 07:58:04 +0000 (08:58 +0100)]
shadow server: add more error messages
Bernhard Miklautz [Thu, 12 Jan 2017 15:33:36 +0000 (16:33 +0100)]
cmdline: fix wlog man page reference
It's wlog(7) now.
Bernhard Miklautz [Thu, 12 Jan 2017 15:25:25 +0000 (16:25 +0100)]
winpr-makecert: add initial man page
Bernhard Miklautz [Thu, 12 Jan 2017 14:46:13 +0000 (15:46 +0100)]
makecert: fix a regression with > 2048 bit
When certificates with more than 2048 bits were generated and written to
file the read function used a erroneous calculated length causing the
used buffer to overflow.
Bernhard Miklautz [Thu, 12 Jan 2017 10:04:34 +0000 (11:04 +0100)]
winpr-makecert: use sha256 and update command line
* use sha256 instead of sha1 as default hash algorithm
* fix command line parser
* mark not implemented command line switches as unsupported
Bernhard Miklautz [Wed, 11 Jan 2017 14:28:18 +0000 (15:28 +0100)]
winpr-hash: cleanup cmd line and add man page
* add a initial man page
* clean up the command line a little bit (basically error messages)
Bernhard Miklautz [Wed, 11 Jan 2017 14:24:49 +0000 (15:24 +0100)]
utils: remove unnecessary debug message.
Change the level from info to debug as it's nothing a regular users
would have interest in.
Bernhard Miklautz [Wed, 21 Dec 2016 14:25:03 +0000 (15:25 +0100)]
Include major version number in library names
Currently it is not possible to cleanly install multiple major version
of FreeRDP concurrently as some of the development libraries (.so files)
files can conflict.
This change renames all libraries to include the major version number in
the library name to fix this limitation.
The list of changed libraries:
libwinpr-tools.so -> libwinpr-tools2.so
libwinpr.so -> libwinpr2.so
libfreerdp.so -> libfreerdp2.so
libfreerdp-client.so -> libfreerdp-client2.so
libfreerdp-shadow.so -> libfreerdp-shadow2.so
libfreerdp-server.so -> libfreerdp-server2.so
libfreerdp-shadow-subsystem.so -> libfreerdp-shadow-subsystem2.so
libuwac.so -> libuwac0.so
As the library names have changed, projects that use FreeRDP will need to
update their dependencies. -
If pkg-config or cmake find modules are used, reconfiguration might be
sufficient.
Fixes #3460
Martin Fleisz [Mon, 16 Jan 2017 09:36:28 +0000 (10:36 +0100)]
Merge pull request #3701 from akallabeth/progressive_inlined
[performance] Progressive inlined
Armin Novak [Fri, 13 Jan 2017 10:14:30 +0000 (11:14 +0100)]
Do not reset V-Bar storage.
Norbert Federa [Fri, 13 Jan 2017 08:46:14 +0000 (09:46 +0100)]
Merge pull request #3665 from realjiangms/fix_ssl_add_all_digests
Winpr/openssl: Fix digests initialization in multi-thread
Martin Fleisz [Fri, 13 Jan 2017 08:24:52 +0000 (09:24 +0100)]
Merge pull request #3694 from akallabeth/avc420_black_artifact_fix
Fixed solid fill command.
Martin Fleisz [Thu, 12 Jan 2017 16:27:05 +0000 (17:27 +0100)]
Merge pull request #3688 from akallabeth/clear_codec_buffer_resize_fix
Clear codec buffer resize fix
Martin Fleisz [Thu, 12 Jan 2017 15:04:57 +0000 (16:04 +0100)]
Merge pull request #3696 from akallabeth/gdi_stride_init
Initializing gdi.stride on resize.
Armin Novak [Thu, 12 Jan 2017 14:31:25 +0000 (15:31 +0100)]
Inlined progressive helper functions.
Armin Novak [Thu, 12 Jan 2017 14:30:06 +0000 (15:30 +0100)]
Unified clipping of byte values.
akallabeth [Thu, 12 Jan 2017 11:04:10 +0000 (12:04 +0100)]
Merge pull request #3698 from rjcorrig/kb3203884
winpr: Updates time zone data to December 2016
Robert Corrigan [Wed, 11 Jan 2017 21:56:34 +0000 (16:56 -0500)]
Update timezone data to Dec 2016
Jakub Adam [Sun, 1 Jan 2017 18:45:50 +0000 (19:45 +0100)]
Allow custom MultifragMaxRequestSize in server mode
FreeRDP calculates default request size in server mode based upon
the desktop resolution. In practice, however, I've found clients (namely
MS Lync 2013) which would show only a black screen when the value is
greater than 0x3EFFFF.
This change allows to override the default in such special cases by
assigning a different value to server->settings->MultifragMaxRequestSize
after the shadow server structure is initialized in shadow_server_new().
akallabeth [Wed, 11 Jan 2017 15:31:15 +0000 (16:31 +0100)]
Merge pull request #3622 from khvMX/master
Ungrab keyboard feature for X11
Armin Novak [Tue, 10 Jan 2017 13:15:53 +0000 (14:15 +0100)]
Unified clear internal buffer resize.
Internal datastructures now opaque.
Armin Novak [Tue, 10 Jan 2017 09:23:49 +0000 (10:23 +0100)]
Removed duplicated format variable.
Armin Novak [Wed, 11 Jan 2017 14:31:48 +0000 (15:31 +0100)]
Initializing gdi.stride on resize.
Martin Fleisz [Wed, 11 Jan 2017 14:22:07 +0000 (15:22 +0100)]
Merge pull request #3695 from jcrespo-asg/win_cliprdr
windows clipboard fix: cliprdr_send_format_list format name
jcrespo-asg [Wed, 11 Jan 2017 13:29:48 +0000 (14:29 +0100)]
windows fix: cliprdr_send_format_list format name
Armin Novak [Wed, 11 Jan 2017 12:41:47 +0000 (13:41 +0100)]
Initialize alpha channel in planar decode.
Armin Novak [Wed, 11 Jan 2017 12:15:28 +0000 (13:15 +0100)]
Fixed solid fill command.
If the alpha channel must be ignored in this command.
akallabeth [Wed, 11 Jan 2017 10:37:50 +0000 (11:37 +0100)]
Merge pull request #3689 from iiordanov/fix_wrong_method_signature_OnRemoteClipboardChanged
Correcting invocation of OnRemoteClipboardChanged to avoid java.lang.NoSuchMethodError
akallabeth [Wed, 11 Jan 2017 10:02:00 +0000 (11:02 +0100)]
Merge pull request #1750 from ccpp/master
Support for HTTP-Proxy
Martin Fleisz [Wed, 11 Jan 2017 10:01:48 +0000 (11:01 +0100)]
Merge pull request #3661 from akallabeth/error_status
Error status for DNS errors
akallabeth [Wed, 11 Jan 2017 09:15:09 +0000 (10:15 +0100)]
Merge pull request #3684 from akallabeth/channel_attach_warn_fix
Fixed function argument types. #3683
Iordan Iordanov [Tue, 10 Jan 2017 22:17:44 +0000 (17:17 -0500)]
The first parameter of LibFreeRDP.OnRemoteClipboardChanged() was
changed from int to long, however, the changed method signature was not
reflected in android_cliprdr.c.
As a result, a copy in the remote session would result in the
java.lang.NoSuchMethodError below:
01-08 20:24:16.620 8234 8865 E AndroidRuntime: FATAL EXCEPTION: Thread-11495
01-08 20:24:16.620 8234 8865 E AndroidRuntime: Process: com.iiordanov.aRDP, PID: 8234
01-08 20:24:16.620 8234 8865 E AndroidRuntime: java.lang.NoSuchMethodError: no static method "Lcom/freerdp/freerdpcore/services/LibFreeRDP;.OnRemoteClipboardChanged(ILjava/lang/String;)V"
01-08 20:51:44.737 11025 11439 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0xa0 in tid 11439 (Thread-6)
01-08 20:53:14.887 11717 11717 E AndroidRuntime: FATAL EXCEPTION: main
This commit fixes the bug.
Armin Novak [Tue, 10 Jan 2017 08:17:14 +0000 (09:17 +0100)]
Fixed function argument types. #3683
akallabeth [Mon, 9 Jan 2017 16:07:08 +0000 (17:07 +0100)]
Merge pull request #3681 from mfleisz/openssl110_include_fix
Fix compilation with OpenSSL 1.1.0 using MSVC
Bernhard Miklautz [Mon, 9 Jan 2017 16:02:49 +0000 (17:02 +0100)]
Merge pull request #3680 from akallabeth/patblt_fix
Fixed patblt for mono color. #3678
Martin Fleisz [Mon, 9 Jan 2017 15:58:57 +0000 (16:58 +0100)]
Merge pull request #3662 from akallabeth/session_detach_support
Session detach support
Martin Fleisz [Mon, 9 Jan 2017 15:43:28 +0000 (16:43 +0100)]
Fix compilation with OpenSSL 1.1.0 using MSVC
Armin Novak [Mon, 9 Jan 2017 15:35:34 +0000 (16:35 +0100)]
Fixed software GDI line to pen color.
Armin Novak [Mon, 9 Jan 2017 14:23:10 +0000 (15:23 +0100)]
Fixed patblt for mono color. #3678
Martin Fleisz [Mon, 9 Jan 2017 13:20:11 +0000 (14:20 +0100)]
Merge pull request #3679 from akallabeth/auto_reconnect_infinite
AutoReconnect support unlimited retries.
Armin Novak [Mon, 9 Jan 2017 11:34:09 +0000 (12:34 +0100)]
AutoReconnect support unlimited retries.
Bernhard Miklautz [Mon, 9 Jan 2017 09:56:35 +0000 (10:56 +0100)]
Merge pull request #3677 from alex7ce/master
Added missing pointer.SetPosition to corrected crash
Alexander [Fri, 6 Jan 2017 12:27:23 +0000 (14:27 +0200)]
Declared pointer.SetPosition to corrected crash if mouse pointer position changed programmatically
Norbert Federa [Wed, 28 Dec 2016 11:45:52 +0000 (12:45 +0100)]
Merge pull request #3668 from bmiklautz/channel_ex
Improve and fix extended channel handling
Bernhard Miklautz [Wed, 28 Dec 2016 11:05:01 +0000 (12:05 +0100)]
Use common handle ids for all channels
Channels with regular and extended interface need to live in the same
handle name space otherwise they can't be uniquely identified in the
global channel manager.
Armin Novak [Wed, 28 Dec 2016 10:21:14 +0000 (11:21 +0100)]
Add "Ex" interface support for external channels
Support the VirtualChannelEntryEx interface also for channels that are
not static (as in compiled in).
zihao.jiang [Mon, 26 Dec 2016 14:21:36 +0000 (22:21 +0800)]
Winpr/openssl: Fix digests initialization in multi-thread
SSL functions like OpenSSL_add_all_digests should be invoked at very beginning as they are not MT safe.
If not we might meet double free exception as following:
#0 0x00007f23ddd71c37 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f23ddd75028 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007f23dddae2a4 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007f23dddba55e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x00007f23dc6ecfcd in CRYPTO_free () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#5 0x00007f23dc6ef8d1 in OBJ_NAME_add () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#6 0x00007f23dc77dcd8 in EVP_add_digest () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#7 0x00007f23dc782321 in OpenSSL_add_all_digests () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#8 0x00007f23c781da28 in winpr_openssl_get_evp_md (md=4) at /home/zihao/workspace/zihao_FreeRDP/winpr/libwinpr/crypto/hash.c:52
#9 0x00007f23c781dccb in winpr_Digest_Init (ctx=0x7f22d064d470, md=<optimized out>) at /home/zihao/workspace/zihao_FreeRDP/winpr/libwinpr/crypto/hash.c:344
#10 0x00007f23d486139b in security_salted_mac_signature (rdp=0x7f23859f5a20, data=0x7f238542d4fb "\004\204\022\004", length=4743, encryption=<optimized out>, output=0x7
at /home/zihao/workspace/zihao_FreeRDP/libfreerdp/core/security.c:378
#11 0x00007f23d488d73f in fastpath_send_update_pdu (fastpath=<optimized out>, updateCode=4 '\004', s=0x7f23859f5f40, skipCompression=true)
at /home/zihao/workspace/zihao_FreeRDP/libfreerdp/core/fastpath.c:1076
#12 0x00007f23d4891c4f in update_send_surface_frame_bits (context=0x7f23859f5540, cmd=0x7f22b2ffcc80, first=true, last=true, frameId=6)
at /home/zihao/workspace/zihao_FreeRDP/libfreerdp/core/update.c:1041
Related reports: https://rt.openssl.org/Ticket/Display.html?id=2216&user=guest&pass=guest
Viktor Mukha [Tue, 20 Dec 2016 09:59:45 +0000 (10:59 +0100)]
X11 ungrab keyboard only if RightCtrl is released right away
Armin Novak [Mon, 19 Dec 2016 16:13:25 +0000 (17:13 +0100)]
Added detach support for microphone
Armin Novak [Mon, 19 Dec 2016 16:07:01 +0000 (17:07 +0100)]
Added attach/detach support for channels.
Armin Novak [Mon, 19 Dec 2016 13:13:36 +0000 (14:13 +0100)]
Printing a warning if a error is overwritten.
Armin Novak [Mon, 19 Dec 2016 12:49:40 +0000 (13:49 +0100)]
Setting DNS error if lookup fails.
Martin Fleisz [Mon, 19 Dec 2016 12:14:30 +0000 (13:14 +0100)]
Merge pull request #3657 from akallabeth/auto_reconnect_max_retry_support
New argument /auto-reconnect-max-retries:<retries>
Martin Fleisz [Mon, 19 Dec 2016 09:50:09 +0000 (10:50 +0100)]
Merge pull request #3660 from nfedera/fix_profiler_print_format_specifier
fix format specifier in profiler_print
Bernhard Miklautz [Mon, 19 Dec 2016 09:22:30 +0000 (10:22 +0100)]
Merge pull request #3658 from xhaakon/master
Fix -Wundef with GCC 6.2.1 in wtypes.h
Norbert Federa [Mon, 19 Dec 2016 09:01:18 +0000 (10:01 +0100)]
fix format specifier in profiler_print
Armin Novak [Mon, 19 Dec 2016 08:17:08 +0000 (09:17 +0100)]
Sanity check for auto reconnect retries.
Norbert Federa [Mon, 19 Dec 2016 07:50:16 +0000 (08:50 +0100)]
Merge branch 'master' into master
Norbert Federa [Mon, 19 Dec 2016 07:46:25 +0000 (08:46 +0100)]
Merge pull request #3655 from nfedera/fix-wtypes-and-formatstrings
Fix wtypes and format strings
Norbert Federa [Fri, 16 Dec 2016 12:38:43 +0000 (13:38 +0100)]
ctest for int format specifiers and usage doc
Viktor Mukha [Fri, 16 Dec 2016 13:15:47 +0000 (14:15 +0100)]
X11 will ungrab keyboard when RightCtrl is pressed
Norbert Federa [Tue, 13 Dec 2016 21:47:08 +0000 (22:47 +0100)]
fix string format specifiers
- fixed invalid, missing or additional arguments
- removed all type casts from arguments
- added missing (void*) typecasts for %p arguments
- use inttypes defines where appropriate
Norbert Federa [Tue, 13 Dec 2016 21:41:46 +0000 (22:41 +0100)]
rewrite of wtypes.h
Jakub Adam [Fri, 16 Dec 2016 11:15:53 +0000 (12:15 +0100)]
Fix -Wundef with GCC 6.2.1 in wtypes.h
Undefined preprocessor macro in wtypes.h produces:
warning: "__ILP64__" is not defined [-Wundef]
This causes unnecessary hassle to people who compile their FreeRDP-based
applications with -Werror.