Commit Graph

6347 Commits

Author SHA1 Message Date
Biswapriyo Nath
c17efd05d0 headers: Add missing function declarations in stdlib_s.h.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-03-30 21:50:23 +08:00
Biswapriyo Nath
e4d49d1262 headers: Move some structure from ws2tcpip.h to ws2ipdef.h
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-03-30 21:50:23 +08:00
Martin Storsjö
fe226dd902 headers: Hide the contents of struct _iobuf in UCRT mode
This matches the public UCRT headers - the struct only contains one
single placeholder member.

Signed-off-by: Martin Storsjö <martin@martin.st>
2021-03-29 13:18:58 +03:00
Jacek Caban
45def5d7a1 headers: Updarte dxva2api.idl to current Wine version.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2021-03-23 00:35:57 +01:00
Jacek Caban
79951edef1 headers: Import more winrt headers from Wine.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2021-03-20 13:48:44 +01:00
Jacek Caban
063fb9eda9 widl: Update to current Wine version.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2021-03-20 13:48:42 +01:00
Liu Hao
d738f3698f include: Rebuild headers from IDLs
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-03-19 18:15:15 +08:00
Liu Hao
57108d1e62 headers: Regenerate Makefile
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-03-19 18:14:17 +08:00
Biswapriyo Nath
872a8b9bcd headers: Add missing idl files in automake.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-03-19 18:11:00 +08:00
Biswapriyo Nath
e6626f5322 headers: Revert import of dinput.h in previous commit.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-03-19 18:11:00 +08:00
Liu Hao
902b16c6af headers: Import headers from wine master
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-03-18 22:29:40 +08:00
Biswapriyo Nath
eb87e56399 headers: Add IMFGetService in mfidl.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-03-18 22:22:22 +08:00
Liu Hao
674b67759f headers: Regenerate headers from IDLs accordingly
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-03-14 21:49:49 +08:00
Liu Hao
a296becc95 headers: Update to wine-6.4
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-03-14 19:29:13 +08:00
Liu Hao
8d3d95f7e2 headers: Regenerate configure
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-03-14 19:26:50 +08:00
Biswapriyo Nath
2d5eaa26d6 headers: Import wmprealestate.idl and wmpservices.idl from Wine.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-03-14 19:23:29 +08:00
Biswapriyo Nath
55162bc261 headers: Replace BOOL with WINBOOL in dinput.h.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-03-14 19:21:43 +08:00
Scr3amer
b47b16726b Add C++ secure functions for wcstombs_s and _wcstombs_s_l
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-03-07 17:25:07 +08:00
Scr3amer
256313314c
Fix SymLoadModule64 signature inconsistency with Microsoft official one (PSTR will now be PCSTR)
Signed-off-by: Jonathan Yong <10walls@gmail.com>
2021-03-07 07:56:34 +00:00
Biswapriyo Nath
0792283787 headers: Add missing names in sspi.h.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-03-04 23:18:14 +08:00
Biswapriyo Nath
62924d0cd8 headers/crt: Remove builtin crc32 function declaration.
Because g++ shows those declarations as redundant.
Revert of 7ae84a6139

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Reference: https://sourceforge.net/p/mingw-w64/mailman/message/37232282/
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-03-04 21:32:02 +08:00
Martin Storsjö
95b7fb6a84 headers: Expose SCN*8 defines when using UCRT
Also expose them for other CRTs based on __USE_MINGW_ANSI_STDIO,
like other conditionals in the same header.

Signed-off-by: Martin Storsjö <martin@martin.st>
2021-03-03 21:28:00 +02:00
Martin Storsjö
7a2c4749ec headers: Fix the signature of wcstok() for UCRT
Since the UCRT, the wcstok() function has the C99 compliant signature
with a third parameter for thread safety.

Signed-off-by: Martin Storsjö <martin@martin.st>
2021-03-02 14:19:35 +02:00
Martin Storsjö
9b207d4da4 crt: Silence warnings when building _*wc_nolock
Define a high enough version for __MSVCRT_VERSION__ to make the
declarations visible.

These started warning about implicit definitions since
2f9a13461d.

