summaryrefslogtreecommitdiffstats
path: root/platform/javascript/javascript_singleton.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde2022-02-161-0/+1
| | | | | Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
* [HTML5] Implement JavaScript PWA update callbacks.Fabio Alessandrelli2022-02-061-0/+8
| | | | | | Allows detecting when a new version of the progressive web app service worker is waiting (i.e. an update is pending), along a function to force the update and reload all clients.
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* [HTML5] Fix JavaScript string parsing with new interface.Fabio Alessandrelli2021-07-071-1/+1
| | | | | Strings are UTF-8 encoded and should be parsed as such, while it was being parsed as a C string before.
* [HTML5] JS callback functions now returns passed value.Fabio Alessandrelli2021-06-181-0/+11
| | | | | | | | JavaScript callbacks created via the `JavaScript.create_callback` method used to always return void. With this patch they return the value returned by the Godot function as one would expect.
* [HTML5] Fix JS build without eval.Fabio Alessandrelli2021-06-141-3/+6
| | | | Also fix download_buffer return type.
* [HTML5] Add easy to use download API.Fabio Alessandrelli2021-05-211-0/+5
| | | | | New `JavaScript.download_buffer` method to create a prompt that let the user download a file.
* [HTML5] Implement Godot <-> JavaScript interface.Fabio Alessandrelli2021-05-201-0/+338