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] headers: Add missing symbols in sspi.h

2023-10-15 Thread LIU Hao
-by: 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 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 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 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] 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] Mingw-w64 add support for loongarch .

2023-10-02 Thread LIU Hao
For 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 Description

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] [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] include/process: fix bare DllMain/_CRT_INIT signature

2023-09-29 Thread LIU Hao
or 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 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] 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] 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] headers: Add inputpaneinterop.idl

2023-09-23 Thread LIU Hao
for the 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 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] 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 portabledeviceapi.idl

2023-09-22 Thread LIU Hao
for the 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] 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 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] 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: OpenPGP digital signature

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: Add missing symbols in portabledevicetypes.idl

2023-09-18 Thread LIU Hao
t;); How 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 digital

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 symbols in dinput.h

2023-09-15 Thread LIU Hao
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: OpenPGP digital

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

2023-09-15 Thread LIU Hao
nly 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
for 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: remove conflicting declarations in qos2.h

2023-09-13 Thread LIU Hao
it 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 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: Provide __cpuidex for Clang 17

2023-09-12 Thread LIU Hao
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 regards, LIU Hao

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

2023-09-10 Thread LIU Hao
/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 list Mingw-w64-public

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: 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 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 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_signature

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-public

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] 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-w64-public

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] headers: Add more propkeys in functiondiscoverykeys_devpkey.h

2023-08-27 Thread LIU Hao
| 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: OpenPGP digital signat

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

2023-08-27 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] 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 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 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 1/2] headers: Add new symbols in wlanapi.h

2023-08-18 Thread LIU Hao
://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.sourceforge.net https

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 v2 2/2] headers: use inline version of RtlSecureZeroMemory for UCRT builds

2023-08-13 Thread LIU Hao
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 ___ Mingw-w64

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

2023-08-13 Thread LIU Hao
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 ___ Mingw-w64

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] 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 Description: OpenP

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

2023-08-08 Thread LIU Hao
to be 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] 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 signature

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] headers: Add more macros for wide-char APIs in _dbg_common.h

2023-08-07 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: Make __MACHINEI a no-op on non-x86 architectures

2023-08-06 Thread LIU Hao
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 ___ Mingw

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

2023-08-06 Thread LIU Hao
+- 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; it's not our fault anyway. -- Best regards, LIU

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

2023-08-02 Thread LIU Hao
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: OpenPGP digital signature

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

[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

[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

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

2023-07-31 Thread LIU Hao
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 mailing list Mingw-

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] [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 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] headers: Add options at the IPPROTO_TCP level in ws2ipdef.h

2023-07-25 Thread LIU Hao
(-) 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64

Re: [Mingw-w64-public] [PATCH 3/3] headers: Add some missing macros in qos2.h

2023-07-24 Thread LIU Hao
在 2023-07-23 21:32, Biswapriyo Nath 写道: Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/qos2.h | 5 + 1 file changed, 5 insertions(+) Thanks for these patches. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH 3/3] headers: Define D2D1FORCEINLINE where needed

2023-07-23 Thread LIU Hao
that the whole series is just plain wrong, I suggest to revert it all. OK, reverted now. As Firefox is mentioned, maybe someone can test building Firefox with 73526385645ffa35c03c0d473b7eac0e00d94541 and see. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH 3/3] headers: Define D2D1FORCEINLINE where needed

2023-07-23 Thread LIU Hao
is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature

Re: [Mingw-w64-public] gdtoa

2023-07-21 Thread LIU Hao
. There is a sentence about dtoa.c on netlib.org/fp: 'A paper is available at http://cm.bell-labs.com/cm/cs/doc/90/4-10.ps.gz.' But the link seems dead due to DNS errors. Is that still available? -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature

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

2023-07-20 Thread LIU Hao
://chromium.googlesource.com/chromium/chromium/+/HEAD/net/proxy/dhcpcsvc_init_win.cc Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/dhcpv6csdk.h | 61 +++--- 1 file changed, 55 insertions(+), 6 deletions(-) Thanks for the patch. Pushed now. -- Best regards, LIU

