Commit Graph

19969 Commits

Author SHA1 Message Date
akallabeth
a3aa01214c
[resource root] unify locations
unify resource locations in case WITH_BINARY_VERSIONING is set.
2024-10-25 11:40:40 +02:00
akallabeth
5538681fc3
Merge pull request #10780 from akallabeth/window-fake-monitor
Window fake monitor
2024-10-24 14:24:18 +02:00
akallabeth
392a085728
[core,settings] enforce fullscreen monitor requirements
* Monitor must start at 0/0
* Monitor must be primary
2024-10-24 11:32:10 +02:00
akallabeth
7ab30a1b18
[client,common] const correct pointer array arguments 2024-10-24 11:32:08 +02:00
akallabeth
14c4cd8dc3
[client,sdl] ignore window properties if not fullscreen/multimon 2024-10-24 11:32:05 +02:00
akallabeth
401f81683c
[core,settings] fake monitor in window mode
RDP requires sending monitor information to the server. If we are in
windowed mode fake that information with the windows size
2024-10-24 11:32:03 +02:00
akallabeth
1675d926d2
Merge pull request #10776 from akallabeth/packaging-tests
[cmake] split tests
2024-10-24 11:26:17 +02:00
akallabeth
de055a6765
Merge pull request #10777 from akallabeth/cmake-build-type
[cmake] enforce a supported build type
2024-10-24 09:47:47 +02:00
akallabeth
a5208f948d
Merge pull request #10774 from akallabeth/cov-fix
[sysconf] _SC_GETPW_R_SIZE_MAX return checks
2024-10-24 09:47:21 +02:00
Armin Novak
527db6783b
[cmake] split tests
* Keep BUILD_TESTING, but only run tests compatible with API (for
  packaging)
* Add BUILD_TESTING_INTERNAL for all tests including internal function
  tests that modify API to be run on our CI
2024-10-24 09:45:44 +02:00
akallabeth
d511316e86
[core,rdp] add build and supported cipher/digest checks
checking for:
 * WITH_VERBOSE_WINPR_ASSERT (runtime slowdown)
 * digests MD4, MD5, SHA1 and SHA256
 * HMAC md5 and sha1
 * Cipher RC4/ARC4_128, DES_EDE3_CBC, AES128_CBC, AES192_CBC,
   AES_256_CBC
