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

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

2013-11-16 Thread Kai Tietz
Patch is fine. Please apply. Kai 2013/11/16 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/ws2

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

2013-11-16 Thread Kai Tietz
Patch is ok, Thanks, Kai 2013/11/16 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

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

2013-11-16 Thread Kai Tietz
Ok, thanks, Kai 2013/11/16 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

[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 3/5] Reimplement SHGetFolderPathW using WinRT functions

2013-11-16 Thread Jean-Baptiste Kempf
On 16 Nov, Kai Tietz wrote : > Looks reasonable for me. Did this piece of code got tested? Yes, a long time ago. More testing is indeed advised before pushing. With my kindest regards, -- Jean-Baptiste Kempf http://www.jbkempf.com/ - +33 672 704 734 Sent from my Electronic Device ---

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 >> b/mingw-w64-crt/libsrc/ws2tcpip/g

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 5/5] Fix declarations in headers

2013-11-16 Thread Kai Tietz
2013/11/16 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 change

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

2013-11-16 Thread Kai Tietz
2013/11/16 Rafaël Carré : > From: Jean-Baptiste Kempf > > --- > .../winstorecompat/src/SHGetFolderPathW.c | 110 > +++-- > 1 file changed, 104 insertions(+), 6 deletions(-) > > diff --git a/mingw-w64-libraries/winstorecompat/src/SHGetFolderPathW.c > b/mingw-w64-librarie

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

2013-11-16 Thread Kai Tietz
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 > b/mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c > index 8f7f679..956f84f 100644 >

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

2013-11-16 Thread Kai Tietz
Patch is ok. Thanks, Kai 2013/11/16 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/in

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/winstorecompat/src/Queue

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 at the validation step,

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

2013-11-16 Thread Rafaël Carré
From: Jean-Baptiste Kempf --- .../winstorecompat/src/SHGetFolderPathW.c | 110 +++-- 1 file changed, 104 insertions(+), 6 deletions(-) diff --git a/mingw-w64-libraries/winstorecompat/src/SHGetFolderPathW.c b/mingw-w64-libraries/winstorecompat/src/SHGetFolderPathW.c ind

[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é
--- mingw-w64-libraries/winstorecompat/Makefile.am | 1 + .../winstorecompat/src/QueueTimer.c| 49 ++ 2 files changed, 50 insertions(+) create mode 100644 mingw-w64-libraries/winstorecompat/src/QueueTimer.c diff --git a/mingw-w64-libraries/winstorecompat/

[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] C++11 threading with non-posix versions

2013-11-16 Thread K. Frank
Hello Victor (and Ruben)! On Sat, Nov 16, 2013 at 10:39 AM, Ruben Van Boxem wrote: > 2013/11/16 Victor Bombi >> >> the information provided here >> http://qt-project.org/wiki/MinGW-64-bit >> could be then confusing or inacurate? > > If Qt people say there might be a performance degradation (I re

Re: [Mingw-w64-public] C++11 threading with non-posix versions

2013-11-16 Thread Ruben Van Boxem
2013/11/16 Victor Bombi > the information provided here > http://qt-project.org/wiki/MinGW-64-bit > could be then confusing or inacurate? > If Qt people say there might be a performance degradation (I read the web page to only talk about C++11 threading features), then I believe them. I guess I

Re: [Mingw-w64-public] C++11 threading with non-posix versions

2013-11-16 Thread Victor Bombi
the information provided here http://qt-project.org/wiki/MinGW-64-bit could be then confusing or inacurate? - Original Message - From: Ruben Van Boxem To: mingw-w64-public@lists.sourceforge.net Sent: Saturday, November 16, 2013 2:22 PM Subject: Re: [Mingw-w64-public] C++11 thre

Re: [Mingw-w64-public] C++11 threading with non-posix versions

2013-11-16 Thread Ruben Van Boxem
2013/11/16 Victor Bombi > Is there any plan to write this headers on top of win32 api? > No, and any efficient implementation will remove Windows XP compatibility. Winpthreads is implemented on top of the Win32 API, and GCC's internal thread API is pretty much a pthreads abstraction, so it's re

Re: [Mingw-w64-public] pthread_attr_setschedpolicy not implemented

2013-11-16 Thread Victor Bombi
Thanks alot - Original Message - From: "Kai Tietz" To: Sent: Saturday, November 16, 2013 1:21 PM Subject: Re: [Mingw-w64-public] pthread_attr_setschedpolicy not implemented > 2013/11/15 Victor Bombi : >> >> thanks for answering. >> Nothing is trivial for me using pthreads. >> I just ne

Re: [Mingw-w64-public] pthread_attr_setschedpolicy not implemented

2013-11-16 Thread Kai Tietz
2013/11/15 Victor Bombi : > > thanks for answering. > Nothing is trivial for me using pthreads. > I just need that to compile code made by others that I would not like to > change. > I added at revision 6370 to trunk the function pthread_attr_getschedpolicy and pthread_attr_setschedpolicy for winp

Re: [Mingw-w64-public] C++11 threading with non-posix versions

2013-11-16 Thread Victor Bombi
Is there any plan to write this headers on top of win32 api? - Original Message - From: Ruben Van Boxem To: mingw-w64-public@lists.sourceforge.net Sent: Friday, November 15, 2013 7:41 PM Subject: Re: [Mingw-w64-public] C++11 threading with non-posix versions 2013/11/15 Vict