Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename `center` method to `get_center` in Plane. | Raul Santos | 2023-01-15 | 1 | -1/+1 |
| | |||||
* | Fix Callable call error reporting. | Juan Linietsky | 2023-01-10 | 1 | -0/+1 |
| | | | | | | * Fix potential crash when using bind in `Variant::get_callable_error_text()` * Properly compute bound arguments so they can be properly shown. * Add a function to obtain the actual bound arguments. | ||||
* | Merge pull request #70996 from reduz/properly-report-callable-bound-arguments | Rémi Verschelde | 2023-01-09 | 1 | -0/+1 |
|\ | | | | | | | Properly report Callable bound arguments | ||||
| * | Properly report Callable bound arguments | Juan Linietsky | 2023-01-08 | 1 | -0/+1 |
| | | | | | | | | | | Fixes #63213 Adds a function: Callable::get_amount_of_arguments_bound() to query this in callables. Exposed to the engine API. | ||||
* | | Merge pull request #71000 from reduz/callable-bind-from-array | Rémi Verschelde | 2023-01-07 | 1 | -0/+1 |
|\ \ | | | | | | | | | | Allow binding Callable arguments from an array | ||||
| * | | Allow binding Callable arguments from an array | Juan Linietsky | 2023-01-06 | 1 | -0/+1 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restores 3.x functionality that was removed in the Signal/Callable refactor of 4.0. Fixes #64668. Implements https://github.com/godotengine/godot-proposals/issues/6034 Usage: ```GDScript callable.bindv([arg1,arg2,arg3]) ``` | ||||
* / | Unbind Variant methods that change immutable types. | Juan Linietsky | 2023-01-06 | 1 | -3/+1 |
|/ | | | | | Fixes #62706. Code is commented instead of removed to clarify why they should not be re-added. | ||||
* | One Copyright Update to rule them all | Rémi Verschelde | 2023-01-05 | 1 | -29/+29 |
| | | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see". | ||||
* | GDScript: Error when assigning return value of void function | George Marques | 2022-12-30 | 1 | -0/+2 |
| | | | | | This also makes built-in method calls empty the return value when the method is void, to avoid keeping returning a garbage value in such case. | ||||
* | Unify String and StringName | rune-scape | 2022-12-05 | 1 | -101/+240 |
| | |||||
* | Remove `Array.find_last()` | Micky | 2022-11-25 | 1 | -1/+0 |
| | |||||
* | Merge pull request #68386 from MewPurPur/snappedi-snappedf | Rémi Verschelde | 2022-11-24 | 1 | -0/+3 |
|\ | | | | | | | Implement snappedi, snappedf, and Vector[2/3/4]i.snapped | ||||
| * | Implement snappedi, snappedf, and Vector[2/3/4]i.snapped | VolTer | 2022-11-19 | 1 | -0/+3 |
| | | |||||
* | | Refactor Curve3D::_bake() method | Yaohua Xiong | 2022-11-24 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | The main change is to caculate tangent directly from bezier curve, without going through discretized polyline, avoiding pitfalls of discretization. Other changes are: 1. Add an bezier_derivative() method for Vector3, Vector2, and Math; 2. Add an tesselate_even_length() method to Curve3D, which tesselate bezier curve to even length segments adaptively; 3. Cache the tangent vectors in baked_tangent_vector_cache; | ||||
* | | Remove redundant Variant-types initializations | Markus Sauermann | 2022-11-14 | 1 | -2/+2 |
|/ | |||||
* | Add support for empty delimiter in String.split | kobewi | 2022-11-04 | 1 | -2/+2 |
| | |||||
* | Allow getting Quaternion rotation in different Euler orders | Aaron Franke | 2022-11-02 | 1 | -1/+1 |
| | |||||
* | Move EulerOrder enum to math_defs.h and global scope | Aaron Franke | 2022-11-02 | 1 | -16/+2 |
| | |||||
* | Merge pull request #68118 from aaronfranke/quat-from-euler | Rémi Verschelde | 2022-11-02 | 1 | -0/+1 |
|\ | | | | | | | Replace Quaternion Euler constructor with `from_euler` method | ||||
| * | Replace Quaternion Euler constructor with `from_euler` method | Aaron Franke | 2022-11-01 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #64830 from dalexeev/color-hide-internals | Rémi Verschelde | 2022-11-02 | 1 | -4/+0 |
|\ \ | |/ |/| | | | Remove internal functions of named colors from the public API | ||||
| * | Remove internal functions of named colors from the public API | Danil Alexeev | 2022-10-21 | 1 | -4/+0 |
| | | |||||
* | | Clean up Basis from Euler code | Aaron Franke | 2022-10-21 | 1 | -2/+2 |
| | | |||||
* | | add ability to pick random value from array | Nonunknown | 2022-10-20 | 1 | -0/+1 |
|/ | |||||
* | Add `is_finite` method for checking built-in types | Haoyu Qiu | 2022-10-08 | 1 | -0/+10 |
| | |||||
* | Merge pull request #65817 from bruvzg/typed_array | Rémi Verschelde | 2022-09-23 | 1 | -0/+8 |
|\ | |||||
| * | [GDExtension] Implement support for typed arrays. | bruvzg | 2022-09-22 | 1 | -0/+8 |
| | | |||||
* | | Callable: add callv method | Ricardo Buring | 2022-09-21 | 1 | -0/+1 |
|/ | | | | This method can be called from GDExtension. | ||||
* | Replace Rect2(i) has_no_area with has_area | Aaron Franke | 2022-09-04 | 1 | -2/+2 |
| | |||||
* | Replace AABB has_no_volume with has_volume | Aaron Franke | 2022-09-04 | 1 | -2/+2 |
| | | | | Also replace has_no_surface with has_surface | ||||
* | Add `is_zero_approx` methods to `Vector2`, `3`, and `4` | Jonathan Nicholl | 2022-09-02 | 1 | -0/+3 |
| | |||||
* | Merge pull request #63968 from KoBeWi/finding_stuff_in_a_dictionary | Rémi Verschelde | 2022-09-01 | 1 | -0/+1 |
|\ | |||||
| * | Add Dictionary.find_key() | kobewi | 2022-08-16 | 1 | -0/+1 |
| | | |||||
* | | Discontinued spherical_interpolate_with in Transform3D | Silc Renew | 2022-08-31 | 1 | -1/+0 |
| | | |||||
* | | Add `String.to_{camel,pascal,snake}_case` methods | Danil Alexeev | 2022-08-30 | 1 | -0/+3 |
| | | |||||
* | | Rename String `plus_file` to `path_join` | Aaron Franke | 2022-08-29 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #63602 from TokageItLab/cubic-interp-time | Rémi Verschelde | 2022-08-22 | 1 | -0/+4 |
|\ \ | |||||
| * | | Make `cubic_interpolate()` consider key time in animation | Silc Renew | 2022-08-19 | 1 | -0/+4 |
| |/ | |||||
* / | Expose Basis `set_orthogonal_index` method as a GridMap function | rafallus | 2022-08-20 | 1 | -1/+0 |
|/ | |||||
* | Expose clear method for packed arrays | Haoyu Qiu | 2022-08-10 | 1 | -0/+9 |
| | |||||
* | vector4 distance_squared_to and update csharp | antonWetzel | 2022-08-09 | 1 | -0/+1 |
| | |||||
* | Vector4/Vector4i: Add missing methods, tests and fix change of sign operator | Hendrik Brucker | 2022-08-07 | 1 | -0/+6 |
| | |||||
* | Arrays: Zero new items of trivial types on resize() (bindings only) | Rémi Verschelde | 2022-08-04 | 1 | -5/+5 |
| | | | | | | | | | | | | | | This is not enabled by default in the core version for performance reasons, as Vector/CowData are used in critical code paths where not zero'ing memory which is going to be set later on can be important. But for bindings / the scripting API, we make zero the new items by default (which already happened for built types like Vector3, etc., but not for trivial types like int, float). Fixes #43033. Co-authored-by: David Hoppenbrouwers <david@salt-inc.org> | ||||
* | Fix consistency of translated/scaled/rotated in Transform2D and Transform3D | Fabian Keller | 2022-08-02 | 1 | -0/+6 |
| | |||||
* | Remove Signal connect binds | Juan Linietsky | 2022-07-29 | 1 | -5/+5 |
| | | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind() | ||||
* | Merge pull request #63532 from TokageItLab/rename-cubic-slerp | Rémi Verschelde | 2022-07-28 | 1 | -2/+2 |
|\ | |||||
| * | rename and unify notation for spherical interpolation | Silc Renew | 2022-07-27 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #57698 from ↵ | Rémi Verschelde | 2022-07-28 | 1 | -2/+2 |
|\ \ | |/ |/| | | | bluenote10/feature/rename_translated_to_translated_local | ||||
| * | rename translate(d) to translate(d)_local in Transform 2D/3D | Fabian Keller | 2022-07-16 | 1 | -2/+2 |
| | | |||||
* | | Add some missing Vector4 methods | kobewi | 2022-07-26 | 1 | -1/+5 |
| | |