Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | doc: fix cookie sharing example | bptato | 2024-01-22 | 1 | -4/+4 | |
| | | | | This configuration scheme really is a nightmare to use :( | |||||
* | container: fix b/e unnecessarily switching lines | bptato | 2024-01-20 | 1 | -3/+8 | |
| | | | | | cursorWordEnd & cursorWordBegin must only change the current line if no new word was found. | |||||
* | Fix form action when submitter has a "form" attr | bptato | 2024-01-19 | 2 | -20/+30 | |
| | | | | | | | * Unify form variable for all form-associated elements * Fix broken form association logic in resetFormOwner * Use form action for all form-associated submitters * Remove unused getElementsByTag + de-extern some functions | |||||
* | charwidth: use ptint in controls calculation | bptato | 2024-01-19 | 2 | -19/+19 | |
| | | | | int was incorrect | |||||
* | buffer: fix clone on *BSD | bptato | 2024-01-19 | 1 | -1/+8 | |
| | | | | kqueue does not like being closed after fork(2). | |||||
* | about:chawan: fix some descriptions | bptato | 2024-01-19 | 1 | -2/+2 | |
| | ||||||
* | Re-design word handling, add e, E, W, B, etc. | bptato | 2024-01-19 | 7 | -59/+266 | |
| | | | | | | | | | | | | * Add functions for moving to the beginning/end of words (vi `b', `e'). * As it turns out, there are many possible interpretations of what a word is. Now we have a function for each reasonable interpretation, and the default settings match those of vi (and w3m in w3m.toml). (Exception: it's still broken on line boundaries... TODO) * Remove `bounds` from lineedit, it was horrible API design and mostly useless. In the future, an API similar to what pager now has could be added. * Update docs, and fix some spacing issues with symbols in the tables. | |||||
* | utils/map: remove unused special case | bptato | 2024-01-17 | 1 | -3/+0 | |
| | | | | Even if it were used, it's UB... | |||||
* | Remove std/terminal dependency | bptato | 2024-01-17 | 4 | -55/+66 | |
| | | | | It is mostly unnecessary, and conflicts with our use of termcap anyway. | |||||
* | js: small improvements | bptato | 2024-01-17 | 3 | -22/+54 | |
| | | | | | * turn JSFuncGenerator into a ref object (it's faster this way) * remove strformat dependency | |||||
* | dom: fix innerHTML tag name regression | bptato | 2024-01-17 | 1 | -2/+8 | |
| | ||||||
* | dom: fix invalid object conversion defect | bptato | 2024-01-17 | 1 | -1/+1 | |
| | ||||||
* | quickjs: patch libunicode.h to use LRE_BOOL | bptato | 2024-01-15 | 1 | -2/+2 | |
| | | | | | | | This way it actually compiles :) (QJS includes cutils.h too, so BOOL works there. We don't, so this is the easiest fix.) | |||||
* | dom: standard-compliant innerHTML/outerHTML | bptato | 2024-01-12 | 2 | -5/+73 | |
| | | | | | | | | It's still not perfect, but at least now we do not apply non-standard whitespace changes. The stringifier is left as it is since it's more useful for debugging this way. | |||||
* | cha-http-libfetch: fix incorrect usage of strncat | bptato | 2024-01-11 | 1 | -14/+3 | |
| | | | | | | | strncat does not work like that :P Luckily, BSD has strlcat which does. (While we're at it, remove the unused PDIE macro.) | |||||
* | Use errDOMException template everywhere | bptato | 2024-01-11 | 5 | -24/+24 | |
| | ||||||
* | native cosmopolitan build | Fabrice Bellard | 2024-01-11 | 1 | -16/+5 | |
| | ||||||
* | more portable and Windows version for getTimezoneOffset() (github issue #122) | Fabrice Bellard | 2024-01-11 | 1 | -9/+24 | |
| | ||||||
* | regexp: fixed the zero advance logic in quantifiers (github issue #158) | Fabrice Bellard | 2024-01-11 | 2 | -74/+42 | |
| | ||||||
* | optional chaining fixes (github issue #103) | Fabrice Bellard | 2024-01-11 | 2 | -7/+111 | |
| | ||||||
* | fixed Date.toLocaleString() (kuzmas) | Fabrice Bellard | 2024-01-11 | 1 | -1/+1 | |
| | ||||||
* | fixed regexp case insensitive flag | Fabrice Bellard | 2024-01-11 | 4 | -196/+374 | |
| | ||||||
* | fixed next token parsing after a function definition (github issue #77) | Fabrice Bellard | 2024-01-11 | 1 | -27/+51 | |
| | ||||||
* | fixed class name init in static initializers | Fabrice Bellard | 2024-01-11 | 1 | -17/+10 | |
| | ||||||
* | avoid potentially undefined behavior and make valgrind happy (bnoordhuis) ↵ | Fabrice Bellard | 2024-01-11 | 1 | -14/+12 | |
| | | | | (github issue #153) | |||||
* | make for in faster and spec compliant (github issue #137) | Fabrice Bellard | 2024-01-11 | 1 | -86/+143 | |
| | ||||||
* | fixed test262: derived-this-uninitialized-realm.js | Fabrice Bellard | 2024-01-11 | 2 | -4/+28 | |
| | ||||||
* | added a comment for non-initialized warning in Valgrind (github issue #153) | Fabrice Bellard | 2024-01-11 | 1 | -0/+10 | |
| | ||||||
* | 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. |