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
390762bff9
[client,sdl] initialize member
2024-04-17 18:47:16 +02:00
akallabeth
fdc253e909
start 3.5.1-dev0 cycle
2024-04-16 21:20:04 +02:00
akallabeth
cab5adde26
release-3.5.0
2024-04-16 21:20:04 +02:00
akallabeth
0a0df77c39
[build,ipp] drop support for IPP
...
Intel Performance Primitives do not have a test setup in FreeRDP and
most likely no longer compile.
2024-04-16 12:44:38 +02:00
Armin Novak
2500fb7bfb
[cleanup] refactor some checks
2024-04-15 12:40:01 +02:00
Armin Novak
587175fdb8
[coverity] 1543090 Division or modulo by float zero
2024-04-15 12:40:01 +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
Armin Novak
8633a437e0
[coverity] 1543094 Use of auto that causes a copy
2024-04-15 11:30:31 +02:00
Armin Novak
a77a0c45d7
[coverity] 1543261 Not restoring ostream format
2024-04-15 11:30:31 +02:00
Armin Novak
b197ae8a05
[coverity] 1543280 Data race condition
2024-04-15 11:30:31 +02:00
Armin Novak
405a24c200
[coverity] 1543179 Array compared against 0
2024-04-15 11:30:31 +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
793145b8c5
[coverity] 1543198 Explicit null dereferenced
2024-04-12 09:45:09 +02:00
akallabeth
af1c890295
[coverity] 1543263 Missing unlock
2024-04-12 09:45:09 +02:00
akallabeth
dab58421f1
[coverity] 1543191 Resource leak
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
akallabeth
80c562d040
[coverity] 1543235 Out-of-bounds access
2024-04-11 12:04:07 +02:00
akallabeth
61e0d122b7
[coverity] 1543235 Out-of-bounds access
2024-04-11 12:04:07 +02:00
akallabeth
4b1bdc622a
[x11,client] always use current clipboard owner
2024-04-07 08:59:51 +02:00
akallabeth
7efd75cb01
[client,wlfreerdp] use wm-class for app_id
2024-04-06 09:17:17 +02:00
Martin Fleisz
f62a61886f
common: Parse actual value of redirectlocation rdp file setting
2024-04-04 21:20:39 +02:00
akallabeth
1956fffd3d
[build,mingw] fix build issues found
2024-04-03 11:53:58 +02:00
Armin Novak
ff92ef4331
[client,windows] clean up clipboard
2024-04-03 10:45:12 +02:00
Ilya Shipitsin
be50010d1d
client/Windows/wf_cliprdr.c: handle malloc error
2024-04-03 10:45:12 +02:00
akallabeth
735cb1ec14
[cmake] fix mingw linking
2024-04-03 09:42:44 +02:00
Mathias Lithen
532a3cd1a9
Set res_class on classHints
2024-04-01 09:30:30 +02:00
sasha0552
d864393a8a
[client,X11] fix detection of need to use relative movements
...
Register XI raw masks when MouseUseRelativeMove enabled
Fix duplication of sent events (in previous implementation relative and absolute events were sent at the same time)
Slightly refactor code
2024-03-26 09:20:50 +01: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
8df13033d5
start 3.4.1-dev0 cycle
2024-03-14 11:28:33 +01:00
akallabeth
708f376489
release-3.4.0
2024-03-14 11:28:33 +01:00
akallabeth
c591c2cd26
[pkg-config] add private optional link libraries
2024-03-14 10:35:03 +01:00
Kai Pastor
d6fcacd47a
Add find_dependency for link lib targets
2024-03-14 10:13:14 +01:00
Armin Novak
56a3955af4
[client,x11] send TS_RAIL_ORDER_ACTIVATE
...
when a rail window has gained focus or lost it send
TS_RAIL_ORDER_ACTIVATE to inform the server about the change.
2024-03-14 10:11:47 +01:00
akallabeth
6b5f262660
[client,x11] document keyboard shortcuts
2024-03-12 10:13:25 +01:00
akallabeth
c87368310a
[client,x11] fix right control ungrab
...
ungrab keybaord/mouse on first right control press. Fixes #9959
2024-03-12 10:13:25 +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
akallabeth
1f22a4f954
[client,sdl] ignore blit that does not intersect
...
SdlWindow::blit might be called for areas that do not intersect the
surface. Return success in such cases to avoid terminating a session.
2024-03-11 12:32:35 +01:00
akallabeth
e53dc3dabb
[client,x11] fix X11 access during +auth-only
...
fixes #9946
2024-03-08 11:13:05 +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
9a7d30d174
[clang,tidy] fix a few warnings
2024-02-27 14:15:43 +01:00
akallabeth
43a70ccb90
[client,sdl] use std::filesystem u8string()
2024-02-27 14:10:14 +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
f84108010b
[client,sdl] use uint32_t instead of SDL_Keymod
...
the SDL_Keymod enum is not suitable to hold a mask of SDL_Keymod values
2024-02-23 10:02:08 +01:00
akallabeth
517cd69107
[client,sdl] remove not existing docbooc xml
2024-02-23 10:02:08 +01:00
akallabeth
f5704e025f
start development cycle 3.3.1-dev0
2024-02-22 15:18:30 +01:00
akallabeth
a1d8b55048
update release to 3.3.0
2024-02-22 15:18:30 +01:00
akallabeth
a2b220f828
[client,sdl] fix smartcard pin dialog result
2024-02-22 13:13:49 +01:00
akallabeth
5d3ffea061
[client,sdl] unify window related operations
...
Access window related operations only in SdlWindow class
2024-02-22 13:13:49 +01:00
akallabeth
867e663872
[client,sdl] add windowevent-id to string
2024-02-22 13:13:49 +01:00
akallabeth
8492738b0d
[client,sdl] tidy up code
2024-02-22 13:13:49 +01:00
akallabeth
acedd305d3
fixed unused-but-set-variable warnings
2024-02-22 12:31:50 +01:00
akallabeth
05e555feb7
fixed unused-variable warnings
2024-02-22 12:31:50 +01:00
akallabeth
43eae6029f
[clang-tidy] fix various review warnings
2024-02-22 12:31:50 +01:00
akallabeth
d7ebec5a65
[tidy] move loop variable declaration to loop
2024-02-22 12:31:50 +01:00
Armin Novak
62f974a5c2
[client,sdl] add shortcut config file
...
Allow keyboard shortcuts to be configured via config file.
2024-02-22 12:24:51 +01:00
Armin Novak
0d30b22a3e
[client,wayland] add alternate bitmap mime types
...
add alternate bitmap mime types to clipboard
2024-02-22 09:33:59 +01:00
Armin Novak
ab3f44921c
[client,x11] add alternate bitmap mime types
...
announce alternate mime types to clipboard
2024-02-22 09:33:59 +01:00
MatteoBax
29b38506b9
Fix undeclared identifier ORIENTATION_PREFERENCE_LANDSCAPE_FLIPPED
2024-02-21 08:48:55 +01:00
akallabeth
75b1ce8ef6
[client,sdl] relax CriticalSection locking
...
When disconnecting the SDL client it is sufficient to no longer process
SDL events. Locking the CriticalSection during disconnect might lead to
a deadlock.
2024-02-20 16:31:50 +01:00
akallabeth
f3c0d22005
[client,sdl] thread safe RDP disconnect
...
When the RDP session is terminated ensure that no more SDL events are
processed as they might try to access RDP context data.
2024-02-20 09:25:33 +01:00
akallabeth
fd49e00f9c
[warning] use nullptr for C++ code
2024-02-15 11:49:16 +01:00
akallabeth
b894199f72
[winpr,collections] add generic string clone functions
...
The ArrayList, HashTable, ... New functions require
void* (*fkt)(const void* ptr) type functions. Provide a generic wrapper
for CHAR and WCHAR strdup to eliminate warnings. Also export a
corresponding free function to avoid issues with runtime
differences.
2024-02-15 11:49:16 +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
e2e6d09256
[cmake] use DEFAULT_DEBUG_OPTION for all
2024-02-13 17:06:00 +01:00
akallabeth
b193f9ab59
[cmake] guard cmake_policy(CMP0091)
...
only set the policy to NEW if it is defined
2024-02-13 16:22:37 +01:00
Armin Novak
cc558bd4c5
[client,sdl] add missing include
2024-02-10 06:57:34 +01:00
akallabeth
897f0adcae
[client,mac] fix CAPS handling
...
* do not change capslock if state did not change (triggered by multiple
flagsChanged calls while autorepeat of a pressed key)
* add debug log for flagsChanged
2024-02-07 14:14:21 +01:00
akallabeth
5bb618330d
[client,win] DesktopOrientaion is of type UINT16
...
Fixes #9841 , use proper getter for settings key
2024-02-07 08:03:24 +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
bb42d425ed
[gcc,clang] add support for attribute(malloc)
...
Mark all malloc like functions and add their appropriate free function
to let the compiler complain on mismatches
2024-02-02 15:10:40 +01:00
akallabeth
8b04ab53eb
[cmake] disable WITH_WEBVIEW if not build on linux/bsd
2024-01-29 10:01:23 +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
465745131e
[client,sdl] fix verbose logging
...
only call SDL_DestroyTexture if texture != NULL
2024-01-22 13:09:25 +01:00
akallabeth
bc23b205b5
[release] start new development cycle
2024-01-19 09:57:41 +01:00
akallabeth
bb87d4ca50
[release] update to 3.2.0
2024-01-19 09:57:41 +01:00
akallabeth
575d42312a
[code] improve error checks on free
2024-01-19 09:57:41 +01:00
Armin Novak
8d45b3fa66
[client,mac] key down & up for CAPS and NUM lock
2024-01-19 08:54:05 +01:00
dev
feceb1c0f3
[client,mac] fix keyboard state sync
...
* release all keyboard modifiers on pause
* release/sync keyboard modifier states on resume
* update modifier states on keyDown, keyUp and flagsChanged
2024-01-19 08:54:05 +01:00
Armin Novak
9729a51cb2
[client,common] add example for use with AzuerAD accounts
2024-01-18 11:22:20 +01:00
Armin Novak
a45e464d6f
[client,SDL] check for timer initialized
...
before manipulating SDL timers check if the SDL subsystem was actually
initialized. Fixes #9736
2024-01-10 19:53:05 +01:00
akallabeth
f6a208f75e
[cmake] generate relative pkgconfig path
...
generate the relative pkgconfig path from the actual install locations.
fixes #9718
2024-01-05 14:19:34 +01:00
akallabeth
2b39afcc7a
[client,SDL] optimize map lookup
2024-01-05 09:18:07 +01:00