Commit Graph

4009 Commits

Author SHA1 Message Date
akallabeth
0ae7c4b52d [cmake] refactor configuration
* Split common stuff to reusable files
* Disable INTERPROCEDURAL_OPTIMIZATION for SDL2/3 resource targets
2025-02-11 11:33:34 +01:00
akallabeth
4013b3132b [clang,tidy] fix sign warnings 2025-02-10 13:11:16 +01:00
akallabeth
9ede54bdc3 [winpr,sysinfo] limit GetComputerNameA to 31 chars 2025-02-10 11:52:02 +01:00
akallabeth
123c7b198a [winpr,library] add RUNTIME_OUTPUT_DIRECTORY
windows uses this property instead of LIBRARY_OUTPUT_DIRECTORY to place
the dll
2025-02-10 09:31:35 +01:00
akallabeth
403e3e6241 [winpr,library] fix test dependencies 2025-02-10 09:31:32 +01:00
akallabeth
2be7e3ddcf [winpr,library] improve unit test debug output 2025-02-10 09:31:30 +01:00
akallabeth
1ea2edca0b start 3.11.2-dev0 cycle 2025-02-07 13:38:22 +01:00
akallabeth
7ea8c274c9 release 3.11.1 2025-02-07 13:37:45 +01:00
akallabeth
b6ed8c9d93 [winpr,sspi[ fix PTH sspi_FreeAuthIdentity
fix memset of password, adjust length in case PTH was used.
2025-02-07 08:55:13 +01:00
akallabeth
e0f95358c1 [winpr,smartcard] set reader icon length to 0 2025-02-06 21:38:39 +01:00
akallabeth
3b9c16fd2a start 3.11.1-dev0 cycle 2025-02-06 11:03:31 +01:00
akallabeth
4312666c8f release 3.11.0 2025-02-06 11:03:29 +01:00
akallabeth
44f5b6c409 [warnings] fix various clang warnings 2025-02-04 11:22:00 +01:00
akallabeth
94554fd3ca [winpr,input] fix japanese mapping
use japanese 109 layout instead of 106 layout
2025-01-19 11:16:44 +01:00
akallabeth
ea2022b76b [clang,tidy] fix warnings 2025-01-15 09:32:52 +01:00
akallabeth
87e6ceca98 Merge pull request #11083 from akallabeth/tz-bias-reset
[winpr,timezone] unify reset of Daylight/StandardBias
2025-01-14 22:52:26 +01:00
akallabeth
52708ad86d [winpr,timezone] unify reset of Daylight/StandardBias 2025-01-14 21:58:27 +01:00
akallabeth
df158b7e5c [winpr,timezone] fix dst bias 2025-01-14 19:57:54 +01:00
akallabeth
eac37a7c65 [winpr,timezone] restore TZ after decoding current time 2025-01-14 18:09:56 +01:00
akallabeth
5a45a8cad4 [winpr,timezone] unify TZ override and restore 2025-01-14 09:13:44 +01:00
akallabeth
41cedbcb7c [ci,coverity] simplify pragma 2025-01-13 13:32:35 +01:00
akallabeth
c8e1537ad3 [winpr,library] fix dead code 2025-01-13 10:18:23 +01:00
akallabeth
8202587953 [winpr,wlog] fix possible NULL dereference 2025-01-13 10:18:20 +01:00
akallabeth
de1e31c706 [winpr,wlog] fix a leak on WLog_New failing 2025-01-13 09:14:52 +01:00
akallabeth
140d9472aa Merge pull request #11045 from akallabeth/yuv-filter-fix
Yuv filter fix
2025-01-10 19:19:34 +01:00
akallabeth
c7c207b026 Websocket checks (#11059) 2025-01-10 10:53:27 +01:00
akallabeth
f22b4efb7c [winpr,sysinfo] include winnt.h
* PF_SSE4_1_INSTRUCTIONS_AVAILABLE et al are defined in winnt.h on
  windows / mingw. Include explicitly to fix a mingw build issue.
2025-01-09 23:41:37 +01:00
akallabeth
65ef3f81e2 [winpr,input] add missing WINPR_KBD_TYPE
add mapping for uncommon keyboard types as well.
2025-01-09 09:41:54 +01:00
David Fort
6cc8398a03 winpr: fix dependency in cmake generated file
When a static build was done uriparser was not taken as dependency.
2025-01-09 07:33:17 +01:00
akallabeth
19cc9ac670 [winpr,nt] fix argument of NtStatus2Tag
use NTSTATUS instead of UINT32 as argument type
2025-01-07 08:46:32 +01:00
akallabeth
1d4e9fc708 Merge pull request #10998 from akallabeth/winpr-implicit-fix
[warnings] fix integer casting in winpr
2025-01-04 09:58:43 +01:00
Pascal Nowack
dd75ea6a37 winpr/input: Add missing korean keyboard type
The keyboard types in 2.2.1.3.2 Client Core Data (TS_UD_CS_CORE)
([MS-RDPBCGR]) contain a korean keyboard type, which is not yet present
in WinPR. So, add it.
2025-01-03 13:28:44 +01:00
akallabeth
307bf48870 [warnings] fix integer casting in winpr
* use WINPR_ASSERTING_INT_CAST to detect overflows in sign or narrow
  integer casts
* replace defines with static variables
2025-01-03 10:08:57 +01:00
akallabeth
1644b96875 [winpr,ncrypt] fix convertKeyType
* use _wcsnlen
* fix inverted length check
2024-12-31 20:07:23 +01:00
akallabeth
d331f8eb3f [winpr,timezone] reset timezone with tzset
when iterating over timezones and reset to original call tzset again to
reflect that new old timezone setting
2024-12-20 11:18:46 +01:00
akallabeth
becc3403ab [winpr,sspi] fix krb5glue_verify_checksum_iov
use proper type for usage parameter
2024-12-20 10:48:51 +01:00
akallabeth
a8b05717bf [cmake] set SYSTEM for external includes
* add winpr_system_includ_directory_add macro for WinPR related external
  include directories
* set target property SYSTEM for SDL related targets
2024-12-18 20:41:59 +01:00
akallabeth
795914e50c [winpr,assert] always compile in assert helper 2024-12-18 14:12:10 +01:00
akallabeth
964063a369 [winpr,cast] split cast macros to header
* Simplify winpr/assert.h to have the least possible includes
* Move some definitions to winpr/platform.h
* Split and move cast macros to winpr/cast.h
* Add new cast macro for integer casts
2024-12-18 14:12:06 +01:00
akallabeth
e7af20a790 [dev] start 3.10.4-dev0 cycle 2024-12-17 10:06:39 +01:00
akallabeth
1f168a62db [release] 3.10.3 2024-12-17 10:06:36 +01:00
akallabeth
91ae892f91 [winpr,sysinfo] fix use of GetComputerNameExA
The buffer must be large enough to hold MAX_COMPUTERNAME_LENGTH
characters, so the buffer needs to be of size MAX_COMPUTERNAME_LENGTH +
1 or larger to hold the '\0' terminated string.
2024-12-16 17:11:54 +01:00
akallabeth
5b87fbb64a [dev] start 3.10.3-dev0 cycle 2024-12-16 14:22:39 +01:00
akallabeth
ea2a3ee1b6 [release] 3.10.2 2024-12-16 14:22:36 +01:00
akallabeth
ca899f4758 [dev] start 3.10.2-dev0 cycle 2024-12-15 19:48:05 +01:00
akallabeth
37bb4ac0ff [release] 3.10.1 2024-12-15 19:48:02 +01:00
akallabeth
e375556d07 [winpr,sysinfo] fix GetComputerNameA
* Trunctate to at most MAX_COMPUTERNAME_LENGTH characters
* Fix usage of function
2024-12-15 18:09:15 +01:00
akallabeth
43bfc74721 [cmake] install only header files
skip empty directories on install
2024-12-15 17:54:54 +01:00
akallabeth
9d367aaecb [winpr,library] fix GetModuleFileNameA
Properly implement the function for FreeBSD
2024-12-15 16:14:25 +01:00
akallabeth
aacb2dd10a [winpr,sspi] fix heimdal return compat 2024-12-14 00:15:54 +01:00