Re: [Mingw-w64-public] [PATCH] shobjidl.idl: added definition for FOS_SUPPORTSTREAMABLEITEMS to FILEOPENDIALOGOPTIONS enum

2019-07-31 Thread JonY via Mingw-w64-public
On 7/31/19 7:18 PM, Richard Pospesel wrote: > Signed-off-by: Richard Pospesel > --- > mingw-w64-headers/include/shobjidl.h | 8 +--- > mingw-w64-headers/include/shobjidl.idl | 3 ++- > 2 files changed, 7 insertions(+), 4 deletions(-) > > diff --git a/mingw-w64-headers/include/shobjidl.h

Re: [Mingw-w64-public] [PATCH] Fix building runtime for Cygwin

2019-07-18 Thread JonY via Mingw-w64-public
On 7/18/19 11:21 AM, Alexey Pavlov wrote: > JonY, can you push it? > Forgot to mention that I have already pushed to master. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-

Re: [Mingw-w64-public] [PATCH] Fix building runtime for Cygwin

2019-07-17 Thread JonY via Mingw-w64-public
On 7/17/19 8:24 PM, Alexey Pavlov wrote: >>From 045b8d3925b22dbac648cf7db552b57df4f1f295 Mon Sep 17 00:00:00 2001 Patch looks OK. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list

Re: [Mingw-w64-public] [PATCH] include: Add hvsocket file

2019-07-05 Thread JonY via Mingw-w64-public
On 7/5/19 5:05 PM, Biswapriyo Nath wrote: > ... > Patch looks OK. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] [PATCH] crt/iphlpapi: Update library

2019-06-27 Thread JonY via Mingw-w64-public
On 6/27/19 7:57 PM, Biswapriyo Nath wrote: > ... > Patch looks good. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] [PATCH] crt: Update wininet library

2019-06-26 Thread JonY via Mingw-w64-public
On 6/26/19 3:29 AM, Biswapriyo Nath wrote: > Those are also present in the lib-common one. Should I remove them from > both file? > > On Wednesday, June 26, 2019, JonY via Mingw-w64-public < > mingw-w64-public@lists.sourceforge.net> wrote: >> On 6/25/19 4:3

Re: [Mingw-w64-public] [PATCH] crt: Update wininet library

2019-06-25 Thread JonY via Mingw-w64-public
On 6/25/19 4:36 PM, Biswapriyo Nath wrote: > +ord_120@16 @120 > +ord_121@16 @121 > +ord_122@4 @122 > +ord_123@4 @123 Please remove these. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list

Re: [Mingw-w64-public] [PATCH] crt: Update ntdll library

2019-06-13 Thread JonY via Mingw-w64-public
On 6/13/19 6:13 AM, Biswapriyo Nath wrote: > ... > > Looks good to me. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] [PATCH] crt: Update winhttp library

2019-06-08 Thread JonY via Mingw-w64-public
On 6/8/19 12:03 PM, Biswapriyo Nath wrote: > ... > Patch looks OK. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

[Mingw-w64-public] Recent merge entries in git

2019-06-03 Thread JonY via Mingw-w64-public
I see 2 recent merge entries in git, but without any clear descriptions. Should these be rewritten and linearized? signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] [PATCH] Fix potential deadlock in pthread condition variable

2019-04-12 Thread JonY via Mingw-w64-public
On 4/12/19 1:49 AM, Andrew Ng wrote: > I have attached a minimal patch that fixes the deadlock issue. > > The principle change to avoid deadlock, is to not wait whilst holding the > "waiters count lock". Because of this change to the locking, there is an > additional case required in the "signal"

Re: [Mingw-w64-public] [PATCH] include/npapi.h: Update npapi header file

2019-03-14 Thread JonY via Mingw-w64-public
On 3/14/19 6:44 AM, Biswapriyo Nath wrote: > Here it is. > Patch looks OK. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] [PATCH] include/npapi.h: Update npapi header file

2019-03-13 Thread JonY via Mingw-w64-public
On 3/13/19 8:44 PM, Biswapriyo Nath wrote: > These functions are exported from p9np.dll. Windows SDK does NOT have any > export library for it. Should I add a export libray for it? > > Thank you <3 > > Please split cosmetic and functional changes into separate patches. The export library can

Re: [Mingw-w64-public] [PATCH] Add Microsoft OLE DB driver for SQL server

2019-03-09 Thread JonY via Mingw-w64-public
On 3/9/19 6:35 PM, Ruslan Garipov wrote: >> please do not include the diff of generated files > > Before I had changed 'mingw-w64-crt/Makefile.in' I thought > 'mingw-w64-crt/configure' + automake regenerate the .in file from > the updated .am ones. But I was wrong (well, I ain't an automake >

Re: [Mingw-w64-public] [PATCH] Remove support for --disable-secure-api.

2019-02-28 Thread JonY via Mingw-w64-public
On 2/28/19 8:23 PM, Martin Storsjö wrote: > On Thu, 28 Feb 2019, Liu Hao wrote: > >> 在 2019/2/28 22:57, Jacek Caban 写道: >>> It could be useful a long time ago for avoiding using APIs that were new >>> and not always present back then. Also, back then, most compatibility >>> functions that we have

Re: [Mingw-w64-public] [PATCH] Update Kernel32 and KernelBase export definition

2019-02-22 Thread JonY via Mingw-w64-public
On 2/22/19 4:12 PM, Biswapriyo Nath wrote: > ... > Patch looks OK. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] Broken FreeAddrInfoEx in ws2tcpip.h

