summaryrefslogtreecommitdiffstats
path: root/platform/javascript/js
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #45888 from Faless/js/4.x_xhr_fixRémi Verschelde2021-02-111-24/+6
|\ | | | | [HTML5] Fix HTTPClient request_raw.
| * [HTML5] Fix HTTPClient request_raw.Fabio Alessandrelli2021-02-111-24/+6
| | | | | | | | | | Now send data according to the spec, properly handle null data. Simplify JS code since we are at it.
* | [HTML5] Handle contextmenu, webglcontextlost internally.Fabio Alessandrelli2021-02-112-11/+12
|/ | | | | This way they are automatically cleaned up when the engine exits, landing a hand to browsers garbage collectors.
* [HTML5] Better editor HTML, small refactor.Fabio Alessandrelli2021-01-252-2/+1
| | | | | Side and GDNative libraries are now added by engine.js , the dynlink pre js had been deleted.
* [HTML5] Custom Gamepad library to allow remapping.Fabio Alessandrelli2021-01-181-1/+171
| | | | | | | No longer use emscripten functions for gamepads, implement them as library functions in library_godot_display.js instead. This allows us to do a better job at "guessing" vendorId, productId, OS, etc. thus allowing us to better find the remapping for the controller.
* Update copyright statements to 2021Rémi Verschelde2021-01-018-16/+16
| | | | | | | | | | | | | | Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
* [HTML5] Fix errors when Mic is not allowed.Fabio Alessandrelli2020-12-091-10/+16
|
* [HTML5] EditorRunNative works with GDNative.Fabio Alessandrelli2020-12-052-1/+8
| | | | | | This "breaks" our loading bar logic (libraries are not counted). Fixing it is non trivial and probably deserves investigating a different strategy.
* [HTML5] GDNative support via SIDE_MODULE.Fabio Alessandrelli2020-12-053-3/+6
| | | | Working with emscripten >= 2.0.10
* [HTML5] Add function signatures to JS libraries.Fabio Alessandrelli2020-12-046-0/+57
|
* [HTML5] Remove file flags from writeFile in setup.Fabio Alessandrelli2020-11-301-1/+1
| | | | Flags where deprecated and partly in removed in emscripten 2.0.9.
* [HTML5] Run eslint --fix.Fabio Alessandrelli2020-11-2311-384/+392
| | | | Should I write a poem about this whole new world? ;)
* [HTML5] Libraries refactor for linting.Fabio Alessandrelli2020-11-2112-0/+2156
Initial work to make liniting easier. This includes: - Rename http_request.js to library_godot_http_request.js. - Rename externs.js to engine.externs.js. - New library_godot_runtime.js (GodotRuntime) wraps around emscripten functions. - Refactor of XMLHttpRequest handler in engine/preloader.js. - Few fixes to bugs spotted by early stage linting.