summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-31LibVideo: Set CodingIndependentCodePoints in its member functionsZaggy1024
This moves the setting of code points in CICP structs to member functions completely so that the code having to set these code points can be much cleaner.
2022-10-31LibVideo: Add VideoFrame class for decoded video framesZaggy1024
The class is virtual and has one subclass, SubsampledYUVFrame, which is used by the VP9 decoder to return a single frame. The output_to_bitmap(Bitmap&) function can be used to set pixels on an existing bitmap of the correct size to the RGB values that should be displayed. The to_bitmap() function will allocate a new bitmap and fill it using output_to_bitmap. This new class also implements bilinear scaling of the subsampled U and V planes so that subsampled videos' colors will appear smoother.
2022-10-31Utilities: Add nologin applicationBeckett Normington
This adds the `nologin` application to the system. This application will look for `/etc/nologin`. If it is present, it will display the message in the file. Otherwise, it will display an error about the current account being unavailable.
2022-10-31Base: Add Scissors & arrows emojipremek
✂️ - U+2702 Scissors ➡️ - U+27A1 Right Arrow ⤴️ - U+2934 Right Arrow Curving Up ⤵️ - U+2935 Right Arrow Curving Down ⬅️ - U+2B05 Left Arrow ⬆️ - U+2B06 Up Arrow ⬇️ - U+2B07 Down Arrow
2022-10-31LibVideo: Make DecoderError getters constZaggy1024
2022-10-31Base: Set PATH in text modeimplicitfield
2022-10-31LibThreading: Set BackgroundAction's thread name correctlyZaggy1024
Previously, init() in BackgroundAction.cpp was calling Core::Object::set_name, which does not affect the displayed thread name which is displayed by the system monitor. This changes it to pass the name to the thread constructor.
2022-10-31Userland: Use Threading::MutexLocker to lock/unlock mutexesOleg Kosenkov
2022-10-30Meta: Make YCM work when the current dir is not the root of the treeGunnar Beutner
Previously we'd incorrectly use a relative path for the compilation database.
2022-10-30Meta: Remove debug code in the YCM config fileGunnar Beutner
2022-10-30LibGUI: Update buttons' text/tooltips in Action::set_textZaggy1024
This allows Actions that change based on some state to update their associated buttons' text and tooltips to match their new text. The play/pause button in SoundPlayer (and VideoPlayer if it's merged) will now change tooltips when the playback changes state, rather than always displaying "Play (Space)".
2022-10-30LibWeb: Implement the fetch() method :^)Linus Groh
With so much infrastructure implemented, we can finally add the last piece of this puzzle - the fetch() method itself! This contains a few hundred lines of generated code as handling the RequestInfo and RequestInfo parameter types manually is not feasible, but we can't use the IDL definition as the Window object is handwritten code at the moment. It's neatly tucked away in Bindings/ and will be removed eventually.
2022-10-30LibWeb: Implement most of the 'Fetching' AOsLinus Groh
This implements the following operations from section 4 of the Fetch spec (https://fetch.spec.whatwg.org/#fetching): - Fetch - Main fetch - Fetch response handover - Scheme fetch - HTTP fetch - HTTP-redirect fetch - HTTP-network-or-cache fetch (without caching) It does *not* implement: - HTTP-network fetch - CORS-preflight fetch Instead, we let ResourceLoader handle the actual networking for now, which isn't ideal, but certainly enough to get enough functionality up and running for most websites to not complain.
2022-10-30AK+Meta: Add WEB_FETCH_DEBUG macroLinus Groh
2022-10-30LibWeb: Require error message for Response::network_error()Linus Groh
There will be a lot of different cases where we'll return an error response, and having a customized Promise rejection message seems quite useful. Note that this has to be distinct from the existing 'status message', which is required to be empty in those cases.
2022-10-30LibWeb: Partially implement 'relative high resolution time' AOsLinus Groh
2022-10-30LibWeb: Fix URL parsing in Response::location_url()Linus Groh
We need to use URLParser in order to provide a base URL. This makes it work for the common case of `Location: /some/path`.
2022-10-30LibWeb: Actually extract Location header in Response::location_url()Linus Groh
2022-10-30LibWeb: Partially implement 'Extract header (list) values' AOsLinus Groh
The header-specific ABNF rules are completely ignored for now, but we can at least extract a single header value, which at least works for simple cases like `Location`-based redirects.
2022-10-30LibWeb: Implement 'Queue a fetch task' AOLinus Groh
2022-10-30LibWeb: Implement 'Default `User-Agent` value' AOLinus Groh
2022-10-30LibWeb: Implement 'Append a request `Origin` header' AOLinus Groh
2022-10-30LibWeb: Implement 'Appropriate network error' AOLinus Groh
2022-10-30LibWeb: Implement 'CORS check' / 'TAO check' AOsLinus Groh
2022-10-30LibWeb: Implement 'Is non-secure context' AOLinus Groh
2022-10-30LibWeb: Implement 'Is secure context' AOLinus Groh
2022-10-30LibWeb: Implement 'fetch params' structLinus Groh
2022-10-30LibWeb: Implement container class for fetch algorithmsLinus Groh
2022-10-30LibWeb: Implement 'fetch controller' structLinus Groh
2022-10-30LibWeb: Implement 'fetch timing info' structLinus Groh
2022-10-30LibWeb: Implement 'connection timing info' structLinus Groh
2022-10-30LibWeb: Implement 'Byte sequence as body' AOLinus Groh
2022-10-30LibWeb: Implement 'Safely extract BodyInit' AOLinus Groh
2022-10-30LibWeb: Implement 'Determine request’s Referrer' AOLinus Groh
2022-10-30LibWeb: Implement 'Strip url for use as a referrer' AOLinus Groh
2022-10-30LibWeb: Implement 'Is url potentially trustworthy?' AOLinus Groh
2022-10-30LibWeb: Implement 'Is origin potentially trustworthy?' AOLinus Groh
2022-10-30LibWeb: Implement 'Should response be blocked due to nosniff?' AOLinus Groh
2022-10-30LibWeb: Implement 'Should response be blocked due to its MIME type?' AOLinus Groh
2022-10-30LibWeb: Implement 'Should request be blocked due to a bad port' AOLinus Groh
2022-10-30LibWeb: Implement 'host is domain' concept from the URL specLinus Groh
2022-10-30LibWeb: Explain the use-URL-credentials flagLinus Groh
This is a change in the Fetch spec. See: https://github.com/whatwg/fetch/commit/a388348
2022-10-30LibWeb: Add has-cross-origin-redirects flag to Fetch::Infra::ResponseLinus Groh
This is a change in the Fetch spec. See: https://github.com/whatwg/fetch/commit/7c30987
2022-10-30LibWeb: Actually define Blob-to-ReadableStream conversionLinus Groh
This is a change in the Fetch spec. See: https://github.com/whatwg/fetch/commit/4cd70cf
2022-10-30LibWeb: Make Fetch::Infrastructure::{Request,Response,HeaderList} GC'dLinus Groh
This is the way. On a more serious note, there's no reason to keep adding ref-counted classes to LibWeb now that the majority of classes is GC'd - it only adds the risk of discovering some cycle down the line, and forces us to use handles as we can't visit().
2022-10-29Base: Add Houses, Safety pin emojipremek
🧷 - U+1F9F7 Safety Pin 🏘 - U+1F3D8 House Buildings
2022-10-29Base: Add more yak emojiXexxa
􌴤 - U+10CD24 Yakslow 􌴥 - U+10CD25 Buffyak 􌴦 - U+10CD26 Yaktrap 􌵪 - U+10CD6A Yakthink 􌵫 - U+10CD6B Hyperyakkie
2022-10-29Base: Add more emojiXexxa
🧔‍♀️ - U+1F9D4 U+200D U+2640 WOMAN: BEARD 🧝‍♂️ - U+1F9DD U+200D U+2642 MAN ELF 🧗 - U+1F9D7 PERSON CLIMBING 🦕 - U+1F995 SAUROPOD 🦖 - U+1F996 T-REX 💱 - U+1F4B1 CURRENCY EXCHANGE 🌬️ - U+1F32C WIND FACE
2022-10-29Base: Adjust size of emoji U+26A7Xexxa
⚧️ - U+26A7 TRANSGENDER SYMBOL
2022-10-29Base: Add U+2264 and U+2265 to Katica Regular 12Xexxa
2264-2265 https://www.unicode.org/charts/PDF/U2200.pdf