Commit Graph

4780 Commits

Author SHA1 Message Date
Jacek Caban
2a81d08d61 intrin-impl.h: Guard __readfsdword implementation by __has_builtin. 2016-03-16 17:11:50 +01:00
Jonathan Yong
b2fbefa658
Move _fpreset call so it is called for each thread rather than only at startup
Reverts d82c6defa7.
2016-03-16 19:52:03 +08:00
Corinna Vinschen
10b56187eb ws2tcpip.h: Define AI_DISABLE_IDN_ENCODING
Starting with Windows 8, the getaddrinfo family of functions automatically
convers IDNs using punycode.  To allw switching this off, Windows 8
introduces the AI_DISABLE_IDN_ENCODING flag.

The value is documented in MSDN:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms737529%28v=vs.85%29.aspx

Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
2016-03-14 17:54:35 +01:00
Jonathan Yong
d82c6defa7
Reset thread floating point settings on new thread
This should make FP operations across thread somewhat consistent.
Patch approved by Kai.
2016-03-07 18:20:15 +08:00
Jonathan Yong
5981c0281b Revert "Handle __CTOR_LIST__ internally within mingw-w64"
This reverts commit ca451a7a45.
The commit broke libgcc TLS behavior.
2016-03-02 21:44:48 +08:00
Jonathan Yong
76119a8e89
Fix mkstemp implementation
When closing the file handle obtained from mkstemp(), the file
ought _not_ to be deleted.

