| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |\
| |
| |
| | |
FileDialog: Avoid selecting the first item automatically in Open Folder Mode
|
| | | |
|
| |\ \
| | |
| | |
| | | |
[File Dialog] Do not open native file dialogs in the edited scene.
|
| | | | |
|
| |/ /
| |
| |
| | |
the callback.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
It's useless in `FileDialog`, because dialogs can have either
a text label or a custom layout, and `FileDialog` already
has a custom layout.
|
| |/ |
|
| | |
|
| |
|
|
| |
sandboxed apps.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Fixes #69768.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
|
| | |
|
| | |
|
| |
|
|
| |
change warnings=all to use /W4.
|
| |
|
|
| |
Part of #66537.
|
| |
|
|
|
| |
Removes separate `Command` key (use `Meta` instead).
Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename ItemList's bg -> panel
Rename ItemList's bg_focus -> focus
Rename ProgressBar's bg -> background
Rename ProgressBar's fg -> fill
Rename Tree's bg -> panel
Rename Tree's bg_focus -> focus
Rename ScrollContainer's bg -> panel
Rename FileDialog's *_icon_modulate -> *_icon_color
Rename FileDialog's files_disabled -> file_disabled_color
Rename CheckButton's on/off -> checked/unchecked
Rename check_v_adjust -> check_v_offset
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NOTIFICATION_THEME_CHANGED"
This reverts commit 4b817a565cab8af648c88cfc7ab6481e86ee3625.
Fixes #64988.
Fixes #64997.
This caused several regressions (#64988, #64997,
https://github.com/godotengine/godot/issues/64997#issuecomment-1229970605)
which point at a flaw in the current logic:
- `Control::NOTIFICATION_ENTER_TREE` triggers a *deferred* notification with
`NOTIFCATION_THEME_CHANGED` as introduced in #62845.
- Some classes use their `THEME_CHANGED` to cache theme items in
member variables (e.g. `style_normal`, etc.), and use those member
variables in `ENTER_TREE`, `READY`, `DRAW`, etc. Since the `THEME_CHANGE`
notification is now deferred, they end up accessing invalid state and this
can lead to not applying theme properly (e.g. for EditorHelp) or crashing
(e.g. for EditorLog or CodeEdit).
So we need to go back to the drawing board and see if `THEME_CHANGED` can be
called earlier so that the previous logic still works?
Or can we refactor all engine code to make sure that:
- `ENTER_TREE` and similar do not depend on theme properties cached in member
variables.
- Or `THEME_CHANGE` does trigger a general UI update to make sure that any
bad theme handling in `ENTER_TREE` and co. gets fixed when `THEME_CHANGE`
does arrive for the first time. But that means having a temporary invalid
(and possibly still crashing) state, and doing some computations twice
which might be heavy (e.g. `EditorHelp::_update_doc()`).
|
| |\
| |
| | |
Rename `hint_tooltip` to `tooltip_text` & setter getter
|
| | |
| |
| |
| |
| |
| |
| |
| | |
`hint_tooltip` -> `tooltip_text`
`set_tooltip` -> `set_tooltip_text`
`_get_tooltip` -> `get_tooltip_text`
Updates documentation, too.
|
| |/ |
|
| |
|
|
| |
Avoid executing the following value-changed logics if the value does not really change.
|
| |
|
|
|
| |
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind().
Changed all uses of it to Callable.bind()
|
| | |
|
| |\
| |
| | |
Add `ok_button_text` to AcceptDialog and `cancel_button_text` to ConfirmationDialog
|
| | | |
|
| |/ |
|
| |
|
|
| |
Fixes #38195.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Add "generate_mipmap" font import option.
Add some missing features to the Sprite3D.
Move BiDi override code from Control to TextServer.
Add functions to access TextServer font cache textures.
Add MSDF related flags and shader to the standard material.
Change standard material cache to use HashMap instead of Vector.
|
| | |
|
| |
|
|
| |
character input with Alt / Ctrl modifiers, after processing of shortcuts.
|
| |\
| |
| |
| |
| | |
Calinou/filedialog-current-properties-hint-no-editor
Don't store and show current file/directory/path FileDialog properties
|
| | |
| |
| |
| |
| | |
These properties are only useful at run-time, so they don't need
to be displayed in the editor and stored.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit a988fad9a092053434545c32afae91ccbdfbe792.
As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used
everywhere but only in critical code paths. For theme methods specifically, it
was by design that only getters use `SNAME` and not setters.
|
| | | |
|