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
84cd9043
Commit
84cd9043
authored
Mar 23, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine: Move collation table to libwine_port.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9de38825
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
15 deletions
+10
-15
unicode.h
include/wine/unicode.h
+0
-8
Makefile.in
libs/port/Makefile.in
+2
-0
collation.c
libs/port/collation.c
+3
-1
sortkey.c
libs/port/sortkey.c
+0
-0
Makefile.in
libs/wine/Makefile.in
+0
-3
port.c
libs/wine/port.c
+1
-0
make_unicode
tools/make_unicode
+4
-3
No files found.
include/wine/unicode.h
View file @
84cd9043
...
@@ -35,14 +35,6 @@
...
@@ -35,14 +35,6 @@
extern
"C"
{
extern
"C"
{
#endif
#endif
#ifndef WINE_UNICODE_API
# if defined(_MSC_VER) || defined(__MINGW32__)
# define WINE_UNICODE_API DECLSPEC_IMPORT
# else
# define WINE_UNICODE_API
# endif
#endif
#ifndef WINE_UNICODE_INLINE
#ifndef WINE_UNICODE_INLINE
#define WINE_UNICODE_INLINE static inline
#define WINE_UNICODE_INLINE static inline
#endif
#endif
...
...
libs/port/Makefile.in
View file @
84cd9043
...
@@ -74,6 +74,7 @@ C_SRCS = \
...
@@ -74,6 +74,7 @@ C_SRCS = \
c_949.c
\
c_949.c
\
c_950.c
\
c_950.c
\
casemap.c
\
casemap.c
\
collation.c
\
combclass.c
\
combclass.c
\
compose.c
\
compose.c
\
cpsymbol.c
\
cpsymbol.c
\
...
@@ -97,6 +98,7 @@ C_SRCS = \
...
@@ -97,6 +98,7 @@ C_SRCS = \
pwrite.c
\
pwrite.c
\
readlink.c
\
readlink.c
\
rint.c
\
rint.c
\
sortkey.c
\
spawn.c
\
spawn.c
\
statvfs.c
\
statvfs.c
\
strnlen.c
\
strnlen.c
\
...
...
libs/
wine
/collation.c
→
libs/
port
/collation.c
View file @
84cd9043
...
@@ -2,7 +2,9 @@
...
@@ -2,7 +2,9 @@
/* generated from http://www.unicode.org/reports/tr10/allkeys.txt */
/* generated from http://www.unicode.org/reports/tr10/allkeys.txt */
/* DO NOT EDIT!! */
/* DO NOT EDIT!! */
const
unsigned
int
collation_table
[
12800
]
=
#include "wine/unicode.h"
const
unsigned
int
DECLSPEC_HIDDEN
collation_table
[
12800
]
=
{
{
/* index */
/* index */
0x00000200
,
0x00000300
,
0x00000400
,
0x00000500
,
0x00000600
,
0x00000700
,
0x00000800
,
0x00000900
,
0x00000200
,
0x00000300
,
0x00000400
,
0x00000500
,
0x00000600
,
0x00000700
,
0x00000800
,
0x00000900
,
...
...
libs/
wine
/sortkey.c
→
libs/
port
/sortkey.c
View file @
84cd9043
File moved
libs/wine/Makefile.in
View file @
84cd9043
EXTRALIBS
=
$(DL_LIBS)
$(COREFOUNDATION_LIBS)
$(CORESERVICES_LIBS)
EXTRALIBS
=
$(DL_LIBS)
$(COREFOUNDATION_LIBS)
$(CORESERVICES_LIBS)
EXTRADEFS
=
-DWINE_UNICODE_API
=
""
C_SRCS
=
\
C_SRCS
=
\
collation.c
\
config.c
\
config.c
\
debug.c
\
debug.c
\
ldt.c
\
ldt.c
\
loader.c
\
loader.c
\
mmap.c
\
mmap.c
\
port.c
\
port.c
\
sortkey.c
\
string.c
string.c
EXTRA_OBJS
=
version.o
EXTRA_OBJS
=
version.o
...
...
libs/wine/port.c
View file @
84cd9043
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
#ifndef __ANDROID__
#ifndef __ANDROID__
const
void
*
libwine_port_functions
[]
=
const
void
*
libwine_port_functions
[]
=
{
{
wine_compare_string
,
wine_cp_enum_table
,
wine_cp_enum_table
,
wine_cp_get_table
,
wine_cp_get_table
,
wine_cp_mbstowcs
,
wine_cp_mbstowcs
,
...
...
tools/make_unicode
View file @
84cd9043
...
@@ -844,7 +844,7 @@ sub READ_SORTKEYS_FILE()
...
@@ -844,7 +844,7 @@ sub READ_SORTKEYS_FILE()
################################################################
################################################################
# build the sort keys table
# build the sort keys table
sub
DUMP_SORTKEYS
($@)
sub
dump_sortkeys
($@)
{
{
my
(
$filename
,
@keys
)
=
@_
;
my
(
$filename
,
@keys
)
=
@_
;
...
@@ -868,8 +868,9 @@ sub DUMP_SORTKEYS($@)
...
@@ -868,8 +868,9 @@ sub DUMP_SORTKEYS($@)
printf
OUTPUT
"/* Unicode collation element table */\n"
;
printf
OUTPUT
"/* Unicode collation element table */\n"
;
printf
OUTPUT
"/* generated from %s */\n"
,
"$REPORTS/$SORTKEYS"
;
printf
OUTPUT
"/* generated from %s */\n"
,
"$REPORTS/$SORTKEYS"
;
printf
OUTPUT
"/* DO NOT EDIT!! */\n\n"
;
printf
OUTPUT
"/* DO NOT EDIT!! */\n\n"
;
print
OUTPUT
"#include \"wine/unicode.h\"\n\n"
;
printf
OUTPUT
"const unsigned int collation_table[%d] =\n{\n"
,
$ranges
*
256
;
printf
OUTPUT
"const unsigned int
DECLSPEC_HIDDEN
collation_table[%d] =\n{\n"
,
$ranges
*
256
;
printf
OUTPUT
" /* index */\n"
;
printf
OUTPUT
" /* index */\n"
;
printf
OUTPUT
"%s,\n"
,
DUMP_ARRAY
(
"0x%08x"
,
0
,
@offsets
);
printf
OUTPUT
"%s,\n"
,
DUMP_ARRAY
(
"0x%08x"
,
0
,
@offsets
);
...
@@ -2767,7 +2768,7 @@ sub REPLACE_IN_FILE($@)
...
@@ -2767,7 +2768,7 @@ sub REPLACE_IN_FILE($@)
chdir
".."
if
-
f
"./make_unicode"
;
chdir
".."
if
-
f
"./make_unicode"
;
READ_DEFAULTS
(
$DEFAULTS
);
READ_DEFAULTS
(
$DEFAULTS
);
dump_case_mappings
(
"libs/port/casemap.c"
);
dump_case_mappings
(
"libs/port/casemap.c"
);
DUMP_SORTKEYS
(
"libs/wine
/collation.c"
,
READ_SORTKEYS_FILE
()
);
dump_sortkeys
(
"libs/port
/collation.c"
,
READ_SORTKEYS_FILE
()
);
dump_compose_table
(
"libs/port/compose.c"
);
dump_compose_table
(
"libs/port/compose.c"
);
dump_decompose_table
(
"libs/port/decompose.c"
);
dump_decompose_table
(
"libs/port/decompose.c"
);
dump_ctype_tables
(
"libs/port/wctype.c"
);
dump_ctype_tables
(
"libs/port/wctype.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