Re: [Mingw-w64-public] [PATCH 2/2] crt: Add GetTempPath2 and AreShortNamesEnabled in kernel32.def

2023-07-26 Thread LIU Hao
在 2023-07-26 14:02, Biswapriyo Nath 写道: Signed-off-by: Biswapriyo Nath --- mingw-w64-crt/lib-common/kernel32.def.in | 3 +++ mingw-w64-crt/lib32/kernel32.def | 3 +++ 2 files changed, 6 insertions(+) Thanks for the patches. Pushed to master now. -- Best regards, LIU Hao

Re: [Mingw-w64-public] [PATCH 2/2] headers: Add newer symbols in ntioring_x.h

2023-07-27 Thread LIU Hao
在 2023-07-27 22:07, Biswapriyo Nath 写道: Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/ntioring_x.h | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) Thanks for these three patches. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature

Re: [Mingw-w64-public] [PATCH] headers: Add missing symbols in wlantypes.h

2023-07-31 Thread LIU Hao
/wlantypes.h | 58 +-- 1 file changed, 54 insertions(+), 4 deletions(-) Thanks for the patch. Looks good to me. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw

Re: [Mingw-w64-public] __cpuid and __cpuidex prototypes

2023-07-31 Thread LIU Hao
g it would have also been erroneously prototyped on ARM as __cpuid was). I think I should propose a patch to hide `__cpuid` for non-x86 targets. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mail

[Mingw-w64-public] [PATCH 2/2] headers/intrin: Redefine `__MACHINEX86X_NOIA64` as its name suggests

2023-07-31 Thread LIU Hao
-- Best regards, LIU Hao From 079a3d72fc121c5b4507daff24c48947825ea9ea Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Mon, 31 Jul 2023 22:46:46 +0800 Subject: [PATCH 2/2] headers/intrin: Redefine `__MACHINEX86X_NOIA64` as its name suggests The old condition is strictly equivalent to

[Mingw-w64-public] [PATCH 1/2] headers/intrin: Fix declarations for some x86-specific functions

2023-07-31 Thread LIU Hao
They shall not be visible when targeting ARM or AArch64. -- Best regards, LIU Hao From 2af6e122b7d66f10e69d262c2a7a5cb11c7587f2 Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Mon, 31 Jul 2023 22:42:46 +0800 Subject: [PATCH 1/2] headers/intrin: Fix declarations for some x86-specific functions

Re: [Mingw-w64-public] [PATCH 2/2] headers/intrin: Redefine `__MACHINEX86X_NOIA64` as its name suggests

2023-08-02 Thread LIU Hao
在 2023-08-02 16:15, Martin Storsjö 写道: LGTM Thanks. Pushed now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https

Re: [Mingw-w64-public] [PATCH 1/2] headers/intrin: Fix declarations for some x86-specific functions

2023-08-02 Thread LIU Hao
ad anyway, but since Windows 11 on ARM something similar has happened. It may be a good chance for us to update those macros to match what MSVC has; not just renaming `__MACHINEI` to `__MACHINEX86_X64`, but also removing Itanium macros. -- Best regards, LIU Hao OpenPGP_signature Description: OpenP

Re: [Mingw-w64-public] [PATCH] headers: Add more macros for wide-char APIs in _dbg_common.h

2023-08-06 Thread LIU Hao
../include/psdk_inc/_dbg_common.h| 135 +- 1 file changed, 98 insertions(+), 37 deletions(-) Thanks for the patch. Pushed now. I have noticed that `SymSrvGetFileIndexes` is not defined expectedly in Windows SDK. Maybe it has not been discovered for quite a few years;

Re: [Mingw-w64-public] [PATCH] headers: Make __MACHINEI a no-op on non-x86 architectures

2023-08-06 Thread LIU Hao
round of nightly testing of more projects as well. --- mingw-w64-headers/crt/intrin.h | 5 + 1 file changed, 5 insertions(+) This patch looks good to me. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___

Re: [Mingw-w64-public] [PATCH] headers: Add more macros for wide-char APIs in _dbg_common.h

