about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* fixed the garbage collection of async functions with closures (github issue ↵Fabrice Bellard2023-12-281-244/+277
| | | | #156)
* removed memory leakFabrice Bellard2023-12-281-1/+3
|
* added RegExp 'd' flag (bnoordhuis)Fabrice Bellard2023-12-283-54/+139
|
* added Promise.withResolversFabrice Bellard2023-12-281-10/+6
|
* added Array.prototype.{with,toReversed,toSpliced,toSorted} and ↵Fabrice Bellard2023-12-281-0/+379
| | | | TypedArray.prototype.{with,toReversed,toSorted} (initial patch by bnoordhuis)
* added Object.groupBy and Map.groupBy (initial patch by bnoordhuis)Fabrice Bellard2023-12-281-0/+121
|
* added String.prototype.isWellFormed and String.prototype.toWellFormedFabrice Bellard2023-12-281-0/+80
|
* fixed detached TypedArray in sort()Fabrice Bellard2023-12-281-40/+47
|
* quickjs: remove unnecessary forward declarationbptato2023-12-281-4/+0
| | | | was causing conflicts with applying upstream patches
* top-level-await support - follow the spec in the implementation of the ↵Fabrice Bellard2023-12-282-89/+635
| | | | module linking and evaluation to avoid errors with cycling module dependencies
* Revert TLA support patchbptato2023-12-282-126/+19
| | | | | | Importing it from upstream. (Hoping this revert actually worked...)
* Compile with styleCheck:usagesbptato2023-12-2825-67/+69
| | | | much better
* Remove outdated readme in adapter/bptato2023-12-251-7/+0
| | | | the "long-term goal" is already achieved :)
* dom: export import maps allowedbptato2023-12-251-1/+1
| | | | whoops
* dom: use JS_EvalFunction; add module fetching stubsbptato2023-12-256-51/+164
| | | | (still no module support in buffer...)
* Fix warnings on Nim 2.0.2bptato2023-12-242-3/+3
| | | | | | | | One is a false-positive (in dom). The other one in pager is something I hadn't noticed before, that's nice. For now I want to avoid making a change that may break things, so I just removed the dead code.
* bindings/quickjs: cint -> csize_tbptato2023-12-232-3/+5
| | | | | | cint was incorrect :/ Makes me wonder if maybe we should just use futhark after all...
* dom: use std/ in importsbptato2023-12-221-8/+8
|
* dom: simplify fetch classic scriptbptato2023-12-221-22/+21
|
* fix broken linkbptato2023-12-221-1/+1
|
* update doc/protocolsbptato2023-12-221-3/+3
|
* reduced JS_MAX_LOCAL_VARS (github issue #123)Fabrice Bellard2023-12-221-1/+1
|
* removed unused JSContext fieldFabrice Bellard2023-12-221-1/+0
|
* use Unicode normalization in String.prototype.localeCompareFabrice Bellard2023-12-221-31/+100
|
* 'for of' expression cannot start with 'async'Fabrice Bellard2023-12-221-0/+3
|
* removed incorrect await in async yield*Fabrice Bellard2023-12-221-1/+0
|
* fixed define own property with writable=false on module namespaceFabrice Bellard2023-12-221-3/+7
|
* added container_of macroFabrice Bellard2023-12-223-3/+5
|
* safer typed array finalizerFabrice Bellard2023-12-221-2/+17
|
* fixed js_strtod with large integers (github issue #206)Fabrice Bellard2023-12-221-2/+6
|
* test 128 bit integer support (github issue #125)Fabrice Bellard2023-12-221-1/+1
|
* quickjs: avoid an unnecessary null check for can_destroybptato2023-12-221-4/+4
|
* buffer: prevent crash in reshape before document is parsedbptato2023-12-221-0/+2
| | | | Can happen e.g. if the window is resized or the user manually reshapes.
* gmi2html: rewritebptato2023-12-223-246/+74
| | | | | | | | * Rewrite in Nim * This time, do not use a state machine (it was a very bad idea) * Do not emit <br> for every line; use CSS instead * Avoid double-newline caused by margins using CSS * Properly support list items
* gopher2html: do not use streamsbptato2023-12-211-4/+2
|
* buffer: clean up ssock on being killedbptato2023-12-213-21/+40
| | | | | | * use signal handlers to avoid littering tmpdir with dead sockets * add connection reset error (for socketstream) * convert some imports to new style
* cgi: return ConnectionError when script is not executablebptato2023-12-213-6/+8
|
* loader: refactor onRead/onErrorbptato2023-12-211-19/+22
| | | | | | It was originally written this way to accomodate for the broken std file API. We no longer use that in buffer, so we can use a more correct version now.
* container: fix gotoMarkYbptato2023-12-212-3/+3
| | | | | | Now it actually does what it was supposed to do. Also, clarify what it does in config.md
* file: remove symlink codebptato2023-12-211-19/+4
| | | | It was never reached anyway.
* file: do not use streamsbptato2023-12-211-23/+19
|
* js: fix nil deref in jsgetpropbptato2023-12-201-4/+9
| | | | Turns out desc can in fact be nil.
* ua.css: add plaintextbptato2023-12-201-1/+1
|
* html/dom: do not submit implicitly if there is a submit buttonbptato2023-12-181-8/+10
| | | | | | | | | | | | | | | | See e.g. the sr.ht issue tracker, now forever tainted by the tickets I accidentally submitted :P Chawan will gladly autosubmit without the user having written anything in the textbox just by writing some text in the title. The problem is that graphical web browsers typically have a "submit" keybinding (enter), and a "next field" keybinding (tab). The implicit submission mechanism was created with graphical browsers in mind; like w3m, Chawan only has an "ok" keybinding, which may or may not also mean "submit". With this solution, only forms that could not otherwise be submitted will autosubmit.
* socketstream: get rid of emitsbptato2023-12-183-50/+75
| | | | Use .compile, as that is supported by nlvm too.
* strwidth & url fixesbptato2023-12-163-7/+7
| | | | | | * actually search Combining for isCombining * fix searchInMap * fix cmpRange of url
* Fix compilation on Nim 1.6.14bptato2023-12-165-5/+16
|
* container: fix multi-byte selections, do not append newlinebptato2023-12-161-7/+11
| | | | | | We need to select (first byte of first char)..(last byte of last char). Also, in line/block mode we no longer add the final newline to selections.
* config/toml: fix consumeComment overriding nodesbptato2023-12-151-1/+2
| | | | | We must first check if there is really no node to attach the comment to...
* about: actually error out on errorbptato2023-12-151-5/+8
|