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
Alexandre Julliard
c56e5695a7
libport: Remove the Windows libwine stubs.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 14:15:12 +02:00
Alexandre Julliard
18273d5e71
libwine: Remove some no longer needed helper functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-09 11:51:24 +02:00
Chip Davis
d01b177bee
libwine: Add missing return (Clang).
...
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-08 12:32:31 +02:00
Alexandre Julliard
b87256cd1d
libwine: Make the dlopen() wrapper functions obsolete.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-07 14:26:20 +02:00
Alexandre Julliard
149e03c72a
configure: Add -ldl to default libs if necessary.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-06 21:21:41 +02:00
Alexandre Julliard
3b16f35413
libwine: Make the LDT functions obsolete.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-03 10:51:44 +02:00
Alexandre Julliard
a698750630
libwine: Avoid using wine_get/set_fs().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-03 10:47:33 +02:00
Francois Gouget
bda70216a6
wpp: Standardize the error and warning messages.
...
Use lowercase 'error:' and 'warning:' prefixes like other tools so the
messages can be recognized by standard tools.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-02 11:42:30 +02:00
Alexandre Julliard
d87d4a4a04
unicode: Store data for CT_CTYPE3 types.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 11:26:47 +01:00
Alexandre Julliard
b83af7c763
unicode: Update data tables to Unicode 13.0.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-13 13:23:11 +01:00
Alexandre Julliard
b507fe49ea
unicode: Use the standard compression function for the casemap table.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-18 11:14:58 +01:00
Alexandre Julliard
23cee79d72
libport: Move the composition tables back to libwine and stop updating them.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-17 13:49:05 +01:00
Alexandre Julliard
4dab9bc04b
unicode: Move the compatibility decomposition table to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-17 10:29:47 +01:00
Alexandre Julliard
5b4bdb9fd3
libport: Move the codepage tables back to libwine and stop updating them.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-12 16:54:03 +01:00
Alexandre Julliard
831f58caa5
libport: Move the codepage table functions back to libwine and make them obsolete.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-12 16:54:02 +01:00
Alexandre Julliard
d81f96a8fc
libport: Move wine_cp_wcstombs implementation back to libwine and make it obsolete.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-12 16:54:02 +01:00
Alexandre Julliard
23a50fb0bd
libport: Move wine_cp_mbstowcs implementation back to libwine and make it obsolete.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-12 16:54:02 +01:00
Rémi Bernon
7154c8676f
wpp: Do not pass NULL %s to fprintf.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 22:39:59 +01:00
Alexandre Julliard
cb524e09a6
unicode: Remove some codepages that don't exist on Windows.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-10 14:56:49 +01:00
Alexandre Julliard
09d97e9685
unicode: Use codepage files from Microsoft's Open Specification data.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-10 14:56:49 +01:00
Alexandre Julliard
44ce5d9283
unicode: Support fetching a zip containining the data files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-09 09:48:42 +01:00
Alexandre Julliard
d94b605a8a
unicode: Add JIS-0212 mappings to the 20932 (EUC-JP) codepage table.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-08 12:15:41 +01:00
Alexandre Julliard
fd86c85918
libport: Move the collation table back to libwine and stop updating it.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 09:00:47 +01:00
Alexandre Julliard
599166bd35
libport: Move the digitmap table back to libwine and stop updating it.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 09:00:40 +01:00
Alexandre Julliard
473914f6a5
libport: Move wine_utf8 functions back to libwine and make them obsolete.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 09:00:30 +01:00
Alexandre Julliard
f4b7260d29
libport: Move wine_cpsymbol functions back to libwine and make them obsolete.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 09:00:22 +01:00
Alexandre Julliard
5a1e897df7
libport: Move wine_compare_string implementation back to libwine and make it obsolete.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 09:00:14 +01:00
Alexandre Julliard
afd681ebd9
libport: Move wine_fold_string implementation back to libwine and make it obsolete.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 09:00:04 +01:00
Alexandre Julliard
6346809302
unicode: Move the combining class table to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-04 21:30:26 +01:00
Alexandre Julliard
0576fa43c4
unicode: Expand surrogates in decomposition tables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-04 21:30:26 +01:00
Alexandre Julliard
cd8eaef47e
unicode: Avoid copying the decomposition data when not necessary.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-04 21:30:26 +01:00
Alexandre Julliard
a646e4e6f2
unicode: Store recursive decompositions directly in the tables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-04 21:30:26 +01:00
Alexandre Julliard
dba4bd756a
unicode: Store variable-length sequences also for the main decomposition table.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-04 21:30:26 +01:00
Alexandre Julliard
cc300a20b3
libport: Move Unicode normalization implementation to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-03 19:20:39 +01:00
Alexandre Julliard
c599ec1494
libwine: Make some loader functions obsolete.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-29 20:14:54 +01:00