Linus Groh
7b139c6982
LibJS: Add spec comments to ArrayConstructor
2023-01-28 00:41:18 +00:00
Linus Groh
eefb73add2
LibJS: Add spec comments to ArrayBufferConstructor
2023-01-28 00:41:18 +00:00
Linus Groh
039cd353f1
LibJS: Implement the thisBooleanValue AO and use it in BooleanPrototype
2023-01-28 00:41:18 +00:00
Nico Weber
b5deccf859
LibGfx: Split ICC/Profile.{h,cpp} into several files
...
s15Fixed16Number and XYZNumber are somewhat awkwardly duplicated
in both Profile.cpp and TagTypes.cpp. Other than that, this is a
pure code move.
No behavior change.
2023-01-28 00:27:07 +00:00
Nico Weber
6d51d8ad32
LibGfx: Bump copyright year in ICC/Profile.{h,cpp}
2023-01-28 00:27:07 +00:00
Nico Weber
721b280849
LibGfx: Move ICCProfile.{h,cpp} to ICC/Profile.{h,cpp}
2023-01-28 00:27:07 +00:00
MacDue
afb84df290
LibWeb: Add a few extra spec links to CanvasGradient
2023-01-28 00:26:48 +00:00
MacDue
f86b66dc2d
LibWeb: Throw exception if any canvas radial gradient radius is < 0
...
As per the specification:
https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-createradialgradient
2023-01-28 00:26:48 +00:00
Timothy Flynn
8dc4e05ecf
LibJS: Port Intl.DurationFormat to String
2023-01-28 00:13:59 +00:00
Timothy Flynn
4c8f7d76c4
LibJS: Port Intl.RelativeTimeFormat to String
2023-01-28 00:13:59 +00:00
Timothy Flynn
a824e1ac6a
LibJS: Remove last use of DeprecatedString from Intl.MathematicalValue
2023-01-28 00:13:59 +00:00
Timothy Flynn
a65bf16cd5
LibLocale: Remove last use of DeprecatedString from LibLocale
2023-01-28 00:13:59 +00:00
Timothy Flynn
9e4dbea0ee
LibJS: Use String::join and String::trim in Temporal AOs
2023-01-28 00:13:46 +00:00
Linus Groh
6e7459322d
AK: Remove StringBuilder::build() in favor of to_deprecated_string()
...
Having an alias function that only wraps another one is silly, and
keeping the more obvious name should flush out more uses of deprecated
strings.
No behavior change.
2023-01-27 20:38:49 +00:00
Sam Atkins
8dff4c577f
LibXML: Remove declarations for non-existent methods
2023-01-27 20:33:18 +00:00
Sam Atkins
7891ad2a28
LibWeb: Remove declarations for non-existent methods
2023-01-27 20:33:18 +00:00
Sam Atkins
8d31e04b8a
LibWasm: Remove declarations for non-existent methods
2023-01-27 20:33:18 +00:00
Sam Atkins
5cc4b37bf3
LibVideo: Remove declarations for non-existent methods
2023-01-27 20:33:18 +00:00
Sam Atkins
1568063cc8
LibTLS: Remove declarations for non-existent methods
2023-01-27 20:33:18 +00:00
Sam Atkins
6c66fd5ffb
LibRegex: Remove declarations for non-existent methods
2023-01-27 20:33:18 +00:00
Sam Atkins
bc1504c794
LibPDF: Remove declarations for non-existent methods
2023-01-27 20:33:18 +00:00
Sam Atkins
a39ac5a312
LibJS: Remove declarations for non-existent methods
2023-01-27 20:33:18 +00:00
Sam Atkins
c4c65ba727
LibIMAP: Remove declarations for non-existent methods
2023-01-27 20:33:18 +00:00
Sam Atkins
6d5fb9eb02
LibGfx: Remove declarations for non-existent methods
2023-01-27 20:33:18 +00:00
Sam Atkins
88bbbe12ba
LibGUI: Remove declarations for non-existent methods
2023-01-27 20:33:18 +00:00
Sam Atkins
12673d0e24
LibElf: Remove declarations for non-existent methods
2023-01-27 20:33:18 +00:00
Sam Atkins
2a699c904a
LibDSP: Remove declarations for non-existent methods
2023-01-27 20:33:18 +00:00
Sam Atkins
b5a3600bc7
LibCrypto: Remove declarations for non-existent methods
2023-01-27 20:33:18 +00:00
Sam Atkins
914d557097
LibCpp: Remove declarations for non-existent methods
2023-01-27 20:33:18 +00:00
Sam Atkins
80b948ab0d
LibCodeComprehension: Remove declarations for non-existent methods
2023-01-27 20:33:18 +00:00
Sam Atkins
df07c5be3a
AK: Remove unused DateTimeLexer class
2023-01-27 20:33:18 +00:00
Timothy Flynn
5e29e04122
LibJS+LibLocale: Propagate errors from find_regional_values_for_locale
...
This had quite the footprint.
2023-01-27 18:00:17 +00:00
Timothy Flynn
b2097f4059
LibJS+LibLocale: Port Intl.DateTimeFormat to String
2023-01-27 18:00:17 +00:00
Timothy Flynn
970e9df245
LibLocale: Remove "else" after "if" statements that always return
...
Mostly just to keep clangd quiet.
2023-01-27 18:00:17 +00:00
Sam Atkins
27d4912f12
LibWeb: Make NodeFilter::Result an enum class
2023-01-27 17:30:46 +00:00
Sam Atkins
a078fad787
LibWeb: Expose the NodeFilter's whatToShow values to C++
...
These are required if we want to use the NodeIterator or TreeWalker APIs
from C++, which we do for WebDriver.
2023-01-27 17:30:46 +00:00
Sam Atkins
c43db5dae7
WebDriver+LibWeb: Rename "click" to "element_click"
...
This matches the name used in the spec, and is unambiguous.
2023-01-27 17:30:46 +00:00
Nico Weber
f4bc10c84a
LibGfx: Make JPGLoader hand out embedded ICC bytes
2023-01-27 17:26:48 +00:00
Nico Weber
307712b398
LibGfx: Add a method to ImageDecoderPlugin for reading ICC data
...
This probably won't be the final API for getting color spaces
from images, since some formats just store an "is sRGB?" flag
instead of a full profile. Instead, once everything works,
we probably want to give every Bitmap a pointer to some
color space abstraction.
But we can always change this later, once things are further along
and better understood.
2023-01-27 17:26:48 +00:00
Sam Atkins
609a89cfb0
LibWeb: Correct logic in TreeWalker::next_node()
...
We were creating a new `result` variable here, when we should have been
assigning to the original one.
2023-01-27 15:20:41 +01:00
Nico Weber
87f1a0e957
LibGfx+icc: ICCProfile's primary_platform() should be optional
...
Found by running `icc` on a jpeg file produced by a Pixel phone
after #17195 .
2023-01-27 12:01:58 +00:00
Poseydon42
3cd04f40e1
LibCpp: Parse 'using namespace' declarations
...
This gets us a little bit closer to a fully capable C++ parser.
2023-01-27 12:40:40 +01:00
Julian Offenhäuser
22b1e1076a
LibGfx: Make OTF prefer Cmap tables of the Windows platform again
...
As the different Cmap encoding records are guaranteed to be sorted by
their platform ID, we would previously prefer the Macintosh platform
because of its lower ID value. However, this platform is split up into
a lot of encoding formats for different languages, and usually only
English is included. This meant that we could not handle most unicode
characters anymore.
The Windows platform now takes precedence again, as it can handle
arbitrary code points in its supported encodings.
This solution is still far from perfect, but it makes this regression
disappear for now.
2023-01-27 10:59:52 +01:00
Evan Smal
3226ce3d83
LibJS: Remove some usage of DeprecatedString usage from Lexer
...
This changes the filename member from DeprecatedString to String. Parser
has also been updated to meet the updated Lexer interface.
2023-01-26 20:25:25 +00:00
Evan Smal
cfa6b4d815
LibJS: Remove DeprecatedString usage from Token
2023-01-26 20:25:25 +00:00
Evan Smal
93674e4383
LibJS: Remove DeprecatedString usage from SourceCode
...
This change also requires updates to some users of the SourceCode
interface since it no longer use DeprecatedString.
2023-01-26 20:25:25 +00:00
Tim Schumacher
82a152b696
LibGfx: Remove try_
prefix from bitmap creation functions
...
Those don't have any non-try counterpart, so we might as well just omit
it.
2023-01-26 20:24:37 +00:00
Linus Groh
959a891df0
LibJS: Port parse_iso_date_time() to String
2023-01-26 20:20:54 +00:00
Linus Groh
6c8c650a55
LibJS: Port temporal_zoned_date_time_to_string() to String
2023-01-26 20:20:54 +00:00
Linus Groh
70e8a9bc8b
LibJS: Remove unused is_valid_time_zone_numeric_utc_offset_syntax()
...
...as well as the underlying function:
parse_time_zone_numeric_utc_offset_syntax()
2023-01-26 20:20:54 +00:00