Armin Novak
fe4cb6de65
[warnings] fix float/double warnings
2024-09-02 16:20:20 +02:00
akallabeth
d7ebec5a65
[tidy] move loop variable declaration to loop
2024-02-22 12:31:50 +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
f02375e4ec
[client,x11] remove hardware bitmap
2023-12-01 10:18:33 +01:00
akallabeth
99a0a28d77
[client,X11] drop direct glyph mapping
2023-12-01 10:18:33 +01:00
akallabeth
3361116834
[client,x11] drop direct gdi mapping
...
windows GDI is legacy and can not be properly mapped to X11 equivalents
witout glitches. Drop support for that while preserving XImage/Pixmap
acceleration support.
2023-12-01 10:18:33 +01:00
akallabeth
4e438d1c3e
[client] make settings opaque
2023-11-24 14:54:56 +01:00
akallabeth
7a71441476
[warnings] fix integer multiplications
...
Ensure the integer width for size arguments is 64bit in a
multiplication. Leading 64bit constant 1ull expands width, a trailing
one is ignored.
2023-08-22 11:55:00 +02:00
akallabeth
9565ff4b29
[client,x11] restrict pointer move to active window
2023-07-03 10:00:29 +02:00
akallabeth
32b60ae438
[pointer] unify mouse pointer settings
2023-07-03 10:00:29 +02:00
Armin Novak
a4c6b36a19
[build] fix memory sanitizer stack frame warnings
2023-06-07 09:14:45 +02:00
Armin Novak
3e44efc841
[cmake] use FindX11 from CMake 3.13
2023-05-31 11:05:56 +02:00
Armin Novak
641022b795
[logging] remove __FUNCTION__ from actual message
...
prefer the log formatter to provide that information.
2023-01-25 16:26:39 +01:00
Armin Novak
4008033065
[x11,client] assert use of xfc->depth
...
Do not use color depth settings before they are initialized
2022-12-09 12:30:14 +01:00
Armin Novak
a489c69f10
[client,x11] Fixed #8397 : Clamp scaled cursor sizes
...
If a cursor is scaled, ensure the result size is at least 1x1 pixel
wide.
2022-11-16 13:47:02 +01:00
akallabeth
43c5289928
Replaced memset/ZeroMemory with initializer
...
* Addes WINPR_ASSERT on many occations
* Replaced memset with array initializer
* Replaced ZeroMemory with array initializer
2022-10-14 12:11:01 +02:00
Martin Fleisz
d8ac6e978e
x11: Fix disconnects if WITH_XCURSOR is set to OFF
...
Fix disconnects if WITH_XCURSOR is set to OFF. In that case xf_Pointer_New currently returns FALSE causing a disconnect.
2022-09-05 14:12:47 +02:00
David Fort
4fc7a9417d
Various fixes / improvements ( #8146 )
...
* xfreerdp: fix typo in logs
* winpr: file appender, small code cleanup
* shadow-server: add an option for TLS secrets
This allows to dissect connections to the shadow server.
2022-08-22 09:42:15 +02:00
akallabeth
2da280b8a1
Fixed compilation warnings
2022-07-04 14:59:21 +02:00
akallabeth
c07d240bc8
Updated pointer debug log messages
2022-07-04 14:30:49 +02:00
akallabeth
b8f3743e82
Update scaled pointer on FocusIn
2022-07-04 14:30:49 +02:00
akallabeth
2c814138cc
Fixed xf_Pointer_GetCursorForCurrentScale check
2022-07-04 14:30:49 +02:00
akallabeth
e07233ccef
Fixed float comparson
2022-06-29 18:10:33 +02:00
akallabeth
bc8b4ade1c
reformatted
2022-06-23 08:48:39 +02:00
akallabeth
90ce22283d
Replaced direct settings access with getter/setter
2022-06-23 07:45:55 +02:00
David Fort
77413f49b2
winpr: rework alignment functions
...
_align_XXX functions aren't widely available depending on the C runtime. That causes
problems with mingw where we can easily have some runtime mixes (which lead to mysterious
segfaults most of the time). This patch introduce winpr_aligned_XXX functions that will
either use the function available, or use an emulation layer.
2022-05-12 11:36:01 +02:00
akallabeth
0422cf9892
Fixed invalid argument types
2022-04-29 14:38:41 +02:00
akallabeth
2dfc1ddb12
Removed obsolete trio
2022-04-28 10:49:09 +02:00
akallabeth
d68327ad74
Fixed const correctness of pPointer_Set
...
Pointer might need to be modified
2022-04-28 09:17:20 +02:00
akallabeth
667b471686
Fixed cast-quality warnings
2022-04-28 09:17:20 +02:00
akallabeth
fb90ac280a
Refactored color.h
...
* Remove implementations from header
* Rename functions to be FreeRDP specific
* Add deprecation define for old names
* Fixed missing includes
2022-04-28 08:40:47 +02:00
Kazuki Oikawa
98f9aedd62
Supports 10bit X11 color (BGRX32 only)
2022-03-20 10:05:18 +01:00
Armin Novak
4d03d7c0bf
Freerdp remove #ifdef HAVE_CONFIG_H
2022-03-03 11:26:48 +01:00
Armin Novak
b2ad47a809
Reorganized FreeRDP headers
2022-03-03 11:26:48 +01:00
akallabeth
7641710f60
Use a client/common context component
...
* Allows moving common client code from specific client to a
generic client/common implementation
2022-02-22 09:44:13 +01:00
Armin Novak
0f8c52b9ca
Fixed const warnings with argument parser
2021-09-09 08:53:20 +02:00
Armin Novak
5afa592244
Fixed cast-qual warnings
2021-08-24 11:10:51 +02:00
akallabeth
242f1734ec
Fixed dpkg-buildpackage warnings
2021-06-30 11:57:23 +02:00
akallabeth
618227d751
Fix xf_Pointer_SetPosition with smart-sizing
2021-03-08 14:25:59 +01:00
akallabeth
43311130a2
Fixed CodeQL warnings
2021-02-19 11:19:49 +01:00
akallabeth
50e1c20786
Fixed #6635 : Use correct window handle for pointer operations
2021-01-11 15:18:30 +01:00
akallabeth
66dc4cc9ee
Fixed compilation warnings.
2020-11-10 08:53:43 +01:00
akallabeth
488ffe31fc
Fixed leak on cursor update.
2020-10-05 09:45:45 +02:00
akallabeth
4f8a48d96e
Fixed variable declaration in loop
2020-09-22 07:43:56 +02:00
Armin Novak
ddde652460
Fix variable declaration in loop
2020-09-16 09:30:37 +02:00
Nathan Loewen
e24c95f90e
X11: Scale cursor when SmartSizing is on
2020-09-14 09:21:33 +02: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
72ca88f49c
Reformatted to new style
2019-11-07 10:53:54 +01:00
Armin Novak
e009a62f06
Fixed sign-compare warnings
2019-04-05 09:14:35 +02:00