| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* fix flex column item width not being stretched
* set minimum flex column height to the layouted item's height (to avoid
overlap)
|
|
|
|
|
|
| |
* move dispatchEvent to event, add a JS binding
* only reshape if the document was actually invalidated after event
dispatch/interval call/etc.
|
| |
|
| |
|
|
|
|
|
|
| |
We were not setting the invalid flag on bitmap load, so any incremental
reshape could interfere with displaying images that got loaded after
the reshape.
|
|
|
|
| |
only use sixelMaxWidth/sixelMaxHeight for sixel
|
|
|
|
|
| |
This fixes a bug where cloning buffers with images would crash the
browser.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
It works fine AFAICT, just missing VP8 deblocking filters, so lossy
WebP images don't look great.
I have extended the API a bit to allow reading from stdin, not just
paths. Otherwise, it's the same as matanui159/jebp.
TODO: add loop filters
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The status code & headers are no longer guaranteed to be sent right
after res/outputId, so read them asynchronously instead.
(This is pretty much the same code as the buffer connection handler in
pager. Hopefully we can merge the two at some point.)
|
| |
|
| |
|
| |
|
|
|
|
| |
clang complains about this
|
| |
|
| |
|
|
|
|
| |
these are already defined on Window
|
|
|
|
|
|
| |
Merge timeout & interval code paths.
This fixes clearTimeout not clearing intervals.
|
|
|
|
|
|
| |
* add sixel max width/height query
* add cell size query (it's more accurate than dividing window size when
you change xterm font size)
|
|
|
|
| |
and enable it by default.
|
|
|
|
| |
it was never implemented
|
|
|
|
| |
use the new API instead of the convoluted decodercore + growbuf thing
|
|
|
|
|
|
|
|
| |
It seems registerHandle/unregister doesn't accept cint as handles. Not
sure why it even works on 64-bit targets... (maybe some converter
weirdness?)
Seems best to explicitly cast it away.
|
|
|
|
|
|
|
|
| |
Paint the background with the current color, so that it gets associated
with the owner styled node.
(I didn't want to do this because it's slow, but otherwise image-mode
gets very annoying to use.)
|
| |
|
| |
|
|
|
|
|
|
|
| |
Just use the previous tree when possible.
The child list is still reconstructed, but at least we no longer alloc
every single node again at every single restyle.
|
| |
|
|
|
|
| |
the invalid flag must be toggled after styling
|
|
|
|
| |
tokenType had to be checked too
|
| |
|
|
|
|
|
|
| |
Fixes the bug where getting redirected to a buffer that the pager then
deleted (e.g. image display, site no longer available, etc.) would land
you in a buffer detached from the main tree.
|
|
|
|
|
| |
Merge "load config" with "fork loader", so that the loader process gets
forked one packet earlier.
|
| |
|
| |
|
| |
|
|
|
|
| |
Same as [[siteconf]] autofocus.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Text data is no longer stored separately in InlineFragments; instead,
we now include refs to StyledNodes.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* query default ANSI colors with OSC 4
* disable queries overridden by config
|
|
|
|
|
| |
top/left/right/bottom should only be used in renderdocument with
position: absolute.
|
|
|
|
|
|
|
|
|
|
|
| |
Saves bandwidth; it's especially useful over SSH. Still not sure if this
is the right solution, since it now needs two select cycles instead
of one, and it does yet another copy of the image. (Unnecessarily,
because stbi cannot stream its output, and stbiw cannot stream its
input.)
Also, to save memory, we now discard decoded images of buffers that are
not being viewed.
|