| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
This makes not creating separate reference types for SameObject
attributes possible.
Also add a fromJS2 "hook" to allow defining fromJS behavior in modules
other than javascript.
|
|
|
|
| |
for better compatibility with curl-impersonate
|
|
|
|
| |
skipBlanks should not consume newlines.
|
|
|
|
|
| |
* simplify ActionMap reading
* introduce separate case for Table
|
| |
|
|
|
|
|
| |
* Increase line counter on newline in array & inline table parsing
* Fix broken inline table parsing
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove some unused properties from objects
* Un-extern JSFunctionList
* Remove js/javascript dependency from regex (the wrapper functions
were rather pointless)
* Remove setProperty (only toJS(Table) used it, but there we have to
use defineProperty instead.)
* Accordingly, use definePropertyCWE in toJS(Table)
* Simplify fromJSTable (replace pointer arithmetic with UncheckedArray)
* Reduce implicit `result' usage
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
Walking the prototype chain for every single type just so we can define
the few LegacyUnforgeable properties we need is not the greatest idea.
Instead, we now merge LegacyUnforgeable lists with those of ancestor
prototypes, which reduces the entire ceremony to a single `get'
from the global table.
|
| |
|
|
|
|
| |
oops
|
|
|
|
| |
This way we do not need the ugly getProperty call.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Not isAscii means we cannot convert to char. Oops.
|
| |
|
| |
|
|
|
|
|
| |
Make mime.types behavior consistent with mailcap: that is, the *first*
match counts.
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
We were comparing the wrong sides of ranges here.
|
| |
|
|
|
|
| |
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.
|
|
|
|
|
| |
Re-consideration of 1e0506adb: we do need to explicitly specify padding
after all, so the rendering engine knows of it too.
|
|
|
|
|
|
| |
In the tab width case, only whitespacenum was being divided instead of
charwidth + whitespacenum, which resulted in an exponential growth of
both charwidth and whitespacenum.
|
|
|
|
|
| |
So e.g. padding: 1px does not inhibit automatic addition of spaces
for inline blocks.
|
| |
|
| |
|
|
|
|
| |
This makes it possible to use non-reference types as Handle.
|
|
|
|
| |
Still not perfect, but at least not completely broken.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
computeShift now checks if the last inline atom is spacing, and
if yes, it does not add more spacing.
This fixes rendering of the following document:
<span>
a
</span>
<span>
b
</span>
|
| |
|
|
|
|
|
|
| |
Instead of grouping all of them into TAG_UNKNOWN, match their tag
names.
To-do: this implementation is not very efficient.
|