Commit Graph

19416 Commits

Author SHA1 Message Date
Martin Fleisz 86bfade4dc
Merge pull request #10579 from akallabeth/transport_cb_doc
[core,transport] follow up to #10576
2024-09-09 14:15:15 +02:00
akallabeth 4253426e48
[core,transport] follow up to #10576
document the behaviour and reference the place it is used to avoid
confusion on future code review
2024-09-09 13:43:43 +02:00
akallabeth cec6fef1de
Merge pull request #10575 from akallabeth/ffmpeg-detect-update
Ffmpeg detect update
2024-09-09 12:59:15 +02:00
akallabeth 3fa3772038
Merge pull request #10577 from akallabeth/scale-desktop
[client,common] properly abort on invalid scale-desktop
2024-09-09 12:58:26 +02:00
akallabeth 306af4070c
[client,common] properly abort on invalid scale-desktop 2024-09-09 12:37:22 +02:00
Martin Fleisz a92a13d74c
Merge pull request #10576 from llyzs/fix_ssl_cb
[core,transport] fix ssl info callback function signature and some wa…
2024-09-09 12:33:58 +02:00
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
Vic Lee 929e4bdf8d [core,transport] fix ssl info callback function signature and some warnings. 2024-09-09 17:42:14 +08:00
akallabeth e23115c54f
[codec,dsp] fix and simplify avcodec version check 2024-09-09 11:23:19 +02:00
akallabeth 9738fc40f3
Merge pull request #10548 from akallabeth/serial-port
[BSD] build-serial-port
2024-09-09 09:41:12 +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 9c6126c470
[winpr,comm] build generic serial-port support
* Disable linux specific code if build on *BSD
* Build stub to just return NULL for unsupported platforms
2024-09-04 12:50:49 +02:00
akallabeth e37dffaca4
[crypto,tls] disable linter warning
the argument is #ifdefed, so some configurations produce a warning
2024-09-04 12:50:46 +02:00
akallabeth 0eb0cff367
[winpr,utils] fix integer size warnings 2024-09-04 12:50:43 +02:00
akallabeth 5aff241096
Merge pull request #10554 from akallabeth/tidy-silence
Tidy silence
2024-09-04 10:35:22 +02:00