Luke Wilde
2e1640a6c5
LibWeb/WebGL: Implement deleteBuffer
2024-12-05 21:27:32 +01:00
Luke Wilde
4c0872ea1b
LibWeb/WebGL: Implement getBufferParameter
2024-12-05 21:27:32 +01:00
Luke Wilde
a65a981a6b
LibWeb/WebGL: Add initial implementation of texImage2D with image source
...
a
2024-12-05 21:27:32 +01:00
Luke Wilde
a513bdaac6
LibWeb/WebGL: Implement bindRenderbuffer
2024-12-05 21:27:32 +01:00
Luke Wilde
d185c2c28c
LibWeb/WebGL: Implement createRenderbuffer
2024-12-05 21:27:32 +01:00
Luke Wilde
b0bcecfc53
LibWeb/WebGL: Implement bindFramebuffer
2024-12-05 21:27:32 +01:00
Luke Wilde
c5e9615c29
LibWeb/WebGL: Implement createFramebuffer
2024-12-05 21:27:32 +01:00
R-Goc
2ac8408fef
CMake: Fix Windows exceptions flag
...
This commit changes the exception flag to match the description and turn
off exceptions. This matches the behavior of -fno-exceptions. However,
on Windows SEH exceptions are always available, and there's no easy way
to turn them off. This flag should also suppress previous /EHsc flags,
if they get automatically set by cmake. Reference:
https://learn.microsoft.com/en-us/cpp/build/reference/eh-exception-handling-model?view=msvc-170
2024-12-05 20:34:22 +01:00
Sam Atkins
2c3c821305
LibWeb: Remove Realm parameter from property_initial_value()
...
We don't need the Realm to parse a style value.
Fixes #2720
2024-12-05 19:59:57 +01:00
Lucas CHOLLET
4d7b7178f9
Meta/vcpkg: Set default visibility for skcms symbols
...
Without this patch, as skia is compiled with -fvisibility=hidden, no
skcms function is accessible from outside skia's code.
2024-12-05 17:16:41 +01:00
Aliaksandr Kalenik
ae6edfb845
LibWeb/WebGL: Implement getProgramInfoLog()
2024-12-05 16:42:19 +01:00
Aliaksandr Kalenik
b8109c3047
LibWeb/WebGL: Implement bindAttribLocation()
2024-12-05 16:42:19 +01:00
Aliaksandr Kalenik
11ddc88ed7
LibWeb/WebGL: Remove FIXME from isContextLost() IDL method
...
Currently this function always returns false, but that's better than
not having it at all.
2024-12-05 16:42:19 +01:00
Aliaksandr Kalenik
c817eb8d2b
LibWeb/WebGL: Implement getContextAttributes()
2024-12-05 09:57:10 +01:00
Aliaksandr Kalenik
a8c282a30e
IDLGenerators: Allow returning nullable dictionaries from IDL methods
2024-12-05 09:57:10 +01:00
Aliaksandr Kalenik
110f89ee25
LibWeb/WebGL: Implement getShaderInfoLog()
...
With this change we have enough WebGL support to display demos on
https://ciechanow.ski/lights-and-shadows/ but most of them are not
redering correctly yet.
2024-12-05 01:23:10 +01:00
Aliaksandr Kalenik
66a38f1abc
CodeGenerators: Implement getParameter() according to the WebGL spec
...
Fixes https://github.com/LadybirdBrowser/ladybird/issues/2759
2024-12-04 22:21:13 +01:00
Tim Ledbetter
9c63785d0f
Meta: Disallow importing ref tests with multiple match or mismatch links
...
Our internal test runner does not currently support this, so let's
explicitly disallow it for now to avoid potential confusion.
2024-12-04 19:50:00 +00:00
Tim Ledbetter
e059ac6a1a
Meta: Allow importing WPT ref tests with mismatch conditions
...
Previously, ref tests with mismatch conditions were misclassified as
text tests.
2024-12-04 19:50:00 +00:00
Jonne Ransijn
1ddc4050f7
Meta: Print failed pre-commit steps in bold
...
This makes them easier to find, especially for colorblind people.
2024-12-04 16:45:58 +00:00
Shannon Booth
0fa54c2327
LibURL+LibWeb: Make URL::serialize return a String
...
Simplifying a bunch of uneeded error handling around the place.
2024-12-04 16:34:13 +00:00
Jonne Ransijn
d7596a0a61
AK: Don't implicitly convert Optional<T&> to Optional<T>
...
C++ will jovially select the implicit conversion operator, even if it's
complete bogus, such as for unknown-size types or non-destructible
types. Therefore, all such conversions (which incur a copy) must
(unfortunately) be explicit so that non-copyable types continue to work.
NOTE: We make an exception for trivially copyable types, since they
are, well, trivially copyable.
Co-authored-by: kleines Filmröllchen <filmroellchen@serenityos.org>
2024-12-04 01:58:22 +01:00
Aliaksandr Kalenik
7e78d7d332
LibWeb/WebGL+Meta: Stub getSupportedExtensions() and getExtension()
2024-12-03 23:35:45 +01:00
Aliaksandr Kalenik
64fec8b2de
LibWeb/WebGL: Implement texImage2D()
2024-12-03 23:35:45 +01:00
Aliaksandr Kalenik
3c2ac309ca
LibWeb/WebGL: Implement getActiveAttrib() and getActiveUniform()
2024-12-03 23:35:45 +01:00
Aliaksandr Kalenik
f3a24d1569
LibWeb: Implement more WebGL calls
2024-12-03 23:35:45 +01:00
Aliaksandr Kalenik
46cbbda944
LibWeb: Increase SkSurface's generation id when it's modified by WebGL
...
Skia is not aware of surface modifications done by WebGL, so we need to
manually increase generation id whenver WebGL invokes a writing
function.
2024-12-03 23:35:45 +01:00
Aliaksandr Kalenik
e2e54dccc3
LibWeb: Generate WebGLRenderingContext implementation
2024-12-03 23:35:45 +01:00
Ben Wiederhake
079fdf50d4
Meta+Documentation: Update config for QtCreator
...
We no longer use C or raw assembly (*.S), and generated include files
have moved to Build/release/Lagom/.
2024-12-02 09:45:32 +00:00
Jonne Ransijn
58631e9eef
LibJS: Add missing CommonPropertyNames
s and StringMayBeNumber::No
s
2024-12-01 10:42:49 +01:00
Sam Atkins
3124dca528
LibURL+LibWebView: Move public suffix data to LibURL
2024-11-30 12:07:39 +01:00
Sam Atkins
edcdcea92d
LibWebView: Simplify string joining in GeneratePublicSuffixData
...
Super minor, but gets rid of a clangd warning about the builder name
already being used.
2024-11-30 12:07:39 +01:00
Shannon Booth
286c177896
LibWeb: Support 'Worklet' exposed
2024-11-30 11:19:35 +01:00
Shannon Booth
4417f63ca0
LibWeb: Move ServiceWorker classes to ServiceWorker namespace
...
These are defined by the ServiceWorker spec, not the HTML one.
2024-11-30 11:19:35 +01:00
Shannon Booth
04508841e9
LibWeb: Fix indent of the IDL generator using namespace hack
2024-11-30 11:19:35 +01:00
devgianlu
1f7586ce14
LibCrypto: Use ASN1 macros for RSA key parsing
...
Improve error handling in `RSA::parse_rsa_key` by using ASN1 macros and
generalizing the parsing to both private and public keys.
2024-11-30 11:17:44 +01:00
Sam Atkins
c405c4bcf1
LibWeb: Allow calling property_initial_value() without a Realm
...
In this situation we're only able to get initial values that have
already been parsed. It's a little sketchy but doesn't seem to break
anything.
2024-11-30 11:01:12 +01:00
Pavel Shliak
d223cf25af
LibWeb: Fix LegacyNullToEmptyString flag handler in IDL
2024-11-29 20:23:01 +00:00
Tim Ledbetter
e5c99b475a
IDLGenerators: Set reflected unsigned long value according to spec
...
Setting an unsigned long attribute with IDL to a value outside the
range 0 to 2147483647, the value should be set to the default value.
2024-11-27 11:00:25 +01:00
Andreas Kling
dd7623eb30
LibWeb: Rename NestedBrowsingContextP => NavigableContainerViewportP
...
...where P is for Paintable :^)
2024-11-26 18:32:48 +01:00
Andreas Kling
443a8539e9
LibWeb: Rename Layout::FrameBox => NavigableContainerViewport
2024-11-26 18:32:48 +01:00
stelar7
48fae7b64f
LibWeb: Add IDBKeyRange
2024-11-26 14:50:27 +01:00
stelar7
20a92a81c4
LibWeb: Add IDBTransaction
2024-11-26 14:50:27 +01:00
stelar7
16ce2b975a
LibWeb: Add IDBObjectStore
2024-11-26 14:50:27 +01:00
stelar7
297c775b34
LibWeb: Add IDBIndex
2024-11-26 14:50:27 +01:00
stelar7
71772d97dc
LibWeb: Add IDBCursor
2024-11-26 14:50:27 +01:00
Jelle Raaijmakers
614b93beca
Meta: Set constructor prototype in IDLGenerators
...
Without this, retrieving `__proto__` from any interface will always
yield an instance of `FunctionPrototype`.
2024-11-26 12:44:05 +00:00
Jelle Raaijmakers
db43ed03a8
Meta: Use namespaced JS::call
invocations in IDLGenerators
...
When experimenting with different inheritance structures, I ended up
seeing compilation failures whenever a parent class defined a `call`
method. This seems more in line with the rest of the code.
2024-11-26 12:44:05 +00:00
Andrew Kaster
0075048206
LibCore: Remove SessionManagement utilities
...
We don't need these, they are only relevant for SerenityOS system
builds of LibCore.
2024-11-26 11:00:48 +01:00
stasoid
3f7affa825
LibCore/System: Add mmap, munmap for Windows
2024-11-26 10:00:11 +01:00