a7d18f51a2
Web: Add godot_pool_size/emscripten_pool_size config
2025-05-30 20:38:24 +02:00
57125f48ce
Merge pull request #98069 from thedinosoar/fix/service-worker-sandbox-error-98068
...
[Web] Fix PWA callback assignment causing crash in sandboxed iframes
2024-11-25 13:22:29 -06:00
1768a1b991
Remove deprecated worker.js file
2024-11-11 09:47:43 -08:00
05b266bd89
Fix PWA callback assignment and error handling
2024-10-22 10:28:21 -07:00
bcd776e441
Fix AudioStreamPlayer get_playback_position() for web build
2024-08-08 15:58:25 -04:00
52fa4f05f3
Add samples playback support
2024-06-18 11:06:31 -04:00
27d67b5ae6
[Web] Use the module config to preload GDExtension libraries.
...
Instead of calling loadDynamicLibraries ourselves, we add the
GDExtension libraries to preload to the "dynamicLibraries" module config
property.
This seems to fix some threading issue with some browsers during the
init phase.
2024-06-14 16:04:16 +02:00
1a89ae70eb
Upgrade to eslint 9
2024-05-22 11:32:25 +02:00
8079cd4358
[Web] Fix closure compiler typedef annotation
...
The typedef annotation is expected to come bofre a var (or const) since
it's most commonly used in externs. Use an inline definition instead.
2024-04-26 13:11:41 +02:00
62cec03a06
Add option to ensure cross-origin isolation headers on web export
2024-02-12 09:27:39 -05:00
7223c5b54a
Fix various typos with codespell
...
Using 2.2.7.dev115+g0eb441d6.
Had to add `cancelled` to the ignore list, as it's a Wayland signal which
we're handling in our code, so we don't want codespell to fix that "typo".
Also includes the typo fix from #87927 .
Co-authored-by: Divyanshu Shekhar <61140213+divshekhar@users.noreply.github.com >
2024-02-07 11:09:34 +01:00
bd70b8e1f6
Add THREADS_ENABLED macro in order to compile Godot to run on the main thread
2024-01-17 13:58:29 -05:00
bb69f0c090
[Web] Improve emscripten "locateFile" glue.
...
Be more selective on what we rewrite, since in recent emscripten
versions loading dynamic libraries relies on it.
2023-10-11 21:21:34 +02:00
56a3cdc2f0
Web: Catch using GDExtensions in a non-dlink build
...
Previously this would simply fail with a cryptic
`me.rtenv.loadDynamicLibrary is not a function` error.
2023-10-06 18:02:53 +02:00
be1c9d677d
Rename all gdnative occurences to gdextension
...
Non-exhaustive list of case-sensitive renames:
GDExtension -> GDNative
GDNATIVE -> GDEXTENSION
gdextension -> gdnative
ExtensionExtension ->Extension (for where there was GDNativeExtension)
EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION)
gdnlib -> gdextension
gdn_interface -> gde_interface
gdni -> gde_interface
2022-12-12 11:04:57 +01:00
23f3adb7a0
Merge pull request #67815 from Calinou/html5-improve-feature-errors
...
Improve feature errors in HTML5 for easier understanding
2022-11-28 08:40:39 +01:00
cece83fdf2
[Web] Improve Godot shutdown and cleanup.
2022-11-05 14:06:09 +01:00
8fcd54d13e
Improve feature errors in HTML5 for easier understanding
2022-10-23 19:13:42 +02:00
6bbde346ab
[Web] Add feature detection helpers to JS Engine class.
2022-09-17 11:21:17 +02:00
27f22b29f8
[Web] Small fixes and enhancements.
...
- "Definitive" fix for ENOENT randomly disappearing from emscripten.
- Proper shutdown when setup fails.
- Re-enable WebGL explicit buffer swap.
- Re-enable optional per-pixel transparency.
- Add type cast to make closure compiler happy.
- Remove emscripten Safari WebGL workaround.
- Improve AudioWorklet cleanup.
2022-09-11 09:45:09 +02:00
d20b32186f
[Web] Rename JavaScript platform to Web.
...
Also rename export name from "HTML5" to "Web".
2022-08-29 11:52:00 +02:00