akallabeth
|
d5b41bb8a0
|
[warnings] fix casts
* Add macro WINPR_REINTERPRET_CAST to cast (checked) from type A to B
* Fix cast warnings
|
2024-09-14 08:24:51 +02:00 |
|
akallabeth
|
01c6447963
|
[clang-tidy] disable clang-analyzer-optin.performance.Padding
this is not a bug but a performance suggestion test. We don´t want these
mixed in with actual issues
|
2024-09-14 08:24:48 +02:00 |
|
akallabeth
|
5a711f5ae4
|
[winpr,collections] fix cast to float
|
2024-09-14 08:24:45 +02:00 |
|
akallabeth
|
d7f6cf90b4
|
[core,nla] add missing static for function
|
2024-09-14 08:24:43 +02:00 |
|
akallabeth
|
5f2ed9b8ce
|
[crypto,tls] explicitly cast function pointer
|
2024-09-14 08:24:40 +02:00 |
|
akallabeth
|
f0a73e3e9c
|
[channels,rdpear] fix inconsistencies in ndr.c/h
|
2024-09-14 08:24:38 +02:00 |
|
akallabeth
|
1c161b0270
|
[channels,rdpear] elimiate warnings
|
2024-09-14 08:24:35 +02:00 |
|
akallabeth
|
70b597ce1e
|
[utils,passphrase] fix unused result warning
|
2024-09-14 08:24:32 +02:00 |
|
akallabeth
|
71080e61b0
|
[warnings] fix a bunch of them
* fix uninitialized variable warnings
* modivy ndr_context_* functions to utilize WINPR_ATTR_MALLOC
* build_krbtgt use winpr_asprintf
* add proper Stream_Write_UINT64_BE
|
2024-09-14 08:24:28 +02:00 |
|
akallabeth
|
3895cf9fd3
|
Merge pull request #10603 from akallabeth/strtok-replace
[strtok] replace function with strtok_s
|
2024-09-13 21:31:54 +02:00 |
|
akallabeth
|
16cec716e0
|
[strtok] replace function with strtok_s
Since strtok is not thread safe replace it with strtok_s (WinPR wrapper
around strtok_r for systems not supporting the ISO function names)
|
2024-09-13 21:19:17 +02:00 |
|
akallabeth
|
f1cddd78f9
|
Merge pull request #10602 from akallabeth/reserved-fix
[winpr,include] fix reserved-identifier warnings
|
2024-09-13 16:42:30 +02:00 |
|
akallabeth
|
d2641ea55f
|
[winpr,include] fix reserved-identifier warnings
* Remove symbols where possible
* Use #pragma where the symbols are implementing ISO or windows
functions
|
2024-09-13 14:30:33 +02:00 |
|
akallabeth
|
7ef9345743
|
Merge pull request #10549 from hardening/rcg2
core, channels: client-side remote credential guard
|
2024-09-13 08:24:14 +02:00 |
|
akallabeth
|
166441c4ee
|
Merge pull request #10599 from akallabeth/more-docs
More docs
|
2024-09-12 22:15:26 +02:00 |
|
akallabeth
|
163aec7e2b
|
[warnings] fix documentation command unknown
|
2024-09-12 21:21:41 +02:00 |
|
akallabeth
|
afff514ca7
|
[compiler] add WINPR_ATTR_MALLOC
Add WINPR_ATTR_MALLOC checks to allocating functions to help compilers
find memory leaks or allocation mismatches
|
2024-09-12 20:09:22 +02:00 |
|
akallabeth
|
fb5934007a
|
[doxygen] add basic documentation for new API
* Add basic documentation for new functions/structs/data types since
3.0.0
|
2024-09-12 20:09:19 +02:00 |
|
akallabeth
|
98f22d49b9
|
[CMake] add public headers as INTERFACE target
|
2024-09-12 18:54:40 +02:00 |
|
akallabeth
|
aa72746cda
|
Merge pull request #10597 from akallabeth/some-more-warnings
Some more warnings
|
2024-09-12 17:11:41 +02:00 |
|
akallabeth
|
c84655cd62
|
[warnings] remove const params
Avoid const TYPE* const type declarations
|
2024-09-12 14:29:25 +02:00 |
|
akallabeth
|
a1a1fc8658
|
[warnings] fix mismatches between declaration and implementation
|
2024-09-12 13:32:44 +02:00 |
|
akallabeth
|
7ebefc505f
|
[warnings] fix some msbuild warnings
|
2024-09-12 13:32:41 +02:00 |
|
akallabeth
|
b29c141c39
|
[client,cmdline] fix COMMAND_LINE_ARGUMENT_A arguments
* The project expects COMMAND_LINE_ARGUMENT_A arguments, so fix
COMMAND_LINE_ARGUMENT macro usage. (affects windows API)
|
2024-09-12 13:30:10 +02:00 |
|
akallabeth
|
f74fd1ab0f
|
[warnings] silence unused macro warnings
* Add WINPR_PRAGMA_DIAG_IGNORED_UNUSED_MACRO
* Silence usages that
|
2024-09-12 13:30:08 +02:00 |
|
akallabeth
|
f62325d443
|
[winpr] silence -Wreserved-identifier
* Add macro WINPR_PRAGMA_DIAG_IGNORED_RESERVED_IDENTIFIER
* Silence use in wtypes.h.in to avoid false positives
|
2024-09-12 13:30:05 +02:00 |
|
akallabeth
|
7aa80cb751
|
[documentation] update
* Fix wrong tag @version, replace with @since
* Document some functions
|
2024-09-12 13:30:03 +02:00 |
|
akallabeth
|
2638d9d894
|
[warnings] fix casts
|
2024-09-12 13:30:00 +02:00 |
|
akallabeth
|
adc4f2abf8
|
[warnings] fix unused variables
|
2024-09-12 13:29:58 +02:00 |
|
akallabeth
|
29697ca68d
|
[winpr,ncryt] fix a memory leak
NCryptP11EnumKeys did leak memory under certain conditions
|
2024-09-12 13:29:55 +02:00 |
|
akallabeth
|
773eed8878
|
[client,sdl] use auto for variable declaration
|
2024-09-12 13:29:53 +02:00 |
|
akallabeth
|
6481993305
|
[winpr,ncrypt] do not abort test if NCryptEnumKeys fails
|
2024-09-12 13:29:50 +02:00 |
|
akallabeth
|
f9141fb94b
|
[winpr,ncrypt] improve logging
|
2024-09-12 13:29:48 +02:00 |
|
akallabeth
|
e00661d338
|
[warnings] fix dead store warnings
|
2024-09-12 13:29:46 +02:00 |
|
akallabeth
|
c9b0c9ecd5
|
[warnings] remove unused variables
|
2024-09-12 10:08:10 +02:00 |
|
akallabeth
|
898cb5782c
|
Merge pull request #10595 from akallabeth/some-more-warnings
Some more warnings
|
2024-09-12 10:05:16 +02:00 |
|
akallabeth
|
fa9fff6ed0
|
[winpr,clipboard] properly define guard function
|
2024-09-12 09:09:00 +02:00 |
|
akallabeth
|
b2d58de1da
|
[client,X11] fix Wtautological-constant-out-of-range-compare
|
2024-09-12 09:08:58 +02:00 |
|
akallabeth
|
6f756fd1be
|
[clang-tidy] disable readability-suspicious-call-argument
we only get false positives from this check, so deemed useless for our
use case
|
2024-09-12 09:08:56 +02:00 |
|
akallabeth
|
cc6850bf21
|
[warnings] fix format nonliteral
add pragma to suppress format nonliteral warnings where appropriate
|
2024-09-12 09:08:53 +02:00 |
|
akallabeth
|
8a990644c0
|
[warnings] fix missing NULL assert/check
|
2024-09-12 09:08:51 +02:00 |
|
akallabeth
|
2ae0c456b4
|
[client,sdl] fix float casts
|
2024-09-12 09:08:49 +02:00 |
|
akallabeth
|
0f00e37884
|
[clang-tidy] disable hicpp-no-assembler
we need assembler code for some critical spots, so this check is useless
for our use case.
|
2024-09-11 23:42:01 +02:00 |
|
akallabeth
|
66153045be
|
[winpr,timezone] Include TimeZoneNameMap as header
* Update tzextract to generate header
* Update TimeZoneNameMapUtils to include header
|
2024-09-11 23:41:58 +02:00 |
|
akallabeth
|
384cd284d8
|
[warnings] use WINPR_CAST_CONST_AWAY
on locations that require (ugly) const to non const casts usw
WINPR_CAST_CONST_AWAY to do proper compiler specific casts to avoid
warnings
|
2024-09-11 23:41:50 +02:00 |
|
akallabeth
|
0de5430578
|
Merge pull request #10594 from akallabeth/sdl3-fix
Sdl3 fix
|
2024-09-11 22:39:08 +02:00 |
|
akallabeth
|
2175428df5
|
[client,SDL] default webview to off
The AAD webview is currently not working as expected, disable until
resolved.
|
2024-09-11 22:23:33 +02:00 |
|
akallabeth
|
3682e11e55
|
[primitives,test] use same parameter names
use the same parameter names for declaration and implementation
|
2024-09-11 22:20:35 +02:00 |
|
akallabeth
|
993756e575
|
[client,sdl] fix SDL3 compilation error
|
2024-09-11 21:50:30 +02:00 |
|
akallabeth
|
1f917ca46f
|
Merge pull request #10593 from akallabeth/warnings-more-more-more
Warnings more more more
|
2024-09-11 21:49:16 +02:00 |
|