2019-02-18 Thread JonY via Mingw-w64-public
On 2/18/19 12:52 PM, Liu Hao wrote: > 在 2019/2/11 下午6:34, Liu Hao 写道: >> 在 2019/2/8 19:59, Liu Hao 写道: >>> 在 2019/2/8 上午4:41, LRN 写道: ws2tcpip.h declares: WINSOCK_API_LINKAGE void WSAAPI FreeAddrInfoExA(PADDRINFOEXA pAddrInfo); WINSOCK_API_LINKAGE void WSAAPI

Re: [Mingw-w64-public] [PATCH] headers: Update d2d1.h enums with missing members.

2019-01-27 Thread JonY via Mingw-w64-public
On 1/27/19 4:16 PM, Nikolay Sivov wrote: > --- > Please split functionality and styling changes into separate patches, and explain why the _StructName variants are removed. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public

Re: [Mingw-w64-public] [v3 PATCH] headers: Make dwrite_1.h C friendly.

2019-01-25 Thread JonY via Mingw-w64-public
On 1/25/19 2:41 PM, Nikolay Sivov wrote: > --- Patch looks OK, pushed to master. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] [v2 PATCH] headers: Make dwrite_1.h C friendly.

2019-01-25 Thread JonY via Mingw-w64-public
On 1/25/19 12:27 PM, Nikolay Sivov wrote: > v2: added separate definition for C > No need to repeat the members, you should be able to do something like: struct DWRITE_FONT_METRICS1 #ifdef __cplusplus : public DWRITE_FONT_METRICS #endif { #ifndef __cplusplus UINT16 designUnitsPerEm;

Re: [Mingw-w64-public] [PATCH] headers: Make dwrite_1.h C friendly.

2019-01-24 Thread JonY via Mingw-w64-public
On 1/24/19 10:27 PM, Nikolay Sivov wrote: > --- > Shouldn't there be an ifdef for C++/C case? So that the C++ compiler is aware of the inheritance? signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list

Re: [Mingw-w64-public] [PATCH] headers: Remove C-compatibility parts from dwrite_2.h.

2019-01-16 Thread JonY via Mingw-w64-public
On 1/16/19 11:46 AM, Nikolay Sivov wrote: > On Wed, Jan 16, 2019 at 2:42 PM JonY via Mingw-w64-public < > mingw-w64-public@lists.sourceforge.net> wrote: > >> On 1/16/19 7:18 AM, Nikolay Sivov wrote: >>> I don't see a reason in keeping this compatibility code, I

Re: [Mingw-w64-public] [PATCH] headers: Remove C-compatibility parts from dwrite_2.h.

2019-01-16 Thread JonY via Mingw-w64-public
On 1/16/19 7:18 AM, Nikolay Sivov wrote: > I don't see a reason in keeping this compatibility code, It already won't > work for C because of IDWriteFactory2 overloaded methods. Another reason > is DWRITE_FONT_METRICS1 definition from dwrite_1.h, included from > dwrite_2.h, which is also

Re: [Mingw-w64-public] [PATCH] headers: ncrypt is available for UWP

2019-01-11 Thread JonY via Mingw-w64-public
On 1/11/19 1:39 PM, Hugo Beauzée-Luyssen wrote: > On Fri, Dec 14, 2018, at 3:23 PM, Hugo Beauzée-Luyssen wrote: >> --- >> mingw-w64-headers/include/ncrypt.h | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/mingw-w64-headers/include/ncrypt.h b/mingw-w64-headers/ >>

Re: [Mingw-w64-public] [PATCH] Add __mingw_access() that works the same for all msvcr*/ucrt libs

2019-01-07 Thread JonY via Mingw-w64-public
On 1/7/19 5:50 PM, Mateusz wrote: > Old versions of MSVCRT _access() just ignored X_OK, while the > version shipped with Vista, returns an error code. > _access() from msvcr110/120 returns an error code for nul file. > > Signed-off-by: Mateusz Brzostek Patch looks OK. signature.asc

Re: [Mingw-w64-public] [PATCH] Add _ftime aliases for all msvcr versions

2019-01-02 Thread JonY via Mingw-w64-public
On 1/2/19 1:10 PM, Johannes Pfau wrote: > Hello all, > > I'm currently adding (some basic) MinGW support to the D code which > was recently merged into GCC9. The D runtime library already has full > windows support, developed by DMD and LLVM D compiler devs. However, > this needs MSVC runtime

Re: [Mingw-w64-public] MSVC returns aggregate types of up to 8 bytes via EAX register

2018-12-20 Thread JonY via Mingw-w64-public
On 12/20/18 6:38 PM, Mateusz wrote: > Hello, > > In gcc 9.0 r266355 there was change in ABI for mingw-w64 (64-bit) target -- > "Return AX_REG instead of FIRST_SSE_REG for 4 or 8 byte modes". It is wrong > -- now function return double in rax instead of xmm0 register. This patch > shows how to

Re: [Mingw-w64-public] [PATCH] winstorecompat: Add RtlRestoreContext stub

2018-12-12 Thread JonY via Mingw-w64-public
On 12/12/18 1:41 PM, Hugo Beauzée-Luyssen wrote: > --- > .../winstorecompat/Makefile.am| 1 + > .../winstorecompat/src/RtlRestoreContext.c| 42 +++ > 2 files changed, 43 insertions(+) > create mode 100644

