1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-05 09:18:56 +00:00
Commit Graph

911 Commits

Author SHA1 Message Date
Alexandre Julliard
f27f2d4e66 msvcrt: Use the remquo()/remquof() implementation from the bundled musl library. 2023-04-05 16:51:46 +02:00
Alexandre Julliard
1cff65b69f msvcrt: Use the logb()/logbf() implementation from the bundled musl library. 2023-04-05 16:51:40 +02:00
Alexandre Julliard
d1ba9a30dc msvcrt: Use the ilogb()/ilogbf() implementation from the bundled musl library. 2023-04-05 16:51:40 +02:00
Alexandre Julliard
438553e923 libs: Import the math library from upstream musl 1.2.3. 2023-04-04 09:43:51 +02:00
Alex Henrie
8fb04515cf wldap32: Implement setting LDAP_OPT_SERVER_CERTIFICATE and add tests.
ctxt_handle is moved to the top of struct tlsw_session so that it can be
easily retrieved via LDAP_OPT_X_TLS_SSL_CTX.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54727
2023-03-30 20:28:28 +02:00
Hans Leidekker
9af7faca7c ldap: Return an error when the server doesn't respond to the SSL handshake.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54724
2023-03-24 16:06:08 +01:00
Alexandre Julliard
75ab843114 vkd3d: Import upstream release 1.7. 2023-03-24 13:02:45 +01:00
Alexandre Julliard
4c255f5a63 tiff: Import upstream release 4.5.0. 2023-03-11 18:55:35 +01:00
Alexandre Julliard
f93e53c94b ldap: Import upstream release 2.5.14. 2023-03-11 18:55:04 +01:00
Alexandre Julliard
f953b99c51 faudio: Import upstream release 23.03. 2023-03-11 18:55:04 +01:00
Alexandre Julliard
d462bcdff1 lcms2: Import upstream release 2.15. 2023-03-11 18:31:22 +01:00
Alexandre Julliard
7bc94bc8f0 libs: Import the Zydis library version 4.0.0.
Also some needed header files from Zycore version 1.4.1.
2023-02-27 16:36:22 +01:00
Alexandre Julliard
5c831122c9 libwine: Remove obsolete library. 2023-02-24 22:23:12 +01:00
Alistair Leslie-Hughes
8e9763871b faudio: Purge and clear notifications on ShutDown.
Cherry-picked from upstream commit 16f86bffec36b6e82e5c93d5f04ebc4ee4f980ab.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54264
2023-01-09 16:44:08 +01:00
Gerald Pfeifer
208b824ecd libwine: Only define exe_link when needed.
Revision 24b26f8bd6 changed FreeBSD
(and DragonFly) not to use /proc any longer. Hence we also do not
need the exe_link variable on those two platforms, either. Avoid
declaring it there.

