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
Alexandre Julliard
c1dadbcfb1
libwine: Make the debug functions obsolete.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-29 20:14:54 +01:00
Alexandre Julliard
39138478fd
libwine: Make some functions obsolete.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-29 20:14:54 +01:00
Alexandre Julliard
f17a228d45
unicode: Try harder to reuse subsequences when compressing data arrays.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-28 19:26:13 +01:00
Alexandre Julliard
bfeb0a97fe
unicode: Use a standard two-level mapping table for the sortkeys map.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-28 19:25:07 +01:00
Alexandre Julliard
31360d4785
unicode: Use a standard two-level mapping table for the digit map.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-28 18:58:50 +01:00
Alexandre Julliard
a08821186a
unicode: Use existing helpers to build the sortkeys table.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 21:11:29 +01:00
Alexandre Julliard
4b5c67ee0b
unicode: Remove case mappings that don't round-trip.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 21:11:29 +01:00
Alexandre Julliard
802803a028
libport: Fix the Cygwin build.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47959
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-16 12:00:10 +01:00
Nikolay Sivov
624ed18b1f
Update to Unicode 12.1.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:45 +01:00
Alexandre Julliard
7e8f1dac30
kernelbase: Reimplement MultiByteToWideChar() using Win32-format codepage tables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-06 22:30:23 +01:00
Stefan Dösinger
934c02c794
libs/port: Use MSVC intrinsics for interlocked functions.
...
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-18 20:01:17 +01:00
Alexandre Julliard
4f63971169
libport: Add codepage 28601 (Latin/Thai).
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 18:23:54 +02:00