@zappdev/cli 0.1.0
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/README.md +55 -0
- package/dist/zapp-cli.js +9471 -0
- package/native/src/app/app.zc +490 -0
- package/native/src/event/event.zc +24 -0
- package/native/src/event/events.zc +70 -0
- package/native/src/platform/darwin/backend.zc +923 -0
- package/native/src/platform/darwin/backend_bootstrap.zc +9 -0
- package/native/src/platform/darwin/bootstrap.zc +9 -0
- package/native/src/platform/darwin/engine_jsc.zc +86 -0
- package/native/src/platform/darwin/engine_qjs.zc +92 -0
- package/native/src/platform/darwin/platform.zc +156 -0
- package/native/src/platform/darwin/webview.zc +550 -0
- package/native/src/platform/darwin/webview_bootstrap.zc +9 -0
- package/native/src/platform/darwin/window.zc +1223 -0
- package/native/src/platform/darwin/worker/common.zc +223 -0
- package/native/src/platform/darwin/worker/core/base64_core.zc +29 -0
- package/native/src/platform/darwin/worker/core/crypto_core.zc +19 -0
- package/native/src/platform/darwin/worker/core/encoding_core.zc +32 -0
- package/native/src/platform/darwin/worker/core/fetch_core.zc +145 -0
- package/native/src/platform/darwin/worker/core/url_core.zc +69 -0
- package/native/src/platform/darwin/worker/core/websocket_core.zc +179 -0
- package/native/src/platform/darwin/worker/dispatch.zc +55 -0
- package/native/src/platform/darwin/worker/jsc/base64_jsc.zc +39 -0
- package/native/src/platform/darwin/worker/jsc/crypto_jsc.zc +49 -0
- package/native/src/platform/darwin/worker/jsc/encoding_jsc.zc +86 -0
- package/native/src/platform/darwin/worker/jsc/fetch_jsc.zc +149 -0
- package/native/src/platform/darwin/worker/jsc/url_jsc.zc +54 -0
- package/native/src/platform/darwin/worker/jsc/websocket_jsc.zc +127 -0
- package/native/src/platform/darwin/worker/jsc.zc +670 -0
- package/native/src/platform/darwin/worker/mod.zc +30 -0
- package/native/src/platform/darwin/worker/qjs/fetch_qjs.zc +233 -0
- package/native/src/platform/darwin/worker/qjs/qjs_macros.zc +23 -0
- package/native/src/platform/darwin/worker/qjs/websocket_qjs.zc +223 -0
- package/native/src/platform/darwin/worker/qjs.zc +1053 -0
- package/native/src/platform/darwin/worker/timers.zc +149 -0
- package/native/src/platform/darwin/worker/timers_qjs.zc +209 -0
- package/native/src/platform/platform.zc +64 -0
- package/native/src/platform/shared/log.zc +156 -0
- package/native/src/platform/shared/worker/qjs/base64_qjs.zc +38 -0
- package/native/src/platform/shared/worker/qjs/crypto_qjs.zc +44 -0
- package/native/src/platform/shared/worker/qjs/encoding_qjs.zc +95 -0
- package/native/src/platform/shared/worker/qjs/url_qjs.zc +65 -0
- package/native/src/platform/shared/worker_registry.zc +206 -0
- package/native/src/platform/window.zc +446 -0
- package/native/src/platform/windows/backend.zc +452 -0
- package/native/src/platform/windows/backend_bootstrap.zc +9 -0
- package/native/src/platform/windows/bootstrap.zc +9 -0
- package/native/src/platform/windows/engine_qjs.zc +60 -0
- package/native/src/platform/windows/platform.zc +387 -0
- package/native/src/platform/windows/webview.zc +1175 -0
- package/native/src/platform/windows/webview_bootstrap.zc +9 -0
- package/native/src/platform/windows/window.zc +1271 -0
- package/native/src/platform/windows/worker/common.zc +409 -0
- package/native/src/platform/windows/worker/core/base64_core.zc +52 -0
- package/native/src/platform/windows/worker/core/crypto_core.zc +34 -0
- package/native/src/platform/windows/worker/core/encoding_core.zc +60 -0
- package/native/src/platform/windows/worker/core/fetch_core.zc +274 -0
- package/native/src/platform/windows/worker/core/url_core.zc +216 -0
- package/native/src/platform/windows/worker/core/websocket_core.zc +343 -0
- package/native/src/platform/windows/worker/dispatch.zc +34 -0
- package/native/src/platform/windows/worker/mod.zc +46 -0
- package/native/src/platform/windows/worker/qjs/fetch_qjs.zc +255 -0
- package/native/src/platform/windows/worker/qjs/websocket_qjs.zc +263 -0
- package/native/src/platform/windows/worker/qjs.zc +1049 -0
- package/native/src/platform/windows/worker/timers_qjs.zc +288 -0
- package/native/src/platform/worker.zc +8 -0
- package/native/src/service/service.zc +228 -0
- package/native/vendor/quickjs-ng/.gitattributes +4 -0
- package/native/vendor/quickjs-ng/.github/dependabot.yml +7 -0
- package/native/vendor/quickjs-ng/.github/workflows/ci.yml +812 -0
- package/native/vendor/quickjs-ng/.github/workflows/docs.yml +49 -0
- package/native/vendor/quickjs-ng/.github/workflows/release.yml +162 -0
- package/native/vendor/quickjs-ng/.github/workflows/test-docs.yml +23 -0
- package/native/vendor/quickjs-ng/.github/workflows/tsan.yml +32 -0
- package/native/vendor/quickjs-ng/.github/workflows/valgrind.yml +33 -0
- package/native/vendor/quickjs-ng/.gitmodules +5 -0
- package/native/vendor/quickjs-ng/CMakeLists.txt +553 -0
- package/native/vendor/quickjs-ng/LICENSE +24 -0
- package/native/vendor/quickjs-ng/Makefile +149 -0
- package/native/vendor/quickjs-ng/amalgam.js +53 -0
- package/native/vendor/quickjs-ng/api-test.c +927 -0
- package/native/vendor/quickjs-ng/builtin-array-fromasync.h +119 -0
- package/native/vendor/quickjs-ng/builtin-array-fromasync.js +36 -0
- package/native/vendor/quickjs-ng/builtin-iterator-zip-keyed.h +332 -0
- package/native/vendor/quickjs-ng/builtin-iterator-zip-keyed.js +194 -0
- package/native/vendor/quickjs-ng/builtin-iterator-zip.h +337 -0
- package/native/vendor/quickjs-ng/builtin-iterator-zip.js +210 -0
- package/native/vendor/quickjs-ng/ctest.c +17 -0
- package/native/vendor/quickjs-ng/cutils.h +2013 -0
- package/native/vendor/quickjs-ng/cxxtest.cc +2 -0
- package/native/vendor/quickjs-ng/dtoa.c +1619 -0
- package/native/vendor/quickjs-ng/dtoa.h +87 -0
- package/native/vendor/quickjs-ng/examples/fib.c +67 -0
- package/native/vendor/quickjs-ng/examples/fib_module.js +10 -0
- package/native/vendor/quickjs-ng/examples/hello.js +1 -0
- package/native/vendor/quickjs-ng/examples/hello_module.js +6 -0
- package/native/vendor/quickjs-ng/examples/meson.build +17 -0
- package/native/vendor/quickjs-ng/examples/pi_bigint.js +118 -0
- package/native/vendor/quickjs-ng/examples/point.c +154 -0
- package/native/vendor/quickjs-ng/examples/test_fib.js +8 -0
- package/native/vendor/quickjs-ng/examples/test_point.js +43 -0
- package/native/vendor/quickjs-ng/fuzz.c +51 -0
- package/native/vendor/quickjs-ng/gen/function_source.c +81 -0
- package/native/vendor/quickjs-ng/gen/hello.c +53 -0
- package/native/vendor/quickjs-ng/gen/hello_module.c +106 -0
- package/native/vendor/quickjs-ng/gen/repl.c +3053 -0
- package/native/vendor/quickjs-ng/gen/standalone.c +324 -0
- package/native/vendor/quickjs-ng/gen/test_fib.c +81 -0
- package/native/vendor/quickjs-ng/libregexp-opcode.h +58 -0
- package/native/vendor/quickjs-ng/libregexp.c +2687 -0
- package/native/vendor/quickjs-ng/libregexp.h +98 -0
- package/native/vendor/quickjs-ng/libunicode-table.h +4707 -0
- package/native/vendor/quickjs-ng/libunicode.c +1746 -0
- package/native/vendor/quickjs-ng/libunicode.h +126 -0
- package/native/vendor/quickjs-ng/list.h +107 -0
- package/native/vendor/quickjs-ng/lre-test.c +73 -0
- package/native/vendor/quickjs-ng/meson.build +684 -0
- package/native/vendor/quickjs-ng/meson_options.txt +6 -0
- package/native/vendor/quickjs-ng/qjs-wasi-reactor.c +208 -0
- package/native/vendor/quickjs-ng/qjs.c +748 -0
- package/native/vendor/quickjs-ng/qjsc.c +673 -0
- package/native/vendor/quickjs-ng/quickjs-atom.h +267 -0
- package/native/vendor/quickjs-ng/quickjs-c-atomics.h +54 -0
- package/native/vendor/quickjs-ng/quickjs-libc.c +4986 -0
- package/native/vendor/quickjs-ng/quickjs-libc.h +79 -0
- package/native/vendor/quickjs-ng/quickjs-opcode.h +369 -0
- package/native/vendor/quickjs-ng/quickjs.c +60259 -0
- package/native/vendor/quickjs-ng/quickjs.h +1419 -0
- package/native/vendor/quickjs-ng/repl.js +1927 -0
- package/native/vendor/quickjs-ng/run-test262.c +2417 -0
- package/native/vendor/quickjs-ng/standalone.js +129 -0
- package/native/vendor/quickjs-ng/tests/assert.js +49 -0
- package/native/vendor/quickjs-ng/tests/bug1221.js +16 -0
- package/native/vendor/quickjs-ng/tests/bug1296.js +12 -0
- package/native/vendor/quickjs-ng/tests/bug1297.js +22 -0
- package/native/vendor/quickjs-ng/tests/bug1301.js +21 -0
- package/native/vendor/quickjs-ng/tests/bug1302.js +24 -0
- package/native/vendor/quickjs-ng/tests/bug1305.js +26 -0
- package/native/vendor/quickjs-ng/tests/bug1318.js +54 -0
- package/native/vendor/quickjs-ng/tests/bug1352.js +8 -0
- package/native/vendor/quickjs-ng/tests/bug1354.js +6 -0
- package/native/vendor/quickjs-ng/tests/bug1355.js +58 -0
- package/native/vendor/quickjs-ng/tests/bug1368.js +9 -0
- package/native/vendor/quickjs-ng/tests/bug39/1.js +6 -0
- package/native/vendor/quickjs-ng/tests/bug39/2.js +6 -0
- package/native/vendor/quickjs-ng/tests/bug39/3.js +7 -0
- package/native/vendor/quickjs-ng/tests/bug488-upstream.js +7 -0
- package/native/vendor/quickjs-ng/tests/bug633/0.js +7 -0
- package/native/vendor/quickjs-ng/tests/bug633/1.js +4 -0
- package/native/vendor/quickjs-ng/tests/bug633/2.js +4 -0
- package/native/vendor/quickjs-ng/tests/bug633/3.js +4 -0
- package/native/vendor/quickjs-ng/tests/bug645/0.js +4 -0
- package/native/vendor/quickjs-ng/tests/bug645/1.js +9 -0
- package/native/vendor/quickjs-ng/tests/bug645/2.js +7 -0
- package/native/vendor/quickjs-ng/tests/bug648.js +13 -0
- package/native/vendor/quickjs-ng/tests/bug652.js +4 -0
- package/native/vendor/quickjs-ng/tests/bug741.js +19 -0
- package/native/vendor/quickjs-ng/tests/bug775.js +7 -0
- package/native/vendor/quickjs-ng/tests/bug776.js +7 -0
- package/native/vendor/quickjs-ng/tests/bug832.js +2 -0
- package/native/vendor/quickjs-ng/tests/bug858.js +26 -0
- package/native/vendor/quickjs-ng/tests/bug904.js +6 -0
- package/native/vendor/quickjs-ng/tests/bug988.js +7 -0
- package/native/vendor/quickjs-ng/tests/bug999.js +3 -0
- package/native/vendor/quickjs-ng/tests/destructured-export.js +8 -0
- package/native/vendor/quickjs-ng/tests/detect_module/0.js +1 -0
- package/native/vendor/quickjs-ng/tests/detect_module/1.js +2 -0
- package/native/vendor/quickjs-ng/tests/detect_module/2.js +1 -0
- package/native/vendor/quickjs-ng/tests/detect_module/3.js +8 -0
- package/native/vendor/quickjs-ng/tests/detect_module/4.js +3 -0
- package/native/vendor/quickjs-ng/tests/empty.js +0 -0
- package/native/vendor/quickjs-ng/tests/fixture_cyclic_import.js +2 -0
- package/native/vendor/quickjs-ng/tests/fixture_string_exports.js +12 -0
- package/native/vendor/quickjs-ng/tests/function_source.js +14 -0
- package/native/vendor/quickjs-ng/tests/microbench.js +1267 -0
- package/native/vendor/quickjs-ng/tests/null_or_undefined.js +38 -0
- package/native/vendor/quickjs-ng/tests/str-pad-leak.js +5 -0
- package/native/vendor/quickjs-ng/tests/test_bigint.js +107 -0
- package/native/vendor/quickjs-ng/tests/test_bjson.js +366 -0
- package/native/vendor/quickjs-ng/tests/test_builtin.js +1314 -0
- package/native/vendor/quickjs-ng/tests/test_closure.js +220 -0
- package/native/vendor/quickjs-ng/tests/test_cyclic_import.js +12 -0
- package/native/vendor/quickjs-ng/tests/test_domexception.js +35 -0
- package/native/vendor/quickjs-ng/tests/test_language.js +755 -0
- package/native/vendor/quickjs-ng/tests/test_loop.js +367 -0
- package/native/vendor/quickjs-ng/tests/test_queue_microtask.js +39 -0
- package/native/vendor/quickjs-ng/tests/test_std.js +340 -0
- package/native/vendor/quickjs-ng/tests/test_string_exports.js +25 -0
- package/native/vendor/quickjs-ng/tests/test_worker.js +43 -0
- package/native/vendor/quickjs-ng/tests/test_worker_module.js +30 -0
- package/native/vendor/quickjs-ng/tests.conf +14 -0
- package/native/vendor/quickjs-ng/unicode_download.sh +19 -0
- package/native/vendor/quickjs-ng/unicode_gen.c +3108 -0
- package/native/vendor/quickjs-ng/unicode_gen_def.h +310 -0
- package/native/vendor/quickjs-ng/update-version.sh +32 -0
- package/native/vendor/webview2/include/WebView2.h +60636 -0
- package/native/vendor/webview2/include/WebView2EnvironmentOptions.h +406 -0
- package/package.json +33 -0
- package/src/backend.ts +139 -0
- package/src/build-config.ts +87 -0
- package/src/build.ts +276 -0
- package/src/common.ts +195 -0
- package/src/config.ts +89 -0
- package/src/dev.ts +164 -0
- package/src/generate.ts +200 -0
- package/src/icons.ts +116 -0
- package/src/init.ts +190 -0
- package/src/package.ts +150 -0
- package/src/zapp-cli.ts +263 -0
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
#ifdef UNICODE_GENERAL_CATEGORY
|
|
2
|
+
DEF(Cn, "Unassigned") /* must be zero */
|
|
3
|
+
DEF(Lu, "Uppercase_Letter")
|
|
4
|
+
DEF(Ll, "Lowercase_Letter")
|
|
5
|
+
DEF(Lt, "Titlecase_Letter")
|
|
6
|
+
DEF(Lm, "Modifier_Letter")
|
|
7
|
+
DEF(Lo, "Other_Letter")
|
|
8
|
+
DEF(Mn, "Nonspacing_Mark")
|
|
9
|
+
DEF(Mc, "Spacing_Mark")
|
|
10
|
+
DEF(Me, "Enclosing_Mark")
|
|
11
|
+
DEF(Nd, "Decimal_Number,digit")
|
|
12
|
+
DEF(Nl, "Letter_Number")
|
|
13
|
+
DEF(No, "Other_Number")
|
|
14
|
+
DEF(Sm, "Math_Symbol")
|
|
15
|
+
DEF(Sc, "Currency_Symbol")
|
|
16
|
+
DEF(Sk, "Modifier_Symbol")
|
|
17
|
+
DEF(So, "Other_Symbol")
|
|
18
|
+
DEF(Pc, "Connector_Punctuation")
|
|
19
|
+
DEF(Pd, "Dash_Punctuation")
|
|
20
|
+
DEF(Ps, "Open_Punctuation")
|
|
21
|
+
DEF(Pe, "Close_Punctuation")
|
|
22
|
+
DEF(Pi, "Initial_Punctuation")
|
|
23
|
+
DEF(Pf, "Final_Punctuation")
|
|
24
|
+
DEF(Po, "Other_Punctuation")
|
|
25
|
+
DEF(Zs, "Space_Separator")
|
|
26
|
+
DEF(Zl, "Line_Separator")
|
|
27
|
+
DEF(Zp, "Paragraph_Separator")
|
|
28
|
+
DEF(Cc, "Control,cntrl")
|
|
29
|
+
DEF(Cf, "Format")
|
|
30
|
+
DEF(Cs, "Surrogate")
|
|
31
|
+
DEF(Co, "Private_Use")
|
|
32
|
+
/* synthetic properties */
|
|
33
|
+
DEF(LC, "Cased_Letter")
|
|
34
|
+
DEF(L, "Letter")
|
|
35
|
+
DEF(M, "Mark,Combining_Mark")
|
|
36
|
+
DEF(N, "Number")
|
|
37
|
+
DEF(S, "Symbol")
|
|
38
|
+
DEF(P, "Punctuation,punct")
|
|
39
|
+
DEF(Z, "Separator")
|
|
40
|
+
DEF(C, "Other")
|
|
41
|
+
#endif
|
|
42
|
+
|
|
43
|
+
#ifdef UNICODE_SCRIPT
|
|
44
|
+
/* scripts aliases names in PropertyValueAliases.txt */
|
|
45
|
+
DEF(Unknown, "Zzzz")
|
|
46
|
+
DEF(Adlam, "Adlm")
|
|
47
|
+
DEF(Ahom, "Ahom")
|
|
48
|
+
DEF(Anatolian_Hieroglyphs, "Hluw")
|
|
49
|
+
DEF(Arabic, "Arab")
|
|
50
|
+
DEF(Armenian, "Armn")
|
|
51
|
+
DEF(Avestan, "Avst")
|
|
52
|
+
DEF(Balinese, "Bali")
|
|
53
|
+
DEF(Bamum, "Bamu")
|
|
54
|
+
DEF(Bassa_Vah, "Bass")
|
|
55
|
+
DEF(Batak, "Batk")
|
|
56
|
+
DEF(Bengali, "Beng")
|
|
57
|
+
DEF(Beria_Erfe, "Berf")
|
|
58
|
+
DEF(Bhaiksuki, "Bhks")
|
|
59
|
+
DEF(Bopomofo, "Bopo")
|
|
60
|
+
DEF(Brahmi, "Brah")
|
|
61
|
+
DEF(Braille, "Brai")
|
|
62
|
+
DEF(Buginese, "Bugi")
|
|
63
|
+
DEF(Buhid, "Buhd")
|
|
64
|
+
DEF(Canadian_Aboriginal, "Cans")
|
|
65
|
+
DEF(Carian, "Cari")
|
|
66
|
+
DEF(Caucasian_Albanian, "Aghb")
|
|
67
|
+
DEF(Chakma, "Cakm")
|
|
68
|
+
DEF(Cham, "Cham")
|
|
69
|
+
DEF(Cherokee, "Cher")
|
|
70
|
+
DEF(Chorasmian, "Chrs")
|
|
71
|
+
DEF(Common, "Zyyy")
|
|
72
|
+
DEF(Coptic, "Copt,Qaac")
|
|
73
|
+
DEF(Cuneiform, "Xsux")
|
|
74
|
+
DEF(Cypriot, "Cprt")
|
|
75
|
+
DEF(Cyrillic, "Cyrl")
|
|
76
|
+
DEF(Cypro_Minoan, "Cpmn")
|
|
77
|
+
DEF(Deseret, "Dsrt")
|
|
78
|
+
DEF(Devanagari, "Deva")
|
|
79
|
+
DEF(Dives_Akuru, "Diak")
|
|
80
|
+
DEF(Dogra, "Dogr")
|
|
81
|
+
DEF(Duployan, "Dupl")
|
|
82
|
+
DEF(Egyptian_Hieroglyphs, "Egyp")
|
|
83
|
+
DEF(Elbasan, "Elba")
|
|
84
|
+
DEF(Elymaic, "Elym")
|
|
85
|
+
DEF(Ethiopic, "Ethi")
|
|
86
|
+
DEF(Georgian, "Geor")
|
|
87
|
+
DEF(Glagolitic, "Glag")
|
|
88
|
+
DEF(Gothic, "Goth")
|
|
89
|
+
DEF(Garay, "Gara")
|
|
90
|
+
DEF(Grantha, "Gran")
|
|
91
|
+
DEF(Greek, "Grek")
|
|
92
|
+
DEF(Gujarati, "Gujr")
|
|
93
|
+
DEF(Gunjala_Gondi, "Gong")
|
|
94
|
+
DEF(Gurmukhi, "Guru")
|
|
95
|
+
DEF(Gurung_Khema, "Gukh")
|
|
96
|
+
DEF(Han, "Hani")
|
|
97
|
+
DEF(Hangul, "Hang")
|
|
98
|
+
DEF(Hanifi_Rohingya, "Rohg")
|
|
99
|
+
DEF(Hanunoo, "Hano")
|
|
100
|
+
DEF(Hatran, "Hatr")
|
|
101
|
+
DEF(Hebrew, "Hebr")
|
|
102
|
+
DEF(Hiragana, "Hira")
|
|
103
|
+
DEF(Imperial_Aramaic, "Armi")
|
|
104
|
+
DEF(Inherited, "Zinh,Qaai")
|
|
105
|
+
DEF(Inscriptional_Pahlavi, "Phli")
|
|
106
|
+
DEF(Inscriptional_Parthian, "Prti")
|
|
107
|
+
DEF(Javanese, "Java")
|
|
108
|
+
DEF(Kaithi, "Kthi")
|
|
109
|
+
DEF(Kannada, "Knda")
|
|
110
|
+
DEF(Katakana, "Kana")
|
|
111
|
+
DEF(Katakana_Or_Hiragana, "Hrkt")
|
|
112
|
+
DEF(Kawi, "Kawi")
|
|
113
|
+
DEF(Kayah_Li, "Kali")
|
|
114
|
+
DEF(Kharoshthi, "Khar")
|
|
115
|
+
DEF(Khmer, "Khmr")
|
|
116
|
+
DEF(Khojki, "Khoj")
|
|
117
|
+
DEF(Khitan_Small_Script, "Kits")
|
|
118
|
+
DEF(Khudawadi, "Sind")
|
|
119
|
+
DEF(Kirat_Rai, "Krai")
|
|
120
|
+
DEF(Lao, "Laoo")
|
|
121
|
+
DEF(Latin, "Latn")
|
|
122
|
+
DEF(Lepcha, "Lepc")
|
|
123
|
+
DEF(Limbu, "Limb")
|
|
124
|
+
DEF(Linear_A, "Lina")
|
|
125
|
+
DEF(Linear_B, "Linb")
|
|
126
|
+
DEF(Lisu, "Lisu")
|
|
127
|
+
DEF(Lycian, "Lyci")
|
|
128
|
+
DEF(Lydian, "Lydi")
|
|
129
|
+
DEF(Makasar, "Maka")
|
|
130
|
+
DEF(Mahajani, "Mahj")
|
|
131
|
+
DEF(Malayalam, "Mlym")
|
|
132
|
+
DEF(Mandaic, "Mand")
|
|
133
|
+
DEF(Manichaean, "Mani")
|
|
134
|
+
DEF(Marchen, "Marc")
|
|
135
|
+
DEF(Masaram_Gondi, "Gonm")
|
|
136
|
+
DEF(Medefaidrin, "Medf")
|
|
137
|
+
DEF(Meetei_Mayek, "Mtei")
|
|
138
|
+
DEF(Mende_Kikakui, "Mend")
|
|
139
|
+
DEF(Meroitic_Cursive, "Merc")
|
|
140
|
+
DEF(Meroitic_Hieroglyphs, "Mero")
|
|
141
|
+
DEF(Miao, "Plrd")
|
|
142
|
+
DEF(Modi, "Modi")
|
|
143
|
+
DEF(Mongolian, "Mong")
|
|
144
|
+
DEF(Mro, "Mroo")
|
|
145
|
+
DEF(Multani, "Mult")
|
|
146
|
+
DEF(Myanmar, "Mymr")
|
|
147
|
+
DEF(Nabataean, "Nbat")
|
|
148
|
+
DEF(Nag_Mundari, "Nagm")
|
|
149
|
+
DEF(Nandinagari, "Nand")
|
|
150
|
+
DEF(New_Tai_Lue, "Talu")
|
|
151
|
+
DEF(Newa, "Newa")
|
|
152
|
+
DEF(Nko, "Nkoo")
|
|
153
|
+
DEF(Nushu, "Nshu")
|
|
154
|
+
DEF(Nyiakeng_Puachue_Hmong, "Hmnp")
|
|
155
|
+
DEF(Ogham, "Ogam")
|
|
156
|
+
DEF(Ol_Chiki, "Olck")
|
|
157
|
+
DEF(Ol_Onal, "Onao")
|
|
158
|
+
DEF(Old_Hungarian, "Hung")
|
|
159
|
+
DEF(Old_Italic, "Ital")
|
|
160
|
+
DEF(Old_North_Arabian, "Narb")
|
|
161
|
+
DEF(Old_Permic, "Perm")
|
|
162
|
+
DEF(Old_Persian, "Xpeo")
|
|
163
|
+
DEF(Old_Sogdian, "Sogo")
|
|
164
|
+
DEF(Old_South_Arabian, "Sarb")
|
|
165
|
+
DEF(Old_Turkic, "Orkh")
|
|
166
|
+
DEF(Old_Uyghur, "Ougr")
|
|
167
|
+
DEF(Oriya, "Orya")
|
|
168
|
+
DEF(Osage, "Osge")
|
|
169
|
+
DEF(Osmanya, "Osma")
|
|
170
|
+
DEF(Pahawh_Hmong, "Hmng")
|
|
171
|
+
DEF(Palmyrene, "Palm")
|
|
172
|
+
DEF(Pau_Cin_Hau, "Pauc")
|
|
173
|
+
DEF(Phags_Pa, "Phag")
|
|
174
|
+
DEF(Phoenician, "Phnx")
|
|
175
|
+
DEF(Psalter_Pahlavi, "Phlp")
|
|
176
|
+
DEF(Rejang, "Rjng")
|
|
177
|
+
DEF(Runic, "Runr")
|
|
178
|
+
DEF(Samaritan, "Samr")
|
|
179
|
+
DEF(Saurashtra, "Saur")
|
|
180
|
+
DEF(Sharada, "Shrd")
|
|
181
|
+
DEF(Shavian, "Shaw")
|
|
182
|
+
DEF(Siddham, "Sidd")
|
|
183
|
+
DEF(Sidetic, "Sidt")
|
|
184
|
+
DEF(SignWriting, "Sgnw")
|
|
185
|
+
DEF(Sinhala, "Sinh")
|
|
186
|
+
DEF(Sogdian, "Sogd")
|
|
187
|
+
DEF(Sora_Sompeng, "Sora")
|
|
188
|
+
DEF(Soyombo, "Soyo")
|
|
189
|
+
DEF(Sundanese, "Sund")
|
|
190
|
+
DEF(Sunuwar, "Sunu")
|
|
191
|
+
DEF(Syloti_Nagri, "Sylo")
|
|
192
|
+
DEF(Syriac, "Syrc")
|
|
193
|
+
DEF(Tagalog, "Tglg")
|
|
194
|
+
DEF(Tagbanwa, "Tagb")
|
|
195
|
+
DEF(Tai_Le, "Tale")
|
|
196
|
+
DEF(Tai_Tham, "Lana")
|
|
197
|
+
DEF(Tai_Viet, "Tavt")
|
|
198
|
+
DEF(Tai_Yo, "Tayo")
|
|
199
|
+
DEF(Takri, "Takr")
|
|
200
|
+
DEF(Tamil, "Taml")
|
|
201
|
+
DEF(Tangut, "Tang")
|
|
202
|
+
DEF(Telugu, "Telu")
|
|
203
|
+
DEF(Thaana, "Thaa")
|
|
204
|
+
DEF(Thai, "Thai")
|
|
205
|
+
DEF(Tibetan, "Tibt")
|
|
206
|
+
DEF(Tifinagh, "Tfng")
|
|
207
|
+
DEF(Tirhuta, "Tirh")
|
|
208
|
+
DEF(Tangsa, "Tnsa")
|
|
209
|
+
DEF(Todhri, "Todr")
|
|
210
|
+
DEF(Tolong_Siki, "Tols")
|
|
211
|
+
DEF(Toto, "Toto")
|
|
212
|
+
DEF(Tulu_Tigalari, "Tutg")
|
|
213
|
+
DEF(Ugaritic, "Ugar")
|
|
214
|
+
DEF(Vai, "Vaii")
|
|
215
|
+
DEF(Vithkuqi, "Vith")
|
|
216
|
+
DEF(Wancho, "Wcho")
|
|
217
|
+
DEF(Warang_Citi, "Wara")
|
|
218
|
+
DEF(Yezidi, "Yezi")
|
|
219
|
+
DEF(Yi, "Yiii")
|
|
220
|
+
DEF(Zanabazar_Square, "Zanb")
|
|
221
|
+
#endif
|
|
222
|
+
|
|
223
|
+
#ifdef UNICODE_PROP_LIST
|
|
224
|
+
/* Prop list not exported to regexp */
|
|
225
|
+
DEF(Hyphen, "")
|
|
226
|
+
DEF(Other_Math, "")
|
|
227
|
+
DEF(Other_Alphabetic, "")
|
|
228
|
+
DEF(Other_Lowercase, "")
|
|
229
|
+
DEF(Other_Uppercase, "")
|
|
230
|
+
DEF(Other_Grapheme_Extend, "")
|
|
231
|
+
DEF(Other_Default_Ignorable_Code_Point, "")
|
|
232
|
+
DEF(Other_ID_Start, "")
|
|
233
|
+
DEF(Other_ID_Continue, "")
|
|
234
|
+
DEF(Prepended_Concatenation_Mark, "")
|
|
235
|
+
/* additional computed properties for smaller tables */
|
|
236
|
+
DEF(ID_Continue1, "")
|
|
237
|
+
DEF(XID_Start1, "")
|
|
238
|
+
DEF(XID_Continue1, "")
|
|
239
|
+
DEF(Changes_When_Titlecased1, "")
|
|
240
|
+
DEF(Changes_When_Casefolded1, "")
|
|
241
|
+
DEF(Changes_When_NFKC_Casefolded1, "")
|
|
242
|
+
|
|
243
|
+
/* Prop list exported to JS */
|
|
244
|
+
DEF(ASCII_Hex_Digit, "AHex")
|
|
245
|
+
DEF(Bidi_Control, "Bidi_C")
|
|
246
|
+
DEF(Dash, "")
|
|
247
|
+
DEF(Deprecated, "Dep")
|
|
248
|
+
DEF(Diacritic, "Dia")
|
|
249
|
+
DEF(Extender, "Ext")
|
|
250
|
+
DEF(Hex_Digit, "Hex")
|
|
251
|
+
DEF(IDS_Unary_Operator, "IDSU")
|
|
252
|
+
DEF(IDS_Binary_Operator, "IDSB")
|
|
253
|
+
DEF(IDS_Trinary_Operator, "IDST")
|
|
254
|
+
DEF(Ideographic, "Ideo")
|
|
255
|
+
DEF(Join_Control, "Join_C")
|
|
256
|
+
DEF(Logical_Order_Exception, "LOE")
|
|
257
|
+
DEF(Modifier_Combining_Mark, "MCM")
|
|
258
|
+
DEF(Noncharacter_Code_Point, "NChar")
|
|
259
|
+
DEF(Pattern_Syntax, "Pat_Syn")
|
|
260
|
+
DEF(Pattern_White_Space, "Pat_WS")
|
|
261
|
+
DEF(Quotation_Mark, "QMark")
|
|
262
|
+
DEF(Radical, "")
|
|
263
|
+
DEF(Regional_Indicator, "RI")
|
|
264
|
+
DEF(Sentence_Terminal, "STerm")
|
|
265
|
+
DEF(Soft_Dotted, "SD")
|
|
266
|
+
DEF(Terminal_Punctuation, "Term")
|
|
267
|
+
DEF(Unified_Ideograph, "UIdeo")
|
|
268
|
+
DEF(Variation_Selector, "VS")
|
|
269
|
+
DEF(White_Space, "space")
|
|
270
|
+
DEF(Bidi_Mirrored, "Bidi_M")
|
|
271
|
+
DEF(Emoji, "")
|
|
272
|
+
DEF(Emoji_Component, "EComp")
|
|
273
|
+
DEF(Emoji_Modifier, "EMod")
|
|
274
|
+
DEF(Emoji_Modifier_Base, "EBase")
|
|
275
|
+
DEF(Emoji_Presentation, "EPres")
|
|
276
|
+
DEF(Extended_Pictographic, "ExtPict")
|
|
277
|
+
DEF(Default_Ignorable_Code_Point, "DI")
|
|
278
|
+
DEF(ID_Start, "IDS")
|
|
279
|
+
DEF(Case_Ignorable, "CI")
|
|
280
|
+
|
|
281
|
+
/* other binary properties */
|
|
282
|
+
DEF(ASCII,"")
|
|
283
|
+
DEF(Alphabetic, "Alpha")
|
|
284
|
+
DEF(Any, "")
|
|
285
|
+
DEF(Assigned,"")
|
|
286
|
+
DEF(Cased, "")
|
|
287
|
+
DEF(Changes_When_Casefolded, "CWCF")
|
|
288
|
+
DEF(Changes_When_Casemapped, "CWCM")
|
|
289
|
+
DEF(Changes_When_Lowercased, "CWL")
|
|
290
|
+
DEF(Changes_When_NFKC_Casefolded, "CWKCF")
|
|
291
|
+
DEF(Changes_When_Titlecased, "CWT")
|
|
292
|
+
DEF(Changes_When_Uppercased, "CWU")
|
|
293
|
+
DEF(Grapheme_Base, "Gr_Base")
|
|
294
|
+
DEF(Grapheme_Extend, "Gr_Ext")
|
|
295
|
+
DEF(ID_Continue, "IDC")
|
|
296
|
+
DEF(ID_Compat_Math_Start, "")
|
|
297
|
+
DEF(ID_Compat_Math_Continue, "")
|
|
298
|
+
DEF(Lowercase, "Lower")
|
|
299
|
+
DEF(Math, "")
|
|
300
|
+
DEF(Uppercase, "Upper")
|
|
301
|
+
DEF(XID_Continue, "XIDC")
|
|
302
|
+
DEF(XID_Start, "XIDS")
|
|
303
|
+
|
|
304
|
+
/* internal tables with index */
|
|
305
|
+
DEF(Cased1, "")
|
|
306
|
+
|
|
307
|
+
/* unused by us */
|
|
308
|
+
DEF(InCB, "")
|
|
309
|
+
|
|
310
|
+
#endif
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
|
|
3
|
+
set -e
|
|
4
|
+
|
|
5
|
+
if [ $# -ne 1 ]; then
|
|
6
|
+
echo "Usage: $0 <major.minor.patch>"
|
|
7
|
+
exit 1
|
|
8
|
+
fi
|
|
9
|
+
|
|
10
|
+
VERSION="$1"
|
|
11
|
+
MAJOR=$(echo "$VERSION" | cut -d. -f1)
|
|
12
|
+
MINOR=$(echo "$VERSION" | cut -d. -f2)
|
|
13
|
+
PATCH=$(echo "$VERSION" | cut -d. -f3)
|
|
14
|
+
|
|
15
|
+
if [ -z "$MAJOR" ] || [ -z "$MINOR" ] || [ -z "$PATCH" ]; then
|
|
16
|
+
echo "Error: version must be in major.minor.patch format"
|
|
17
|
+
exit 1
|
|
18
|
+
fi
|
|
19
|
+
|
|
20
|
+
sed -i.bak \
|
|
21
|
+
-e "s/^#define QJS_VERSION_MAJOR .*/#define QJS_VERSION_MAJOR $MAJOR/" \
|
|
22
|
+
-e "s/^#define QJS_VERSION_MINOR .*/#define QJS_VERSION_MINOR $MINOR/" \
|
|
23
|
+
-e "s/^#define QJS_VERSION_PATCH .*/#define QJS_VERSION_PATCH $PATCH/" \
|
|
24
|
+
quickjs.h
|
|
25
|
+
|
|
26
|
+
sed -i.bak \
|
|
27
|
+
-e "s/^ version: '.*'/ version: '$VERSION'/" \
|
|
28
|
+
meson.build
|
|
29
|
+
|
|
30
|
+
rm -f quickjs.h.bak meson.build.bak
|
|
31
|
+
|
|
32
|
+
echo "Version updated to $VERSION"
|