[Mingw-w64-public] [PATCH] crt: Add api-ms-win-core-psapi-ansi-l1-1-0

2019-05-29 Thread Hugo Beauzée-Luyssen
--- mingw-w64-crt/Makefile.am | 2 ++ .../lib-common/api-ms-win-core-psapi-ansi-l1-1-0.def| 6 ++ mingw-w64-crt/lib-common/mincore.mri| 1 + mingw-w64-crt/lib-common/windowsapp.mri | 1 +

[Mingw-w64-public] [PATCH] crt: api-ms-win-core-file-l2-1-0: Fix typo

2019-04-17 Thread Hugo Beauzée-Luyssen
--- mingw-w64-crt/lib-common/api-ms-win-core-file-l2-1-0.def | 2 +- mingw-w64-crt/lib32/api-ms-win-core-file-l2-1-0.def | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mingw-w64-crt/lib-common/api-ms-win-core-file-l2-1-0.def

Re: [Mingw-w64-public] [PATCH] lib-common: Add api-ms-win-core-com-l1-1-0 library

2019-04-12 Thread Hugo Beauzée-Luyssen
> Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > > Attachments: > * 0001-lib-common-Add-api-ms-win-core-com-l1-1-0-library.patch -- Hugo Bea

[Mingw-w64-public] [PATCH 4/5] fileapi: Fix availability checks

2019-04-10 Thread Hugo Beauzée-Luyssen
WINSTORECOMPAT is used when we provide a replacement through winstorecompat, while these functions are not in libwinstorecompat, and are available when targetting UWP --- mingw-w64-headers/include/fileapi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[Mingw-w64-public] [PATCH 5/5] lib-common: Add missing functions to api-ms-core-file-l1-2-1

2019-04-10 Thread Hugo Beauzée-Luyssen
--- .../lib-common/api-ms-win-core-file-l1-2-1.def | 12 1 file changed, 12 insertions(+) diff --git a/mingw-w64-crt/lib-common/api-ms-win-core-file-l1-2-1.def b/mingw-w64-crt/lib-common/api-ms-win-core-file-l1-2-1.def index d3e0..2f02f903 100644 ---

[Mingw-w64-public] [PATCH 3/5] fileapi: Use the correct macro for desktop + app

2019-04-10 Thread Hugo Beauzée-Luyssen
These declarations were only available on desktop because we default WINAPI_FAMILY to WINAPI_FAMILY_DESKTOP_APP, causing APP specific declarations to be included. Building with an explicit WINAPI_FAMILY_DESKTOP would have cause these declarations to be missing ---

[Mingw-w64-public] [PATCH 1/5] Add missing api-ms-win-core-file-l1-2-2

2019-04-10 Thread Hugo Beauzée-Luyssen
--- mingw-w64-crt/Makefile.am| 2 ++ mingw-w64-crt/lib-common/api-ms-win-core-file-l1-2-1.def | 1 - mingw-w64-crt/lib-common/api-ms-win-core-file-l1-2-2.def | 8 mingw-w64-crt/lib-common/mincore.mri | 2 +-

[Mingw-w64-public] [PATCH 2/5] Move some functions declaration to fileapi.h

2019-04-10 Thread Hugo Beauzée-Luyssen
Where they belong, according to MSDN documentation --- mingw-w64-headers/include/fileapi.h | 13 +++-- mingw-w64-headers/include/winbase.h | 4 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/mingw-w64-headers/include/fileapi.h b/mingw-w64-headers/include/fileapi.h

[Mingw-w64-public] [PATCH] Add missing IO function

2019-04-10 Thread Hugo Beauzée-Luyssen
Some of the api-ms-win-core-io-l1-1-1.dll functions were not available on x86_64 & aarch64 builds. Add DeviceIoControl function through api-ms-win-core-io-l1-1-0.dll And udpate the headers accordingly --- mingw-w64-crt/Makefile.am | 1 +

[Mingw-w64-public] [PATCH 2/5] Update processenvironment libraries and headers

2019-04-09 Thread Hugo Beauzée-Luyssen
As per https://docs.microsoft.com/en-us/uwp/win32-and-com/win32-apis#apis-from-api-ms-win-core-processenvironment-l1-1-0dll --- mingw-w64-crt/Makefile.am | 2 + ...-ms-win-core-processenvironment-l1-1-0.def | 17 ++ mingw-w64-crt/lib-common/mincore.mri | 2 +-

[Mingw-w64-public] [PATCH 4/5] Add missing api-ms-win-core-file-l2-1-0

2019-04-09 Thread Hugo Beauzée-Luyssen
And add missing CopyFileExA and ReadDirectoryChangesW in api-ms-win-core-file-l2-1-0 or the ansi variant --- mingw-w64-crt/Makefile.am | 2 ++ .../api-ms-win-core-file-ansi-l2-1-0.def | 1 + .../api-ms-win-core-file-l2-1-0.def | 6 ++

[Mingw-w64-public] [PATCH 3/5] Add namedpipe APIs

2019-04-09 Thread Hugo Beauzée-Luyssen
Based on: https://docs.microsoft.com/en-us/uwp/win32-and-com/win32-apis#apis-from-api-ms-win-core-namedpipe-l1-1-0dll https://docs.microsoft.com/en-us/uwp/win32-and-com/win32-apis#apis-from-api-ms-win-core-namedpipe-ansi-l1-1-0dll and the various associated versions This also introduces a minimal

[Mingw-w64-public] [PATCH 1/5] Update processthreads libraries & header

2019-04-09 Thread Hugo Beauzée-Luyssen
Based on https://docs.microsoft.com/en-us/uwp/win32-and-com/win32-apis#apis-from-api-ms-win-core-processthreads-l1-1-0dll --- mingw-w64-crt/Makefile.am | 4 ++ .../api-ms-win-core-processthreads-l1-1-0.def | 18 .../api-ms-win-core-processthreads-l1-1-1.def | 11

