Age | Commit message (Collapse) | Author |
|
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.
The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.
Fixes #26135.
|
|
|
|
|
|
|
|
|
|
Happy new year to the wonderful Godot community!
|
|
methods to gdscript/gdnative.
|
|
-Removed one and zero hints for properties, replaced by default value
|
|
Avoiding undefined behaviour and cleaning up Valgrind output.
|
|
|
|
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
|
|
|
|
|
|
- Add pressed state to clear button
- Enable clear button on all inputs with search icon
- Remove duplicate clear buttons
- Fix rendering of icon for center and right alignments
- Add clear button to more search fields
- Add clear icon to default theme
- Add method to control enabled state of clear button
- Add property to enable clear button from inspector
|
|
|
|
The caret in LineEdit is still 1 pixel thick, but it will become
2 pixels thick at editor scales higher than or equal to 150%.
|
|
|
|
-Added ability to edit resources from built-in inspector (wip, needs testing and feedback)
|
|
|
|
|
|
Fix in #18370 is now only valid for OSX and is reverted for other OS.
Fixes #19042
|
|
Removing some _changed signals in set_ functions.
Includes revert of commit 384625aa31a3627c25246e06c1fbc3019866765c
|
|
- Implement outlines based on FreeType Stroker API. This allows
artifact-free results, similar to what you will see in Web or any text
editing tools. Outline is a part of DynamicFont rather than Label,
because outlines have to be baked into the font's atlas. Font has a
default outline_color and a Label can specify font_outline_modulator
that will be multiplied with the Font's color to get the final result.
- draw_char now has to be called twice to fully render a text - first
with p_outline == true for each character and then with
p_outline == false for each character.
- Number of draw-calls is reduced from 5 to 2 per outlined character.
- Overall cleanup of DynamicFont code, extracted duplicated code pieces
into separate methods.
- The change is backward-compatible - Labels still have outline
properties that work exactly as they worked before.
Closes #16279.
|
|
API hash fixes
|
|
Editing the `Text` property through the editor causes a wrong
placement of the placeholder, as it calls `LineEdit::clear_internal`,
which was wrongly reseting the cached placeholder width.
Fix #18184.
|
|
Adds support for CMD+Left and CMD+Right on MacOS
|
|
Tweak the property hint ranges of caret blink and line length guideline
|
|
|
|
|
|
This allows for more precise adjustments.
|
|
CMD+Left and CMD+Right are hotkeys used on MacOS for
moving cursor to start and end of the text, respectively.
They are now supported, alongside ALT+key.
Fixes: #17631
|
|
|
|
LineEdit doesn't correctly uses style margins nor use placeholders
width correctly, causing multiple rendering bugs.
|
|
When line edit receive a up/down and the cursor is at beginning/end it
will not set the input as handled
|
|
text is selected
|
|
Notable potentially breaking changes:
- PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL
- Some properties were renamed, and sometimes even shadowed by new ones
- New getter methods (some virtual) were added
|
|
Fixes #10212.
|
|
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
|
|
Support KEY_UP and KEY_DOWN in LineEdit
|
|
Happy new year to the wonderful Godot community!
|
|
|
|
|
|
Fixes #14340
|
|
expand_to_text_length and shift window on expand to see all text
|
|
TextEdit
|
|
Fix LineEdit drag selection to the left
|
|
|
|
|
|
|
|
|