Re: [Mingw-w64-public] Bug#755448: fixed in mingw-w64 3.1.0-3

2014-07-26 Thread Rafaël Carré
Hello, On 07/21/14 23:21, Stephen Kitt wrote: > Source: mingw-w64 > Source-Version: 3.1.0-3 > > We believe that the bug you reported is fixed in the latest version of > mingw-w64, which is due to be installed in the Debian FTP archive. > > A summary of the changes between this version and the pr

Re: [Mingw-w64-public] [Poll] Move to git

2014-05-09 Thread Rafaël Carré
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/09/14 15:52, JonY wrote: wavael [x] Yes, move to git [ ] No, continue with SVN -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlNs5vYACgkQYWCeGMCv8Q

Re: [Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency

2014-05-05 Thread Rafaël Carré
On 05/05/14 13:51, YIRAN LI wrote: > 2014-05-05 20:42 GMT+10:00 Rafaël Carré : > >> On 05/05/14 09:19, YIRAN LI wrote: >>> Hi, >>> >>> I'm building an opensource project on mingw32 and found the generated dll >>> depends on libgcc_s_sjlj-

Re: [Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency

2014-05-05 Thread Rafaël Carré
On 05/05/14 09:19, YIRAN LI wrote: > Hi, > > I'm building an opensource project on mingw32 and found the generated dll > depends on libgcc_s_sjlj-1.dll. The function referenced is __divdi3. > > I tried to add ldflags = -static- libgcc, but seems it doesn't work. > > Could any one let me know ho

Re: [Mingw-w64-public] [PATCH] shobjidl: use __forceinline

2013-11-18 Thread Rafaël Carré
Le 18/11/2013 20:48, Kai Tietz a écrit : > Patch is ok. > > Thanks, > Kai r6379, thanks -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R)

[Mingw-w64-public] [PATCH] shobjidl: use __forceinline

2013-11-18 Thread Rafaël Carré
If the functions are not inlined, they introduce a dependency on ole32.dll or shell32.dll --- mingw-w64-headers/include/shobjidl.h | 22 +++--- mingw-w64-headers/include/shobjidl.idl | 22 +++--- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/mi

Re: [Mingw-w64-public] [PATCH] gai_strerrorA: reimplement without FormatMessageA

2013-11-16 Thread Rafaël Carré
Le 16/11/2013 23:52, Kai Tietz a écrit : > Patch is fine. > > Please apply. > Kai r6376, thanks -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and

Re: [Mingw-w64-public] [PATCH 1/2] Keep CreateSemaphore(W) prototype on Windows Store builds, if WINSTORECOMPAT is defined

2013-11-16 Thread Rafaël Carré
Le 16/11/2013 23:51, Kai Tietz a écrit : > Patch is ok, > > Thanks, > Kai r6373, thanks -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and Externa

Re: [Mingw-w64-public] [PATCH 2/2] CoCreateInstance / CoCreateInstanceEx: force inlining on Windows Store

2013-11-16 Thread Rafaël Carré
Le 16/11/2013 23:50, Kai Tietz a écrit : > Ok, > > thanks, > Kai r6374, thanks -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Acc

[Mingw-w64-public] [PATCH] gai_strerrorA: reimplement without FormatMessageA

2013-11-16 Thread Rafaël Carré
(forbidden in Windows Store) --- mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c b/mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c index 8f7f679..ebdc06a 100644 --- a/mingw-w64-crt/li

[Mingw-w64-public] [PATCH 2/2] CoCreateInstance / CoCreateInstanceEx: force inlining on Windows Store

2013-11-16 Thread Rafaël Carré
Avoid multiple symbol definitions when linking several .o together --- mingw-w64-headers/include/combaseapi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mingw-w64-headers/include/combaseapi.h b/mingw-w64-headers/include/combaseapi.h index b79c4db..3536e25 100644 --- a

[Mingw-w64-public] [PATCH 1/2] Keep CreateSemaphore(W) prototype on Windows Store builds, if WINSTORECOMPAT is defined

2013-11-16 Thread Rafaël Carré
--- mingw-w64-headers/include/winbase.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mingw-w64-headers/include/winbase.h b/mingw-w64-headers/include/winbase.h index 93a0eb6..30acd12 100644 --- a/mingw-w64-headers/include/winbase.h +++ b/mingw-w64-headers/include/winba

Re: [Mingw-w64-public] [PATCH 1/5] gai_strerrorA: reimplement without FormatMessageA (forbidden in Windows Store)

2013-11-16 Thread Rafaël Carré
Le 16/11/2013 22:40, Kai Tietz a écrit : > 2013/11/16 Rafaël Carré : >> --- >> mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c | 13 - >> 1 file changed, 8 insertions(+), 5 deletions(-) >> >> diff --git a/mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c &

Re: [Mingw-w64-public] [PATCH 2/5] More Windows Store forbidden APIs

2013-11-16 Thread Rafaël Carré
Le 16/11/2013 22:37, Kai Tietz a écrit : > Patch is ok. > > Thanks, > Kai Applied as r6372, thanks -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage

Re: [Mingw-w64-public] [PATCH 4/5] winstorecompat: *QueueTimer replacements (deactivated for now)

2013-11-16 Thread Rafaël Carré
Le 16/11/2013 19:03, Rafaël Carré a écrit : > --- > mingw-w64-libraries/winstorecompat/Makefile.am | 1 + > .../winstorecompat/src/QueueTimer.c| 49 > ++ > 2 files changed, 50 insertions(+) > create mode 100644 mingw-w64-libraries/

Re: [Mingw-w64-public] Windows 8 Store patches

2013-11-16 Thread Rafaël Carré
Le 16/11/2013 19:03, Rafaël Carré a écrit : > Hello, > > As you probably know we have been working on VLC for Windows Store for > a long time already. > > Here are the latest patches we have to be able to build vlc.git without > using forbidden symbols that would fail us a

[Mingw-w64-public] [PATCH 3/5] Reimplement SHGetFolderPathW using WinRT functions

2013-11-16 Thread Rafaël Carré
index 9ae7d3c..c15136f 100644 --- a/mingw-w64-libraries/winstorecompat/src/SHGetFolderPathW.c +++ b/mingw-w64-libraries/winstorecompat/src/SHGetFolderPathW.c @@ -1,7 +1,8 @@ /* Copyright (c) 2013 mingw-w64 project -Contributing authors: Rafaël Carré +Contributing authors: Jean-Baptiste

[Mingw-w64-public] [PATCH 2/5] More Windows Store forbidden APIs

2013-11-16 Thread Rafaël Carré
--- mingw-w64-headers/include/shellapi.h | 4 1 file changed, 4 insertions(+) diff --git a/mingw-w64-headers/include/shellapi.h b/mingw-w64-headers/include/shellapi.h index c036978..4d3a2ef 100644 --- a/mingw-w64-headers/include/shellapi.h +++ b/mingw-w64-headers/include/shellapi.h @@ -297,

[Mingw-w64-public] [PATCH 5/5] Fix declarations in headers

2013-11-16 Thread Rafaël Carré
--- mingw-w64-headers/include/combaseapi.h | 2 +- mingw-w64-headers/include/shobjidl.h | 3 ++- mingw-w64-headers/include/winbase.h| 2 +- mingw-w64-headers/include/winnls.h | 6 +++--- mingw-w64-headers/include/ws2tcpip.h | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff

[Mingw-w64-public] [PATCH 4/5] winstorecompat: *QueueTimer replacements (deactivated for now)

2013-11-16 Thread Rafaël Carré
+1,49 @@ +/* +Copyright (c) 2013 mingw-w64 project + +Contributing authors: Rafaël Carré + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Softwa

[Mingw-w64-public] Windows 8 Store patches

2013-11-16 Thread Rafaël Carré
Hello, As you probably know we have been working on VLC for Windows Store for a long time already. Here are the latest patches we have to be able to build vlc.git without using forbidden symbols that would fail us at the validation step, using Microsoft Windows App Cert Kit (WACK). Those are

[Mingw-w64-public] [PATCH 1/5] gai_strerrorA: reimplement without FormatMessageA (forbidden in Windows Store)

2013-11-16 Thread Rafaël Carré
--- mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c b/mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c index 8f7f679..956f84f 100644 --- a/mingw-w64-crt/libsrc/ws2tcpip/gai_s

Re: [Mingw-w64-public] [PATCH 1/2] synchapi.h: APIs are not forbidden on Windows Store

2013-08-19 Thread Rafaël Carré
Le 19/08/2013 11:58, Jacek Caban a écrit : > On 08/19/13 06:38, Rafaël Carré wrote: >> Le 18/08/2013 21:43, Kai Tietz a écrit : >>> 2013/8/15 Rafaël Carré : >>>> --- >>>> mingw-w64-headers/include/synchapi.h | 5 - >>>> 1 file changed, 5

Re: [Mingw-w64-public] [PATCH] EnumResourceLanguages*: add missing declarations

2013-08-19 Thread Rafaël Carré
Le 19/08/2013 12:06, Kai Tietz a écrit : > Patch is ok. > > Thanks, > Kai Applied as r6097 -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get d

Re: [Mingw-w64-public] Trunk[r6090] broken on redefinition of 'IID_*'

2013-08-19 Thread Rafaël Carré
Le 19/08/2013 09:02, Dongsheng Song a écrit : > cauchy@CRM-SYSLOG:~/obj/i686-w64-mingw32-gcc48/mingw-w64-crt$ make > make all-am > make[1]: Entering directory > `/home/cauchy/obj/i686-w64-mingw32-gcc48/mingw-w64-crt' > i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. > -I/home/cauchy/vcs/svn/mingw-w64/tru

[Mingw-w64-public] [PATCH] EnumResourceLanguages*: add missing declarations

2013-08-18 Thread Rafaël Carré
EnumResourceLanguagesEx define was missing EnumResourceLanguages prototypes were not declared for _WIN32_WINNT < 0x600 --- mingw-w64-headers/include/libloaderapi.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mingw-w64-headers/include/libloaderapi.h b/mingw-w64-header

Re: [Mingw-w64-public] WinRT idl APIs

2013-08-18 Thread Rafaël Carré
Le 15/08/2013 15:18, Jean-Baptiste Kempf a écrit : > This set of patches implement some of the WinRT idls 0002-0005 applied as r6087 - r6090 -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free tr

Re: [Mingw-w64-public] [PATCH 1/2] synchapi.h: APIs are not forbidden on Windows Store

2013-08-18 Thread Rafaël Carré
Le 18/08/2013 21:43, Kai Tietz a écrit : > 2013/8/15 Rafaël Carré : >> --- >> mingw-w64-headers/include/synchapi.h | 5 - >> 1 file changed, 5 deletions(-) >> >> diff --git a/mingw-w64-headers/include/synchapi.h >> b/mingw-w64-headers/include/sync

[Mingw-w64-public] [PATCH 1/2] synchapi.h: APIs are not forbidden on Windows Store

2013-08-15 Thread Rafaël Carré
--- mingw-w64-headers/include/synchapi.h | 5 - 1 file changed, 5 deletions(-) diff --git a/mingw-w64-headers/include/synchapi.h b/mingw-w64-headers/include/synchapi.h index 4e4e2aa..d9a94ed 100755 --- a/mingw-w64-headers/include/synchapi.h +++ b/mingw-w64-headers/include/synchapi.h @@ -14,7

[Mingw-w64-public] [PATCH 2/2] More Windows Store forbidden APIs

2013-08-15 Thread Rafaël Carré
--- mingw-w64-headers/include/shellapi.h | 4 mingw-w64-headers/include/winbase.h | 18 ++ 2 files changed, 22 insertions(+) diff --git a/mingw-w64-headers/include/shellapi.h b/mingw-w64-headers/include/shellapi.h index 9145f06..050c6ab 100644 --- a/mingw-w64-headers/inclu

Re: [Mingw-w64-public] [RFC] Single filename per line in Makefiles

2013-08-02 Thread Rafaël Carré
Hi, Le 02/08/2013 20:59, Derek Buitenhuis a écrit : > As it stands right now, the grouping and wrapping of filenames > in MinGW-w64's Makefiles makes tracking or viewing changes in > version control very very hard, and makes it non-obvious what has > changed. > > I propose that it move to a sorte

Re: [Mingw-w64-public] [PATCH] Remove reference to strnlen from msvcrt.def

2013-07-18 Thread Rafaël Carré
Hello, Le 18/07/2013 21:49, Erik van Pienbroek a écrit : > Hi, > > We recently received some bug reports that executables compiled with > mingw-w64 couldn't be executed on Windows XP environments. Users > would get fatal error messages which indicate that the symbol strnlen > couldn't be found in

Re: [Mingw-w64-public] [PATCH] winbase: define out Virtual* functions for Windows Store apps

2013-07-11 Thread Rafaël Carré
Le 11/07/2013 19:01, Kai Tietz a écrit : > 2013/7/10 Rafaël Carré : >> --- >> mingw-w64-headers/include/winbase.h | 2 ++ >> 1 file changed, 2 insertions(+) > Patch is ok. Please apply. Co

[Mingw-w64-public] [PATCH] winbase: define out Virtual* functions for Windows Store apps

2013-07-10 Thread Rafaël Carré
--- mingw-w64-headers/include/winbase.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mingw-w64-headers/include/winbase.h b/mingw-w64-headers/include/winbase.h index b392b11..5f5d87e 100644 --- a/mingw-w64-headers/include/winbase.h +++ b/mingw-w64-headers/include/winbase.h @@ -1165,11 +11

[Mingw-w64-public] [PATCH] mstcpip.h, wincrypt.h, ws2tcpip.h : WINAPI_PARTITION_APP fixes

2013-07-10 Thread Rafaël Carré
These headers can now be used in Windows Store apps --- mingw-w64-headers/include/mstcpip.h | 4 mingw-w64-headers/include/wincrypt.h | 5 + mingw-w64-headers/include/ws2tcpip.h | 5 + 3 files changed, 14 insertions(+) diff --git a/mingw-w64-headers/include/mstcpip.h b/mingw-w64-he

Re: [Mingw-w64-public] [PATCH] Fix stray BOOL struct member breaking ObjectiveC

2013-07-09 Thread Rafaël Carré
Applied as r5939 with ChangeLog date set to today Le 09/07/2013 16:46, Kai Tietz a écrit : > Hi Roland, > > thanks for the patch. Patch is ok. Please apply. > > Regards, > Kai > > 2013/7/9 Roland Schwingel : >> Hi ... >> >> Mingw-w64 headers do use WINBOOL instead of BOOL as boolean data type

[Mingw-w64-public] [PATCH v3] ___lc_codepage_func: use correct name and link emul only for 32bits msvcrt

2013-07-02 Thread Rafaël Carré
based on a patch by Jacek --- mingw-w64-crt/Makefile.am | 6 -- mingw-w64-crt/lib32/msvcrt.def.in | 2 +- mingw-w64-crt/misc/btowc.c | 2 +- mingw-w64-crt/misc/lc_locale_func.c | 8 mingw-w64-crt/misc/mb_wc_common.h | 2 +- mingw-w64-crt/misc/mbrtowc.c|

[Mingw-w64-public] [PATCH v2] ___lc_codepage_func: use correct name and use emul only for 32bits msvcrt

2013-07-02 Thread Rafaël Carré
based on a patch by Jacek --- mingw-w64-crt/lib32/msvcrt.def.in | 2 +- mingw-w64-crt/misc/btowc.c | 2 +- mingw-w64-crt/misc/lc_locale_func.c | 8 mingw-w64-crt/misc/mb_wc_common.h | 2 +- mingw-w64-crt/misc/mbrtowc.c| 6 +++--- mingw-w64-crt/misc/wcrtomb.c|

Re: [Mingw-w64-public] [PATCH] ___lc_codepage_func: use correct name and export from all versions of MSVCRT

2013-06-27 Thread Rafaël Carré
Le 27/06/2013 18:33, Kai Tietz a écrit : > 2013/6/27 Jacek Caban : >> On 06/27/13 18:11, Rafaël Carré wrote: >>> Le 27/06/2013 17:17, Earnie Boyd a écrit : >>>> On Thu, Jun 27, 2013 at 10:21 AM, Rafaël Carré wrote: >>>>> However ___lc_codepage_f

Re: [Mingw-w64-public] [PATCH] ___lc_codepage_func: use correct name and export from all versions of MSVCRT

2013-06-27 Thread Rafaël Carré
Le 27/06/2013 17:17, Earnie Boyd a écrit : > On Thu, Jun 27, 2013 at 10:21 AM, Rafaël Carré wrote: >> However ___lc_codepage_func seems to be also present in msvcrt.dll so >> why do we need emul? > > That depends on the version of MSVCRT.DLL on the users system. It i

Re: [Mingw-w64-public] [PATCH] ___lc_codepage_func: use correct name and export from all versions of MSVCRT

2013-06-27 Thread Rafaël Carré
Le 27/06/2013 15:14, Jacek Caban a écrit : > Hi Rafaël, > > On 06/26/13 22:53, Rafaël Carré wrote: >> based on a patch by Jacek > > Thanks for taking care of this! > >> --- >> mingw-w64-crt/def-include/msvcrt-common.def.in | 2 ++ >> mingw-w6

[Mingw-w64-public] [PATCH] ___lc_codepage_func: use correct name and export from all versions of MSVCRT

2013-06-26 Thread Rafaël Carré
based on a patch by Jacek --- mingw-w64-crt/def-include/msvcrt-common.def.in | 2 ++ mingw-w64-crt/lib32/msvcrt.def.in | 1 - mingw-w64-crt/lib64/msvcrt.def.in | 1 - mingw-w64-crt/misc/btowc.c | 2 +- mingw-w64-crt/misc/lc_locale_func.c| 8

Re: [Mingw-w64-public] [PATCH] x64 msvcrt doesn't provide _{get, set}_output_format

2013-06-21 Thread Rafaël Carré
Le 21/06/2013 17:16, Kai Tietz a écrit : > 2013/6/21 Rafaël Carré : >> --- >> mingw-w64-crt/lib64/msvcrt.def.in | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/mingw-w64-crt/lib64/msvcrt.def.in >> b/mingw-w64-crt/lib64/

[Mingw-w64-public] [PATCH] x64 msvcrt doesn't provide _{get, set}_output_format

2013-06-21 Thread Rafaël Carré
--- mingw-w64-crt/lib64/msvcrt.def.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mingw-w64-crt/lib64/msvcrt.def.in b/mingw-w64-crt/lib64/msvcrt.def.in index b678a89..14f6083 100644 --- a/mingw-w64-crt/lib64/msvcrt.def.in +++ b/mingw-w64-crt/lib64/msvcrt.def.in @@ -338

[Mingw-w64-public] [PATCH] Make dxva2api.h compilable without d3d9.h

2013-06-11 Thread Rafaël Carré
--- mingw-w64-headers/include/dxva2api.h | 10 +- mingw-w64-headers/include/dxva2api.idl | 8 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/mingw-w64-headers/include/dxva2api.h b/mingw-w64-headers/include/dxva2api.h index 3ab4842..c75474e 100644 --- a/mingw-w6

[Mingw-w64-public] [PATCH] dxva2api.h: include d3d9.h

2013-06-10 Thread Rafaël Carré
--- mingw-w64-headers/include/dxva2api.h | 2 ++ mingw-w64-headers/include/dxva2api.idl | 2 ++ 2 files changed, 4 insertions(+) diff --git a/mingw-w64-headers/include/dxva2api.h b/mingw-w64-headers/include/dxva2api.h index 3ab4842..bb67f3c 100644 --- a/mingw-w64-headers/include/dxva2api.h +++

Re: [Mingw-w64-public] [PATCH 2/2] Add roapi.h and api-ms-win-core-winrt-l1-1-0.dll imports

2013-06-08 Thread Rafaël Carré
Le 08/06/2013 21:11, Kai Tietz a écrit : > Patch is ok. the ro-part need some more love, but as starting point Yes this is only a starting point, missing e.g. roerrorapi.h / winrt.h > patch is ok. Applied both patches as r5884 and r5885 > Thanks, > Kai ---

[Mingw-w64-public] [PATCH 1/2] Implement libruntimeobject.a with a linker script

2013-06-08 Thread Rafaël Carré
Rename current runtimeobject to api-ms-win-core-winrt-string-l1-1-0 We will INPUT() for other libs when they are added --- mingw-w64-crt/Makefile.am | 4 +-- mingw-w64-crt/Makefile.in | 4 ++- .../lib32/api-ms-win-core-winrt-string-l1-1-0.def |

[Mingw-w64-public] [PATCH 2/2] Add roapi.h and api-ms-win-core-winrt-l1-1-0.dll imports

2013-06-08 Thread Rafaël Carré
--- mingw-w64-crt/Makefile.am | 6 ++-- mingw-w64-crt/Makefile.in | 4 ++- .../lib32/api-ms-win-core-winrt-l1-1-0.def | 9 + mingw-w64-crt/lib32/libruntimeobject.a | 1 + .../lib64/api-ms-win-core-winrt-l1-1-0.def

[Mingw-w64-public] [PATCH] Implement libruntimeobject.a with a linker script

2013-06-07 Thread Rafaël Carré
Rename current runtimeobject to api-ms-win-core-winrt-string-l1-1-0 We will INPUT() for other libs when they are added --- mingw-w64-crt/Makefile.am | 4 ++-- mingw-w64-crt/Makefile.in | 4 +++- .../{runtimeobj

[Mingw-w64-public] [PATCH] Implement libruntimeobject.a with a linker script

2013-06-07 Thread Rafaël Carré
Rename current runtimeobject to api-ms-win-core-winrt-string-l1-1-0 We will INPUT() for other libs when they are added --- Using forwarders might have been an option but I failed to use them. mingw-w64-crt/Makefile.am | 4 ++-- mingw-w64-crt/Makefile.in

Re: [Mingw-w64-public] Fwd: SourceForge Project Upgrade - Code Repo Complete

2013-06-06 Thread Rafaël Carré
If you want to use public key rather than password authentication with the new server: ssh -t USER,mingw-...@shell.sourceforge.net create ssh-copy-id u...@shell.sourceforge.net Le 06/06/2013 19:20, Kai Tietz a écrit : > Hello everybody, > > Please be aware. Project update happend by SourceForg

Re: [Mingw-w64-public] Fwd: SourceForge Project Upgrade - Code Repo Complete

2013-06-06 Thread Rafaël Carré
If you are a git-svn user, you can update your tree without fetching again the entire history: https://git.wiki.kernel.org/index.php?title=GitSvnSwitch&oldid=21811 Le 06/06/2013 19:20, Kai Tietz a écrit : > Hello everybody, > > Please be aware. Project update happend by SourceForge recently. I

Re: [Mingw-w64-public] [PATCH] Add IInspectable and IActivationFactory IDLs

2013-06-06 Thread Rafaël Carré
Le 06/06/2013 18:25, Rafaël Carré a écrit : > --- > mingw-w64-headers/Makefile.am | 2 + > mingw-w64-headers/Makefile.in | 2 + > mingw-w64-headers/include/activation.h| 154 ++ > mingw-w64-headers/include/activation.idl |

[Mingw-w64-public] [PATCH] Add IInspectable and IActivationFactory IDLs

2013-06-06 Thread Rafaël Carré
--- mingw-w64-headers/Makefile.am | 2 + mingw-w64-headers/Makefile.in | 2 + mingw-w64-headers/include/activation.h| 154 ++ mingw-w64-headers/include/activation.idl | 18 +++ mingw-w64-headers/include/inspectable.h | 178 +++

[Mingw-w64-public] [PATCH] Add IInspectable and IActivationFactory IDLs

2013-06-05 Thread Rafaël Carré
--- mingw-w64-headers/Makefile.am | 2 + mingw-w64-headers/Makefile.in | 2 + mingw-w64-headers/include/activation.h| 132 ++ mingw-w64-headers/include/activation.idl | 16 +++ mingw-w64-headers/include/inspectable.h | 178 +++

Re: [Mingw-w64-public] [PATCH] Add winstring.h, hstring.idl and corresponding runtimeobject imports

2013-06-04 Thread Rafaël Carré
Le 04/06/2013 13:34, Rafaël Carré a écrit : > --- > mingw-w64-crt/Makefile.am | 6 ++- > mingw-w64-crt/lib32/runtimeobject.def | 25 > mingw-w64-crt/lib64/runtimeobject.def | 29 + > mingw-w64-headers/include/h

[Mingw-w64-public] [PATCH] Add winstring.h, hstring.idl and corresponding runtimeobject imports

2013-06-04 Thread Rafaël Carré
--- mingw-w64-crt/Makefile.am | 6 ++- mingw-w64-crt/lib32/runtimeobject.def | 25 mingw-w64-crt/lib64/runtimeobject.def | 29 + mingw-w64-headers/include/hstring.h | 61 +++ mingw-w64-headers/include/hstring.idl | 27 mi

Re: [Mingw-w64-public] [PATCH] Add winstring.h and corresponding runtimeobject imports

2013-06-04 Thread Rafaël Carré
Hello, Le 03/06/2013 16:51, JonY a écrit :> On 6/3/2013 22:18, Rafaël Carré wrote: > >> new file mode 100644 >> index 000..c49fc51 >> --- /dev/null >> +++ b/mingw-w64-crt/lib32/runtimeobject.def >> @@ -0,0 +1,25 @@ >> +LIBRARY "api-ms-win-cor

[Mingw-w64-public] [PATCH] Add winstring.h and corresponding runtimeobject imports

2013-06-03 Thread Rafaël Carré
--- mingw-w64-crt/Makefile.am | 6 +- mingw-w64-crt/lib32/runtimeobject.def | 25 + mingw-w64-crt/lib64/runtimeobject.def | 29 + mingw-w64-headers/include/winstring.h | 202 ++ 4 files changed, 260 insertions(+), 2 deletions(-) create mode

Re: [Mingw-w64-public] __faststorefence and mingw-w64 philosophy

2013-06-03 Thread Rafaël Carré
Le 03/06/2013 13:57, Kai Tietz a écrit : > 2013/6/3 dw : >> 3) Use code like: >> >> __MINGW_INTRIN_INLINE void x__faststorefence(void) { >> >> #ifdef __SSE__ // defined by gcc when sse instructions are available >> asm ("sfence" ::: "memory"); >> #else >> asm ("lock or %[zero], (%%

Re: [Mingw-w64-public] PRIu64 and uint64_t

2013-06-03 Thread Rafaël Carré
Le 03/06/2013 13:00, Gunnar a écrit : > In MinGW564 the code: > > #define __STDC_FORMAT_MACROS 1 > #include > > .. > .. > > uint64_t i = 0; > printf("i = %" PRIu64 "\n", i); > > > > leads to a "unknown conversion type character 'l' in format". In MiGW32 it > compiles witout a warning. > >

Re: [Mingw-w64-public] [PATCH] Fix bug in __stosb - Part2

2013-05-23 Thread Rafaël Carré
Le 23/05/2013 10:04, Kai Tietz a écrit : > 2013/5/23 dw : >> Attached is part 2 of the __stosb patch. It takes the changes part 1 made >> to winnt.h and applies them to the identical code in the crt. >> >> Specifically: >> >> 1) The __buildstos macro has been removed from winnt.h >> 2) __buildstos

Re: [Mingw-w64-public] [PATCH] wassert replacement without forbidden MessageBoxW

2013-05-21 Thread Rafaël Carré
Le 21/05/2013 15:43, Kai Tietz a écrit : > 2013/5/21 Rafaël Carré : >> --- >> mingw-w64-libraries/winstorecompat/Makefile.am| 1 + >> mingw-w64-libraries/winstorecompat/Makefile.in| 10 - >> mingw-w64-libraries/winstorecompat/src/_wassert.c | 50 >&

[Mingw-w64-public] [PATCH] wassert replacement without forbidden MessageBoxW

2013-05-21 Thread Rafaël Carré
dev/null +++ b/mingw-w64-libraries/winstorecompat/src/_wassert.c @@ -0,0 +1,50 @@ +/* +Copyright (c) 2013 mingw-w64 project + +Contributing authors: Rafaël Carré + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associa

[Mingw-w64-public] [PATCH] Clean up _assert / _wassert

2013-05-21 Thread Rafaël Carré
Always import _assert from msvcrt Only use _wassert replacement for msvcrt.dll --- mingw-w64-crt/def-include/msvcrt-common.def.in | 2 ++ mingw-w64-crt/lib32/msvcr100.def.in| 3 +-- mingw-w64-crt/lib32/msvcr110.def.in| 1 - mingw-w64-crt/lib32/msvcr80.def.in

Re: [Mingw-w64-public] [PATCH] Fix bug in __stosb

2013-05-19 Thread Rafaël Carré
Le 19/05/2013 21:53, Kai Tietz a écrit : > thanks for the patch. please apply. > > Kai > Am 19.05.2013 21:44 schrieb "dw" : Committed as r5867 -- AlienVault Unified Security Management (USM) platform delivers complete se

Re: [Mingw-w64-public] [PATCH] Fix bug in __stosb

2013-05-19 Thread Rafaël Carré
Le 19/05/2013 08:55, Václav Zeman a écrit : > On 19 May 2013 05:17, dw wrote: >> There is a bug in __stosb (as well as the other __stos* functions), as >> illustrated by this code (compile with -Os for 64bit): >> >> #include >> #include >> >> #ifndef _AMD64_ >> #error Must be compiled for 64 bit

Re: [Mingw-w64-public] rubenvb's GCC 4.7.3 build

2013-05-08 Thread Rafaël Carré
Hi, Le 08/05/2013 16:06, asmwarrior a écrit : > On 2013-5-5 20:26, Ruben Van Boxem wrote: >> Hi everyone, >> >> I am late to the party, I know, but I am now uploading GCC 4.7.3, built with: >> >> GCC 4.7.4 4.7.4 really? ;) >> MinGW-w64 v2.0.8 >> binutils v2.23.2 >> gdb 7.5 >> >> Available at you

Re: [Mingw-w64-public] [PATCH] Add _daylight _timezone and _tzname

2013-04-27 Thread Rafaël Carré
Le 27/04/2013 16:07, Rafaël Carré a écrit : > Add an alias without underscore > Move the definition to the common header > --- committed as r5821 -- Try New Relic Now & We'll Send You this Cool Shir

[Mingw-w64-public] [PATCH] Add _daylight _timezone and _tzname

2013-04-27 Thread Rafaël Carré
Add an alias without underscore Move the definition to the common header --- mingw-w64-crt/def-include/msvcrt-common.def.in | 7 +++ mingw-w64-crt/lib32/msvcr100.def.in| 3 --- mingw-w64-crt/lib32/msvcr110.def.in| 3 --- mingw-w64-crt/lib32/msvcr80.def.in |

Re: [Mingw-w64-public] [PATCH 0/4] Make libmoldname content available for msvcr*

2013-04-22 Thread Rafaël Carré
Le 20/04/2013 16:36, Rafaël Carré a écrit : > [PATCH 1/4] Include moldname contents in msvcrt.def > Move moldname-msvcrt.def content to the common 'header' > Add macros to generate the proper symbol alias > > [PATCH 2/4] lib64/msvcrt.def: include moldname contents &g

Re: [Mingw-w64-public] [PATCH 2/2] Provide vsnprintf alias for _vsnprintf

2013-04-20 Thread Rafaël Carré
Le 20/04/2013 22:47, Derek Buitenhuis a écrit : > On 2013-04-20 9:05 AM, Rafaël Carré wrote: >> http://msdn.microsoft.com/en-US/library/1kt27hek(v=vs.80).aspx >> >> vsnprintf is identical to _vsnprintf. vsnprintf is included for >> compliance to the ANSI standard

[Mingw-w64-public] [PATCH 1/4] Include moldname contents in msvcrt.def

2013-04-20 Thread Rafaël Carré
Add .def alias for isascii, iscsym, iscsymf, toascii, strcasecmp, strncasecmp and wcscmpi Make libmoldname.a be an empty library --- mingw-w64-crt/Makefile.am |6 +- mingw-w64-crt/def-include/msvcrt-common.def.in | 130 +++- mingw-w64-crt/lib32/moldn

[Mingw-w64-public] [PATCH 0/4] Make libmoldname content available for msvcr*

2013-04-20 Thread Rafaël Carré
[PATCH 1/4] Include moldname contents in msvcrt.def Move moldname-msvcrt.def content to the common 'header' Add macros to generate the proper symbol alias [PATCH 2/4] lib64/msvcrt.def: include moldname contents Repeat the same trick for lib64/msvcrt.def Remove source files that are not needed anym

[Mingw-w64-public] [PATCH 2/4] lib64/msvcrt.def: include moldname contents

2013-04-20 Thread Rafaël Carré
Remove libmoldname sources --- mingw-w64-crt/Makefile.am |7 +- mingw-w64-crt/crt/isascii.c | 16 - mingw-w64-crt/crt/iscsym.c| 16 - mingw-w64-crt/crt/iscsymf.c | 16 - mingw-w64-crt/crt/strcasecmp.c| 16 - mingw-w64-crt/crt/strncasecmp.c | 17 - mi

[Mingw-w64-public] [PATCH 4/4] t_time testcase: _time32 is not available on Win64

2013-04-20 Thread Rafaël Carré
--- mingw-w64-crt/testcases/t_time.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mingw-w64-crt/testcases/t_time.c b/mingw-w64-crt/testcases/t_time.c index 790a7e2..714cc51 100644 --- a/mingw-w64-crt/testcases/t_time.c +++ b/mingw-w64-crt/testcases/t_time.c @@ -4,11 +4

Re: [Mingw-w64-public] [PATCH 2/2] Provide vsnprintf alias for _vsnprintf

2013-04-20 Thread Rafaël Carré
Hi, Le 20/04/2013 04:01, Derek Buitenhuis a écrit : > On 2013-04-04 11:17 AM, Rafaël Carré wrote: >> --- >> mingw-w64-crt/lib32/msvcr100.def |1 + >> mingw-w64-crt/lib32/msvcr110.def |1 + >> mingw-w64-crt/lib32/msvcr80.def |1 + >> mingw-

Re: [Mingw-w64-public] [PATCH] msvcr*: add aliases for some underscore prefixed funtions:

2013-04-18 Thread Rafaël Carré
Le 18/04/2013 10:11, Jacek Caban a écrit : > On 04/18/13 09:41, Rafaël Carré wrote: >> Le 18/04/2013 09:40, Kai Tietz a écrit : >>> Hello Rafael, >>> >>> patch is ok. Could you do the same for msvcrt.def files, too? >> I was unsure if doing it was necess

Re: [Mingw-w64-public] [PATCH] msvcr*: add aliases for some underscore prefixed funtions:

2013-04-18 Thread Rafaël Carré
Le 18/04/2013 09:40, Kai Tietz a écrit : > Hello Rafael, > > patch is ok. Could you do the same for msvcrt.def files, too? I was unsure if doing it was necessary because they are already present in moldname, should they be removed from moldname then? > > Thanks, > Kai

[Mingw-w64-public] [PATCH] msvcr*: add aliases for some underscore prefixed funtions:

2013-04-17 Thread Rafaël Carré
getcwd, putenv swab, strdup, stricmp, lfind open, write, close, fdopen, read, dup, access, fileno, isatty, setmode --- mingw-w64-crt/lib32/msvcr100.def | 16 mingw-w64-crt/lib32/msvcr110.def | 16 mingw-w64-crt/lib32/msvcr80.def | 16 mingw

Re: [Mingw-w64-public] _wstat issue

2013-04-17 Thread Rafaël Carré
Hello, Are you using x86_64 target ? Any reason for needing HAVE_32BIT_TIME_T btw? Le 17/04/2013 20:38, Antony Riakiotakis a écrit : > Hi, I have identified a pretty nasty bug in the MinGW64 headers. > > The case that follows happens for _USE_32BIT_TIME_T undefined > > _wstat is defined as _ws

[Mingw-w64-public] [PATCH] msvcr*: add aliases for strdup, close, dup, fdopen, setmode

2013-04-17 Thread Rafaël Carré
--- mingw-w64-crt/lib32/msvcr100.def |5 + mingw-w64-crt/lib32/msvcr110.def |5 + mingw-w64-crt/lib32/msvcr80.def |5 + mingw-w64-crt/lib32/msvcr90.def |5 + mingw-w64-crt/lib32/msvcr90d.def |5 + mingw-w64-crt/lib64/msvcr100.def |5 + mingw-w64-cr

Re: [Mingw-w64-public] Linking against msvcrXX.dll for 32 Bit target

2013-04-08 Thread Rafaël Carré
Hello Sebastian, I recently sent some patches about this, Can you update mingw-w64 to r5723 and see if it fixes your issues? Le 08/04/2013 11:32, Sebastian Wolff a écrit : > Dear list, > > a while ago you helped me linking against msvcr90.dll using mingw-w64 > targeting Win64, see > http://so

[Mingw-w64-public] [PATCH] _(w|f)?stat*: sanitize msvcr* exports

2013-04-04 Thread Rafaël Carré
Only msvcrt.dll exports the i64 suffix Make _(w|f)?stat* alias _(w|f)?stat* _(w|f)?stat*32 on 32bits Make _(w|f)?stat* alias _(w|f)?stat* _(w|f)?stat*64i32 on 64bits Do not use local definition (w|f)hen 64i32 version is already exported --- This version adds _*stati64 alias and fix a bug in lib64/m

[Mingw-w64-public] [PATCH] _(w|f)?stat*: sanitize msvcr* exports

2013-04-04 Thread Rafaël Carré
Only msvcrt.dll exports the i64 suffix Make _(w|f)?stat* alias _(w|f)?stat* _(w|f)?stat*32 on 32bits Make _(w|f)?stat* alias _(w|f)?stat* _(w|f)?stat*64i32 on 64bits Do not use local definition (w|f)hen 64i32 version is already exported --- mingw-w64-crt/Makefile.am|2 +- mingw-w64-crt

[Mingw-w64-public] [PATCH 1/2] msvcr110: use local implementation of longjmp

2013-04-04 Thread Rafaël Carré
--- mingw-w64-crt/lib32/msvcr110.def |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-crt/lib32/msvcr110.def b/mingw-w64-crt/lib32/msvcr110.def index 4d26f36..01f38a4 100644 --- a/mingw-w64-crt/lib32/msvcr110.def +++ b/mingw-w64-crt/lib32/msvcr110.def @@ -1893,7 +18

[Mingw-w64-public] [PATCH 2/2] Provide vsnprintf alias for _vsnprintf

2013-04-04 Thread Rafaël Carré
--- mingw-w64-crt/lib32/msvcr100.def |1 + mingw-w64-crt/lib32/msvcr110.def |1 + mingw-w64-crt/lib32/msvcr80.def |1 + mingw-w64-crt/lib32/msvcr90.def |1 + mingw-w64-crt/lib32/msvcr90d.def |1 + mingw-w64-crt/lib32/msvcrt.def |1 + mingw-w64-crt/lib64/msvcr100.def |

[Mingw-w64-public] [PATCH] _w?find(next|first)*: sanitize msvcr* exports

2013-04-04 Thread Rafaël Carré
Only msvcrt.dll exports the i64 suffix Make _w?find* alias _w?find* _w?find*32 on 32bits Make _w?find* alias _w?find* _w?find*64i32 on 64bits Do not use local definition when 64i32 version is already exported Add a test for _findfirst/_findnext/_findclose --- mingw-w64-crt/Makefile.am

Re: [Mingw-w64-public] [PATCH 6/6] Provide _mkgmtime/_mkgmtime32/_mkgmtime64 for all msvcrt versions through .def files

2013-04-04 Thread Rafaël Carré
Le 04/04/2013 11:56, Kai Tietz a écrit : > Thanks for these changes. Patch is ok Thanks for review, Committed as r5717-r5723 (1 more commit due to ChangeLog and Makefile.in regeneration) -- Minimize network downtime and

[Mingw-w64-public] [PATCH 2/6] Provide gmtime/_gmtime32/_gmtime64 for all msvcrt versions through .def files

2013-04-04 Thread Rafaël Carré
Remove gmtime/_gmtime32 .c replacements --- mingw-w64-crt/Makefile.am|4 ++-- mingw-w64-crt/lib32/msvcr100.def |3 ++- mingw-w64-crt/lib32/msvcr110.def |1 + mingw-w64-crt/lib32/msvcr80.def |4 ++-- mingw-w64-crt/lib32/msvcr90.def |3 ++- mingw-w64-crt/lib32/msvcr90d.

[Mingw-w64-public] [PATCH 6/6] Provide _mkgmtime/_mkgmtime32/_mkgmtime64 for all msvcrt versions through .def files

2013-04-04 Thread Rafaël Carré
Remove _mkgmtime/_mkgmtime32 .c replacements msvcrt.dll does not provide these symbols in 32bits --- mingw-w64-crt/Makefile.am|1 - mingw-w64-crt/lib32/msvcr100.def |3 ++- mingw-w64-crt/lib32/msvcr110.def |1 + mingw-w64-crt/lib32/msvcr80.def |4 ++-- mingw-w64-crt/lib32

[Mingw-w64-public] [PATCH 4/6] Provide _wctime/_wctime32/_wctime64 for all msvcrt versions through .def files

2013-04-04 Thread Rafaël Carré
Remove _wctime/_wctime32 .c replacements --- mingw-w64-crt/Makefile.am|2 +- mingw-w64-crt/lib32/msvcr100.def |3 ++- mingw-w64-crt/lib32/msvcr110.def |1 + mingw-w64-crt/lib32/msvcr80.def |4 ++-- mingw-w64-crt/lib32/msvcr90.def |3 ++- mingw-w64-crt/lib32/msvcr90d.d

[Mingw-w64-public] [PATCH 5/6] Provide localtime/_localtime32/_localtime64 for all msvcrt versions through .def files

2013-04-04 Thread Rafaël Carré
Remove localtime/_localtime32 .c replacements --- mingw-w64-crt/Makefile.am |4 ++-- mingw-w64-crt/lib32/msvcr100.def |3 ++- mingw-w64-crt/lib32/msvcr110.def |1 + mingw-w64-crt/lib32/msvcr80.def |4 ++-- mingw-w64-crt/lib32/msvcr90.def |3 ++- mingw-w64-crt/lib3

[Mingw-w64-public] [PATCH 0/6] Provide *time replacements through msvcr*.def

2013-04-04 Thread Rafaël Carré
Hello, Those patches provide symbol aliases, like was done for _time32/_time64/time Note: The 64bit msvcrt.dll doesn't provide 32bits equivalents (at least for XP, they seem to have been added in later releases). mkgmtime* are not available in XP 32bits msvcrt.dll I did not touch difftime, as a

[Mingw-w64-public] [PATCH 3/6] Provide mktime/_mktime32/_mktime64 for all msvcrt versions through .def files

2013-04-04 Thread Rafaël Carré
Remove mktime/_mktime32 .c replacements --- mingw-w64-crt/Makefile.am|4 ++-- mingw-w64-crt/lib32/msvcr100.def |3 ++- mingw-w64-crt/lib32/msvcr110.def |1 + mingw-w64-crt/lib32/msvcr80.def |4 ++-- mingw-w64-crt/lib32/msvcr90.def |3 ++- mingw-w64-crt/lib32/msvcr90d.

[Mingw-w64-public] [PATCH 1/6] Provide ctime/_ctime32/_ctime64 for all msvcrt versions through .def files

2013-04-04 Thread Rafaël Carré
Remove ctime/_ctime32 .c replacements --- mingw-w64-crt/Makefile.am|4 ++-- mingw-w64-crt/lib32/msvcr100.def |3 ++- mingw-w64-crt/lib32/msvcr110.def |1 + mingw-w64-crt/lib32/msvcr80.def |4 ++-- mingw-w64-crt/lib32/msvcr90.def |3 ++- mingw-w64-crt/lib32/msvcr90d.de

Re: [Mingw-w64-public] [PATCH] Provide time/_time32/_time64 for all msvcrt versions through .def files

2013-04-02 Thread Rafaël Carré
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 03/04/2013 00:07, JonY a écrit : > On 4/2/2013 23:34, Kai Tietz wrote: >> patch is ok. jony any objections? >> >> thanks Kai > > I'm OK with it. Committed as r5715 Thanks -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment:

[Mingw-w64-public] [PATCH] Provide time/_time32/_time64 for all msvcrt versions through .def files

2013-04-02 Thread Rafaël Carré
-w64-crt/misc/_time32.c delete mode 100644 mingw-w64-crt/misc/time.c diff --git a/mingw-w64-crt/ChangeLog b/mingw-w64-crt/ChangeLog index 17cd757..e4f80f5 100644 --- a/mingw-w64-crt/ChangeLog +++ b/mingw-w64-crt/ChangeLog @@ -1,3 +1,10 @@ +2013-03-28 Rafaël Carré + + * misc/time.c: Remove

Re: [Mingw-w64-public] Strange behavior of snwprintf() function

2012-07-10 Thread Rafaël Carré
Hello, Le 2012-07-04 17:46, niXman a écrit : > The following code gives the right result when compiled without Which right result exactly ? My reading of MSDN suggests a negative return value. > defined __USE_MINGW_ANSI_STDIO macro. > But, if __USE_MINGW_ANSI_STDIO macro is defined - the result

  1   2   >