summaryrefslogtreecommitdiff
path: root/doc/classes/Array.xml
AgeCommit message (Collapse)Author
2021-02-04Change sort_custom/bsearch_custom to use Callableskobewi
2021-01-26Merge pull request #44624 from Calinou/doc-array-hashRémi Verschelde
Improve the `Array.hash()` documentation
2021-01-26Document low performance of `Array.push_front()` and `Array.pop_front()`Hugo Locurcio
2021-01-04doc: Sync classref with current sourceRémi Verschelde
2020-12-28Rename empty() to is_empty()Marcel Admiraal
2020-12-23Improve the `Array.hash()` documentationHugo Locurcio
Co-authored-by: Laguzus <67963093+Laguzus@users.noreply.github.com>
2020-11-14Improve the Dictionary class documentationHugo 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-10Merge pull request #43437 from akien-mga/doc-operatorsRémi Verschelde
doc: Add template to document Variant operators, fixups to #43419
2020-11-10doc: Sync classref to add operators after #43419Rémi Verschelde
2020-11-10Merge 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-09Variant: Sync docs with new constructors, fixups after #43403Rémi Verschelde
Change DocData comparators for MethodDoc and ArgumentDoc to get a better ordering of constructors.
2020-11-08Add append_array() method to Array classTomasz Chabora
2020-11-04doc: Sync classref with current source + fixup some bindingsRémi Verschelde
Includes various changes triggered by the refactoring of method bindings.
2020-09-26Add C# code examples to the docsHaSa1002
Only existing GDScript code examples are converted and added to the docs. This is the first batch include classes beginning with A and B. Included classes: * AcceptDialog * AESContext * Animation * AnimationNodeStateMachine * AnimationNodeStateMachinePlayback * AnimationNodeStateMachineTransition * Array * ArrayMesh * AStar * AStar2D * Bool * Button
2020-09-21Fix a typo in the Array class documentationHugo Locurcio
This closes https://github.com/godotengine/godot-docs/issues/4049.
2020-09-09Improve documentation related to Array error handlingHugo Locurcio
This closes https://github.com/godotengine/godot-docs/issues/3834.
2020-08-12Mention that Array.front/back throw error if emptyTomasz Chabora
2020-07-13Commit other files changed by file_format.shAaron Franke
2020-06-12Document the `in` operator in String, Array and Dictionary classesHugo Locurcio
This also clarifies the `in` operator behavior in Object.
2020-05-16Document that Dictionary is always passed as referenceHugo Locurcio
See #38792.
2020-03-18doc: Sync classref with current sourceRémi Verschelde
Fix wrong binding after #37111.
2020-03-09DocData: Fix serialization of Variant default valuesRémi Verschelde
Co-authored-by: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
2020-02-27doc: Mention concatenation using the `+` operator in ArrayHugo Locurcio
This closes https://github.com/godotengine/godot-docs/issues/2452.
2020-02-25doc: Sync classref for Packed{Int,Float}{32,64}Array additionsRémi Verschelde
2020-02-22doc: Sync classref with apparent Variant return type changesRémi Verschelde
Part of those seem bogus, methods like Array.back()/front() should return a Variant and not void.
2020-02-18doc: Sync classref with current sourceRémi Verschelde
Handle removal of Pool*Array types and other recent changes.
2020-02-01Merge pull request #35809 from clayjohn/DOCS-update-versionRémi Verschelde
Update docs to version 4.0
2020-01-31Update docs to version 4.0clayjohn
2020-01-31doc: Add an example for `Array.sort()`Hugo Locurcio
This may help people understand the difference between alphabetical and natural order more quickly.
2020-01-26doc: Drop unused 'category' property from headerRémi Verschelde
We already removed it from the online docs with #35132. Currently it can only be "Built-In Types" (Variant types) or "Core" (everything else), which is of limited use. We might also want to consider dropping it from `ClassDB` altogether in Godot 4.0.
2020-01-23Remove unnecessary extra spaces before comments in code examples.Michael Alexsander
2020-01-10sort_custom description and example updatedcajallen
2019-12-22Be more specific about array return values.Ryan Roden-Corrent
The prior docs weren't clear if {pop_,}{front,back} would fail or return `null` on an empty array.
2019-11-02Code format for true/false/null to make documentation consistentPouleyKetchoupp
2019-09-24doc: Sync classref with current sourceRémi Verschelde
Fix a few missing bindings or unspecified argument names and default values.
2019-09-14Add array slice methodCameron Reikes
2019-06-27Proofread and improve the whole class referenceHugo Locurcio
- Document a few more properties and methods - Add more information to many classes - Fix lots of typos and gramar mistakes - Use [code] tags for parameters consistently - Use [b] and [i] tags consistently - Put "Warning:" and "Note:" on their own line to be more visible, and make them always bold - Tweak formatting in code examples to be more readable - Use double quotes consistently - Add more links to third-party technologies
2019-05-11updated description of Array.shuffle to properly describe that it uses the ↵hbina085
same common seed at every runtime, thus being reproducible in general
2019-04-22Merge pull request #28125 from KoBeWi/code_true_codeRémi Verschelde
Consistently wrap booleans in [code]
2019-04-19doc: Drop unused <demos> tagRémi Verschelde
2019-04-17Consistently wrap booleans in [code]Tomasz Chabora
2019-04-01doc: Bump version to 3.2Rémi Verschelde
2019-02-24[DOCS] Minor classref updates.Chris Bradfield
2018-12-14doc: Fix formatting in code blocksRémi Verschelde
2018-09-23[Docs] Remove double-spaces from descriptions, as well a couple other small ↵LikeLakers2
fixes
2018-09-10Fix mistake in Array.xmlVirtualBox
2018-08-31DocData: Fix return type listed as "var" instead of "Variant"Rémi Verschelde
2018-08-29doc: Sync classref with current sourceRémi Verschelde
2018-08-05Small doc formating changes and Linux cursor theme noteMichael Alexsander Silva Dias
2018-07-17Doc: Add example for array indexingRémi Verschelde
Supersedes and closes #20180.