Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-08-12 | [doc] Use "param" instead of "code" to refer to parameters (8) | Andy Maloney | |
2022-08-08 | Rename the argument tag to param in XML documentation | Yuri Sizov | |
2022-06-16 | Clarify `all` and `any` documentation for empty arrays | Danil Alexeev | |
2022-05-25 | Add `any()` and `all()` methods to Array | Hugo Locurcio | |
These can be used as faster, more convenient shorthands to using `filter()` + `size()`. | |||
2022-04-05 | Merge pull request #59910 from rcorre/array-remove-doc | Rémi Verschelde | |
2022-04-05 | Clarify Array.erase for nonexistant element. | Ryan Roden-Corrent | |
The docs specify that Array.remove does nothing if the index does not exist. Array.erase does not have a similar phrase, so it's unclear if erase will print an error, or silently do nothing. | |||
2022-03-30 | Improve documentation for Array operators | Hugo Locurcio | |
2022-03-27 | Add descriptions to operators | Karmavil | |
2022-03-14 | Remove generating of null comparison operators from documentation | Yuri Roubinsky | |
2022-02-15 | Add an XML schema for documentation | Hugo Locurcio | |
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions. | |||
2022-02-12 | Clarify identical `hash()` return values due to collisions | Hugo Locurcio | |
2022-01-18 | Merge pull request #56668 from akien-mga/array-slice-nicer-bound-checks | Rémi Verschelde | |
2022-01-17 | Give example of one-liner for Array natural sort | Lisandro Lorea | |
The documentation for the sort method warns the user that it doesn't do natural sort but fails to provide a solution when it's just a one liner thanks to String.naturalnocasecmp_to() and lambda support This suggests exactly the same algorithm as used by the filesystem dock for file sorting. Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro> | |||
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. | |||
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-12 | Improve sort_custom() example | kobewi | |
2021-10-29 | Move the docs for constructors and operators out of methods section | Aaron Franke | |
2021-10-05 | doc: Fix style inconsistencies for `[b]Note:[/b]` paragraphs | Rémi Verschelde | |
And fix up formatting not supported by makerst. | |||
2021-09-20 | Don't generate empty doc sections and reduce code duplication | Aaron Franke | |
2021-09-17 | Allow comparing equality between builtin types and null | George Marques | |
2021-09-07 | Fix docs for Array's slice() | Max Hilbrunner | |
2021-09-05 | Specify description of Array.slices end parameter | Johannes Witt | |
2021-08-28 | Fix Array class docs after #47406 | Max Hilbrunner | |
2021-08-27 | Add an `Array.pop_at()` method to pop an element at an arbitrary index | Hugo Locurcio | |
Negative indices are supported to pop an element relative from the end. | |||
2021-07-30 | doc: Use self-closing tags for `return` and `argument` | Rémi Verschelde | |
For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there. | |||
2021-07-23 | Fix doc typos | Nicholas Huelin | |
This pull request fixes an assortment of typos and improves conciseness in `Animation`, `Area2D`, `Array`, `ArrayMesh`, `Control`, `Directory`, `EditorPlugin`, `Engine`, and `OS`. | |||
2021-06-11 | Merge pull request #47584 from HaSa1002/docs-lang-7 | Rémi Verschelde | |
2021-06-11 | Port code examples to C# (V) | Johannes | |
Includes: * Variant * Viewport and two fixes in Array that were pointed out in #40978 VisualScript classes are skipped on purpose. That is the final commit of the inital code porting to C#. :) | |||
2021-06-03 | Improve sort_custom() description | kobewi | |
2021-05-20 | Fix typos with codespell | Rémi Verschelde | |
Using codespell 2.0.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick fave findn GIRD leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ``` | |||
2021-05-07 | Improve docs for filter map and reduce | kobewi | |
2021-05-05 | Add filter, map and reduce to Array | Tomasz Chabora | |
2021-04-21 | Add fill method to Arrays and PackedArrays | Matheus Lima Cunha | |
2021-04-04 | Fix misformatted documentation from #47435, #42827, #46991 | Yuri Sizov | |
2021-03-21 | Rename Array.invert() to Array.reverse() | Marcel Admiraal | |
Does the same internally for List and Vector<>, which includes all PackedArray types. | |||
2021-03-18 | doc: Sync classref with current source | Rémi Verschelde | |
And move GLTF docs to its module folder. | |||
2021-02-26 | Fixes typo in Array::bsearch_custom doc | Haoyu Qiu | |
2021-02-04 | Change sort_custom/bsearch_custom to use Callables | kobewi | |
2021-01-26 | Merge pull request #44624 from Calinou/doc-array-hash | Rémi Verschelde | |
Improve the `Array.hash()` documentation | |||
2021-01-26 | Document low performance of `Array.push_front()` and `Array.pop_front()` | Hugo Locurcio | |
2021-01-04 | doc: Sync classref with current source | Rémi Verschelde | |
2020-12-28 | Rename empty() to is_empty() | Marcel Admiraal | |
2020-12-23 | Improve the `Array.hash()` documentation | Hugo Locurcio | |
Co-authored-by: Laguzus <67963093+Laguzus@users.noreply.github.com> | |||
2020-11-14 | Improve the Dictionary class documentation | Hugo Locurcio | |
- Mention Lua-style syntax. - Make the code samples self-contained. - Mention caveat with `const` (also in Array). - Clarify the description of `size()`. This closes https://github.com/godotengine/godot-docs/issues/4272. | |||
2020-11-10 | Merge pull request #43437 from akien-mga/doc-operators | Rémi Verschelde | |
doc: Add template to document Variant operators, fixups to #43419 | |||
2020-11-10 | doc: Sync classref to add operators after #43419 | Rémi Verschelde | |
2020-11-10 | Merge pull request #43398 from ↵ | Rémi Verschelde | |
KoBeWi/add_an_array_to_another_array_but_with_a_method Add append_array() method to Array class | |||
2020-11-09 | Variant: Sync docs with new constructors, fixups after #43403 | Rémi Verschelde | |
Change DocData comparators for MethodDoc and ArgumentDoc to get a better ordering of constructors. | |||
2020-11-08 | Add append_array() method to Array class | Tomasz Chabora | |