akallabeth
ec030e8255
[winpr,stream] implement reference counting for streams
2025-02-27 20:30:25 +01:00
akallabeth
5b9a1b5b1f
[winpr,clipboard] define guard DIBv5 support
2025-02-27 08:33:39 +01:00
akallabeth
e184536083
[winpr,crypto] refactor winpr_Digest_Init_Allow_FIPS
...
eliminate dead code warnings
2025-02-27 08:30:52 +01:00
akallabeth
5732277c09
[winpr,clipboard] add warnings for missing implementation
...
warn if image conversion routines are called with formats not yet
implemented
2025-02-27 06:15:01 +01:00
akallabeth
a520f845a3
[warnings] fix -Wunused-macro
...
comment or delete macros that were not used.
2025-02-26 22:12:18 +01:00
Raphael ZHOU
e2af30739b
[shadow,kerberos] Fix Shadow crashing when calling krb5_get_init_creds_keytab if no suitable entry is found in keytab.
2025-02-26 18:53:10 +01:00
KarelChanivecky
b16a23c2bc
Fix WINPR_JSON_AddItemToArray compatibility with cJSON < 1.7.13
...
Modified the WINPR_JSON_AddItemToArray function to not expect a return value from cJSON_AddItemToArray. WINPR_JSON_AddItemToArray failure is given by the same conditions that cause add_item_to_array. add_item_to_array is a private cJSON function called by cJSON_AddItemToArray. The logic analysis is based on cJSON 1.7.12, which is the last release before cJSON_AddItemToArray's signature changed to include a bool return. See https://github.com/DaveGamble/cJSON/blob/v1.7.12/cJSON.c line: 1848.
2025-02-26 13:42:10 +01:00
akallabeth
12764b1ebe
[warnings,android] fix build warnings
2025-02-22 15:22:01 +01:00
akallabeth
af81c0bd44
Merge pull request #11220 from akallabeth/cursor-test
...
Cursor test and fixes
2025-02-21 12:17:23 +01:00
akallabeth
f5f499331d
[winpr,sysinfo] fix IsProcessorFeaturePresent
...
handle flags not supported by a CPU architecture without any log message
2025-02-21 11:21:46 +01:00
akallabeth
5707e43396
[winpr,utils] warn if image format is used but not build in
2025-02-20 11:45:38 +01:00
akallabeth
ffa28414ef
[winpr,thread] remove wrong log message
2025-02-14 09:49:43 +01:00
akallabeth
95b5d7f640
[winpr,sysinfo] add NEON check to IsProcessorFeaturePresent
2025-02-14 09:49:40 +01:00
akallabeth
76c2944d99
[winpr,warnings] fix -Wunused-parameter
2025-02-13 15:53:51 +01:00
Armin Novak
f53cd51517
[winpr,path] fix missing includes
2025-02-13 14:43:28 +01:00
akallabeth
85441e4d32
[winpr,image] fix missing check for 0 allocation
2025-02-13 14:43:25 +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
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
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
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
c7c207b026
Websocket checks ( #11059 )
2025-01-10 10:53:27 +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
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
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
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
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
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
akallabeth
a1d14e7084
[winpr,file] silence false stream leak
2024-12-10 18:07:16 +01:00
akallabeth
a3db26c57a
[warnings] fix cast warnings
2024-12-10 17:26:37 +01:00