Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Core] Improve error messages with `vformat` | A Thousand Ships | 2024-10-30 | 1 | -7/+7 |
| | |||||
* | Merge pull request #95449 from SlashScreen/array_functions | Rémi Verschelde | 2024-09-20 | 1 | -1/+64 |
|\ | | | | | | | Add callable support for `find` and `rfind` `Array` methods | ||||
| * | Add callable support for `find` and `rfind` `Array` methods | Slashscreen | 2024-09-13 | 1 | -1/+64 |
| | | |||||
* | | Fix Unable to use ResourceLoader in C# after threaded load in GDScript #92798 | Hilderin | 2024-09-11 | 1 | -0/+10 |
|/ | |||||
* | Core: Improve vformat error reporting on sprintf failure | Rémi Verschelde | 2024-07-04 | 1 | -4/+4 |
| | | | | And fix a few occurrences of formatting errors that led me to this. | ||||
* | [Core] Add iteration support to `Array` | A Thousand Ships | 2024-04-10 | 1 | -0/+16 |
| | |||||
* | Replace error checks against `size` with `is_empty` | A Thousand Ships | 2024-02-09 | 1 | -3/+3 |
| | |||||
* | Merge pull request #74588 from puchik/float-variant-nan-inequality | Rémi Verschelde | 2023-09-27 | 1 | -1/+1 |
|\ | | | | | | | Support numeric/binary hash comparison for floats derived from Variants (as well as existing semantic comparison) | ||||
| * | Support both semantic (by default) and numeric Variant hash comparison | Arman Elgudzhyan | 2023-08-31 | 1 | -1/+1 |
| | | | | | | | | Hash comparison for Variant continues to perform semantic/logical comparison with NaN's considered equal by default (to prevent #16114, #7354, #6947, #8081), but now optionally allows for numeric comparison that does not consider NaN's equal to support proper value comparison (for #72222) | ||||
* | | [Core] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable | A Thousand Ships | 2023-09-11 | 1 | -1/+1 |
|/ | |||||
* | Fix range error for `Array.slice` | Ninni Pipping | 2023-07-07 | 1 | -4/+8 |
| | |||||
* | Fix `Array.slice()` rounding for `abs(step) != 1` | Ninni Pipping | 2023-03-14 | 1 | -1/+1 |
| | |||||
* | GDScript: Fix can_reference check for typed arrays | Dmitrii Maganov | 2023-02-06 | 1 | -0/+3 |
| | |||||
* | Merge pull request #71786 from raulsntos/dotnet/array | Rémi Verschelde | 2023-02-04 | 1 | -2/+2 |
|\ | | | | | | | Sync C# Array with Core | ||||
| * | Sync C# Array with Core | Raul Santos | 2023-01-30 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add `AddRange` method. - Add `Fill` method. - Add `Max` and `Min` methods. - Add `PickRandom` method. - Add `Reverse` method. - Add `RecursiveEqual` method. - Add `Sort` method. - Add `Slice` and `GetSliceRange` methods. - Add `IndexOf` overload that takes an index parameter. - Add `LastIndexOf` method. - Add `BinarySearch` method. - Add/update documentation. | ||||
* | | Fix various typos with codespell | Rémi Verschelde | 2023-02-01 | 1 | -1/+1 |
| | | | | | | | | Finally do the childs -> children rename too. | ||||
* | | GDScript: Fix issues with typed arrays | Dmitrii Maganov | 2023-01-31 | 1 | -60/+77 |
|/ | |||||
* | GDScript: Fix test for read-only state of constants | Dmitrii Maganov | 2023-01-27 | 1 | -8/+2 |
| | |||||
* | GDScript: Begin making constants deep, not shallow or flat | Dmitrii Maganov | 2023-01-08 | 1 | -10/+0 |
| | |||||
* | One Copyright Update to rule them all | Rémi Verschelde | 2023-01-05 | 1 | -29/+29 |
| | | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see". | ||||
* | Unify String and StringName | rune-scape | 2022-12-05 | 1 | -29/+67 |
| | |||||
* | Remove `Array.find_last()` | Micky | 2022-11-25 | 1 | -5/+0 |
| | |||||
* | add ability to pick random value from array | Nonunknown | 2022-10-20 | 1 | -0/+6 |
| | |||||
* | Fix Array.`slice()` and `filter()` forgetting Typed Array | Micky | 2022-10-09 | 1 | -0/+2 |
| | |||||
* | Remove Signal connect binds | Juan Linietsky | 2022-07-29 | 1 | -5/+5 |
| | | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind() | ||||
* | Clean up Hash Functions | reduz | 2022-06-20 | 1 | -3/+3 |
| | | | | | | | Clean up and do fixes to hash functions and newly introduced murmur3 hashes in #61934 * Clean up usage of murmur3 * Fixed usages of binary murmur3 on floats (this is invalid) * Changed DJB2 to use xor (which seems to be better) | ||||
* | Validate every source element separately Array::append_array() | Pedro J. Estébanez | 2022-06-15 | 1 | -1/+3 |
| | |||||
* | Add `any()` and `all()` methods to Array | Hugo Locurcio | 2022-05-25 | 1 | -0/+44 |
| | | | | | These can be used as faster, more convenient shorthands to using `filter()` + `size()`. | ||||
* | Implement read-only arrays | George Marques | 2022-05-17 | 1 | -1/+59 |
| | | | | | | | Arrays can be set as read-only and thus cannot be modified. Assigning the array will create an editable copy. Similar to is already done to read-only dictionaries. | ||||
* | Const Ref Callable for custom sort/search | mashumafi | 2022-03-27 | 1 | -23/+4 |
| | |||||
* | Merge pull request #56337 from cdemirer/fix-array-dictionary-id | Rémi Verschelde | 2022-01-23 | 1 | -1/+1 |
|\ | |||||
| * | Fix Array and Dictionary id() and dictionary test bug | cdemirer | 2021-12-30 | 1 | -1/+1 |
| | | |||||
* | | `Array`: Relax `slice` bound checks to properly handle negative indices | Rémi Verschelde | 2022-01-10 | 1 | -9/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Update copyright statements to 2022 | Rémi Verschelde | 2022-01-03 | 1 | -2/+2 |
|/ | | | | Happy new year to the wonderful Godot community! | ||||
* | PackedByteArray, Array slice end exclusive, rename subarray to slice | Nathan Franke | 2021-11-26 | 1 | -41/+16 |
| | |||||
* | Rename `remove()` to `remove_at()` when removing by index | Lightning_A | 2021-11-23 | 1 | -4/+4 |
| | |||||
* | Modify Dictionary::operator== to do real key/value comparison with recursive ↵ | Emmanuel Leblond | 2021-10-30 | 1 | -6/+60 |
| | | | | support (and add unittests) | ||||
* | Implement bsearch for Vector and Packed*Array | mashumafi | 2021-09-30 | 1 | -30/+6 |
| | |||||
* | Merge pull request #47406 from mashumafi/master-Array-insert-rc | Max Hilbrunner | 2021-08-28 | 1 | -3/+3 |
|\ | | | | | Array::insert consistent with Pool*Array::insert | ||||
| * | Array::insert consistent with Pool*Array::insert | mashumafi | 2021-03-27 | 1 | -3/+3 |
| | | |||||
* | | Add an `Array.pop_at()` method to pop an element at an arbitrary index | Hugo Locurcio | 2021-08-27 | 1 | -3/+28 |
| | | | | | | | | Negative indices are supported to pop an element relative from the end. | ||||
* | | Remove alloca from loop and use a single fixed size array declaration | Marcel Admiraal | 2021-05-21 | 1 | -3/+3 |
| | | |||||
* | | Add filter, map and reduce to Array | Tomasz Chabora | 2021-05-05 | 1 | -0/+73 |
| | | |||||
* | | Add fill method to Arrays and PackedArrays | Matheus Lima Cunha | 2021-04-21 | 1 | -0/+5 |
| | | |||||
* | | Merge pull request #46991 from madmiraal/rename-invert-reverse | Rémi Verschelde | 2021-04-01 | 1 | -2/+2 |
|\ \ | | | | | | | Rename Array.invert() to Array.reverse() | ||||
| * | | Rename Array.invert() to Array.reverse() | Marcel Admiraal | 2021-03-21 | 1 | -2/+2 |
| |/ | | | | | | | | | Does the same internally for List and Vector<>, which includes all PackedArray types. | ||||
* | | Add functions to retrieve type of a typed Array | George Marques | 2021-03-18 | 1 | -0/+16 |
| | | |||||
* | | Don't check type when assigning Array | George Marques | 2021-03-18 | 1 | -6/+11 |
|/ | | | | | | | | The array should just assimilate the type of the other one since assignment in this case means a change in the reference. This also adds a `typed_assign` function for the cases where type validation is wanted. | ||||
* | Fixes small typos and grammar correction | Anshul7sp1 | 2021-03-12 | 1 | -1/+1 |
| | |||||
* | Change sort_custom/bsearch_custom to use Callables | kobewi | 2021-02-04 | 1 | -14/+10 |
| |