| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
We now have real inline boxes.
* Fix nesting of inline boxes
* Represent inline boxes with a hierarchical RootInlineFragment ->
InlineFragment tree
* Get rid of inline padding hack
* Get rid of ComputedFormat
* Paint inline box backgrounds properly
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Without this, setting color-mode using -o required quoting
the values, and then shell-quoting the quotes themselves
(cha -o 'display-color-mode="24bit"').
Instead of more special casing in the TOML parser, we just add aliases
for these enum values that can be parsed using TOML bare string
rules. So now this works:
cha -o display.color-mode=true-color
|
|
|
|
|
| |
This was causing incorrect approximation to grayscale values for
colors with a red component in 8 .. 248.
|
| |
|
| |
|
|
|
|
|
|
| |
* Add clear CSS property
* Fix some margin resolution bugs
* Apply min-height, max-height to inner inline outer block boxes
|
|
|
|
| |
the error values were 100% unused
|
| |
|
| |
|
|
|
|
| |
No need for the options.
|
|
|
|
|
|
|
|
| |
* Merged float and inline-block size calculation
* Set min-height, max-height for floats
* Fix incorrect positioning of inline atoms with margins
* Respect box-sizing in more places
* Do not flush remaining margins in layoutRootBlock as top margin
|
|
|
|
|
| |
pager.tty refers to infile, not outfile. rename to avoid further
confusion
|
|
|
|
|
| |
pkg-config does not find termcap (or really, ncurses) here, so we
have to find it ourselves.
|
|
|
|
| |
now it's a function
|
| |
|
|
|
|
| |
not a real implementation, just to reduce exceptions
|
|
|
|
| |
Use option() instead of some()
|
|
|
|
| |
This can happen e.g. if the word is fully outside the canvas.
|
| |
|
| |
|
|
|
|
|
| |
The reasoning for using early returns was wrong, and they should be
unnecessary anyway.
|
|
|
|
|
|
|
|
| |
* tolower: strutils toLowerAscii is good enough for the cases where
we need it. Also, it's easy to confuse with unicode toLower and
vice versa.
* isWhitespace: in AsciiWhitespace is more idiomatic. Also has a
naming collision with unicode toLower.
|
|
|
|
|
|
|
| |
* No more zero width FormatCells messing up buffer display (yay!)
* Assert on setText width a zero-length string
* Remove unnecessary FormatCell added to every line on paintBackground
start
|
|
|
|
|
| |
It's better to not do it perfectly in 100% of all cases than to
loop through the entire document in all cases.
|
| |
|
|
|
|
| |
This is consistent with what w3m does and is way more convenient.
|
|
|
|
| |
just ask libcurl to decode
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
yay!!!!
* Add support for float: left, float: right
Also, misc stuff:
* Add support for display: flow-root
* Set line width to the maximum allowed width on line wrap
* Various refactorings
Still todo: support clear
|
|
|
|
| |
both just return identity
|
| |
|
|
|
|
|
|
|
|
|
| |
* Blocks are now positioned before their text contents would be
layouted
* Untangle calcAvailableSpaceSizes's results from BlockBox
* Move a couple of objects from box -> engine
* Use Size in a few more places
* Set display to block if float is not none
|
| |
|
|
|
|
| |
merge positionBlocks with buildBlocks
|
|
|
|
|
|
| |
* remove Viewport reference from BlockBox
* Viewport -> LayoutState (call it what it really is)
* move more stuff from box -> engine
|
|
|
|
|
| |
Viewport at this point is basically just the layout state, so it
makes no sense to store it in buffer.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
bugfix, bugfix...
|
| |
|
| |
|
|
|
|
| |
Special case the global object, check for inheritance, etc.
|
| |
|
| |
|
| |
|