| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
* rename module (window -> winattrs, to avoid conflict with env/window)
* do not use result
* remove unused cell_ratio
|
|
|
|
| |
third time's the charm
|
|
|
|
|
|
|
| |
Turns out you can't just throw the value into the CSS value parser.
(Also, correction for the previous commit message: it is not LI but UL
or OL.)
|
| |
|
|
|
|
|
|
|
|
| |
We did were not using it as a unicode value anywhere, it was just
making our life harder.
If we ever need unicode delimiter tokens, we can re-introduce them
as a different token type.
|
| |
|
| |
|
|
|
|
|
| |
It was used by mistake in a hundred percent of the cases we were
using it.
|
|
|
|
|
|
|
|
|
| |
px now converts to float64 before converting back to a layout unit
when calculating percentage values.
This should reduce overflow crashes somewhat.
(The real solution would be to not crash on overflow, but that's a
little more difficult problem to solve.)
|
|
|
|
| |
and with that, resolve the unknown input type issue
|
|
|
|
|
|
|
|
|
|
| |
* ips -> io/
* loader related stuff -> loader/
* tempfile -> extern/
* buffer, forkserver -> server/
* lineedit, window -> display/
* cell -> types/
* opt -> types/
|
|
|
|
|
|
| |
* remove unused function isAlphaAscii
* swap pushHex for less casting
* remove == overload for char/rune (we did not really use it anyway)
|
|
|
|
|
|
| |
* lower-case the input string.
* do not fall back to black on error. (i.e. remove the special cased
parseLegacyColor0 in cascade)
|
| |
|
|
|
|
|
|
|
| |
Split out parts of the JS module, because it was starting to confuse
the compiler a little.
(Peakmem is back at 750M. Interesting.)
|
|
|
|
|
|
|
| |
This used to be possible until I moved everything under separate
headers to their respective objects.
Now it works again, mostly; modification of some attributes is still
missing.
|
|
|
|
| |
Operation "modularize Chawan somewhat" part 2
|
|
|
|
| |
Not isAscii means we cannot convert to char. Oops.
|
|
|
|
| |
For some reason I forgot about this.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Import punycode, as it has been removed from stdlib.
* Fix some syntax errors
* Apparently you can no longer compare distinct pointers with nil.
Add explicit comparisons with typeof(nil) instead.
* htmlparser: rename _ to other, as semantics of _ have changed.
(Quite a shame, it looked better with _. Oh well.)
* Explicitly specify mm:refc, as the browser OOMs with orc for
some reason.
Confirmed to compile & run on 2.0.0, 1.6.14, 1.6.12, 1.6.10 and 1.6.8.
(<1.6.8 it's broken & wontfix.)
|
|
|
|
| |
probably insignificant overall
|
| |
|
|
|
|
|
|
| |
Instead of grouping all of them into TAG_UNKNOWN, match their tag
names.
To-do: this implementation is not very efficient.
|
| |
|
| |
|
| |
|
|
|
|
| |
This fixes interpretation of "@media (min/max-width: 1234px)".
|
|
|
|
| |
Reduces ugly rendering caused by rounding errors.
|
|
|
|
| |
So we don't have to pass each DeclarationList separately.
|
| |
|
| |
|
|
|
|
| |
return DOMException instead
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Quite incomplete canvas implementation. Crucially, the layout engine
can't do much with whatever is drawn because it doesn't support images
yet.
I've re-introduced multipart as well, with the FormData API. For the
append function I've also introduced a hack to the JS binding generator
that allows requesting the JSContext pointer in nim procs. Really I
should just fix the union generator thing and add support for overloading.
In conclusion, for now the only thing canvas can be used for is exporting
it as PNG and uploading it somewhere. Also, we now have PNG encoding and
decoding too. (Now if only we had sixels as well...)
|
| |
|
| |
|
| |
|
|
|
|
| |
pretty slow for some reason
|
|
|
|
| |
Fixes universal selectors after a combinator.
|
| |
|
|
|
|
| |
it had zero practical use and was annoying anyways
|
|
|
|
| |
it does nothing...
|
|
|
|
| |
Also fix margin-left/right: auto, to some extent.
|
| |
|
|
|
|
| |
...in favor of handling all style elements like other browsers
|