| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
It did not actually break rewrite-url, but was still annoying.
|
|
|
|
| |
Nim 1.6 does not like it.
|
|
|
|
| |
called on armhf
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
data URIs can get megabytes long; however, you can only stuff so many
bytes into the envp. (This was thwarting my efforts to view pandoc-
generated standalone HTML in Chawan.) So put `data:' back into the
loader process.
|
|
|
|
| |
was only used by the PNG decoder which got replaced by stbi
|
| |
|
| |
|
|
|
|
|
|
|
| |
* cssvalues, twtstr: unify enum parsing code paths, parse enums by
bisearch instead of hash tables
* mediaquery: refactor (long overdue), fix range comparison syntax
parsing, make ident comparisons case-insensitive (as they should be)
|
| |
|
|
|
|
|
|
|
| |
* highlight shortened commit hashes (up to 7 chars)
* send status
* refactor cgi commands
* support git branch -a
|
|
|
|
|
|
|
| |
* History: doesn't really do anything, just adding it to fix some pages
* LocalStorage: kind of works, but does lookups with linear search, and
the quota limitation is on the number of entries not their size. plus
it doesn't actually store anything on disk yet (like cookies).
|
|
|
|
| |
use JSValue varargs instead
|
|
|
|
|
| |
+ also send register & image dimension queries in forced sixel mode,
and image dimension query on window resize
|
| |
|
|
|
|
|
|
|
|
|
| |
* xmlhttprequest: fix missing import
* painter: generic tuple workaround
* dynstream: merge module with implementations (so it will work with
vtables)
Not enabling vtables yet since it doesn't work with refc.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* buffer, pager, config: add meta-refresh value, which makes it possible
to follow http-equiv=refresh META tags.
* config: clean up redundant format mode parser
* timeout: accept varargs for params to pass on to functions
* pager: add "options" dict to JS gotoURL
* twtstr: remove redundant startsWithNoCase
|
| |
|
|
|
|
| |
Great performance win on large documents.
|
|
|
|
| |
document is not set in the main process.
|
|
|
|
|
|
| |
* add standard interfaces to headers
* use window base URL for newRequest
* remove pointless generic in newRequest
|
| |
|
|
|
|
| |
just call console.error for now
|
| |
|
|
|
|
| |
Whitespace-only dimension values no longer crash the parser.
|
|
|
|
|
|
| |
* top/middle/bottom for img, remove redundant display: block for floats
(they get blockified anyway)
* map align for p too, not just div
|
|
|
|
|
|
|
| |
* properly wrap inline internal table boxes in inline-table (instead
of block-level table)
* fix missing baseline in table wrapper boxes
* fix wrong wrapping of misparented table/row/row group children
|
|
|
|
|
|
|
|
|
|
| |
* support position: absolute on flex items
* proper top/bottom/left/right calculation for position: relative
* push positioned flex box sizes to positioned stack
Still not perfect: position: absolute should always resolve percentage
sizes and top/bottom/left/right, meaning absolute layout needs to be
delayed until its containing box is fully layouted.
|
|
|
|
| |
Just allocate it on-demand so it works properly.
|
|
|
|
| |
It was broken for parent boxes with indefinite sizes.
|
|
|
|
|
|
|
| |
* fix max size trumping min size
* respect min-width/max-width/min-height/max-height for images
* fix xminwidth calculation for percentage-sized images with an
indefinite containing size
|
| |
|
|
|
|
| |
+ some more cleanup
|
|
|
|
|
|
| |
* fix various parsing bugs
* rewrite state machine
* other small optimizations
|
|
|
|
|
| |
Still not perfect, because it crashes on missing /tmp dir so you have to
manually set it...
|
|
|
|
|
|
|
|
|
|
|
| |
fixes the following bug:
* click a link that redirects somewhere
* go back
* discard buffer (that had the link)
* discard the new buffer
then you would find yourself in a zombie buffer you previously discarded
|
|
|
|
|
|
| |
SRCtype and DSTtype were mixed up.
See https://todo.sr.ht/~bptato/chawan/14
|
|
|
|
|
|
| |
Hope I got it right this time. (The previous iteration did not take into
account the image position on the screen, so it was just as bad as the
first one.)
|
|
|
|
|
| |
clamping maxwpx/maxhpx crops the image starting from the canvas
corner, not the image corner
|
|
|
|
| |
dispatchEvent is for JS only, since it unsets isTrusted.
|
|
|
|
|
|
| |
* fix flex column item width not being stretched
* set minimum flex column height to the layouted item's height (to avoid
overlap)
|