summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2020-11-26[Complex Text Layouts] Refactor Label and LineEdit controls.bruvzg
2020-11-26[Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg
use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
2020-11-26Merge pull request #43807 from Xrayez/aspect-ratio-containerRémi Verschelde
Add `AspectRatioContainer` class
2020-11-26Merge pull request #43865 from madmiraal/fix-43852Rémi Verschelde
Check joint nodes and generate configuration warning messages.
2020-11-26Removed unused property 'pending_resize' from ControlEric M
2020-11-25Check joint nodes and generate configuration warning messages.Marcel Admiraal
2020-11-25Add `AspectRatioContainer` classAndrii Doroshenko (Xrayez)
Co-authored-by: Ugis Brekis <ugis.brekis@productmadness.com>
2020-11-25Merge pull request #43833 from volzhs/fix-scrollcontainer-bar-max-valueRémi Verschelde
Fix to update scroll bar has correct max value in ScrollContainer
2020-11-25Update clear button when clickedTomasz Chabora
2020-11-25Fix to update scroll bar has correct max value in ScrollContainervolzhs
2020-11-22fixed Camera2D rotation with non-square zoomgreenfox
2020-11-20doc: Warn about using Node internal processingRémi Verschelde
See #43689. Also 'fixed' some spelling for behavior in publicly visible strings. (Sorry en_GB, en_CA, en_AU, and more... Silicon Valley won the tech spelling war.)
2020-11-20Do not start `Timer` upon manual switching of internal processAndrii Doroshenko (Xrayez)
Prevents `Timer` to prematurely start and timeout immediately if internal processing is enabled manually with `Timer.set_process_internal(true)` or `Timer.set_physics_process_internal(true)`. Even if the internal processing is enabled manually, the user still has to actually start the timer with `start()` method explicitly.
2020-11-17Describe `ImageTexture`, `Image` creation and usageAndrii Doroshenko (Xrayez)
2020-11-17Merge pull request #38812 from aaronfranke/brace-no-empty-lineRémi Verschelde
Remove all empty lines from the start of blocks defined with braces
2020-11-17Merge pull request #43547 from TokageItLab/lowering-s3d-and-camera-min-unitRémi Verschelde
Lowering the Minimum Unit at Shape3D and Cameras
2020-11-16Remove empty lines around braces with the formatting scriptAaron Franke
2020-11-17Lowering the Minimum Unit at Shape3D and CamerasTokage
2020-11-16Merge pull request #43316 from YeldhamDev/rate_scale_wav_fixRémi Verschelde
Fix WAV resources ignoring the AudioServer's 'global_rate_scale' value
2020-11-16Merge pull request #42008 from Calinou/theme-rename-node-typeRémi Verschelde
Rename the `type` parameter to `node_type` in Theme and Control
2020-11-16Merge pull request #43566 from Calinou/remove-pause-mode-script-property-groupsRémi Verschelde
Remove property groups for Pause Mode and Script
2020-11-16Merge pull request #41851 from EricEzaM/PR/popup-menu-hysteresisRémi Verschelde
Added hysteresis for popup sub-menus
2020-11-15Remove property groups for Pause Mode and ScriptHugo Locurcio
Each of those only grouped 1 property, making them useless. This closes https://github.com/godotengine/godot-proposals/issues/1840.
2020-11-15GUI: send cursor data from TextEditSergey Minakov
2020-11-12Improve error messages related to failing to open filesNick Swoboda
2020-11-11Merge pull request #43449 from nekomatata/line_edit_window_posRémi Verschelde
Expose LineEdit scroll offset to scripts
2020-11-11Expose LineEdit scroll offset to scriptsPouleyKetchoupp
2020-11-09Variant: Rename Type::_RID to Type::RIDRémi Verschelde
The underscore prefix was used to avoid the conflict between the `RID` class name and the matching enum value in `Variant::Type`. This can be fixed differently by prefixing uses of the `RID` class in `Variant` with the scope resolution operator, as done already for `AABB`.
2020-11-09Refactored variant constructor logicreduz
2020-11-08Added hysteresis for popup sub-menusEric M
This adds a small lag effect when opening submenus which allow the user to move directly to an item on the submenu without worrying about avoiding the autohide regions.
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-11-06Merge pull request #43283 from Calinou/color-remove-contrastedRémi Verschelde
Remove `Color.contrasted()` as its behavior is barely useful
2020-11-06Fix uninitialised variables in the BaseMaterial3D.bruvzg
2020-11-04Fix WAV resources ignoring the AudioServer's 'global_rate_scale' valueMichael Alexsander
2020-11-04doc: Sync classref with current source + fixup some bindingsRémi Verschelde
Includes various changes triggered by the refactoring of method bindings.
2020-11-04Implement DirectionalLight2Dreduz
Also separated Light2D in PointLight2D and DirectionalLight2D. Used PointLight2D because its more of a point, and it does not work the same as OmniLight (as shape depends on texture). Added a few utility methods to Rect2D I needed.
2020-11-03Merge pull request #39635 from Meriipu/master_nodropRémi Verschelde
do not drop mouseover on WM_MOUSE_EXIT
2020-11-03Remove `Color.contrasted()` as its behavior is barely usefulHugo Locurcio
Returning the most contrasting color isn't a trivial task, as there are often many possible choices. It's usually best left for the user to implement using a script.
2020-11-03Tooltips: Improve code clarity and docsRémi Verschelde
The return type for `_make_custom_tooltip` is clarified as Control, and users should make sure to return a visible node for proper size calculations. Moreover in the current master branch, a PopupPanel will be added as parent to the provided tooltip to make it a sub-window. Clarifies documentation for `Control._make_custom_tooltip`, and shows how to use the (until now undocumented) "TooltipPanel" and "TooltipLabel" theme types to style tooltips. Fixes #39677.
2020-11-02Alpha Hash and Alpha2Coverage ImplementationMarios Staikopoulos
2020-11-01Merge pull request #42703 from RandomShaper/fix_anim_backwardsRémi Verschelde
Fix premature end of animation playing backwards
2020-10-30Refactor pixel snapping.reduz
-Rename pixel_snap to snap_2d_to_vertices -Added snap_2d_to_transforms which is more useful Fixes #41814 Solves proposal https://github.com/godotengine/godot-proposals/issues/1666 Supersedes #35606, supersedes #41535, supersedes #41534
2020-10-29Fix crash in TabContainer in case of no content at allvolzhs
2020-10-28Update scene/resources/dynamic_font.cppJuan Linietsky
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-10-28Implement CanvasGroup and CanvasItem clippingreduz
-Allows merging several 2D objects into a single draw operation -Use current node to clip children nodes -Further fixes to Vulkan barriers -Changed font texture generation to white, fixes dark eges when blurred -Other small misc fixes to backbuffer code.
2020-10-28Removed redundant line from TextEditYuri Roubinsky
introduced in https://github.com/godotengine/godot/pull/43026
2020-10-28Merge pull request #43147 from Mallos/fix/sprite2d-rectRémi Verschelde
fix(sprite2d): Rect is not handling pixel snap
2020-10-28Merge pull request #42766 from volzhs/tab-containerRémi Verschelde
Put unselected tabs back in TabContainer control
2020-10-27fix(sprite2d): Rect is not handling pixel snapEric Tuvesson
related https://github.com/godotengine/godot/issues/42985
2020-10-27Rename the `type` parameter to `node_type` in Theme and ControlHugo Locurcio
This makes it clearer that it expects a node type as a string (such as "Label") instead of a type like "TYPE_ARRAY". This is backwards-compatible since only the name of the parameter is changed, not its order.