(This avoids a compiler warning with GCC 12.)
2022-12-19 11:09:39 +01:00
Alexandre Julliard
f48500bb3a ldap: Use LONG instead of long for exported types. 2022-12-08 18:11:23 +01:00
Alexandre Julliard
891e2f739f vkd3d: Import upstream release 1.6. 2022-12-07 16:44:08 +01:00
Alexandre Julliard
36b0e7e0ea mpg123: Import upstream release 1.31.1. 2022-12-06 17:04:50 +01:00
Alexandre Julliard
967b29d39d png: Import upstream release 1.6.39. 2022-12-06 17:04:50 +01:00
Hans Leidekker
07cb943d6a ldap: Mark ldap_int_destroy_global_options() as a destructor when building with Clang.
Clang understands __attribute__ ((destructor)) syntax just like GCC. This avoids a
link failure when atexit() used in the fallback path is not available.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53930
2022-11-16 21:24:19 +01:00
Hans Leidekker
cd2e3d1f54 ldap: Don't depend on the getopt.h header.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53930
2022-11-16 21:24:19 +01:00
Hans Leidekker
02e52db7aa libs: Import code from upstream openldap 2.5.13.
Minimal set of files to compile libldap and liblber client libraries.
2022-11-15 21:21:27 +01:00
Alex Henrie
08ec06da54 uuid: Add propkey.h.
Needed to compile Tera Term.
2022-11-08 20:07:51 +01:00
Alexandre Julliard
162acdaed0 xslt: Import upstream release 1.1.37. 2022-11-08 11:08:13 +01:00
Alexandre Julliard
d0b03aa202 xml2: Import upstream release 2.10.3. 2022-11-08 11:08:13 +01:00
Alexandre Julliard
fd3017ff5b lcms2: Import upstream release 2.14. 2022-11-08 10:57:10 +01:00
Alexandre Julliard
cfe8ee571d zlib: Import upstream release 1.2.13. 2022-11-08 10:57:10 +01:00
Alexandre Julliard
d4ce1fd764 png: Import upstream release 1.6.38. 2022-11-08 10:46:59 +01:00
Alexandre Julliard
927f0530f4 faudio: Import upstream release 22.11. 2022-11-08 09:44:18 +01:00
Alexandre Julliard
1a652d2c9e xslt: Use WINAPIV calling convention for variadic functions. 2022-11-07 21:13:31 +01:00
Alexandre Julliard
e742eeb6c3 xml2: Use WINAPIV calling convention for variadic functions. 2022-11-07 21:13:31 +01:00
Michael Stefaniuc
24a7497bab libs/wine: Use ARRAY_SIZE instead of open coding it. 2022-10-25 10:58:49 +02:00
Alex Henrie
e72a16b57f uuid: Add devguid.h.
Needed to compile Tera Term.
2022-10-19 21:17:34 +02:00
Alexandre Julliard
5811f5f29e vkd3d: Update version number. 2022-09-27 10:43:47 +02:00
Alexandre Julliard
c3025582fd vkd3d: Import upstream release 1.5. 2022-09-26 21:49:54 +02:00
Zebediah Figura
d17fe0a792 libwine: Avoid comparing the result of pointer arithmetic to zero.
gcc warns about this:

../wine/libs/wine/mmap.c: In function ‘wine_mmap_add_reserved_area_obsolete’:
../wine/libs/wine/mmap.c:504:9: error: the comparison will always evaluate as ‘true’ for the pointer operand in ‘(char *)addr + (sizetype)size’ must not be NULL [-Werror=address]
  504 |     if (!((char *)addr + size)) size--;  /* avoid wrap-around */
      |         ^
2022-09-16 19:12:52 +02:00
Alexandre Julliard
015491ab32 xml2: Import upstream release 2.10.0. 2022-08-17 19:08:23 +02:00
Alexandre Julliard
a63922d803 xslt: Import upstream release 1.1.36. 2022-08-17 19:03:19 +02:00
Martin Storsjö
7ee17a15e0 vkd3d: Fix the signature of vkd3d_spirv_build_op_type_image.
Don't assume that enums and uint32_t parameters are identical. Clang
16 changes the diagonstic for incompatible function pointer types
from a warning into an error by default.

This fixes the following error, when built (for aarch64, but probably
also for other architectures) in MSVC mode:

../src/libs/vkd3d/libs/vkd3d-shader/spirv.c:1083:13: error: incompatible function pointer types passing 'uint32_t (struct vkd3d_spirv_builder *, uint32_t, SpvDim, uint32_t, uint32_t, uint32_t, uint32_t, SpvImageFormat)' (aka 'unsigned int (struct vkd3d_spirv_builder *, unsigned int, enum SpvDim_, unsigned int, unsigned int, unsigned int, unsigned int, enum SpvImageFormat_)') to parameter of type 'vkd3d_spirv_build7_pfn' (aka 'unsigned int (*)(struct vkd3d_spirv_builder *, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)') [-Wincompatible-function-pointer-types]
            vkd3d_spirv_build_op_type_image);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/libs/vkd3d/libs/vkd3d-shader/spirv.c:612:68: note: passing argument to parameter 'build_pfn' here
        SpvOp op, const uint32_t *operands, vkd3d_spirv_build7_pfn build_pfn)
                                                                   ^