Signed-off-by: Martin Storsjö <martin@martin.st>
2021-03-02 14:19:31 +02:00
Biswapriyo Nath
c0fa4d7554 headers: Import windows.foundation.collections.idl from Wine.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2021-03-01 15:37:33 +01:00
Jacek Caban
94cc7f671b widl: Update to Wine 6.3.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2021-03-01 15:35:25 +01:00
Biswapriyo Nath
763b87505a headers: Add missing names in winbase.h.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-03-01 22:09:39 +08:00
Jacek Caban
7253105a2e headers: Import relogger.idl and windowscontracts.idl from Wine.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2021-02-19 18:16:51 +01:00
Jacek Caban
9281cef234 widl: Updated to current Wine version.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2021-02-19 17:03:44 +01:00
Jacek Caban
ea40a87ad0 widl: Update to current Wine version.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2021-02-18 10:56:15 +01:00
Christoph Reiter
8a77639cda headers: add missing _W_* lconv struct members
This seems to have been added with MSVCR100 but is also available in MSVCRT
on Windows 7 SP1+ (at least), more info here:
https://sourceforge.net/p/mingw-w64/mailman/message/37183101/

This change is motivated by CPython starting to use these members in v3.8.7

Reference: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/localeconv
Reference: https://sourceforge.net/p/mingw-w64/bugs/870/
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-02-16 12:56:30 +08:00
Jacek Caban
f962bd8872 widl: Update to Wine 6.2.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2021-02-13 10:16:28 +01:00
Liu Hao
84c950bdab winpthreads: De-duplicate struct timespec by including <time.h>
Reference: https://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/2d855f61-fd8e-9ccc-d110-934f58974906%40reactos.org/#msg37216256
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-02-11 21:03:02 +08:00
Jacek Caban
f9dfc35fd9 widl: Update to current Wine version.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2021-02-08 23:30:12 +01:00
Jacek Caban
5935f836a5 headers: Update to curerent Wine version.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2021-02-08 13:03:45 +01:00
Jacek Caban
df0d14434a widl: Update to current Wine version.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2021-02-08 13:03:42 +01:00
Liu Hao
2f9a13461d include/crt: Ensure declarations of _*_nolock match MSVCRT version
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-02-06 10:11:49 +08:00
Liu Hao
5755f7a0a1 crt/msvcr80: Add _*_nolock functions
Note MSVCR80 did not provide `_{f,}getc_nolock`; only wide variants are available.

Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-02-06 10:11:48 +08:00
Liu Hao
31c1823225 crt/msvcr90: Add aliases for fgetc_nolock and getwc_nolock
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-02-06 10:11:48 +08:00
Liu Hao
e445c779dd include/crt: Ensure declarations of *wcsym* match MSVCRT version
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-02-06 10:11:48 +08:00
Biswapriyo Nath
841af0058c winstorecompat/Crypto: Use proper namespaced Release method.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-02-06 10:10:20 +08:00
Liu Hao
e4396da318 crt: Add deprecated _{str,wcs}lwrt aliases in DEF
This was done with the following commands:

  sed -Ei 's/^_(str|wcs)lwr\>.*$/&\n\1lwr == _\1lwr/' `grep -Elr '\<_strlwr\>' mingw-w64-crt`
  git checkout mingw-w64-crt/lib-common/api-ms-win-crt-string-l1-1-0.def

Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-02-05 20:12:58 +08:00
Biswapriyo Nath
f3855e2caa headers: Import wmp.idl from wine.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2021-01-31 17:57:17 +01:00
Jacek Caban
7db8f76e61 headers: Update to Wine 6.1.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2021-01-31 17:57:16 +01:00
Jacek Caban
1c139c8816 widl: Update to Wine 6.1.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2021-01-31 17:57:11 +01:00
Martin Storsjö
6a1b8d0eae crt: Regenerate configure and config.h.in
Signed-off-by: Martin Storsjö <martin@martin.st>
2021-01-20 23:17:37 +02:00
Martin Storsjö
6f53dbf6d4 crt: Remove support for providing __CTOR_LIST__ for LLD 7 and older
This reverts commit ccda8b5229 and
removes the code for providing __CTOR_LIST__ here.

This was only needed for LLD 7 and older, while LLD 8 got support for
providing __CTOR_LIST__ by the linker, just as GNU ld does.

This gets rid of a brittle configure check and simplifies the code.

Signed-off-by: Martin Storsjö <martin@martin.st>
2021-01-20 23:17:37 +02:00
Martin Storsjö
ae40311750 crt: Regenerate Makefile.in after earlier Makefile.am updates
This regenerates it after b7adfcc0fc,
a0fc560390 and
019ace6ba7.

Signed-off-by: Martin Storsjö <martin@martin.st>
2021-01-20 23:15:46 +02:00
Martin Storsjö
97806c0ecf headers: Implement __debugbreak, MemoryBarrier and YieldProcessor for armv7 and aarch64
Signed-off-by: Martin Storsjö <martin@martin.st>
2021-01-20 23:06:16 +02:00
Jacek Caban
f3c53a51df headers: Use Windows 10 as default _WIN32_WINNT value.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2021-01-05 16:06:59 +01:00