| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |\
| |
| |
| |
| |
| | |
ajreckof/prevent-disapearance-of-mouse-when-SpinBox-is-hidden-while-doing-a-drag-modification
Prevent disappearance of mouse when SpinBox is hidden while dragging
|
| | |
| |
| |
| | |
modification.
|
| | |
| |
| |
| |
| | |
Add support for comma ',' as a decimal separator for SpinBox. This implementation allows for expressions like `pow(2, 3)` to be used as well. If you use comma to separate decimals, use semicolon `;` to separate function parameters.
Change EditorSpinSlider behavior to match.
|
| |\ \
| | |
| | |
| | | |
Register theme properties with ThemeDB
|
| | | | |
|
| |\ \ \
| |/ /
|/| |
| | | |
Fix SpinBox not clearing text on improper input
|
| | | | |
|
| |/ / |
|
| | | |
|
| | | |
|
| |/ |
|
| |\
| |
| | |
Code style improvements to text_edit and related
|
| | | |
|
| |\ \
| |/
|/|
| | |
Fix `Range`-derived nodes not redrawing after `set_value_no_signal`
|
| | |
| |
| |
| |
| |
| | |
When using set_value_no_signal(), Range-derived nodes wouldn't redraw.
Also added a dedicated method to SpinBox to update its text.
|
| | |
| |
| |
| | |
Only positive or zero values make sense for this property.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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".
|
| |
|
|
| |
system conversion.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on.
Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency.
Just a few comments have also been changed to say "redraw".
In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
|
| |\ |
|
| | |
| |
| |
| | |
releasing mouse for spinbox
|
| |\ \
| |/
|/| |
|
| | | |
|
| |/
|
|
| |
Avoid executing the following value-changed logics if the value does not really change.
|
| |
|
|
|
|
| |
Rebased by EIREXE
This work has been kindly sponsored by IMVU & EIRTeam.
|
| |
|
|
|
| |
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind().
Changed all uses of it to Callable.bind()
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
For this to work safely (user not call queue_free or something in the expression), a const call mode was added to Object and Variant (and optionally Script).
This mode ensures only const functions can be called, making it safe to use from the editor.
Co-Authored-By: reduz <reduzio@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract".
* Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions.
* Converted a large amount of classes from "abstract" to "virtual" where it makes sense.
Most classes that make sense have been converted. Missing:
* Physics servers
* VideoStream
* Script* classes.
which will go in a separate PR due to the complexity involved.
|
| | |
|
| |
|
|
| |
Happy new year to the wonderful Godot community!
|
| |
|
|
|
|
| |
Also:
- Adds two stress tests to test_string.h
- Changes to .empty() on std::strings
|
| | |
|
| | |
|
| |
|
|
|
| |
This matches the name of the GDScript function (except it's uppercase
here).
|
| | |
|
| |
|
|
|
|
| |
While at it, tweak some boolean setters to use `p_enabled` for the bool.
Also renames `draw_minimap()` to `set_draw_minimap()`.
|
| |
|
|
| |
rather than 'text_entered'
|
| | |
|
| |
|
|
|
|
|
|
| |
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions.
* Everything else converted to GDVIRTUAL
* BIND_VMETHOD is gone, always use the new syntax from now on.
Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
|
| |
|
|
|
|
|
|
|
|
|
| |
* Added a new macro SNAME() that constructs and caches a local stringname.
* Subsequent usages use the cached version.
* Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time.
* Replaced all theme usages by this new macro.
* Replace all signal emission usages by this new macro.
* Replace all call_deferred usages by this new macro.
This is part of ongoing work to optimize GUI and the editor.
|
| |
|
|
|
|
|
|
|
| |
* LineEdit popups created on demand.
* TextEdit popups created on demand.
* SpinSlider popups created on demand.
* ResourcePicker popups created on demand.
Improves editor responsiveness.
|
| |
|
|
| |
Also MIDIMessage
|
| | |
|
| |
|
|
|
|
| |
Updates rich_text_label so that the built-in documentation can be searched
Previously, it would only find the first result and would not select other results
Renames "_entered" functions to "_submitted"
|