2022-08-15 18:13:35 +02:00
Nikolay Sivov
8aca379966 mf: Add archive sink creation exported functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-11 16:51:06 +02:00
Alexandre Julliard
f937ad5a6d tiff: Import upstream release 4.4.0. 2022-08-03 17:37:00 +02:00
Alexandre Julliard
be227979b0 mpg123: Import upstream release 1.30.2. 2022-08-03 17:27:11 +02:00
Alexandre Julliard
ce0a985f1b faudio: Import upstream release 22.08. 2022-08-03 17:13:51 +02:00
Giovanni Mascellani
4be1dc1b7b faudio: Import upstream commit e3c444e4f819d2364a6adb0ae73b1d01185b1e93.
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
2022-07-18 19:18:30 +02:00
Alexandre Julliard
194e09baec makefiles: Add separate variables for Unix flags and libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Alexandre Julliard
e2d96342df makefiles: Use the defined external lib variables also when building the libs themselves.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Alexandre Julliard
072eb3a540 vkd3d: Import upstream release 1.4.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-23 22:46:13 +02:00
Alexandre Julliard
acf815fd8a faudio: Import upstream release 22.06.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-07 08:17:41 +02:00
Alexandre Julliard
b089c8294f xml2: Import upstream release 2.9.14.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-23 11:57:03 +02:00
Alexandre Julliard
95ef954f67 lcms: Import upstream release 2.13.1.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-23 11:57:03 +02:00
Alexandre Julliard
b0c9a28e04 zlib: Import upstream release 1.2.12.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-23 11:57:03 +02:00
Ziqing Hui
0f883c0925 uuid: Add d2d1effectauthor.h.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-20 11:36:34 +02:00
Zebediah Figura
5f9f182e8a include: Add videoacc.idl.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-14 09:28:33 +02:00
Alexandre Julliard
f3f7dd4dba xslt: Import upstream release 1.1.35.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Alexandre Julliard
a279c2783c xml2: Import upstream release 2.9.13.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Ziqing Hui
e0be2d476f include: Add defines for ID2D1InkStyle.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-29 20:53:50 +02:00
Rémi Bernon
aa9aa7390f strmbase: Add a separate id for pins.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-28 22:22:15 +02:00
Alexandre Julliard
7c908186ec vkd3d: Only use __builtin_popcount in PE builds.
It's not compatible with -mabi=ms.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52664
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-14 11:26:22 +01:00
Alexandre Julliard
0550981279 xslt: Revert some calling convention changes.
We require -mabi=ms now.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-07 21:38:31 +01:00
Alexandre Julliard
5eb5d81793 xml2: Revert some calling convention changes.
We require -mabi=ms now.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-07 21:38:31 +01:00
Alexandre Julliard
91d13963f8 tiff: Revert some calling convention changes.
We require -mabi=ms now.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-07 21:38:31 +01:00
Alexandre Julliard
4c9d8e194c lcms2: Revert some calling convention changes.
We require -mabi=ms now.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-07 21:38:31 +01:00
Alexandre Julliard
b75e389046 faudio: Revert some calling convention changes.
We require -mabi=ms now.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-07 21:38:31 +01:00
Christopher Egert
9799fa8009 gsm: Enable WAV49 support.
Fixes a regression introduced by 0e7fd41af9
causing missing audio elements in the 64k intros elysian by logicoma
and clean state by conspiracy.

Signed-off-by: Christopher Egert <cme3000@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-07 11:14:33 +01:00
Alexandre Julliard
97db56ab61 libs: Import upstream code from vkd3d release 1.3.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-03 10:07:16 +01:00
Alistair Leslie-Hughes
f67bc47693 mfuuid: Add more schema CLSIDs.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 17:31:41 +01:00
Zebediah Figura
46f7d4c131 strmbase: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-08 10:47:52 +01:00
Zebediah Figura
98a2689f76 strmbase: Get rid of the BaseOutputPinImpl_InitAllocator() helper.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-08 10:47:43 +01:00
Alexandre Julliard
6446382c74 faudio: Import upstream release 22.02.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-07 13:53:31 +01:00
Zebediah Figura
186b99c2ac strmbase: Remove the no longer used BaseOutputPinImpl_GetDeliveryBuffer() helper.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-07 10:58:11 +01:00
Alexandre Julliard
f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alexandre Julliard
058fb97643 jpeg: Import upstream release 9e.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-20 11:46:23 +01:00
Alexandre Julliard
727a7b0b9e mpg123: Import upstream release 1.29.3.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-20 11:32:03 +01:00
Alexandre Julliard
bf527c001a faudio: Import upstream release 22.01.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-20 11:18:11 +01:00
Rémi Bernon
f6482d1c45 faudio: Return PCM format from IXAudio27_GetDeviceDetails.
This will be in next FAudio release.

