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
44ce5d92
Commit
44ce5d92
authored
Feb 08, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unicode: Support fetching a zip containining the data files.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d94b605a
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
50 additions
and
37 deletions
+50
-37
bracket.c
dlls/dwrite/bracket.c
+1
-1
linebreak.c
dlls/dwrite/linebreak.c
+1
-1
mirror.c
dlls/dwrite/mirror.c
+1
-1
scripts.c
dlls/dwrite/scripts.c
+1
-1
scripts.h
dlls/dwrite/scripts.h
+1
-1
vertical.c
dlls/gdi32/vertical.c
+1
-1
compose.c
dlls/kernelbase/compose.c
+1
-1
decompose.c
dlls/kernelbase/decompose.c
+1
-1
digitmap.c
dlls/kernelbase/digitmap.c
+1
-1
combclass.c
dlls/ntdll/combclass.c
+1
-1
bracket.c
dlls/usp10/bracket.c
+1
-1
indicsyllable.c
dlls/usp10/indicsyllable.c
+2
-2
linebreak.c
dlls/usp10/linebreak.c
+1
-1
mirror.c
dlls/usp10/mirror.c
+1
-1
shaping.c
dlls/usp10/shaping.c
+1
-1
vertical.c
dlls/wineps.drv/vertical.c
+1
-1
casemap.c
libs/port/casemap.c
+1
-1
compose.c
libs/port/compose.c
+1
-1
decompose.c
libs/port/decompose.c
+1
-1
make_unicode
tools/make_unicode
+30
-17
No files found.
dlls/dwrite/bracket.c
View file @
44ce5d92
/* Unicode Bidirectional Bracket table */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/BidiBrackets.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/
UCD.zip:
BidiBrackets.txt */
/* DO NOT EDIT!! */
#include "windef.h"
...
...
dlls/dwrite/linebreak.c
View file @
44ce5d92
/* Unicode Line Break Properties */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/LineBreak.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/
UCD.zip:
LineBreak.txt */
/* DO NOT EDIT!! */
#include "windef.h"
...
...
dlls/dwrite/mirror.c
View file @
44ce5d92
/* Unicode BiDi mirroring */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/BidiMirroring.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/
UCD.zip:
BidiMirroring.txt */
/* DO NOT EDIT!! */
#include "windef.h"
...
...
dlls/dwrite/scripts.c
View file @
44ce5d92
/* Unicode Script IDs */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/Scripts.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/
UCD.zip:
Scripts.txt */
/* DO NOT EDIT!! */
#include "windef.h"
...
...
dlls/dwrite/scripts.h
View file @
44ce5d92
/* Unicode Script IDs */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/Scripts.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/
UCD.zip:
Scripts.txt */
/* DO NOT EDIT!! */
enum
unicode_script_id
{
...
...
dlls/gdi32/vertical.c
View file @
44ce5d92
/* Unicode Vertical Orientation */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/VerticalOrientation.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/
UCD.zip:
VerticalOrientation.txt */
/* DO NOT EDIT!! */
#include "windef.h"
...
...
dlls/kernelbase/compose.c
View file @
44ce5d92
/* Unicode char composition */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/UnicodeData.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/U
CD.zip:U
nicodeData.txt */
/* DO NOT EDIT!! */
#include "windef.h"
...
...
dlls/kernelbase/decompose.c
View file @
44ce5d92
/* Unicode char composition */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/UnicodeData.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/U
CD.zip:U
nicodeData.txt */
/* DO NOT EDIT!! */
#include "windef.h"
...
...
dlls/kernelbase/digitmap.c
View file @
44ce5d92
/* Unicode digit folding mappings */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/UnicodeData.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/U
CD.zip:U
nicodeData.txt */
/* DO NOT EDIT!! */
#include "windef.h"
...
...
dlls/ntdll/combclass.c
View file @
44ce5d92
/* Unicode Combining Classes */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/UnicodeData.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/U
CD.zip:U
nicodeData.txt */
/* DO NOT EDIT!! */
#include "windef.h"
...
...
dlls/usp10/bracket.c
View file @
44ce5d92
/* Unicode Bidirectional Bracket table */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/BidiBrackets.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/
UCD.zip:
BidiBrackets.txt */
/* DO NOT EDIT!! */
#include "windef.h"
...
...
dlls/usp10/indicsyllable.c
View file @
44ce5d92
/* Unicode Indic Syllabic Category */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/IndicSyllabicCategory.txt */
/* and from http://www.unicode.org/Public/12.1.0/ucd/IndicPositionalCategory.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/
UCD.zip:
IndicSyllabicCategory.txt */
/* and from http://www.unicode.org/Public/12.1.0/ucd/
UCD.zip:
IndicPositionalCategory.txt */
/* DO NOT EDIT!! */
#include "windef.h"
...
...
dlls/usp10/linebreak.c
View file @
44ce5d92
/* Unicode Line Break Properties */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/LineBreak.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/
UCD.zip:
LineBreak.txt */
/* DO NOT EDIT!! */
#include "windef.h"
...
...
dlls/usp10/mirror.c
View file @
44ce5d92
/* Unicode BiDi mirroring */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/BidiMirroring.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/
UCD.zip:
BidiMirroring.txt */
/* DO NOT EDIT!! */
#include "windef.h"
...
...
dlls/usp10/shaping.c
View file @
44ce5d92
/* Unicode Arabic shaping */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/ArabicShaping.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/
UCD.zip:
ArabicShaping.txt */
/* DO NOT EDIT!! */
#include "windef.h"
...
...
dlls/wineps.drv/vertical.c
View file @
44ce5d92
/* Unicode Vertical Orientation */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/VerticalOrientation.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/
UCD.zip:
VerticalOrientation.txt */
/* DO NOT EDIT!! */
#include "windef.h"
...
...
libs/port/casemap.c
View file @
44ce5d92
/* Unicode case mappings */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/UnicodeData.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/U
CD.zip:U
nicodeData.txt */
/* DO NOT EDIT!! */
#include "windef.h"
...
...
libs/port/compose.c
View file @
44ce5d92
/* Unicode char composition */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/UnicodeData.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/U
CD.zip:U
nicodeData.txt */
/* DO NOT EDIT!! */
#include "windef.h"
...
...
libs/port/decompose.c
View file @
44ce5d92
/* Unicode char composition */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/UnicodeData.txt */
/* generated from http://www.unicode.org/Public/12.1.0/ucd/U
CD.zip:U
nicodeData.txt */
/* DO NOT EDIT!! */
#include "windef.h"
...
...
tools/make_unicode
View file @
44ce5d92
...
...
@@ -23,7 +23,7 @@ use strict;
# base URLs for www.unicode.org files
my
$MAPPINGS
=
"http://www.unicode.org/Public/MAPPINGS"
;
my
$UNIDATA
=
"http://www.unicode.org/Public/12.1.0/ucd"
;
my
$UNIDATA
=
"http://www.unicode.org/Public/12.1.0/ucd
/UCD.zip
"
;
my
$REPORTS
=
"http://www.unicode.org/reports"
;
my
$RFCS
=
"http://www.rfc-editor.org/rfc"
;
...
...
@@ -444,9 +444,22 @@ sub open_data_file($$)
local
*
FILE
;
unless
(
-
f
"data/$name"
)
{
print
"Fetching $base/$name...\n"
;
system
"mkdir"
,
"-p"
,
$dir
;
!
system
"wget"
,
"-q"
,
"-O"
,
"data/$name"
,
"$base/$name"
or
die
"cannot fetch $base/$name"
;
if
(
$base
=~
/.*\/([^\/]+\.zip)$/
)
{
my
$zip
=
$1
;
unless
(
-
f
"data/$zip"
)
{
print
"Fetching $base...\n"
;
!
system
"wget"
,
"-q"
,
"-O"
,
"data/$zip"
,
"$base"
or
die
"cannot fetch $base"
;
}
!
system
"unzip"
,
"-q"
,
"-d"
,
"data"
,
"data/$zip"
,
$name
or
die
"cannot extract $name from $zip"
;
}
else
{
print
"Fetching $base/$name...\n"
;
!
system
"wget"
,
"-q"
,
"-O"
,
"data/$name"
,
"$base/$name"
or
die
"cannot fetch $base/$name"
;
}
}
open
FILE
,
"<data/$name"
or
die
"cannot open data/$name"
;
return
*
FILE
;
...
...
@@ -1333,8 +1346,8 @@ sub dump_indic($)
open
OUTPUT
,
">$filename.new"
or
die
"Cannot create $filename"
;
print
"Building $filename\n"
;
print
OUTPUT
"/* Unicode Indic Syllabic Category */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
/
IndicSyllabicCategory.txt */\n"
;
print
OUTPUT
"/* and from $UNIDATA
/
IndicPositionalCategory.txt */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
:
IndicSyllabicCategory.txt */\n"
;
print
OUTPUT
"/* and from $UNIDATA
:
IndicPositionalCategory.txt */\n"
;
print
OUTPUT
"/* DO NOT EDIT!! */\n\n"
;
print
OUTPUT
"#include \"windef.h\"\n\n"
;
...
...
@@ -1399,7 +1412,7 @@ sub dump_linebreak($)
open
OUTPUT
,
">$filename.new"
or
die
"Cannot create $filename"
;
print
"Building $filename\n"
;
print
OUTPUT
"/* Unicode Line Break Properties */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
/
LineBreak.txt */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
:
LineBreak.txt */\n"
;
print
OUTPUT
"/* DO NOT EDIT!! */\n\n"
;
print
OUTPUT
"#include \"windef.h\"\n\n"
;
...
...
@@ -1616,7 +1629,7 @@ sub dump_scripts($)
open
OUTPUT
,
">$header.new"
or
die
"Cannot create $header"
;
print
"Building $header\n"
;
print
OUTPUT
"/* Unicode Script IDs */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
/
Scripts.txt */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
:
Scripts.txt */\n"
;
print
OUTPUT
"/* DO NOT EDIT!! */\n\n"
;
print
OUTPUT
"enum unicode_script_id {\n"
;
...
...
@@ -1634,7 +1647,7 @@ sub dump_scripts($)
open
OUTPUT
,
">$filename.new"
or
die
"Cannot create $header"
;
print
"Building $filename\n"
;
print
OUTPUT
"/* Unicode Script IDs */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
/
Scripts.txt */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
:
Scripts.txt */\n"
;
print
OUTPUT
"/* DO NOT EDIT!! */\n\n"
;
print
OUTPUT
"#include \"windef.h\"\n\n"
;
...
...
@@ -1668,7 +1681,7 @@ sub dump_mirroring($)
open
OUTPUT
,
">$filename.new"
or
die
"Cannot create $filename"
;
print
"Building $filename\n"
;
print
OUTPUT
"/* Unicode BiDi mirroring */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
/
BidiMirroring.txt */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
:
BidiMirroring.txt */\n"
;
print
OUTPUT
"/* DO NOT EDIT!! */\n\n"
;
print
OUTPUT
"#include \"windef.h\"\n\n"
;
dump_two_level_mapping
(
"wine_mirror_map"
,
0
,
16
,
@mirror_table
);
...
...
@@ -1705,7 +1718,7 @@ sub dump_bracket($)
open
OUTPUT
,
">$filename.new"
or
die
"Cannot create $filename"
;
print
"Building $filename\n"
;
print
OUTPUT
"/* Unicode Bidirectional Bracket table */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
/
BidiBrackets.txt */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
:
BidiBrackets.txt */\n"
;
print
OUTPUT
"/* DO NOT EDIT!! */\n\n"
;
print
OUTPUT
"#include \"windef.h\"\n\n"
;
...
...
@@ -1746,7 +1759,7 @@ sub dump_shaping($)
open
OUTPUT
,
">$filename.new"
or
die
"Cannot create $filename"
;
print
"Building $filename\n"
;
print
OUTPUT
"/* Unicode Arabic shaping */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
/
ArabicShaping.txt */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
:
ArabicShaping.txt */\n"
;
print
OUTPUT
"/* DO NOT EDIT!! */\n\n"
;
print
OUTPUT
"#include \"windef.h\"\n\n"
;
...
...
@@ -1807,7 +1820,7 @@ sub dump_vertical($)
open
OUTPUT
,
">$filename.new"
or
die
"Cannot create $filename"
;
print
"Building $filename\n"
;
print
OUTPUT
"/* Unicode Vertical Orientation */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
/
VerticalOrientation.txt */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
:
VerticalOrientation.txt */\n"
;
print
OUTPUT
"/* DO NOT EDIT!! */\n\n"
;
print
OUTPUT
"#include \"windef.h\"\n\n"
;
...
...
@@ -1825,7 +1838,7 @@ sub dump_digit_folding($)
open
OUTPUT
,
">$filename.new"
or
die
"Cannot create $filename"
;
print
"Building $filename\n"
;
print
OUTPUT
"/* Unicode digit folding mappings */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
/
UnicodeData.txt */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
:
UnicodeData.txt */\n"
;
print
OUTPUT
"/* DO NOT EDIT!! */\n\n"
;
print
OUTPUT
"#include \"windef.h\"\n\n"
;
...
...
@@ -1843,7 +1856,7 @@ sub dump_case_mappings($)
open
OUTPUT
,
">$filename.new"
or
die
"Cannot create $filename"
;
print
"Building $filename\n"
;
print
OUTPUT
"/* Unicode case mappings */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
/
UnicodeData.txt */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
:
UnicodeData.txt */\n"
;
print
OUTPUT
"/* DO NOT EDIT!! */\n\n"
;
print
OUTPUT
"#include \"windef.h\"\n\n"
;
...
...
@@ -2299,7 +2312,7 @@ sub dump_compose_table($)
open
OUTPUT
,
">$filename.new"
or
die
"Cannot create $filename"
;
print
"Building $filename\n"
;
print
OUTPUT
"/* Unicode char composition */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
/
UnicodeData.txt */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
:
UnicodeData.txt */\n"
;
print
OUTPUT
"/* DO NOT EDIT!! */\n\n"
;
print
OUTPUT
"#include \"windef.h\"\n\n"
;
...
...
@@ -2484,7 +2497,7 @@ sub dump_decompose_table($$)
open
OUTPUT
,
">$filename.new"
or
die
"Cannot create $filename"
;
print
"Building $filename\n"
;
print
OUTPUT
"/* Unicode char composition */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
/
UnicodeData.txt */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
:
UnicodeData.txt */\n"
;
print
OUTPUT
"/* DO NOT EDIT!! */\n\n"
;
print
OUTPUT
"#include \"windef.h\"\n"
;
...
...
@@ -2504,7 +2517,7 @@ sub dump_combining_class($)
open
OUTPUT
,
">$filename.new"
or
die
"Cannot create $filename"
;
print
"Building $filename\n"
;
print
OUTPUT
"/* Unicode Combining Classes */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
/
UnicodeData.txt */\n"
;
print
OUTPUT
"/* generated from $UNIDATA
:
UnicodeData.txt */\n"
;
print
OUTPUT
"/* DO NOT EDIT!! */\n\n"
;
print
OUTPUT
"#include \"windef.h\"\n\n"
;
...
...
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