Commit Graph

4054 Commits

Author SHA1 Message Date
akallabeth
f11b343996 [winpr,comm] fix setting of SERIAL_EV_TXEMPTY 2025-03-06 15:30:28 +01:00
akallabeth
3186977e15 [cmake] Invert WITH_FREERDP_3x_DEPRECATED
API breaking change, with this logic the symbol needs to be manually
defined by an API user. So, to fix this:
* Rename to DROP_FREERDP_3x_DEPRECATED
* Invert logic, so a undefined value enables the symbols
2025-03-06 15:30:26 +01:00
akallabeth
c30fee9b78 start 3.13.1-dev0 cycle 2025-03-06 07:37:01 +01:00
akallabeth
544d586615 release 3.13.0 2025-03-06 07:36:59 +01:00
akallabeth
71bc44935a [winpr,bcrypt] declare WCHAR constants c99 compatible 2025-03-05 23:49:04 +01:00
akallabeth
42d210d133 [winpr,nt] Add FSInformationClass2Tag 2025-03-05 22:27:33 +01:00
Armin Novak
9f5a00edd8 [warnings] fix various warnings
* Log values ignored but with a defined value (previously unused)
* Fix missing define guards for deprected symbols in unit tests
2025-03-05 15:44:23 +01:00
Armin Novak
70c1750989 [winpr,comm] #ifdef comm ctl defines
Only add a comm ctl define to the switch if it is defined. Some defines
are platform specific, so only compile them when available.
2025-03-05 15:01:08 +01:00
akallabeth
d451be1358 Merge pull request #11253 from akallabeth/serial-term-fixes
Serial term fixes
2025-03-05 14:07:47 +01:00
akallabeth
7496f6e42c Merge pull request #11273 from akallabeth/cleanups
[client,x11] implement keyboard mapping
2025-03-05 14:07:12 +01:00
akallabeth
d765de8484 [warnings] eliminate dead code 2025-03-05 11:01:44 +01:00
akallabeth
61910ad0b5 [dead code] remove some unused code
also fix some parts no longer compiling after enabling it again
2025-03-04 17:24:13 +01:00
akallabeth
d03b4b91d5 [cmake,freerdp] add WITH_FREERDP_3x_DEPRECATED
This new CMake option (ON by default) allows building the library with
all symbols deprecated during 3.x release cycle disabled.
This allows compatibility testing external applications for future
FreeRDP 4.x support
2025-03-04 13:26:45 +01:00
akallabeth
1d68f50103 [winpr,wtsapi] improve test coverage 2025-03-04 12:42:43 +01:00
akallabeth
d99c4860fc [winpr,ntstatus] add HAVE_SORTED_STRUCT guard
NtStatus2Tag and Win32ErrorCode2Tag have an optimized implementation
that only works with sorted arrays. With this define the implementation
can be switched between optimized and generic.
2025-03-04 12:42:38 +01:00
akallabeth
41b0598fc1 [warnings] eliminate dead code 2025-03-04 09:57:46 +01:00
akallabeth
6d541c8691 [warnings] eliminate dead code 2025-03-04 09:53:05 +01:00
akallabeth
7406855337 Merge pull request #11262 from akallabeth/license-fix
Redirection && StreamPool usage fixes
2025-03-04 09:13:56 +01:00
akallabeth
ec030e8255 [winpr,stream] implement reference counting for streams 2025-02-27 20:30:25 +01:00
akallabeth
d4f7fb081b [warnings] fix -Wunused-function
* delete unused functions that are no longer required
* define guard functions only used while debugging
2025-02-27 19:29:46 +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
Armin Novak
8209466bb3 [ci] fix warnings detected 2025-02-26 16:42:09 +01:00
Armin Novak
828ecd9710 [winpr,comm] log serial status 2025-02-26 16:41:54 +01:00
Armin Novak
29841bef8e [winpr,comm] log call location of CommLog_Print
log the location where CommLog_Print was called instead of CommLog_Print
2025-02-26 15:53:28 +01:00
Armin Novak
d4cde0b8e0 [winpr,comm] fix serial port redirection
* Unify ioctl logging
* Fix device reset calls
* Unify TIOCGICOUNT calls, only use them if they are supported
* Fix XOn/XOff support
* Fix modem status flags
2025-02-26 15:53:28 +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
78851e929e [winpr,wlog] simplify WLog_* macros
Macro nesting did expose some compiler limitations with GCC 11.4.0, so
replace the macros with static inline functions where possible.
2025-02-24 22:00:39 +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
e259eee0df [macro] fix use of WINPR_DEPRECATED 2025-02-17 11:15:46 +01:00
akallabeth
f2fe5e5952 start 3.12.1-dev0 cycle 2025-02-14 09:49:49 +01:00
akallabeth
060e50d9ea release 3.12.0 2025-02-14 09:49:47 +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
Armin Novak
e89efdece9 [winpr] add WINPR_ATTR_UNUSED 2025-02-13 13:32:25 +01:00
akallabeth
a24ffe957c [cmake] make C and C++ standards configurable
use cache variables to allow overriding them from command line
2025-02-13 13:30:06 +01:00
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