2024-10-24 09:12:22 +02:00
akallabeth
180a0e6c9e
[winpr,crypto] add functions stringify ciphers
* add funtion to get the name of a cipher
* add function to get the cipher from name
* make ciphers an enum
2024-10-24 09:08:11 +02:00
akallabeth
aa9b03df25
[cmake] generate full buildflags.h CFLAGS
Combine current configuration flags with CMAKE_C_FLAGS
2024-10-24 09:08:08 +02:00
Armin Novak
98f4a2b022
[client,various] print client specific only on help
do not print if version or other command was run
2024-10-24 09:08:06 +02:00
Armin Novak
e48fb1eabd
[core,warnings] warn about runtime check options 2024-10-24 09:08:03 +02:00
Armin Novak
0d7edfd884
[cmake] enforce a supported build type
We check for build types internally to enable/disable debug options.
Ensure the CMAKE_BUILD_TYPE is either not set or set to a supported
value.
2024-10-24 09:08:00 +02:00
Armin Novak
f488d15b7a
[winpr,utils] update TestStream 2024-10-23 16:01:30 +02:00
Armin Novak
d3f8cd3073
[client,common] fix data race 2024-10-23 11:39:29 +02:00
Armin Novak
0cb84a0d8f
[crypto,cert] fix error handling for bio_read_pem 2024-10-23 11:34:06 +02:00
Armin Novak
0545a8a5ef
[uwac] fix sign warnings 2024-10-23 11:02:52 +02:00
Armin Novak
9b32cc59b8
[core,gateway] restore non-local value 2024-10-23 10:52:21 +02:00
Armin Novak
74b596758c
[crypto,tls] add check for overflow 2024-10-23 10:50:07 +02:00
Armin Novak
a84b303c23
[sysconf] _SC_GETPW_R_SIZE_MAX return checks
fix possible overflow with value returned from sysconf(_SC_GETPW_R_SIZE_MAX)
2024-10-23 10:34:11 +02:00
akallabeth
ae5f655f12
Merge pull request #10772 from akallabeth/command-line-parser
[warnings] unify CommandLineParseCommaSeparatedValues
2024-10-23 09:44:47 +02:00
akallabeth
9caf38bbb6 [warnings] unify CommandLineParseCommaSeparatedValues
CommandLineParseCommaSeparatedValues does some internal hack to allow
the allocated char** to be cleaned up by free.
This enforces compiler warnings as the pointer types do not match.
Use a new free function CommandLineParserFree instead
2024-10-22 21:11:58 +02:00
akallabeth
6c7f88aecc
Merge pull request #10771 from akallabeth/clang-update
Clang update
2024-10-22 16:49:13 +02:00
akallabeth
2329cb23ae
[channels,rdpgfx] reset pointer to local variable 2024-10-22 16:19:47 +02:00
akallabeth
4b850f765f
[channels,rdpecam] fix format string 2024-10-22 16:02:41 +02:00
akallabeth
575b926626
[cmake] disable -Wpre-c11-compat 2024-10-22 16:02:38 +02:00
akallabeth
563c05c499
Merge pull request #10765 from akallabeth/overlap-fix
[codec,color] fix overlapping check
2024-10-22 15:36:12 +02:00
akallabeth
210249e5c3
Merge pull request #10770 from akallabeth/crypto
[winpr,crypto] rename OUT
2024-10-22 13:42:31 +02:00
akallabeth
e139ff8c86
Merge pull request #10769 from akallabeth/cmdline-improve
[client,common] update help text for /monitors
2024-10-22 13:36:41 +02:00
akallabeth
f4270aeab8
[winpr,crypto] rename OUT
visual studio compilers do have some symbol clashes, rename the function
2024-10-22 13:30:40 +02:00
akallabeth
b5f8faa7ae
[client,common] update help text for /monitors 2024-10-22 13:18:47 +02:00
akallabeth
d8dc2956e5
[codec,color] fix overlapping check
only consider images that do not contain the same lines not overlapping.
Ignore any x offsets as this may lead to alignment problems resulting in
invalid overlapping areas.
2024-10-22 11:03:14 +02:00
akallabeth
5ad826a503
Merge pull request #10763 from akallabeth/fix-our-mistakes
Fix some mistakes
2024-10-22 10:48:54 +02:00
akallabeth
6ac2a961b6
[channels,audin] fix variable shadowing 2024-10-22 10:11:41 +02:00
akallabeth
28037f100c
[warnings] fix sign comparison issues 2024-10-22 10:11:38 +02:00
akallabeth
9e18bd94f9
[crypto,x509] replace sprintf 2024-10-22 09:50:39 +02:00
akallabeth
4f4d400f7e
[core,gateway] fix out of range check 2024-10-22 09:50:36 +02:00
akallabeth
efffcee119
[channels,rdpecam] fix casts 2024-10-22 09:50:34 +02:00
akallabeth
b6e0a2381c
[winpr,crypto] fix duplicate include 2024-10-22 09:50:29 +02:00
akallabeth
b9aa91bfcb
[winpr,crypto] use inline functions for md4 2024-10-22 09:50:26 +02:00
akallabeth
6929ade1c4
[crypto,tls] fix cast 2024-10-22 09:50:24 +02:00
akallabeth
e41f8eb61f
[warnings] redundant cast 2024-10-22 09:50:22 +02:00
akallabeth
c0a3abfc62
[warnings] duplicate include 2024-10-22 09:50:20 +02:00
akallabeth
6e3cc23ad2
[ci] enable WITH_INTERNAL_[RC4|MD4|MD5]
test the implementations on qa tester
2024-10-22 09:50:18 +02:00
akallabeth
4cf5b32733
[winpr,crypto] prefer inline functions for md5 2024-10-22 09:50:16 +02:00
akallabeth
0ace936943
[clang-tidy] disable readability-string-compare
we have mostly C strings, so c++string.compare(c-string) is to be
preferred to c++string == c-string
2024-10-22 09:47:59 +02:00
akallabeth
fd8947ddc1
[winpr,kerberos] fix a leak in failure handling 2024-10-22 09:47:57 +02:00