Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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 | |
2021-11-05 | Rename AABB `get_area` to `get_volume` | Brian Semrau | |
2021-11-03 | reimplement ping-pong | Silc 'Tokage' Renew | |
2021-11-02 | Merge pull request #54453 from KoBeWi/slice_of_string | Rémi Verschelde | |
2021-11-02 | Expose String.get_slice | kobewi | |
2021-10-30 | Modify Dictionary::operator== to do real key/value comparison with recursive ↵ | Emmanuel Leblond | |
support (and add unittests) | |||
2021-10-28 | clang-format: Disable alignment of operands, too unreliable | Rémi Verschelde | |
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`. | |||
2021-10-27 | Fixed crash in `variant_call` when trying to memcpy 0 bytes. | Anton Christoffersson | |
2021-10-25 | Refactored Node3D rotation modes | reduz | |
* Made the Basis euler orders indexed via enum. * Node3D has a new rotation_order property to choose Euler rotation order. * Node3D has also a rotation_mode property to choose between Euler, Quaternion and Basis Exposing these modes as well as the order makes Godot a lot friendlier for animators, which can choose the best way to interpolate rotations. The new *Basis* mode makes the (exposed) transform property obsolete, so it was removed (can still be accessed by code of course). | |||
2021-10-21 | Implement Animation Compression | reduz | |
Roughly based on https://github.com/godotengine/godot-proposals/issues/3375 (used format is slightly different). * Implement bitwidth based animation compression (see animation.h for format). * Can compress imported animations up to 10 times. * Compression format opens the door to streaming. * Works transparently (happens all inside animation.h) | |||
2021-10-15 | Swap args of Plane(point, normal) constructor | mennomax | |
Now (normal, point) | |||
2021-10-14 | Zero Dictionary and Array variants when changing type with reset | George Marques | |
So they don't reference to the old values anymore and instead refer to a new value. | |||
2021-10-11 | Revert "Implement reverse playback and ping-pong loop in AnimationPlayer and ↵ | Juan Linietsky | |
NodeAnimation" | |||
2021-10-11 | Merge pull request #48332 from TokageItLab/implement-ping-pong | Rémi Verschelde | |
2021-10-11 | Fix autocompletion of built-in functions in GDScript | Yuri Roubinsky | |
2021-10-09 | implement ping-pong loop in animation | Tokage | |
Co-authored-by: Chaosus <chaosus89@gmail.com> | |||
2021-10-09 | Enhance and cleanup stringify for Vector | mashumafi | |
2021-10-08 | Faster hash_compare for integer and string keys in dictionaries | Bartłomiej T. Listwon | |
2021-10-07 | Merge pull request #53422 from KoBeWi/add_LUA_to_Godot | Rémi Verschelde | |
2021-10-07 | Merge pull request #53545 from vnen/gdscript-release | Rémi Verschelde | |
2021-10-07 | Enable method type information on release builds | George Marques | |
This is needed to ensure GDScript compilation works properly on release builds and make use of optimized typed instructions. | |||
2021-10-06 | Add Variant `in` operator for any String/StringName operands | George Marques | |
Allow using String or StringName types as operand in any position of the `in` operator, which is more convenient in scripting when interacting with data in the engine (such as a Node name). | |||
2021-10-05 | NaN, INF read/write bug fixed | Thakee Nathees | |
Fix: #40589 |