akallabeth
79522d7e2f
Fixed primary monitor index for wayland fullscreen
2020-05-05 10:31:26 +02:00
David Fort
5b98aa7515
Merge pull request #6063 from akallabeth/expert_settings
...
Added expert settings /tune and /tune-list
2020-05-04 12:09:39 +02:00
Andrey
f14373172d
Android client version bump ( #6126 )
...
Library names update
Co-authored-by: Andrey Rankov <andreyr@appcard.com>
2020-05-04 09:38:31 +02:00
akallabeth
77b38d9375
Fixed #6087 : Inconsistend scroll on wayland
...
Thanks to @yol and @SaschaWessel a bug in scroll step conversion
was uncovered. The RDP value ranges are inverted when scrolling
in negative direction.
2020-05-04 08:57:56 +02:00
akallabeth
9379f93034
Fixed #6121 : Use correct destination color format
2020-04-28 12:40:03 +02:00
Sascha Wessel
9867793d07
wlfreerdp/cliprdr: Initialize pointer before use
...
In `wlf_cliprdr_server_format_data_request()` `ConvertToUnicode()` may return 0
while not allocating memory for `cdata` and not setting `cdata` to a valid
address. In this case, `data` points to a random address.
Settting `cdata` to NULL before calling `ConvertToUnicode()` fixes this issues.
2020-04-26 19:57:50 +02:00
Lukas Fink
060253c9fa
Added ability to add usb devs via id and addr simultaneously
...
It is now possible to add usb devices both via vid+pid and via bus+addr
at the same time. To do this, the ids are directly
given to the corresponding command line options:
/usb🆔 <vid+pids>,addr:<bus+addrs>
The dev option still works like before: /usb:id,dev:<vid+pids> or
/usb:addr,dev:<bus+addrs>
2020-04-26 19:09:13 +02:00
Allan Nordhøy
caac0a12c1
Spelling fixes for iOS strings
2020-04-23 08:01:07 +02:00
akallabeth
b094d52d0b
Fixed #6099 : Add a flag for legacy hash entries
...
If a legacy entry is found in certificate hash store print
additional information to the user informing about the change
with FreeRDP 2.0
2020-04-22 18:14:39 +02:00
akallabeth
0a86090ff1
Fix initialization of LargePointer flags
...
Capability exchange is first reading server capabilities,
mask these with local settings and send only what both support.
2020-04-22 11:10:56 +02:00
Armin Novak
58be47bc63
Added expert settings /tune and /tune-list
2020-04-21 17:30:24 +02:00
David Fort
1fec2f9498
uwac, wlfreerdp: corrected API for UwacOutput and added monitor listing
2020-04-21 08:12:31 +02:00
akallabeth
701770c69a
Made xf_OutputExpose non blocking.
...
In case xf_OutputExpose is called with GFX or async-update a race
condition occured in combination with dynamic-resolution.
To prevent the deadlock update the screen on a best effort basis.
2020-04-18 10:18:31 +02:00
akallabeth
4259f5c561
Fix #6085 : Java string comparison should prefer equals
2020-04-16 08:25:25 +02:00
Allan Nordhøy
31f4a1f1e5
Language fixes for aFreeRDP
2020-04-14 15:51:08 +02:00
Allan Nordhøy
14494237ab
Add Norwegian Bokmål translation
2020-04-14 14:35:10 +02:00
Julian Albrecht
d69c106a49
Adds the title options to wlfreerdp
2020-04-14 14:33:44 +02:00
Nathan Loewen
3ee0cc6b70
Make use of percent scale if available when calculating monitor sizes
2020-04-11 09:06:00 +02:00
akallabeth
08fd2876b9
Started 3.0 development cycle.
2020-04-10 15:01:15 +02:00
akallabeth
d7795c892b
Allow old openssl name in android client.
2020-04-09 10:03:20 +02:00
akallabeth
1c77db0a94
Used default openssl library names.
2020-04-09 10:03:20 +02:00
Martin Fleisz
9223eea61e
Merge pull request #5974 from akallabeth/cmd_avc420_fix
...
Cmd avc420 fix
2020-04-02 08:41:47 +02:00
akallabeth
9ef1e81c55
Formatted patch.
2020-03-27 14:16:18 +01:00
Julian Albrecht
7ecce5acbe
Adds touch support to wlfreerdp
2020-03-27 14:16:18 +01:00
LatinSuD
a6ccd38b68
Free clipboard respond to fix bug
...
Fixes #5997 (clipboard stops responding in the middle of a session)
2020-03-27 09:13:38 +01:00
Martin Fleisz
ca34fe4c12
Merge pull request #5985 from akallabeth/log_version_debug
...
Added buildconfig output to debug log level.
2020-03-26 09:55:46 +01:00
Martin Fleisz
43d3f89ce7
Merge pull request #5988 from akallabeth/rdp_parser_leak
...
Fixed memory leak in rdp file parser.
2020-03-24 12:17:05 +01:00
akallabeth
fdf151698d
Fixed memory leak in rdp file parser.
2020-03-23 16:06:26 +01:00
akallabeth
453372a4bf
Add option to adjust the tcp ack timeout
...
On high latency links the default of 9 second timeout might be too
strict. Adjusting this for all users will result in a long time
for connections to fail, so let these with high latency links
adjust the value manually.
2020-03-23 08:59:38 +01:00
akallabeth
82449a9c7d
Added buildconfig output to debug log level.
2020-03-20 13:05:01 +01:00
akallabeth
efb588db04
Added deprecation warning to gfx-h264
2020-03-15 10:33:53 +01:00
akallabeth
1441e78b70
Fixed gfx-h264 option parsing.
2020-03-15 10:33:34 +01:00
Martin Fleisz
6313cccb6e
Merge pull request #5943 from akallabeth/x11_lock
...
X11 lock recursion checks
2020-03-10 16:03:54 +01:00
Armin Novak
90bc3e793a
Fixed missing config include.
2020-03-09 14:57:20 +01:00
Armin Novak
6ac1b6d78e
Fixed strncmp, use _strnicmp
2020-03-06 11:37:35 +01:00
Armin Novak
316fb38e67
Added new option /cert that unifies all.
...
* The mess with /cert-tofu, /cert-ignore et al is now unified in
a single option.
* Added the option to add fingerprint:<hash>:<hex string> multiple
times to /cert to build a list of accepted certificate
fingerprints
* Added a deprecation warning to older /cert-* options
2020-03-06 11:37:35 +01:00
Armin Novak
4530a9a631
Modified xf_lock_x11 and xf_unlock_x11, allow recusive
...
The X11 locking routines did not handle multiple locks from the same
thread well. This pr fixes that.
2020-03-04 15:50:47 +01:00
Armin Novak
032574cc8f
X11 XEvent handling use const arguments
2020-03-04 10:38:41 +01:00
Armin Novak
f32a46370c
X11 XEvent disp refactored to use const arguments
2020-03-04 10:38:41 +01:00
Armin Novak
b48967d559
X11 XEvent refactored input
...
* Use proper types and const arguments where appropriate
2020-03-04 10:38:41 +01:00
Armin Novak
2b30c03fcf
X11 XEvent refactored floatbar
...
* Use const event pointers of correct type where appropriate
2020-03-04 10:38:41 +01:00
Armin Novak
ba5400f110
X11 XEvent clipboard processing cleanup
...
* Use const X*Event where possible
* Helper functions use the actual type as argument
2020-03-04 10:38:41 +01:00
Armin Novak
db80f97d50
X11: Lock display during event processing
...
* Added a X11 lock debug messages for incorrect locking.
* Lock X11 display during XEvent processing
2020-03-04 10:38:41 +01:00
Armin Novak
38d5e14e9f
Reverted minimum scaling diff
...
Revert to the diff value from @volth
2020-03-04 08:02:25 +01:00
xie.kunming
979798f51c
wf_cliprdr.c forget OleUninitialize if create_cliprdr_window failed
2020-03-02 11:45:45 +01:00
Armin Novak
4eb4f58fbb
Updated CMake channel detection
...
* Now both, dynamic and static channel entries can be defined by
a single channel.
* Added better logging to distinguish between static and dynamic
channel messages.
2020-02-28 12:53:39 +01:00
Martin Fleisz
da354feed0
Add dynamic channel part for rdpsnd channel
2020-02-28 12:53:39 +01:00
Martin Fleisz
10d1146049
Merge pull request #5906 from akallabeth/tsmf_disable_for_good
...
Made CHANNEL_TSMF optional and deprecated.
2020-02-26 14:41:46 +01:00
Norbert Federa
ceb015a6bb
egfx: the gfx reset grahics pdu is optional
...
Since the EGFX Reset Graphics PDU seems to be optional,
the graphicsReset variable (which is updated in that PDU's handler)
should be removed from the rdp_gdi struct with the next change
in public headers (as in freerdp v3).
There are still some clients that expect and check it and therefore
we keep it for now, initialized with TRUE.
sdas
2020-02-26 13:57:12 +01:00
Armin Novak
829497b313
Made CHANNEL_TSMF optional and deprecated.
2020-02-26 13:56:43 +01:00
Ondrej Holy
3240485bfd
Do not advertise /usb in help output if the channel is not built
...
The help output advertise an option and an example for usb redirection
regardless of the fact whether the urbdrc channel was built or not.
This is confusing for people. Let's do not show /usb in help if it is
not built.
2020-02-26 13:51:52 +01:00
Martin Fleisz
7ae8a158a0
Merge pull request #5707 from akallabeth/kbd_codepage
...
Added KeyboardCodePage option
2020-02-25 14:50:51 +01:00
Armin Novak
30275e7ac3
Added keyboard language codepages and listing option
2020-02-21 11:57:36 +01:00
Martin Fleisz
dc89923f4a
Merge pull request #5732 from akallabeth/floatbar_button_fix
...
Fixed #5730 : Decoupled floatbar button focus from click events.
2020-02-21 11:36:49 +01:00
Armin Novak
8c15bd9765
Install sample client binary.
2020-02-18 11:02:43 +01:00
Sergey Bronnikov
6d6956a139
client: remove unused variable
2020-02-17 15:49:26 +01:00
David Fort
e4ac7b98a0
Merge pull request #5881 from akallabeth/win_disable_console
...
Disable windows console attach.
2020-02-13 16:12:50 +01:00
Armin Novak
8828eff6a1
Added /auth-only option to samle client.
...
In #5814 the option to use a connection test was expressed.
Adding this option to the sample client allows doing that without
X11 or similar around.
2020-02-13 08:27:49 +01:00
Armin Novak
2822585db4
Disable windows console attach.
2020-02-12 15:47:31 +01:00
Martin Fleisz
e304428a5f
Merge pull request #5857 from akallabeth/scanbuild_fixes
...
Scanbuild fixes
2020-02-12 10:16:54 +01:00
David Fort
245fc6014d
Merge pull request #5830 from akallabeth/smartcard_updates
...
Smartcard updates
2020-02-07 14:11:00 +01:00
Armin Novak
ddcc5ae768
Fixed copy of opaque data
...
do not use strcncpy for opaque data.
2020-01-23 10:12:12 +01:00
Armin Novak
5a51f97ce0
Added NULL checks to silence clang-scanbuild.
2020-01-23 10:12:12 +01:00
Armin Novak
2cb022a922
Fixed NULL dereference.
2020-01-23 10:12:12 +01:00
Martin Fleisz
baca062321
core: Fix and extend populate rdp file from settings
...
This PR contains the following changes:
- Get rid of unused SettingsModified array (kept in the settings struct for ABI
compatibility)
- Fix and extend freerdp_client_populate_rdp_file_form_settings (wrote <null> strings to the rdp file, missed a lot of settings)
- Set KeyboardHook default value to 2 (hook in fullscreen) just as mstsc
does
2020-01-22 14:18:30 +01:00
Kobi Mizrachi
8c5d96784d
cmdline: export CommandLineParseCommaSeparatedValues
2020-01-22 14:18:21 +01:00
Martin Fleisz
263d74ee29
Merge pull request #5783 from akallabeth/gfx_mask_arg
...
Added /gfx and /gfx-h264 option mask=<value>
2020-01-16 10:02:15 +01:00
Alexander Volkov
f0321a049d
client/X11: Avoid crash in XGetDeviceButtonMapping()
...
XOpenDevice() may fail and return NULL, so try to find the first
pointer device that can be opened, and ensure that ptr_dev argument
is not NULL before passing it to XGetDeviceButtonMapping().
2020-01-16 08:46:11 +01:00
David Fort
30d6e25def
Merge pull request #5750 from akallabeth/encomsp_auto
...
Encomsp automatic input control && cleanups
2020-01-15 13:56:00 +01:00
David Fort
0cc3af2282
Merge pull request #5796 from akallabeth/rdp_10_7_large_pointers
...
Added RDP 10.7 large pointer support
2020-01-14 10:17:13 +01:00
Armin Novak
1d9722f8d8
Added /gfx and /gfx-h264 option mask=<value>
...
With this new option the gfx capability set can be masked to only
announce older versions of the protocol if required.
(Fixes #5771 )
2020-01-14 07:56:54 +01:00
Martin Fleisz
85984f3bd3
Merge pull request #5752 from akallabeth/manpage_no_err
...
Allow to generate docbook with 0 length.
2020-01-13 12:26:31 +01:00
Armin Novak
4f5eaedf7e
Added command line option client-build-number
...
The smartcard channel behaviour is influenced by what build number
is announced, expose this setting to modify by interested users.
2020-01-13 10:50:14 +01:00
KunMing Xie
7fec130dbc
wf_rail.c: fix crash if CreateWindowEx failed ( #5812 )
...
* wf_rail.c: fix crash if CreateWindowEx failed
Co-authored-by: tensorflow123 <kunming.xie@hotmail.com>
2020-01-08 09:02:49 +01:00
David Fort
31a4e2ad8b
Merge pull request #5745 from akallabeth/urbdrc_rewrite
...
Urbdrc rewrite
2020-01-06 09:23:45 +01:00
Armin Novak
182d0ce548
Added RDP 10.7 large pointer support
...
* Implements [MS-RDPBCGR] version 51 large pointer support.
* Logs unknown large pointer capability flags as warning.
Signed-off-by: Armin Novak <armin.novak@thincast.com>
2019-12-19 09:53:40 +01:00
Martin Fleisz
71feb974ac
Merge pull request #5739 from akallabeth/improve_function_hiding
...
Improve function hiding
2019-12-02 11:31:35 +01:00
Armin Novak
7c243da6e1
Remove symbols exported by accident.
2019-12-02 10:57:31 +01:00
Pål Håland
fc992ee740
SmartSizingWidth and SmartSizingHeight in RDP file:
...
Adding this option to use the DesktopHeight and DesktopWidth as
parameters for the SmartSizingWidth and SmartSizingHeight, as there
are no options for that in standard RDP files.
Equivalent of doing /smart-sizing:WxH
2019-11-29 11:14:55 +01:00
Armin Novak
ce5661ce60
Added RDP file option 'desktop size id:i:' support.
2019-11-29 09:09:30 +01:00
Martin Fleisz
683f3f6850
Merge pull request #5753 from akallabeth/win_clipboard_ignore_open_fail
...
Fix #5749 : Retry to open the clipboard.
2019-11-29 08:18:31 +01:00
Armin Novak
c7337f4b6b
Added data length check for RDP_CODEC_ID_NONE
2019-11-28 08:08:30 +01:00
Armin Novak
b89fd2d8e5
Fix #5749 : Retry to open the clipboard.
...
On windows the clipboard is shared and other applications
or windows might lock the clipboard.
For this reason, retry opening if it fails and ignore
failure to open during normal operation.
2019-11-26 07:57:32 +01:00
Armin Novak
f40e3ccfd0
Allow to generate docbook with 0 length.
2019-11-25 15:54:05 +01:00
Armin Novak
c5e261e066
Added new command line swith for automatich assistance control.
2019-11-25 10:32:55 +01:00
Armin Novak
2691532061
Fixed const correctness of encomsp functions.
2019-11-25 09:39:21 +01:00
Armin Novak
2d87a84991
Use new URBDRC constants in command line parser.
2019-11-22 10:56:21 +01:00
Armin Novak
a5bebd3c65
Fixed scanbuild warnings.
2019-11-20 09:17:08 +01:00
Armin Novak
92f3100e9d
Fixed #5730 : Decoupled floatbar button focus from click events.
2019-11-19 08:12:43 +01:00
Armin Novak
da87247d61
Added KeyboardCodePage option
...
Thanks to @byteboon for the hint.
2019-11-07 19:57:07 +01:00
Armin Novak
72ca88f49c
Reformatted to new style
2019-11-07 10:53:54 +01:00
Martin Fleisz
bc39b32d20
Merge pull request #5685 from akallabeth/multi_instance_arg_parse
...
COMMAND_LINE_ARGUMENT structs contain parser results, use one per instance
2019-11-06 09:09:22 +01:00
Martin Fleisz
5b6663fe3a
Merge pull request #5689 from akallabeth/cleanups
...
Cleanups
2019-11-05 15:28:02 +01:00
Armin Novak
b7a12474dc
Removed invalid use of strnlen
2019-11-05 11:30:26 +01:00
Martin Fleisz
5439c97953
Merge pull request #5553 from akallabeth/win_console_fix
...
Reattach to cmd if wfreerdp was started from one.
2019-11-05 09:35:45 +01:00
Armin Novak
a5403448b6
Fixed review remarks.
2019-11-04 11:18:53 +01:00
Armin Novak
27df243a33
Fixed int/size_t use for channel add functions.
2019-10-29 12:58:06 +01:00
Armin Novak
cda3d081e3
Fixed tmpnam warning.
2019-10-29 12:58:05 +01:00
Armin Novak
f01e042211
Code cleanups (strlen, casts, size_t, ...)
2019-10-29 11:58:43 +01:00
Martin Fleisz
a4b3778a4c
Merge pull request #5668 from akallabeth/xfreerdp_mon_check
...
Added missing check for monitor indices
2019-10-28 14:13:07 +01:00
Armin Novak
0c87eaee4d
COMMAND_LINE_ARGUMENT structs contain parser results, use one per instance
...
Remove the old global structs as the parser modifies them. When using
multiple instances in the same process space this could break parsing.
2019-10-28 13:30:05 +01:00
Martin Fleisz
9e32899347
Merge pull request #5676 from akallabeth/hotplug_leak_fix
...
Hotplug leak fix
2019-10-28 13:06:36 +01:00
Armin Novak
8af4ddc5f2
Fix #5687 : check for file extensions case insensitive.
2019-10-25 14:23:01 +02:00
Armin Novak
1bb63eddf4
Removed experimental warning from gfx
2019-10-24 15:04:48 +02:00
Armin Novak
7d7224abd8
Added missing check for monitor indices
2019-10-23 15:03:39 +02:00
asapelkin
82eadad4a4
Fix some static analizer warnings
2019-10-22 15:39:54 +02:00
kubistika
345cc2a2f5
channels: cliprdr: get rid of duplicated server and client code
2019-10-18 14:20:26 +02:00
kubistika
dff3686642
channels: cliprdr: remove formatDataResp.dwFlags
...
According to the channel docs, this field is only used in format data
request. Therefore, there's no need to hold it in the response. cliprdr
server code was copy-pasted from client code, therefore this must be
some leftover.
2019-10-18 14:20:26 +02:00
Armin Novak
f1f0b266ac
Fixed floating point calculations.
2019-10-16 14:53:27 +02:00
Armin Novak
9fee4ae076
Fixed #5645 : realloc return handling
2019-10-04 16:19:23 +02:00
Armin Novak
69dbd45d4e
Fixed use after free.
2019-10-03 16:15:52 +02:00
Martin Fleisz
30a92e85b8
common: Fix handling of redirectdrives setting
2019-10-01 15:56:22 +02:00
Martin Fleisz
89841fce03
Merge pull request #5616 from akallabeth/drive_prefer_absolute_path
...
Fix #5603 : Prefer absolute path for /drive: syntax.
2019-10-01 11:40:38 +02:00
Armin Novak
c904a4c5cd
Trim all RDP file string options except passwords.
2019-09-27 09:09:59 +02:00
Armin Novak
b1d0eaff6d
Fix #5603 : Prefer absolute path for /drive: syntax.
2019-09-24 16:42:27 +02:00
Martin Fleisz
6b8b5bbb0e
Merge pull request #5614 from akallabeth/better_gateway_error
...
Better gateway error reporting
2019-09-24 16:28:17 +02:00
Martin Fleisz
db2ac11828
Merge pull request #5615 from akallabeth/rdp_relaxed_parse
...
Added option to parse RDP files relaxed.
2019-09-24 16:27:54 +02:00
Armin Novak
04a7c068d8
Added option to parse RDP files relaxed.
2019-09-24 16:11:43 +02:00
Armin Novak
41976885c6
Fix #5612 : proper return values.
2019-09-24 09:45:35 +02:00
akallabeth
4679bb6b53
Fix ##5593: duplicated typedef.
2019-09-22 16:42:31 +02:00
akallabeth
3edadef768
Fix #5593 : Do not use diagnostics pragma inside functions
2019-09-22 16:37:52 +02:00
volth
1edceffa31
avoid blurry filter when scaling factor is 2x, 3x, etc
2019-09-15 05:02:22 +00:00
Armin Novak
73897ebd3b
Tighter error checking for integer options in RDP file.
2019-09-11 14:24:00 +02:00
Armin Novak
7dc47bca4f
Compare rdp file options case insensitive
2019-09-11 10:26:37 +02:00
Armin Novak
18ec98c402
Set default connection type to autodetect for RDP files.
2019-09-05 12:20:40 +02:00
Armin Novak
cebddbd65b
Fix various compiler warnings for wfreerdp.
2019-09-03 15:11:18 +02:00
Armin Novak
d69ad3ee59
Fixed missing NULL check.
2019-09-03 08:56:59 +02:00
Armin Novak
843f18b110
Fix issue reported in #5560 : language bar might not be supported by server.
2019-09-03 08:07:45 +02:00
Armin Novak
12b0b9ea28
Do not use named events, they are global!
2019-09-02 15:28:31 +02:00
Armin Novak
c6d9bfce42
Allow /drive:<name>,* syntax.:wq
2019-08-30 13:50:33 +02:00
Martin Fleisz
29f914f178
Merge pull request #5541 from akallabeth/rdp_file_full_drivestoredirect_parsing
...
Rdp file full drivestoredirect parsing
2019-08-30 11:29:06 +02:00
Armin Novak
53ee0fbc33
Added GUI/console switch for input callbacks. (disabled until AttachConsole + stdin work)
2019-08-29 19:28:50 +02:00
Armin Novak
1a322bb98b
Added command line or dialog certificate handling.
2019-08-29 19:03:03 +02:00
Armin Novak
09c61dc465
Fix #5554 : audin is a dynamic channel
2019-08-29 18:46:49 +02:00
Armin Novak
a93b15fdef
Sanitize drive redirection names.
2019-08-29 17:53:36 +02:00
Armin Novak
81c60631a9
Reattach to cmd if wfreerdp was started from one.
2019-08-29 13:47:53 +02:00
Armin Novak
6c17d138bd
Read and write RDP file 'prompt for credentials'
2019-08-27 12:24:28 +02:00
David Fort
96aeb8512d
keyboard: don't catch Ctrl+Alt-C if encomsp is not activated
2019-08-23 12:57:10 +02:00
Armin Novak
fdf1715213
Unified DriveStoreRedirect parsing.
2019-08-23 12:06:21 +02:00
Armin Novak
d8bf05367b
Added support for drivestoreredirect:s:<path>(<path>) syntax
2019-08-23 11:18:32 +02:00
Armin Novak
0af53bff9b
Allow DynamicDrives as special option for /drive
2019-08-23 10:27:01 +02:00
Armin Novak
35cb729f31
Added drivestoredirect option value parser
2019-08-23 10:27:01 +02:00
Armin Novak
3dec88f5e3
added BandwidthAutoDetect parsing.
2019-08-22 16:13:04 +02:00
Armin Novak
f0ee2cbb97
Automatically activate GFX and RFX codec support on autodetect.
2019-08-22 16:13:04 +02:00
Martin Fleisz
0a4bc1ff94
Merge pull request #5523 from akallabeth/rdp_parser_null_checks
...
Rdp parser null checks
2019-08-20 16:50:55 +02:00
Louis Sautier
60152291b3
client: proxy: allow passing SOCKS5 proxies as env. vars
2019-08-20 14:06:38 +02:00
Martin Fleisz
81cb0a7ee5
client/common: Remove incorrect prompt for creds parsing ( #5528 )
...
"prompt for credentials on client" was incorrectly merged together with
"prompt for credentials" into a single setting. However the first option
determines if the client should prompt for credentials if the remote
server does not support server authentication. "prompt for credentials"
on the other hand determines if the client should use any previously
stored credentials or if it should always prompt for them.
2019-08-20 10:07:10 +02:00
Armin Novak
14dfb99a6f
Fixed NULL buffer access and alignment warnings.
2019-08-14 09:49:02 +02:00
rbarnett
8fee295733
Do not try to free a colormap that FreeRDP did not create.
2019-08-13 09:03:19 +02:00
kubistika
4503684736
client: xf_channels: remove unused settings variable
2019-08-02 20:10:56 +03:00
Martin Fleisz
8e7386a57d
Merge pull request #5506 from akallabeth/scale_desktop_and_device
...
With /scale:<value> scale desktop and device.
2019-07-30 12:53:13 +02:00
Armin Novak
b4e1e9a1bd
Fixed loading of microphone channel
...
Ensure microphone channel is loaded if settings require it in freerdp_client_load_addins
2019-07-30 12:32:55 +02:00
Armin Novak
70712cd821
With /scale:<value> scale desktop and device.
2019-07-30 12:03:23 +02:00
Armin Novak
fe6a4c5648
Fixed loading of sound channel
...
Ensure sound channel is loaded if settings require it in freerdp_client_load_addins
2019-07-30 11:29:17 +02:00
Armin Novak
4128c6741d
Fixed a bunch of conversion warnings.
2019-07-30 11:23:33 +02:00
Kenny Levinsen
d27ad43093
uwac: Do not memcpy when we swap drawing buffers
...
The compositor only samples rects that we damage (and have therefore
been overwritten). As we are doing damage tracking and reporting,
memcpy of our old drawing buffer serves no purpose.
2019-07-30 09:46:57 +02:00
Martin Fleisz
c8d0d50610
common: Fix parsing of devicestoredirect setting in rdp files
...
If devicestoredirect was found in an rdp file we incorrectly enabled
drive redirection (which has nothing to do with device redirection).
2019-07-30 09:20:58 +02:00
Martin Fleisz
5e672d474e
Merge pull request #5480 from akallabeth/xfreerdp_clip_fix
...
Fix broken clipboard after file copy
2019-07-18 12:20:28 +02:00
Martin Fleisz
73c90e6e72
Fix rdp file writer
...
The RDP file writer was based on previously parsed lines from an
existing rdp file. If you created a new rdpFile, populated it from
settings and tried to write it to a file you just got an error. This PR
fixes this issue by creating the data from the rdpFile properties rather
than the parsed lines.
2019-07-18 11:56:27 +02:00
Martin Fleisz
397db534d2
Reformatting
2019-07-18 11:56:27 +02:00
Armin Novak
2394c987ee
Added alternate full address to rdp file parser.
2019-07-18 10:44:23 +02:00
Armin Novak
cbb9354641
Fix broken clipboard after file copy
2019-07-17 15:13:50 +02:00
Armin Novak
70ba57caee
Fixed freerdp_client_rdp_file_set_integer standard flag set.
2019-07-15 12:01:30 +02:00
Armin Novak
607a3e35f4
Fixed rdp file parser tests.
2019-07-15 12:01:30 +02:00
Armin Novak
1deb78f211
Implemented rdp file parser functions with a callback for custom settings.
2019-07-15 12:01:30 +02:00
Armin Novak
3b38479ec5
Added PromptForCredentials setting.
2019-07-15 12:01:30 +02:00
Martin Fleisz
445764100b
Merge pull request #5396 from widgetii/master
...
Artur Zaprzala's rdp2tcp channel driver
2019-07-09 16:17:29 +02:00
Martin Fleisz
c2fa671dda
client: populate settings didn't update NetworkAutoDetect
2019-07-09 15:23:17 +02:00
Armin Novak
fef086359b
Fix #5427 : Dispatch updates to main thread.
...
thank you @Harrywang55666
2019-06-25 10:49:53 +02:00
Armin Novak
1856093016
Fixed #5406 : Ensure mouse wheel rotation step is never zero
...
thank you @victorking528
2019-06-25 10:31:17 +02:00
Armin Novak
42ba19dd98
Added rail workdir parameter
2019-05-22 16:37:47 +02:00
Dmitry Ilyin
eee7d4b783
proper code format
2019-05-15 20:12:33 +03:00
Dmitry Ilyin
2cfb2839f4
Artur Zaprzala's rdp2tcp channel driver
2019-05-14 21:04:39 +03:00
Martin Fleisz
b8d931241e
Merge pull request #5314 from akallabeth/setting_getter_setter_generator
...
Added python generator for freerdp_[g|s]et_param*
2019-05-09 14:23:31 +02:00
Armin Novak
4d4e7a69d7
Fixed remaining getter/setter return checks.
2019-05-09 14:04:40 +02:00
Martin Fleisz
ff036e0198
Merge pull request #5386 from akallabeth/rails_spec_update
...
Rails spec update
2019-05-09 12:49:55 +02:00
Armin Novak
2cc714a57d
Updated RAILS implementation
...
* Implement new messages and callbacks
* Announce most recent channel features
* Added settings to configure flags to announce
2019-05-08 17:25:15 +02:00
akallabeth
9011ef1b75
Merge pull request #5387 from mfleisz/image_from_icon
...
core: Move image conversion of icon data into the library
2019-05-08 17:19:27 +02:00
Martin Fleisz
30c3b86655
core: Move image conversion for icon data into the library
2019-05-08 17:06:17 +02:00
Armin Novak
d49adfcf59
Fixed warnings and cleaned up gfx related xfreerdp code.
2019-05-08 17:01:36 +02:00
Martin Fleisz
3e2be308eb
Merge pull request #5266 from akallabeth/file_list_synth
...
Added a proper synthesizer for FileGroupDescriptorW to text/uri-list
2019-05-08 15:05:05 +02:00
Armin Novak
93bf375686
Refactored settings getter/setter to stay compatible.
2019-05-08 14:35:25 +02:00
Armin Novak
6ac91924d5
Fixed use of settings getter/setter
2019-05-08 14:17:23 +02:00
Armin Novak
d7ca2db62e
Fixed doulbe semicolon in C files.
2019-05-08 12:58:01 +02:00
Armin Novak
3d1cec894c
Fixed alignment requirements for surface sizes.
2019-05-08 10:36:00 +02:00
Armin Novak
3b7e46fb0e
Updated GFX to 10.6 spec
2019-05-07 12:10:13 +02:00
Armin Novak
6a8755a763
Added image scaling api for software drawing.
...
For future GFX channel functions an image scaling function is required.
This moves the implementation from wayland client to core library
and adds support for the much faster SWScale library.
2019-05-07 08:56:29 +02:00
amratsingh
84e50582b7
android_freerdp.c: fixed wrong registered signature ( #5371 )
2019-05-02 05:59:52 +02:00
Martin Fleisz
25fc56a625
Merge pull request #5260 from akallabeth/rail_spec_update
...
Rail spec update
2019-04-29 11:27:26 +02:00
sgtatham
236c7918cb
xf_cliprdr: detect null terminators more reliably. ( #5353 )
...
Clipboard formats containing plain text are specified to be terminated
by a \0 character in MS's documentation on standard clipboard formats:
https://docs.microsoft.com/en-us/windows/desktop/dataxchg/standard-clipboard-formats
xf_cliprdr_server_format_data_response receives pasted data from the
server to transfer to the client, in a sufficiently raw form that the
\0 terminator is still present, so it has to remove it. It does so by
checking only at the very end of the data. But I've observed that when
pasting out of at least one Windows program (namely Outlook 1903 on
Windows 10), the intended paste data arrives in this function followed
by \0 and then a spurious \n. In that situation the null-terminator
removal will fail to notice the \0, and will leave both bogus
characters on the end of the paste.
Fixed by using memchr to find the _first_ \0 in the paste data, which
should not lose any actually intentional data because it's in
accordance with the spec above.
2019-04-25 10:54:10 +02:00
Fabrice Fontaine
7dbb64cb62
xf_floatbar.c: fix build without Xfixes
...
Remove unneeded include on Xfixes.h as it is not always available and
not used in xf_floatbar.c
Fixes:
- http://autobuild.buildroot.org/results/69245e574787bada718c52c805ec137041dc233d
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2019-04-18 23:56:16 +02:00
Armin Novak
05901280fe
Fixed unused argument warnings.
2019-04-05 09:14:35 +02:00
Armin Novak
281dd22061
Fixed unicode key down and up messages.
2019-04-05 09:14:35 +02:00
Armin Novak
c18b30af96
Fixed dead store warnings
2019-04-05 09:14:35 +02:00
Armin Novak
e009a62f06
Fixed sign-compare warnings
2019-04-05 09:14:35 +02:00
Armin Novak
8bb83f2526
Fixed sign-compare warnings
2019-04-05 09:14:35 +02:00
Armin Novak
1762cd1acb
Fixed unchecked return warning.
2019-04-05 09:14:35 +02:00
Armin Novak
54098ab0b5
Fixed unused variable warnings.
2019-04-05 09:14:34 +02:00
Armin Novak
1c24450fe0
Fixed sign-compare warnings, removed internal functions from API
2019-04-05 09:14:34 +02:00
David Fort
058ae0db57
Merge pull request #5273 from akallabeth/mac_compile_warning_fix
...
Fixed mac compilation warnings.
2019-04-04 18:03:50 +02:00
David Fort
52bce4745f
Merge pull request #5249 from akallabeth/mac_timer_crash_fix
...
Mac timer crash fix
2019-03-28 19:05:48 +01:00
Ilya Shipitsin
7f97574501
client/Windows/wf_event.c: add missing "break" ( #5293 )
...
found by cppcheck
[client/Windows/wf_event.c:464] -> [client/Windows/wf_event.c:468]: (warning) Variable 'xNewPos' is reassigned a value before the old one has been used. 'break;' missing?
2019-03-04 09:17:10 +01:00
DraganNSDK
f002c7429b
potential fix for ENTER (modifiers) stuck after CTRL-ALT-ENTER (toggle fullscreen), clearing the buffer in xk_keyboard_update_modifier_keys. ( #5280 )
...
* xk_keyboard_update_modifier_keys fixed to clear the buffer.
* removed the xf_keyboard_clear(xfc) fix comments
2019-02-25 12:44:51 +01:00
Armin Novak
9566ae0e90
Fixed mac compilation warnings.
2019-02-21 17:30:12 +01:00
Armin Novak
32ea44c037
Added a proper synthesizer for FileGroupDescriptorW to text/uri-list
...
The file clipboard delegate needs a base URI to operate on for
systems that are not WIN32. Added that to the context and abort
conversion, if that is not set. (currently not fully implemented)
2019-02-21 16:44:40 +01:00
Armin Novak
3680d9f7d2
Fixed cast warnings from freerdp_load_channel_addin_entry
2019-02-21 13:54:25 +01:00
anbukart
b192171434
Embedded window local fix
...
Client width and height getting set as 0 when embedded using ParentWindowId setting
2019-02-21 11:03:52 +05:30
Armin Novak
0a95e4aa78
Fixed #5262 : Vertical mouse wheel direction and whell step
...
* Vertical wheel uses the inverted direction of horizontal wheel.
* The wheel step is now calculated from the value provided by wayland.
2019-02-20 08:56:36 +01:00
Armin Novak
aacf5bddc4
Updated rail channel, supporting all new messages.
2019-02-19 15:04:11 +01:00
Armin Novak
2a06366de3
Added autoreconnect for wayland.
2019-02-19 14:12:25 +01:00
David Fort
f0e9c95f44
Merge pull request #5248 from akallabeth/naming_fixes
...
Replace hard coded xfreerdp program name
2019-02-13 18:45:17 +01:00
Armin Novak
2d4f53ed41
Fixed #5234 : Added timer invalidate on application willresignactive
2019-02-12 11:23:56 +01:00
Armin Novak
e758e848a2
Replaced hardcoded xfreerdp program name
2019-02-12 10:58:37 +01:00
Armin Novak
92dfa34619
Replaced hardcoded xfreerdp program name
2019-02-12 10:58:36 +01:00
Mathew Winters
dc5efab715
Resolve Gfx mode missing surface updates from cache.
2019-02-12 14:27:11 +13:00
Armin Novak
fe6296a25f
Added support for /smart-sizing:<width>x<height> syntax in wayland client.
2019-02-08 12:49:32 +01:00
Armin Novak
f06b31358f
Fixed duplicate log tag definition in wayland client.
2019-02-08 12:11:15 +01:00
Armin Novak
cc050f1413
Fixed conversion range checks and cast for use with cairo
2019-02-08 12:08:30 +01:00
Armin Novak
bb755f1944
Removed unused variables.
2019-02-08 12:08:30 +01:00
Armin Novak
4a3f4ad340
Fixed color format for wayland mouse pointer.
2019-02-08 12:08:30 +01:00
Armin Novak
7413370783
Added mouse pointer scaling.
2019-02-08 12:08:30 +01:00
Armin Novak
8d6a6df48a
Implements #5215 : Smart sizing using libcairo
2019-02-08 12:08:30 +01:00
Armin Novak
81d7e62642
Fixed broken checks in X11 event (RAIL mode)
2019-02-08 10:46:26 +01:00
Martin Fleisz
6415cfec48
Merge pull request #5131 from akallabeth/cmd_line_error_logging
...
Added extended error logging for assistance, rdp file and command line parser
2019-02-08 09:11:35 +01:00
Armin Novak
753b9c7ce9
Enable server heartbeat PDU by default.
2019-02-07 10:10:57 +01:00
Armin Novak
7610917a48
Disabled offscreen and bitmap cache by default.
2019-02-07 10:10:57 +01:00
Ilya Shipitsin
fb002574c3
client/common/cmdline.c: remove redundant check
...
found by cppcheck
[client/common/cmdline.c:390] -> [client/common/cmdline.c:399]: (warning) Identical inner 'if' condition is always true.
2019-02-02 10:22:19 +05:00
Ilya Shipitsin
d1939cfc4f
client/Wayland/wlf_cliprdr.c: resolve possible null pointer dereference
...
found by cppcheck
[client/Wayland/wlf_cliprdr.c:143] -> [client/Wayland/wlf_cliprdr.c:158]: (warning) Either the condition 'clipboard' is redundant or there is possible null pointer dereference: clipboard.
[client/Wayland/wlf_cliprdr.c:163] -> [client/Wayland/wlf_cliprdr.c:178]: (warning) Either the condition 'clipboard' is redundant or there is possible null pointer dereference: clipboard.
2019-02-01 03:50:51 +05:00
David Fort
85161c718f
Merge pull request #5223 from akallabeth/scanbuild_null_fixes
...
Scanbuild null fixes
2019-01-30 18:22:45 +01:00
Bernhard Miklautz
acebd43acf
Merge pull request #5147 from jphein/master
...
Clarified defaults of /floatbar flag
2019-01-30 16:26:41 +01:00
Armin Novak
2dab778101
Fixed NULL dereferences and uninitialized values
2019-01-30 16:11:10 +01:00
Armin Novak
87c7ddeda6
Asserting arg->Value to silence clang analyzer NULL argument checks.
2019-01-29 17:24:29 +01:00
Armin Novak
6a1ff5c485
Fixed compiler warnings #5210
2019-01-29 16:22:46 +01:00
Armin Novak
5c930dc4aa
Fixed compiler warnings #5210
2019-01-29 16:15:33 +01:00
David Fort
72ad4af356
Merge pull request #5221 from akallabeth/wayland_mouse_cursor
...
Added wayland mouse cursor
2019-01-29 15:11:38 +01:00
akallabeth
0a8ebcfcac
Merge pull request #5187 from astrand/mingw-part1
...
Mingw build fixes part1
2019-01-29 10:46:21 +01:00
Armin Novak
2418c43cac
Fixed pointer image update.
2019-01-29 09:34:30 +01:00
Armin Novak
23fa6b9182
Added mouse cursor callback stubs.
2019-01-29 09:34:30 +01:00
David Fort
05d9d89796
Merge pull request #5149 from akallabeth/cert_deny
...
New option to disable user certificate dialog
2019-01-25 16:59:33 +01:00
akallabeth
7d226ca596
Merge pull request #5218 from ckelsel/master
...
May crash if GetCommandLineW failed
2019-01-25 12:19:56 +01:00
David Fort
343bc8c6e4
Merge pull request #5213 from akallabeth/wayland_and_warning_fixes
...
Wayland and warning fixes
2019-01-25 11:42:38 +01:00
xie.kunming
b8c64b6bf3
May crash if GetCommandLineW failed
2019-01-25 17:54:25 +08:00
Armin Novak
823411c2f3
Fixed wayland buffer updates
...
The wayland buffer size always matches the current window size.
That might be different from the actual remote framebuffer size,
to when copying always use the correct strides to avoid distorted
screen content.
2019-01-25 10:49:03 +01:00
akallabeth
8ed0b92928
Merge pull request #5216 from ckelsel/master
...
change SetTimer elapse from 10 to USER_TIMER_MINIMUM
2019-01-25 10:01:30 +01:00
xie.kunming
84493d0039
If uElapse is less than USER_TIMER_MINIMUM (0x0000000A), the timeout is set to USER_TIMER_MINIMUM.
2019-01-25 16:45:52 +08:00
Armin Novak
86e20d7647
Removed buffer damage tracking in client, let UWAC handle that.
2019-01-24 12:44:21 +01:00
Armin Novak
0cf898e722
Fixed warnings found by compiler and static analysis.
2019-01-24 11:53:52 +01:00
Armin Novak
728cdfd689
Fixed warnings found by compiler and static analysis.
2019-01-24 11:53:52 +01:00
Armin Novak
087390b303
Refactored client clipboard function callbacks for const data pointers.
2019-01-23 16:55:13 +01:00
Armin Novak
891d9760dc
Ignore clipboard events if channel not loaded.
2019-01-23 16:01:36 +01:00