akallabeth
306af4070c
[client,common] properly abort on invalid scale-desktop
2024-09-09 12:37:22 +02:00
akallabeth
b26ab2f069
[client,common] extended parser
2024-09-06 08:23:06 +02:00
akallabeth
245afb706c
[function pointers] unify casts with macro
2024-09-04 20:06:45 +02:00
akallabeth
5e123735fa
[warnings] fixed sign-compare
2024-09-04 10:14:05 +02:00
akallabeth
baa70d1ab6
[warnings] fix compare integers of different signs
2024-09-03 15:10:46 +02:00
akallabeth
5a4a1a40ad
fix declaration and implementation parameter names
2024-09-03 12:24:53 +02:00
akallabeth
f7fd817d1c
[warnings] fix redundant casting
2024-09-03 12:24:51 +02:00
Armin Novak
fe4cb6de65
[warnings] fix float/double warnings
2024-09-02 16:20:20 +02:00
akallabeth
190929c018
[warnings] fix function pointer casts
2024-08-30 15:40:01 +02:00
akallabeth
500495dc00
[warnings] fix SDL3 related issues
2024-08-29 16:03:51 +02:00
akallabeth
ceae258e37
[warnings] fix clang-tidy issues in clients
2024-08-29 15:34:27 +02:00
akallabeth
9c9d74e920
[warnings] fix redundant casts
2024-08-29 12:03:09 +02:00
akallabeth
15456e1ee1
[warnings] fix implicit widening conversion
2024-08-29 10:47:20 +02:00
akallabeth
1d33095500
[warnings] fix cert-err33-c
...
Fix unused return values, cast to void if on purpose
2024-08-29 10:19:27 +02:00
Armin Novak
d71af44bb1
[warnings] disable warnings for generated code
...
* Disable clang-tidy in test build directories
* Disable compiler warnings for test binary directories.
These contain generated code we can not change, so the warnings are just noise
2024-08-28 09:18:30 +02:00
akallabeth
00eb86970d
Merge pull request #10510 from akallabeth/serial-cleanup
...
Serial cleanup
2024-08-26 13:47:10 +02:00
akallabeth
7054b26916
[channels,parallel] compilation checks
...
* Only compile channel related command line if enabled
* Warn on unsupported platforms
2024-08-26 13:30:30 +02:00
akallabeth
050eef537a
[client,common] guard /serial argument
...
only enable if serial redirection support is compiled in
2024-08-26 13:21:13 +02:00
akallabeth
56d660f258
[cmake] mark dependency includes SYSTEM
...
Mark all dependency include paths SYSTEM so warnings from system headers
are excluded from ci warning statistics
2024-08-26 11:10:49 +02:00
akallabeth
ba7fd06ec4
[coverity] fix some warnings
...
* mostly dead store and identical code branches.
* some possible integer overflows
2024-08-23 12:38:41 +02:00
Armin Novak
17d44e847f
[coverity] fix various warnings
2024-08-21 09:47:34 +02:00
akallabeth
e95a813560
[client,common] unify PEM ceritificate string
...
* Unify PEM data extraction
* Add notBefore and notAfter dates to certificate callback messages
2024-08-20 12:42:49 +02:00
Armin Novak
1f95865907
[client,common] ignore empty strings for channels
...
Ignore empty strings when parsing redirection channel arguments
2024-08-14 14:31:58 +02:00
Armin Novak
9e71b423cd
[warnings] fix various compiler warnings
2024-07-24 11:08:20 +02:00
akallabeth
6c682c8418
[client,common] add option to set timezone
...
* /timezone now allows setting the timezone used from a windows timezone
key name
* /list:timezones now lists all available windows timezone key names
2024-07-19 11:39:46 +02:00
Frederick Zhang
c79c28348d
[client,common] update /ipv[4|6] help text
2024-07-09 22:47:11 +10:00
akallabeth
194873b78c
[client,common] fix error logging
...
freerdp_client_command_line_post_filter did log wrong parsing errors.
2024-07-08 14:41:06 +02:00
akallabeth
7c7217dc7c
[client,common] fix typo in command line help
2024-07-08 14:13:56 +02:00
Frederick Zhang
919a692abc
[client,common] fix /ipv4 /ipv6 without :force
...
As arg->Value is NULL when using /ipv4 or /ipv6 alone, it segfaulted
doing strncmp.
2024-07-05 00:04:32 +10:00
akallabeth
fbc0d161ca
Merge pull request #10335 from akallabeth/command-line-print
...
[client,common] print failed command line argument
2024-07-03 13:55:36 +02:00
akallabeth
fcb8f39bc5
[client,common] print failed command line argument
2024-07-03 11:22:39 +02:00
akallabeth
46bced61fb
[cmake] fix cross compilation
...
helper utilities are now compiled on host only
2024-07-02 13:24:38 +02:00
akallabeth
562fa8a03d
[core,tcp] Improve IPv4 or IPv6 connect
...
* Fix +ipv6 option, now fall back to IPv4 if no IPv6 entry found
* Add new option ForceIPvX to fail connect if no such entry is found
2024-06-28 09:07:33 +02:00
akallabeth
388ad6b537
[client,common] add support for /kbd:lang:de style
...
allows mapping of languages to keyboard layouts
2024-06-20 10:27:53 +02:00
akallabeth
d4fc2cdd2f
[client,cmdline] fix inverted frame-ack option
2024-05-24 18:18:19 +02:00
akallabeth
4d79cf2848
[client,common] add command line gfx frame-ack option
...
expose the option to turn on or off the GFX frame ACK sending.
2024-05-24 11:52:04 +02:00
akallabeth
17bc7b7613
[client,common] add nodelay to dump options
...
add a new flag nodelay to /dump option to replay dumps as fast as
possible
2024-05-17 10:36:30 +02:00
akallabeth
1efefceb5c
[core,settings] refactor /network
...
* add CONNECTION_TYPE_INVALID
* default to CONNECTION_TYPE_AUTODETECT
* allow /network:invalid and /network:0 to disable
2024-05-14 11:18:29 +02:00
akallabeth
a1d8754f1f
[core,autodetect] abort on unexpected message.
2024-05-14 11:07:50 +02:00
Armin Novak
e272eb3966
[warnings] fix Wshadow warnings
2024-05-08 15:30:01 +02:00
akallabeth
71e78bedd7
[warnings] fixed sign and const
...
* fix various char/BYTE sign warnings
* fix various const warnings
* fix format string size_t
* remove unused CMake variables
2024-04-18 11:05:58 +02:00
Armin Novak
c3939a750c
[coverity] 1543120 Check of thread-shared field evades lock acquisition
2024-04-15 12:40:01 +02:00
Armin Novak
30f489c2a0
[cliprdr,common] fix file_context->request_table
2024-04-15 12:40:01 +02:00
akallabeth
8267a4c3d6
[client,common] fix missing function return
2024-04-12 12:41:42 +02:00
akallabeth
1232cdbc6a
[coverity] 1543092 Dereference before null check
2024-04-12 12:41:42 +02:00
akallabeth
158d26aa91
[coverity] 1543224 Dereference after null check
2024-04-12 12:41:42 +02:00
akallabeth
2477b37128
[warnings,types] fix BOOL assingments
2024-04-12 09:45:09 +02:00
akallabeth
af1c890295
[coverity] 1543263 Missing unlock
2024-04-12 09:45:09 +02:00
akallabeth
f49d753b7f
[coverity] 1543200 Resource leak
2024-04-12 09:45:09 +02:00
akallabeth
fbc5dfffac
[coverity] 1543183 Resource leak
2024-04-11 12:04:07 +02:00
akallabeth
88bea503fc
[coverity] 1543087 Resource leak
2024-04-11 12:04:07 +02:00
Martin Fleisz
f62a61886f
common: Parse actual value of redirectlocation rdp file setting
2024-04-04 21:20:39 +02:00
akallabeth
8bd1e72dd4
[client,common] guard ainput access with correct guard
2024-03-26 09:20:35 +01:00
sasha0552
c6dd5e45e0
[client,common] fix TS_RELPOINTER_EVENT sending logic
...
Send relative mouse events using TS_RELPOINTER_EVENT only when capability present
2024-03-22 20:15:24 +01:00
akallabeth
1b2f95dfde
[client,common] allow deactivating RAILS hidef mode
2024-03-21 14:26:14 +01:00
akallabeth
678ff144ab
[cmake] unify windows resource file generation
...
* use a macro to add resource files for executables and shared libraries
* use that macro to declare targets
* use that macro to set library/binary versioning
* use that macro to set target output name
* use a macro to create manpages and names
2024-03-20 11:17:18 +01:00
akallabeth
622c688d56
[client,common] adjust command line tests
...
invalid drive redirection paths are now ignored and no longer create an
error but just a warning message
2024-03-18 13:28:03 +01:00
akallabeth
925b23bef5
[client,common] skip invalid drives to redirect
...
Fixes #9989 : ignore invalid drive (=path) redirections from
configuration, but notify the user with a warning message.
2024-03-18 13:28:03 +01:00
akallabeth
c22d9844a4
[client,common] fix incompatible-pointer-types
...
use a union to cast to expected types.
2024-03-18 13:27:32 +01:00
akallabeth
f764b0a854
[channels,location] implement client channel
...
* provide client side callbacks to implement platform specific location
backend glue code
2024-03-11 13:22:12 +01:00
David Fort
aebe9742e0
[client,win32] Child session fixes
...
It seems like WaitFor[Single|Multiple]Object calls aren't reliable on pipes, especially
on the pipe opened for childSession access. The object can be marked as signaled even if
no data is available, making the connection laggy and unresponsive (nearly unusable in some
cases).
This patch works around that by using ReadFileEx() with overlapped instead of simple
ReadFile() and use asynchronous reads.
2024-03-01 09:46:53 +01:00
akallabeth
f10e8e9fa1
[client,common] fix help printing
...
do not drop characters on linebreaks.
fixes #9899
2024-02-26 10:26:58 +01:00
akallabeth
d7ebec5a65
[tidy] move loop variable declaration to loop
2024-02-22 12:31:50 +01:00
akallabeth
d0dc657412
[build] delete unused static functions
2024-02-15 11:49:16 +01:00
akallabeth
0e44b2c674
[clang-tidy] clang-analyzer-unix.Malloc
2024-02-15 11:49:16 +01:00
akallabeth
f69e1fe697
[clang-tidy] readability-duplicate-include
2024-02-15 11:49:16 +01:00
akallabeth
0ba995655d
[clang-tidy] cppcoreguidelines-init-variables
2024-02-15 11:49:16 +01:00
akallabeth
207def5c56
[clang-tidy] readability-isolate-declaration
2024-02-15 11:49:16 +01:00
akallabeth
2fffcd64b9
[winpr] use winpr_strerror instead of strerror
...
use the wrapper from WinPR to use the best implementation available.
2024-02-06 15:45:47 +01:00
akallabeth
ba8cf8cf21
[build] fix Wmismatched-deallocator warnings
...
With custom malloc function attributes the fail path in the _New
functions produces warnings due to allocator mismatches. Silence them.
2024-02-05 08:16:55 +01:00
akallabeth
902832ca76
[client,common] fix clipboard command line
...
allow both, +/- and /clipboard style options.
2024-01-29 09:23:58 +01:00
akallabeth
575d42312a
[code] improve error checks on free
2024-01-19 09:57:41 +01:00
Armin Novak
9729a51cb2
[client,common] add example for use with AzuerAD accounts
2024-01-18 11:22:20 +01:00
Armin Novak
598266b2fc
[client,common] add clipboard help text
2023-12-22 10:24:09 +01:00
Armin Novak
6a1a2eb661
[client,common] update manpage helper binary
...
improve formatting of docbook xml from argument description
2023-12-22 10:24:09 +01:00
Armin Novak
89bd55e1f6
[client,common] improve cmdline help formatter
...
break on listings (*)
2023-12-22 10:24:09 +01:00
Armin Novak
49936fc529
[client,common] call RetryDialog on reconnect
2023-12-20 23:16:10 +01:00
Armin Novak
2db9e1e258
[client,common] sync AVC444 and AVC444v2 settings
2023-12-20 14:17:05 +01:00
Armin Novak
0bb3e2dc97
[client,common] update documentation for /gfx
2023-12-20 14:17:05 +01:00
Armin Novak
a7eeb8e1ba
[cmake] simplify manpage generation
2023-12-20 09:21:31 +01:00
Armin Novak
c064d54cb1
[client,sdl] add manpage
2023-12-20 09:21:31 +01:00
Armin Novak
9575f386cd
fixed WCHAR constants, use endian safe definitions
2023-12-20 09:03:58 +01:00
Armin Novak
8613613913
[client,common] fix relative mouse event detect
...
Only send relative mouse events, if the client explicitely enabled them,
the calling function is reporting the events as relative and the server
announced support for it.
2023-12-19 21:26:46 +01:00
David Fort
4e97cc4dbe
[build] fix build without AINPUT channel
...
If the option was disabled, it was not building.
2023-12-19 16:34:41 +01:00
Armin Novak
4b3a479557
[client,common] do not create useless copy
...
The command line argument does not need to be copied twice
2023-12-13 14:02:33 +01:00
Armin Novak
3043fca91d
[warnings] fixed -Wdiscarded-qualifiers
2023-12-13 13:24:22 +01:00
Armin Novak
d6b7cfc1c2
[warnings] fixed -Wpointer-sign
2023-12-13 13:24:22 +01:00
Armin Novak
fb2a1f61f8
[client,common] fix -Wunused-variable warning
2023-12-13 13:24:22 +01:00
Armin Novak
9e9ad3815d
fix typos in various places
2023-12-12 19:36:54 +01:00
Armin Novak
6f6c0248f0
[client,common] check for relative mouse events
...
Added freerdp_client_use_relative_mouse_events to tell the client if the
coordinates should be relative or absolute
2023-12-06 10:45:01 +01:00
Armin Novak
2ce7283087
[client,common] enable gfx channel also on /gfx only
2023-11-29 17:50:16 +01:00
Stefan Heinzel
52606929fb
5726 add vsock support for client and server
2023-11-29 15:12:51 +01:00
akallabeth
1b31852d32
[git] remove .gitignore
...
we do no longer allow in source builds, so remove all the .gitignore
files just hiding generated files
2023-11-28 12:14:55 +01:00
akallabeth
5b937fb330
[client,common] fix superfluous if
2023-11-27 09:35:58 +01:00
akallabeth
32c730faea
[client,common] fix format string
2023-11-27 09:35:58 +01:00
akallabeth
45b41bae72
[client,common] split command line parser switch
...
* handle larger switch cases in static functions
2023-11-27 09:35:58 +01:00
Duncan Overbruck
50d05d921e
[cmdline] add missing return statement
2023-11-25 17:48:01 +01:00
akallabeth
dd2d110870
[warnings] fix -Wcast-qual
2023-11-24 18:19:03 +01:00
Armin Novak
704ee8bc4b
[settings] add unused values and sign correct keys
...
* add -1 as unused enum entry
* change key parameter type from size_t to SSIZE_T
2023-11-24 14:54:56 +01:00
Armin Novak
6e6559c41a
[settings] fix type mismatch warnings
2023-11-24 14:54:56 +01:00