| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
ok so apparently you can leave out the semicolon, but *only* if the at
rule is at EOF
|
|
|
|
|
| |
in this case they actually made sense, but I want to remove them
altogether
|
|
|
|
|
| |
I'm not 100% content with this syntax either, but it's a significant
improvement over the previous solution.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The old API was needlessly complex and suggested that it could only be
used for DOMException (which is not the case).
(Also optimized out code lookup from the DOMException constructor.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Originally I added Mozilla/5.0 because Google refused to serve valid
HTML without it, and some websites really disliked us not sending it.
Since then, I've had to special case Google anyway because now it only
serves usable results to a specific set of UA strings.
Meanwhile, an aggressive client blocking software has been spreading
lately, which shows a (broken, for various reasons) JS POW page if you
*do* send Mozilla/5.0. So I guess it's better to switch back for now.
The drawback of course is that now we are broken on sites that expect
us to send Mozilla/5.0. Hopefully this is no longer as common as
before.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Doesn't seem to be necessary anymore.
|
|
|
|
|
|
| |
* layoutBlockChild has two branches less
* better separation of code into individual layouts; layout() is now the
main entry point for inner layout
|
|
|
|
| |
Clearing the entire dependedBy array in applyStyleDependencies is wrong.
|
|
|
|
|
|
|
|
| |
Instead of generating a separate container box for list items, just set
the marker's display to an internal value that is treated specially.
This fixes a bug where position: relative would not register the correct
block as the positioned ancestor.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The old logic was badly copy pasted from the pass that did text
formatting; accordingly, it was overly complex and did not work
correctly.
Now we just add a single formatting cell to override the last one if
it exists. (Formatting cells go from x position -> next cell or line
end, and padding implies that the line had ended before the starting
position of our text.)
I've left in a workaround to what I think is a bug. It may be related
to cursorNextLink getting stuck at the line's end...
|
| |
|
|
|
|
|
|
|
|
| |
* only free callback after setting it to undefined (just in case JS
observes the free with WeakMap etc.)
* do not directly call callback; QJS really doesn't seem to like it when
it deletes itself with removeEventListener
* fix a leak with handleEvent
|
|
|
|
|
| |
This may happen if the buffer crashes while pager is trying to share its
resources.
|
|
|
|
|
|
|
|
|
| |
The issue with brotli was that we were calling toOpenArray with a
uint, and that doesn't really work in Nim (even though it looks like
it does).
So I've removed the circular buffer from brotli and made oqoff an int
for tinfl (which unlike brotli actually needs a circular buffer).
|
|
|
|
|
| |
* ignore username/password if undefined
* do not throw on subsequent fetch with username/password
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Others don't support them either. (Firefox claims to, but only really
decodes Server-Timing for debugging.)
|
| |
|
| |
|
|
|
|
|
|
| |
Never mind, it also broke some other things :(
This reverts commit bc294d3284e0448b2f149ac6d905c8474508791d.
|
|
|
|
|
| |
The algorithm itself is still fundamentally broken, but this at least
prevents some cases of images becoming absurdly large.
|
|
|
|
| |
Now it only does HTTP/1.1, with Connection: close.
|
| |
|
| |
|
| |
|
|
|
|
| |
Lack of cbool is a pain. I'm sticking with JS_BOOL for now.
|
|
|
|
|
|
| |
it doesn't really do what you would expect, better use JS_Is* functions
(also, it broke 32-bit builds)
|
|
|
|
| |
not much else is done yet, but it's a start
|
| |
|
| |
|
|
|
|
|
| |
Also removes the computation of underflow on the end margin for blocks;
as far as I can tell, this was never used.
|
|
|
|
|
|
|
|
|
|
| |
Well, it's not much prettier... but it will be useful for keep-alive.
(Hopefully.)
Also, loader could now be locked down capsicum/pledge/seccomp, but I'm
not sure if there's a point. The biggest potential threat it faces is
cross-contamination of handles, and no amount of syscall filtering is
going to protect against that.
|
|
|
|
|
|
|
|
|
| |
I've removed the SIGINT trap because the fork server is now in a
separate process group than the main process anyway. We'll see if this
actually works...
Also realized we weren't closing the fork server's control stream on
fork; now we do.
|
|
|
|
|
|
|
|
|
|
| |
Instead of trying to track child pids (which is wrong - a child may die
at any time for whatever reason, so we could have ended up murdering
some random process that took its place...), just setsid on forkserver
start and send SIGTERM to the entire process group on termination.
Also removed the loader pid from the FileLoader object, as it is no
longer useful.
|
| |
|
| |
|
| |
|
| |
|