Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Slightly refactor commandMode | bptato | 2023-01-06 | 4 | -12/+27 | |
| | ||||||
* | layout/engine: fix non-inheritable values for inline box | bptato | 2023-01-06 | 3 | -40/+75 | |
| | | | | | Also, a hack for inline box background-color. It doesn't work very well, but good enough for now. | |||||
* | twtstr: fix oversight | bptato | 2023-01-05 | 1 | -6/+1 | |
| | ||||||
* | display/client: quit when pager.buffer is null | bptato | 2023-01-05 | 1 | -0/+3 | |
| | ||||||
* | data/idna, utils/twtstr: clean up, fix bugs | bptato | 2023-01-05 | 2 | -58/+63 | |
| | | | | | | | Looks like lazily loading the idna table doesn't work, so now it's statically loaded. Also, bugfixes in idna handling. | |||||
* | socketstream: remove todo | bptato | 2023-01-05 | 1 | -1/+0 | |
| | ||||||
* | layout/engine: fix pre-line wrap on newline | bptato | 2023-01-05 | 1 | -1/+6 | |
| | | | | Just how many white-space properties can I get wrong? | |||||
* | dom: fix object conversion bug in options | bptato | 2023-01-05 | 1 | -1/+1 | |
| | ||||||
* | javascript: remove unused pointer case from getTypePtr | bptato | 2023-01-05 | 1 | -1/+1 | |
| | | | | I probably removed the last call of getTypePtr with a pointer long ago. | |||||
* | javascript: refactor toJS | bptato | 2023-01-05 | 1 | -78/+74 | |
| | | | | Split up the huge generic toJS function. | |||||
* | Get rid of eprint in place of stderr.write | bptato | 2023-01-05 | 2 | -3/+3 | |
| | | | | eprint should only be used for debugging. | |||||
* | Add ask() | bptato | 2023-01-05 | 5 | -50/+95 | |
| | ||||||
* | promise: set get, cb, next to nil after then is called | bptato | 2023-01-04 | 1 | -7/+5 | |
| | | | | | | Actually we don't even need a state variable, just set cb to nil when resolving. (I'm sure this is a great idea that will absolutely not backfire in the future.) | |||||
* | pager: fix prevBuffer, nextBuffer, replace weirdness | bptato | 2023-01-04 | 1 | -8/+16 | |
| | | | | Now they should behave as expected. (I hope.) | |||||
* | ua.css: fix color, css/values: fix globals | bptato | 2023-01-04 | 2 | -7/+14 | |
| | ||||||
* | client, pager, dom, ...: better error handling | bptato | 2023-01-04 | 5 | -96/+121 | |
| | | | | Now the browser shouldn't completely die when a buffer crashes. | |||||
* | renderdocument: add StyledNodes to backgrounds | bptato | 2023-01-03 | 2 | -27/+21 | |
| | | | | | | This makes it possible to e.g. click on this: <a href=x style="display: inline-block; width: 5em; height: 5em; background-color: red"></a> | |||||
* | css/values: consistently use exceptions | bptato | 2023-01-03 | 1 | -56/+41 | |
| | | | | | Options are great, but only if used consistently. This also fixes some weird bugs where exceptions were handled incorrectly. | |||||
* | Update readme | bptato | 2023-01-03 | 1 | -1/+1 | |
| | ||||||
* | regex: fix setting start in unicode strings | bptato | 2023-01-03 | 1 | -1/+1 | |
| | | | | | We have to set it to (capture - cstr) >> 1, because libregexp later shifts it left. | |||||
* | ua.css: add counter-reset to ul | bptato | 2023-01-03 | 1 | -0/+1 | |
| | ||||||
* | layout/engine: fix inline-table crash | bptato | 2023-01-03 | 1 | -16/+19 | |
| | | | | inline-table was calling the wrong layout, which made an assertion fail. | |||||
* | Update readme | bptato | 2023-01-03 | 1 | -19/+27 | |
| | ||||||
* | css/values: remove todo | bptato | 2023-01-03 | 1 | -1/+0 | |
| | ||||||
* | buffer: fix infinite loop in getClickable | bptato | 2023-01-03 | 1 | -2/+3 | |
| | ||||||
* | buffer: fix infinite loop | bptato | 2023-01-03 | 1 | -1/+2 | |
| | ||||||
* | renderdocument: fix crash for image text | bptato | 2023-01-03 | 1 | -1/+2 | |
| | | | | We need to check if y >= 0, or it fails. | |||||
* | ua.css: only highlight a[href] | bptato | 2023-01-02 | 1 | -2/+2 | |
| | ||||||
* | container, pager: work around bad codegen | bptato | 2023-01-02 | 2 | -10/+10 | |
| | ||||||
* | dom: add better attribute reflection | bptato | 2023-01-02 | 6 | -121/+267 | |
| | | | | | Instead of creating a new function for each attribute, use a single magic function for reflected attributes. | |||||
* | dom: support a few more getters/setters | bptato | 2023-01-02 | 1 | -8/+47 | |
| | ||||||
* | Add support for <label> | bptato | 2023-01-02 | 2 | -94/+164 | |
| | ||||||
* | term: hack to avoid a weird crash | bptato | 2023-01-02 | 1 | -2/+8 | |
| | | | | Looks like we can't just assign canvas to pcanvas. | |||||
* | Fix connection load info not being shown | bptato | 2023-01-02 | 3 | -4/+7 | |
| | ||||||
* | Update readme | bptato | 2023-01-01 | 1 | -3/+4 | |
| | ||||||
* | selectorparser: support :link, :visited | bptato | 2023-01-01 | 4 | -7/+22 | |
| | | | | I say "support", but :visited is never matched. | |||||
* | convert_size: truncate result | bptato | 2023-01-01 | 1 | -13/+18 | |
| | ||||||
* | loader: proper redirect handling | bptato | 2023-01-01 | 5 | -12/+24 | |
| | ||||||
* | buffer: fix some search bugs & refactor regex stuff | bptato | 2023-01-01 | 6 | -100/+100 | |
| | | | | | | | | cursorBytes uses twidth now. cursorNextMatch matches the byte *after* the cursor (somewhat more consistently than before). match() no longer counts capture groups. LRE_FLAG_GLOBAL now goes through the entire string. | |||||
* | pager: fix bug with tab on screen shifting | bptato | 2023-01-01 | 1 | -2/+3 | |
| | ||||||
* | layout/engine: fix text-align: cha-* for boxes with shrink | bptato | 2023-01-01 | 1 | -15/+22 | |
| | | | | | In shrink, we can only take up as much space as our content, so we first have to determine our content width and only then align the children. | |||||
* | css/values: apply presentational hints after UA style | bptato | 2023-01-01 | 1 | -4/+5 | |
| | | | | | So that e.g. table valign overrides the user-agent vertical-align value, but still respects user/author style. | |||||
* | cascade: document a bit | bptato | 2023-01-01 | 1 | -2/+7 | |
| | ||||||
* | rendertext: fix format position for non-ascii | bptato | 2023-01-01 | 1 | -1/+5 | |
| | ||||||
* | makefile: separate objdir for targets, uninstall | bptato | 2023-01-01 | 1 | -6/+11 | |
| | ||||||
* | Update makefile | bptato | 2023-01-01 | 2 | -8/+21 | |
| | ||||||
* | posixstream: fix incorrect read() usage | bptato | 2023-01-01 | 1 | -1/+1 | |
| | | | | It was overwriting our buffer, instead of appending to it... | |||||
* | javascript: more robust toJSNumber | bptato | 2022-12-31 | 1 | -20/+15 | |
| | ||||||
* | layout/engine: fix crash on padding-right | bptato | 2022-12-31 | 2 | -2/+1 | |
| | ||||||
* | javascript: fix incorrect error() statement | bptato | 2022-12-31 | 1 | -1/+1 | |
| |