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
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
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.
Armin Novak [Fri, 16 Dec 2016 11:56:17 +0000 (12:56 +0100)]
New argument /auto-reconnect-max-retries:<retries>
Martin Fleisz [Thu, 15 Dec 2016 15:02:05 +0000 (16:02 +0100)]
Merge pull request #3648 from akallabeth/clear_codec_fixed
Clear Codec and AVC420 fixes
akallabeth [Thu, 15 Dec 2016 12:01:50 +0000 (13:01 +0100)]
Merge pull request #3653 from mfleisz/cmake_fix
cmake: Fix wrong pdb name
Martin Fleisz [Thu, 15 Dec 2016 11:28:50 +0000 (12:28 +0100)]
Merge pull request #3654 from akallabeth/auto_reconnect_fix
Fixed +auto-reconnect (#3650)
Armin Novak [Thu, 15 Dec 2016 11:09:05 +0000 (12:09 +0100)]
Fixed +auto-reconnect (#3650)
Bernhard Miklautz [Tue, 13 Dec 2016 14:36:05 +0000 (15:36 +0100)]
rfx: fix possible segfault in error case
Christian Plattner [Tue, 13 Dec 2016 11:10:47 +0000 (12:10 +0100)]
Code reformatting of proxy.c, proxy.h
Martin Fleisz [Tue, 13 Dec 2016 08:38:02 +0000 (09:38 +0100)]
cmake: Query OUTPUT_NAME property for pdb name
Christian Plattner [Mon, 12 Dec 2016 16:16:12 +0000 (17:16 +0100)]
Dynamic environment variable length of $https_proxy
Armin Novak [Mon, 12 Dec 2016 16:04:41 +0000 (17:04 +0100)]
Clear codec internal format: keep API compatible
Christian Plattner [Mon, 12 Dec 2016 15:56:52 +0000 (16:56 +0100)]
Bug: strndup not supported in windows
Martin Fleisz [Mon, 12 Dec 2016 12:12:41 +0000 (13:12 +0100)]
cmake: Fix wrong pdb name
Christian Plattner [Sat, 10 Dec 2016 22:13:35 +0000 (23:13 +0100)]
More abstracted proxy handling
Christian Plattner [Sat, 10 Dec 2016 18:00:32 +0000 (19:00 +0100)]
Bugfix setting HTTP proxy name (fixes environment variable detection)
Christian Plattner [Sat, 10 Dec 2016 17:59:58 +0000 (18:59 +0100)]
Use logging API for HTTP proxy
Christian Plattner [Fri, 9 Dec 2016 19:43:02 +0000 (20:43 +0100)]
Merge branch 'gateway-http-bugfix'
Conflicts:
client/common/cmdline.c
include/freerdp/settings.h
libfreerdp/common/settings.c
libfreerdp/core/settings.c
libfreerdp/core/tcp.c
libfreerdp/core/transport.c
Christian Plattner [Thu, 8 Dec 2016 17:51:26 +0000 (18:51 +0100)]
Revert "HTTP Proxy: Simplify using buffered BIO and trio_asprintf"
This reverts commit
91eddce7fba1d801bb969739844b87fcb2310755.
Conflicts:
libfreerdp/core/proxy.c
libfreerdp/core/tcp.c
Armin Novak [Wed, 7 Dec 2016 12:47:56 +0000 (13:47 +0100)]
Provide clear codec intermediate format.
Armin Novak [Wed, 7 Dec 2016 11:49:04 +0000 (12:49 +0100)]
Fixed clear codec glyph cache.
Armin Novak [Wed, 7 Dec 2016 10:26:42 +0000 (11:26 +0100)]
Respecting color depth with RDP_CODEC_ID_NONE.
Armin Novak [Tue, 6 Dec 2016 15:44:00 +0000 (16:44 +0100)]
Using a single codec context per session.
Bernhard Miklautz [Tue, 6 Dec 2016 13:34:35 +0000 (14:34 +0100)]
Merge pull request #3626 from akallabeth/primitives_speedup
Added optimized pixel write functions for colors.
akallabeth [Tue, 6 Dec 2016 09:42:42 +0000 (10:42 +0100)]
Merge pull request #3643 from mfleisz/misc_fixes
Misc fixes
Martin Fleisz [Mon, 5 Dec 2016 12:47:19 +0000 (13:47 +0100)]
client/win: Too many params in function call
Martin Fleisz [Mon, 5 Dec 2016 12:44:08 +0000 (13:44 +0100)]
codec: Fix broken return values
Martin Fleisz [Mon, 5 Dec 2016 12:43:45 +0000 (13:43 +0100)]
codec: Minor code cleanup
Marc-André Moreau [Fri, 2 Dec 2016 21:54:06 +0000 (16:54 -0500)]
Merge pull request #3640 from awakecoding/uwp_fix
UWP portability fixes
Marc-André Moreau [Fri, 2 Dec 2016 18:18:55 +0000 (13:18 -0500)]
winpr: fix UWP portability
Bernhard Miklautz [Fri, 2 Dec 2016 11:25:07 +0000 (12:25 +0100)]
Merge pull request #3635 from akallabeth/android_build_update
Updated build tools and readme for android.
Armin Novak [Fri, 2 Dec 2016 09:46:43 +0000 (10:46 +0100)]
Ensure securityFlags are always initialized.
Armin Novak [Fri, 2 Dec 2016 09:15:17 +0000 (10:15 +0100)]
Fixed format specifier mismatch.
Armin Novak [Fri, 2 Dec 2016 09:12:26 +0000 (10:12 +0100)]
Added 64bit support to API.
Armin Novak [Thu, 1 Dec 2016 09:51:27 +0000 (10:51 +0100)]
Updated build tools and readme for android.
Bernhard Miklautz [Fri, 2 Dec 2016 10:30:55 +0000 (11:30 +0100)]
Merge pull request #3638 from mfleisz/comp_fixes
codec: Fix compiler errors
Martin Fleisz [Fri, 2 Dec 2016 10:13:20 +0000 (11:13 +0100)]
codec: Fix compiler errors
Bernhard Miklautz [Fri, 2 Dec 2016 09:31:22 +0000 (10:31 +0100)]
Merge pull request #3580 from akallabeth/clear_logging
Extensive debug messages for clear_decompress.
Armin Novak [Thu, 20 Oct 2016 09:09:37 +0000 (11:09 +0200)]
Extensive debug messages for clear_decompress.
akallabeth [Fri, 2 Dec 2016 08:38:33 +0000 (09:38 +0100)]
Merge pull request #3637 from mfleisz/rfx_api_simplify
codec: Remove src format parameter from rfx_process_message
akallabeth [Fri, 2 Dec 2016 08:04:48 +0000 (09:04 +0100)]
Merge pull request #3636 from bmiklautz/fixes20161201
Misc fixes
Martin Fleisz [Thu, 1 Dec 2016 16:21:06 +0000 (17:21 +0100)]
codec: Remove src format parameter from rfx_process_message
This parameter is not required. Default param is BGRX32
and if an other format is required rfx_codec_set_pixel_format
can be used.
Armin Novak [Thu, 1 Dec 2016 10:50:01 +0000 (11:50 +0100)]
Fixed unused and uninitialized warnings.
Bernhard Miklautz [Thu, 1 Dec 2016 10:40:38 +0000 (11:40 +0100)]
Fix compiler warning
FreeRDP/client/common/client.c: In function ‘freerdp_client_context_new’:
FreeRDP/client/common/client.c:86:38: warning: passing argument 1 of ‘freerdp_register_addin_provider’ from incompatible pointer type
if (freerdp_register_addin_provider(freerdp_channels_load_static_addin_entry,
FreeRDP/include/freerdp/addin.h:60:17: note: expected ‘FREERDP_LOAD_CHANNEL_ADDIN_ENTRY_FN’ but argument is of type ‘void * (*)(const CHAR *, CHAR *, CHAR *, DWORD)’
FREERDP_API int freerdp_register_addin_provider(
In file included from FreeRDP/client/common/compatibility.c:27:0:
FreeRDP/include/freerdp/addin.h:60:17: note: expected ‘FREERDP_LOAD_CHANNEL_ADDIN_ENTRY_FN’ but argument is of type ‘void * (*)(const CHAR *, CHAR *, CHAR *, DWORD)’
FREERDP_API int freerdp_register_addin_provider(
gcc (Debian 4.9.2-10) 4.9.2
Bernhard Miklautz [Thu, 1 Dec 2016 10:15:11 +0000 (11:15 +0100)]
Fix some spelling errors
Fixes #3633
Bernhard Miklautz [Thu, 1 Dec 2016 10:10:58 +0000 (11:10 +0100)]
Fix issues in wlog man page
* fix spelling errors
* move man page from section 1 to section 7
* fix the man page header to match the actual section
* adapt the packages for wlog.7
Fixes #3632
MartinHaimberger [Mon, 28 Nov 2016 09:01:15 +0000 (10:01 +0100)]
Merge pull request #3629 from nfedera/fix-wlog-format-and-arguments
countless WLog/printf format specifier fixes