Re: [Mingw-w64-public] [PATCH] Always define __USE_MINGW_ANSI_STDIO as 0 or 1 in _mingw.h

2018-11-02 Thread JonY via Mingw-w64-public
On 11/02/2018 08:28 PM, Mateusz wrote: > W dniu 01.11.2018 o 14:16, JonY pisze: >> On 11/01/2018 01:52 AM, Mateusz wrote: >>> During discussion about inttypes I realized that we check (in header files) >>> if >>> __USE_MINGW_ANSI_STDIO is active in

Re: [Mingw-w64-public] [PATCH] winternl.h: Added PUBLIC_OBJECT_TYPE_INFORMATION declaration.

2018-11-01 Thread JonY via Mingw-w64-public
On 11/01/2018 12:13 PM, Jacek Caban wrote: > Signed-off-by: Jacek Caban > --- > mingw-w64-headers/include/winternl.h | 5 + > 1 file changed, 5 insertions(+) > Patch looks good to me, resent (last email went out with the wrong address). signature.asc Description: OpenPGP digital

Re: [Mingw-w64-public] [PATCH] Always define __USE_MINGW_ANSI_STDIO as 0 or 1 in _mingw.h

2018-11-01 Thread JonY via Mingw-w64-public
On 11/01/2018 01:52 AM, Mateusz wrote: > During discussion about inttypes I realized that we check (in header files) if > __USE_MINGW_ANSI_STDIO is active in non consistent way: > #if defined(__USE_MINGW_ANSI_STDIO) && ((__USE_MINGW_ANSI_STDIO + 0) != 0) > #elif defined(__USE_MINGW_ANSI_STDIO) >

Re: [Mingw-w64-public] [PATCH] winternl.h: Added PUBLIC_OBJECT_TYPE_INFORMATION declaration.

2018-11-01 Thread JonY
On 11/01/2018 12:13 PM, Jacek Caban wrote: > Signed-off-by: Jacek Caban > --- > mingw-w64-headers/include/winternl.h | 5 + > 1 file changed, 5 insertions(+) > Patch looks good to me. signature.asc Description: OpenPGP digital signature ___

Re: [Mingw-w64-public] [patch] fix redefinition of _InterlockedAdd64 from wdm.h

2018-10-30 Thread JonY via Mingw-w64-public
On 10/30/2018 11:41 AM, Olivier Hainque wrote: > Hello any opinion on the patch proposal at > https://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/5116B7E0-7165-45FB-A87C-F68E9F25F45F%40adacore.com/#msg36444683 > ? > > Patch and tentative rationale recalled below. > > Thanks in

Re: [Mingw-w64-public] [PATCH] make winpthreads compatible with libcxx __attribute__((__require_constant_initialization__))

2018-10-25 Thread JonY via Mingw-w64-public
On 10/25/2018 07:36 AM, Liu Hao wrote: > 在 2018/10/25 下午3:06, Peiyuan Song 写道: >> From: SquallATF >> >> Signed-off-by: SquallATF >> --- >> .../winpthreads/include/pthread.h | 42 +- >> mingw-w64-libraries/winpthreads/src/cond.c| 56 +- >>

Re: [Mingw-w64-public] [PATCH] include/wincon.h: Add new console mode flags.

2018-09-28 Thread JonY via Mingw-w64-public
On 09/27/2018 03:52 PM, Liu Hao wrote: > 在 2018/9/27 23:33, Biswapriyo Nath 写道: >> When I complie with mingw-w64 toolchain in msys2, gcc shows the console >> modes are not present (for example ENABLE_VIRTUAL_TERMINAL_INPUT and >> DISABLEFNEWLINE_AUTO_RETURN). >> > > The patch attached should

[Mingw-w64-public] Announcing v6.0.0

2018-09-16 Thread JonY via Mingw-w64-public
v6.0.0 is now released! Notable changes: * C++ __cxa_atexit thanks to Martin Storsjö and Liu Hao * Massive additions to support UCRT thanks to Martin Storsjö * Sync COM interface headers with Wine development thanks to Jacek Caban * WinRT additions thanks to Hugo Beauzée-Luyssen * ARM32 and

Re: [Mingw-w64-public] [PATCH] winternl.h: Fix _PEB declaration.

2018-08-30 Thread JonY via Mingw-w64-public
On 08/30/2018 11:26 AM, Jacek Caban wrote: > Signed-off-by: Jacek Caban > --- > mingw-w64-headers/include/winternl.h | 15 +++ > 1 file changed, 11 insertions(+), 4 deletions(-) > Patch looks good to me. signature.asc Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH] Add interfaces frm evr header to libamstrmid

2018-08-24 Thread JonY via Mingw-w64-public
On 08/24/2018 08:05 PM, Alexey Pavlov wrote: > Can you explain it in your commit message why this change was done? Thanks. signature.asc Description: OpenPGP digital signature -- Check out the vibrant tech community on

Re: [Mingw-w64-public] [PATCH] Improve standard conformance and fixes for ddk/scsi.h

2018-08-16 Thread JonY via Mingw-w64-public
On 08/16/2018 07:48 PM, Matheus Izvekov wrote: > Hello, > > Just pinging to get a status on acceptance of those patches. > > Do you need anything else from me? > > Thanks. Thanks for the reminder, pushed to master and v5.x. signature.asc Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH 1/4] headers: Correct the parameter type to PGET_RUNTIME_FUNCTION_CALLBACK for arm