This fixes a regression in some games, such as Far Cry 4, where audio
doesn't work anymore since the move to FAudio Win32 platform.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-23 22:57:01 +01:00
Zebediah Figura
9156e124f3 strmbase: Try sink types before source types.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50668
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-23 09:59:00 +01:00
Alexandre Julliard
411592bf45 configure: Assume that sys/wait.h is available on Unix.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-09 18:43:51 +01:00
Alexandre Julliard
e3001b6a7c configure: Assume that sys/mman.h is available on Unix.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-09 18:43:51 +01:00
Alexandre Julliard
338af40707 mpg123: Disable the large file wrappers.
off_t and long are the same thing in msvcrt.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52191
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-09 18:43:50 +01:00
Zebediah Figura
883325ccf7 strmbase: Remove the no longer used output queue helper.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-30 10:28:31 +01:00
Alexandre Julliard
83d7b1d312 strmbase: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-29 23:25:46 +01:00
Bernhard Kölbl
8923be8f68 xml2: Use MSVC constants for NaN and infinity.
Prevent division by zero exceptions from being thrown,
if they are enabled and calls to xmlXPathInit() are being made.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52003
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-10 14:05:39 +01:00
Alexandre Julliard
1c9b843ecf include: Don't define __in and __out.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51919
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-03 21:06:48 +01:00
Alexandre Julliard
da89825f98 faudio: Import upstream release 21.11.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Rémi Bernon
babaf916ab faudio: Build with -DNDEBUG.
Unix version of FAudio uses SDL_assert for its assertions, which is
generally compiled as no-op in release builds. This better matches the
original behavior.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51921
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 18:52:23 +02:00
Damjan Jovanovic
24b26f8bd6 libs/wine: Use sysctl instead of /proc/curproc/file on FreeBSD.
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 18:50:59 +02:00
Dmitry Timoshkov
981306c1f0 mpg123: Fix compilation with clang.
clang -c -o libs/mpg123/src/compat/compat.cross.o ../wine.src/libs/mpg123/src/compat/compat.c -Ilibs/mpg123 \
  -I../wine.src/libs/mpg123 -Iinclude -I../wine.src/include -I../wine.src/include/msvcrt \
  -I../wine.src/libs/mpg123/src -I../wine.src/libs/mpg123/src/compat \
  -I../wine.src/libs/mpg123/src/libmpg123 -DOPT_GENERIC_DITHER -DREAL_IS_FLOAT -DNO_CATCHSIGNAL \
  -D_UCRT -D__WINE_PE_BUILD -target x86_64-windows -fno-strict-aliasing -Wno-pragma-pack -Wno-format \
  -mcx16 -gdwarf-2 -gstrict-dwarf -g -O2
In file included from ../wine.src/libs/mpg123/src/compat/compat.c:15:
../wine.src/libs/mpg123/src/compat/compat.h:74:10: fatal error: 'strings.h' file not found
         ^~~~~~~~~~~
1 error generated.
make: *** [Makefile:216382: libs/mpg123/src/compat/compat.cross.o] Error 1

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 10:55:42 +02:00
Alexandre Julliard
6b45777121 libs: Import code from upstream FAudio 21.10.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-21 14:03:54 +02:00
Alexandre Julliard
bafb747d2d libs: Import upstream code from mpg123 1.29.1.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-21 11:56:59 +02:00
Alexandre Julliard
cfc8f154e5 libs: Import upstream code from jxrlib 1.1.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-21 11:56:59 +02:00
Martin Storsjö
683b43b996 xslt: Build with LIBXSLT_STATIC, fix building with clang in MSVC mode.
This avoids unnecessarily embedding dllexport directives in all
the object files.

