Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | WindowAttributes: refactor | bptato | 2023-10-19 | 1 | -1/+1 |
| | | | | | | * rename module (window -> winattrs, to avoid conflict with env/window) * do not use result * remove unused cell_ratio | ||||
* | move around more modules | bptato | 2023-09-14 | 1 | -2/+2 |
| | | | | | | | | | | * ips -> io/ * loader related stuff -> loader/ * tempfile -> extern/ * buffer, forkserver -> server/ * lineedit, window -> display/ * cell -> types/ * opt -> types/ | ||||
* | Move HTML parsing into Chame | bptato | 2023-08-15 | 1 | -1/+2 |
| | | | | Operation "modularize Chawan somewhat" part 2 | ||||
* | htmlparser: decouple from DOM | bptato | 2023-07-09 | 1 | -0/+1 |
| | | | | | Instead of directly appending nodes to the DOM, use a DOMBuilder interface. | ||||
* | Add popup menu for select element | bptato | 2023-07-05 | 1 | -1/+1 |
| | | | | | | | Replaces the weird CSS implementation we have had until now with a searchable popup menu similar to that of w3m. (The previous implementation broke on websites that do not expect <select> to expand on click, had no separate search, and was ugly.) | ||||
* | calculateErrorY: fix regression by using int | bptato | 2023-07-04 | 1 | -2/+2 |
| | | | | Obviously we can't calculate rounding error without rounding. | ||||
* | Use LayoutUnit in layout | bptato | 2023-07-04 | 1 | -18/+36 |
| | | | | Reduces ugly rendering caused by rounding errors. | ||||
* | Revert "renderdocument: bgcolor blending" | bptato | 2023-06-15 | 1 | -13/+16 |
| | | | | | This reverts commit c13a4cf4e144f7ab36167ebbb1333f7faeed11b3. Clearly it's broken. Needs a fix. | ||||
* | renderdocument: bgcolor blending | bptato | 2023-06-13 | 1 | -16/+13 |
| | |||||
* | Fix various layout bugs, prepare for image support | bptato | 2023-06-12 | 1 | -9/+17 |
| | |||||
* | Add support for visibility | bptato | 2023-06-07 | 1 | -21/+23 |
| | |||||
* | Working position: absolute, some other fixes | bptato | 2023-05-13 | 1 | -8/+17 |
| | | | | | | | | Fix margin-top being used instead of margin-bottom. Content width resolving makes somewhat more sense now. min-width, max-width doesn't completely break width calculation anymore. Finally, position: absolute is no longer implemented as a horribly broken hack. | ||||
* | renderdocument: fix img position | bptato | 2023-04-12 | 1 | -5/+5 |
| | |||||
* | 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. | ||||
* | css/values, parser, ...: fix background-image | bptato | 2023-01-06 | 1 | -24/+24 |
| | |||||
* | layout/engine: fix non-inheritable values for inline box | bptato | 2023-01-06 | 1 | -4/+14 |
| | | | | | Also, a hack for inline box background-color. It doesn't work very well, but good enough for now. | ||||
* | renderdocument: add StyledNodes to backgrounds | bptato | 2023-01-03 | 1 | -10/+17 |
| | | | | | | 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> | ||||
* | renderdocument: fix crash for image text | bptato | 2023-01-03 | 1 | -1/+2 |
| | | | | We need to check if y >= 0, or it fails. | ||||
* | layout/engine: table layout improvements, fix pre-wrap whitespace | bptato | 2022-12-28 | 1 | -1/+1 |
| | | | | | | | | 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 | ||||
* | layout/engine: get rid of dom dependency | bptato | 2022-12-27 | 1 | -1/+1 |
| | | | | Layout should only depend on cascading. | ||||
* | Proper support for tabs | bptato | 2022-12-27 | 1 | -4/+4 |
| | |||||
* | Display text for img tag, background-image | bptato | 2022-12-16 | 1 | -0/+12 |
| | |||||
* | renderdocument: fix another formatting bug | bptato | 2022-12-12 | 1 | -3/+5 |
| | |||||
* | renderdocument: fix overwriting formatcells | bptato | 2022-12-12 | 1 | -3/+10 |
| | | | | Gets rid of weird underline effects. Also fixes nx calculation, I think. | ||||
* | Add multiple text-decoration, overline emulation | bptato | 2022-12-07 | 1 | -5/+4 |
| | |||||
* | Do not center error-corrected lines | bptato | 2022-11-30 | 1 | -1/+1 |
| | | | | It sounds like a good idea, but in fact looks terrible in lists. | ||||
* | renderdocument: fix bug negative padwidth bug | bptato | 2022-11-29 | 1 | -1/+8 |
| | | | | padwidth could be negative because we didn't ensure cx <= x. | ||||
* | Add missing iflush call, add experimental line height error correction | bptato | 2022-11-29 | 1 | -1/+14 |
| | | | | It kind of works, I guess? | ||||
* | Add position css property, inline block fixes | bptato | 2022-11-28 | 1 | -2/+3 |
| | | | | | More specifically, inline block white-space is no longer incorrectly determined by its computed values, but rather by its parent's values. | ||||
* | Fix some table layout issues | bptato | 2022-11-25 | 1 | -1/+1 |
| | |||||
* | Add some quirks mode rules + presentational hints | bptato | 2022-11-25 | 1 | -1/+6 |
| | | | | Only as a POC for now. | ||||
* | Table fixes wip | bptato | 2022-11-22 | 1 | -11/+0 |
| | |||||
* | Terminal refactorings | bptato | 2022-11-20 | 1 | -28/+28 |
| | |||||
* | Rewrite buffer/pager for multi-processing | bptato | 2022-11-19 | 1 | -1/+1 |
| | |||||
* | Very much WIP table implementation | bptato | 2022-11-15 | 1 | -0/+11 |
| | |||||
* | Fix renderdocument setText etc. | bptato | 2022-08-02 | 1 | -81/+117 |
| | |||||
* | Refactor some layout engine types, fix list-item | bptato | 2022-07-20 | 1 | -8/+9 |
| | |||||
* | Clean up vertical line box alignment code | bptato | 2022-07-20 | 1 | -4/+4 |
| | | | | | | This fixes the non-standard alignment of inline blocks. While we're at it, renamed "inline rows" to line boxes, as that's pretty much what they are now. | ||||
* | Use StyledNodes instead of passing the entire DOM to the layout engine | bptato | 2022-07-16 | 1 | -7/+9 |
| | | | | | This moves pseudo element generation to the cascading phase. For now it also breaks style caching. | ||||
* | Refactor layout engine | bptato | 2022-07-15 | 1 | -2/+2 |
| | |||||
* | specified -> computed | bptato | 2022-06-18 | 1 | -2/+2 |
| | | | | Continuing commit 7e65add | ||||
* | Re-implement list items | bptato | 2022-06-17 | 1 | -0/+4 |
| | | | | Now with proper list-style-position: outside support! | ||||
* | Re-implement inline-block | bptato | 2022-06-17 | 1 | -9/+7 |
| | | | | | Still far from standard-compliant, or even non-broken... but it's something | ||||
* | Simplify offset, fix a text node bug | bptato | 2022-06-08 | 1 | -4/+4 |
| | |||||
* | Layout: insignificant changes regarding offset | bptato | 2022-05-29 | 1 | -2/+2 |
| | |||||
* | Reduce formatting complexity | bptato | 2022-02-19 | 1 | -107/+48 |
| | | | | | | Formatting based on cells instead of bytes. No clue why I'd ever thought the latter would be a good idea. This fixes background colors too. I think. | ||||
* | Background color improvements | bptato | 2022-02-15 | 1 | -3/+13 |
| | |||||
* | Fix format background unicode problems | bptato | 2022-02-15 | 1 | -19/+54 |
| | |||||
* | Incomplete background-color implementation | bptato | 2022-02-14 | 1 | -42/+140 |
| | | | | Has numerous flaws which will have to be corrected later. | ||||
* | Implement blink tag | bptato | 2022-02-12 | 1 | -0/+2 |
| | | | | with text-decoration: blink. |