Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | eprint: make it a function | bptato | 2023-02-05 | 1 | -1/+1 |
| | | | | This makes the compiler complain less. | ||||
* | Update character width ranges | bptato | 2023-02-05 | 2 | -168/+144 |
| | | | | | Use the Unicode 15 EastAsianWidth.txt file instead of an ancient wcwidth implementation's ranges. | ||||
* | Remove unused variable | bptato | 2023-01-27 | 1 | -1/+0 |
| | |||||
* | Make width table at compile-time | bptato | 2023-01-27 | 3 | -65/+102 |
| | |||||
* | WIP selector rewrite | bptato | 2023-01-27 | 4 | -451/+365 |
| | | | | pretty slow for some reason | ||||
* | selectorparser: refactor, fix combinator bugs | bptato | 2023-01-20 | 1 | -79/+79 |
| | | | | Fixes universal selectors after a combinator. | ||||
* | buffer: do not move cursor in scrollLeft | bptato | 2023-01-20 | 1 | -2/+0 |
| | |||||
* | layout: fix position:absolute, remove position:fixed | bptato | 2023-01-20 | 2 | -31/+45 |
| | | | | Now at least absolute should be positioned correctly. | ||||
* | selectorparser: parse comma correctly in combinators | bptato | 2023-01-20 | 1 | -0/+3 |
| | |||||
* | layout/engine: fix tab display | bptato | 2023-01-19 | 1 | -1/+4 |
| | |||||
* | buffer/container: fix cursor overwriting double-width chars | bptato | 2023-01-11 | 1 | -1/+22 |
| | | | | | In some terminals, placing the cursor on the second cell of a double-width character deletes half of said character, so let's not do that. | ||||
* | pager, term: fix inefficiencies, off by one errors | bptato | 2023-01-11 | 2 | -13/+15 |
| | | | | and other weird things I forgot to remove while debugging | ||||
* | io/window: use all available columns | bptato | 2023-01-08 | 1 | -5/+7 |
| | | | | should always work now | ||||
* | css/values: remove equals | bptato | 2023-01-08 | 1 | -32/+0 |
| | | | | it had zero practical use and was annoying anyways | ||||
* | css/values: add float | bptato | 2023-01-08 | 1 | -4/+23 |
| | | | | it does nothing... | ||||
* | css/cascade, layout/engine: add table align | bptato | 2023-01-08 | 3 | -39/+49 |
| | | | | Also fix margin-left/right: auto, to some extent. | ||||
* | renderdocument: fix failing assertion | bptato | 2023-01-07 | 1 | -0/+8 |
| | | | | | I'm not sure if it was actually causing other issues, but better safe than sorry: formatting is no longer inserted for negative x coordinates. | ||||
* | display/pager: correct maximum status message width | bptato | 2023-01-07 | 1 | -4/+6 |
| | |||||
* | selectorparser: do not accept invalid selectors | bptato | 2023-01-07 | 1 | -44/+78 |
| | |||||
* | css/cascade: remove scoped sheets | bptato | 2023-01-07 | 4 | -53/+28 |
| | | | | ...in favor of handling all style elements like other browsers | ||||
* | css/values, parser, ...: fix background-image | bptato | 2023-01-06 | 3 | -32/+68 |
| | |||||
* | layout/engine: fix marker box computed values | bptato | 2023-01-06 | 1 | -1/+1 |
| | |||||
* | utils/twtstr: simplify mnormalize | bptato | 2023-01-06 | 1 | -4/+1 |
| | | | | Use the isAscii function for early return. | ||||
* | Slightly refactor commandMode | bptato | 2023-01-06 | 3 | -11/+20 |
| | |||||
* | 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 | 3 | -47/+83 |
| | |||||
* | 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 | 1 | -1/+8 |
| | |||||
* | 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. | ||||
* | 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. | ||||
* | 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. | ||||
* | 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. | ||||
* | 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 |
| |