Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | layout: consider inline positioning for absolute blocks | bptato | 2024-01-29 | 3 | -78/+102 | |
| | | | | | When an absolute block is a descendant of an inline box, its positioned ancestor must be set to that box. | |||||
* | forkserver: clean up | bptato | 2024-01-29 | 5 | -30/+24 | |
| | | | | | Move forkBuffer into forkserver (why was it in container anyway), remove unused mainproc variable, etc. | |||||
* | client: stop entire process group on suspend() | bptato | 2024-01-29 | 2 | -3/+4 | |
| | | | | | * pass 0 so e.g. git does not hang * use sigtstp so e.g. cgi scripts can clean up if needed | |||||
* | man: fix man -k | bptato | 2024-01-27 | 1 | -20/+37 | |
| | ||||||
* | mimetypes: simplify parseMimeTypes | bptato | 2024-01-27 | 2 | -16/+15 | |
| | | | | | * use functions like until * do not call atEnd for every line, use boolean readLine instead | |||||
* | loader: clean up error handling | bptato | 2024-01-26 | 5 | -82/+71 | |
| | | | | | | | | | * remove pointless exception -> bool conversions; usually they were ignored anyway + exceptions are more convenient here * add EPIPE handler to raisePosixIOError * fix socketstream to use raisePosixIOError * fix socketstream sendFileHandle error handling * cgi: immediately return on file not found error | |||||
* | cgi: fix broken libexec path env variable | bptato | 2024-01-26 | 4 | -9/+10 | |
| | ||||||
* | Add mancha man page viewer | bptato | 2024-01-26 | 10 | -11/+434 | |
| | | | | | | | | | | derived from w3mman2html.cgi, there are only a few minor differences: * different man page opener command * use man:, man-k:, man-l: instead of query string to specify action * no form input (C-lC-uman:pageC-m is faster anyway) TODO rewrite in Nim so we don't have to depend on Perl... | |||||
* | js: update pragma docs | bptato | 2024-01-24 | 1 | -3/+9 | |
| | ||||||
* | js: define toStringTag properly | bptato | 2024-01-24 | 3 | -3/+13 | |
| | ||||||
* | js: allow specifying static function name, small refactoring | bptato | 2024-01-24 | 3 | -63/+62 | |
| | | | | | | | | * static function names can now be defined using the syntax `Class:functionName' (or just use `Class' to take the default name * fix URL.canParse with 1 argument only * do not store JSFuncGenerator for constructors; just put the function node in BoundFunctions | |||||
* | Remove newFormat | bptato | 2024-01-23 | 5 | -20/+16 | |
| | | | | Pointless; it just returned a default zero-initialized object. | |||||
* | color: remove Premul type | bptato | 2024-01-23 | 1 | -18/+10 | |
| | ||||||
* | rendertext: add support for backspace overstrike, misc fixes | bptato | 2024-01-23 | 2 | -47/+125 | |
| | | | | | * parse manpage output styled ugly backspace overstrike formatting * fix broken charset detection for large files | |||||
* | md2manpreproc: fix non-portable behavior | bptato | 2024-01-22 | 1 | -6/+6 | |
| | | | | Turns out \? for BRE is not in POSIX. Accordingly, it fails on FreeBSD. | |||||
* | 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. |