This also fixes building with clang in MSVC mode, as the MSVC
definition of XSLTPUBVAR in xsltexports.h is lacking 'extern'
when doing dllexport. (This probably used to work before
compilers defaulted to -fcommon.) This fixes duplicate symbols
like these:

lld-link: error: duplicate symbol: xsltGenericError
>>> defined at ../src/libs/xslt/libxslt/xsltutils.h:140
>>>            libxslt.cross.a(documents.cross.o)
>>> defined at ../src/libs/xslt/libxslt/xsltutils.h:140
>>>            libxslt.cross.a(extensions.cross.o)

Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-21 11:22:00 +02:00
Alexandre Julliard
116ea9cec4 libs: Import upstream code from gsm 1.0.19.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-20 16:16:07 +02:00
Alexandre Julliard
c638618cbc libs: Import code from upstream libxslt 1.1.34.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-20 16:16:07 +02:00
Alexandre Julliard
9d9d4fcc37 libs: Import code from upstream libxml2 2.9.12.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-20 16:16:07 +02:00
Alexandre Julliard
06f6637363 libwine: Avoid including wine/port.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-20 16:16:07 +02:00
Alexandre Julliard
f550f624b2 libs: Import code from upstream lcms2 2.12.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-19 11:33:05 +02:00
Alexandre Julliard
913dad521f libs: Import upstream code from libtiff 4.3.0.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-19 11:33:05 +02:00
Alexandre Julliard
0ee6d22d05 libs: Import upstream code from libjpeg 9d.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-19 11:33:05 +02:00
Alexandre Julliard
885705c879 libs: Import upstream code from libpng 1.6.37.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-18 14:32:42 +02:00
Alexandre Julliard
2929aa3c74 libs: Import upstream code from zlib 1.2.11.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-18 11:07:38 +02:00
Alexandre Julliard
83ca429073 wmcodecdspuuid: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:47:53 +02:00
Alexandre Julliard
cbf9a44ee4 wbemuuid: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:47:53 +02:00
Alexandre Julliard
4fa272b003 uuid: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:47:53 +02:00
Alexandre Julliard
2390075361 strmiids: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:47:53 +02:00
Alexandre Julliard
b52b43a7a2 mfuuid: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:47:53 +02:00
Alexandre Julliard
3f1e7ac5b6 dxguid: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:47:51 +02:00
Alexandre Julliard
e36fe96fda dxerr9: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:44:02 +02:00
Alexandre Julliard
cc2e4d3d1f dxerr8: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:44:02 +02:00
Alexandre Julliard
7f38b342b0 dmoguids: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:44:02 +02:00
Alexandre Julliard
58f267dd96 adsiid: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:44:02 +02:00
Alexandre Julliard
ae9f64c464 configure: Remove some no longer needed configure checks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 18:03:11 +02:00
Alexandre Julliard
c60d604544 makefiles: Remove libwine_port.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-06 20:29:34 +02:00
Alexandre Julliard
dd895f496a libport: Remove the symlink() implementation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-06 20:29:34 +02:00
Alexandre Julliard
ee213bcbea libport: Remove the readlink() implementation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-06 20:29:34 +02:00
Alexandre Julliard
6d2cf0230e libport: Remove the lstat() implementation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-06 20:29:34 +02:00
Alexandre Julliard
8d3bc5c89c libport: Remove the _spawnvp() implementation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-05 11:54:42 +02:00
Alexandre Julliard
6052dbd77a libport: Remove the mkstemps() implementation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-05 11:54:12 +02:00
Alexandre Julliard
a01532200d libport: Remove the getopt_long() implementation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-05 11:54:00 +02:00
Alexandre Julliard
b69ce3472d wpp: Move the preprocessor code into wrc.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-24 21:55:18 +02:00
Alex Henrie
1cad3c00fe wpp: Allow fully variadic macros.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-09 20:10:48 +02:00
Alexandre Julliard
21cec48570 configure: Remove some no longer needed configure checks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-03 21:43:03 +02:00
Francois Gouget
0fd41648e3 libwine: Use NULL instead of casting 0.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-02 20:43:02 +01:00
Alexandre Julliard
c90ab917d1 libwine: Don't define obsolete functions on non-x86 platforms.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-04 23:11:22 +01:00
Alexandre Julliard
28d2afc064 libwine: Add missing wine/asm.h include.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50294
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-09 09:29:58 +01:00
Alexandre Julliard
2bf8293e8f libwine: Mark more functions as obsolete.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-08 22:25:59 +01:00
Alexandre Julliard
758e75cc46 libwine: Move the Android JNI initialization to ntdll.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-08 22:25:59 +01:00
Alexandre Julliard
9442c45c80 wpp: Merge preproc.c into wpp.c.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-03 20:18:38 +01:00
Alexandre Julliard
107103e2bd wpp: Remove some dead code.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-03 20:18:38 +01:00
Alexandre Julliard
506bdf4249 wpp: Use standard Wine lists where possible.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-03 20:18:38 +01:00
Alexandre Julliard
de2f4ceeb8 wpp: Don't try to recover from memory allocation errors.
wpp is only used in short-lived tools.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-03 20:18:38 +01:00
Alexandre Julliard
2bc3c8463d libport: Remove the isfinite/isinf/isnan function replacements.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-01 10:43:01 +01:00
Alexandre Julliard
7b4e10c707 libport: Remove the usleep() function replacement.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-01 10:22:01 +01:00
Alexandre Julliard
db7c934f8e libport: Remove the strnlen() function replacement.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-01 10:19:50 +01:00
Alexandre Julliard
d9a58b6013 libport: Remove the statvfs() function replacements.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-01 10:18:13 +01:00
Alexandre Julliard
c4e4540053 libport: Remove the ffs() function replacement.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-01 10:16:59 +01:00
Alexandre Julliard
335b05ac90 libport: Remove the rint() function replacements.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-01 10:15:49 +01:00
Alexandre Julliard
875f506b33 libport: Move the char type table back to libwine and stop updating it.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-30 19:01:55 +01:00
Alexandre Julliard
c7196dc945 libport: Move the case mapping table back to libwine and stop updating it.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-30 19:01:55 +01:00
Alexandre Julliard
00d067769e libwine: Move libwine private definitions out of the global wine/unicode.h
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-30 19:01:55 +01:00
Alexandre Julliard
1fdbf850ee libport: Move the non-inline version of the string functions to libwine.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-30 19:01:55 +01:00
Alexandre Julliard
0e03ad249c libport: Add both inline and non-inline versions for every Unicode function.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-30 19:01:55 +01:00
Alexandre Julliard
a204ad557d makefiles: Expand makedep path at compile time.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-09 20:30:31 +02:00
Alexandre Julliard
595f2846b2 libwine: Make the remaining configuration functions obsolete.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-08 16:54:23 +02:00
Alexandre Julliard
a9a08dbc3d libwine: Remove wine/library.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-08 16:26:17 +02:00
Zebediah Figura
047827b1c9 wpp: Correct the spelling of "ellipsis".
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-29 11:24:13 +02:00
André Hentschel
e7017c4a56 libport: Remove support for PPC32.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-17 16:46:14 +02:00
Damjan Jovanovic
e0138c4a6a libwine: Fix a regression in the return value check for mmap() on FreeBSD.
This fixes a regression from my previous patch in commit
55ba364837, which was
checking for mmap() returning NULL instead of MAP_FAILED.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49225
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-25 20:20:33 +02:00
Damjan Jovanovic
55ba364837 libwine: Add support for mmap at fixed start addresses on FreeBSD.
The way to implement MAP_TRYFIXED on FreeBSD is call mmap()
with MAP_FIXED | MAP_EXCL, which will allocate the mapping
from the exact starting address if possible, and if that fails,
call mmap() again without them. This gets PE DLLs loading at
their correct base addresses, and fixes a FreeBSD-specific
problem with Cygwin's fork() caused by cygwin1.dll loading at
different base addresses in the parent and child.

Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 20:50:05 +02:00
Alexandre Julliard
7eef40d444 libport: Get rid of interlocked functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-02 15:10:19 +02:00
Alexandre Julliard
98682cfd01 libwine: Make the various directory functions obsolete.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-27 12:36:15 +02:00