1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:48:12 +00:00
Commit graph

15587 commits

Author SHA1 Message Date
Kenneth Myhra
251c063897 LibWeb: Make factory method of DOM::DOMTokenList fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
1e03aa0ece LibWeb: Make factory method of DOM::AccessibilityTreeNode fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
2c8a689390 LibWeb: Make factory methods of DOM::CustomEvent fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
5ef9e02658 LibWeb: Make factory method of DOM::Comment fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
50c5f0d7da LibWeb: Make factory method of DOM::Attr fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
b9c5828fe6 LibWeb: Make factory method of DOM::DOMImplementation fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
a5ad8b2959 LibWeb: Make factory method of DOM::AbortSignal fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
c4d559bd37 LibWeb: Make factory method of DOM::DocumentType fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
5f552ddc5c LibWeb: Make factory method of DOM::AbortController fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
491c18a346 LibWeb: Make factory method of DOM::DocumentFragment fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
8fbd43cb27 LibWeb: Make factory method of CSS::ResolvedCSSStyleDeclaration fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
f28b8431bf LibWeb: Make factory method of XHR::XMLHttpRequest fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
719839b882 LibWeb: Make factory method of CSS::StyleSheetList fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
57c34e6325 LibWeb: Make factory method of CSS::Screen fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
1e24126004 LibWeb: Make factory method of CSS::MediaQueryListEvent fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
64e4d3fd94 LibWeb: Make factory method of CSS::CSSSupportsRule fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
ada0a59fc1 LibWeb: Make factory method of URL::URL fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
6688f89ad3 LibWeb: Make factory method of FileAPI::FileList fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
15917146d3 LibWeb: Make factory method of FileAPI::Blob fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
bc02686ae9 LibWeb: Make factory method of CSS::MediaQueryList fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
5d9bc378c3 LibWeb: Make factory method of CSS::MediaList fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
a49ea467ad LibWeb: Make factory method of CSS::CSSStyleSheet fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
4f4a908e5f LibWeb: Make factory method of CSS::CSSStyleRule fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
c950d1904a LibWeb: Make factory methods of CSS::CSSStyleDeclaration fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
48872cd190 LibWeb: Make factory methods of CSS::CSSRuleList fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
5601f439f9 LibWeb: Make factory method of CSS::CSSMediaRule fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
d53d8cacec LibWeb: Make factory method of CSS::CSSImportRule fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
ff8495de35 LibWeb: Make factory method of CSS::CSSFontFaceRule fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
471ad7ba01 LibWeb: Make factory method of HTML::MessagePort fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
7ec444047c LibWeb: Make factory methods of HTML::MessageEvent fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
3d79cdf095 LibWeb: Make factory method of HTML::MessageChannel fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
52e9839d8b LibWeb: Make factory method of Crypto::SubtleCrypto fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
58af8e2021 LibWeb: Make factory method of Crypto::Crypto fallible 2023-02-18 00:52:47 +01:00
Kenneth Myhra
fb3294863e LibWeb: Return JS::NonnullGCPtr<StaticRange> instead of StaticRange* 2023-02-18 00:52:47 +01:00
Kenneth Myhra
6516329867 LibWeb: Propagate error in factory method of DOM::StaticRange 2023-02-18 00:52:47 +01:00
Kenneth Myhra
411097002b LibWeb: Add a method to ExceptionOr to drop error handling
This should solely be used to to ignore errors in infallible contexts.
2023-02-18 00:52:47 +01:00
Fausto Tommasi
a24c49c18c LibRegex: Add to_string method for RegexStringView 2023-02-17 16:32:02 +00:00
FrHun
30309bac1b LibGUI: Force re-layout on Frame thickness changes 2023-02-17 16:25:57 +00:00
FrHun
cb872f5c9a LibGUI: Adjust OpacitySlider min size for consistency
22 is the size usually used for default widget height, like Buttons and
Labels.
2023-02-17 16:25:57 +00:00
FrHun
f1271c7860 LibGUI: Use calculated_preferred_size for Progressbar default size 2023-02-17 16:25:57 +00:00
FrHun
6d79d932f9 LibGUI: Implement calculated sizes for Slider 2023-02-17 16:25:57 +00:00
FrHun
caf6dd5680 LibGUI: Implement calculated sizes for ValueSlider 2023-02-17 16:25:57 +00:00
FrHun
b6d45f9c1f LibGUI: Use calculated_preferred_size in SeparatorWidget 2023-02-17 16:25:57 +00:00
MacDue
e2691fcdf2 LibWeb: Always move (Nonnull)RefPtr parameters into StyleValues
This is done for consistency rather than any performance concerns.
2023-02-17 16:22:56 +00:00
MacDue
ac3af6624b LibWeb: Use default equality operators for StyleValues
This removes a load of manually implemented equality operators. This
is done with a little pattern where all properties of a StyleValue are
placed inside a Properties member struct, with a defaulted equality
operator. This is then used to do the actual StyleValue compare.

There is also a CTRP class to avoid manually implementing the virtual
operator==()s for all StyleValues.
2023-02-17 16:22:56 +00:00
MacDue
9337892ce0 LibWeb: Use default equality operators for StyleValue helper structs
Co-authored-by: kleines Filmröllchen <filmroellchen@serenityos.org>
2023-02-17 16:22:56 +00:00
kleines Filmröllchen
d00a6ca11f AK+LibWeb: Implement Variant equality operator
And make use of it for CSS StyleValues.
2023-02-17 16:22:56 +00:00
Nico Weber
89a8a198b2 LibGfx: Read embedded ICC profiles in .bmp files
Also add a spec link and slightly more BMP_DEBUG output.
2023-02-17 14:30:34 +00:00
Timothy Flynn
f6503577f6 LibJS: Propagate out-of-memory errors from HostImportModuleDynamically 2023-02-17 09:14:23 -05:00
Timothy Flynn
f98d0acd27 LibJS: Convert Error's constructor and prototype to String 2023-02-17 09:14:23 -05:00