2023-08-07 Thread LIU Hao
-- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH] headers: Add a missing 32 bit IMAGEHLP_LINEW

2023-08-07 Thread LIU Hao
1 file changed, 8 insertions(+) Looks good to me. Thanks. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https

Re: [Mingw-w64-public] [PATCH] propkeydef.h: Drop include once guards.

2023-08-08 Thread LIU Hao
macro. ---  mingw-w64-headers/include/propkeydef.h | 9 -  1 file changed, 9 deletions(-) Oh didn't know that. Thanks for the information. The patch looks good to me. Please go ahead and apply. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital sign

Re: [Mingw-w64-public] [PATCH] headers: Add missing symbols in werapi.h

2023-08-08 Thread LIU Hao
declared with the default CDECL calling convention, however I suspect those are incorrect? -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] [PATCH] headers: Add missing symbols in werapi.h

2023-08-08 Thread LIU Hao
t; with the x86 MSVC, calling this function ends up in unresolved symbols and adding `__stdcall` fix that. I mean that there don't seem to be such functions in 'wer.def' files. Maybe they should be updated as well? -- Best regards, LIU Hao OpenPGP_signature Des

Re: [Mingw-w64-public] [PATCH 3/3] crt: Add new APIs in wer library

2023-08-09 Thread LIU Hao
| 12 mingw-w64-crt/lib32/wer.def | 12 2 files changed, 24 insertions(+) Thanks for this series of patches. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH v2 2/2] headers: use inline version of RtlSecureZeroMemory for UCRT builds

