godot/platform/javascript
Rémi Verschelde 768f9422bc Convert uses of DirAccess * to DirAccessRef to prevent memleaks
`DirAccess *` needs to be deleted manually, and this is often forgotten
especially when doing early returns with `ERR_FAIL_COND`.
`DirAccessRef` is deleted automatically when it goes out of scope.

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-03-11 09:13:11 +01:00
..
api Convert uses of DirAccess * to DirAccessRef to prevent memleaks 2022-03-11 09:13:11 +01:00
export Convert uses of DirAccess * to DirAccessRef to prevent memleaks 2022-03-11 09:13:11 +01:00
js Revert "[HTML5] Fetch API now passes credentials." 2022-03-07 12:52:26 +01:00
.eslintrc.engine.js [HTML5] Document Engine and EngineConfig (jsdoc). 2021-02-26 11:33:59 +01:00
.eslintrc.js HTML5: Fix minification error with Emscripten 1.39.9 2021-09-29 09:11:11 +02:00
.eslintrc.libs.js [HTML5] Refactor JS library listeners to OS. 2021-10-05 14:15:07 +02:00
audio_driver_javascript.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
audio_driver_javascript.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
detect.py Force threads when compiling web editor instead of erroring out 2022-01-19 17:07:20 +01:00
display_server_javascript.cpp Style: Cleanup single-line blocks, semicolons, dead code 2022-02-16 14:06:29 +01:00
display_server_javascript.h Add screen_get_refresh_rate to DisplayServer 2022-02-03 21:50:32 -06:00
dom_keys.inc Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
emscripten_helpers.py HTML5: Handle GODOT_VERSION_STATUS env var in @GODOT_VERSION@ 2021-08-19 15:01:30 +02:00
godot_audio.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
godot_js.h [HTML5] Implement JavaScript PWA update callbacks. 2022-02-06 18:53:50 +01:00
http_client_javascript.cpp Verify custom HTTP headers, fix off by one error 2022-01-27 03:22:37 +01:00
http_client_javascript.h [Net] Fix get_response_body_length for large files. 2022-01-23 01:30:35 +01:00
javascript_main.cpp HTML5: Fix build after #52742 2022-02-16 08:37:58 +01:00
javascript_runtime.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
javascript_singleton.cpp Remove VARIANT_ARG* macros 2022-03-09 18:39:13 +01:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2019-10-12 23:23:33 +02:00
os_javascript.cpp Style: Cleanup single-line blocks, semicolons, dead code 2022-02-16 14:06:29 +01:00
os_javascript.h [HTML5] Implement JavaScript PWA update callbacks. 2022-02-06 18:53:50 +01:00
package-lock.json Add local web server configuration designed for web editor development 2022-01-20 16:42:00 +01:00
package.json Add local web server configuration designed for web editor development 2022-01-20 16:42:00 +01:00
platform_config.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
README.md Add logo attribution for Android, HTML5 and Linux platform icons 2021-09-11 19:34:10 +02:00
run_icon.png
SCsub [HTML5] Use absolute path for JS lib/pre/externs. 2021-11-26 12:44:51 +01:00
serve.json Add local web server configuration designed for web editor development 2022-01-20 16:42:00 +01:00

HTML5 platform port

This folder contains the C++ and JavaScript code for the HTML5/WebAssembly platform port, compiled using Emscripten.

It also contains a ESLint linting setup (see package.json).

See also misc/dist/html folder for files used by this platform such as the HTML5 shell.

Artwork license

logo.png and run_icon.png are licensed under Creative Commons Attribution 3.0 Unported per the HTML5 logo usage guidelines.