| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
Roughly halves the object's size, and gets rid of a large number of
allocations.
It could be compressed further into a bitmap, but I'm not sure if it's
worth the complexity.
|
|
|
|
|
|
|
| |
one std/streams less
I used mmap for reading the user config. It shouldn't matter in any
realistically sized config, but who knows.
|
|
|
|
|
|
| |
so for max-width it's called "none", but for min-width it's "auto".
why :(
|
|
|
|
|
|
|
|
|
|
|
|
| |
ugly, but better than the status quo.
the core issue is that width, min-width should clamp xminwidth too, but
it doesn't. this hadn't been an issue until recently, but since I made
<pre> stretch out xminwidth too it had the unfortunate result that you
now have to scroll on pages that nest pre in a flex.
this still isn't a proper fix, in particular it won't work if min-width
is set to 0, but on the sites I tried it happens to work anyway.
|
| |
|
| |
|
|
|
|
| |
ref. https://todo.sr.ht/~bptato/chawan/29
|
| |
|
| |
|
|
|
|
|
| |
no idea what that reconsume was doing there; probably a refactoring
mistake
|
| |
|
|
|
|
| |
only the most basic form; no media queries yet
|
|
|
|
| |
whoops
|
|
|
|
|
|
|
| |
with buffer.images enabled, we already cache them, so we can skip the
additional request
also, add saveImage, bound to sI
|
|
|
|
|
|
| |
the types are from gopher+.
(not that we support gopher+, but they work anyways if mime.types and
mailcap is configured)
|
| |
|
|
|
|
| |
They are UA style.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This couldn't get into system.nim for technical reasons, but it's still
pretty useful when iterating over non-mutable openArrays.
|
| |
|
| |
|
|
|
|
| |
it's author style too
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Fixed a bug that would lead to styles unnecessarily being recalculated
if the root element had a :hover dependency.
|
| |
|
| |
|
| |
|
|
|
|
| |
this way it works for <select> tags too
|
| |
|
|
|
|
| |
ref. https://todo.sr.ht/~bptato/chawan/27
|
| |
|
|
|
|
|
|
| |
eh
probably have to move the event loop to pager...
|
|
|
|
| |
no longer needed as we just redirect on wrong dir URLs
|
| |
|
|
|
|
|
| |
* jump to first selected item (if any) when opened
* fix crash on control chars in option (at least they didn't bleed...)
|
|
|
|
|
| |
no longer needed since we don't pass fpermissive, now we can just use
nim.cfg
|
|
|
|
| |
forgot about word-break
|
|
|
|
| |
one less mystery
|
|
|
|
|
| |
no longer makes sense to keep it as a separate module since everything
is in CGI
|
|
|
|
| |
progress. now they only mess up coloring a bit.
|
|
|
|
|
|
|
| |
This broke CJK combined with table layouts.
(Inline layout's state dependencies between procs are getting a bit
scary...)
|
| |
|
|
|
|
| |
merge text nodes, eat nobr, wbr
|
| |
|
|
|
|
|
| |
not quite happy with this design but for now let's just try to make
it work well
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
ref. https://todo.sr.ht/~bptato/chawan/24
|
| |
|