| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
(again. ouch.)
|
|
|
|
|
|
|
| |
Mostly a proof of concept. Just bubble it unconditionally for now
and never prevent default.
Also, fix fromJSFunction by Dup'ing its closure JSValue.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Split out parts of the JS module, because it was starting to confuse
the compiler a little.
(Peakmem is back at 750M. Interesting.)
|
|
|
|
|
|
|
| |
Also, make ActionMap use getters/hasprop instead of a table copy.
peakmem remains up +200M at 950M after commit
9991bd3393483158ab0d1b9d995f695dee3c65dc. :(
|
|
|
|
|
|
|
| |
Now that we have established that window *can* be nil.
(Though the document.location window null check is probably
unnecessary, because it is only called from scripts... but better
safe than sorry.)
|
|
|
|
|
|
|
|
| |
Use current document's URL if window && window.document, otherwise
default to about:blank.
Also, it seems that passing nil to window is really necessary in some
cases, so remove notes indicating otherwise.
|
|
|
|
|
|
|
|
| |
Add jsuffget, jsuffunc for setting LegacyUnforgeable on functions.
Misc fixes:
* define LegacyUnforgeable properties for native object shims
* replace some macros with templates
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Events: just implement the interfaces, no events are triggered yet.
JS changes:
* add LegacyUnforgeable
* make consts enumerable
* fix crash in isInstanceOf
* fix destructor warnings
* refactor registerType
As a result, peakmem is now 1G+ on 1.6.14. It stays ~750M on 2.0.0. Hmm.
Well, better upgrade to 2.0.0 I guess.
|
| |
|
|
|
|
|
| |
Now pages (once again) do not break when a meta charset tag is
defined. Hooray!
|
|
|
|
| |
Operation "modularize Chawan somewhat" part 2
|
|
|
|
| |
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.
|
|
|
|
|
| |
<th> should close table cells, but was missing from the table cell
closing list for some reason.
|
| |
|
|
|
|
| |
This makes it possible to use non-reference types as Handle.
|
| |
|
| |
|
|
|
|
| |
It appears there is a compiler bug we have to work around there.
|
|
|
|
| |
Fixed unintended variable shadowing introduced during refactoring
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
associateWithForm was checking whether the element was in the same
tree as the form, however associateWithForm is called when element
is has not been inserted into the tree yet. As a fix, pass the
intended parent and perform the check on that.
|
| |
|
| |
|
|
|
|
| |
Also, wrap head in an Option
|
|
|
|
|
| |
Seems to reverse the +200M peakmem during compile introduced by the
previous commit.
|
|
|
|
|
| |
Instead of directly appending nodes to the DOM, use a DOMBuilder
interface.
|
| |
|
| |
|
| |
|
|
|
|
| |
we need that break statement there, it seems
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
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
|