2018-08-16 Thread JonY via Mingw-w64-public
On 08/16/2018 11:50 AM, Martin Storsjö wrote: > Signed-off-by: Martin Storsjö > --- > mingw-w64-headers/include/winnt.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mingw-w64-headers/include/winnt.h > b/mingw-w64-headers/include/winnt.h > index cd28588..ca538d9

Re: [Mingw-w64-public] [PATCH] Add some missing features to shlwapi header

2018-08-03 Thread JonY via Mingw-w64-public
On 08/01/2018 04:52 AM, Alexey Pavlov wrote: > Patch OK. signature.asc Description: OpenPGP digital signature -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!

Re: [Mingw-w64-public] [PATCH] crt: Unify and simplify handling of constructor/destructor lists

2018-08-02 Thread JonY via Mingw-w64-public
On 08/02/2018 08:25 PM, Martin Storsjö wrote: > On Thu, 2 Aug 2018, Liu Hao wrote: > >>> index 54cbf02..44ff653 100644 >>> --- a/mingw-w64-crt/crt/gccmain.c >>> +++ b/mingw-w64-crt/crt/gccmain.c >>> @@ -23,18 +23,24 @@ __do_global_dtors (void) >>>   while (*p) >>>   { >>> -  (*(p))

Re: [Mingw-w64-public] [PATCH] Add some missing features to shlwapi header

2018-08-01 Thread JonY via Mingw-w64-public
On 08/01/2018 04:52 AM, Alexey Pavlov wrote: > Looks good. signature.asc Description: OpenPGP digital signature -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!

Re: [Mingw-w64-public] [PATCH] sdkddkver.h: Add missing NTDDI_WIN10_* defines.

2018-07-31 Thread JonY via Mingw-w64-public
On 07/31/2018 10:21 PM, Jacek Caban wrote: > Signed-off-by: Jacek Caban > --- >  mingw-w64-headers/include/sdkddkver.h | 5 + >  1 file changed, 5 insertions(+) > > Looks good to me. signature.asc Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH 2/2] winstorecompat: Provide RtlAddFunctionTable on 64bits platforms only

2018-07-11 Thread JonY via Mingw-w64-public
On 07/11/2018 12:06 PM, Hugo Beauzée-Luyssen wrote: > RtlAddFunctionTable is only available on those. Moreover, so are the > (P)RUNTIME_FUNCTION types Patches OK. signature.asc Description: OpenPGP digital signature --

Re: [Mingw-w64-public] [PATCH] add _mkgmtime, _mkgmtime32 to lib32 (v5 only)

2018-07-08 Thread JonY via Mingw-w64-public
On 07/08/2018 09:56 AM, Jeroen Ooms wrote: > Here it is: > https://github.com/r-windows/mingw-packages/blob/master/mingw-w64-crt-git/mkgmtime.diff > Done, I found the commit in master thanks to your diff. It is now applied to the v5.x branch. signature.asc Description: OpenPGP digital

Re: [Mingw-w64-public] [PATCH] sysinfoapi.h: Allow some functions for UWP

2018-07-07 Thread JonY via Mingw-w64-public
On 07/07/2018 09:48 PM, Martin Storsjö wrote: > From: Hugo Beauzée-Luyssen Patch series OK. signature.asc Description: OpenPGP digital signature -- Check out the vibrant tech community on one of the world's most

Re: [Mingw-w64-public] Missing libiphlpap symbols in v5

2018-06-21 Thread JonY via Mingw-w64-public
On 06/21/2018 11:55 AM, Jeroen Ooms wrote: > Thanks for the reply. Is there any chance you could backport those > into v5? I built my entire build infrastructure on v5.0.4 now... > > Sorry for the extra work, really appreciate your efforts. > > As a quick workaround, you can grab the latest

Re: [Mingw-w64-public] Missing libiphlpap symbols in v5

2018-06-21 Thread JonY via Mingw-w64-public
On 06/21/2018 12:34 AM, Jeroen Ooms wrote: > After upgrading from gcc 4.9.3 (mingw-w64 v3) to gcc 8.1.0 (mingw-w64 > v5.0.4) I am getting a linking error on i686 when building libuv. The > x86_64 architecture is still fine. > It is in the master branch, perhaps it is time to make some kind of v6

Re: [Mingw-w64-public] [Patch] Remove experimental.txt reference

2018-06-19 Thread JonY via Mingw-w64-public
On 06/19/2018 11:36 AM, Liu Hao wrote: > 在 2018/6/19 18:32, JonY via Mingw-w64-public 写道: >> Remove it as there is no such file. Patch OK? >> >> >> > > This line was added in 321b7a44a4176dbcc8f2d775da6e6d3923ff46d4, which > didn't add such a file at all. Ye

[Mingw-w64-public] [Patch] Remove experimental.txt reference

2018-06-19 Thread JonY via Mingw-w64-public
Remove it as there is no such file. Patch OK? From 7ba18a17b7c101b3a3f68c0a0485d81b5914896d Mon Sep 17 00:00:00 2001 From: Jonathan Yong <10wa...@gmail.com> Date: Tue, 19 Jun 2018 10:29:02 + Subject: [PATCH] mingw-w64-crt/configure.ac: Remove reference to experimental.txt The file does not

Re: [Mingw-w64-public] [PATCH 1/3] widl: Do the null termination within the given buffer, not after

2018-06-14 Thread JonY via Mingw-w64-public
On 06/14/2018 08:16 AM, Martin Storsjo wrote: > This is within mingw specific additions to widl, not found in > the upstream version in wine. > > Signed-off-by: Martin Storsjo Patches OK. signature.asc Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH] crt/misc/imaxdiv.c: Fix prototype of `lldiv()`.

