Age | Commit message (Collapse) | Author |
|
|
|
Drop old semaphore implementation
|
|
This was done by mistake in #36758, but it's not necessary and actual
causes a bug.
`property_changed` is only emitted via `emit_changed()`, which already
has default values for `p_field` and `p_changing`.
Also reverted to using `String` for now to be on the safe side, even if
it's inconsistent with `emit_changed()`. I had only changed it
partially in #36758 so it was inconsistent. It probably does make sense
to port `EditorInspector` and related property editors to use
`StringName` where relevant, but that's for a dedicated PR.
Fixes #36799.
|
|
Fix possible EditorFolding crash when switching scenes
|
|
|
|
EditorDebuggerInspector is in tree, so it gets automatically deleted,
when clearing errors the debugger should not fake a process
notification.
|
|
Document EditorPlugin get_plugin_icon and get_plugin_name
|
|
Tweak the GIProbe gizmo to be more subtle
|
|
Improve the GIProbe editor contextual label
|
|
The return value's type hint is now accurate.
|
|
Improve UX of drive letters
|
|
Take correct part of extension with File Dialog
|
|
Same behavior as #36684.
Removed by mistake in #36426.
Fixes #36757.
|
|
- Removed platform-specific implementations.
- Now all semaphores are in-object, unless they need to be conditionally created.
- Similarly to `Mutex`, provided a dummy implementation for when `NO_THREADS` is defined.
- Similarly to `Mutex`, methods are made `const` for easy use in such contexts.
- Language bindings updated: `wait()` and `post()` are now `void`.
- Language bindings updated: `try_wait()` added.
Bonus:
- Rewritten the `#ifdef` in `mutex.h` to meet the code style.
|
|
- Fix `callable_mp` bindings to methods which used to have default
arguments passed to `bind_method`. We now have to re-specify them
manually when connecting.
- Re-add `GroupsEditor::update_tree` binding.
- Misc code quality changes along the way.
|
|
Namely, move the drive dropdown to just the left of the path text box and don't include the former
in the latter.
This improves the UX on Windows.
In the UNIX case, since its concept of drives is (ab)used to provide shortcuts to useful paths, its
dropdown is kept at the original location.
|
|
|
|
- Change the label color depending on the estimated performance
(green = fast, yellow = average, red = slow).
- Use the Unicode multiplication symbol.
- Make the label translatable.
|
|
|
|
Fix non-latin layout scancodes on Linux, adds access to physical scancodes.
|
|
WizardOhio24/fix-wrong-selection-on-line-clone-down
Fix wrong selection on cloning a line down in the editor
|
|
Fixes #36697
|
|
|
|
Implement undo-redo feature for Parameter Paste in the Inspector
|
|
EditorData::undo_redo.add_do_property and EditorData::undo_redo.add_undo_property is used in EditorData::paste_object_params to implement this feature. It's action name is set to "Paste Params"
Changes made
* Removed the call for clearing the history on paste params case.
* Instead of directly setting the properties value, EditorData::undo_redo is used.
|
|
Partial revert "Fix two signal errors"
|
|
Add more missing icons (and adjust a few)
|
|
|
|
|
|
Those were problematic as they call a method of their parent class,
but callable_mp does not allow that unless it's public.
To solve it, we declare a local class that calls the parent class'
method, which now needs to be protected to be accessible in the
derived class.
|
|
|
|
It's tedious work...
Some can't be ported as they depend on private or protected methods
of different classes, which is not supported by callable_mp (even if
it's a class inherited by the current one).
|
|
Remove now unnecessary bindings of signal callbacks in the public API.
There might be some false positives that need rebinding if they were
meant to be public.
No regular expressions were harmed in the making of this commit.
(Nah, just kidding.)
|
|
|
|
Fix import changing disabling checking on multiple files
|
|
Rename Navigation{Mesh,Polygon}Instance and PlaneShape for clarity
|
|
|
|
|
|
Reimplement `Mutex` with C++'s `<mutex>` (plus more)
|
|
Add a soft line length guideline to the script editor
|
|
Mention version compatibility when there are no results in the assetlib
|
|
Decrease the script editor's default split width to 70
|
|
Don't show a copy of the property's name in the inspector's tooltip if there's no description
|
|
|
|
Add a button to quickly repeat last search in files
|
|
|
|
|
|
Fix autocomplete and highlighting for new integer types
|
|
Make internal editor key order consistent
|
|
+ renamed _on_nodes_delete to _delete_nodes
|