summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2022-05-16Merge pull request #60958 from smix8/navigation_server_rid_utility_4.xRémi Verschelde
2022-05-16Replace most uses of Map by HashMapreduz
* 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-13Merge pull request #60989 from Jojox/fix_gdscript_parser_enumRémi Verschelde
2022-05-12Fix first value updateJoJoX
2022-05-12Merge pull request #60956 from macjuul/hide-mono-cmd-promptRémi Verschelde
Prevent blank command prompts from spawning when building a mono project
2022-05-12Add NavigationServer2D/3D API functions to find missing RID infosmix8
Utility functions for NavigationServer2D/3D to find missing RID information when working with Server API directly. e.g. from map to regions and agents, from agent or region to map, from region to map and agents and so on .... Requirement to work with NavigationServer API exklusive without SceneTree nodes and when juggling agents and regions between multiple navigation maps.
2022-05-12Fix signal completion in GDScript editorYuri Rubinsky
2022-05-12Fix blank command prompts spawningJulian Mills
prevent certain mono actions from displaying empty command prompts.
2022-05-12Use new HashMap implementation in the TextServer, and Font.bruvzg
2022-05-12Add a new HashMap implementationreduz
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-12Fix incorrect precedence of pow operator in GDScript Yuri Rubinsky
2022-05-11Merge pull request #60945 from smix8/navmesh_bake_size_warning_4.xRémi Verschelde
Add Warning to NavigationMesh bake when source geometry is suspiciously big
2022-05-11Add Warning to NavigationMesh bake when source geometry is suspiciously bigsmix8
Adds Warning when users try to bake a NavigationMesh with suspiciously big source geometry and small cellsizes as this baking process will likely fail or result in a NavigationMesh that will create serious pathfinding performance issues.
2022-05-11Merge pull request #60949 from derammo/derammo_openxr_wrong_conditionalRémi Verschelde
2022-05-11Merge pull request #60617 from BastiaanOlij/split_bokeh_effectRémi Verschelde
2022-05-11corrected conditional compile of OpenXR with/without opengl3 driverderammo
2022-05-11Implement exponential operator (**) to GDScript/ExpressionsYuri Roubinsky
2022-05-11Merge pull request #59863 from cdemirer/fix-match-multiple-bind-single-patternRémi Verschelde
Fix issues with multiple bind patterns in match statement
2022-05-11Merge pull request #60229 from Dorodri/improve-gdscript-range-descriptionRémi Verschelde
2022-05-11Merge pull request #60732 from CalebJohn/matching_signature_regression_testRémi Verschelde
2022-05-11Split out bokeh_dof and copy effectsBastiaan Olij
2022-05-10[macOS / iOS] Fix text-to-speech build with older macOS / iOS SDK.bruvzg
Add __has_include check for AVFAudio include. Add some explicit casts to avoid conflicts. Change all `include`s to `import`s for consistency.
2022-05-10Merge pull request #60917 from akien-mga/ci-emscripten-3.1.10Rémi Verschelde
2022-05-10Fix warnings found by Emscripten 3.1.10Rémi Verschelde
Fix `-Wunused-but-set-variable`, `-Wunqualified-std-cast-call`, and `-Wliteral-range` warnings.
2022-05-10[TextServer] Fix incorrect oversampled font scaling.bruvzg
2022-05-06Rename `CSGPrimitive3D.invert_faces` to `flip_faces`hoontee
2022-05-06Fix VisualScript export variableskobewi
2022-05-06Merge pull request #59720 from Vitika9/itemlist-signalsRémi Verschelde
2022-05-06Changed signals of ItemListVitika9
2022-05-06Merge pull request #60609 from nathanfranke/string-quotesRémi Verschelde
2022-05-06Cleanup metadata usagekobewi
2022-05-05Core: Rename math 'phi' arguments to 'angle'Rémi Verschelde
2022-05-04[WebSocket] Fix WSLClient connection status.Fabio Alessandrelli
Note, this keeps the old behaviour of reporting CONNECTION_CONNECTED while disconnecting. We should change this before 4.0, but needs further refactoring of the WebSocket classes.
2022-05-04Merge pull request #60723 from reduz/refactor-module-initializationRémi Verschelde
2022-05-04Refactor module initializationreduz
* 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-03Add regression test for gdscript valid function signatureCalebJohn
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-03quote strings inside arrays and dictionariesNathan Franke
2022-05-03Rename Basis get_axis to get_column, remove redundant methodsAaron Franke
2022-05-03Merge pull request #59321 from Calinou/primitive-meshes-csg-tweak-default-sizesRémi Verschelde
Decrease default sizes of some primitive and CSG meshes for consistency
2022-05-03Merge pull request #60627 from aaronfranke/rename-elementsRémi Verschelde
Rename Transform2D and Basis `elements` to `columns` and `rows` respectively
2022-05-03Merge pull request #60714 from Calinou/typedef-remove-refRémi Verschelde
Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`
2022-05-03Merge pull request #60689 from trollodel/use_collisionobject3d_in_navmeshgenRémi Verschelde
2022-05-03Merge pull request #60444 from snailrhymer/expand-websocketclient-error-messagesFabio Alessandrelli
Add detail to some error messages in wsl_client
2022-05-03Remove `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-02Style: 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-05-02Use CollisionObject3D API when baking the navmesh with static colliders, ↵trollodel
instead of collecting CollisionShape3D nodes
2022-05-01Validate image size for Noise get image methodsHaoyu Qiu
2022-04-30Improve description for GDScript built-in rangeEduardo 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-29Rename Basis "elements" to "rows"Aaron Franke
2022-04-29Rename Transform2D "elements" to "columns"Aaron Franke