summaryrefslogtreecommitdiff
path: root/platform/javascript/js/engine/config.js
AgeCommit message (Collapse)Author
2022-07-15HTML5: Make `OS.get_locale()` match other platformspattlebass
Fixes #63029.
2022-02-06[HTML5] PWA service worker prefers cached version.Fabio Alessandrelli
Use an offline first approach, where we prefer the cached version over the network one. This forces games using PWA to always re-export the project and not just the PCK, so that the service worker version gets updated correctly, and the end-user cache is correctly cleared on update.
2022-02-03Revert "[HTML5] Better engine config parsing."Fabio Alessandrelli
This reverts commit 2f509f1b12c33234a0d8f0e254c727fd92e57720. Breaks closure compiler builds. And adds a warning for future readers.
2022-01-31[HTML5] Better engine config parsing.Fabio Alessandrelli
2021-06-25[HTML5] Add option to focus canvas on start.Fabio Alessandrelli
Enabled by default.
2021-03-12[HTML5] Drag and drop zip in project manager.Fabio Alessandrelli
With a very nice hack, a new hidden configuration option that delays dropped files removal at exit. This still leaks while the project manager is running, but will clear memory as soon as it exits or load something. (reminder, dropped files are reguarly removed after the signal is emitted specifically to avoid leaks, but I prefer hacking the HTML5 config then the project manager).
2021-03-11[HTML5] Opt-in virtual keyboard support.Fabio Alessandrelli
Added as an export option "Experimental Virtual Keyboard". There is no zoom, so text/line edit must be in the top part of the screen, or it will get hidden by the virtual keyboard. UTF8/Latin-1 only (I think regular UTF-8 should work out of the box in 4.0 but I can't test it). It uses an hidden textarea or input, based on the multiline variable, and only gets activated if the device has a touchscreen. This could cause problems on devices with both touchscreen and a real keyboard (although input should still work in general with some minor focus issues). I'm thinking of a system to detect the first physical keystroke and disable it in case, but it might do more harm then good, so it must be well thought.
2021-03-05[HTML5] Export process writes sizes in template.Fabio Alessandrelli
This allow the loading bar to be much more reliable, even in cases where realible stream loading status is not detectable (server-side compression, chunked encoding).
2021-03-05[HTML5] Preloader fetch, streaming instantiation.Fabio Alessandrelli
2021-02-26[HTML5] Document Engine and EngineConfig (jsdoc).Fabio Alessandrelli
This commit also removes the utils.js engine file, moving some of it's content to config.js and some to engine.js .
2021-02-19[HTML5] Easier HTML templates, better deinit/cleanup.Fabio Alessandrelli