2018-06-10 Thread JonY via Mingw-w64-public
On 06/10/2018 10:59 AM, Liu Hao wrote: > This function shall return the struct `lldiv_t`, which used to be > `long long` mistakenly. Although this function is never used throughout > this file, the follow warning was observed when compiling this file: > > imaxdiv.c:31:1: warning: 'lldiv' alias

Re: [Mingw-w64-public] Error linking to libmsvcr110.a

2018-06-07 Thread JonY via Mingw-w64-public
On 06/07/2018 05:46 PM, Brian Johnson wrote: > I am using minGW-64 to cross-link a Windows dll on a Linux (Ubuntu) cloud > server, but I am having a problem linking to libmsvcr110.a (the GCC version > of msvcrt.dll). The source file is written in NASM, and I compile with NASM > both locally (on

[Mingw-w64-public] [PATCH] crt: Regenerate libcrypt32

2018-06-07 Thread JonY via Mingw-w64-public
Attached patch OK? From 843c9d11c31b34be38742eeb30bdda6c1db533f2 Mon Sep 17 00:00:00 2001 From: Jonathan Yong <10wa...@gmail.com> Date: Thu, 7 Jun 2018 14:40:14 + Subject: [PATCH] crt: Regenerate x86/x86_64 libcrypt32 and libdpapi Regenerated from Windows 10. Signed-off-by: Jonathan Yong

[Mingw-w64-public] Announcing v5.0.4

2018-06-03 Thread JonY via Mingw-w64-public
v5.0.4 is now released! Notable changes: * Fix gcc-8.1.0 compatibility regarding _xgetbv * %e printf specifier will now produce at least 2 digits for the exponent. And here are the downloads: https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v5.0.4.tar.bz2

Re: [Mingw-w64-public] [PATCH] crt/stdio/mingw_pformat.c: Make the %e specifier compliant to C99.

2018-05-06 Thread JonY via Mingw-w64-public
On 05/06/2018 09:51 AM, Liu Hao wrote: > 在 2018/5/6 17:44, JonY via Mingw-w64-public 写道: >> On 05/06/2018 09:14 AM, Liu Hao wrote: >>> Remove the hacks to mimic old MS behavior and hardcode the minimum >>> number of digits of the exponent to 2, a

Re: [Mingw-w64-public] [PATCH] crt/stdio/mingw_pformat.c: Make the %e specifier compliant to C99.

2018-05-06 Thread JonY via Mingw-w64-public
On 05/06/2018 09:14 AM, Liu Hao wrote: > Remove the hacks to mimic old MS behavior and hardcode the minimum > number of digits of the exponent to 2, as required by C99 and POSIX. > > If the __USE_MINGW_ANSI_STDIO macro is not defined, the user will > be calling stdio functions from MSVCRT which

Re: [Mingw-w64-public] mingw-w64 v5 and gcc 8 fails

2018-05-05 Thread JonY via Mingw-w64-public
On 05/05/2018 11:46 AM, Mateusz wrote: > W dniu 05.05.2018 o 11:57, JonY via Mingw-w64-public pisze: >> On 05/04/2018 02:49 PM, Mateusz wrote: >>> The patch is only in master (v6) branch >>> https://sourceforge.net/p/mingw-w64/mingw-w64/ci/3ce3e27f044935f19e93e80c43c

Re: [Mingw-w64-public] mingw-w64 v5 and gcc 8 fails

2018-05-05 Thread JonY via Mingw-w64-public
On 05/04/2018 02:49 PM, Mateusz wrote: > The patch is only in master (v6) branch > https://sourceforge.net/p/mingw-w64/mingw-w64/ci/3ce3e27f044935f19e93e80c43ca695262d484e1/ > > JonY could you backport this patch to v5.x branch? > > Mateusz > It is already in. sign

Re: [Mingw-w64-public] mingw-w64 v5 and gcc 8 fails

2018-05-04 Thread JonY via Mingw-w64-public
On 05/04/2018 12:35 PM, Christer Solskogen wrote: > It fails with this: > > make[1]: Entering directory > '/tmp/obj/_build/mingw-w64.crt.cross.x86_64-w64-mingw32' > x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. > -I/home/solskogen/mingw-w64-builder/trunk/lib/mingw-w64/mingw-w64-crt > -m64 >

Re: [Mingw-w64-public] [PATCH] winpthreads: Fix building for ARM and ARM64

2018-05-04 Thread JonY via Mingw-w64-public
On 05/04/2018 09:10 AM, Martin Storsjö wrote: > The libgcc stubs aren't necessary if building this when using > compiler-rt, after those stubs are available. > > Just make the fake libgcc assembly file a no-op if targeting another > architecture. > Patch is OK. signature.asc Description:

Re: [Mingw-w64-public] [PATCH] _mingw.h.in: guard C with RC_INVOKED

2018-04-26 Thread JonY via Mingw-w64-public
On 04/26/2018 01:08 PM, Josh de Kock wrote: > On 2018/04/26 12:44, JonY via Mingw-w64-public wrote: >> On 04/25/2018 07:47 PM, Josh de Kock wrote: >>> --- >>>   mingw-w64-headers/crt/_mingw.h.in | 4 >>>   1 file changed, 4 insertions(+) >>>

Re: [Mingw-w64-public] [PATCH] _mingw.h.in: guard C with RC_INVOKED

2018-04-26 Thread JonY via Mingw-w64-public
On 04/25/2018 07:47 PM, Josh de Kock wrote: > --- > mingw-w64-headers/crt/_mingw.h.in | 4 > 1 file changed, 4 insertions(+) > Can you show a test case where it fails without this patch? signature.asc Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH] crt: Don't mark the MD5Update function as dllimport-only (DATA)

