Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-01-14 | Add tests for Vector2/Vector2i/Vector3/Vector3i | Aaron Franke | |
2022-01-13 | Fix various typos | luz paz | |
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inh,inout,leapyear,lod,nd,numer,ois,ony,paket,ro,seeked,sinc,switchs,te,uint,varn,vew` | |||
2022-01-05 | Add list initialization support for Vector & LocalVector | Haoyu Qiu | |
2022-01-03 | Update copyright statements to 2022 | Rémi Verschelde | |
Happy new year to the wonderful Godot community! | |||
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-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 | 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-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-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-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 | |