Age | Commit message (Collapse) | Author |
|
Cleanup unused engine code v2
|
|
|
|
|
|
Clean up EditorFileSystem script parsing
|
|
* Optimize only update modified/added/removed files.
* Clean up documentation parsing.
|
|
This reverts commit 81b1ebddefc5e3775331b70ea09dfb7d23a4ee1e.
|
|
touilleMan/gdextension-dump-global_enum-is_bitfield-field
Add missing is_bitfield field for global enum in extension_api_dump
|
|
Make MessageQueue::push_callable(p) work with bound arguments
|
|
|
|
OS: Add `unset_environment`, better validate input
|
|
GDScript: Fix typing of iterator in for loop
|
|
|
|
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
|
|
Move global script class cache to separate file
|
|
Add `Key::CTRL_OR_CMD` and use it to fix shortcut for tilemap painting tools on macOS
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
Allow to escape closing brackets in CFG tags
|
|
Improve documentation for `OS.read_string_from_stdin()`
|
|
This makes it clearer that calls to this method are blocking.
The unused method parameter was also removed.
|
|
* 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.
|
|
Fix `get_path()` is not working when files are opend with `open_compressed`
|
|
GDScript: Begin making constants deep, not shallow or flat
|
|
Ability to change a resource UID from API
|
|
* 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).
|
|
* Remove unused `EditorPropertyMember` and related hints, previouly used by
VisualScript. Such logic should be implemented in the VS module itself.
* As the above broke compatibility with the VS module, clean up the other
hacks that were still in core in support of VisualScript.
* `PROPERTY_USAGE_INTERNATIONALIZED` was only used in Object's
`get_translatable_strings()`, which is a legacy function not used anywhere.
So both are removed.
* Reordered some usage flags after the above removal to minimize the diff.
* General clean up.
Fixes #30203.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
|
|
Fix for comparisons with PackedArrays
|
|
Prevent misuse of SafeRefCount
|
|
|
|
Properly report Callable bound arguments
|
|
Use BitField<> in core type masks
|
|
Fixes #63213
Adds a function: Callable::get_amount_of_arguments_bound() to query this in callables. Exposed to the engine API.
|
|
Fix error in `AstarGrid2D::get_id_path`
|
|
Fix `ScriptInstanceExtension::get_property_default_value` return value
|
|
* All core types masks are now correctly marked as bitfields.
* The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks.
* Most bitmask operations replaced by functions in BitField<>
* Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is.
* Documentation and API dump updated to reflect bitfields in core types.
|
|
|
|
|
|
|
|
Add support for the custom initial screen for the main window, fix primary screen detection.
|
|
Allow binding Callable arguments from an array
|
|
screen detection.
|
|
|
|
Add PropertyInfo overload for GLOBAL_DEF
|
|
Unbind Variant methods that change immutable types.
|
|
Restores 3.x functionality that was removed in the Signal/Callable refactor of 4.0.
Fixes #64668.
Implements https://github.com/godotengine/godot-proposals/issues/6034
Usage:
```GDScript
callable.bindv([arg1,arg2,arg3])
```
|
|
Fixes #62706.
Code is commented instead of removed to clarify why they should not be re-added.
|