2023-08-13 Thread LIU Hao
(and there's an ARM version) --- mingw-w64-headers/include/winnt.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) Thanks for the patch. Pushed now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature _

Re: [Mingw-w64-public] [PATCH v2 2/2] headers: use inline version of RtlSecureZeroMemory for UCRT builds

2023-08-13 Thread LIU Hao
(and there's an ARM version) --- mingw-w64-headers/include/winnt.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) Thanks for these patches. Pushed. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature _

Re: [Mingw-w64-public] [PATCH] headers: Add new symbols in windot11.h

2023-08-13 Thread LIU Hao
/windot11.h | 79 +--- 1 file changed, 72 insertions(+), 7 deletions(-) Thanks for this patch. Pushed too. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw

Re: [Mingw-w64-public] [PATCH 1/2] headers: Add new symbols in wlanapi.h

2023-08-18 Thread LIU Hao
K. [1] https://learn.microsoft.com/en-us/windows/win32/api/wlanapi/nf-wlanapi-wlanregisterdeviceservicenotification -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.source

Re: [Mingw-w64-public] [PATCH 2/2] headers: Add bluetoothleapis.h

2023-08-23 Thread LIU Hao
在 2023-08-21 22:54, Biswapriyo Nath 写道: Tested with https://code.qt.io/cgit/qt/qtwebengine-chromium.git/tree/chromium/device/bluetooth/bluetooth_low_energy_defs_win.h?id=2d71c20d894b2d19ecbbd6b54901eb00e130253d Thanks for these patches. Pushed now. -- Best regards, LIU Hao

Re: [Mingw-w64-public] [PATCH 2/2] headers: Add bluetooth error codes in winerror.h

2023-08-26 Thread LIU Hao
-headers/include/winerror.h | 19 +++ 1 file changed, 19 insertions(+) Thanks for these patches. Pushed now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64

Re: [Mingw-w64-public] [PATCH] headers: Add missing symbols in bthsdpdef.h

2023-08-27 Thread LIU Hao
fix a typo with _SDP_ELEMENT_DATA name Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/bthsdpdef.h | 31 +++ 1 file changed, 27 insertions(+), 4 deletions(-) Thanks for the patch. Pushed. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP

Re: [Mingw-w64-public] [PATCH] headers: Fix CREATE_VIRTUAL_DISK_PARAMETERS

2023-08-27 Thread LIU Hao
patch. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH] headers: Add more propkeys in functiondiscoverykeys_devpkey.h

2023-08-27 Thread LIU Hao
in this scope 710 | FAILED(properties->GetValue(PKEY_Device_InstanceId, | ^~ Signed-off-by: Biswapriyo Nath --- Thanks for the patch. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description: Op

Re: [Mingw-w64-public] [PATCH] headers: Add missing symbols in bthdef.h

2023-08-29 Thread LIU Hao
/bthdef.h | 162 +++-- 1 file changed, 156 insertions(+), 6 deletions(-) Thanks for the patch. Looks good to me. Pushed now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public

Re: [Mingw-w64-public] [PATCH 1/2] headers: Fix redefinition of DDPIXELFORMAT in ksmedia.h

2023-08-30 Thread LIU Hao
. ddraw.h:773:16: error: redefinition of 'struct _DDPIXELFORMAT' This patch seems to miss a similar hunk for ? -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-

Re: [Mingw-w64-public] [PATCH 1/2] headers: Fix redefinition of DDPIXELFORMAT in ksmedia.h

2023-08-30 Thread LIU Hao
regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH 1/2] tools: Remove the unused tool genlib

2023-08-31 Thread LIU Hao
). AFAICT Debian has it, although with a weird prefix (`mingw-genlib`). I agree that dlltool should be preferred, and I don't mind removing genlib. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-p

Re: [Mingw-w64-public] [PATCH] headers: Add CLSIDs in mfidl.idl

2023-09-01 Thread LIU Hao
/dxva_video_decode_accelerator_win.cc:1477:15: error: use of undeclared identifier 'CLSID_MSVPxDecoder' Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/mfidl.idl | 16 1 file changed, 16 insertions(+) Thanks for the patch. Pushed now. -- Best regards, LIU Hao OpenPGP

Re: [Mingw-w64-public] [PATCH 3/3] headers: Add new symbols in bluetoothapis.h

2023-09-03 Thread LIU Hao
/include/bluetoothapis.h | 43 +++ 1 file changed, 37 insertions(+), 6 deletions(-) Thanks for these patches. Pushed now. `BluetoothSdpGetString()` has an erroneous qualifier on `pStringData` but it matches Windows SDK anyway. -- Best regards, LIU Hao OpenPGP_signature

Re: [Mingw-w64-public] [PATCH] headers: Add missing crt stdio functions

2023-09-06 Thread LIU Hao
wscanf_s_l +#define _vstscanf_s vswscanf_s #define _sntscanf_s _snwscanf_s #define _sntscanf_s_l _snwscanf_s_l Those macros for narrow functions seem missing. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-

Re: [Mingw-w64-public] [PATCH] headers: Add missing crt stdio functions

2023-09-07 Thread LIU Hao
在 2023-09-07 13:16, Biswapriyo Nath 写道: Those macros for narrow functions seem missing. Thanks. Updated patch file is attached. Thanks. Pushed now, along with the cabinet thing. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH] headers: Define missing PHYSICAL_ADDRESS type in ntddser.h

2023-09-10 Thread LIU Hao
mingw-w64-headers/include/ntddser.h | 3 +++ 1 file changed, 3 insertions(+) Thanks. This patch looks good to me. Pushed now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing l

Re: [Mingw-w64-public] [PATCH] headers: Provide __cpuidex for Clang 17

2023-09-12 Thread LIU Hao
the version to 18 instead of removing the condition entirely. Relanding it is being discussed in https://reviews.llvm.org/D158348. Signed-off-by: Martin Storsjö --- mingw-w64-headers/include/psdk_inc/intrin-impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) LGTM. -- Best r

Re: [Mingw-w64-public] [PATCH] headers: Add missing symbols in wtsapi32.h

2023-09-12 Thread LIU Hao
for chromium Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/wtsapi32.h | 263 ++- 1 file changed, 254 insertions(+), 9 deletions(-) Thanks. This patch looks good to me. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description

Re: [Mingw-w64-public] [PATCH] headers: remove conflicting declarations in qos2.h

2023-09-13 Thread LIU Hao
with the file extension changed to `.txt`? Thanks. Sure. Here it is. Thanks for the patch. It looks good to me. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing

