Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-02-12 | Improve compilation speed (forward declarations/includes cleanup) | Hendrik Brucker | |
2022-02-11 | Fix Variant Ref<> assignment. | reduz | |
-Creating from object pointer via funcptr API was missing reference initialization. -Supersedes https://github.com/godotengine/godot-cpp/pull/662 -Fixes several crashes in GDExtension | |||
2022-02-08 | Merge pull request #57066 from KoBeWi/in_the_name_of_the_custom | Rémi Verschelde | |
2022-02-08 | [GDExtension] Add binds for missing methods, operators, and constants ↵ | bruvzg | |
required for GDExtension TextServer implementation. | |||
2022-02-07 | Fix script editor errors with CustomCallables | kobewi | |
2022-02-06 | Fix integer vector mul/div operators and bindings. | reduz | |
* Vector2i and Vector3i mul/div by a float results in Vector2 and Vector3 respectively. * Create specializations to allow proper bindings. This fixes #44408 and supersedes #44441 and keeps the same rule of int <op> float returnig float, like with scalars. | |||
2022-02-04 | Core: Move Vector2i to its own `vector2i.h` header | Rémi Verschelde | |
Also reduce interdependencies and clean up a bit. | |||
2022-02-04 | Core: Move Rect2i to its own `rect2i.h` header | Rémi Verschelde | |
And take the opportunity to improve interdependencies a bit with forward declares where possible. | |||
2022-02-04 | Cleanup and move char functions to the `char_utils.h` header. | bruvzg | |
2022-02-03 | Merge pull request #57562 from AnilBK/string-add-contains | Rémi Verschelde | |
String: Add contains(). | |||
2022-02-04 | String: Add contains(). | Anilforextra | |
2022-02-03 | [GDExtension] Fix registration of functions with enum or native pointer ↵ | bruvzg | |
return type. | |||
2022-01-30 | Add support for the escaped UTF-16 and UTF-32 Unicode characters in the ↵ | bruvzg | |
scripts and expressions. | |||
2022-01-27 | Merge pull request #57205 from TechnoPorg/variant-template-cast | Rémi Verschelde | |
Allow method binds to take Object subclasses as arguments | |||
2022-01-27 | Merge pull request #57281 from Rubonnek/rename-subsequence | Rémi Verschelde | |
2022-01-27 | Expose Transform3D::sphere_interpolate_with() | Max Hilbrunner | |
2022-01-26 | Rename String::is_subsequence_ofi to String::is_subsequence_ofn | Wilson E. Alvarez | |
2022-01-25 | Allow method binds to take Object subclasses as arguments | TechnoPorg | |
This commit adds a condition to VariantCaster that casts Variants of type OBJECT to any type T, if T is derived from Object. This change enables a fair bit of code cleanup. First, the Variant implicit cast operators for Node and Control can be removed, which allows for some invalid includes to be removed. Second, helper methods in Tree whose sole purpose was to cast arguments to TreeItem * are no longer necessary. A few small changes also had to be made to other files, due to the changes cascading down all the includes. | |||
2022-01-23 | Merge pull request #56337 from cdemirer/fix-array-dictionary-id | Rémi Verschelde | |
2022-01-22 | Don't sort printed Dictionary | kobewi | |
2022-01-20 | Rename Variant::is_ref() to is_ref_counted() | Pedro J. Estébanez | |
2022-01-18 | Merge pull request #56896 from ↵ | Rémi Verschelde | |
akien-mga/dictionary-improve-VariantWriter-and-docs | |||
2022-01-18 | Merge pull request #56668 from akien-mga/array-slice-nicer-bound-checks | Rémi Verschelde | |
2022-01-18 | Dictionary: Serialize empty dict as `{}` instead of `{\n}` | Rémi Verschelde | |
Also make sure to always convert multiline dictionaries to a single line for its EditorHelp representation, as multiline values break formatting. | |||
2022-01-17 | Merge pull request #55939 from cdemirer/validated-array-add-fix | Rémi Verschelde | |
Fix validated version of array addition | |||
2022-01-18 | Fix validated version of array addition | cdemirer | |
2022-01-10 | `Array`: Relax `slice` bound checks to properly handle negative indices | Rémi Verschelde | |
The same is done for `Vector` (and thus `Packed*Array`). `begin` and `end` can now take any value and will be clamped to `[-size(), size()]`. Negative values are a shorthand for indexing the array from the last element upward. `end` is given a default `INT_MAX` value (which will be clamped to `size()`) so that the `end` parameter can be omitted to go from `begin` to the max size of the array. This makes `slice` works similarly to numpy's and JavaScript's. | |||
2022-01-06 | Add length and length_squared to Vector2i/3i | Aaron Franke | |
2022-01-05 | Merge pull request #53684 from TokageItLab/orthogonal-mode | Rémi Verschelde | |
2022-01-04 | Merge pull request #53313 from KoBeWi/debinded_konnekt | Rémi Verschelde | |
2022-01-03 | Update copyright statements to 2022 | Rémi Verschelde | |
Happy new year to the wonderful Godot community! | |||
2021-12-30 | Fix Array and Dictionary id() and dictionary test bug | cdemirer | |
2021-12-25 | Fix some gizmo behavior to make more consistent | Silc 'Tokage' Renew | |
2021-12-18 | Fix font preview text color on light background | Haoyu Qiu | |
2021-12-16 | Make `--doctool` locale aware | Haoyu Qiu | |
* Adds `indent(str)` to `String`: * Indent the (multiline) string with the given indentation. * This method is added in order to keep the translated XML correctly indented. * Moves the loading of tool/doc translation into `editor/editor_translation.{h,cpp}`. * This will be used from both `EditorSettings` and the doc tool from `main`. * Makes use of doc translation when generating XML class references, and setup the translation locale based on `-l LOCALE` CLI parameter. The XML class reference won't be translated if `-l LOCALE` parameter is not given, or when it's `-l en`. | |||
2021-12-09 | Replace String comparisons with "", String() to is_empty() | Nathan Franke | |
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings | |||
2021-12-09 | align to horizontal_alignment, valign to vertical_alignment, related | Nathan Franke | |
2021-12-07 | Merge pull request #35901 from nathanfranke/pool-byte-array-subarray-exclusive | Rémi Verschelde | |
2021-12-02 | Expose max_axis_index and max_axis_index for Vector2(i) | Aaron Franke | |
Some cleanup with Vector3(i)'s methods so that it is consistent with Vector2, for example it returns enums internally (GDScript still gets ints). | |||
2021-12-01 | Rename Vector parameters to be consistent | Raul Santos | |
Renames parameters that were named differently across different scripting languages or their documentation to use the same name everywhere. | |||
2021-11-26 | PackedByteArray, Array slice end exclusive, rename subarray to slice | Nathan Franke | |
2021-11-23 | Rename `remove()` to `remove_at()` when removing by index | Lightning_A | |
2021-11-17 | Expose `randfn` to global scope | Yuri Roubinsky | |
2021-11-16 | Rename built-in `SGN()` macro to `SIGN()` | Hugo Locurcio | |
This matches the name of the GDScript function (except it's uppercase here). | |||
2021-11-12 | Use "enum class" for input enums | Aaron Franke | |
2021-11-11 | Merge pull request #54869 from akien-mga/string-remove-erase | Rémi Verschelde | |
2021-11-11 | Color: Bind `from_hsv` as static method | Rémi Verschelde | |
2021-11-11 | String: Remove `erase` method, bindings can't mutate String | Rémi Verschelde | |
2021-11-09 | Merge pull request #53819 from TokageItLab/re-implement-ping-pong | Rémi Verschelde | |
Reimplement ping-pong animation and reverse playback | |||
2021-11-08 | Merge pull request #54186 from miraz12/fix-packedByteArray-memcpy-crash | Rémi Verschelde | |