summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2022-05-17Implement read-only arraysGeorge Marques
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.
2022-05-17Merge pull request #61110 from rburing/project_settings_use_rbmapRémi Verschelde
2022-05-17Merge pull request #61087 from reduz/readonly-dictionaryRémi Verschelde
Implement read-only dictionaries.
2022-05-17ProjectSettings: use RBMap again instead of HashMapRicardo Buring
This fixes corruption of project.godot and failure to load global classes.
2022-05-17Create onready variables when dropping nodes and holding CtrlHaoyu Qiu
2022-05-16Implement read-only dictionaries.reduz
* Add ability to set them read only. * If read-only, it can't be modified. This is added in order to optionally make const dictionaries (and eventually arrays) properly read-only in GDScript.
2022-05-16Merge pull request #60126 from Calinou/image-improve-error-messagesRé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-12Add documentation comments for internationalization C++ macrosHugo Locurcio
2022-05-12Merge pull request #60643 from clayjohn/GLES3-3DRémi Verschelde
2022-05-12Basic 3D renderingclayjohn
2022-05-12Merge pull request #60972 from KoBeWi/display_portRémi Verschelde
2022-05-12Move Display settings higher in the listkobewi
2022-05-12Fix signal completion in GDScript editorYuri Rubinsky
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-11Merge pull request #60943 from bruvzg/fix_zipioRémi Verschelde
2022-05-11Merge pull request #58873 from Chaosus/power_opRémi Verschelde
Implement exponential operator (**) to GDScript/Expressions
2022-05-11Merge pull request #60941 from timothyqiu/image-convertRémi Verschelde
Fix invalid memory usage when using `Image.convert`
2022-05-11Merge pull request #56167 from cdemirer/constructor-toarray-fixRémi Verschelde
2022-05-11Implement exponential operator (**) to GDScript/ExpressionsYuri Roubinsky
2022-05-11Fix ZipIO crash when reused (and possible leaks).bruvzg
2022-05-11Fix invalid memory usage when using Image.convertHaoyu Qiu
2022-05-10Merge pull request #60917 from akien-mga/ci-emscripten-3.1.10Rémi Verschelde
2022-05-10Merge pull request #60855 from timothyqiu/packed-array-findRémi Verschelde
Add search methods for packed arrays
2022-05-10Merge pull request #55876 from bradc6/feature/AllowForAbsoluteLibraryPathsRé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-08Merge pull request #60886 from ↵Rémi Verschelde
touilleMan/gdextension-header-duplicated-GDNativeExtensionClassGetPropertyList Fix duplication of GDNativeExtensionClassGetPropertyList definition in gdnative_interface.h
2022-05-08Fix duplication of GDNativeExtensionClassGetPropertyList definition in ↵Emmanuel Leblond
gdnative_interface.h
2022-05-08Fix extension_api.json builtin_class_member_offsets member names for ColorEmmanuel Leblond
2022-05-07Add search methods for packed arraysHaoyu Qiu
* count() * find() * rfind()
2022-05-06[GDExtension] Fix static method binds and default arguments.bruvzg
2022-05-06Merge pull request #60609 from nathanfranke/string-quotesRémi Verschelde
2022-05-06Merge pull request #60811 from smix8/astar_zero_point_weight_4.xRémi Verschelde
2022-05-06Merge pull request #60802 from Calinou/profiler-idle-time-renameRémi Verschelde
2022-05-06Allow AStar2D/AStar3D zero point weightsmix8
Allow AStar2D/AStar3D zero point weight. Limit was set to 1 which seemed like an arbitrary value as lower values down to zero can be useful for common gameplay navigation elements like teleports.
2022-05-06Cleanup metadata usagekobewi
2022-05-05Rename profiler "Idle Time" to "Process Time"Hugo Locurcio
References to "idle time" are progressively being replaced by "process time" throughout the engine to avoid confusion.
2022-05-05Fix inconsistent naming in TimeNicholas Huelin
2022-05-05Merge pull request #60597 from reduz/missing-node-resource-placeholdersRémi Verschelde
2022-05-05Merge pull request #60784 from akien-mga/faire-phi-des-angloisRémi Verschelde
2022-05-05Core: Rename math 'phi' arguments to 'angle'Rémi Verschelde
2022-05-05Sync controller mappings DB with SDL2 community repoRémi Verschelde
Synced with gabomdq/SDL_GameControllerDB@b7d126eb71fe9354a2b7cf04085a5fff58ed3815
2022-05-05Merge pull request #48989 from MarioLiebisch/variant-comment-line-breaksRémi Verschelde
Properly increase line counter when parsing comments
2022-05-04[Net] Fix StreamPeerTCP accepted status.Fabio Alessandrelli
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 OS::is_process_running function.mdavisprog
Adds the is_process_running function to the native OS class and exposes it to script. This is implemented on Windows and Unix platforms. A stub is provided for other platforms that do not support this function. Documentation is updated to reflect new API function.
2022-05-03quote strings inside arrays and dictionariesNathan Franke
2022-05-03Implement missing Node & Resource placeholdersreduz
Implemented by request of @neikeq to advance in the GDExtension version of Mono. * If a Resource type is missing upon load, it will be remembered together with its data (Unless manually overriden). * If a Node type is missing upon load, it will be also be remembered together with its data (unless deleted). This feature makes working with GDExtension much easier, as it ensures that missing types no longer cause data loss.
2022-05-03Rename Basis get_axis to get_column, remove redundant methodsAaron Franke