Age | Commit message (Collapse) | Author |
|
This was required before commit 5f724b6ca1aae3a5a8c7189069649e8a9347cca2
when we were building LibC before libstdc++ headers were available in
the sysroot. However as noted in that commit, we never actually needed
to be building LibC before libstdc++, so we can go ahead and remove this
ancient hack.
|
|
Fixes #10128.
|
|
|
|
The logic here is needed by InlineNode too. Moving it into a
`paint_all_borders()` function makes it available to them both, as well
as anyone else who wants it. :^)
|
|
These are in CSS order (top, right, bottom, left) since LibWeb is the
reason I'm adding these. :^)
|
|
|
|
This now uses the same code as Box, so images, repeat-rules, and
anything that's added in the future will work for `display: inline`
elements too. :^)
|
|
This makes the code accessible to things that aren't a Box, such as
InlineNode.
|
|
This makes the code accessible to things that aren't a Box, such as
InlineNode.
|
|
`paint_fragment()` seems to never get called. Moving the painting to
`paint()` fixes the background.
|
|
This is going to be needed by InlineNodes too!
`BorderPainting.{h,cpp}` might not be the best place for it, but it
works for now.
|
|
Doing so was causing the background to be painted twice, which looks
ugly if the background is semi-transparent. The painting is a bit of a
hack, as some situations apparently relied on it. This commit is ripping
the band-aid off to find where those are and fix them. :^)
|
|
|
|
This patch adds a basic initial implementation of these API's.
Since LibWeb currently doesn't support workers, this implementation of
messaging doesn't bother with serializing and deserializing messages.
|
|
|
|
This is the task source used by MessagePort.postMessage().
|
|
|
|
|
|
This fixes the issue that the percent label doesn't update.
|
|
|
|
|
|
This makes it possible to avoid messy situations where a slider
controlled value can be changed from multiple sources.
|
|
A while back the internal volume representation was changed from int to
double, but asctl was apparently never changed. This patch fixes that
issue.
|
|
|
|
This was used to work around a possible bug where select() would mark a
socket readable, but another user of the same socket would read before
the notifier's callback is run; let's remove this and fix any issues
regarding that specific situation later when they pop up.
|
|
Also cancel the jobs when they're destroyed.
This makes sure that jobs whose owners have discarded don't end up
crashing because of a did_fail().
|
|
The callback should be called as soon as the connection is established,
and if we actually set the callback when it already is, we expect it to
be called immediately.
|
|
|
|
Previously we were kinda sorta resolving the reference cycle, but let's
just keep the requests in a hashtable instead of relying on hard to
track refcount tricks.
Fixes #7314.
|
|
This makes connections (particularly TLS-based ones) do the handshaking
stuff only once.
Currently the cache is configured to keep at most two connections evenly
balanced in queue size, and with a grace period of 10s after the last
queued job has finished (after which the connection will be dropped).
|
|
|
|
When moving the mouse after a triple click, the selected buffer does not
maintain the whole line selection. This patch will allow triple click
highlighting to hold the whole line selection.
|
|
|
|
|
|
When using the IN6_IS_ADDR_V4MAPPED macro in Serenity's LibC it would
fail when compiling with the error message:
'invalid type argument of '->''.
This patch corrects the macro so that e.g. GLib port can compile again.
|
|
Here goes another step towards Document not having a JS::Interpreter.
|
|
|
|
A weakly held XHR object is not guaranteed to remain alive after
running arbitrary JavaScript, so let's make sure we take a strong
reference in the ResourceLoader callbacks here.
|
|
|
|
This functionality is now inherited from EventTarget, so we can simply
remove the whole thing in WebSocket. :^)
|
|
The HTML spec tells has some special rules for <body> and <frameset>
elements' onfoo event handler attributes. In some cases, the implicitly
generated event listeners should end up on the relevant global object
instead of the element itself.
This patch implements the first part of that behavior.
|
|
This is a spec concept that means a document is the associated document
of its browsing context's active window.
|
|
This previously wouldn't work well with flex-grow.
|
|
This patch adds the following event handler attributes to XHR's
EventTarget base class:
- onloadstart
- onprogress
- onabort
- onerror
- onload
- ontimeout
- onloadend
|
|
|
|
This logic was kept in the GlobalEventHandlers mixing for sharing
between Document and HTMLElement, but there are other interfaces who
need to support `onfoo` attribute event listeners as well.
|
|
Note: most systems now use a font's .notdef character for unknown
glyphs (commonly the tofu box) and reserve 0xFFFD for encoding
errors. Until Serenity supports tofu, 0xFFFD is a preferable, if
deprecated, alternative to '?' to reduce ambiguity.
|
|
Visible glyphs can now be cycled through, or a code point specified
and jumped to directly.
|
|
The editor now unmasks fonts on load, mapping their glyphs to the
complete unicode character set, and masks them upon saving to
reduce disk space. This is a naive approach in terms of memory
usage and can be improved but whose immediate goal is to allow
editing any glyph without concern for range allocation.
|
|
Removes the concept of Type enumeration in favor of a bitmask which
represents 544 potential byte ranges of 256 characters per bit,
supporting the current unicode code point set (0x0000-0x10FFFF).
Range positions are indexed in a vector for code point lookup and
conversion.
Co-authored-by: Lynn <lynn@foldr.moe>
|