Re: [Mingw-w64-public] [PATCH] headers: add symbols in dinput.h

2023-09-15 Thread LIU Hao
these functions. diff --git a/mingw-w64-headers/include/dinput.h b/mingw-w64-headers/include/dinput.h ... +extern LPCDIDATAFORMAT WINAPI GetdfDIJoystick(); This has to be `GetdfDIJoystick(void);` which makes a difference when compiled as C. -- Best regards, LIU Hao OpenPGP_signature

Re: [Mingw-w64-public] [PATCH] headers: Sync d3d12.idl to the latest version from vkd3d

2023-09-15 Thread LIU Hao
for BOOL within cpp_quote, we remap to WINBOOL already in the idl file. The patch looks good to me. Please go ahead and apply. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mi

Re: [Mingw-w64-public] [PATCH] headers: add symbols in dinput.h

2023-09-15 Thread LIU Hao
n empty pair of parentheses indicate that the function takes unknown arguments. I suspect Windows SDK users are mostly C++ anyway, and there is no such difference in C++. It's just Microsoft aren't picky as such. -- Best regards, LIU Hao OpenPGP_signature Description:

Re: [Mingw-w64-public] [PATCH] add compatibility with C++ to HID headers

2023-09-16 Thread LIU Hao
在 2023-09-16 03:20, Oleg Tolmatcev 写道: Hello, this is needed by Cemu, it does not link otherwise. Thanks for the patch. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64

Re: [Mingw-w64-public] [PATCH] headers: Add missing symbols in portabledevicetypes.idl

2023-09-18 Thread LIU Hao
ow is this supposed to be used? We don't have stdole32 in the tree. -} \ No newline at end of file +} Also please retain a new line within every file, unless otherwise required. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP di

Re: [Mingw-w64-public] [PATCH] headers: Add missing symbols in portabledevicetypes.idl

2023-09-19 Thread LIU Hao
在 2023-09-18 23:38, Biswapriyo Nath 写道: Also please retain a new line within every file, unless otherwise required. The patch adds new line. New patch file attached. Thanks. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH] headers: Restore syncing d3d12.idl from Wine again

2023-09-21 Thread LIU Hao
(+) The change for 'wine-import.sh' looks good to me. Should we include 'd3d12.idl' as well? I think you may do a reimport after updating the script, and the IDL will be overwritten anyway. -- Best regards, LIU Hao OpenPGP_signature Description: OpenP

Re: [Mingw-w64-public] [PATCH] headers: Add portabledevice.h

2023-09-21 Thread LIU Hao
/portable_device_watcher_win.cc Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/portabledevice.h | 1011 1 file changed, 1011 insertions(+) create mode 100644 mingw-w64-headers/include/portabledevice.h Thanks for the patch. Pushed to master now. -- Best regards, LIU Hao

Re: [Mingw-w64-public] [PATCH] crt: add xaudio2_9.def

2023-09-21 Thread LIU Hao
mingw-w64-crt/lib-common/xaudio2_9.def create mode 100644 mingw-w64-crt/lib32/xaudio2_9.def Thanks for the patch. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list

Re: [Mingw-w64-public] [PATCH] headers: Add portabledeviceapi.idl

2023-09-22 Thread LIU Hao
patch. Pushed to master. There was a line of whitespace above `HRESULT GetServiceObjectID(` which I removed. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public

Re: [Mingw-w64-public] [PATCH] Explicit aggregate returns for new D2D methods

2023-09-23 Thread LIU Hao
--- mingw-w64-headers/include/d2d1_3.h | 9 + mingw-w64-headers/include/d2d1svg.h | 9 + 2 files changed, 18 insertions(+) Thanks for the patch. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH] headers: add SetupDiGetDeviceProperty in setupapi.h

2023-09-23 Thread LIU Hao
file changed, 4 insertions(+) Thanks for the patch. Pushed too. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net

Re: [Mingw-w64-public] [PATCH] headers: Add inputpaneinterop.idl