2018-04-26 Thread JonY via Mingw-w64-public
On 04/25/2018 10:39 PM, Martin Storsjö wrote: > The DATA flag was added without explanation in 7cf3c45e, but > only for lib64, not for lib32. > > Marking only this function but not the other MD5 functions was > inconsistent, and could cause linking conflicts with static > libraries that also

Re: [Mingw-w64-public] [PATCH] headers: Define IMAGE_FILE_MACHINE_ARM64

2018-04-11 Thread JonY via Mingw-w64-public
On 04/11/2018 09:30 PM, Martin Storsjö wrote: > Signed-off-by: Martin Storsjö > --- > mingw-w64-headers/include/winnt.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/mingw-w64-headers/include/winnt.h > b/mingw-w64-headers/include/winnt.h > index 878cdc3..45718c3

Re: [Mingw-w64-public] [PATCH] crt: Don't provide __chkstk in kernel32.def on arm64

2018-04-11 Thread JonY via Mingw-w64-public
On 04/10/2018 07:40 PM, Martin Storsjö wrote: > This function doesn't exist in kernel32.dll on arm64, only on > arm32. Patch OK. signature.asc Description: OpenPGP digital signature -- Check out the vibrant tech

Re: [Mingw-w64-public] [PATCH] crt: Use __attribute__((force_align_arg_pointer)) for aligning the stack on entry

2018-03-11 Thread JonY via Mingw-w64-public
On 03/11/2018 10:29 PM, Martin Storsjö wrote: > This attribute is available since GCC 4.2. > > The previous trick of using inline assembly for overriding the stack > pointer behind the compiler's back isn't guaranteed to work. > > This fixes stack alignment on llvm/clang. > > Signed-off-by:

Re: [Mingw-w64-public] Large file support?

2018-03-06 Thread JonY via Mingw-w64-public
On 03/06/2018 12:48 PM, Christer Solskogen wrote: > Hi! > > I've compiled a Atari ST emulator that can record video. The one I've > compiled the emulator crashes when the recorded video reaches a certain > size and from what I can gather it's because off_t is 32bit, even if the > the compiler is

Re: [Mingw-w64-public] [PATCH] headers: Cast chars to unsigned char before attempting to use as index in arrays

2018-03-04 Thread JonY via Mingw-w64-public
On 03/04/2018 08:43 PM, Martin Storsjö wrote: > This fixes warnings when building libc++, like these: > > libcxx/include/locale:1198:18: warning: array subscript is of type 'char' > [-Wchar-subscripts] > if (!isxdigit_l(*__ns, _LIBCPP_GET_C_LOCALE)) >

Re: [Mingw-w64-public] [PATCH] uianimation.h: Add missed defines

2018-02-18 Thread JonY via Mingw-w64-public
On 02/17/2018 04:45 PM, Ruslan Garipov wrote: > This commit adds missed (somehow) defines for the Microsoft Windows > Animation Manager like `UI_ANIMATION_REPEAT_INDEFINITELY`, > `UI_ANIMATION_KEYFRAME_STORYBOARD_START`, and so on. > > Signed-off-by: Ruslan Garipov >

Re: [Mingw-w64-public] [PATCH] uianimation.h: Add missed defines

2018-02-18 Thread JonY via Mingw-w64-public
On 02/16/2018 04:29 PM, Ruslan Garipov wrote: > > This commit adds missed (somehow) defines for the Microsoft Windows > Animation Manager like `UI_ANIMATION_REPEAT_INDEFINITELY`, > `UI_ANIMATION_KEYFRAME_STORYBOARD_START`, and so on. > > Signed-off-by: Ruslan Garipov

Re: [Mingw-w64-public] [PATCH] Regenerate dwmapi.def for x86 and x86_64

2018-01-22 Thread JonY via Mingw-w64-public
On 01/22/2018 11:29 AM, Martin Storsjö wrote: > On Sun, 21 Jan 2018, JonY via Mingw-w64-public wrote: > >> On 12/22/2017 01:05 PM, JonY wrote: >>> Attached patch OK? >>> >> >> Oops, I missed the OK message, here's a rebased version, patch OK? > >

Re: [Mingw-w64-public] [PATCH] Regenerate dwmapi.def for x86 and x86_64

2018-01-21 Thread JonY via Mingw-w64-public
On 12/22/2017 01:05 PM, JonY wrote: > Attached patch OK? > Oops, I missed the OK message, here's a rebased version, patch OK? From a530d5a514b90fa2e5144b8c37a2039701dc4d5d Mon Sep 17 00:00:00 2001 From: Jonathan Yong <10wa...@gmail.com> Date: Sun, 21 Jan 2018 23:03:29 + Sub

Re: [Mingw-w64-public] [PATCH 1/3] crt: Share uxtheme.def between lib64 and libarm32

2018-01-04 Thread JonY via Mingw-w64-public
On 01/04/2018 09:25 AM, Martin Storsjö wrote: > Also provide the shared version for libarm64. > > Signed-off-by: Martin Storsjö > --- > mingw-w64-crt/lib-common/uxtheme.def | 88 + > mingw-w64-crt/lib64/uxtheme.def | 81 --- >

