Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-05-16 | Replace most uses of Map by HashMap | reduz | |
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated! | |||
2022-05-12 | Fix first value update | JoJoX | |
2022-05-12 | Fix signal completion in GDScript editor | Yuri Rubinsky | |
2022-05-12 | Add a new HashMap implementation | reduz | |
Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<> | |||
2022-05-12 | Fix incorrect precedence of pow operator in GDScript | Yuri Rubinsky | |
2022-05-11 | Implement exponential operator (**) to GDScript/Expressions | Yuri Roubinsky | |
2022-05-11 | Merge pull request #59863 from cdemirer/fix-match-multiple-bind-single-pattern | Rémi Verschelde | |
Fix issues with multiple bind patterns in match statement | |||
2022-05-11 | Merge pull request #60229 from Dorodri/improve-gdscript-range-description | Rémi Verschelde | |
2022-05-11 | Merge pull request #60732 from CalebJohn/matching_signature_regression_test | Rémi Verschelde | |
2022-05-06 | Merge pull request #60609 from nathanfranke/string-quotes | Rémi Verschelde | |
2022-05-04 | Merge pull request #60723 from reduz/refactor-module-initialization | Rémi Verschelde | |
2022-05-04 | Refactor module initialization | reduz | |
* Changed to use the same stages as extensions. * Makes the initialization more coherent, helping solve problems due to lack of stages. * Makes it easier to port between module and extension. * removed the DRIVER initialization level (no longer needed). | |||
2022-05-03 | Add regression test for gdscript valid function signature | CalebJohn | |
Previously, there was an issue where the gdscript analyzer incorrectly riased a validation error for code that had a default Dictionary, Array, or custom type. | |||
2022-05-03 | quote strings inside arrays and dictionaries | Nathan Franke | |
2022-05-03 | Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>` | Hugo Locurcio | |
These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors. | |||
2022-05-02 | Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init` | Rémi Verschelde | |
Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors. | |||
2022-04-30 | Improve description for GDScript built-in range | Eduardo Rodrigues | |
Rewrites the definition of how the function works. Reworks the style of the examples and adds a negative range example. Changes the while loop to a range loop in the array backwards example. | |||
2022-04-28 | Fix cppcheck const parameters | Markus Sauermann | |
Convert method signature parameters to const where it is possible # Conflicts: # drivers/gles3/rasterizer_canvas_gles3.cpp # drivers/gles3/rasterizer_canvas_gles3.h # editor/plugins/animation_state_machine_editor.cpp # editor/plugins/animation_state_machine_editor.h | |||
2022-04-27 | Merge pull request #60396 from vnen/gdscript-self-lambda | Rémi Verschelde | |
2022-04-27 | Merge pull request #59613 from PastMoments/dict-arr-const-fix | Rémi Verschelde | |
2022-04-26 | Merge pull request #60418 from ShimmyShaman/master | Rémi Verschelde | |
2022-04-25 | Merge pull request #60445 from nathanfranke/minor-changes | Rémi Verschelde | |
small changes: improve OS.get_name classref, misc/scripts fixes, remove trailing quote | |||
2022-04-24 | GDScript: Allow using self in lambdas | George Marques | |
2022-04-22 | improve OS.get_name classref, misc/scripts fixes, remove trailing quote | Nathan Franke | |
2022-04-22 | improved error msg for gdscript load_source_code | ShimmyShaman | |
2022-04-20 | Fix typo in `GDScript::range` doc | Yuri Roubinsky | |
2022-04-19 | Fixes GDScript define nested dictionary and array as constants #50285 | PastMoments | |
2022-04-15 | Merge pull request #60007 from aaronfranke/gds-op-adj-tr3d | Rémi Verschelde | |
GDScript: Rename OPCODE_TYPE_ADJUST_TRANSFORM to have a 3D suffix | |||
2022-04-12 | Narrow FileAccess scope to prevent deadlocks. | bruvzg | |
2022-04-11 | Make FileAccess and DirAccess classes reference counted. | bruvzg | |
2022-04-08 | GDScript: Fix method call on singletons | George Marques | |
2022-04-07 | GDScript: Rename OPCODE_TYPE_ADJUST_TRANSFORM to have a 3D suffix | Aaron Franke | |
2022-04-07 | Add built-in Variant types to autocompletion list | David Maziarka | |
Co-authored-by: Gustav <gusan092@student.liu.se> | |||
2022-04-06 | Merge pull request #59947 from vnen/gdscript-static-methods-classdb | Rémi Verschelde | |
2022-04-06 | GDScript: Add support for static method calls in native types | George Marques | |
2022-04-06 | Fix some issues found by cppcheck. | bruvzg | |
2022-04-04 | Merge pull request #59885 from Jayman2000/autoload-inheritance-message | Rémi Verschelde | |
2022-04-04 | Improve autoload inheritance error message | Jason Yundt | |
Autoloaded scripts should always inherit from Node. When you run a project that tries to autoload a script which doesn’t inherit from Node, then Godot gives an error. Before this change, the error said “Script does not inherit a Node”. That error message is a little bit misleading. If a class inherits a Node, then one of its superclasses has a Node. If a class inherits _from_ Node, then one of its superclasses is Node. This change corrects that mistake. Fixes #59884. | |||
2022-04-04 | Zero initialize all pointer class and struct members | Rémi Verschelde | |
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr. | |||
2022-04-04 | Fix issues with multiple bind patterns in match statement | cdemirer | |
2022-04-03 | Merge pull request #59633 from EricEzaM/better-code-complete-update | Rémi Verschelde | |
Improve sorting of Code Completion options. | |||
2022-04-01 | Improve sorting of Code Completion options. | Eric M | |
Done by ordering options by their location in the code - e.g. local, parent class, global, etc. | |||
2022-03-31 | Fix some issues found by clang sanitizers. | bruvzg | |
2022-03-31 | Fix typos with codespell | Rémi Verschelde | |
Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns. | |||
2022-03-30 | Merge pull request #59694 from vnen/gdscript-better-call-super | Rémi Verschelde | |
2022-03-30 | GDScript: Fix issues with completion and `super` calls | George Marques | |
- Make call errors use the call node instead of the calle, which will be empty on super calls. - Don't allow `super()` to be used within lambdas. | |||
2022-03-30 | Fix autocompletion of static methods in built-in types in GDScript | Yuri Roubinsky | |
2022-03-28 | Refactor GDScript/C# script templates logic to be editor-only | Rémi Verschelde | |
Not a full refactor as it still goes through ScriptLanguage so it's hacky, but at least it can now compile without this. | |||
2022-03-28 | Merge pull request #59553 from reduz/script-extension-support | Rémi Verschelde | |
2022-03-28 | Revert "Sort autocomplete/code completion options in a better way" | Juan Linietsky | |