Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-08 | Make `compile` shader function to use struct instead long parameter list | Yuri Roubinsky | |
2021-12-07 | Merge pull request #35901 from nathanfranke/pool-byte-array-subarray-exclusive | Rémi Verschelde | |
2021-12-02 | Merge pull request #55545 from akien-mga/doc-aabb-has_point | Rémi Verschelde | |
AABB: Improve docs and test for `has_point` | |||
2021-12-02 | Merge pull request #55474 from akien-mga/copy-operators-no-reference | Rémi Verschelde | |
2021-12-02 | AABB: Improve docs and test for `has_point` | Rémi Verschelde | |
Contrarily to the 2D Rect2i counterpart, it doesn't make much sense in 3D and for floating-point AABBs to exclude points on some of its faces. | |||
2021-12-02 | Merge pull request #53868 from aaronfranke/curve | Rémi Verschelde | |
2021-12-01 | Allow using empty statements in the shader, added formatting warning | Yuri Roubinsky | |
2021-11-30 | Improve Curve with const and real_t | Aaron Franke | |
2021-11-30 | Don't return reference on copy assignment operators | Rémi Verschelde | |
We prefer to prevent using chained assignment (`T a = b = c = T();`) as this can lead to confusing code and subtle bugs. According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B), C++ allows any arbitrary return type, so this is standard compliant. This could be re-assessed if/when we have an actual need for a behavior more akin to that of the C++ STL, for now this PR simply changes a handful of cases which were inconsistent with the rest of the codebase (`void` return type was already the most common case prior to this commit). | |||
2021-11-26 | PackedByteArray, Array slice end exclusive, rename subarray to slice | Nathan Franke | |
2021-11-25 | Merge pull request #55227 from ator-dev/fix-code-folding | Rémi Verschelde | |
2021-11-24 | Fix code folding when end of block is unindented delimiter | ator-dev | |
2021-11-24 | Merge pull request #52456 from kleonc/image-fill-rect | Rémi Verschelde | |
2021-11-23 | Rename `remove()` to `remove_at()` when removing by index | Lightning_A | |
2021-11-23 | Add Image::fill_rect method | kleonc | |
2021-11-17 | Fix divide by zero in pck_packer | Paulb23 | |
2021-11-12 | Use "enum class" for input enums | Aaron Franke | |
2021-11-11 | Rect2: Clarify docs for `has_point` excluding bottom and right borders | Rémi Verschelde | |
Improve tests, as well as documentation for `expand`. | |||
2021-11-11 | String: Remove `erase` method, bindings can't mutate String | Rémi Verschelde | |
2021-11-07 | Move and organize tests into subfolders | Aaron Franke | |
2021-11-05 | Rename AABB `get_area` to `get_volume` | Brian Semrau | |
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-28 | Implement TextServer `strip_diacritics` function. | bruvzg | |
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-19 | Merge pull request #52940 from groud/toast_notification | Rémi Verschelde | |
2021-10-15 | Swap args of Plane(point, normal) constructor | mennomax | |
Now (normal, point) | |||
2021-10-14 | Implement toast notifications in the editor | Gilles Roudière | |
2021-10-06 | Fix breakpointed_lines out of sync when removing lines above | Paulb23 | |
2021-10-04 | Added support for uniform arrays in shaders | Yuri Roubinsky | |
2021-10-01 | Fix deleting selection at the first line do not work with backspace | Jean-Michel Bernard | |
2021-10-01 | Implement TextServer GDExtension interface, remove TextServer GDNative ↵ | bruvzg | |
interface. | |||
2021-10-01 | Merge pull request #52850 from mashumafi/vector-bsearch | Rémi Verschelde | |
2021-09-30 | Implement bsearch for Vector and Packed*Array | mashumafi | |
2021-09-30 | Use range iterators for `Map` | Lightning_A | |
2021-09-29 | Add tests for Translations | O01eg | |
2021-09-28 | Merge pull request #52754 from nekomatata/dynamic-body-modes | Camille Mohr-Daurat | |
Clarify RigidDynamicBody modes | |||
2021-09-25 | Construct values only when necessary. | Anilforextra | |
2021-09-21 | Merge pull request #52878 from AnilBK/add-get-center | Rémi Verschelde | |
2021-09-21 | Add Get Center Method for Rect2/Rect2i and AABB. | Anilforextra | |
2021-09-20 | Add remaning code edit unit tests | Paulb23 | |
2021-09-17 | Allow indexing of String values in scripting languages | George Marques | |
2021-09-16 | Clarify RigidDynamicBody modes | PouleyKetchoupp | |
RigidDynamicBody modes are replaced with several properties to make their usage clearer: -lock_rotation: disable body's rotation (instead of MODE_LOCKED) -freeze: no gravity or forces (instead of MODE_STATIC and MODE_KINEMATIC) -freeze_mode: Static (can be only teleported) or Kinematic (can be animated) Also renamed MODE_DYNAMIC_LOCKED to MODE_DYNAMIC_LINEAR in the physics servers. | |||
2021-09-15 | Merge pull request #52679 from nekomatata/world-boundary-shape | Camille Mohr-Daurat | |
Rename WorldMarginShape to WorldBoundaryShape | |||
2021-09-15 | Fix String::num_real and String test cases when compiling with doubles | Aaron Franke | |
2021-09-14 | Rename WorldMarginShape to WorldBoundaryShape | PouleyKetchoupp | |
2021-09-14 | Merge pull request #52153 from timothyqiu/test-array-pop-at | Rémi Verschelde | |
Add unit tests for `Array.pop_at()` |