| 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
|
|
|
|
| |
for clarity
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
s/mailcap/mime.types/g
|
|
|
|
| |
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.
|
|
|
|
| |
It's not quite the same thing :P
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
On a second thought, this makes no sense.
This reverts commit 3c8d95fefb678155d0c923aac8240b575ce79d5f.
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
Forgot to add any replacement for rp after setting it to display: none,
so parentheses around ruby text were not being displayed.
|
|
|
|
| |
just to be sure
|
|
|
|
| |
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
|
|
|
|
| |
small re-organization
|