| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Operation "modularize Chawan somewhat" part 1
|
|
|
|
|
|
|
|
| |
* add mailcap: works with copiousoutput, needsterminal, etc.
* add mime.types (only works with mailcap)
* refactor pipeBuffer
* remove "dispatcher"
* fix bug in directory display where baseurl would not be used
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.)
|
|
|
|
| |
Return true instead of false when a node with nodeType was found.
|
|
|
|
|
| |
Instead of directly appending nodes to the DOM, use a DOMBuilder
interface.
|
| |
|
| |
|
| |
|
|
|
|
| |
To avoid unexpected behavior (e.g. node.children != node.children)
|
|
|
|
| |
Still a hack, but maybe more reliable?
|
|
|
|
|
| |
This should help with moving to ORC in the future. (Also, finalizers
do not work very well in the first place.)
|
|
|
|
|
| |
fetch() does not work here because we can only resume parsing after
the script has been executed
|
|
|
|
| |
Just stubs: none of them actually work
|
|
|
|
| |
Note: setters do not work yet.
|
|
|
|
|
| |
Not sure how it ever worked.
This fixes Text() constructors etc.
|
|
|
|
| |
return DOMException instead
|
| |
|
| |
|
|
|
|
| |
Instead of setting the non-standard res variable.
|
| |
|
|
|
|
|
| |
Now a promise returning nil doesn't just leave the rest of the then
chain hanging. Hooray.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Now PNG encoding/decoding, painting, etc. are done in separate files.
Plus we support all color modes except indexed color.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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...)
|
|
|
|
| |
Mainly to avoid errors
|
| |
|
|
|
|
|
| |
Still far from perfect, but now at least it has a bit more to do
with what the standard mandates.
|
| |
|
|
|
|
| |
This caused the last child node to not be copied.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
...in favor of handling all style elements like other browsers
|
| |
|
|
|
|
| |
Now the browser shouldn't completely die when a buffer crashes.
|
|
|
|
|
| |
Instead of creating a new function for each attribute, use a single
magic function for reflected attributes.
|
| |
|
| |
|
|
|
|
| |
Use ids instead of pure pointers, so we can utilize the JS finalizer.
|
| |
|
|
|
|
| |
Instead of Node.
|
|
|
|
|
|
| |
Instead of unnecessarily marking every jserr function as *, add the
used pragma (so the C compiler can get rid of them later.)
Also, use the correct definition of attribute namespace.
|
| |
|
| |
|
| |
|
| |
|