Re: [Mingw-w64-public] isfinite() is broken under quadmath

2023-07-19 Thread LIU Hao
libquadmath; but before that, we have to check for the availability of `__float128`, maybe by checking existence of `__SIZEOF_FLOAT128__`. Patches will be welcome. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH] headers: Add C11 variants of gmtime_s and localtime_s

2023-07-18 Thread LIU Hao
is conditional - might be classified as a breaking change). My conclusion is that this probably will not be accepted. -- 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 C11 variants of gmtime_s and localtime_s

2023-07-18 Thread LIU Hao
tuff piece by piece, expecting other people to test it in their projects which seems quite unlikely to me, and assuming it's free of bugs because nobody has reported any? That doesn't sound good. [1] https://learn.microsoft.com/en-us/cpp/c-runtime-library/compatibility?view=msvc-170 -- Best re

Re: [Mingw-w64-public] [PATCH] crt: Add noreturn attribute with _amsg_exit

2023-07-15 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] crt: Add noreturn attribute with _amsg_exit

2023-07-15 Thread LIU Hao
deletions(-) Maybe it's better to have `__MINGW_ATTRIB_NORETURN` instead of `__attribute__((__noreturn__))` here, just for consistency with the other declarations. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature

Re: [Mingw-w64-public] isfinite() is broken under quadmath

