Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
599166bd
Commit
599166bd
authored
Feb 05, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libport: Move the digitmap table back to libwine and stop updating it.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
473914f6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
22 deletions
+10
-22
Makefile.in
libs/port/Makefile.in
+0
-1
Makefile.in
libs/wine/Makefile.in
+1
-0
digitmap.c
libs/wine/digitmap.c
+6
-0
make_unicode
tools/make_unicode
+3
-21
No files found.
libs/port/Makefile.in
View file @
599166bd
...
...
@@ -79,7 +79,6 @@ C_SRCS = \
compose.c
\
cptable.c
\
decompose.c
\
digitmap.c
\
ffs.c
\
fstatvfs.c
\
getopt.c
\
...
...
libs/wine/Makefile.in
View file @
599166bd
...
...
@@ -5,6 +5,7 @@ C_SRCS = \
config.c
\
cpsymbol.c
\
debug.c
\
digitmap.c
\
fold.c
\
ldt.c
\
loader.c
\
...
...
libs/
port
/digitmap.c
→
libs/
wine
/digitmap.c
View file @
599166bd
...
...
@@ -2,6 +2,10 @@
/* generated from http://www.unicode.org/Public/12.1.0/ucd/UnicodeData.txt */
/* DO NOT EDIT!! */
#include "wine/asm.h"
#ifdef __ASM_OBSOLETE
#include "windef.h"
const
unsigned
short
DECLSPEC_HIDDEN
wine_digitmap
[
619
]
=
...
...
@@ -287,3 +291,5 @@ const WCHAR DECLSPEC_HIDDEN wine_compatmap[1497] =
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
};
#endif
/* __ASM_OBSOLETE */
tools/make_unicode
View file @
599166bd
...
...
@@ -409,7 +409,6 @@ my @unicode_aliases = ();
my
@tolower_table
=
();
my
@toupper_table
=
();
my
@digitmap_table
=
();
my
@compatmap_table
=
();
my
@category_table
=
();
my
@joining_table
=
();
my
@direction_table
=
();
...
...
@@ -582,11 +581,6 @@ sub load_data($)
if
(
$decomp
=~
/^<([a-zA-Z]+)>\s+([0-9a-fA-F]+)$/
)
{
# decomposition of the form "<foo> 1234" -> use char if type is known
if
((
$src
>=
0xf900
&&
$src
<
0xfb00
)
||
(
$src
>=
0xfe30
&&
$src
<
0xfffd
))
{
# Single char decomposition in the compatibility range
$compatmap_table
[
$src
]
=
hex
$2
;
}
if
(
$1
eq
"isolated"
||
$1
eq
"final"
||
$1
eq
"initial"
||
$1
eq
"medial"
)
{
$
{
joining_forms
{
$1
}}[
hex
$2
]
=
$src
;
...
...
@@ -623,12 +617,6 @@ sub load_data($)
{
# Single char decomposition
$decomp_table
[
$src
]
=
$decomp_compat_table
[
$src
]
=
[
hex
$1
];
if
((
$src
>=
0xf900
&&
$src
<
0xfb00
)
||
(
$src
>=
0xfe30
&&
$src
<
0xfffd
))
{
# Single char decomposition in the compatibility range
$compatmap_table
[
$src
]
=
hex
$1
;
}
}
}
else
...
...
@@ -1816,9 +1804,9 @@ sub dump_vertical($)
################################################################
# dump the digit folding tables
sub
dump_digit_folding
($
$
)
sub
dump_digit_folding
($)
{
my
(
$filename
,
$compat
)
=
@_
;
my
(
$filename
)
=
shift
;
open
OUTPUT
,
">$filename.new"
or
die
"Cannot create $filename"
;
print
"Building $filename\n"
;
print
OUTPUT
"/* Unicode digit folding mappings */\n"
;
...
...
@@ -1827,11 +1815,6 @@ sub dump_digit_folding($$)
print
OUTPUT
"#include \"windef.h\"\n\n"
;
dump_two_level_mapping
(
"wine_digitmap"
,
0
,
16
,
@digitmap_table
);
if
(
$compat
)
{
print
OUTPUT
"\n"
;
dump_case_table
(
"DECLSPEC_HIDDEN wine_compatmap"
,
@compatmap_table
);
}
close
OUTPUT
;
save_file
(
$filename
);
}
...
...
@@ -2755,8 +2738,7 @@ dump_bidi_dir_table( "dlls/gdi32/direction.c" );
dump_bidi_dir_table
(
"dlls/usp10/direction.c"
);
dump_bidi_dir_table
(
"dlls/dwrite/direction.c"
);
dump_string_type_table
(
"dlls/kernelbase/wctype.c"
);
dump_digit_folding
(
"libs/port/digitmap.c"
,
1
);
dump_digit_folding
(
"dlls/kernelbase/digitmap.c"
,
0
);
dump_digit_folding
(
"dlls/kernelbase/digitmap.c"
);
dump_combining_class
(
"dlls/ntdll/combclass.c"
);
dump_mirroring
(
"dlls/usp10/mirror.c"
);
dump_mirroring
(
"dlls/dwrite/mirror.c"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment