Armin Novak
e6fca2c021
[winpr,stream] Fix Stream_SetPosition return checks
2026-03-02 11:37:20 +01:00
Armin Novak
92ab55c5e1
[winpr,stream] Add Stream_ResetPosition
...
A helper function that does not require return checks, in contrast to
Stream_SetPosition, which might fail.
2026-03-01 06:11:59 +01:00
Armin Novak
56d6c97a41
[proxy,modules] mark functions [[nodiscard]]
2026-02-19 08:57:50 +01:00
akallabeth
e0484bcd40
[c,printf] fix wlog format string to match arguments
2026-01-16 11:42:29 +01:00
Armin Novak
7ccb5994c0
[c++] replace std::lock_guard with std::scoped_lock
2025-12-03 15:10:56 +01:00
akallabeth
74a3a7695c
[cmake,pkg-config] properly set requires fields
2025-09-21 19:07:16 +02:00
Armin Novak
b84c15e8b6
[proxy,modules] fix entry point for dyn-channel-dump
2025-09-11 07:16:34 +02:00
Armin Novak
a7b7474742
[proxy,modules] generate pkg-config files for modules
2025-09-11 07:16:23 +02:00
akallabeth
5a188d3e8a
[proxy,modules] ignore bitmap-filter skip remaining
...
There might be fragmented packets that need to be dropped. Ignore
remaining data on skip.
2025-08-19 07:37:59 +02:00
Armin Novak
bc1f6bd807
[proxy,modules] fix static entry point name
2025-08-18 11:30:52 +02:00
Armin Novak
93221680a5
[proxy,bitmap-filter] fix data skip check
2025-08-18 08:58:38 +02:00
Armin Novak
ce6d3e7ea2
[proxy,modules] fix bitmap filter entry point
2025-08-18 08:36:19 +02:00
akallabeth
00a5775fc4
[proxy,modules] Declare proxy module entry function
...
When building static proxy modules export the entry function name as
<module_name>_proxy_module_entry_point instead of only
proxy_module_entry_point when using shared linking
2025-08-14 08:32:38 +02:00
akallabeth
12d0e491f6
[cmake] add installWithRPATH
...
this new CMake function installs a target to a destination and adds the
correct relative RPATH to some desired locations
2025-07-17 13:59:51 +02:00
akallabeth
d4f7fb081b
[warnings] fix -Wunused-function
...
* delete unused functions that are no longer required
* define guard functions only used while debugging
2025-02-27 19:29:46 +01:00
akallabeth
150b61d4c2
[proxy,warnings] fix -Wunused-parameter
2025-02-13 15:53:58 +01:00
akallabeth
a24ffe957c
[cmake] make C and C++ standards configurable
...
use cache variables to allow overriding them from command line
2025-02-13 13:30:06 +01:00
akallabeth
180a9d7d72
[cmake,flags] print all configuration flags
...
Since we do not know wich configuration will be build with
multiconfiguration generators print out all C_FLAGS_XXX and
CXX_FLAGS_XXX variables
2024-12-05 09:36:26 +01:00
akallabeth
faae38120c
[cmake,format] reformat all cmake files
2024-11-27 20:41:48 +01:00
stephanebill
4f2afa8c47
spell check with codespell
2024-11-20 16:53:40 -05:00
akallabeth
f55a1e2bc3
[proxy,modules] fix integer narrow
2024-10-03 18:58:51 +02:00
akallabeth
b1cc0a3191
[proxy,modules] eliminate unused variables
2024-09-24 19:45:16 +02:00
Armin Novak
96052ca2fb
[build,c++] add CXXCompilerFlags to set warnings
...
Just like with the C components and CompilerFlags.cmake add a
configuration for C++ that disables specific warnings only found in C++
code.
2024-09-20 09:16:30 +02:00
Armin Novak
deec4df8c0
[proxy,module] move list in dyn-channel-dump instead of copy
2024-09-18 11:46:56 +02:00
akallabeth
586f40631f
[warnings] fix shorten-64-to-32
2024-09-17 16:13:48 +02:00
akallabeth
3ab6d2f918
[proxy,modules] fix unchecked return
2024-09-10 14:42:39 +02:00
akallabeth
082c46ba64
[proxy,modules] require C++ 17
...
Unify required C++ standard and require C++ 17 for all modules. It does
not make a lot of sense to have different standard requirements in the
same project.
2024-09-06 09:20:28 +02:00
akallabeth
e3f94e6622
nodiscard
2024-09-04 22:17:35 +02:00
akallabeth
500495dc00
[warnings] fix SDL3 related issues
2024-08-29 16:03:51 +02:00
akallabeth
24cd7828c9
[warnings] fix clang-tidy issues in server
2024-08-29 15:20:42 +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
2c4604ed1c
[proxy,modules] replace global constructor
2024-06-05 15:57:46 +02: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
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
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
a4425d945c
[server,proxy] drop capture plugin
...
the capture plugin was written for FreeRDP2 proxy, which used a
different approach that is no longer working with FreeRDP3.
Drop the module so that we don´t diffuse people into thinking that this
is working.
2024-01-18 11:20:29 +01:00
Armin Novak
a7decba8c2
[cmake] unify common options
2023-12-22 16:21:30 +01:00
Armin Novak
7debd0f621
[cmake] set policy 0091
...
On windows we need to set the runtime linker settings extra
https://cmake.org/cmake/help/latest/policy/CMP0091.html
2023-12-22 15:37:56 +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
Joan Torres
2079455eec
[proxy,modules] allow compiling with old c++ compiler
...
For dyn-channel-dump.
On C++17 there's the filesystem standard library.
Newer c++ compilers use it with <filesystem>.
However, older c++ compilers use it with <experimental/filesystem>.
2023-12-18 14:11:37 +01:00
Armin Novak
f791cf6308
[proxy,modules] explicitly build shared libraries
...
The proxy modules must always be shared libraries. To have the proper
system extension, use keyword SHARED instead of MOUDLE
2023-12-14 14:05:39 +01:00
akallabeth
1f236ade7a
[server] make settings opaque
2023-11-24 14:54:56 +01:00
Armin Novak
e0e72f9c28
[cmake] use CMAKE_MSVC_RUNTIME_LIBRARY
...
* Increase required CMake version to 3.15 (windows only)
* Use
https://cmake.org/cmake/help/latest/prop_tgt/MSVC_RUNTIME_LIBRARY.html#prop_tgt:MSVC_RUNTIME_LIBRARY
to select windows runtime
2023-11-16 10:40:04 +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
41bd8bd3fb
[various] fix integer conversions
2023-08-04 15:07:56 +02:00
Armin Novak
3df928a8d2
[client,sdl] fixed member initialization order and casts
2023-07-28 13:42:12 +02:00
Armin Novak
e61880d077
[standard] replace __FUNCTION__ with __func__
2023-07-27 20:02:43 +02:00
akallabeth
764936fe64
[proxy,modules] fix c++ 11 compatibility
2023-07-05 08:46:00 +02:00
akallabeth
c7f7f38367
[ci] deactivate proxy modules on windows
...
current builder is too old for c++11
2023-07-05 08:46:00 +02:00