2023-07-14 Thread LIU Hao
call__main movdqu xmm0, XMMWORD PTR .LC0[rip] movups XMMWORD PTR -16[rbp], xmm0 ud2 <-- __builtin_trap() .seh_endproc .section .rdata,"dr" .align 16 ``` -- Best regards, LIU Hao Open

Re: [Mingw-w64-public] [PATCH] headers: Remove propkeydef.h and rpcsal.h from wine-import.sh

2023-07-12 Thread LIU Hao
in previous 3638d5e9a6f28354bc3e18f04ba0d97e2cc3b44c commit. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/wine-import.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Thanks for the patch. Pushed now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital

Re: [Mingw-w64-public] [PATCH] Permissively licensed reimplementation of rpcsal.h and propkeydef.h

2023-07-04 Thread LIU Hao
for the work. These patches look good to me. 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

Re: [Mingw-w64-public] [PATCH] headers: Add more symbols in dwmapi.h

2023-07-01 Thread LIU Hao
/dwmapi.h | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) Thanks for the patch. Looks good to me. Pushed now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing

Re: [Mingw-w64-public] [PATCH 3/3] headers: allow some winnls API's in 19H1 UWP builds

2023-06-27 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] crt: define L_tmpnam correctly for UCRT

2023-06-26 Thread LIU Hao
--- mingw-w64-headers/crt/stdio.h | 4 1 file changed, 4 insertions(+) Thanks for the patches. These match UCRT, so pushed to master now. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public

Re: [Mingw-w64-public] [PATCH v3] configure: Use ucrt for msvcrt by default.

2023-06-25 Thread LIU Hao
(-)  create mode 100644 mingw-w64-doc/howto-build/ucrt-vs-msvcrt.txt Provided there is no objection, I'm okay with this change. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw

Re: [Mingw-w64-public] [PATCH] Permissively licensed reimplementation of rpcsal.h and propkeydef.h

2023-06-25 Thread LIU Hao
++ comments to c89 comments (`/* ... */`)? In addition, I suggest you split this patch to two separated ones, the first of which deletes those headers, and the second adds fresh code back. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH v4 5/5] crt: use wincrypt API from windowsapp in Windows 10

2023-06-24 Thread LIU Hao
insertions(+), 17 deletions(-) Thanks for these patches. 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 4/5] headers: allow more wincrypt API's in Win10 19H1 UWP builds

2023-06-22 Thread LIU Hao
variant `CryptEnumProvidersA` but not others. -- 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

Re: [Mingw-w64-public] [PATCH] Fix reference counting bug in Microsoft::WRL::ComPtr::Attach

2023-06-17 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] .seh_handlerdata only works once in a function?

2023-06-15 Thread LIU Hao
and examine it in Memory Layout. -- 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] .seh_handlerdata only works once in a function?

2023-06-15 Thread LIU Hao
have checked binutils 2.38 manual and they are all absent) so maybe we should ask GNU AS developers about how to use them correctly. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list

Re: [Mingw-w64-public] .seh_handlerdata only works once in a function?

2023-06-15 Thread LIU Hao
.seh_handlerdata emitting You may take outputs of MSVC as a reference [1]. Although x86 and x86_64 SEH constructions are very different, it looks to me that, in both cases, multiple `__try` blocks are encoded in a single table. [1] https://gcc.godbolt.org/z/fnej7f3P1 -- Best regards, LIU Hao

Re: [Mingw-w64-public] [PATCH] headers: allow FORMAT_MESSAGE_ALLOCATE_BUFFER in UWP

2023-06-14 Thread LIU Hao
在 2023/6/14 15:59, Steve Lhomme 写道: FormatMessageA/W are allowed, so the flag should be allowed too. --- mingw-w64-headers/include/winbase.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Thanks for the patch. Pushed to master now. -- Best regards, LIU Hao OpenPGP_signature

Re: [Mingw-w64-public] [PATCH] configure: Use ucrt for msvcrt by default.

2023-06-11 Thread LIU Hao
and MSCR90.DLL around, and even GCC did introduce many historical ABI breaks [1]. Maybe it's something more common than not. [1] https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wabi -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH] headers: restrict winscard to Desktop builds

2023-06-08 Thread LIU Hao
在 2023-06-08 14:48, Steve Lhomme 写道: It's not allowed in UWP. --- mingw-w64-headers/include/winscard.h | 5 + 1 file changed, 5 insertions(+) Thanks. Pushed to master, along with others except the CRT one. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital

Re: [Mingw-w64-public] [PATCH] Define FLS_MAXIMUM_AVAILABLE as 4080 for WIN10_19H1

2023-06-08 Thread LIU Hao
在 2023-06-07 23:11, Luca Bacci 写道: Yes, looks good! 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] configure: Use ucrt for msvcrt by default.

2023-06-07 Thread LIU Hao
/7e8bcdc43c8b68dd25d39e583cb41dc21a0d6c22/build-mingw-w64.sh#L20 -- 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

Re: [Mingw-w64-public] [PATCH] Define FLS_MAXIMUM_AVAILABLE as 4080 for WIN10_19H1

2023-06-07 Thread LIU Hao
by `TlsAlloc()`. The number of guaranteed TLS slots is a bit fewer than that. Anyway, does the attached patch look good to you? -- Best regards, LIU Hao From de676492b9e099956d12c3b2fea3b50c63dc30ae Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Wed, 7 Jun 2023 22:59:02 +0800 Subject: [PATCH] crt

Re: [Mingw-w64-public] [PATCH 2/2] headers: Allow SetDllDirectoryW/A API in Win10 19H1 UWP builds

2023-06-07 Thread LIU Hao
/winbase.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: Add wia.idl

2023-06-07 Thread LIU Hao
', instead of importing 'wia_lh.idl' and 'wia_xp.idl' from Wine? -- 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] crt: Add a missing dependency for libmincore.a

2023-06-07 Thread LIU Hao
(+) LGTM. Thanks. -- 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] Define FLS_MAXIMUM_AVAILABLE as 4080 for WIN10_19H1

2023-06-07 Thread LIU Hao
cro is supposed to be useful? It's undocumented and unreferenced by any public headers. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net ht

Re: [Mingw-w64-public] [RFC] Make Windows 10 DLLs closer to documentation

2023-06-07 Thread LIU Hao
such differences, or are they intentional? -- 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] [RFC] Make Windows 10 DLLs closer to documentation

2023-06-07 Thread LIU Hao
ion' might not even make much sense if something gets removed, and as a result there could have to be a 'maximum allowed version'. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list

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