2023-09-23 Thread LIU Hao
patch. Pushed now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH] headers: add symbols in cfgmgr32.h

2023-09-24 Thread LIU Hao
ion(HCMNOTIFICATION NotifyContext); + +#endif // WINVER >= _WIN32_WINNT_WIN8 Mostly looks good. Next time please use C89-style comments in headers. Pushed to master with that amendment. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital sig

Re: [Mingw-w64-public] [PATCH] crt: Include more d3d11 and d3d12 headers in dxguid library

2023-09-29 Thread LIU Hao
-crt/libsrc/dxguid.c | 6 ++ 1 file changed, 6 insertions(+) Thanks for the patch. Pushed now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public

Re: [Mingw-w64-public] [PATCH 2/2] crt: Add an i686 version of api-ms-win-security-provider-ansi-l1-1-0.def

2023-09-29 Thread LIU Hao
-l1-1-0.def| 8 1 file changed, 8 insertions(+) create mode 100644 mingw-w64-crt/lib32/api-ms-win-security-provider-ansi-l1-1-0.def This patch looks good to me. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH] include/process: fix bare DllMain/_CRT_INIT signature

2023-09-29 Thread LIU Hao
for the patch. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH 1/2] crt: Add an i686 version of api-ms-win-core-registry-l2-1-0.def

2023-09-29 Thread LIU Hao
.def | 31 +++ 1 file changed, 31 insertions(+) create mode 100644 mingw-w64-crt/lib32/api-ms-win-core-registry-l2-1-0.def LGTM, too. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64

Re: [Mingw-w64-public] [PATCH] crt: Add uiautomationcore import library

2023-10-01 Thread LIU Hao
(+), 1 deletion(-) rename mingw-w64-crt/{libarm32 => lib-common}/uiautomationcore.def (93%) create mode 100644 mingw-w64-crt/lib32/uiautomationcore.def Thanks for the patch. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signat

Re: [Mingw-w64-public] Mingw-w64 add support for loongarch .

2023-10-02 Thread LIU Hao
the record, the response was https://gitlab.winehq.org/wine/wine/-/merge_requests/3997 : Alexandre Julliard @julliard There are many more places in widl that assume little-endian, so no, it wouldn't be very useful on a BE system. -- Best regards, LIU Hao OpenPGP_signature Descri

Re: [Mingw-w64-public] [PATCH] crt: Include more d2d1 headers in uuid library

2023-10-07 Thread LIU Hao
/uuid.c | 9 + 1 file changed, 9 insertions(+) Thanks for the patch. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public

Re: [Mingw-w64-public] [PATCH] headers: Add a new PF_* constant to winnt.h

2023-10-12 Thread LIU Hao
regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH] headers: add LPCWAVEFORMATEX in dsound.h

2023-10-12 Thread LIU Hao
-headers/include/dsound.h | 5 + 1 file changed, 5 insertions(+) Thanks for the patch. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public

Re: [Mingw-w64-public] [PATCH] headers: add ADDRINFOEX and LPLOOKUPSERVICE_COMPLETION_ROUTINE to ws2tcpip.h

2023-10-13 Thread LIU Hao
在 2023-10-13 04:19, Oleg Tolmatcev 写道: Hello, this is needed for pcsx2. Thanks for these patches. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64

Re: [Mingw-w64-public] [PATCH] headers: Add missing symbols in sspi.h

2023-10-15 Thread LIU Hao
: Biswapriyo Nath --- mingw-w64-headers/include/sspi.h | 16 1 file changed, 16 insertions(+) Thanks for the patch. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64

Re: [Mingw-w64-public] [PATCH] headers: Add missing symbols in ntsecapi.h

2023-10-16 Thread LIU Hao
/ntsecapi.h | 131 ++- 1 file changed, 126 insertions(+), 5 deletions(-) Thanks. This patch looks good to me. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw

Re: [Mingw-w64-public] [PATCH] Make winpthreads work on Win98

