summaryrefslogtreecommitdiffstats
path: root/platform/javascript
Commit message (Collapse)AuthorAgeFilesLines
* Add support for multiple virtual keyboard typesBrian Semrau2022-08-044-8/+47
|
* Extract EditorResourceConversionPlugin into its own source files and clean ↵Yuri Sizov2022-07-312-0/+2
| | | | up editor includes
* Merge pull request #63563 from aaronfranke/export-archRémi Verschelde2022-07-302-3/+3
|\
| * Make some editor export methods constAaron Franke2022-07-292-3/+3
| |
* | Remove Signal connect bindsJuan Linietsky2022-07-292-6/+6
|/ | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
* HTML5: Add support for `Input.vibrate_handheld()`pattlebass2022-07-274-0/+16
|
* Split up editor export code into multiple filesAaron Franke2022-07-262-2/+1
|
* Code quality: Fix header guards consistencyRémi Verschelde2022-07-259-8/+9
| | | | | Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
* HTML5: Make `OS.get_locale()` match other platformspattlebass2022-07-151-0/+1
| | | | Fixes #63029.
* Add static methods for creating Image and ImageTexturekobewi2022-07-081-7/+2
|
* Default cursor fix for html5 exportRaffaele Picca2022-07-011-2/+2
|
* refactoring: simplify compiler version checkJiri Suchan2022-06-141-13/+7
|
* [HTML5] Add GDNative+Threads build.Fabio Alessandrelli2022-06-145-23/+30
|
* Add readable export errors.bruvzg2022-06-081-17/+23
|
* HTML5: Run `npm audit fix`Rémi Verschelde2022-05-252-90/+151
| | | | | And re-add `node_modules` to `.gitignore` which I mistakenly removed with an earlier cleanup.
* HTML5: Enable mbedTLS module for Crypto objectRémi Verschelde2022-05-251-5/+0
| | | | | | | | | | Increases the size of the wasm by around 3% (~300-350 KiB). This enables using the Crypto object for hashing, signing and encryption, and therefore reduces the gap between the features of the HTML5 platform and other platforms. Closes https://github.com/godotengine/godot-proposals/issues/3574.
* Add a new HashSet templatereduz2022-05-201-1/+1
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Merge pull request #61020 from timothyqiu/wait-busyRémi Verschelde2022-05-191-2/+2
|\
| * Swap the meaning of CURSOR_WAIT and CURSOR_BUSYHaoyu Qiu2022-05-141-2/+2
| |
* | Replace most uses of Map by HashMapreduz2022-05-165-9/+9
|/ | | | | | | | | | | | * Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
* Fix ZipIO crash when reused (and possible leaks).bruvzg2022-05-112-2/+4
|
* [HTML5] Limit the returned OS cpu count to 2.Fabio Alessandrelli2022-05-111-1/+3
| | | | Temporarily workaround issues due to godot spawning too many threads.
* [HTML5] Fix JS "tools" editor plugin.Fabio Alessandrelli2022-05-101-1/+1
| | | | Needed update after file/dir access refactoring.
* [HTML5] Add "webgl/webgl2.h" as OpenGL include.Fabio Alessandrelli2022-05-102-0/+39
| | | | Requires emscripten versions > 2.0.17 .
* Merge pull request #51682 from mdavisprog/os-is-process-runningRémi Verschelde2022-05-042-0/+5
|\ | | | | OS::is_process_running function.
| * Add OS::is_process_running function.mdavisprog2022-05-032-0/+5
| | | | | | | | | | | | | | | | Adds the is_process_running function to the native OS class and exposes it to script. This is implemented on Windows and Unix platforms. A stub is provided for other platforms that do not support this function. Documentation is updated to reflect new API function.
* | [JS] Add flag to disable weak symbols in ZSTD.Fabio Alessandrelli2022-05-031-0/+2
| | | | | | | | Weak symbols are currently broken in upstream emscripten.
* | Added missing signature.Fabio Alessandrelli2022-05-031-0/+1
|/
* Merge pull request #60714 from Calinou/typedef-remove-refRémi Verschelde2022-05-033-3/+3
|\ | | | | Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`
| * Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio2022-05-033-3/+3
| | | | | | | | | | | | These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
* | Add GDNativeInterface::get_library_path to GDExtensionEmmanuel Leblond2022-04-292-2/+7
|/
* Implement text-to-speech support on Android, iOS, HTML5, Linux, macOS and ↵bruvzg2022-04-284-0/+202
| | | | | | Windows. Implement TextServer word break method.
* Fix more issues found by cppcheck.bruvzg2022-04-201-1/+1
|
* Narrow FileAccess scope to prevent deadlocks.bruvzg2022-04-121-6/+8
|
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-113-42/+22
|
* Fix some issues found by cppcheck.bruvzg2022-04-061-1/+1
|
* HTML5: Explain why export templates are missingRémi Verschelde2022-03-261-0/+9
| | | | | | | Same for UWP. This is skipped in DEV_ENABLED builds so contributors can still test the export pipeline (and CI still compiles it on debug builds).
* Bump minimist from 1.2.5 to 1.2.6 in /platform/javascriptdependabot[bot]2022-03-231-6/+6
| | | | | | | | | | | | | Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* Merge pull request #59062 from BastiaanOlij/storagerd_textureRémi Verschelde2022-03-171-1/+1
|\
| * Split dummy renderer classes into separate filesBastiaan Olij2022-03-161-1/+1
| | | | | | | | Split canvas_texture_storage and texture_storage from render_storage class
* | Implement GDExtension export plugin.bruvzg2022-03-161-1/+1
|/
* Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde2022-03-112-12/+12
| | | | | | | | `DirAccess *` needs to be deleted manually, and this is often forgotten especially when doing early returns with `ERR_FAIL_COND`. `DirAccessRef` is deleted automatically when it goes out of scope. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
* Discern between virtual and abstract class bindingsreduz2022-03-101-2/+2
| | | | | | | | | | | | | | * Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract". * Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions. * Converted a large amount of classes from "abstract" to "virtual" where it makes sense. Most classes that make sense have been converted. Missing: * Physics servers * VideoStream * Script* classes. which will go in a separate PR due to the complexity involved.
* Remove VARIANT_ARG* macrosreduz2022-03-091-2/+2
| | | | | | | | * Very old macros from the time Godot was created. * Limited arguments to 5 (then later changed to 8) in many places. * They were replaced by C++11 Variadic Templates. * Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard. * Also added a dereference check for Variant*. Helped catch a couple of bugs.
* Revert "[HTML5] Fetch API now passes credentials."Rémi Verschelde2022-03-071-1/+0
|
* Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde2022-02-163-5/+9
| | | | | Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
* HTML5: Fix build after #52742Rémi Verschelde2022-02-161-1/+2
| | | | Fixes #58172.
* Editor: Cleanup some includes dependenciesRémi Verschelde2022-02-153-4/+2
| | | | | | | | | | | Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
* Merge pull request #58081 from tavurth/bugfix/high-macos-cpu-usageRémi Verschelde2022-02-151-1/+1
|\
| * Fix new performance regressions (short delay_usec)Will Whitty2022-02-151-1/+1
| | | | | | | | | | | | | | | | My Mac was using 20% cpu again, which was related to the Javascript Export plugin. I had however no export templates setup in the project so this is more of a stopgap fix.