summaryrefslogtreecommitdiffstats
path: root/modules/websocket/library_godot_websocket.js
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | 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] Add function signatures to JS libraries.Fabio Alessandrelli2020-12-041-0/+4
|
* [HTML5] Run eslint --fix.Fabio Alessandrelli2020-11-231-31/+31
| | | | Should I write a poem about this whole new world? ;)
* [HTML5] Libraries refactor for linting.Fabio Alessandrelli2020-11-211-20/+20
| | | | | | | | | | | | 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.
* Fix godot_js_websocket_send function unused assignment.Marcel Admiraal2020-11-171-4/+2
|
* Remove empty lines around braces with the formatting scriptAaron Franke2020-11-161-1/+0
|
* [HTML5] Port JavaScript inline code to libraries.Fabio Alessandrelli2020-11-101-0/+187
The API is implemented in javascript, and generates C functions that can be called from godot. This allows much cleaner code replacing all `EM_ASM` calls in our C++ code with plain C function calls. This also gets rid of few hacks and comes with few optimizations (e.g. custom cursor shapes should be much faster now).