Commit Graph

19405 Commits

Author SHA1 Message Date
akallabeth
52ee2e4668
[cmake] unify ffmpeg and swscale detection 2024-09-09 12:20:17 +02:00
akallabeth
0bbf0b6e80
[ci] add avformat to dependencies 2024-09-09 11:59:52 +02:00
akallabeth
e23115c54f
[codec,dsp] fix and simplify avcodec version check 2024-09-09 11:23:19 +02:00
akallabeth
d1490e3c12
[packaging,nightly] add avformat to dependencies 2024-09-09 09:38:07 +02:00
akallabeth
073426d4c1
[cmake,ffmpeg] update CMake detection script 2024-09-09 08:52:11 +02:00
akallabeth
02d9d56536
Merge pull request #10563 from llyzs/transport_io
Add new transport io layer design and support custom socket.
2024-09-06 15:18:20 +02:00
akallabeth
6a64fe121b
Merge pull request #10569 from akallabeth/fprintf-void
Fprintf void
2024-09-06 10:44:32 +02:00
David Fort
b6f094da4e
Merge pull request #10570 from akallabeth/rdpgfx-debug
[rdpgfx,client] debug caps version as string
2024-09-06 10:42:40 +02:00
akallabeth
db8e340604
[rdpgfx,client] debug caps version as string 2024-09-06 09:35:23 +02:00
akallabeth
fbd9aae501
Merge pull request #10567 from akallabeth/client-common-improve
[client,common] extended parser
2024-09-06 09:24:59 +02:00
akallabeth
97a9f3238f
[clang-tidy] disable cppcoreguidelines-interfaces-global-init
this guideline is for C++ code. The same issue does not apply for C code
so these warnings are just noise outside of our C++ subprojects.
2024-09-06 09:22:28 +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
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
akallabeth
1e1e9a445b
[utils,gfx] add rdpgfx_caps_version_str 2024-09-06 08:38:37 +02:00
akallabeth
b26ab2f069
[client,common] extended parser 2024-09-06 08:23:06 +02:00
akallabeth
590fbcf005
Merge pull request #10564 from hardening/sdl3_fix
sdl3: fix build with last version of SDL3
2024-09-05 21:51:44 +02:00
akallabeth
749023bacb
Merge pull request #10555 from akallabeth/cast-fix-tls
[crypto,tls] simplify function pointer cast
2024-09-05 17:18:27 +02:00
Vic Lee
ae05778644 [core,transport] add new transport io layer design and support custom socket. 2024-09-05 20:59:21 +08:00
David Fort
3a9a820092 sdl3: fix build with last version of SDL3 2024-09-05 14:57:11 +02:00
David Fort
d0cfd3b502
Merge pull request #10561 from akallabeth/clang-tidy-macro
[clang-tidy] disable bugprone-macro-parentheses
2024-09-05 09:25:53 +02:00
akallabeth
ec26c8c168
[clang-tidy] disable bugprone-macro-parentheses
this check has too many false positives (when the macro arguments are
types for example) so disable this.
2024-09-05 08:45:02 +02:00
akallabeth
7d48aee829
Merge pull request #10556 from akallabeth/stream-api-improve
[winpr,stream] add returning stream read/peek
2024-09-05 08:40:15 +02:00
akallabeth
8fd724b7b6
Merge pull request #10560 from akallabeth/warn-fix
Warn fix
2024-09-05 08:39:53 +02:00
akallabeth
c670eda6eb
Merge pull request #10559 from akallabeth/clip-endian
[winpr,clipboard] use endian safe bitmap read/write
2024-09-04 22:24:55 +02:00
akallabeth
b9202bd0b1 [clang-tidy] disable cert-dcl50-cpp
we do want to use variadic macros in C++ code as we interface with C
2024-09-04 22:20:59 +02:00
akallabeth
e3f94e6622 nodiscard 2024-09-04 22:17:35 +02:00
akallabeth
64a0d87c98 fix missing prototype 2024-09-04 22:15:38 +02:00
akallabeth
798421e883 fix missing static for functions 2024-09-04 22:12:32 +02:00
akallabeth
9ae37b094f fix implicit widening of multiplication result 2024-09-04 22:01:09 +02:00
akallabeth
8b92e17e60 modernize includes 2024-09-04 22:00:12 +02:00
akallabeth
b980bf2e14
[winpr,clipboard] use endian safe bitmap read/write 2024-09-04 21:56:44 +02:00
akallabeth
6a1c3b4545
[function pointer] use macro for GetProcAddress
Cast all results of GetProcAddress with WINPR_FUNC_PTR_CAST
2024-09-04 21:31:48 +02:00
akallabeth
889ae65a1f
[warnings] add WINPR_CAST_CONST_PTR_AWAY
simple macro casting a const pointer to a non const one.
2024-09-04 20:55:17 +02:00
akallabeth
245afb706c
[function pointers] unify casts with macro 2024-09-04 20:06:45 +02:00
akallabeth
1a9766e190
[warnings] fix function pointer casts 2024-09-04 20:06:43 +02:00
akallabeth
9776cc109e
[crypto,tls] simplify function pointer cast 2024-09-04 20:06:40 +02:00
akallabeth
a82821b756
[winpr,stream] fix return value
signed int functions should not return unsigned values
2024-09-04 13:17:50 +02:00
akallabeth
d959121b2f
[winpr,stream] add returning stream read/peek
To make use easier add Stream functions that return the value read
instead of taking it as argument.
2024-09-04 13:17:43 +02:00
akallabeth
5aff241096
Merge pull request #10554 from akallabeth/tidy-silence
Tidy silence
2024-09-04 10:35:22 +02:00
akallabeth
9df86daf28
[winpr,comm] add missing includes 2024-09-04 10:14:07 +02:00
akallabeth
5e123735fa
[warnings] fixed sign-compare 2024-09-04 10:14:05 +02:00
akallabeth
3eb905cfb1
Merge pull request #10553 from akallabeth/tables-fn-fix
[channels] fix function pointer casts
2024-09-04 10:13:02 +02:00
akallabeth
b6e72c7674
Merge pull request #10551 from akallabeth/arch-fixes
Arch fixes
2024-09-04 09:56:35 +02:00
akallabeth
2fc791fe9b [client,X11] fix shadowed variable 2024-09-04 09:45:00 +02:00
akallabeth
3e933203e2 [crypto,tls] fix bad-function-cast
do silence the compiler warning and add a comment why we do that.
2024-09-04 09:41:53 +02:00
akallabeth
ff62730419
[channels] fix function pointer casts
* Cast freerdp_load_channel_addin_entry return with a union (removes the
  incompatible function pointer cast warnings)
* Typedef function pointers in tables.h
2024-09-04 09:12:41 +02:00
akallabeth
c851dfcb7f
Merge pull request #10546 from akallabeth/sign-compare-fix
Sign compare fix
2024-09-04 09:11:50 +02:00
akallabeth
ebbfe598dc
[winpr,utils] unify bitmap reading
* clipboard synthesizer needs to read the bitmap header, use the function
  from utils/image
* check bitmap header in utils/image and abort if wrong
2024-09-04 09:07:18 +02:00
akallabeth
c5f346488f
[crypto,tls] revert const argument
with some build options this needs to be writeable.
2024-09-04 09:03:21 +02:00
akallabeth
16d6c3b795
[clang-tidy] disable modernize-return-braced-init-list
this check does not work well with older C++ standards
2024-09-03 17:41:02 +02:00