diff options
author | bptato <nincsnevem662@gmail.com> | 2024-09-29 19:34:04 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-09-29 20:14:44 +0200 |
commit | 44b230bba2c75e9b7334bc30e839e73dd371ffa6 (patch) | |
tree | e9126969b3f0b2af51e108b38501da24084bc329 | |
parent | 3b7ca109b9009d5875f8cc1bd8c8212fd9abc296 (diff) | |
download | chawan-44b230bba2c75e9b7334bc30e839e73dd371ffa6.tar.gz |
Update monoucha
Now we use QuickJS-NG, which is better maintained than QJS and has column tracking.
-rw-r--r-- | README.md | 4 | ||||
m--------- | lib/monoucha | 0 | ||||
-rw-r--r-- | res/license.md | 8 | ||||
-rw-r--r-- | src/utils/luwrap.nim | 1 | ||||
-rw-r--r-- | src/version.nim | 2 |
5 files changed, 9 insertions, 6 deletions
diff --git a/README.md b/README.md index de7348d2..eea77243 100644 --- a/README.md +++ b/README.md @@ -108,8 +108,8 @@ Here's some: * The browser engine (HTML parsing, rendering, etc.) has been developed from scratch in the memory-safe Nim programming language. Some of these modules are now also available as separate libraries. -* Uses [QuickJS](https://bellard.org/quickjs) for JavaScript execution and regex - matching. +* Uses [QuickJS-NG](https://github.com/quickjs-ng/quickjs) for JavaScript + execution and regex matching. * Each buffer (page) is isolated in a separate process. File loading is done through dedicated loader processes. * termcap for basic terminal capability querying, and terminal queries where diff --git a/lib/monoucha b/lib/monoucha -Subproject f2b80f64d9b28c56dc81ab022cfe838f6bfec39 +Subproject 47e5a98b4f1240d887639690f27b2e6f3d5512f diff --git a/res/license.md b/res/license.md index a7c293ef..0abe612b 100644 --- a/res/license.md +++ b/res/license.md @@ -18,7 +18,7 @@ the vendored Punycode library). Table of contents: * [Chawan](#chawan) -* [QuickJS](#quickjs) +* [QuickJS-NG](#quickjs-ng) * [Punycode library](#punycode-library) * [STB image](#stb-image) * [JebP](#jebp) @@ -52,7 +52,7 @@ OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to <http://unlicense.org/> ``` -## QuickJS +## QuickJS-NG Note that our vendored copy is not identical to upstream, as we include some patches for integration of the QuickJS and Nim runtimes. @@ -61,10 +61,12 @@ Special thanks to zamfofex, Bo Yao, Nick Vatamaniuc and Saúl Ibarra Corretgé for their patches which we used during inactivity of upstream developers. ``` -QuickJS Javascript Engine +The MIT License (MIT) Copyright (c) 2017-2021 Fabrice Bellard Copyright (c) 2017-2021 Charlie Gordon +Copyright (c) 2023 Ben Noordhuis +Copyright (c) 2023 Saúl Ibarra Corretgé Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/utils/luwrap.nim b/src/utils/luwrap.nim index 76a5b2e1..08b16e59 100644 --- a/src/utils/luwrap.nim +++ b/src/utils/luwrap.nim @@ -2,6 +2,7 @@ import std/algorithm import std/strutils import monoucha/libunicode +import monoucha/libregexp import utils/charcategory import utils/twtuni diff --git a/src/version.nim b/src/version.nim index 55b0062a..5b9cf346 100644 --- a/src/version.nim +++ b/src/version.nim @@ -29,4 +29,4 @@ tryImport monoucha/version, "monoucha" static: checkVersion("chagashi", 0, 5, 6) checkVersion("chame", 1, 0, 1) - checkVersion("monoucha", 0, 4, 3) + checkVersion("monoucha", 0, 5, 0) |