2023-10-22 Thread LIU Hao
h will not be accepted otherwise. BTW I am also curious: does the CRT work well for you? I thought the Windows 98 MSVCRT.DLL (?) would have lacked some symbols. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ M

Re: [Mingw-w64-public] [PATCH] Make winpthreads work on Win98

2023-10-23 Thread LIU Hao
patch adds something that we don't claim to support. Anyway I am not too against this patch if others agree. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Ming

Re: [Mingw-w64-public] [PATCH] Make winpthreads work on Win98

2023-10-23 Thread LIU Hao
uses this winpthreads module. Thanks for your opinions. I have pushed this patch to master now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge

Re: [Mingw-w64-public] [PATCH] winpthreads: change LoadLibrary calls to GetModuleHandle after cb7f42e.

2023-10-24 Thread LIU Hao
在 2023-10-24 22:20, Ozkan Sezer 写道: LoadLibrary needs cleaning after, and we do link to kernel32.dll anyway. This patch looks good to me. Please go ahead and apply. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH 6/8] crt: Move fabsf and nexttowardf to libmsvcr*.a for all archs, and to libucrt*.a for x86

2023-10-27 Thread LIU Hao
this series of patches look good to me. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64

Re: [Mingw-w64-public] [PATCH] winpthreads: change LoadLibrary calls to GetModuleHandle after cb7f42e.

2023-10-30 Thread LIU Hao
also note that clock.c also has a GetModuleHandle use which is not mine..) I'd rather check `_WIN32_WINNT` instead. Windows store apps require Windows 8 (10?) anyway and I hope we can get rid of these initialization-on-demand hacks there. -- Best regards, LIU Hao OpenPGP_signature Descr

Re: [Mingw-w64-public] [PATCH] winpthreads: change LoadLibrary calls to GetModuleHandle after cb7f42e.

2023-10-30 Thread LIU Hao
duleHandle()` itself. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH] winpthreads: change LoadLibrary calls to GetModuleHandle after cb7f42e.

2023-10-30 Thread LIU Hao
s.opengroup.org/onlinepubs/9699919799/functions/pthread_mutex_timedlock.html -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.source

Re: [Mingw-w64-public] [PATCH] winpthreads: change LoadLibrary calls to GetModuleHandle after cb7f42e.

2023-10-31 Thread LIU Hao
lback unconditionally. We also notice that `QueryPerformanceCounter()` is quite fast on modern Windows; the frequency is probably not but that variable isn't gonna change hence can be static anyway. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital

Re: [Mingw-w64-public] [PATCH] winpthreads: change LoadLibrary calls to GetModuleHandle after cb7f42e.

2023-10-31 Thread LIU Hao
d? -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH] crt: Revert to our implementation of scalbn/scalbnf and ldexp on UCRT

2023-10-31 Thread LIU Hao
anged, 5 insertions(+), 4 deletions(-) This patch looks good to me. Thanks. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourc

Re: [Mingw-w64-public] [PATCH] crt: Mark _tls_used as used for LTO

2023-10-31 Thread LIU Hao
thus apply the attribute directly. Signed-off-by: Martin Storsjö --- mingw-w64-crt/crt/tlssup.c | 1 + 1 file changed, 1 insertion(+) This patch looks good to me, too. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital sign

Re: [Mingw-w64-public] [PATCH] headers: Add new symbols in processthreadsapi.h

2023-11-02 Thread LIU Hao
--- mingw-w64-headers/include/processthreadsapi.h | 56 +-- 1 file changed, 52 insertions(+), 4 deletions(-) Thanks for the patch. Pushed now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature

Re: [Mingw-w64-public] Define __STDC_NO_THREADS__ if C11/C17 is not provided

2023-11-08 Thread LIU Hao
#endif ``` ISO C seems to require it to be a predefined macro without inclusion of any headers (6.10.8 1 Predefined macro names, N1570, ISO/IEC 9899:201x), but that will have to be done in the compiler and I don't think it has something to do with the compiler. -- Best regards, LIU Hao

Re: [Mingw-w64-public] Define __STDC_NO_THREADS__ if C11/C17 is not provided

