| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Allows branching on the scheme without string comparisons.
|
|
|
|
|
| |
* ignore username/password if undefined
* do not throw on subsequent fetch with username/password
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This time, I've also ported over the consistency check to prevent some
ownership bugs.
Unfortunately, the check is very limited, and it is still possible to
double-free or leak JSValues. I think it would be possible to make
coverage 100%, but only with ARC...
|
|
|
|
|
| |
Conflating buffered streams with non-buffered streams is generally a
bad idea.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now we just pass down the value of n and check errno, plus
readDataLoop/writeDataLoop returns a bool indicating whether it failed.
For now this seems to work OK, but maybe I'll add a better abstraction
in the future.
EOFError is still used for handling failed packets; this is brittle,
and should be replaced once we have a proper buffering mechanism for
them. (That will also let us kill BufStream.)
Unrelated: this also fixes a bug in buffer with cacheId.
|
|
|
|
| |
not standard-compliant, but better than nothing
|
|
|
|
|
|
|
|
| |
Instead of hashing the class name for isInstanceOf, we now just reuse
the Nim type pointer -> JSClassID map, which should be more efficient.
This removes getClass and hasClass; these can be replaced by just
reusing the class ID returned from registerType.
|
|
|
|
| |
Event handler functions can be set twice now.
|
| |
|
|
|
|
|
| |
This isn't great, but neither was passing around a pointer that pointed
to a single object.
|
| |
|
|
|
|
| |
probably breaks with TLA
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Supposedly they aren't broken in refc after 2.0.0, so we can do this now
that 1.6.14 is dropped.
I've confirmed lent to work as advertised; it indeed reduces copies.
sink doesn't seem to help much, but I guess it will be useful once we
switch to ORC.
|
|
|
|
| |
Implements the [Replaceable] WebIDL property.
|
|
|
|
| |
Now getComputedStyle works with pseudo-elements too.
|
| |
|
| |
|
|
|
|
| |
this should be all of them
|
| |
|
|
|
|
|
| |
Just to replace what QJS-NG has, because I don't want to expose a
nanosecond precision clock.
|
|
|
|
| |
also, reduce the number of types named MediaQueryList by 50%
|
|
|
|
| |
Only works if referer-from is enabled.
|
|
|
|
|
|
|
| |
In lite mode, it uses default window attributes.
Incidentally, this also untangles media query matching from cascade,
saving us a forward declaration hack (yay!)
|
|
|
|
|
|
| |
style/layout invalidation is a mess :(
Fixes acid3 test00
|
|
|
|
| |
Only available in "app" mode.
|
| |
|
| |
|
|
|
|
| |
Now screen.width etc. works in the pager too.
|
|
|
|
| |
Respects autofocus.
|
|
|
|
| |
toJS is generally more efficient
|
|
|
|
| |
it should have been a function
|
|
|
|
|
|
|
|
|
|
| |
For APIs that cannot be implemented in a privacy-friendly manner.
As a start, I've added accurate screen size queries; getComputedStyle,
getBoundingClientRect, etc. should follow. (We have a harmless
getComputedStyle already, but it's broken.)
Probably, things like JS-based scroll belong in here too, but I'm not
sure yet. (Perhaps autofocus should be reused instead?)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* remove std/streams use from mime.types; mmap and parse directly
* use mime.types for inline image extensions
* add some jpeg file extensions
Latter came up because I was trying to add a format locally and it
wouldn't recognize it on images from my file system (i.e. by extension).
As a security measure we still do not allow additional extensions for
predefined inline image types.
|
|
|
|
| |
one less mystery
|
|
|
|
|
|
|
| |
It necessarily removes the config.images check from codec access, which
I'm not quite happy about, so I've added a check to the DOM instead.
(TODO: maybe pager should just dynamically grant codec access as a
capability instead? but maybe that's even more error prone...)
|
| |
|
| |
|
|
|
|
|
|
|
| |
most of it has already been moved to monoucha, and the rest fits better
in other directories.
also, move urimethodmap to config
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
normal construction is enough (and it wasn't really used anyway)
|