Commit Graph

2419 Commits

Author SHA1 Message Date
akallabeth
86a58a8dc9 Merge pull request #3689 from iiordanov/fix_wrong_method_signature_OnRemoteClipboardChanged
Correcting invocation of OnRemoteClipboardChanged to avoid java.lang.NoSuchMethodError
2017-01-11 11:37:50 +01:00
akallabeth
3762401d43 Merge pull request #1750 from ccpp/master
Support for HTTP-Proxy
2017-01-11 11:02:00 +01:00
Iordan Iordanov
f4b08d8347 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.
2017-01-10 17:17:44 -05:00
Armin Novak
085ee3ac0f Fixed patblt for mono color. #3678 2017-01-09 15:25:47 +01:00
Armin Novak
03adbd24a8 AutoReconnect support unlimited retries. 2017-01-09 12:34:09 +01:00
Alexander
519de295f6 Declared pointer.SetPosition to corrected crash if mouse pointer position changed programmatically 2017-01-06 14:27:23 +02:00
Viktor Mukha
d129102e4c X11 ungrab keyboard only if RightCtrl is released right away 2016-12-20 10:59:45 +01:00
Martin Fleisz
8d0809cf26 Merge pull request #3657 from akallabeth/auto_reconnect_max_retry_support
New argument /auto-reconnect-max-retries:<retries>
2016-12-19 13:14:30 +01:00
Armin Novak
d7df692fe9 Sanity check for auto reconnect retries. 2016-12-19 09:17:08 +01:00
Viktor Mukha
b99a697796 X11 will ungrab keyboard when RightCtrl is pressed 2016-12-16 14:15:47 +01:00
Norbert Federa
f71b6b46e8 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
2016-12-16 13:48:43 +01:00
Armin Novak
e447e57aa9 New argument /auto-reconnect-max-retries:<retries> 2016-12-16 12:59:57 +01:00
Martin Fleisz
2b9165466d Merge pull request #3648 from akallabeth/clear_codec_fixed
Clear Codec and AVC420 fixes
2016-12-15 16:02:05 +01:00
akallabeth
68f06f8726 Merge pull request #3653 from mfleisz/cmake_fix
cmake: Fix wrong pdb name
2016-12-15 13:01:50 +01:00
Armin Novak
f0203900d7 Fixed +auto-reconnect (#3650) 2016-12-15 12:10:11 +01:00
Martin Fleisz
7584c2c0da cmake: Query OUTPUT_NAME property for pdb name 2016-12-13 09:38:02 +01:00
Martin Fleisz
705c0cf923 cmake: Fix wrong pdb name 2016-12-12 13:12:41 +01:00
Christian Plattner
58ef7cc42d More abstracted proxy handling 2016-12-10 23:13:35 +01:00
Christian Plattner
5d10b3bf5b 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
2016-12-09 20:43:02 +01:00
Armin Novak
514a33d435 Respecting color depth with RDP_CODEC_ID_NONE. 2016-12-07 13:22:52 +01:00
Armin Novak
d4b823d5cb Using a single codec context per session. 2016-12-07 13:22:00 +01:00
Martin Fleisz
055d0126ab client/win: Too many params in function call 2016-12-05 13:47:19 +01:00
Armin Novak
0906483f1c Added 64bit support to API. 2016-12-02 12:04:53 +01:00
Armin Novak
ea41084281 Updated build tools and readme for android. 2016-12-02 12:04:53 +01:00
akallabeth
ac9e7530d3 Merge pull request #3637 from mfleisz/rfx_api_simplify
codec: Remove src format parameter from rfx_process_message
2016-12-02 09:38:33 +01:00
Martin Fleisz
e059e3dea3 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.
2016-12-01 17:21:06 +01:00
Bernhard Miklautz
c82cd6cb57 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
2016-12-01 15:36:31 +01:00
Norbert Federa
c6e6b44143 countless WLog/printf format specifier fixes 2016-11-25 17:06:25 +01:00
Martin Fleisz
9e474b43d1 Merge pull request #3623 from akallabeth/mouse_wheel_event_check
Check hwheel capability before sending mouse event.
2016-11-25 13:41:07 +01:00
Martin Fleisz
b16df594db Merge pull request #3618 from akallabeth/x11_scanline_full_fix
Unified X11 scanline calculation
2016-11-25 10:21:26 +01:00
Armin Novak
a0fed88574 Check hwheel capability before sending mouse event. 2016-11-24 13:19:46 +01:00
Martin Fleisz
0febd9c7cd Merge pull request #3563 from akallabeth/android_update
Android fix warnings, visibility and formatting
2016-11-24 12:59:30 +01:00
Viktor Mukha
649073ef7b Ungrab keyboard feature for X11 2016-11-24 11:35:30 +01:00
Armin Novak
3c25ffb38c Unified scanline padding function. 2016-11-24 09:02:06 +01:00
Norbert Federa
812def37f1 Merge pull request #3612 from akallabeth/align_fix
Fixed broken scanline alignment.
2016-11-23 17:57:47 +01:00
Martin Fleisz
faefe54d69 Merge pull request #3603 from realjiangms/fix_shadow_resize
X11/client: call gdi resize on hw desktop resize.
2016-11-23 15:47:32 +01:00
Armin Novak
61a1c8ccc5 Fixed broken scanline alignment. 2016-11-23 12:54:20 +01:00
Martin Fleisz
f8bcd706f6 Merge pull request #3581 from akallabeth/alignment_fix
Fixed surface alignment.
2016-11-17 15:41:17 +01:00
zihao.jiang
e3506bfe88 X11/client: call gdi resize on hw desktop resize. The gdi primary buffer is used in client/X11/xf_gdi.c, it should be big enough to hold the full screen update 2016-11-17 14:36:02 +08:00
Marc-André Moreau
128ce8a5a4 Merge pull request #3597 from awakecoding/tls_channel_fix
Virtual Channel Mapping Fix
2016-11-16 11:37:14 -05:00
Marc-André Moreau
36db0cc325 channels: properly handle VirtualChannelEntryEx in static virtual channel loading 2016-11-16 09:52:24 -05:00
Marc-André Moreau
2cce8e9fbc channels: migrate drdynvc to extended virtual channel API 2016-11-15 10:58:38 -05:00
Marc-André Moreau
2259e91adc channels: prepare virtual channel system for extended virtual channel API 2016-11-15 09:09:30 -05:00
akallabeth
f910bbe7b4 Merge pull request #3572 from rjcorrig/maclogin
client/mac: Run password dialog as a modal sheet and set window title to server:port
2016-11-10 08:56:34 +01:00
Armin Novak
f62d00445e Fixed surface alignment. 2016-10-28 11:54:34 +02:00
David Fort
043243f43c Merge pull request #3560 from akallabeth/gfx_10_2
Gfx 10.2 caps and deactivate GDI unsupported functions
2016-10-21 09:29:51 +02:00
Robert Corrigan
405e7ebb6e Code style fixes 2016-10-20 11:22:08 -04:00
akallabeth
a6f41176fc Merge pull request #3364 from hardening/limit_frames
Limit the time passed in transport check loop
2016-10-20 12:53:23 +02:00
Robert Corrigan
91e6255015 Run password dialog as a modal sheet and set window title to server:port 2016-10-19 17:11:40 -04:00
Martin Fleisz
f5a6645832 Merge pull request #3571 from akallabeth/clang_fixes
Clang fixes
2016-10-19 15:45:17 +02:00
Armin Novak
4ceda8a097 Fixed uninitialized return. 2016-10-19 11:11:35 +02:00
David Fort
02b4b5b001 Added a command line parameter to set the time passed in packet loop 2016-10-17 18:56:52 +02:00
Armin Novak
43755c28eb Android: fixed visibility, reformatted 2016-10-17 12:20:06 +02:00
Armin Novak
b6907aa2b1 Deactivated unsupported operations. 2016-10-16 15:11:01 +02:00
Armin Novak
8ef1808191 Adjusted non X11 implementations. 2016-10-14 12:50:04 +02:00
Armin Novak
9c50e1a635 Replaced _VF formats with copy flags. 2016-10-14 10:36:52 +02:00
Armin Novak
25c7372fe6 Fixed offset and stride for X11 surface bits. 2016-10-12 09:32:05 +02:00
Armin Novak
8286fa4b96 Fixed format flip and offsets for GDI. 2016-10-11 18:50:01 +02:00
Armin Novak
404ae7d83c Fixed Windows 7 RFX issues. 2016-10-11 14:34:07 +02:00
akallabeth
1d03fd32a3 Merge pull request #3470 from untoldone/master
mac BUILD_SHARED_LIBS=ON fix (on master)
2016-10-11 13:15:13 +02:00
Bernhard Miklautz
4085d45773 Merge pull request #3531 from rjcorrig/macdialogfix
client/Mac: Runs Mac password dialog on main UI thread
2016-10-11 09:44:53 +02:00
zihao.jiang
34b4bca119 Fix nsc client after after color conversion huge fix
nsc codec client doesn't work:
1. We should mark invalid region for software gdi
2. Checked the code before color conversion fix, the correct color format should be PIXEL_FORMAT_BGRX32_VF (corresponds to old PIXEL_FORMAT_XRGB32_VF)
3. For gdi:hw: xfc->bitmap_buffer is never used/initialized. However gdi->primary_buffer is always maintained. So use primary_buffer to hold the decoded bitmap data
2016-10-11 02:18:31 +08:00
Martin Fleisz
38f9d0f675 Merge pull request #3529 from akallabeth/warning_fixes
Variadic macro warning fixes
2016-10-10 12:23:57 +02:00
Armin Novak
249bb1292f Fixed pointer color mapping. 2016-10-10 09:19:43 +02:00
Robert Corrigan
ecf9eed809 Runs Mac password dialog on main UI thread 2016-10-08 11:30:04 -04:00
Armin Novak
14fcfbbf31 Addin loader using proper function pointer defines. 2016-10-07 14:06:46 +02:00
Armin Novak
943e295714 WLog using C99 compatible variadic macros. 2016-10-07 14:05:27 +02:00
Armin Novak
649d270ccd Fixed GDI_RGN->null initialization. 2016-10-06 13:43:15 +02:00
Armin Novak
8f1adf64ee Refactored ClipboardSetData. 2016-10-06 13:43:15 +02:00
Armin Novak
97e8f9ec49 Fixed broken return check. 2016-10-06 13:43:15 +02:00
Armin Novak
70f3d43975 Removed broken return check. 2016-10-06 13:43:15 +02:00
Armin Novak
5ba9f82843 Reformatted file. 2016-10-06 13:43:14 +02:00
Armin Novak
3b9c74ec0b Reformatted file. 2016-10-06 13:43:14 +02:00
Armin Novak
dec268d1ab Reformatted file. 2016-10-06 13:43:13 +02:00
Armin Novak
ab231f8180 Reformatted file. 2016-10-06 13:43:13 +02:00
Armin Novak
569c6a578d Reformatted file. 2016-10-06 13:43:13 +02:00
Armin Novak
a4014b4182 Reformatted file. 2016-10-06 13:43:13 +02:00
Armin Novak
14ed7743ed Reformatted file. 2016-10-06 13:43:13 +02:00
Armin Novak
226ee437cb Reformatted file. 2016-10-06 13:43:13 +02:00
Armin Novak
6cd2a43cf4 Reformatted file. 2016-10-06 13:43:13 +02:00
Armin Novak
377b9551a6 Reformatted file. 2016-10-06 13:43:13 +02:00
Armin Novak
b1c54619d6 Reformatted file. 2016-10-06 13:43:13 +02:00
Armin Novak
4d179fd88a Reformatted file. 2016-10-06 13:43:13 +02:00
Armin Novak
dd676c7b29 Fixed missing NULL checks. 2016-10-06 13:43:13 +02:00
Armin Novak
5a2c249749 Disabled glyph-cache 2016-10-06 13:43:12 +02:00
Armin Novak
f2d7766db6 Moved common async input handling to core library. 2016-10-06 13:43:12 +02:00
Armin Novak
4e11883f27 Fixed X11 cursor decoding. 2016-10-06 13:43:11 +02:00
Armin Novak
83c6a7942d Removed broken X11 command. 2016-10-06 13:43:11 +02:00
Armin Novak
196386f59b Android client support script fixes. 2016-10-06 13:43:11 +02:00
Armin Novak
161685b25c Fixed some more glyph chache bugs. 2016-10-06 13:43:11 +02:00
Armin Novak
0c57065c73 GlyphCache: Erasing destination if not redundant. 2016-10-06 13:43:11 +02:00
Armin Novak
e23a7e29a1 Removed obsolete code. 2016-10-06 13:43:10 +02:00
Armin Novak
c242467346 Fixed some X11 functions. 2016-10-06 13:43:10 +02:00
Armin Novak
b320e3c10e windows fixes. 2016-10-06 13:43:10 +02:00
Armin Novak
22ddec810b Moved pre and post channel hooks. 2016-10-06 13:43:10 +02:00
Armin Novak
2e76529e5d Updated Order support. 2016-10-06 13:43:10 +02:00
Armin Novak
9c64e77a84 Disabled thread local storage on iOS.
iOS does not support Thread Local Storage.
Disabling it for now until a solution is found.
Print a compiler warning informing developers about this issue.
2016-10-06 13:43:10 +02:00
Armin Novak
d35823cf69 Moved channel init code to core library. 2016-10-06 13:43:09 +02:00
Armin Novak
dadc5262ae Removed static channel variables.
Global static variables do not work, if more than one instance
of an RDP client is running in the same process space.
Removed the varaibles where possible and replaced them with
thread local storage where necessary.
2016-10-06 13:43:09 +02:00
Armin Novak
2e40c9c99d Windows GDI color decoding. 2016-10-06 13:43:09 +02:00