2023-11-08 Thread LIU Hao
e found. Maybe you can use `__has_include()` to check existence of the header [2]. [1] https://gcc.godbolt.org/z/dxoTj3Eqr [2] https://gcc.gnu.org/onlinedocs/gcc-9.5.0/cpp/_005f_005fhas_005finclude.html -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature __

Re: [Mingw-w64-public] [PATCH] winpthreads: Check GetModuleHandle return value before calling GetProcAddress

2023-11-09 Thread LIU Hao
/winpthreads/src/clock.c  | 8 +--- mingw-w64-libraries/winpthreads/src/misc.c   | 4 +++- mingw-w64-libraries/winpthreads/src/thread.c | 6 -- 3 files changed, 12 insertions(+), 6 deletions(-) Ping This patch looks good to me. Sorry for overlooking. -- Best regards, LIU Hao OpenPGP_signature

Re: [Mingw-w64-public] Determine whether a mingw-w64 port of gcc is UCRT or MSVCRT

2023-11-10 Thread LIU Hao
e headers have been configured to use UCRT by default. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH 2/2] Update to latest config.guess and config.sub

2023-11-15 Thread LIU Hao
| 236 +- Those files are generated by autotools automatically. Are there any reasons why we should update them by hand? -- Best regards, LIU Hao OpenPGP_signature.asc Description: OpenPGP digital signature ___ Mingw-w64

Re: [Mingw-w64-public] [PATCH 2/2] Update to latest config.guess and config.sub

2023-11-15 Thread LIU Hao
n MSYS2 has the versions you've proposed. -- Best regards, LIU Hao OpenPGP_signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH 2/2] Update to latest config.guess and config.sub

2023-11-16 Thread LIU Hao
re commits solely for updating generated files. Usually not all files get updated, however they can be forced regenerated with `autoreconf -f`. Updated now [1]. [1] https://sourceforge.net/p/mingw-w64/mingw-w64/ci/b6de4ef -- Best regards, LIU Hao OpenPGP_signature.as

Re: [Mingw-w64-public] [PATCH 2/2] Update to latest config.guess and config.sub

2023-11-16 Thread LIU Hao
than 1.16.5 to regenerate configure? Granted, I've looked at the diff, and it does seem minor. I don't know; that was just `autoreconf` selected. I will take a look later today. -- Best regards, LIU Hao OpenPGP_signature.asc Description: OpenPGP digital

Re: [Mingw-w64-public] [PATCH] headers: cast fd to SOCKET in macros

2023-11-25 Thread LIU Hao
indows a socket is unsigned and on Linux it is signed and this is cross platform code. I don't think the patch is necessary. Windows socket handles are represented as `UINT_PTR` instead of plain `int`. On 64-bit Windows, storing a socket handle into `int` might cause truncation and is

Re: [Mingw-w64-public] [PATCH] headers: cast fd to SOCKET in macros

2023-11-25 Thread LIU Hao
在 2023/11/25 15:59, LIU Hao 写道: I don't think the patch is necessary. Windows socket handles are represented as `UINT_PTR` instead of plain `int`. On 64-bit Windows, storing a socket handle into `int` might cause truncation and is not safe. Also, please read this reply: https://githu

Re: [Mingw-w64-public] [PATCH 2/2] Update to latest config.guess and config.sub

2023-11-27 Thread LIU Hao
ts, but I believed those should be safe. -- Best regards, LIU Hao OpenPGP_signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH] headers: include some IEC61937 GUID

2023-11-29 Thread LIU Hao
n apparent oversight; it should be `WAVE_FORMAT_DTS`. Thanks for the patches. Amended and pushed to master now. -- Best regards, LIU Hao OpenPGP_signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-

Re: [Mingw-w64-public] [PATCH 04/18] winpthreads: Format error string with snprintf

2023-11-29 Thread LIU Hao
Best regards, LIU Hao OpenPGP_signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH 14/18] winpthreads: AC_PROG_RANLIB is obsoleted by LT_INIT