Re: [Mingw-w64-public] [PATCH] crt: Share version.def between lib64 and libarm32

2018-01-02 Thread JonY via Mingw-w64-public
On 01/01/2018 10:10 PM, Martin Storsjö wrote: > Also provide the shared version for libarm64. > Patch OK, thanks. signature.asc Description: OpenPGP digital signature -- Check out the vibrant tech community on one of

[Mingw-w64-public] [PATCH] Regenerate dwmapi.def for x86 and x86_64

2017-12-22 Thread JonY via Mingw-w64-public
Attached patch OK? From e9f10474cfd239bbb656a9d15163a439fc0efa78 Mon Sep 17 00:00:00 2001 From: Jonathan Yong <10wa...@gmail.com> Date: Fri, 22 Dec 2017 13:01:03 + Subject: [PATCH] dwmapi.def: Regenegerate from Windows 10 Remove ordinals from x86 library too. Signed-off-by: Jonathan Yong

Re: [Mingw-w64-public] [PATCH] crt: Add linker aliases for utime/_utime/_futime/_wutime for ucrtbase

2017-12-19 Thread JonY via Mingw-w64-public
On 12/19/2017 12:13 PM, Martin Storsjö wrote: > This matches what MSVC does. > Patch OK. signature.asc Description: OpenPGP digital signature -- Check out the vibrant tech community on one of the world's most

Re: [Mingw-w64-public] [PATCH] ucrtbase: Link to the right setjmp function on archs other than x86_64

2017-12-09 Thread JonY via Mingw-w64-public
On 12/09/2017 09:46 PM, Martin Storsjö wrote: > The previous hookup of setjmp for ucrtbase in > 7c161daf1e4090ff30d0172cf9d93e24c46f8035 was incorrect; based on > inexact def files claiming that the "setjmp" function actually would > exist on all architectures - it actually only exists on x86_64.

Re: [Mingw-w64-public] [PATCH] headers: Make sure _ARM64_ is defined in _mingw_mac.h as well

2017-12-09 Thread JonY via Mingw-w64-public
On 12/09/2017 09:45 PM, Martin Storsjö wrote: > setjmp.h only checks for _ARM64_, not for __aarch64__, but so far, > only winnt.h defined this. Since _mingw_mac.h also defines some of > the defines that winnt.h does (like _ARM_), do the same for _ARM64_. > > Signed-off-by: Martin Storsjö

Re: [Mingw-w64-public] [PATCH] headers: Map stat/wstat properly for ucrtbase

2017-12-03 Thread JonY via Mingw-w64-public
On 12/03/2017 09:13 PM, Martin Storsjö wrote: > Signed-off-by: Martin Storsjö > --- > mingw-w64-headers/crt/sys/stat.h | 13 - > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff --git a/mingw-w64-headers/crt/sys/stat.h > b/mingw-w64-headers/crt/sys/stat.h

Re: [Mingw-w64-public] [PATCH 2/2] crt: Share iphlpapi.def between lib64 and libarm32

2017-12-03 Thread JonY via Mingw-w64-public
On 12/03/2017 07:53 PM, Martin Storsjö wrote: > Also provide this import library for libarm64. > > Signed-off-by: Martin Storsjö > --- > mingw-w64-crt/lib-common/iphlpapi.def | 325 > ++ > mingw-w64-crt/lib64/iphlpapi.def | 315

Re: [Mingw-w64-public] Finding runtime version

2017-11-16 Thread JonY via Mingw-w64-public
On 11/15/2017 01:32 PM, niXman wrote: > > Kai, JonY, > > ok for commit for master and v5x? > master should be Major 6, v5.x should be bugfix level 4. signature.asc Description: OpenPGP digital signature -

Re: [Mingw-w64-public] [PATCH] crt: Provide __acrt_iob_func without the __imp_ prefix as well

2017-11-10 Thread JonY via Mingw-w64-public
On 11/10/2017 08:35 AM, Martin Storsjö wrote: > Object files in libmingw32 are built with _CRTBLD which means that > the _CRTIMP attribute in the declaration of __acrt_iob_func becomes > empty. This means that object files in libmingw32 refer to > __acrt_iob_func without dllimport. > > Define

Re: [Mingw-w64-public] [PATCH 1/2] crt: Define _CRTBLD in AM_CFLAGS instead of AM_CPPFLAGS

2017-11-10 Thread JonY via Mingw-w64-public
On 11/10/2017 09:03 AM, Martin Storsjö wrote: > Libraries that override CPPFLAGS (like lib32_libmsvcrt_a_CPPFLAGS) > don't get AM_CPPFLAGS included automatically. We shouldn't add it > to the CPPFLAGS32 variable that gets used there, because then it > would get added twice for the object files

Re: [Mingw-w64-public] [PATCH 00/11] More fixes for ucrtbase

2017-11-08 Thread JonY via Mingw-w64-public
On 11/07/2017 09:29 PM, Martin Storsjö wrote: > I've tested our support for ucrtbase.dll a bit further by trying building > a handful of libraries with it, and fixing the issues I run into. With > these patches, I'm able to build among others Qt (tested with 5.7.1). > > Some libraries have an

Re: [Mingw-w64-public] [PATCH 10/11] headers: Provide timezone/dstbias/tzname/daylight for ucrtbase

2017-11-08 Thread JonY via Mingw-w64-public
On 11/07/2017 09:29 PM, Martin Storsjö wrote: > Signed-off-by: Martin Storsjö Patch OK. signature.asc Description: OpenPGP digital signature -- Check out the vibrant tech community on one of the

