Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | cascade, cssvalues: clean up a bit more | bptato | 2024-12-02 | 2 | -68/+76 | |
| | ||||||
* | css: misc refactoring | bptato | 2024-12-02 | 5 | -137/+128 | |
| | ||||||
* | config: add copy-cmd, paste-cmd | bptato | 2024-12-01 | 3 | -10/+28 | |
| | | | | ref. https://todo.sr.ht/~bptato/chawan/29 | |||||
* | sheet, mediaquery: misc cleanup | bptato | 2024-12-01 | 2 | -64/+29 | |
| | ||||||
* | term: respect LINES, COLUMNS; do not crash without vi/ve | bptato | 2024-12-01 | 2 | -6/+16 | |
| | ||||||
* | mediaquery: fix and after bare keyword | bptato | 2024-12-01 | 3 | -1/+5 | |
| | | | | | no idea what that reconsume was doing there; probably a refactoring mistake | |||||
* | term: disable screen workaround on tmux | bptato | 2024-12-01 | 1 | -1/+2 | |
| | ||||||
* | dom: add support for @import | bptato | 2024-12-01 | 4 | -58/+92 | |
| | | | | only the most basic form; no media queries yet | |||||
* | buffer: fix nil deref | bptato | 2024-11-30 | 1 | -1/+1 | |
| | | | | whoops | |||||
* | pager: do not make pointless requests in viewImage, add saveImage | bptato | 2024-11-30 | 9 | -43/+75 | |
| | | | | | | | with buffer.images enabled, we already cache them, so we can skip the additional request also, add saveImage, bound to sI | |||||
* | gopher: fix an escaping bug, add some item types | bptato | 2024-11-30 | 2 | -6/+7 | |
| | | | | | | the types are from gopher+. (not that we support gopher+, but they work anyways if mime.types and mailcap is configured) | |||||
* | ua.css: add nobr | bptato | 2024-11-30 | 1 | -0/+2 | |
| | ||||||
* | cascade: allow presentational hints with styling=false | bptato | 2024-11-29 | 1 | -2/+2 | |
| | | | | They are UA style. | |||||
* | Update docs | bptato | 2024-11-28 | 5 | -90/+158 | |
| | ||||||
* | layout: remove mystery startOffset adjustment | bptato | 2024-11-28 | 2 | -6/+4 | |
| | | | | | | | | Probably a remnant from back when startOffset meant (and was used for) something different. Interestingly, there was already a test case for this, but it was also wrong. | |||||
* | twtstr: add mypairs | bptato | 2024-11-28 | 12 | -32/+65 | |
| | | | | | This couldn't get into system.nim for technical reasons, but it's still pretty useful when iterating over non-mutable openArrays. | |||||
* | layout, term, url: misc cleanup | bptato | 2024-11-28 | 3 | -4/+0 | |
| | ||||||
* | git.cgi: misc improvements | bptato | 2024-11-27 | 1 | -3/+5 | |
| | ||||||
* | cascade: apply buffer.styling to inline styles | bptato | 2024-11-27 | 1 | -8/+11 | |
| | | | | it's author style too | |||||
* | mailcap: add x-needsstyle extension field | bptato | 2024-11-27 | 4 | -7/+15 | |
| | | | | | | | Useful when an x-htmloutput handler needs styling for the HTML output to be formatted correctly (as a sort of pseudo-ua style sheet). ref. https://todo.sr.ht/~bptato/chawan/28 | |||||
* | layout: support br clear | bptato | 2024-11-27 | 4 | -28/+51 | |
| | ||||||
* | buffer: optimize hover switching | bptato | 2024-11-26 | 2 | -2/+15 | |
| | | | | | Fixed a bug that would lead to styles unnecessarily being recalculated if the root element had a :hover dependency. | |||||
* | Update docs | bptato | 2024-11-26 | 2 | -1/+25 | |
| | ||||||
* | config.configdir -> config.dir | bptato | 2024-11-26 | 3 | -5/+5 | |
| | ||||||
* | gmi2html: optimize a bit | bptato | 2024-11-26 | 1 | -7/+9 | |
| | ||||||
* | select: pad options in newSelect | bptato | 2024-11-26 | 2 | -18/+19 | |
| | | | | this way it works for <select> tags too | |||||
* | Update monoucha | bptato | 2024-11-25 | 2 | -6/+6 | |
| | ||||||
* | client: exit if quit was called inside a job | bptato | 2024-11-25 | 1 | -10/+11 | |
| | | | | ref. https://todo.sr.ht/~bptato/chawan/27 | |||||
* | ua.css: reformat | bptato | 2024-11-25 | 1 | -329/+98 | |
| | ||||||
* | pager, select: add more items, misc fixes | bptato | 2024-11-25 | 5 | -63/+91 | |
| | | | | | | eh probably have to move the event loop to pager... | |||||
* | file: remove some dead code | bptato | 2024-11-24 | 1 | -6/+0 | |
| | | | | no longer needed as we just redirect on wrong dir URLs | |||||
* | dom: fix some comparisons | bptato | 2024-11-24 | 1 | -2/+2 | |
| | ||||||
* | select: misc fixes | bptato | 2024-11-24 | 1 | -2/+10 | |
| | | | | | * jump to first selected item (if any) when opened * fix crash on control chars in option (at least they didn't bleed...) | |||||
* | Remove config.nims | bptato | 2024-11-24 | 2 | -2/+1 | |
| | | | | | no longer needed since we don't pass fpermissive, now we can just use nim.cfg | |||||
* | layout: another intrinsic min width fix | bptato | 2024-11-24 | 2 | -4/+8 | |
| | | | | forgot about word-break | |||||
* | loader/* -> server | bptato | 2024-11-24 | 18 | -50/+49 | |
| | | | | one less mystery | |||||
* | loaderhandle -> loader | bptato | 2024-11-24 | 2 | -213/+195 | |
| | | | | | no longer makes sense to keep it as a separate module since everything is in CGI | |||||
* | select: fix display with multi-width chars | bptato | 2024-11-24 | 1 | -6/+11 | |
| | | | | progress. now they only mess up coloring a bit. | |||||
* | layout: fix intrinsic min width for words with wrapping opportunities | bptato | 2024-11-24 | 3 | -11/+75 | |
| | | | | | | | This broke CJK combined with table layouts. (Inline layout's state dependencies between procs are getting a bit scary...) | |||||
* | pager: pad menu items | bptato | 2024-11-24 | 1 | -10/+10 | |
| | ||||||
* | buffer: slightly improve markURL | bptato | 2024-11-24 | 1 | -49/+69 | |
| | | | | merge text nodes, eat nobr, wbr | |||||
* | Update docs | bptato | 2024-11-24 | 1 | -54/+97 | |
| | ||||||
* | pager, select: implement more functions | bptato | 2024-11-24 | 2 | -5/+18 | |
| | | | | | not quite happy with this design but for now let's just try to make it work well | |||||
* | pager, select: add right click menu, fix some bugs | bptato | 2024-11-23 | 4 | -82/+219 | |
| | | | | | | | | | | | | | | | | | | It's *not* a context menu: items are fixed, and currently not even customizable. Former is a feature, latter is a bug. Also, select now has improved mouse support; its behavior is a combination of the w3m menu (for btn1) and GTK Firefox context menu (for btn3). Also, fix some bugs in select: * lines with double width chars are handled better (not perfectly, but at least the grid isn't completely mangled anymore) * non-multiple select now highlights the currently selected option * small selects at the bottom of the screen are handled correctly * selects at the right edge of the screen are handled correctly * select multiple no longer discards selected items on cursorLeft | |||||
* | pager: fix loadURL crash on empty URL | bptato | 2024-11-23 | 1 | -1/+3 | |
| | | | | ref. https://todo.sr.ht/~bptato/chawan/24 | |||||
* | container: add Lynx-style navigation commands | commodorian | 2024-11-23 | 3 | -1/+67 | |
| | ||||||
* | dom: implement HTMLDocument, make Image C/W | bptato | 2024-11-22 | 3 | -5/+12 | |
| | | | | | | | | | | * add HTMLDocument as alias to Document * set Image as configurable/writable So looking closer, HTMLDocument *is* specified, just major browsers don't follow the spec. I doubt this incompatibility causes issues, anyway. | |||||
* | dom: add document named property getter, update monoucha | bptato | 2024-11-22 | 4 | -21/+71 | |
| | ||||||
* | dom: add document.compatMode | bptato | 2024-11-22 | 1 | -0/+5 | |
| | ||||||
* | Update chame | bptato | 2024-11-22 | 2 | -6/+6 | |
| |