[Mingw-w64-public] [PATCH 5/5] winbase.h: Remove tabs

2019-04-09 Thread Hugo Beauzée-Luyssen
--- mingw-w64-headers/include/winbase.h | 98 ++--- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/mingw-w64-headers/include/winbase.h b/mingw-w64-headers/include/winbase.h index bcfa0eb0..58e23a84 100644 --- a/mingw-w64-headers/include/winbase.h +++

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

2019-01-11 Thread Hugo Beauzée-Luyssen
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/ > include/ncrypt.h > index d850

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

2018-12-14 Thread Hugo Beauzée-Luyssen
--- 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/include/ncrypt.h index d850784c..16a879dd 100644 --- a/mingw-w64-headers/include/ncrypt.h +++ b/mingw-w64-headers/include/ncrypt.h @@

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

2018-12-12 Thread Hugo Beauzée-Luyssen
/winstorecompat/src/RtlRestoreContext.c @@ -0,0 +1,42 @@ +/* +Copyright (c) 2018 mingw-w64 project + +Contributing authors: Hugo Beauzée-Luyssen + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Sof

Re: [Mingw-w64-public] [PATCH] winstorecompat: Provide RtlAddFunctionTable on arm & x86_64

2018-07-12 Thread Hugo Beauzée-Luyssen
On Thu, Jul 12, 2018, at 11:40 AM, Martin Storsjö wrote: > On Thu, 12 Jul 2018, Hugo Beauzée-Luyssen wrote: > > > The function isn't available on IA-32, and neither are some of the types it > > uses. > > --- > > mingw-w64-libraries/winstorecompat/src/RtlAddFuncti

[Mingw-w64-public] [PATCH] winstorecompat: Provide RtlAddFunctionTable on arm & x86_64

2018-07-12 Thread Hugo Beauzée-Luyssen
The function isn't available on IA-32, and neither are some of the types it uses. --- mingw-w64-libraries/winstorecompat/src/RtlAddFunctionTable.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mingw-w64-libraries/winstorecompat/src/RtlAddFunctionTable.c

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

2018-07-11 Thread Hugo Beauzée-Luyssen
On Wed, Jul 11, 2018, at 7:12 PM, Martin Storsjö wrote: > On Wed, 11 Jul 2018, Hugo Beauzée-Luyssen wrote: > > > RtlAddFunctionTable is only available on those. Moreover, so are the > > (P)RUNTIME_FUNCTION types > > No, it's available for armv7 as well (I just checked

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

2018-07-11 Thread Hugo Beauzée-Luyssen
RtlAddFunctionTable is only available on those. Moreover, so are the (P)RUNTIME_FUNCTION types --- mingw-w64-libraries/winstorecompat/Makefile.am | 5 - mingw-w64-libraries/winstorecompat/configure.ac| 10 ++ .../winstorecompat/src/RtlAddFunctionTable.c | 8

Re: [Mingw-w64-public] [PATCH] winreg.h: Add missing WINAPI_PARTITION_DESKTOP guard

2018-04-10 Thread Hugo Beauzée-Luyssen
On Tue, Apr 10, 2018, at 4:32 PM, Liu Hao wrote: > 在 2018/4/10 21:44, Hugo Beauzée-Luyssen 写道: > > > > +#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) > > + > > Please clarify the rationale of this patch. > > Win8 SDK does not have this guard whi

Re: [Mingw-w64-public] [PATCH] winreg.h: Add missing WINAPI_PARTITION_DESKTOP guard

2018-04-10 Thread Hugo Beauzée-Luyssen
On Tue, Apr 10, 2018, at 3:44 PM, Hugo Beauzée-Luyssen wrote: > --- > mingw-w64-headers/include/winreg.h | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/mingw-w64-headers/include/winreg.h b/mingw-w64-headers/ > include/winreg.h > index c7caec8b..d49ab454 100

[Mingw-w64-public] [PATCH] winreg.h: Add missing WINAPI_PARTITION_DESKTOP guard

2018-04-10 Thread Hugo Beauzée-Luyssen
--- mingw-w64-headers/include/winreg.h | 5 + 1 file changed, 5 insertions(+) diff --git a/mingw-w64-headers/include/winreg.h b/mingw-w64-headers/include/winreg.h index c7caec8b..d49ab454 100644 --- a/mingw-w64-headers/include/winreg.h +++ b/mingw-w64-headers/include/winreg.h @@ -7,11 +7,14

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

2017-12-21 Thread Hugo Beauzée-Luyssen
--- mingw-w64-headers/include/sysinfoapi.h | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/mingw-w64-headers/include/sysinfoapi.h b/mingw-w64-headers/include/sysinfoapi.h index 7d43ff5b..cf5fedda 100644 --- a/mingw-w64-headers/include/sysinfoapi.h +++

Re: [Mingw-w64-public] [PATCH] winbase.h: WaitForMultipleObjects is available on UWP

2017-07-10 Thread Hugo Beauzée-Luyssen
On Tue, Jun 27, 2017, at 05:44 PM, Hugo Beauzée-Luyssen wrote: > --- > mingw-w64-headers/include/winbase.h | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/mingw-w64-headers/include/winbase.h > b/mingw-w64-headers/include/winbase.h > index 74bc

[Mingw-w64-public] [PATCH] winbase.h: WaitForMultipleObjects is available on UWP

2017-06-27 Thread Hugo Beauzée-Luyssen
--- mingw-w64-headers/include/winbase.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mingw-w64-headers/include/winbase.h b/mingw-w64-headers/include/winbase.h index 74bc512c..be050cc6 100644 --- a/mingw-w64-headers/include/winbase.h +++

[Mingw-w64-public] [PATCH] crt: Add IMP symbols for lock/unlock_file

2016-12-07 Thread Hugo Beauzée-Luyssen
_lock_file & _unlock_file are always declared as __declspec(import), causing linking programs to search for a __imp___lock_file symbol which wasn't available --- mingw-w64-crt/stdio/mingw_lock.c | 4 1 file changed, 4 insertions(+) diff --git a/mingw-w64-crt/stdio/mingw_lock.c

[Mingw-w64-public] [PATCH 6/7] dpapi: Crypt*Data functions are allowed on Win10

2016-11-09 Thread Hugo Beauzée-Luyssen
--- mingw-w64-headers/include/dpapi.h | 24 +++- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/mingw-w64-headers/include/dpapi.h b/mingw-w64-headers/include/dpapi.h index 1e685ea..8ff8630 100644 --- a/mingw-w64-headers/include/dpapi.h +++

[Mingw-w64-public] [PATCH 0/7] Various WinRT/UWP fixes

2016-11-09 Thread Hugo Beauzée-Luyssen
to prepare using libwinstorecompat on arm. Best regards, Hugo Beauzée-Luyssen (7): crt: Add a WindowsApp.lib mri & associated def files winstorecompat: Add a GetStartupInfo stub include: SwitchToThread is always available on Win10 winstorecompat: Add GetConsoleOutputCP replace

[Mingw-w64-public] [PATCH 3/7] include: SwitchToThread is always available on Win10

2016-11-09 Thread Hugo Beauzée-Luyssen
--- mingw-w64-headers/include/processthreadsapi.h | 1 + 1 file changed, 1 insertion(+) diff --git a/mingw-w64-headers/include/processthreadsapi.h b/mingw-w64-headers/include/processthreadsapi.h index 7e14eb9..c4629f7 100755 --- a/mingw-w64-headers/include/processthreadsapi.h +++

[Mingw-w64-public] [PATCH 7/7] wincrypt: Unconditionally include dpapi.h

2016-11-09 Thread Hugo Beauzée-Luyssen
Since it now contains some functions that can be used on win10 --- mingw-w64-headers/include/wincrypt.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/mingw-w64-headers/include/wincrypt.h b/mingw-w64-headers/include/wincrypt.h index 759758f..7425823 100644 ---

[Mingw-w64-public] [PATCH 4/7] winstorecompat: Add GetConsoleOutputCP replacement

2016-11-09 Thread Hugo Beauzée-Luyssen
@@ -0,0 +1,38 @@ +/* +Copyright (c) 2013-2016 mingw-w64 project + +Contributing authors: Hugo Beauzée-Luyssen + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to de

[Mingw-w64-public] [PATCH 5/7] winstorecompat: Fix mangling header guard.

2016-11-09 Thread Hugo Beauzée-Luyssen
Symbols are only mangled on i686, while the old check was causing arm symbols to be mangled as well --- mingw-w64-libraries/winstorecompat/src/CreateEventW.c| 2 +- mingw-w64-libraries/winstorecompat/src/CreateFileW.c | 2 +-

[Mingw-w64-public] [PATCH 2/7] winstorecompat: Add a GetStartupInfo stub

2016-11-09 Thread Hugo Beauzée-Luyssen
index 000..9094ade --- /dev/null +++ b/mingw-w64-libraries/winstorecompat/src/GetStartupInfo.c @@ -0,0 +1,44 @@ +/* +Copyright (c) 2016 mingw-w64 project + +Contributing authors: Hugo Beauzée-Luyssen + +Permission is hereby granted, free of charge, to any person obtaining a +copy

Re: [Mingw-w64-public] [PATCH 1/4] winstorecompat: Add a GetStartupInfo stub

2016-09-23 Thread Hugo Beauzée-Luyssen
On 09/22/2016 11:26 PM, David Wohlferd wrote: > On 9/22/2016 9:35 AM, Hugo Beauzée-Luyssen wrote: >> On 09/08/2016 08:23 PM, David Wohlferd wrote: >>> On 9/8/2016 10:36 AM, Hugo Beauzée-Luyssen wrote: >>>> This only happens when building with -lwindowsapp (see ano

Re: [Mingw-w64-public] [PATCH 1/4] winstorecompat: Add a GetStartupInfo stub

2016-09-22 Thread Hugo Beauzée-Luyssen
On 09/22/2016 06:35 PM, Hugo Beauzée-Luyssen wrote: > On 09/08/2016 08:23 PM, David Wohlferd wrote: >> On 9/8/2016 10:36 AM, Hugo Beauzée-Luyssen wrote: >>> This only happens when building with -lwindowsapp (see another patch of >>> mine). When building with the defa

Re: [Mingw-w64-public] [PATCH 1/4] winstorecompat: Add a GetStartupInfo stub

2016-09-22 Thread Hugo Beauzée-Luyssen
On 09/08/2016 08:23 PM, David Wohlferd wrote: On 9/8/2016 10:36 AM, Hugo Beauzée-Luyssen wrote: This only happens when building with -lwindowsapp (see another patch of mine). When building with the default -lkernel32, all is good, since kernel32.lib contains GetStartupInfo. windowsapp.lib

[Mingw-w64-public] [PATCH 1/4] winstorecompat: Add a GetStartupInfo stub

2016-09-22 Thread Hugo Beauzée-Luyssen
index 000..420cea6 --- /dev/null +++ b/mingw-w64-libraries/winstorecompat/src/GetStartupInfo.c @@ -0,0 +1,44 @@ +/* +Copyright (c) 2016 mingw-w64 project + +Contributing authors: Hugo Beauzée-Luyssen + +Permission is hereby granted, free of charge, to any person obtaining a +copy

Re: [Mingw-w64-public] [PATCH 1/4] winstorecompat: Add a GetStartupInfo stub

2016-09-08 Thread Hugo Beauzée-Luyssen
On 09/08/2016 07:21 PM, David Wohlferd wrote: > On 9/7/2016 2:19 PM, Hugo Beauzée-Luyssen wrote: >>> Is this to deal with the fact that __tmainCRTStartup uses it? >> Exactly. In the end, the function won't be used since __tmainCRTStartup >> won't be used for a windows stor

Re: [Mingw-w64-public] [PATCH 1/4] winstorecompat: Add a GetStartupInfo stub

2016-09-07 Thread Hugo Beauzée-Luyssen
but we still need the configure scripts to be able to compile executables. Regards, > > dw > > On 9/7/2016 1:31 AM, Hugo Beauzée-Luyssen wrote: >> On 09/07/2016 10:25 AM, Jacek Caban wrote: >>> Hi Hugo, >>> >>> On 06.09.2016 16:11, Hugo

Re: [Mingw-w64-public] [PATCH 1/4] winstorecompat: Add a GetStartupInfo stub

2016-09-07 Thread Hugo Beauzée-Luyssen
On 09/07/2016 10:25 AM, Jacek Caban wrote: > Hi Hugo, > > On 06.09.2016 16:11, Hugo Beauzée-Luyssen wrote: >> +#define GetStartupInfo __GetStartupInfo >> +#include >> +#undef GetStartupInfo >> + >> +VOID WINAPI GetStartupInfo( LPSTARTUPINFO lpStartupI

Re: [Mingw-w64-public] [PATCH] Add a windowsapp.lib

2016-09-07 Thread Hugo Beauzée-Luyssen
On 09/07/2016 02:15 AM, Martell Malone wrote: > Hey, > > Are you sure this is correct? > It seems to be for libarm32 but the xbox1 is x64. > > Best, > Martell > > On Tue, Sep 6, 2016 at 8:27 AM, Hugo Beauzée-Luyssen <h...@beauzee.fr> > wrote: > >> Hi,

[Mingw-w64-public] [PATCH] Add a windowsapp.lib

2016-09-06 Thread Hugo Beauzée-Luyssen
Hi, When building apps for Xbox1 (at least), this lib must be used instead of kernel32.lib, since kernel32.dll isn't shipped on this system. Since the patch is big, and I've been asked to refrain from sending big chunks here, the patch is located there:

[Mingw-w64-public] [PATCH 3/4] winstorecompat: Add GetConsoleOutputCP replacement

2016-09-06 Thread Hugo Beauzée-Luyssen
@@ -0,0 +1,38 @@ +/* +Copyright (c) 2013-2016 mingw-w64 project + +Contributing authors: Hugo Beauzée-Luyssen + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to de

[Mingw-w64-public] [PATCH 1/4] winstorecompat: Add a GetStartupInfo stub

2016-09-06 Thread Hugo Beauzée-Luyssen
index 000..110099d --- /dev/null +++ b/mingw-w64-libraries/winstorecompat/src/GetStartupInfo.c @@ -0,0 +1,40 @@ +/* +Copyright (c) 2016 mingw-w64 project + +Contributing authors: Hugo Beauzée-Luyssen + +Permission is hereby granted, free of charge, to any person obtaining a +copy

[Mingw-w64-public] [PATCH 4/4] winstorecompat: Regenerate Makefile.in

2016-09-06 Thread Hugo Beauzée-Luyssen
--- mingw-w64-libraries/winstorecompat/Makefile.in | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mingw-w64-libraries/winstorecompat/Makefile.in b/mingw-w64-libraries/winstorecompat/Makefile.in index a52f2ad..31123de 100644 ---

[Mingw-w64-public] [PATCH 2/4] include: SwitchToThread is always available on Win10

2016-09-06 Thread Hugo Beauzée-Luyssen
--- mingw-w64-headers/include/processthreadsapi.h | 1 + 1 file changed, 1 insertion(+) diff --git a/mingw-w64-headers/include/processthreadsapi.h b/mingw-w64-headers/include/processthreadsapi.h index 7e14eb9..c4629f7 100755 --- a/mingw-w64-headers/include/processthreadsapi.h +++

[Mingw-w64-public] [PATCH 2/2] wincrypt: Adjust header guards for Windows 10

2016-07-08 Thread Hugo Beauzée-Luyssen
--- mingw-w64-headers/include/wincrypt.h | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/mingw-w64-headers/include/wincrypt.h b/mingw-w64-headers/include/wincrypt.h index 3bd84ce..759758f 100644 --- a/mingw-w64-headers/include/wincrypt.h +++

[Mingw-w64-public] [PATCH 1/2] bcrypt: Adjust header guards for windows 10

2016-07-08 Thread Hugo Beauzée-Luyssen
--- mingw-w64-headers/include/bcrypt.h | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mingw-w64-headers/include/bcrypt.h b/mingw-w64-headers/include/bcrypt.h index e1b0546..006181c 100644 --- a/mingw-w64-headers/include/bcrypt.h +++

[Mingw-w64-public] [PATCH] iptypes.h: Fix header guards

2016-06-21 Thread Hugo Beauzée-Luyssen
--- mingw-w64-headers/include/iptypes.h | 5 + 1 file changed, 5 insertions(+) diff --git a/mingw-w64-headers/include/iptypes.h b/mingw-w64-headers/include/iptypes.h index 745d3f9..d044a83 100644 --- a/mingw-w64-headers/include/iptypes.h +++ b/mingw-w64-headers/include/iptypes.h @@ -6,6

Re: [Mingw-w64-public] [PATCH] math.h: Fix arm build

2016-06-17 Thread Hugo Beauzée-Luyssen
On 06/17/2016 06:50 PM, André Hentschel wrote: > Pushed, because there were no objections > > Thanks! -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level.

[Mingw-w64-public] [PATCH] headers: Adjust header guards for Windows 10

2016-06-17 Thread Hugo Beauzée-Luyssen
--- mingw-w64-headers/include/iphlpapi.h | 6 +- mingw-w64-headers/include/iprtrmib.h | 5 + mingw-w64-headers/include/mprapi.h | 6 ++ mingw-w64-headers/include/nldef.h| 2 +- 4 files changed, 17 insertions(+), 2 deletions(-) diff --git a/mingw-w64-headers/include/iphlpapi.h

[Mingw-w64-public] Autotools & git

2016-06-06 Thread Hugo Beauzée-Luyssen
Hi, I'm wondering about the rational for having all autotools generated files commited to the git repository. Is there a specific reason for that? Or would it be OK to provide a patch that adds a bootstrap script for all project & removes the said generated files? Regards,

Re: [Mingw-w64-public] [PATCH] Add a libsynchronization.a

2016-05-31 Thread Hugo Beauzée-Luyssen
On 05/31/2016 05:42 PM, Hugo Beauzée-Luyssen wrote: > This exposes the WaitOnAddress, WakeByAddressAll and WakeByAddressSingle > functions > Adding those to kernel32.lib fails at runtime > --- > mingw-w64-crt/Makefile.am| 20 > ++--

[Mingw-w64-public] [PATCH] Add a libsynchronization.a

2016-05-31 Thread Hugo Beauzée-Luyssen
This exposes the WaitOnAddress, WakeByAddressAll and WakeByAddressSingle functions Adding those to kernel32.lib fails at runtime --- mingw-w64-crt/Makefile.am| 20 ++-- mingw-w64-crt/lib32/Makefile.am | 1 +

[Mingw-w64-public] [PATCH] Add a libsynchronization.a

2016-05-31 Thread Hugo Beauzée-Luyssen
This exposes the WaitOnAddress, WakeByAddressAll and WakeByAddressSingle functions Adding those to kernel32.lib fails at runtime --- mingw-w64-crt/Makefile.am| 20 ++-- mingw-w64-crt/lib32/Makefile.am | 1 +

[Mingw-w64-public] [PATCH] kernel32.def: Add missing WaitOnAddress & WakeByAddress*

2016-05-31 Thread Hugo Beauzée-Luyssen
--- mingw-w64-crt/lib32/kernel32.def| 3 +++ mingw-w64-crt/lib64/kernel32.def| 3 +++ mingw-w64-crt/libarm32/kernel32.def | 3 +++ 3 files changed, 9 insertions(+) diff --git a/mingw-w64-crt/lib32/kernel32.def b/mingw-w64-crt/lib32/kernel32.def index 0435d8d..aa834c6 100644 ---

Re: [Mingw-w64-public] [PATCH] yvals.h: Don't create a _Bool typedef if it already is a macro

2016-05-26 Thread Hugo Beauzée-Luyssen
On 05/26/2016 10:35 AM, Kai Tietz wrote: > Thanks, patch looks better IMO. Have you found the culprit defining _Bool? > > Regards, > Kai > > 2016-05-26 9:51 GMT+02:00 Hugo Beauzée-Luyssen <h...@beauzee.fr>: >> --- >> mingw-w64-headers/crt/yvals.h | 3 +

Re: [Mingw-w64-public] [PATCH] yvals.h: Don't create a _Bool typedef if a macro already exists

2016-05-26 Thread Hugo Beauzée-Luyssen
On 05/25/2016 02:27 PM, Kai Tietz wrote: > Hmm, wouldn't it be better to use here #pragma push_macro/pop_macro > with undefine instead? > > Btw, in what context you hit this issue that within C++ _Bool was > defined already? > > Regards, > Kai > > 2016-05-25 13:26

[Mingw-w64-public] [PATCH] yvals.h: Don't create a _Bool typedef if it already is a macro

2016-05-26 Thread Hugo Beauzée-Luyssen
--- mingw-w64-headers/crt/yvals.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mingw-w64-headers/crt/yvals.h b/mingw-w64-headers/crt/yvals.h index 70593c4..15130e4 100644 --- a/mingw-w64-headers/crt/yvals.h +++ b/mingw-w64-headers/crt/yvals.h @@ -163,9 +163,12 @@ #define _Restrict

Re: [Mingw-w64-public] [PATCH] yvals.h: Don't create a _Bool typedef if a macro already exists

2016-05-25 Thread Hugo Beauzée-Luyssen
On 05/25/2016 02:27 PM, Kai Tietz wrote: > Hmm, wouldn't it be better to use here #pragma push_macro/pop_macro > with undefine instead? > > Btw, in what context you hit this issue that within C++ _Bool was > defined already? > > Regards, > Kai > > 2016-05-25 13:26 GMT

[Mingw-w64-public] [PATCH] yvals.h: Don't create a _Bool typedef if a macro already exists

2016-05-25 Thread Hugo Beauzée-Luyssen
--- mingw-w64-headers/crt/yvals.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mingw-w64-headers/crt/yvals.h b/mingw-w64-headers/crt/yvals.h index 70593c4..98b6921 100644 --- a/mingw-w64-headers/crt/yvals.h +++ b/mingw-w64-headers/crt/yvals.h @@ -163,10 +163,12 @@ #define _Restrict

Re: [Mingw-w64-public] Restore deleted VirtualFree declaration

2016-05-24 Thread Hugo Beauzée-Luyssen
On 05/24/2016 12:44 PM, Kai Tietz wrote: > So, this thread is complete with ok in different thread, right? > > Regards, > Kai > > 2016-05-24 11:24 GMT+02:00 Hugo Beauzée-Luyssen <h...@beauzee.fr>: >> On 05/24/2016 11:19 AM, Hugo Beauzée-Luyssen wrote: >>>

[Mingw-w64-public] [PATCH] headers: Fix VirtualFree declaration scope

2016-05-24 Thread Hugo Beauzée-Luyssen
It is available on desktop apps since XP, and on store apps since Windows 10 --- mingw-w64-headers/include/memoryapi.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mingw-w64-headers/include/memoryapi.h b/mingw-w64-headers/include/memoryapi.h index 46e18c4..0a2fbd7

Re: [Mingw-w64-public] Restore deleted VirtualFree declaration

2016-05-24 Thread Hugo Beauzée-Luyssen
On 05/24/2016 11:19 AM, Hugo Beauzée-Luyssen wrote: > On 05/24/2016 06:56 AM, Mateusz wrote: >> Restore deleted VirtualFree declaration >> >> Without VirtualFree declaration I can't compile mingw-w64/gcc >> toolchain on

Re: [Mingw-w64-public] Restore deleted VirtualFree declaration

2016-05-24 Thread Hugo Beauzée-Luyssen
On 05/24/2016 06:56 AM, Mateusz wrote: Restore deleted VirtualFree declaration Without VirtualFree declaration I can't compile mingw-w64/gcc toolchain on Ubuntu. Please review. -- Mobile security can be enabling,

Re: [Mingw-w64-public] [PATCH 3/7] crt: Add msvcr120_app for arm

2016-05-19 Thread Hugo Beauzée-Luyssen
On 05/18/2016 05:06 PM, Hugo Beauzée-Luyssen wrote: > --- > mingw-w64-crt/Makefile.am |5 +- > mingw-w64-crt/libarm32/msvcr120_app.def.in | 1595 > > 2 files changed, 1598 insertions(+), 2 deletions(-) > create mode 10

[Mingw-w64-public] [PATCH 5/7] crt: Add VirtualAllocFromApp to kernel32.def

2016-05-18 Thread Hugo Beauzée-Luyssen
--- mingw-w64-crt/lib32/kernel32.def | 1 + mingw-w64-crt/lib64/kernel32.def | 1 + mingw-w64-crt/libarm32/kernel32.def | 1 + mingw-w64-headers/include/memoryapi.h | 3 +++ 4 files changed, 6 insertions(+) diff --git a/mingw-w64-crt/lib32/kernel32.def

[Mingw-w64-public] [PATCH 3/7] crt: Add msvcr120_app for arm

2016-05-18 Thread Hugo Beauzée-Luyssen
--- mingw-w64-crt/Makefile.am |5 +- mingw-w64-crt/libarm32/msvcr120_app.def.in | 1595 2 files changed, 1598 insertions(+), 2 deletions(-) create mode 100644 mingw-w64-crt/libarm32/msvcr120_app.def.in diff --git a/mingw-w64-crt/Makefile.am

[Mingw-w64-public] [PATCH 4/7] crt: Add MapViewOfFileFromApp to kernel32.def

2016-05-18 Thread Hugo Beauzée-Luyssen
--- mingw-w64-crt/lib32/kernel32.def | 1 + mingw-w64-crt/lib64/kernel32.def | 1 + 2 files changed, 2 insertions(+) diff --git a/mingw-w64-crt/lib32/kernel32.def b/mingw-w64-crt/lib32/kernel32.def index 845131c..7552e6e 100644 --- a/mingw-w64-crt/lib32/kernel32.def +++

[Mingw-w64-public] [PATCH 7/7] headers: VirtualFree is allowed on WinRT

2016-05-18 Thread Hugo Beauzée-Luyssen
--- mingw-w64-headers/include/memoryapi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-headers/include/memoryapi.h b/mingw-w64-headers/include/memoryapi.h index 6263d3c..1fb9ffd 100755 --- a/mingw-w64-headers/include/memoryapi.h +++

[Mingw-w64-public] [PATCH 1/7] crt: Add libruntimeobject to arm lib

2016-05-18 Thread Hugo Beauzée-Luyssen
--- mingw-w64-crt/Makefile.am | 6 ++ .../libarm32/api-ms-win-core-winrt-l1-1-0.def | 9 .../api-ms-win-core-winrt-string-l1-1-0.def| 25 ++ mingw-w64-crt/libarm32/runtimeobject.mri | 5 + 4 files changed, 45

[Mingw-w64-public] [PATCH 2/7] crt: Add e_pow.c to the source list

2016-05-18 Thread Hugo Beauzée-Luyssen
--- mingw-w64-crt/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am index aa198bd..52d1dc7 100644 --- a/mingw-w64-crt/Makefile.am +++ b/mingw-w64-crt/Makefile.am @@ -348,7 +348,7 @@ src_libmingwex32=\ # these

[Mingw-w64-public] [PATCH 6/7] crt: Add missing CreateFileMappingFromApp symbols to kernel32.lib

2016-05-18 Thread Hugo Beauzée-Luyssen
--- mingw-w64-crt/lib32/kernel32.def | 1 + mingw-w64-crt/lib64/kernel32.def | 1 + 2 files changed, 2 insertions(+) diff --git a/mingw-w64-crt/lib32/kernel32.def b/mingw-w64-crt/lib32/kernel32.def index a9dc5d4..0435d8d 100644 --- a/mingw-w64-crt/lib32/kernel32.def +++

[Mingw-w64-public] [PATCH] math.h: Fix arm build

2016-05-13 Thread Hugo Beauzée-Luyssen
--- mingw-w64-headers/crt/math.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mingw-w64-headers/crt/math.h b/mingw-w64-headers/crt/math.h index 171208f..d855a0f 100644 --- a/mingw-w64-headers/crt/math.h +++ b/mingw-w64-headers/crt/math.h @@ -431,7 +431,7 @@ typedef

[Mingw-w64-public] [PATCH 1/4] winstorecompat: Provide a few crypto functions

2016-05-11 Thread Hugo Beauzée-Luyssen
instorecompat/src/Crypto.c new file mode 100644 index 000..4d58e9e --- /dev/null +++ b/mingw-w64-libraries/winstorecompat/src/Crypto.c @@ -0,0 +1,113 @@ +/* +Copyright (c) 2016 mingw-w64 project + +Contributing authors: Steve Lhomme, Hugo Beauzée-Luyssen + +Permission is hereb

[Mingw-w64-public] [PATCH] headers: fileapi: GetTempPath is allowed on winrt

2016-05-09 Thread Hugo Beauzée-Luyssen
--- mingw-w64-headers/include/fileapi.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mingw-w64-headers/include/fileapi.h b/mingw-w64-headers/include/fileapi.h index a6ad549..eb7ccc9 100755 --- a/mingw-w64-headers/include/fileapi.h +++

[Mingw-w64-public] [PATCH] crt: Add missing snprintf aliases

2016-04-29 Thread Hugo Beauzée-Luyssen
--- mingw-w64-crt/lib32/msvcr120_app.def.in | 1 + mingw-w64-crt/lib64/msvcr120_app.def.in | 1 + 2 files changed, 2 insertions(+) diff --git a/mingw-w64-crt/lib32/msvcr120_app.def.in b/mingw-w64-crt/lib32/msvcr120_app.def.in index 579edb3..bb1f214 100644 ---

[Mingw-w64-public] [PATCH] msvcr120: Add missing time alias for 64bits version

2016-04-28 Thread Hugo Beauzée-Luyssen
--- mingw-w64-crt/lib64/msvcr120.def.in | 1 + 1 file changed, 1 insertion(+) diff --git a/mingw-w64-crt/lib64/msvcr120.def.in b/mingw-w64-crt/lib64/msvcr120.def.in index 8784981..20efe3b 100644 --- a/mingw-w64-crt/lib64/msvcr120.def.in +++ b/mingw-w64-crt/lib64/msvcr120.def.in @@ -1531,6

[Mingw-w64-public] [PATCH] GetModuleFileName is allowed on winrt

2016-04-22 Thread Hugo Beauzée-Luyssen
--- mingw-w64-headers/include/libloaderapi.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mingw-w64-headers/include/libloaderapi.h b/mingw-w64-headers/include/libloaderapi.h index 765a63f..e26b3d7 100755 --- a/mingw-w64-headers/include/libloaderapi.h +++

[Mingw-w64-public] [PATCH] Merge libapi-ms-... into libruntimeobject

2016-04-20 Thread Hugo Beauzée-Luyssen
--- mingw-w64-crt/Makefile.am | 16 + mingw-w64-crt/Makefile.in | 39 -- mingw-w64-crt/lib32/Makefile.am| 2 +- .../lib32/api-ms-win-core-winrt-l1-1-0.def | 9 +

[Mingw-w64-public] [PATCH 3/5] Revert "Added libruntimeobject.a and use it instead of api-*.a files."

2016-04-20 Thread Hugo Beauzée-Luyssen
This reverts commit f3f8cd3173d82fa6f4ae31ecf8189e5ff19b1ca9. --- mingw-w64-crt/Makefile.am | 3 +- mingw-w64-crt/Makefile.in | 39 -- mingw-w64-crt/lib32/Makefile.am| 3 +-

[Mingw-w64-public] [PATCH 5/5] Merge libapi-ms-... into libruntimeobject

2016-04-20 Thread Hugo Beauzée-Luyssen
Using a single .def file seems to make the WACK confused --- mingw-w64-crt/Makefile.am | 19 +++ mingw-w64-crt/lib32/Makefile.am| 3 +-- mingw-w64-crt/lib32/runtimeobject.mri | 5 + mingw-w64-crt/lib64/runtimeobject.mri | 5 +

[Mingw-w64-public] [PATCH 1/5] QueueUserAPC is allowed on Windows 10

2016-04-20 Thread Hugo Beauzée-Luyssen
--- mingw-w64-headers/include/processthreadsapi.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mingw-w64-headers/include/processthreadsapi.h b/mingw-w64-headers/include/processthreadsapi.h index c04e79c..f8c1480 100755 --- a/mingw-w64-headers/include/processthreadsapi.h +++

[Mingw-w64-public] [PATCH 2/5] _begin/endthread(ex) are not allowed on winrt

2016-04-20 Thread Hugo Beauzée-Luyssen
gw-w64-libraries/winstorecompat/src/beginthread.c new file mode 100644 index 000..bae4a6a --- /dev/null +++ b/mingw-w64-libraries/winstorecompat/src/beginthread.c @@ -0,0 +1,54 @@ +/* +Copyright (c) 2016 mingw-w64 project + +Contributing authors: Hugo Beauzée-Luyssen + +Perm

[Mingw-w64-public] [PATCH 4/5] processthreadsapi: Also define {TLS|FLS}_OUT_OF_INDEXES for winrt

2016-04-20 Thread Hugo Beauzée-Luyssen
These macros are used to check for TlsAlloc & FlsAlloc success. Both these functions are allowed on winrt --- mingw-w64-headers/include/processthreadsapi.h | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mingw-w64-headers/include/processthreadsapi.h

Re: [Mingw-w64-public] [PATCH] _begin/endthread(ex) are not allowed on winrt

2016-04-13 Thread Hugo Beauzée-Luyssen
On 04/13/2016 02:48 PM, Hugo Beauzée-Luyssen wrote: > Provide a redirection from _beginthreadex -> CreateThread _endthread -> > ExitThread, as the documentation recommends. > --- > mingw-w64-libraries/winstorecompat/Makefile.am | 1 + > .../winstorecom

[Mingw-w64-public] [PATCH] _begin/endthread(ex) are not allowed on winrt

2016-04-13 Thread Hugo Beauzée-Luyssen
gw-w64-libraries/winstorecompat/src/beginthread.c new file mode 100644 index 000..bae4a6a --- /dev/null +++ b/mingw-w64-libraries/winstorecompat/src/beginthread.c @@ -0,0 +1,54 @@ +/* +Copyright (c) 2016 mingw-w64 project + +Contributing authors: Hugo Beauzée-Luyssen + +Perm

[Mingw-w64-public] [PATCH] _begin/endthread(ex) are not allowed on winrt

2016-04-13 Thread Hugo Beauzée-Luyssen
gw-w64-libraries/winstorecompat/src/beginthread.c new file mode 100644 index 000..0d24ea0 --- /dev/null +++ b/mingw-w64-libraries/winstorecompat/src/beginthread.c @@ -0,0 +1,54 @@ +/* +Copyright (c) 2016 mingw-w64 project + +Contributing authors: Hugo Beauzée-Luyssen + +Perm

Re: [Mingw-w64-public] [PATCH] _begin/endthread(ex) are not allowed on winrt

2016-04-13 Thread Hugo Beauzée-Luyssen
On 04/13/2016 01:30 PM, Kai Tietz wrote: > Hi, > > I don't see that adding psdk header dependency to our crt header is > something sane. Why is this change in crt headers at all necessary? > > Kai > > 2016-04-13 13:05 GMT+02:00 Hugo Beauzée-Luyssen <h...@beauzee.fr>:

[Mingw-w64-public] [PATCH] _begin/endthread(ex) are not allowed on winrt

2016-04-13 Thread Hugo Beauzée-Luyssen
ead.c new file mode 100644 index 000..0d24ea0 --- /dev/null +++ b/mingw-w64-libraries/winstorecompat/src/beginthread.c @@ -0,0 +1,54 @@ +/* +Copyright (c) 2016 mingw-w64 project + +Contributing authors: Hugo Beauzée-Luyssen + +Permission is hereby granted, free of charge, to any pe

[Mingw-w64-public] [PATCH 2/5] msvcr120: Add missing symbols

2016-04-08 Thread Hugo Beauzée-Luyssen
--- mingw-w64-crt/lib32/msvcr120.def.in | 17 + mingw-w64-crt/lib32/msvcr120d.def.in | 17 + mingw-w64-crt/lib64/msvcr120.def.in | 16 mingw-w64-crt/lib64/msvcr120d.def.in | 16 4 files changed, 66 insertions(+) diff --git

[Mingw-w64-public] [PATCH 3/5] wincrypt: Fix some WINAPI_FAMILY restrictions

2016-04-08 Thread Hugo Beauzée-Luyssen
Quite a few crypto/cert functions are available when building for WINAPI_FAMILY_APP --- mingw-w64-headers/include/wincrypt.h | 29 ++--- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/mingw-w64-headers/include/wincrypt.h

Re: [Mingw-w64-public] [PATCH 4/9] winstorecompat: Provide a CreateFileA replacement

2016-04-07 Thread Hugo Beauzée-Luyssen
On 04/01/2016 12:16 PM, Jacek Caban wrote: > Hi Hugo, > > On 03/31/16 18:07, Hugo Beauzée-Luyssen wrote: >> --- a/mingw-w64-libraries/winstorecompat/src/CreateFileW.c >> +++ b/mingw-w64-libraries/winstorecompat/src/CreateFileW.c >> @@ -25,8 +25,10 @@ >> #define

Re: [Mingw-w64-public] [PATCH 9/9] winstorecompat: Suppress calls to GetFileAttributesA

2016-04-07 Thread Hugo Beauzée-Luyssen
On 04/01/2016 01:25 PM, Jacek Caban wrote: > Hi Hugo, > > On 04/01/16 13:14, Hugo Beauzée-Luyssen wrote: >> >> I agree, that's the better solution on the paper. >> However, I had quite a few symbols that I didn't manage to find the >> callsite for, so I assumed it

Re: [Mingw-w64-public] [PATCH] msvcr120: Add missing symbols

2016-04-01 Thread Hugo Beauzée-Luyssen
On 04/01/2016 01:20 PM, Hugo Beauzée-Luyssen wrote: > --- > mingw-w64-crt/lib32/msvcr120.def.in | 8 > mingw-w64-crt/lib32/msvcr120d.def.in | 8 > 2 files changed, 16 insertions(+) > > diff --git a/mingw-w64-crt/lib32/msvcr120.def.in > b/mingw-w64-crt/

[Mingw-w64-public] [PATCH] msvcr120: Add missing symbols

2016-04-01 Thread Hugo Beauzée-Luyssen
--- mingw-w64-crt/lib32/msvcr120.def.in | 8 mingw-w64-crt/lib32/msvcr120d.def.in | 8 2 files changed, 16 insertions(+) diff --git a/mingw-w64-crt/lib32/msvcr120.def.in b/mingw-w64-crt/lib32/msvcr120.def.in index 32094fd..6746b20 100644 ---

Re: [Mingw-w64-public] [PATCH 9/9] winstorecompat: Suppress calls to GetFileAttributesA

2016-04-01 Thread Hugo Beauzée-Luyssen
On 04/01/2016 12:18 PM, Jacek Caban wrote: > On 03/31/16 18:07, Hugo Beauzée-Luyssen wrote: >> --- >> mingw-w64-libraries/winstorecompat/src/GetFileAttributes.c | 9 + >> 1 file changed, 9 insertions(+) >> >> diff --git a/mingw-w64-libraries/winstorecom

[Mingw-w64-public] [PATCH 2/9] winstorecompat: Add 64bits symbols

2016-03-31 Thread Hugo Beauzée-Luyssen
--- mingw-w64-libraries/winstorecompat/src/CoCreateInstance.c | 4 mingw-w64-libraries/winstorecompat/src/CreateEventW.c | 4 mingw-w64-libraries/winstorecompat/src/CreateFileW.c | 4 mingw-w64-libraries/winstorecompat/src/CreateMutexW.c

  1   2   >