Re: [Mingw-w64-public] [PATCH 08/11] headers: Redirect f{seek, tell}o{, 64} to fseek/ftell/_fseeki64/_ftelli64 for ucrtbase

2017-11-08 Thread JonY via Mingw-w64-public
On 11/07/2017 09:29 PM, Martin Storsjö wrote: > We don't want to call the normal fseeko/ftello wrappers in libmingwex > in this case. > > Signed-off-by: Martin Storsjö Looks OK to me. signature.asc Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH 06/11] headers: Use the single argument version of setjmp for ucrtbase

2017-11-08 Thread JonY via Mingw-w64-public
On 11/07/2017 09:29 PM, Martin Storsjö wrote: > Signed-off-by: Martin Storsjö > --- > mingw-w64-headers/crt/setjmp.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Patch OK. signature.asc Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH 05/11] headers: Hook up __argc and similar external variables for ucrtbase

2017-11-08 Thread JonY via Mingw-w64-public
On 11/07/2017 09:29 PM, Martin Storsjö wrote: > Not all the variables that were listed seem to be exported from > ucrtbase though. > > Signed-off-by: Martin Storsjö Patch OK. signature.asc Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH 03/11] headers: Remove an incorrect declaration of "environ" when _POSIX_ is defined

2017-11-08 Thread JonY via Mingw-w64-public
On 11/07/2017 09:29 PM, Martin Storsjö wrote: > There is nothing in our crt parts, neither compat wrappers nor > import libraries, that defines a variable named "environ" without > a leading underscore. > > Signed-off-by: Martin Storsjö Patch OK. signature.asc Description:

Re: [Mingw-w64-public] [PATCH 02/11] headers: Remove unnecessary ifdefs around __p_* functions

2017-11-08 Thread JonY via Mingw-w64-public
On 11/07/2017 09:29 PM, Martin Storsjö wrote: > These are available in all versions of msvcrt, also on x86_64. > > Signed-off-by: Martin Storsjö Patch OK. signature.asc Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH 0/2] Top level build libraries/tools improvements

2017-11-06 Thread JonY via Mingw-w64-public
On 11/04/2017 09:02 PM, Alon Bar-Lev wrote: > Hi, > > I see that the patch to add winpthreads was finally merged, this is great as > we can patch less the build system at Gentoo. > > Here are additional two patches: > 1. Enable build of pseh only in supported architecture > 2. Enable

Re: [Mingw-w64-public] [PATCH 0/2] Top level build libraries/tools improvements

2017-11-05 Thread JonY via Mingw-w64-public
On 11/05/2017 05:31 AM, Alon Bar-Lev wrote: > On 5 November 2017 at 07:00, JonY via Mingw-w64-public > <mingw-w64-public@lists.sourceforge.net> wrote: >> On 11/04/2017 09:02 PM, Alon Bar-Lev wrote: >> Patches OK, but is there a reason to not use grep -q? > >

Re: [Mingw-w64-public] [PATCH 0/2] Top level build libraries/tools improvements

2017-11-04 Thread JonY via Mingw-w64-public
On 11/04/2017 09:02 PM, Alon Bar-Lev wrote: > Hi, > > I see that the patch to add winpthreads was finally merged, this is great as > we can patch less the build system at Gentoo. > > Here are additional two patches: > 1. Enable build of pseh only in supported architecture > 2. Enable

Re: [Mingw-w64-public] [PATCH] Provide __debugbreak on clang as well

2017-11-04 Thread JonY via Mingw-w64-public
On 11/03/2017 08:14 AM, Martin Storsjö wrote: > This effectively reverts f2b70c99. Since clang 3.4, __debugbreak > is limited to -fms-extensions and thus not available by default > when targeting mingw. > > Signed-off-by: Martin Storsjö > --- > If you really want to retain

Re: [Mingw-w64-public] [PATCH] headers: Add a configure parameter for setting the default value of _WIN32_WINNT

2017-11-04 Thread JonY via Mingw-w64-public
On 11/04/2017 07:27 AM, Adrien Nader wrote: > Hi, > > On Fri, Nov 03, 2017, Kai Tietz via Mingw-w64-public wrote: >> Hello Martin, >> >> The patch is ok. Please go ahead and apply. >> >> JonY, Adrien do we have on web-server documentation about our special

Re: [Mingw-w64-public] New bug fix from v5.x release soon

2017-11-04 Thread JonY via Mingw-w64-public
On 11/04/2017 07:24 AM, Adrien Nader wrote: > Good morning, > > I was looking at the changelog for OCaml 4.06 and noticed the following > entry: > >> - MPR#7638: in the Windows Mingw64 port, multithreaded programs >> compiled to bytecode could crash when raising an exception from C >> code.

Re: [Mingw-w64-public] New bug fix from v5.x release soon

2017-10-27 Thread JonY via Mingw-w64-public
On 10/27/2017 02:39 AM, Liu Hao wrote: > With this patch the crash in question shall not happen on i686 and > x86_64 any more. Pushed to master. > > Cherry-picked to v5.x. signature.asc Description: OpenPGP digital signature

[Mingw-w64-public] New bug fix from v5.x release soon

2017-10-26 Thread JonY via Mingw-w64-public
Are there any bug fix commits from master that you think should go into v5.x? Let me know ASAP, thanks. signature.asc Description: OpenPGP digital signature -- Check out the vibrant tech community on one of the world's

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