jassub 1.7.13 → 1.7.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/jassub-worker.js +6 -6
- package/package.json +4 -2
- package/dist/js/jassub-worker-modern.js +0 -128
- package/dist/js/jassub-worker-modern.wasm +0 -0
- package/dist/js/jassub-worker.js +0 -128
- package/dist/js/jassub-worker.wasm +0 -0
- package/dist/js/jassub-worker.wasm.js +0 -84
- package/dist/js/jassub.js +0 -832
- package/dist/libraries/bin/brotli.js +0 -1
- package/dist/libraries/include/ass/ass.h +0 -812
- package/dist/libraries/include/ass/ass_types.h +0 -292
- package/dist/libraries/include/brotli/decode.h +0 -344
- package/dist/libraries/include/brotli/encode.h +0 -448
- package/dist/libraries/include/brotli/port.h +0 -288
- package/dist/libraries/include/brotli/types.h +0 -83
- package/dist/libraries/include/expat.h +0 -1064
- package/dist/libraries/include/expat_config.h +0 -115
- package/dist/libraries/include/expat_external.h +0 -165
- package/dist/libraries/include/fontconfig/fcfreetype.h +0 -59
- package/dist/libraries/include/fontconfig/fcprivate.h +0 -134
- package/dist/libraries/include/fontconfig/fontconfig.h +0 -1154
- package/dist/libraries/include/freetype2/freetype/config/ftconfig.h +0 -63
- package/dist/libraries/include/freetype2/freetype/config/ftheader.h +0 -824
- package/dist/libraries/include/freetype2/freetype/config/ftmodule.h +0 -20
- package/dist/libraries/include/freetype2/freetype/config/ftoption.h +0 -1011
- package/dist/libraries/include/freetype2/freetype/config/ftstdlib.h +0 -175
- package/dist/libraries/include/freetype2/freetype/config/integer-types.h +0 -245
- package/dist/libraries/include/freetype2/freetype/config/mac-support.h +0 -49
- package/dist/libraries/include/freetype2/freetype/config/public-macros.h +0 -120
- package/dist/libraries/include/freetype2/freetype/freetype.h +0 -4833
- package/dist/libraries/include/freetype2/freetype/ftadvanc.h +0 -188
- package/dist/libraries/include/freetype2/freetype/ftbbox.h +0 -101
- package/dist/libraries/include/freetype2/freetype/ftbdf.h +0 -212
- package/dist/libraries/include/freetype2/freetype/ftbitmap.h +0 -329
- package/dist/libraries/include/freetype2/freetype/ftbzip2.h +0 -102
- package/dist/libraries/include/freetype2/freetype/ftcache.h +0 -1087
- package/dist/libraries/include/freetype2/freetype/ftchapters.h +0 -147
- package/dist/libraries/include/freetype2/freetype/ftcid.h +0 -167
- package/dist/libraries/include/freetype2/freetype/ftcolor.h +0 -1609
- package/dist/libraries/include/freetype2/freetype/ftdriver.h +0 -1193
- package/dist/libraries/include/freetype2/freetype/fterrdef.h +0 -279
- package/dist/libraries/include/freetype2/freetype/fterrors.h +0 -296
- package/dist/libraries/include/freetype2/freetype/ftfntfmt.h +0 -93
- package/dist/libraries/include/freetype2/freetype/ftgasp.h +0 -143
- package/dist/libraries/include/freetype2/freetype/ftglyph.h +0 -664
- package/dist/libraries/include/freetype2/freetype/ftgxval.h +0 -354
- package/dist/libraries/include/freetype2/freetype/ftgzip.h +0 -151
- package/dist/libraries/include/freetype2/freetype/ftimage.h +0 -1276
- package/dist/libraries/include/freetype2/freetype/ftincrem.h +0 -348
- package/dist/libraries/include/freetype2/freetype/ftlcdfil.h +0 -323
- package/dist/libraries/include/freetype2/freetype/ftlist.h +0 -296
- package/dist/libraries/include/freetype2/freetype/ftlogging.h +0 -184
- package/dist/libraries/include/freetype2/freetype/ftlzw.h +0 -100
- package/dist/libraries/include/freetype2/freetype/ftmac.h +0 -289
- package/dist/libraries/include/freetype2/freetype/ftmm.h +0 -752
- package/dist/libraries/include/freetype2/freetype/ftmodapi.h +0 -806
- package/dist/libraries/include/freetype2/freetype/ftmoderr.h +0 -204
- package/dist/libraries/include/freetype2/freetype/ftotval.h +0 -206
- package/dist/libraries/include/freetype2/freetype/ftoutln.h +0 -586
- package/dist/libraries/include/freetype2/freetype/ftparams.h +0 -203
- package/dist/libraries/include/freetype2/freetype/ftpfr.h +0 -179
- package/dist/libraries/include/freetype2/freetype/ftrender.h +0 -244
- package/dist/libraries/include/freetype2/freetype/ftsizes.h +0 -159
- package/dist/libraries/include/freetype2/freetype/ftsnames.h +0 -272
- package/dist/libraries/include/freetype2/freetype/ftstroke.h +0 -773
- package/dist/libraries/include/freetype2/freetype/ftsynth.h +0 -83
- package/dist/libraries/include/freetype2/freetype/ftsystem.h +0 -352
- package/dist/libraries/include/freetype2/freetype/fttrigon.h +0 -350
- package/dist/libraries/include/freetype2/freetype/fttypes.h +0 -615
- package/dist/libraries/include/freetype2/freetype/ftwinfnt.h +0 -276
- package/dist/libraries/include/freetype2/freetype/t1tables.h +0 -773
- package/dist/libraries/include/freetype2/freetype/ttnameid.h +0 -1235
- package/dist/libraries/include/freetype2/freetype/tttables.h +0 -855
- package/dist/libraries/include/freetype2/freetype/tttags.h +0 -123
- package/dist/libraries/include/freetype2/ft2build.h +0 -42
- package/dist/libraries/include/fribidi/fribidi-arabic.h +0 -81
- package/dist/libraries/include/fribidi/fribidi-begindecls.h +0 -3
- package/dist/libraries/include/fribidi/fribidi-bidi-types-list.h +0 -96
- package/dist/libraries/include/fribidi/fribidi-bidi-types.h +0 -405
- package/dist/libraries/include/fribidi/fribidi-bidi.h +0 -142
- package/dist/libraries/include/fribidi/fribidi-brackets.h +0 -89
- package/dist/libraries/include/fribidi/fribidi-char-sets-list.h +0 -54
- package/dist/libraries/include/fribidi/fribidi-char-sets.h +0 -106
- package/dist/libraries/include/fribidi/fribidi-common.h +0 -158
- package/dist/libraries/include/fribidi/fribidi-config.h +0 -23
- package/dist/libraries/include/fribidi/fribidi-deprecated.h +0 -175
- package/dist/libraries/include/fribidi/fribidi-enddecls.h +0 -3
- package/dist/libraries/include/fribidi/fribidi-flags.h +0 -72
- package/dist/libraries/include/fribidi/fribidi-joining-types-list.h +0 -44
- package/dist/libraries/include/fribidi/fribidi-joining-types.h +0 -249
- package/dist/libraries/include/fribidi/fribidi-joining.h +0 -74
- package/dist/libraries/include/fribidi/fribidi-mirroring.h +0 -86
- package/dist/libraries/include/fribidi/fribidi-shape.h +0 -71
- package/dist/libraries/include/fribidi/fribidi-types.h +0 -79
- package/dist/libraries/include/fribidi/fribidi-unicode-version.h +0 -10
- package/dist/libraries/include/fribidi/fribidi-unicode.h +0 -105
- package/dist/libraries/include/fribidi/fribidi.h +0 -129
- package/dist/libraries/include/harfbuzz/hb-aat-layout.h +0 -795
- package/dist/libraries/include/harfbuzz/hb-aat.h +0 -38
- package/dist/libraries/include/harfbuzz/hb-blob.h +0 -160
- package/dist/libraries/include/harfbuzz/hb-buffer.h +0 -799
- package/dist/libraries/include/harfbuzz/hb-common.h +0 -902
- package/dist/libraries/include/harfbuzz/hb-cplusplus.hh +0 -221
- package/dist/libraries/include/harfbuzz/hb-deprecated.h +0 -251
- package/dist/libraries/include/harfbuzz/hb-draw.h +0 -325
- package/dist/libraries/include/harfbuzz/hb-face.h +0 -181
- package/dist/libraries/include/harfbuzz/hb-font.h +0 -1108
- package/dist/libraries/include/harfbuzz/hb-ft.h +0 -145
- package/dist/libraries/include/harfbuzz/hb-map.h +0 -124
- package/dist/libraries/include/harfbuzz/hb-ot-color.h +0 -146
- package/dist/libraries/include/harfbuzz/hb-ot-deprecated.h +0 -141
- package/dist/libraries/include/harfbuzz/hb-ot-font.h +0 -45
- package/dist/libraries/include/harfbuzz/hb-ot-layout.h +0 -503
- package/dist/libraries/include/harfbuzz/hb-ot-math.h +0 -333
- package/dist/libraries/include/harfbuzz/hb-ot-meta.h +0 -72
- package/dist/libraries/include/harfbuzz/hb-ot-metrics.h +0 -129
- package/dist/libraries/include/harfbuzz/hb-ot-name.h +0 -158
- package/dist/libraries/include/harfbuzz/hb-ot-shape.h +0 -53
- package/dist/libraries/include/harfbuzz/hb-ot-var.h +0 -191
- package/dist/libraries/include/harfbuzz/hb-ot.h +0 -49
- package/dist/libraries/include/harfbuzz/hb-set.h +0 -200
- package/dist/libraries/include/harfbuzz/hb-shape-plan.h +0 -122
- package/dist/libraries/include/harfbuzz/hb-shape.h +0 -62
- package/dist/libraries/include/harfbuzz/hb-style.h +0 -81
- package/dist/libraries/include/harfbuzz/hb-subset-repacker.h +0 -81
- package/dist/libraries/include/harfbuzz/hb-subset.h +0 -234
- package/dist/libraries/include/harfbuzz/hb-unicode.h +0 -643
- package/dist/libraries/include/harfbuzz/hb-version.h +0 -95
- package/dist/libraries/include/harfbuzz/hb.h +0 -50
- package/dist/libraries/lib/cmake/expat-2.4.7/expat-config-version.cmake +0 -70
- package/dist/libraries/lib/cmake/expat-2.4.7/expat-config.cmake +0 -99
- package/dist/libraries/lib/cmake/expat-2.4.7/expat-noconfig.cmake +0 -19
- package/dist/libraries/lib/cmake/expat-2.4.7/expat.cmake +0 -99
- package/dist/libraries/lib/libass.a +0 -0
- package/dist/libraries/lib/libass.la +0 -41
- package/dist/libraries/lib/libbrotlicommon.a +0 -0
- package/dist/libraries/lib/libbrotlidec.a +0 -0
- package/dist/libraries/lib/libbrotlienc.a +0 -0
- package/dist/libraries/lib/libexpat.a +0 -0
- package/dist/libraries/lib/libfontconfig.a +0 -0
- package/dist/libraries/lib/libfontconfig.la +0 -41
- package/dist/libraries/lib/libfreetype.a +0 -0
- package/dist/libraries/lib/libfreetype.la +0 -41
- package/dist/libraries/lib/libfribidi.a +0 -0
- package/dist/libraries/lib/libfribidi.la +0 -41
- package/dist/libraries/lib/libharfbuzz-subset.a +0 -0
- package/dist/libraries/lib/libharfbuzz-subset.la +0 -41
- package/dist/libraries/lib/libharfbuzz.a +0 -0
- package/dist/libraries/lib/libharfbuzz.la +0 -41
- package/dist/libraries/lib/pkgconfig/expat.pc +0 -11
- package/dist/libraries/lib/pkgconfig/fontconfig.pc +0 -18
- package/dist/libraries/lib/pkgconfig/freetype2.pc +0 -14
- package/dist/libraries/lib/pkgconfig/fribidi.pc +0 -13
- package/dist/libraries/lib/pkgconfig/harfbuzz-subset.pc +0 -12
- package/dist/libraries/lib/pkgconfig/harfbuzz.pc +0 -13
- package/dist/libraries/lib/pkgconfig/libass.pc +0 -13
- package/dist/libraries/lib/pkgconfig/libbrotlicommon.pc +0 -11
- package/dist/libraries/lib/pkgconfig/libbrotlidec.pc +0 -12
- package/dist/libraries/lib/pkgconfig/libbrotlienc.pc +0 -12
- package/dist/libraries/share/aclocal/freetype2.m4 +0 -194
- package/dist/libraries/share/doc/expat/AUTHORS +0 -10
- package/dist/libraries/share/doc/expat/changelog +0 -1161
- package/dist/license/all +0 -951
- package/dist/license/all.tmp +0 -307
- package/dist/license/brotli +0 -12
- package/dist/license/expat +0 -71
- package/dist/license/fontconfig +0 -46
- package/dist/license/freetype +0 -92
- package/dist/license/fribidi +0 -15
- package/dist/license/harfbuzz +0 -32
- package/dist/license/jassub +0 -0
- package/dist/license/libass +0 -28
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
/* expat_config.h.cmake. Based upon generated expat_config.h.in. */
|
|
2
|
-
|
|
3
|
-
/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */
|
|
4
|
-
#define BYTEORDER 1234
|
|
5
|
-
|
|
6
|
-
/* Define to 1 if you have the `arc4random' function. */
|
|
7
|
-
/* #undef HAVE_ARC4RANDOM */
|
|
8
|
-
|
|
9
|
-
/* Define to 1 if you have the `arc4random_buf' function. */
|
|
10
|
-
/* #undef HAVE_ARC4RANDOM_BUF */
|
|
11
|
-
|
|
12
|
-
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
13
|
-
#define HAVE_DLFCN_H
|
|
14
|
-
|
|
15
|
-
/* Define to 1 if you have the <fcntl.h> header file. */
|
|
16
|
-
#define HAVE_FCNTL_H
|
|
17
|
-
|
|
18
|
-
/* Define to 1 if you have the `getpagesize' function. */
|
|
19
|
-
#define HAVE_GETPAGESIZE
|
|
20
|
-
|
|
21
|
-
/* Define to 1 if you have the `getrandom' function. */
|
|
22
|
-
/* #undef HAVE_GETRANDOM */
|
|
23
|
-
|
|
24
|
-
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
25
|
-
#define HAVE_INTTYPES_H
|
|
26
|
-
|
|
27
|
-
/* Define to 1 if you have the `bsd' library (-lbsd). */
|
|
28
|
-
/* #undef HAVE_LIBBSD */
|
|
29
|
-
|
|
30
|
-
/* Define to 1 if you have the <memory.h> header file. */
|
|
31
|
-
#define HAVE_MEMORY_H
|
|
32
|
-
|
|
33
|
-
/* Define to 1 if you have a working `mmap' system call. */
|
|
34
|
-
#define HAVE_MMAP
|
|
35
|
-
|
|
36
|
-
/* Define to 1 if you have the <stdint.h> header file. */
|
|
37
|
-
#define HAVE_STDINT_H
|
|
38
|
-
|
|
39
|
-
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
40
|
-
#define HAVE_STDLIB_H
|
|
41
|
-
|
|
42
|
-
/* Define to 1 if you have the <strings.h> header file. */
|
|
43
|
-
#define HAVE_STRINGS_H
|
|
44
|
-
|
|
45
|
-
/* Define to 1 if you have the <string.h> header file. */
|
|
46
|
-
#define HAVE_STRING_H
|
|
47
|
-
|
|
48
|
-
/* Define to 1 if you have `syscall' and `SYS_getrandom'. */
|
|
49
|
-
/* #undef HAVE_SYSCALL_GETRANDOM */
|
|
50
|
-
|
|
51
|
-
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
52
|
-
#define HAVE_SYS_STAT_H
|
|
53
|
-
|
|
54
|
-
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
55
|
-
#define HAVE_SYS_TYPES_H
|
|
56
|
-
|
|
57
|
-
/* Define to 1 if you have the <unistd.h> header file. */
|
|
58
|
-
#define HAVE_UNISTD_H
|
|
59
|
-
|
|
60
|
-
/* Name of package */
|
|
61
|
-
#define PACKAGE "expat"
|
|
62
|
-
|
|
63
|
-
/* Define to the address where bug reports for this package should be sent. */
|
|
64
|
-
#define PACKAGE_BUGREPORT "expat-bugs@libexpat.org"
|
|
65
|
-
|
|
66
|
-
/* Define to the full name of this package. */
|
|
67
|
-
#define PACKAGE_NAME "expat"
|
|
68
|
-
|
|
69
|
-
/* Define to the full name and version of this package. */
|
|
70
|
-
#define PACKAGE_STRING "expat 2.4.7"
|
|
71
|
-
|
|
72
|
-
/* Define to the one symbol short name of this package. */
|
|
73
|
-
#define PACKAGE_TARNAME "expat"
|
|
74
|
-
|
|
75
|
-
/* Define to the home page for this package. */
|
|
76
|
-
#define PACKAGE_URL ""
|
|
77
|
-
|
|
78
|
-
/* Define to the version of this package. */
|
|
79
|
-
#define PACKAGE_VERSION "2.4.7"
|
|
80
|
-
|
|
81
|
-
/* Define to 1 if you have the ANSI C header files. */
|
|
82
|
-
#define STDC_HEADERS
|
|
83
|
-
|
|
84
|
-
/* whether byteorder is bigendian */
|
|
85
|
-
/* #undef WORDS_BIGENDIAN */
|
|
86
|
-
|
|
87
|
-
/* Define to allow retrieving the byte offsets for attribute names and values.
|
|
88
|
-
*/
|
|
89
|
-
/* #undef XML_ATTR_INFO */
|
|
90
|
-
|
|
91
|
-
/* Define to specify how much context to retain around the current parse
|
|
92
|
-
point. */
|
|
93
|
-
#define XML_CONTEXT_BYTES 1024
|
|
94
|
-
|
|
95
|
-
#if ! defined(_WIN32)
|
|
96
|
-
/* Define to include code reading entropy from `/dev/urandom'. */
|
|
97
|
-
#define XML_DEV_URANDOM
|
|
98
|
-
#endif
|
|
99
|
-
|
|
100
|
-
/* Define to make parameter entity parsing functionality available. */
|
|
101
|
-
#define XML_DTD
|
|
102
|
-
|
|
103
|
-
/* Define to make XML Namespaces functionality available. */
|
|
104
|
-
#define XML_NS
|
|
105
|
-
|
|
106
|
-
/* Define to __FUNCTION__ or "" if `__func__' does not conform to ANSI C. */
|
|
107
|
-
#ifdef _MSC_VER
|
|
108
|
-
# define __func__ __FUNCTION__
|
|
109
|
-
#endif
|
|
110
|
-
|
|
111
|
-
/* Define to `long' if <sys/types.h> does not define. */
|
|
112
|
-
/* #undef off_t */
|
|
113
|
-
|
|
114
|
-
/* Define to `unsigned' if <sys/types.h> does not define. */
|
|
115
|
-
/* #undef size_t */
|
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
__ __ _
|
|
3
|
-
___\ \/ /_ __ __ _| |_
|
|
4
|
-
/ _ \\ /| '_ \ / _` | __|
|
|
5
|
-
| __// \| |_) | (_| | |_
|
|
6
|
-
\___/_/\_\ .__/ \__,_|\__|
|
|
7
|
-
|_| XML parser
|
|
8
|
-
|
|
9
|
-
Copyright (c) 1997-2000 Thai Open Source Software Center Ltd
|
|
10
|
-
Copyright (c) 2000 Clark Cooper <coopercc@users.sourceforge.net>
|
|
11
|
-
Copyright (c) 2000-2004 Fred L. Drake, Jr. <fdrake@users.sourceforge.net>
|
|
12
|
-
Copyright (c) 2001-2002 Greg Stein <gstein@users.sourceforge.net>
|
|
13
|
-
Copyright (c) 2002-2006 Karl Waclawek <karl@waclawek.net>
|
|
14
|
-
Copyright (c) 2016 Cristian Rodríguez <crrodriguez@opensuse.org>
|
|
15
|
-
Copyright (c) 2016-2019 Sebastian Pipping <sebastian@pipping.org>
|
|
16
|
-
Copyright (c) 2017 Rhodri James <rhodri@wildebeest.org.uk>
|
|
17
|
-
Copyright (c) 2018 Yury Gribov <tetra2005@gmail.com>
|
|
18
|
-
Licensed under the MIT license:
|
|
19
|
-
|
|
20
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
21
|
-
a copy of this software and associated documentation files (the
|
|
22
|
-
"Software"), to deal in the Software without restriction, including
|
|
23
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
24
|
-
distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
25
|
-
persons to whom the Software is furnished to do so, subject to the
|
|
26
|
-
following conditions:
|
|
27
|
-
|
|
28
|
-
The above copyright notice and this permission notice shall be included
|
|
29
|
-
in all copies or substantial portions of the Software.
|
|
30
|
-
|
|
31
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
32
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
33
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
34
|
-
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
35
|
-
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
36
|
-
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
37
|
-
USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
38
|
-
*/
|
|
39
|
-
|
|
40
|
-
#ifndef Expat_External_INCLUDED
|
|
41
|
-
#define Expat_External_INCLUDED 1
|
|
42
|
-
|
|
43
|
-
/* External API definitions */
|
|
44
|
-
|
|
45
|
-
/* Expat tries very hard to make the API boundary very specifically
|
|
46
|
-
defined. There are two macros defined to control this boundary;
|
|
47
|
-
each of these can be defined before including this header to
|
|
48
|
-
achieve some different behavior, but doing so it not recommended or
|
|
49
|
-
tested frequently.
|
|
50
|
-
|
|
51
|
-
XMLCALL - The calling convention to use for all calls across the
|
|
52
|
-
"library boundary." This will default to cdecl, and
|
|
53
|
-
try really hard to tell the compiler that's what we
|
|
54
|
-
want.
|
|
55
|
-
|
|
56
|
-
XMLIMPORT - Whatever magic is needed to note that a function is
|
|
57
|
-
to be imported from a dynamically loaded library
|
|
58
|
-
(.dll, .so, or .sl, depending on your platform).
|
|
59
|
-
|
|
60
|
-
The XMLCALL macro was added in Expat 1.95.7. The only one which is
|
|
61
|
-
expected to be directly useful in client code is XMLCALL.
|
|
62
|
-
|
|
63
|
-
Note that on at least some Unix versions, the Expat library must be
|
|
64
|
-
compiled with the cdecl calling convention as the default since
|
|
65
|
-
system headers may assume the cdecl convention.
|
|
66
|
-
*/
|
|
67
|
-
#ifndef XMLCALL
|
|
68
|
-
# if defined(_MSC_VER)
|
|
69
|
-
# define XMLCALL __cdecl
|
|
70
|
-
# elif defined(__GNUC__) && defined(__i386) && ! defined(__INTEL_COMPILER)
|
|
71
|
-
# define XMLCALL __attribute__((cdecl))
|
|
72
|
-
# else
|
|
73
|
-
/* For any platform which uses this definition and supports more than
|
|
74
|
-
one calling convention, we need to extend this definition to
|
|
75
|
-
declare the convention used on that platform, if it's possible to
|
|
76
|
-
do so.
|
|
77
|
-
|
|
78
|
-
If this is the case for your platform, please file a bug report
|
|
79
|
-
with information on how to identify your platform via the C
|
|
80
|
-
pre-processor and how to specify the same calling convention as the
|
|
81
|
-
platform's malloc() implementation.
|
|
82
|
-
*/
|
|
83
|
-
# define XMLCALL
|
|
84
|
-
# endif
|
|
85
|
-
#endif /* not defined XMLCALL */
|
|
86
|
-
|
|
87
|
-
#if ! defined(XML_STATIC) && ! defined(XMLIMPORT)
|
|
88
|
-
# ifndef XML_BUILDING_EXPAT
|
|
89
|
-
/* using Expat from an application */
|
|
90
|
-
|
|
91
|
-
# if defined(_MSC_EXTENSIONS) && ! defined(__BEOS__) && ! defined(__CYGWIN__)
|
|
92
|
-
# define XMLIMPORT __declspec(dllimport)
|
|
93
|
-
# endif
|
|
94
|
-
|
|
95
|
-
# endif
|
|
96
|
-
#endif /* not defined XML_STATIC */
|
|
97
|
-
|
|
98
|
-
#ifndef XML_ENABLE_VISIBILITY
|
|
99
|
-
# define XML_ENABLE_VISIBILITY 0
|
|
100
|
-
#endif
|
|
101
|
-
|
|
102
|
-
#if ! defined(XMLIMPORT) && XML_ENABLE_VISIBILITY
|
|
103
|
-
# define XMLIMPORT __attribute__((visibility("default")))
|
|
104
|
-
#endif
|
|
105
|
-
|
|
106
|
-
/* If we didn't define it above, define it away: */
|
|
107
|
-
#ifndef XMLIMPORT
|
|
108
|
-
# define XMLIMPORT
|
|
109
|
-
#endif
|
|
110
|
-
|
|
111
|
-
#if defined(__GNUC__) \
|
|
112
|
-
&& (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96))
|
|
113
|
-
# define XML_ATTR_MALLOC __attribute__((__malloc__))
|
|
114
|
-
#else
|
|
115
|
-
# define XML_ATTR_MALLOC
|
|
116
|
-
#endif
|
|
117
|
-
|
|
118
|
-
#if defined(__GNUC__) \
|
|
119
|
-
&& ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))
|
|
120
|
-
# define XML_ATTR_ALLOC_SIZE(x) __attribute__((__alloc_size__(x)))
|
|
121
|
-
#else
|
|
122
|
-
# define XML_ATTR_ALLOC_SIZE(x)
|
|
123
|
-
#endif
|
|
124
|
-
|
|
125
|
-
#define XMLPARSEAPI(type) XMLIMPORT type XMLCALL
|
|
126
|
-
|
|
127
|
-
#ifdef __cplusplus
|
|
128
|
-
extern "C" {
|
|
129
|
-
#endif
|
|
130
|
-
|
|
131
|
-
#ifdef XML_UNICODE_WCHAR_T
|
|
132
|
-
# ifndef XML_UNICODE
|
|
133
|
-
# define XML_UNICODE
|
|
134
|
-
# endif
|
|
135
|
-
# if defined(__SIZEOF_WCHAR_T__) && (__SIZEOF_WCHAR_T__ != 2)
|
|
136
|
-
# error "sizeof(wchar_t) != 2; Need -fshort-wchar for both Expat and libc"
|
|
137
|
-
# endif
|
|
138
|
-
#endif
|
|
139
|
-
|
|
140
|
-
#ifdef XML_UNICODE /* Information is UTF-16 encoded. */
|
|
141
|
-
# ifdef XML_UNICODE_WCHAR_T
|
|
142
|
-
typedef wchar_t XML_Char;
|
|
143
|
-
typedef wchar_t XML_LChar;
|
|
144
|
-
# else
|
|
145
|
-
typedef unsigned short XML_Char;
|
|
146
|
-
typedef char XML_LChar;
|
|
147
|
-
# endif /* XML_UNICODE_WCHAR_T */
|
|
148
|
-
#else /* Information is UTF-8 encoded. */
|
|
149
|
-
typedef char XML_Char;
|
|
150
|
-
typedef char XML_LChar;
|
|
151
|
-
#endif /* XML_UNICODE */
|
|
152
|
-
|
|
153
|
-
#ifdef XML_LARGE_SIZE /* Use large integers for file/stream positions. */
|
|
154
|
-
typedef long long XML_Index;
|
|
155
|
-
typedef unsigned long long XML_Size;
|
|
156
|
-
#else
|
|
157
|
-
typedef long XML_Index;
|
|
158
|
-
typedef unsigned long XML_Size;
|
|
159
|
-
#endif /* XML_LARGE_SIZE */
|
|
160
|
-
|
|
161
|
-
#ifdef __cplusplus
|
|
162
|
-
}
|
|
163
|
-
#endif
|
|
164
|
-
|
|
165
|
-
#endif /* not Expat_External_INCLUDED */
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* fontconfig/fontconfig/fcfreetype.h
|
|
3
|
-
*
|
|
4
|
-
* Copyright © 2001 Keith Packard
|
|
5
|
-
*
|
|
6
|
-
* Permission to use, copy, modify, distribute, and sell this software and its
|
|
7
|
-
* documentation for any purpose is hereby granted without fee, provided that
|
|
8
|
-
* the above copyright notice appear in all copies and that both that
|
|
9
|
-
* copyright notice and this permission notice appear in supporting
|
|
10
|
-
* documentation, and that the name of the author(s) not be used in
|
|
11
|
-
* advertising or publicity pertaining to distribution of the software without
|
|
12
|
-
* specific, written prior permission. The authors make no
|
|
13
|
-
* representations about the suitability of this software for any purpose. It
|
|
14
|
-
* is provided "as is" without express or implied warranty.
|
|
15
|
-
*
|
|
16
|
-
* THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
|
17
|
-
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
|
18
|
-
* EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
|
19
|
-
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
|
20
|
-
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
21
|
-
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
22
|
-
* PERFORMANCE OF THIS SOFTWARE.
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
#ifndef _FCFREETYPE_H_
|
|
26
|
-
#define _FCFREETYPE_H_
|
|
27
|
-
#include <ft2build.h>
|
|
28
|
-
#include FT_FREETYPE_H
|
|
29
|
-
|
|
30
|
-
#ifndef FcPublic
|
|
31
|
-
#define FcPublic
|
|
32
|
-
#endif
|
|
33
|
-
|
|
34
|
-
_FCFUNCPROTOBEGIN
|
|
35
|
-
|
|
36
|
-
FcPublic FT_UInt
|
|
37
|
-
FcFreeTypeCharIndex (FT_Face face, FcChar32 ucs4);
|
|
38
|
-
|
|
39
|
-
FcPublic FcCharSet *
|
|
40
|
-
FcFreeTypeCharSetAndSpacing (FT_Face face, FcBlanks *blanks, int *spacing);
|
|
41
|
-
|
|
42
|
-
FcPublic FcCharSet *
|
|
43
|
-
FcFreeTypeCharSet (FT_Face face, FcBlanks *blanks);
|
|
44
|
-
|
|
45
|
-
FcPublic FcResult
|
|
46
|
-
FcPatternGetFTFace (const FcPattern *p, const char *object, int n, FT_Face *f);
|
|
47
|
-
|
|
48
|
-
FcPublic FcBool
|
|
49
|
-
FcPatternAddFTFace (FcPattern *p, const char *object, const FT_Face f);
|
|
50
|
-
|
|
51
|
-
FcPublic FcPattern *
|
|
52
|
-
FcFreeTypeQueryFace (const FT_Face face,
|
|
53
|
-
const FcChar8 *file,
|
|
54
|
-
unsigned int id,
|
|
55
|
-
FcBlanks *blanks);
|
|
56
|
-
|
|
57
|
-
_FCFUNCPROTOEND
|
|
58
|
-
|
|
59
|
-
#endif
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* fontconfig/fontconfig/fcprivate.h
|
|
3
|
-
*
|
|
4
|
-
* Copyright © 2001 Keith Packard
|
|
5
|
-
*
|
|
6
|
-
* Permission to use, copy, modify, distribute, and sell this software and its
|
|
7
|
-
* documentation for any purpose is hereby granted without fee, provided that
|
|
8
|
-
* the above copyright notice appear in all copies and that both that
|
|
9
|
-
* copyright notice and this permission notice appear in supporting
|
|
10
|
-
* documentation, and that the name of the author(s) not be used in
|
|
11
|
-
* advertising or publicity pertaining to distribution of the software without
|
|
12
|
-
* specific, written prior permission. The authors make no
|
|
13
|
-
* representations about the suitability of this software for any purpose. It
|
|
14
|
-
* is provided "as is" without express or implied warranty.
|
|
15
|
-
*
|
|
16
|
-
* THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
|
17
|
-
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
|
18
|
-
* EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
|
19
|
-
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
|
20
|
-
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
21
|
-
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
22
|
-
* PERFORMANCE OF THIS SOFTWARE.
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
#ifndef _FCPRIVATE_H_
|
|
26
|
-
#define _FCPRIVATE_H_
|
|
27
|
-
|
|
28
|
-
/*
|
|
29
|
-
* I tried this with functions that took va_list* arguments
|
|
30
|
-
* but portability concerns made me change these functions
|
|
31
|
-
* into macros (sigh).
|
|
32
|
-
*/
|
|
33
|
-
|
|
34
|
-
#define FcPatternVapBuild(result, orig, va) \
|
|
35
|
-
{ \
|
|
36
|
-
FcPattern *__p__ = (orig); \
|
|
37
|
-
const char *__o__; \
|
|
38
|
-
FcValue __v__; \
|
|
39
|
-
\
|
|
40
|
-
if (!__p__) \
|
|
41
|
-
{ \
|
|
42
|
-
__p__ = FcPatternCreate (); \
|
|
43
|
-
if (!__p__) \
|
|
44
|
-
goto _FcPatternVapBuild_bail0; \
|
|
45
|
-
} \
|
|
46
|
-
for (;;) \
|
|
47
|
-
{ \
|
|
48
|
-
__o__ = va_arg (va, const char *); \
|
|
49
|
-
if (!__o__) \
|
|
50
|
-
break; \
|
|
51
|
-
__v__.type = va_arg (va, int); \
|
|
52
|
-
switch (__v__.type) { \
|
|
53
|
-
case FcTypeUnknown: \
|
|
54
|
-
case FcTypeVoid: \
|
|
55
|
-
goto _FcPatternVapBuild_bail1; \
|
|
56
|
-
case FcTypeInteger: \
|
|
57
|
-
__v__.u.i = va_arg (va, int); \
|
|
58
|
-
break; \
|
|
59
|
-
case FcTypeDouble: \
|
|
60
|
-
__v__.u.d = va_arg (va, double); \
|
|
61
|
-
break; \
|
|
62
|
-
case FcTypeString: \
|
|
63
|
-
__v__.u.s = va_arg (va, const FcChar8 *); \
|
|
64
|
-
break; \
|
|
65
|
-
case FcTypeBool: \
|
|
66
|
-
__v__.u.b = va_arg (va, FcBool); \
|
|
67
|
-
break; \
|
|
68
|
-
case FcTypeMatrix: \
|
|
69
|
-
__v__.u.m = va_arg (va, const FcMatrix *); \
|
|
70
|
-
break; \
|
|
71
|
-
case FcTypeCharSet: \
|
|
72
|
-
__v__.u.c = va_arg (va, const FcCharSet *); \
|
|
73
|
-
break; \
|
|
74
|
-
case FcTypeFTFace: \
|
|
75
|
-
__v__.u.f = va_arg (va, FT_Face); \
|
|
76
|
-
break; \
|
|
77
|
-
case FcTypeLangSet: \
|
|
78
|
-
__v__.u.l = va_arg (va, const FcLangSet *); \
|
|
79
|
-
break; \
|
|
80
|
-
case FcTypeRange: \
|
|
81
|
-
__v__.u.r = va_arg (va, const FcRange *); \
|
|
82
|
-
break; \
|
|
83
|
-
} \
|
|
84
|
-
if (!FcPatternAdd (__p__, __o__, __v__, FcTrue)) \
|
|
85
|
-
goto _FcPatternVapBuild_bail1; \
|
|
86
|
-
} \
|
|
87
|
-
result = __p__; \
|
|
88
|
-
goto _FcPatternVapBuild_return; \
|
|
89
|
-
\
|
|
90
|
-
_FcPatternVapBuild_bail1: \
|
|
91
|
-
if (!orig) \
|
|
92
|
-
FcPatternDestroy (__p__); \
|
|
93
|
-
_FcPatternVapBuild_bail0: \
|
|
94
|
-
result = (void*)0; \
|
|
95
|
-
\
|
|
96
|
-
_FcPatternVapBuild_return: \
|
|
97
|
-
; \
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
#define FcObjectSetVapBuild(__ret__, __first__, __va__) \
|
|
102
|
-
{ \
|
|
103
|
-
FcObjectSet *__os__; \
|
|
104
|
-
const char *__ob__; \
|
|
105
|
-
\
|
|
106
|
-
__ret__ = 0; \
|
|
107
|
-
__os__ = FcObjectSetCreate (); \
|
|
108
|
-
if (!__os__) \
|
|
109
|
-
goto _FcObjectSetVapBuild_bail0; \
|
|
110
|
-
__ob__ = __first__; \
|
|
111
|
-
while (__ob__) \
|
|
112
|
-
{ \
|
|
113
|
-
if (!FcObjectSetAdd (__os__, __ob__)) \
|
|
114
|
-
goto _FcObjectSetVapBuild_bail1; \
|
|
115
|
-
__ob__ = va_arg (__va__, const char *); \
|
|
116
|
-
} \
|
|
117
|
-
__ret__ = __os__; \
|
|
118
|
-
\
|
|
119
|
-
_FcObjectSetVapBuild_bail1: \
|
|
120
|
-
if (!__ret__ && __os__) \
|
|
121
|
-
FcObjectSetDestroy (__os__); \
|
|
122
|
-
_FcObjectSetVapBuild_bail0: \
|
|
123
|
-
; \
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
#ifndef FC_ATTRIBUTE_VISIBILITY_HIDDEN
|
|
127
|
-
#define FC_ATTRIBUTE_VISIBILITY_HIDDEN __attribute((visibility("hidden")))
|
|
128
|
-
#endif
|
|
129
|
-
|
|
130
|
-
#ifndef FC_ATTRIBUTE_VISIBILITY_EXPORT
|
|
131
|
-
#define FC_ATTRIBUTE_VISIBILITY_EXPORT __attribute((visibility("default")))
|
|
132
|
-
#endif
|
|
133
|
-
|
|
134
|
-
#endif /* _FCPRIVATE_H_ */
|