Patch by Jan Engelhardt <jengelh@inai.de>
2016-03-02 18:02:25 +08:00
Hannes Domani
4c13e3f141 wscanf: fix memory leak 2016-02-28 17:20:07 +08:00
Hannes Domani
00dfb3927a wscanf: use WEOF instead of EOF 2016-02-28 17:20:07 +08:00
sezero
38d327fd43 dinput.h: define DIRECTINPUT_HEADER_VERSION as 0x0800 (bug #529) 2016-02-26 09:15:15 +02:00
Hannes Domani
a7e64f9d5a scanf: fix memory leak 2016-02-25 18:34:21 +08:00
Jonathan Yong
801b6110b5
mingw-w64-crt: Make fpclassify consistent for x86 against other archs
Fixes https://sourceforge.net/p/mingw-w64/bugs/367/
Patch by Carl Kleffner cmkleffner gmail dot com
2016-02-24 17:50:21 +08:00
Martell Malone
ca451a7a45 Handle __CTOR_LIST__ internally within mingw-w64 2016-02-23 09:11:35 -08:00
Martell Malone
1bd04a56cf crt: armv7 does not have __initenv in libmsvcrt 2016-02-23 09:10:31 -08:00
Martell Malone
e0531bbbbc Add support for NTCurrentTeb for ARMNT 2016-02-23 09:07:29 -08:00
sezero
13faf58f43 update config.guess and config.sub from git://git.sv.gnu.org/config.git 2016-02-21 17:00:00 +02:00
Jonathan Yong
997530348a
CRT: vsprintf_s calling wrong function
GetProcAddress was loading vprintf_s rather than vsprintf_s,
causing random garbare to be printed. Fix the typo.
2016-02-20 05:54:39 +08:00
Jacek Caban
a0cd5afeb6 Updated imported headers to current Wine version. 2016-02-08 17:30:06 +01:00
Jacek Caban
a0a180cc52 Added new dcomp.h and dcomptypes.h headers. 2016-02-08 15:23:40 +01:00
Jacek Caban
a98fdc2756 dcompanimation.idl: Added new file. 2016-02-08 15:18:13 +01:00
宋冬生
38410ad062 Since Windows XP, M$ recommend use DnsFree instead of DnsRecordListFree. 2016-02-04 16:50:14 +08:00
宋冬生
4610750da3 Make dnsapi.def up to date.
The original version base is Windows 2K, lots of functions missing from
Windows XP and later.

Base is Windows 10.
2016-02-04 16:50:03 +08:00
Jacek Caban
566d62108d Updated imported DX headers to current Wine version. 2016-01-25 15:45:32 +01:00
Jacek Caban
2a4d4a3ef3 Added _configthreadlocale implementation to libmsvcrt.a. 2016-01-14 15:25:07 +01:00
Jonathan Yong
bca09678e3
mbrtowc with null dst ignore len
According to the C99 standard, if the dst is null, the len argument
is ignored.

Patch by tim.kosse at filezilla-project.org.
2016-01-09 06:15:25 +08:00
Jacek Caban
477108e570 Updated imported headers to current Wine version. 2016-01-07 13:31:51 +01:00
Jonathan Yong
2474f3904a wcsrtombs with null dst must ignore len
There's a bug in wcsrtombs (mingw-w64-crt/misc/wcrtomb.c) if null is
passed as destination buffer. In this case, wcsrtombs does not ignore
the len argument. Yet, according to the C99 standard, if the dst is
null, the len argument is ignored.

Patch by tim.kosse at filezilla-project.org
2016-01-06 06:46:15 +08:00
Jacek Caban
c53c9e6394 intrin-impl.h: Added support for _xgetbv. 2016-01-05 16:32:44 +01:00
Jacek Caban
8e921f2a87 intrin-impl.h: Added support for __cpuidex. 2016-01-05 16:32:44 +01:00
Jacek Caban
cd954f9322 widl: Use separated buffer for result in simplify_path. 2016-01-05 16:32:44 +01:00
André Hentschel
5e2e73b775 CRT_fp10: Protect ARM implementation against compiler optimizations
Suggested-by: David Wohlferd <dw@LimeGreenSocks.com>
2015-12-24 00:03:20 +01:00
Jacek Caban
40b1e7a718 dwrite_2.h: Added new header file. 2015-12-22 18:35:31 +01:00
Jacek Caban
8dbf6664eb dwrite_1.h: Added some missing declarations. 2015-12-22 18:35:30 +01:00
Jacek Caban
fc005cd07c libmsvcrt.a: Added some _vs*printf_p thunks. 2015-12-03 17:56:03 +01:00
Jacek Caban
365604f4f3 Added .gitignore file. 2015-12-03 12:23:21 +01:00
Jacek Caban
77a4edd978 Added winrt pragma to winrt IDL files. 2015-12-03 12:23:21 +01:00
Jacek Caban
60156194fc Fixed _snwprintf_s template overload declarations. 2015-12-03 12:23:21 +01:00
Martell Malone
d8c0165e41 crt: fix _MINGW_UDERSCORE_PREFIX for arm 2015-12-01 23:50:37 -08:00
Martell Malone
61c374ded9 Update to support builtins where -fms-extensions is both enabled or disabled 2015-12-01 23:49:05 -08:00
David Wohlferd
90b8472462 Support gcc 6 flag constraints 2015-11-21 12:35:00 +02:00
Yuta Nakai
1d45f13c30 genlib: Fix option handling. 2015-11-15 18:45:35 -08:00
Martell Malone
dd3460c0b2 configure.ac: add support for --with-genlib 2015-11-15 18:17:12 -08:00
Jonathan Yong
e7438fc5f2 Regenerate Makefile.in
Signed-off-by: Jonathan Yong <10walls@gmail.com>
2015-11-16 06:39:37 +08:00
Jonathan Yong
038cf7c26b
Explicitly create lib dir before generating def file
This should prevent failures from make -j race condition where
mkdir -p cannot complete in time.
2015-11-16 06:37:29 +08:00
Martell Malone
917249082f remove Makefile from genlib 2015-11-09 22:04:42 -08:00
Martell Malone
92a1c7214d remove config.status from genlib 2015-11-09 21:23:51 -08:00
Ray Donnelly
4581de347f widl: Relocate DEFAULT_INCLUDE_DIR 2015-11-09 17:20:42 -08:00
Martell Malone
ae4c7c323c fix various LIBRARY definitions for arm 2015-11-08 20:50:57 -08:00
Martell Malone
abb1d34439 mingw-w64-tools: add new tool genlib 2015-11-04 14:36:31 +00:00
Jonathan Yong
6ac1cf1112
intsafe.h: add support for clang
clang still defines __GNUC__ as 4 but supports some of the builtins,
allow intsafe to use clang features.

Patch by David Grayson davidegrayson a gmail.com
2015-11-03 19:41:17 +08:00
Yuta Nakai
c99ba04cf8 sal.h: Fix redefinition of _Field_range_. 2015-10-31 18:01:41 +08:00