Armin Novak
17163d3738
[winpr,collections] fix PubSub_OnEvent return checks
...
* proper return checks on use
* fix return on invalid input arguments
* fix return on no event registered
2026-03-03 13:49:54 +01:00
Armin Novak
465a6353d5
[c23,client] replace NULL with nullptr
2026-02-26 15:42:59 +01:00
Armin Novak
48267edf2f
[winpr] add WINPR_C_ARRAY_INIT
...
since C23 allows c++ style initializing replace direct use with this
macro
2026-02-25 19:23:08 +01:00
akallabeth
8062adf83d
[clients] add checks from #11804 to all clients
2025-09-16 09:28:57 +02:00
akallabeth
6314e93939
[cmake] drop legacy and unused cmake_policy
...
Some cmake_policy settings have long been active by default (3.13 is our
current baseline) or simply unused. Due to issues with CMake 4.0 lets
drop them
2025-04-03 08:31:36 +02:00
akallabeth
c616b35f68
[client,mac] prefer unicode from clipboard
...
Some servers do not send clipboard formats in preference order. Prefer
CF_UNICODE over all localized text formats.
2025-04-02 12:55:53 +02:00
Armin Novak
3e6707c443
[warnings] fix issues from ci builder
2025-03-12 12:02:04 +01:00
akallabeth
faae38120c
[cmake,format] reformat all cmake files
2024-11-27 20:41:48 +01:00
akallabeth
965d231e49
[return checks] fix use of CloseHandle
2024-09-16 08:22:31 +02:00
akallabeth
94020c183c
[return checks] fix use of ResetEvent
2024-09-16 06:48:09 +02:00
akallabeth
7d67b8e204
[return checks] fix use of SetEvent
2024-09-16 06:47:58 +02:00
akallabeth
0d5bc92a2b
[warnings] fix apple iOS/macos
2024-09-15 19:47:13 +02:00
akallabeth
1bd6d70057
[warnings] fix some warnings on mac os
2024-09-15 10:06:22 +02:00
akallabeth
ba41d5e532
[warnings] fix unchecked return
2024-09-15 09:08:02 +02:00
akallabeth
2170cc65e3
[warnings] cast return of fprintf (void)
...
fprintf returns a value. Not using it is mostly fine, but it generates
noise when compiling with all warnings on, so cast to (void)
2024-09-06 09:16:21 +02:00
Armin Novak
41841997cc
[client,cliprdr] send format list msgFlags = 0
...
only a response message might have msgFlags != 0 set
2024-05-22 16:31:34 +02:00
Richard Markiewicz
61d3f1f201
[client,mac] Enable secure restorable state
2024-05-04 11:50:54 +02:00
akallabeth
d7ebec5a65
[tidy] move loop variable declaration to loop
2024-02-22 12:31:50 +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
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
a7decba8c2
[cmake] unify common options
2023-12-22 16:21:30 +01:00
Armin Novak
175a3ca09a
[cmake] do not append EXECUTABLE_SUFFIX to OUTPUT_NAME
2023-12-22 15:37:56 +01:00
Armin Novak
b04271ae2d
[cmake] add executable versioning
...
optionally append API version to generated binaries
2023-12-21 18:56:51 +01:00
Armin Novak
7f25a7cebf
[cmake] provide default project version
...
each subproject inherits the project version of the top level project
2023-12-21 18:56:51 +01:00
dev
dd56308bde
[client,mac] Simplify builder
...
* Build MacFreeRDP as normal application, let the bundling out of
building
* Add a bunding script allowing to create a MacFreeRDP with all
dependencies installed
2023-12-05 09:21:23 +01:00
akallabeth
615fcc4370
[cmake] prevent in source builds
2023-11-28 12:14:55 +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
dev
89f650b8ae
[client,mac] fix opaque settings
2023-11-24 21:23:38 +01:00
akallabeth
4e438d1c3e
[client] make settings opaque
2023-11-24 14:54:56 +01:00
akallabeth
14f69d0657
[client,mac] fix casting in main()
2023-09-21 10:57:43 +02:00
akallabeth
1f827f6be3
[client,mac] fix invalid const for variable
2023-09-21 10:57:43 +02:00
akallabeth
8470b6ea26
[cmake] set default build type
...
set with CACHE STRING FORCE to properly be picked up by configuration
tools
2023-08-04 12:59:11 +02:00
dev
a4f9702ad6
[clien,mac] fix clipboard text copy
...
* copy format changed
* copy length was off
2023-07-17 10:41:46 +02:00
Armin Novak
04fa5b3033
[client,mac] update to use AuthenticateEx
2023-06-19 10:08:59 +02:00
akallabeth
52786d0f12
[input] update to use new WINPR_KEYBOARD_TYPE*
...
* Use new enum constants with WINPR_KEYBOARD_* prefix
* Fix mapping of keycodes and scancodes, the offset of 8 is no longer
required if the proper keyboard type is used.
2023-05-12 09:52:01 +02:00
Armin Novak
8af35bd42a
[client] add deprecation/experimental warnings
2023-03-01 13:45:13 +01:00
akallabeth
adce7378c3
[core,cache] make protocol caches private
...
most protocol internal caches do not need to be exposed. this reduces
the public API and allows us to more easily improve/change this during a
release cycle
2023-02-27 17:31:52 +01:00
akallabeth
7728df6804
[client,mac] fix wrong getter for ServerPort
2023-02-12 20:17:11 +01:00
Armin Novak
e6a4b86fd6
[client,mac] use settings getter/setter
2023-01-14 08:09:08 +01:00
jfliu
5b44bc63e8
fix Chinese title on mac
2023-01-14 08:09:08 +01:00
amazingfate
a691b48bc0
hide password for mac client
2023-01-13 11:42:08 +01:00
Bernhard Miklautz
08ffe661e0
fix [client/Mac]: ninja build
...
Problem that caused the ninja build to fail:
* `ninja: error: build.ninja:14841: bad $-escape (literal $ must be written as $$)` - because of the way CONFIGURATION was passed
* missing build dependency betwenn client/Mac and client/Mac/cli
2023-01-10 13:26:54 +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
akallabeth
9a2a37786e
Refactored clipboard structs
2022-07-04 14:31:08 +02:00
akallabeth
ebf5de1d1d
Preset LoadChannels function pointer
2022-06-29 09:18:53 +02:00
akallabeth
bc8b4ade1c
reformatted
2022-06-23 08:48:39 +02:00
akallabeth
650a275ceb
Added new client callback LoadChannels and freerdp_client_load_channels
...
Split channel loading from PreConnect as it might be necessary to
reinitialize channels on redirect
2022-06-23 07:45:55 +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
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