2023-11-30 Thread LIU Hao
s. Changes to generated files can't be reviewed or cherry-picked; and they may be overwritten anyway. So there is no necessity to include them. They will be committed separately. -- Best regards, LIU Hao OpenPGP_signature.asc Description: OpenP

[Mingw-w64-public] [PATCH] headers/ksmedia: Tiny fixes to match Windows SDK

2023-12-01 Thread LIU Hao
MMREG`, from `STATIC_KSDATAFORMAT_SUBTYPE_IEEE_FLOAT` to `STATIC_KSDATAFORMAT_SUBTYPE_MPEG`. So probably those new GUIDs should have been defined outside that block. -- Best regards, LIU Hao From 7f54c78e35c2056a6d972261d70e8ba8fbf1191a Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Sat, 2 Dec 2

Re: [Mingw-w64-public] [PATCH] headers/ksmedia: Tiny fixes to match Windows SDK

2023-12-03 Thread LIU Hao
在 2023/12/3 18:43, Martin Storsjö 写道: LGTM Thanks. Pushed now. -- Best regards, LIU Hao OpenPGP_signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https

Re: [Mingw-w64-public] [PATCH] crt: Provide dhcpcsvc6 for arm64 too

2023-12-04 Thread LIU Hao
29 deletions(-) rename mingw-w64-crt/{lib64 => lib-common}/dhcpcsvc6.def (100%) delete mode 100644 mingw-w64-crt/libarm32/dhcpcsvc6.def This patch looks good to me. -- Best regards, LIU Hao OpenPGP_signature.asc Description: OpenPGP digital sig

Re: [Mingw-w64-public] [PATCH] crt: Provide dhcpcsvc6 for arm64 too

2023-12-04 Thread LIU Hao
29 deletions(-) rename mingw-w64-crt/{lib64 => lib-common}/dhcpcsvc6.def (100%) delete mode 100644 mingw-w64-crt/libarm32/dhcpcsvc6.def This patch looks good to me. Send again as I just noticed I had used another account. -- Best regards, LIU Hao OpenPGP_signature.asc Description: O

Re: [Mingw-w64-public] [PATCH] crt: Fix Makefile.am error introduced in efb61884c4

2023-12-12 Thread LIU Hao
在 2023/12/12 9:30, Mark Harmstone 写道: Signed-off-by: Mark Harmstone --- mingw-w64-crt/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Many thanks for these patches. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature.asc Description: OpenPGP digital

Re: [Mingw-w64-public] [PATCH 2/2] crt: Replace some IDs with header files in strmiids library

2023-12-16 Thread LIU Hao
n behind that? -- Best regards, LIU Hao OpenPGP_signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH 2/2] crt: Replace some IDs with header files in strmiids library

2023-12-16 Thread LIU Hao
在 2023/12/16 22:03, Biswapriyo Nath 写道: I shall include the uuids.h and remove the duplicates in strmiids.h. That would be similar as wine/libs/strmiids/strmiids.c. Latest patch file is attached. Thanks for the update. Pushed now. -- Best regards, LIU Hao OpenPGP_signature.asc

Re: [Mingw-w64-public] [PATCH 2/2] crt: Replace some IDs with header files in strmiids library

2023-12-16 Thread LIU Hao
在 2023/12/16 22:33, LIU Hao 写道: 在 2023/12/16 22:03, Biswapriyo Nath 写道: I shall include the uuids.h and remove the duplicates in strmiids.h. That would be similar as wine/libs/strmiids/strmiids.c. Latest patch file is attached. Thanks for the update. Pushed now. BTW, I have noticed that

Re: [Mingw-w64-public] [PATCH] headers: move PPROC_THREAD_ATTRIBUTE_LIST in PARTITION_APP

2023-12-18 Thread LIU Hao
gards, LIU Hao OpenPGP_signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH] headers: Add the returns_twice attribute on the RtlCaptureContext function

2023-12-21 Thread LIU Hao
to me. -- Best regards, LIU Hao OpenPGP_signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

<    1   2   3   4   5   6   7   8   9   10   >