godot/platform/javascript
Fabio Alessandrelli dccd71c7a3 JS synchronous start, better persistent FS sync.
The engine now expects to emscripten FS to be setup and sync-ed before
main is called. This is exposed via `Module["initFS"]` which also allows
to setup multiple persistence paths (internal use only for now).

Additionally, FS syncing is done **once** for every loop if at least one
file in a persistent path was open for writing and closed, and if the FS
is not syncing already.

This should potentially fix issues reported by users where "autosave"
would not work on the web (never calling `syncfs` because of too many
writes).
2020-09-23 09:51:06 +02:00
..
api Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
engine JS synchronous start, better persistent FS sync. 2020-09-23 09:51:06 +02:00
export Make canvas resize optional in HTML5. 2020-09-23 09:51:06 +02:00
native JS synchronous start, better persistent FS sync. 2020-09-23 09:51:06 +02:00
audio_driver_javascript.cpp Use dummy driver when JS AudioContext is unavailable. 2020-07-01 17:16:13 +02:00
audio_driver_javascript.h [HTML5] Add override keyword, cleanup methods. 2020-09-18 18:48:59 +02:00
detect.py Fix Closure compiler build, python style. 2020-05-10 18:22:48 +02:00
display_server_javascript.cpp Better HiDPI support in HTML5. 2020-09-23 09:51:06 +02:00
display_server_javascript.h [HTML5] Add override keyword, cleanup methods. 2020-09-18 18:48:59 +02:00
dom_keys.inc Swtich HTML5 key detection from keyCode to code. 2020-06-04 21:15:05 +02:00
emscripten_helpers.py SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
http_client_javascript.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
http_client.h.inc Port member initialization from constructor to declaration (C++11) 2020-05-14 10:01:56 +02:00
http_request.h Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
javascript_eval.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
javascript_main.cpp JS synchronous start, better persistent FS sync. 2020-09-23 09:51:06 +02:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2019-10-12 23:23:33 +02:00
os_javascript.cpp JS synchronous start, better persistent FS sync. 2020-09-23 09:51:06 +02:00
os_javascript.h JS synchronous start, better persistent FS sync. 2020-09-23 09:51:06 +02:00
platform_config.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
run_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
SCsub Fix typos with codespell 2020-09-18 13:44:25 +02:00