godot/platform/javascript
Fabio Alessandrelli 35fcc1835c 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-19 18:27:21 +02:00
..
api Adding missing include guards to header files identified by LGTM. 2020-03-25 11:38:54 +01:00
engine JS synchronous start, better persistent FS sync. 2020-09-19 18:27:21 +02:00
export Make canvas resize optional in HTML5. 2020-09-19 18:27:21 +02:00
native JS synchronous start, better persistent FS sync. 2020-09-19 18:27:21 +02:00
audio_driver_javascript.cpp Use dummy driver when JS AudioContext is unavailable. 2020-07-02 14:30:23 +02:00
audio_driver_javascript.h Use dummy driver when JS AudioContext is unavailable. 2020-07-02 14:30:23 +02:00
detect.py [HTML5] Refactor JS, threads support, closures. 2020-06-18 09:21:14 +02:00
dom_keys.inc Swtich HTML5 key detection from keyCode to code. 2020-06-05 12:49:50 +02:00
emscripten_helpers.py [HTML5] Refactor JS, threads support, closures. 2020-06-18 09:21:14 +02:00
http_client.h.inc Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
http_client_javascript.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
http_request.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
javascript_eval.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
javascript_main.cpp JS synchronous start, better persistent FS sync. 2020-09-19 18:27:21 +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-19 18:27:21 +02:00
os_javascript.h JS synchronous start, better persistent FS sync. 2020-09-19 18:27:21 +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 14:09:51 +02:00