Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
04aa6a88
Commit
04aa6a88
authored
Nov 17, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Nov 17, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some incompatibilities in the wctype table by updating the
space, blank and cntrl exceptions and fixing the type given to characters in the "Zl" and "Zp" classes.
parent
def2bb67
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
13 deletions
+17
-13
cpmap.pl
libs/unicode/cpmap.pl
+8
-4
wctype.c
libs/unicode/wctype.c
+9
-9
No files found.
libs/unicode/cpmap.pl
View file @
04aa6a88
...
...
@@ -125,8 +125,8 @@ $DEF_CHAR = ord '?';
"Nl"
=>
$ctype
{
"punct"
},
# Number, Letter
"No"
=>
$ctype
{
"punct"
},
# Number, Other
"Zs"
=>
$ctype
{
"space"
},
# Separator, Space
"Zl"
=>
0
,
# Separator, Line
"Zp"
=>
0
,
# Separator, Paragraph
"Zl"
=>
$ctype
{
"space"
},
# Separator, Line
"Zp"
=>
$ctype
{
"space"
},
# Separator, Paragraph
"Cc"
=>
$ctype
{
"cntrl"
},
# Other, Control
"Cf"
=>
0
,
# Other, Format
"Cs"
=>
0
,
# Other, Surrogate
...
...
@@ -152,8 +152,12 @@ $DEF_CHAR = ord '?';
(
"xdigit"
=>
[
ord
(
'0'
)
..
ord
(
'9'
),
ord
(
'A'
)
..
ord
(
'F'
),
ord
(
'a'
)
..
ord
(
'f'
),
0xff10
..
0xff19
,
0xff21
..
0xff26
,
0xff41
..
0xff46
],
"space"
=>
[
0x09
..
0x0d
,
0xfeff
],
"blank"
=>
[
0x09
,
0x20
,
0xa0
,
0xfeff
]
"space"
=>
[
0x09
..
0x0d
,
0x85
],
"blank"
=>
[
0x09
,
0x20
,
0xa0
,
0x3000
,
0xfeff
],
"cntrl"
=>
[
0x070f
,
0x180b
,
0x180c
,
0x180d
,
0x180e
,
0x200c
,
0x200d
,
0x200e
,
0x200f
,
0x202a
,
0x202b
,
0x202c
,
0x202d
,
0x202e
,
0x206a
,
0x206b
,
0x206c
,
0x206d
,
0x206e
,
0x206f
,
0xfeff
,
0xfff9
,
0xfffa
,
0xfffb
]
);
%
directions
=
...
...
libs/unicode/wctype.c
View file @
04aa6a88
...
...
@@ -55,7 +55,7 @@ const unsigned short wine_wctype_table[14336] =
0x1102
,
0x1102
,
0x1102
,
0x1102
,
0x1102
,
0x1102
,
0x1102
,
0x1102
,
0x1102
,
0x1102
,
0x1102
,
0x1102
,
0x1102
,
0x1102
,
0x1102
,
0x1102
,
0x1102
,
0x1102
,
0x1102
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x802
0
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x802
8
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
...
...
@@ -264,7 +264,7 @@ const unsigned short wine_wctype_table[14336] =
0x3004
,
0x3004
,
0x3004
,
0x3004
,
0x3004
,
0x3004
,
0x3004
,
0x3004
,
0x3004
,
0x3004
,
0x2100
,
0x2100
,
0x2100
,
0x2010
,
0x2010
,
0x2100
,
0x2010
,
0x2010
,
0x2010
,
0x2010
,
0x2010
,
0x2010
,
0x2010
,
0x2010
,
0x2010
,
0x2010
,
0x2010
,
0x2010
,
0x2010
,
0x2010
,
0x0000
,
0x00
0
0
,
0x2010
,
0x2010
,
0x2010
,
0x2010
,
0x2010
,
0x2010
,
0x0000
,
0x00
2
0
,
0x2100
,
0x0010
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
...
...
@@ -808,7 +808,7 @@ const unsigned short wine_wctype_table[14336] =
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0x00
10
,
0x0010
,
0x0010
,
0xa00
8
,
0x0000
,
0xb010
,
0xb010
,
0xb010
,
0x00
30
,
0x0030
,
0x0030
,
0xa02
8
,
0x0000
,
0x1004
,
0x1004
,
0x1004
,
0x1004
,
0x1004
,
0x1004
,
0x1004
,
0x1004
,
0x1004
,
0x1004
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x1100
,
0x1100
,
0x1100
,
0x1100
,
0x1100
,
0x1100
,
0x1100
,
0x1100
,
...
...
@@ -968,11 +968,11 @@ const unsigned short wine_wctype_table[14336] =
0x0000
,
0x0000
,
0x1102
,
0x1102
,
0x1102
,
0x0000
,
0x1102
,
0x1102
,
0x1101
,
0x1101
,
0x1101
,
0x1101
,
0x1101
,
0xb010
,
0xb010
,
0x0000
,
0xa008
,
0xa008
,
0xa008
,
0xa008
,
0xa008
,
0xa008
,
0xa008
,
0xa008
,
0xa008
,
0xa008
,
0xa008
,
0x0008
,
0x00
00
,
0x0000
,
0x1000
,
0x200
0
,
0xa008
,
0xa008
,
0xa008
,
0x0008
,
0x00
20
,
0x0020
,
0x1020
,
0x202
0
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xa00
0
,
0x8000
,
0xb000
,
0xb000
,
0xb000
,
0xb000
,
0xb00
0
,
0xa008
,
0xa00
8
,
0x8008
,
0xb020
,
0xb020
,
0xb020
,
0xb020
,
0xb02
0
,
0xa008
,
0x5010
,
0x5010
,
0x5010
,
0x5010
,
0x5010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
...
...
@@ -980,7 +980,7 @@ const unsigned short wine_wctype_table[14336] =
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0x0000
,
0x0000
,
0xb010
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0xa008
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x00
00
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x000
0
,
0x0000
,
0x0000
,
0x00
20
,
0x0020
,
0x0020
,
0x0020
,
0x0020
,
0x002
0
,
0x3010
,
0x1102
,
0x0000
,
0x0000
,
0x3010
,
0x3010
,
0x3010
,
0x3010
,
0x3010
,
0x3010
,
0x5010
,
0x5010
,
0xb010
,
0xb010
,
0xb010
,
0x1102
,
0x3010
,
0x3010
,
0x3010
,
0x3010
,
0x3010
,
0x3010
,
0x3010
,
0x3010
,
...
...
@@ -1319,7 +1319,7 @@ const unsigned short wine_wctype_table[14336] =
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0xa0
0
8
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0x1010
,
0x1100
,
0x1010
,
0xa0
4
8
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0x1010
,
0x1100
,
0x1010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
...
...
@@ -1766,7 +1766,7 @@ const unsigned short wine_wctype_table[14336] =
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x0000
,
0x0000
,
0x00
48
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x2100
,
0x0000
,
0x0000
,
0x00
60
,
0x0000
,
0xb010
,
0xb010
,
0x5010
,
0x5010
,
0x5010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0x5010
,
0x7010
,
0x5010
,
0x7010
,
0x4010
,
0x3084
,
0x3084
,
0x3084
,
0x3084
,
0x3084
,
0x3084
,
0x3084
,
0x3084
,
...
...
@@ -1798,5 +1798,5 @@ const unsigned short wine_wctype_table[14336] =
0x5010
,
0x5010
,
0xb010
,
0xb010
,
0xb010
,
0x5010
,
0x5010
,
0x0000
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0xb010
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x00
00
,
0x0000
,
0x000
0
,
0xb010
,
0xb010
,
0x0000
,
0x0000
0x0000
,
0x00
20
,
0x0020
,
0x002
0
,
0xb010
,
0xb010
,
0x0000
,
0x0000
};
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