Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | added 'in' operator for private fields | Fabrice Bellard | 2024-01-11 | 2 | -75/+162 | |
| | ||||||
* | class static block (initial patch by bnoordhuis) | Fabrice Bellard | 2024-01-11 | 1 | -17/+76 | |
| | ||||||
* | fixed crash in JS_DumpMemoryUsage (github issue #65) | Fabrice Bellard | 2024-01-11 | 1 | -2/+2 | |
| | ||||||
* | allow 'await' in the REPL and added os.sleepAsync() | Fabrice Bellard | 2024-01-11 | 2 | -2/+5 | |
| | ||||||
* | make JS_NewClassID thread safe | Fabrice Bellard | 2024-01-11 | 1 | -1/+10 | |
| | ||||||
* | added Error cause | Fabrice Bellard | 2024-01-11 | 2 | -6/+21 | |
| | ||||||
* | js: merge some type modules into jstypes | bptato | 2024-01-11 | 16 | -51/+52 | |
| | | | | They only had type definitions, no need to put them in separate modules. | |||||
* | pager: simplify updateReadLine | bptato | 2024-01-11 | 1 | -14/+16 | |
| | ||||||
* | Fix windowChange not refreshing valid media queries | bptato | 2024-01-10 | 3 | -1/+7 | |
| | | | | | | | | * css/cascade: copy stylesheet in applyMediaQuery (so that changes are reverted on re-style) * buffer: clear prevstyled in windowChange (to avoid using cached results from previous cascading passes); set window.attrs * pager: avoid windowChange if new attrs are identical to the old ones | |||||
* | js: use Nim allocator | bptato | 2024-01-08 | 2 | -17/+49 | |
| | ||||||
* | Add urlenc, urldec; fix a URL encoding bug; improve trans.cgi | bptato | 2024-01-08 | 8 | -26/+119 | |
| | | | | | | | | | | * Fix incorrect internal definition of the fragment percent-encode set * urlenc, urldec: these are simple utility programs mainly for use with shell local CGI scripts. (Sadly the printf + xargs solution is not portable.) * Pass libexec directory as an env var to local CGI scripts * Update trans.cgi to use urldec and add an example for combining it with selections | |||||
* | Use std/* imports everywhere | bptato | 2024-01-07 | 62 | -190/+189 | |
| | ||||||
* | tojs: document + remove unused JSCFunction converter | bptato | 2024-01-07 | 1 | -7/+41 | |
| | ||||||
* | request: don't deny BodyInit that is not an object | bptato | 2024-01-06 | 1 | -3/+0 | |
| | | | | This breaks string conversions. | |||||
* | Set cgiDir for client loader process | bptato | 2024-01-06 | 3 | -4/+7 | |
| | ||||||
* | Fix some casing issues | bptato | 2024-01-06 | 8 | -15/+17 | |
| | ||||||
* | about: fix compilation error on Nim 1.14 | bptato | 2024-01-06 | 1 | -1/+4 | |
| | ||||||
* | Merge data/idna with types/url | bptato | 2024-01-04 | 2 | -52/+49 | |
| | | | | No need to have a separate directory for just 3 functions. | |||||
* | charwidth: use pre-generated map file | bptato | 2024-01-04 | 7 | -184/+456 | |
| | | | | Also for reducing compilation time. | |||||
* | idna: use pre-generated map file, misc changes | bptato | 2024-01-04 | 4 | -175/+2684 | |
| | | | | | | | | | Speeds up compilation somewhat. Included in the repository because it's not that huge. misc changes: * use seq, not set for UCS-16 sets (it takes up less space) * remove unnecessary noSideEffects casts | |||||
* | Update todo | bptato | 2024-01-04 | 1 | -0/+3 | |
| | ||||||
* | css/sheet: skip media queries without blocks | bptato | 2024-01-04 | 1 | -0/+3 | |
| | | | | Without this, media queries without a block would crash the buffer. | |||||
* | cha-finger: skip leading slash in path | bptato | 2024-01-03 | 1 | -1/+1 | |
| | ||||||
* | Add spartan support | bptato | 2024-01-03 | 4 | -1/+68 | |
| | | | | why not | |||||
* | buffer: do not trap SIGINT to cleanup | bptato | 2024-01-03 | 2 | -2/+2 | |
| | | | | | | | We trap SIGINT with setControlCHook to avoid buffers being killed by the process group receiving a SIGINT; trapping it to cleanup has the opposite effect. SIGTERM should be enough, as that is what we use for cleaning up buffers. | |||||
* | loader: send error message str for disallowed URL | bptato | 2023-12-29 | 1 | -3/+3 | |
| | | | | buffer was crashing with an EOFError otherwise | |||||
* | added os.now() | Fabrice Bellard | 2023-12-28 | 1 | -30/+0 | |
| | ||||||
* | define the same atoms with or without CONFIG_ATOMICS (github issue #76) | Fabrice Bellard | 2023-12-28 | 1 | -2/+2 | |
| | ||||||
* | fixed JS module autodetection with shebang (github issue #91) | Fabrice Bellard | 2023-12-28 | 1 | -26/+28 | |
| | ||||||
* | fixed crash when resizing property shapes in case of OOM (github issue #129) | Fabrice Bellard | 2023-12-28 | 1 | -23/+18 | |
| | ||||||
* | fixed the garbage collection of async functions with closures (github issue ↵ | Fabrice Bellard | 2023-12-28 | 1 | -244/+277 | |
| | | | | #156) | |||||
* | removed memory leak | Fabrice Bellard | 2023-12-28 | 1 | -1/+3 | |
| | ||||||
* | added RegExp 'd' flag (bnoordhuis) | Fabrice Bellard | 2023-12-28 | 3 | -54/+139 | |
| | ||||||
* | added Promise.withResolvers | Fabrice Bellard | 2023-12-28 | 1 | -10/+6 | |
| | ||||||
* | added Array.prototype.{with,toReversed,toSpliced,toSorted} and ↵ | Fabrice Bellard | 2023-12-28 | 1 | -0/+379 | |
| | | | | TypedArray.prototype.{with,toReversed,toSorted} (initial patch by bnoordhuis) | |||||
* | added Object.groupBy and Map.groupBy (initial patch by bnoordhuis) | Fabrice Bellard | 2023-12-28 | 1 | -0/+121 | |
| | ||||||
* | added String.prototype.isWellFormed and String.prototype.toWellFormed | Fabrice Bellard | 2023-12-28 | 1 | -0/+80 | |
| | ||||||
* | fixed detached TypedArray in sort() | Fabrice Bellard | 2023-12-28 | 1 | -40/+47 | |
| | ||||||
* | quickjs: remove unnecessary forward declaration | bptato | 2023-12-28 | 1 | -4/+0 | |
| | | | | was causing conflicts with applying upstream patches | |||||
* | top-level-await support - follow the spec in the implementation of the ↵ | Fabrice Bellard | 2023-12-28 | 2 | -89/+635 | |
| | | | | module linking and evaluation to avoid errors with cycling module dependencies | |||||
* | Revert TLA support patch | bptato | 2023-12-28 | 2 | -126/+19 | |
| | | | | | | Importing it from upstream. (Hoping this revert actually worked...) | |||||
* | Compile with styleCheck:usages | bptato | 2023-12-28 | 25 | -67/+69 | |
| | | | | much better | |||||
* | Remove outdated readme in adapter/ | bptato | 2023-12-25 | 1 | -7/+0 | |
| | | | | the "long-term goal" is already achieved :) | |||||
* | dom: export import maps allowed | bptato | 2023-12-25 | 1 | -1/+1 | |
| | | | | whoops | |||||
* | dom: use JS_EvalFunction; add module fetching stubs | bptato | 2023-12-25 | 6 | -51/+164 | |
| | | | | (still no module support in buffer...) | |||||
* | Fix warnings on Nim 2.0.2 | bptato | 2023-12-24 | 2 | -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_t | bptato | 2023-12-23 | 2 | -3/+5 | |
| | | | | | | cint was incorrect :/ Makes me wonder if maybe we should just use futhark after all... | |||||
* | dom: use std/ in imports | bptato | 2023-12-22 | 1 | -8/+8 | |
| | ||||||
* | dom: simplify fetch classic script | bptato | 2023-12-22 | 1 | -22/+21 | |
| | ||||||
* | fix broken link | bptato | 2023-12-22 | 1 | -1/+1 | |
| |