about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* layout: support br clearbptato2024-11-274-28/+51
|
* buffer: optimize hover switchingbptato2024-11-262-2/+15
| | | | | Fixed a bug that would lead to styles unnecessarily being recalculated if the root element had a :hover dependency.
* Update docsbptato2024-11-262-1/+25
|
* config.configdir -> config.dirbptato2024-11-263-5/+5
|
* gmi2html: optimize a bitbptato2024-11-261-7/+9
|
* select: pad options in newSelectbptato2024-11-262-18/+19
| | | | this way it works for <select> tags too
* Update monouchabptato2024-11-252-6/+6
|
* client: exit if quit was called inside a jobbptato2024-11-251-10/+11
| | | | ref. https://todo.sr.ht/~bptato/chawan/27
* ua.css: reformatbptato2024-11-251-329/+98
|
* pager, select: add more items, misc fixesbptato2024-11-255-63/+91
| | | | | | eh probably have to move the event loop to pager...
* file: remove some dead codebptato2024-11-241-6/+0
| | | | no longer needed as we just redirect on wrong dir URLs
* dom: fix some comparisonsbptato2024-11-241-2/+2
|
* select: misc fixesbptato2024-11-241-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.nimsbptato2024-11-242-2/+1
| | | | | no longer needed since we don't pass fpermissive, now we can just use nim.cfg
* layout: another intrinsic min width fixbptato2024-11-242-4/+8
| | | | forgot about word-break
* loader/* -> serverbptato2024-11-2418-50/+49
| | | | one less mystery
* loaderhandle -> loaderbptato2024-11-242-213/+195
| | | | | no longer makes sense to keep it as a separate module since everything is in CGI
* select: fix display with multi-width charsbptato2024-11-241-6/+11
| | | | progress. now they only mess up coloring a bit.
* layout: fix intrinsic min width for words with wrapping opportunitiesbptato2024-11-243-11/+75
| | | | | | | This broke CJK combined with table layouts. (Inline layout's state dependencies between procs are getting a bit scary...)
* pager: pad menu itemsbptato2024-11-241-10/+10
|
* buffer: slightly improve markURLbptato2024-11-241-49/+69
| | | | merge text nodes, eat nobr, wbr
* Update docsbptato2024-11-241-54/+97
|
* pager, select: implement more functionsbptato2024-11-242-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 bugsbptato2024-11-234-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 URLbptato2024-11-231-1/+3
| | | | ref. https://todo.sr.ht/~bptato/chawan/24
* container: add Lynx-style navigation commandscommodorian2024-11-233-1/+67
|
* dom: implement HTMLDocument, make Image C/Wbptato2024-11-223-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 monouchabptato2024-11-224-21/+71
|
* dom: add document.compatModebptato2024-11-221-0/+5
|
* Update chamebptato2024-11-222-6/+6
|
* buffer: proper toggleImages implementationbptato2024-11-218-21/+51
| | | | | | | It necessarily removes the config.images check from codec access, which I'm not quite happy about, so I've added a check to the DOM instead. (TODO: maybe pager should just dynamically grant codec access as a capability instead? but maybe that's even more error prone...)
* select: various improvementsbptato2024-11-211-69/+79
| | | | | | * replace weird cursor position representation * add cursorTop, cursorMiddle, cursorBottom, scrollDown, scrollUp * expose fromy, cursory to JS
* chadombuilder: fix removeImpl definitionbptato2024-11-213-1/+5
| | | | | It is documented in chame that parentNode may be nil, and indeed, it is nil in some cases.
* gopher: do not assume selector starts with /bptato2024-11-201-1/+1
| | | | | | It does not have to, according to the standard. (Slashes before the item selector are still collapsed.)
* Update docsbptato2024-11-201-5/+5
|
* md2html: fix parsing of nested parens in linksbptato2024-11-201-1/+1
|
* sixel: fix transparency in monochrome modebptato2024-11-201-0/+3
| | | | Assume it is required, so that we can still skip the first scan.
* match, stylednode: remove generics, refactorbptato2024-11-193-137/+91
| | | | | | Turns out the generics weren't really needed in the first place. Also, StyledNode is now 16 bytes smaller.
* dom: add Image constructorbptato2024-11-191-0/+10
|
* event: fix preventDefault with stopImmediatePropagationbptato2024-11-191-5/+4
| | | | canceled was not being set, because we jumped out of the loop too early.
* container: add numLines getterbptato2024-11-191-1/+1
|
* layout: fix intrinsic min width with whitespace: prebptato2024-11-193-0/+12
|
* layout: fix indefinitely sized flex items with boundsbptato2024-11-193-1/+15
| | | | maybe I'll get it right one of these days
* dom: add HTMLHyperlinkElementUtils settersbptato2024-11-193-30/+94
|
* Update monoucha, fix some JS testsbptato2024-11-1810-73/+86
|
* network.chasc: allow gettimeofday toobptato2024-11-181-0/+3
| | | | continuation of 79d832c37
* ua.css, event: small clean upbptato2024-11-182-5/+4
|
* ua.css: set fieldset to flow-rootbptato2024-11-181-0/+4
| | | | | The HTML standard wants us to treat it specially, but for now this seems to work OK too.
* network.chasc: allow clock_gettimebptato2024-11-171-0/+6
| | | | | | | ref. https://todo.sr.ht/~bptato/chawan/23 TODO: I'm not quite sure *why* it's getting called. curls operate in mysterious ways.
* dynstream: check lseek return codebptato2024-11-171-0/+1
| | | | just in case