Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | css/cascade: fix stylesheets not being copied in <head> | bptato | 2022-12-31 | 1 | -1/+3 |
| | |||||
* | selectorparser: accept less invalid selectors | bptato | 2022-12-31 | 1 | -2/+14 |
| | |||||
* | NOW it should work | bptato | 2022-12-31 | 1 | -4/+9 |
| | |||||
* | Fix C macro insanity | bptato | 2022-12-31 | 1 | -1/+2 |
| | | | | | No, you can't just use CMSG_SPACE inside the alloc call, it has to be stored in a variable first. | ||||
* | posixstream/socketstream: fix cross-platform compilation | bptato | 2022-12-31 | 2 | -20/+26 |
| | |||||
* | Remove non-existing JS type uint64 | bptato | 2022-12-31 | 2 | -8/+4 |
| | | | | Oops. | ||||
* | Add promise support to JS | bptato | 2022-12-31 | 8 | -90/+205 |
| | |||||
* | Only set Location for redirect status codes | bptato | 2022-12-30 | 1 | -2/+3 |
| | |||||
* | Add about:blank | bptato | 2022-12-30 | 1 | -1/+6 |
| | |||||
* | css: fix some bugs and improve cascading a bit | bptato | 2022-12-29 | 7 | -18/+78 |
| | |||||
* | css/values: fix length shorthand handling | bptato | 2022-12-28 | 1 | -10/+15 |
| | |||||
* | selectorparser: fix pseudo elements on combinator selectors | bptato | 2022-12-28 | 1 | -2/+5 |
| | |||||
* | layout/engine: add hanging spaces, markers | bptato | 2022-12-28 | 1 | -10/+25 |
| | | | | | | Implement hanging ascii spaces. Non-ascii is still not supported... Markers are now built in shrunken inline contexts, and are set to white-space pre, so the trailing space is preserved. | ||||
* | layout/engine: table layout improvements, fix pre-wrap whitespace | bptato | 2022-12-28 | 3 | -127/+207 |
| | | | | | | | | Table layout: weight calculation is no longer broken. We use maxContentWidth for this, which the first pass of a non-specified table cell layout overrides. pre-wrap: just a minor fix - include it in whitespacepre, now that we have a distinction between pre and wrapping white-space | ||||
* | buffer/container: fix highlighting width | bptato | 2022-12-28 | 1 | -2/+2 |
| | |||||
* | rendertext: fix ansi escape regression | bptato | 2022-12-28 | 1 | -0/+1 |
| | |||||
* | layout/engine: get rid of dom dependency | bptato | 2022-12-27 | 6 | -56/+96 |
| | | | | Layout should only depend on cascading. | ||||
* | Proper support for tabs | bptato | 2022-12-27 | 8 | -73/+78 |
| | |||||
* | rendertext: fix tab width | bptato | 2022-12-27 | 1 | -8/+7 |
| | |||||
* | dom: fix collection caching | bptato | 2022-12-27 | 4 | -52/+108 |
| | | | | Use ids instead of pure pointers, so we can utilize the JS finalizer. | ||||
* | Implement DOMTokenList, item functions for collections | bptato | 2022-12-26 | 2 | -35/+126 |
| | |||||
* | getElementsByClassName on Document and Element | bptato | 2022-12-26 | 1 | -3/+9 |
| | | | | Instead of Node. | ||||
* | Correct attribute functions, de-extern jserr | bptato | 2022-12-26 | 4 | -79/+65 |
| | | | | | | Instead of unnecessarily marking every jserr function as *, add the used pragma (so the C compiler can get rid of them later.) Also, use the correct definition of attribute namespace. | ||||
* | Consistent naming of parseURL, non-public newURLParams | bptato | 2022-12-26 | 2 | -10/+10 |
| |