summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2023-01-23Merge pull request #71676 from vnen/gdscript-unicode-identifiersRémi Verschelde
Add support for Unicode identifiers in GDScript and Expression
2023-01-22Merge pull request #71851 from mihe/error-macrosRémi Verschelde
Fix incorrect index error macros
2023-01-22Merge pull request #71846 from Chaosus/astar_local_vectorRémi Verschelde
Enchance the performance of `AStar` by using a `LocalVector`
2023-01-22Fix incorrect index error macrosMikael Hermansson
2023-01-22Merge pull request #71663 from bruvzg/init_pos_xRémi Verschelde
Reorganize main and sub-window initial position properties.
2023-01-22Enchance the performance of `AStar` by using a `LocalVector`Yuri Rubinsky
2023-01-21Use range iterators in LocalVector loopskobewi
2023-01-21Add range iterator to LocalVectorkobewi
2023-01-21Add support for Unicode identifiers in Expression classGeorge Marques
2023-01-21Merge pull request #71687 from reduz/support-script-class-name-in-efsRémi Verschelde
Support script global resource name in EditorFileSystem
2023-01-21Support script global resource name in EditorFileSystemJuan Linietsky
* Works for binary and text files. * Makes EditorQuickOpen work with custom resources again. * Information is cached and easily accessible. Properly fixes #66179. Supersedes #66215 and supersedes #62417 **WARNING**: This required breaking backwards binary compatibility (.res and .scn files). Files saved after this PR is merged will no longer open in any earlier versions of Godot.
2023-01-21Merge pull request #71683 from reduz/fast-script-class-inheritance-checkRémi Verschelde
Implement a quick script inheritance check
2023-01-21Merge pull request #71396 from reduz/fix-broken-userdirRémi Verschelde
Fix cases of broken user:// paths.
2023-01-21Merge pull request #71390 from reduz/fix-json-as-resourceRémi Verschelde
Fixes to JSON as resource
2023-01-19Fix use of `bool` in extension headerJan Haller
2023-01-19Merge pull request #71649 from raulsntos/array-indexerRémi Verschelde
Add property usage to array indexer
2023-01-19Merge pull request #44596 from KoBeWi/🧹🧹🧹Rémi Verschelde
Cleanup unused engine code v2
2023-01-19Implement a quick script inheritance checkJuan Linietsky
Optimizes, simplifies and fixes EditorResourcePicker (was not refreshing custom clases).
2023-01-19Add property usage to array indexerRaul Santos
This makes the `Array` indexer show as returning `Variant` instead of `void` in the documentation.
2023-01-19Cleanup unused engine code v2kobewi
2023-01-19Reorganize main and sub-window initial position properties.bruvzg
2023-01-19[GDExtension] Expose some low level functions and String operators.bruvzg
2023-01-19Merge pull request #71628 from reduz/fixup-editor-file-system-script-parsingRémi Verschelde
Clean up EditorFileSystem script parsing
2023-01-18Clean up EditorFileSystem script parsingJuan Linietsky
* Optimize only update modified/added/removed files. * Clean up documentation parsing.
2023-01-18Revert "Make MessageQueue::push_callable(p) work with bound arguments"Pedro J. Estébanez
This reverts commit 81b1ebddefc5e3775331b70ea09dfb7d23a4ee1e.
2023-01-18Merge pull request #71400 from ↵Rémi Verschelde
touilleMan/gdextension-dump-global_enum-is_bitfield-field Add missing is_bitfield field for global enum in extension_api_dump
2023-01-18Merge pull request #71622 from RandomShaper/mq_boundRémi Verschelde
Make MessageQueue::push_callable(p) work with bound arguments
2023-01-18Make MessageQueue::push_callable(p) work with bound argumentsPedro J. Estébanez
2023-01-18Merge pull request #71514 from akien-mga/os-unset_environmentRémi Verschelde
OS: Add `unset_environment`, better validate input
2023-01-16Merge pull request #71279 from vonagam/fix-iterator-number-typeRémi Verschelde
GDScript: Fix typing of iterator in for loop
2023-01-16Linux/BSD: Add LINUXBSD_ENABLED define for non X11-related checksRémi Verschelde
2023-01-16OS: Add `unset_environment`, better validate inputRémi Verschelde
Instead of returning an undocumented boolean error code, we do the validation checks that should ensure a successful result. Based on: - https://linux.die.net/man/3/setenv - https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setenvironmentvariable
2023-01-16Merge pull request #70557 from KoBeWi/class_yeetRémi Verschelde
Move global script class cache to separate file
2023-01-16Merge pull request #64021 from ajreckof/change-shortcut-for-rect-tool-tilemapRémi Verschelde
Add `Key::CTRL_OR_CMD` and use it to fix shortcut for tilemap painting tools on macOS
2023-01-16Move global script class cache to separate filekobewi
2023-01-15Fix cases of broken user:// paths.Juan Linietsky
* Properly validate paths when supplying the project name. * Ensures that the user data dir will always be valid. Fixes 69366.
2023-01-15add CMD_OR_CTRL as a Key and not just a key modifierajreckof
2023-01-15Rename `center` method to `get_center` in Plane.Raul Santos
2023-01-14Add missing is_bitfield field for global enum in extension_api_dumpEmmanuel Leblond
2023-01-14Fixes to JSON as resourceJuan Linietsky
* It was not a resource, hence it was not working to load it as such. * Changed so, when opened in editor, a parse error will not fail load and the text will be kept. * This should allow proper editing from within the code editor, including syntax checking and saving files as-is in text. Partially addresses #66820. The code editor still needs to be changed for this to work.
2023-01-13Refactor ProjectSetting overridesJuan Linietsky
* Overrides no longer happen for set/get. * They must be checked with a new function: `ProjectSettings::get_setting_with_override()`. * GLOBAL_DEF/GLOBAL_GET updated to use this This change solves many problems: * General confusion about getting the actual or overriden setting. * Feature tags available after settings are loaded were being ignored, they are now considered. * Hacks required for the Project Settings editor to work. Fixes #64100. Fixes #64014. Fixes #61908.
2023-01-13GDScript: Fix typing of iterator in for loopDmitrii Maganov
2023-01-12Merge pull request #68450 from KoBeWi/bracket_escapistRémi Verschelde
Allow to escape closing brackets in CFG tags
2023-01-12Merge pull request #70714 from Calinou/doc-os-stdinRémi Verschelde
Improve documentation for `OS.read_string_from_stdin()`
2023-01-11Improve documentation for `OS.read_string_from_stdin()`Hugo Locurcio
This makes it clearer that calls to this method are blocking. The unused method parameter was also removed.
2023-01-10Fix Callable call error reporting.Juan Linietsky
* Fix potential crash when using bind in `Variant::get_callable_error_text()` * Properly compute bound arguments so they can be properly shown. * Add a function to obtain the actual bound arguments.
2023-01-10Merge pull request #70726 from heppocogne/Fix-open_compressed-get_pathRémi Verschelde
Fix `get_path()` is not working when files are opend with `open_compressed`
2023-01-09Merge pull request #71051 from vonagam/consts-are-deep-startRémi Verschelde
GDScript: Begin making constants deep, not shallow or flat
2023-01-09Merge pull request #69616 from reduz/change-uuidRémi Verschelde
Ability to change a resource UID from API
2023-01-09Ability to change a resource UID from APIJuan Linietsky
* Works for text, binary and imported resources * Allows better clean up of duplicate files. TODO (future PRs): * Use this API for assigning new UIDs to copied files. * Use this API for UID conflict on FS scanning (if more than one file has the same UID, the newer one(s) should get assigned a different UID).