Commit Graph

18990 Commits

Author SHA1 Message Date
Thaddeus Crews 28eecef6f1 Merge pull request #118906 from TokageItLab/spb-signal-arg
Add lacked argument to bound method for curve in SpringBoneSimulator
2026-04-24 15:43:33 -05:00
Silc Lizard (Tokage) Renew c7bd58d3c9 Add lacked argument to bound method for curve in SpringBoneSimulator 2026-04-24 11:10:28 +09:00
Thaddeus Crews 908983880b Merge pull request #118645 from Miurg/fix-texture-button-switch
GUI: replace single case switch with if in texture_button
2026-04-23 08:34:46 -05:00
Thaddeus Crews 583596cd50 Merge pull request #118842 from mihe/submenu-positioning
Fix positioning of `PopupMenu` submenus
2026-04-22 12:54:46 -05:00
Thaddeus Crews dbb2050439 Merge pull request #118846 from mihe/popupmenu-gamepad-navigation
Fix `PopupMenu` gamepad navigation when filtered
2026-04-22 12:54:45 -05:00
Thaddeus Crews a70600a061 Merge pull request #118849 from mihe/popupmenu-first-offset
Fix `PopupMenu` using the wrong separation when searching/filtering
2026-04-22 12:54:43 -05:00
Thaddeus Crews c2ad2d1fb1 Merge pull request #118836 from TokageItLab/remove-method-sname
Remove `SNAME` from MethodInfo macro
2026-04-22 12:54:42 -05:00
Thaddeus Crews 3352f2221b Merge pull request #118799 from SorkoPiko/fix/picker-permission-visibility
Fix color picker MacOS permission request box always being visible
2026-04-22 12:54:41 -05:00
Thaddeus Crews 783c614766 Merge pull request #118704 from WhalesState/rich-text-label-u
RTL: Remove unused `width_with_padding`.
2026-04-22 12:54:39 -05:00
Thaddeus Crews 0e25644655 Merge pull request #118796 from deralmas/gotta-go-wrap
Buildsystem: Simplify `format_buffer` utility method
2026-04-22 09:58:29 -05:00
Mikael Hermansson 8c02c9e5e9 Fix positioning of PopupMenu submenus 2026-04-22 16:15:26 +02:00
Mikael Hermansson 9599ab55b3 Fix PopupMenu using the wrong separation when searching/filtering 2026-04-22 13:36:17 +02:00
Mikael Hermansson 87c7f6aee8 Fix PopupMenu gamepad navigation when filtered 2026-04-22 13:09:23 +02:00
Silc Lizard (Tokage) Renew bd6e63482e Remove SNAME from MethodInfo macro 2026-04-22 18:48:26 +09:00
Dery Almas e4dcf1d852 Buildsystem: Simplify format_buffer utility method
This method is used to generate headers for embedding files into the binary
(think about the new `#embed` feature in C23 and C++26).

While the stringification step itself was plenty fast, it then proceeded
to wrap everything using the `textwrap` module. `textwrap` is *very*
slow, as it's apparently optimized for human text.

This patch reimplements the wrapping logic using a simple regex,
resulting in a tremendous speed improvement (~6x), and switches to `map`
for the stringification itself (thanks Rémi!)

It also removes a (practically) unused argument, `initial_indent`.

The generated files are pretty much the same, with a tiny difference in
line length (for some reason the old logic overshot the requested line
length)
2026-04-21 23:18:42 +02:00
Thaddeus Crews 3bccdd2e4b Merge pull request #118733 from jinyangcruise/fix_custom_canvas_item_covers_
Fix custom canvas item covers text
2026-04-21 08:48:13 -05:00
Thaddeus Crews 7b99b6b975 Merge pull request #115184 from YeldhamDev/asset_lib_hint_fixes
Fix scroll hint margins in the asset library
2026-04-21 08:48:09 -05:00
SorkoPiko 82680c25d4 fix: only show color picker permission box when sampler is visible 2026-04-21 20:40:31 +10:00
Thaddeus Crews 3bf2d1e3d5 Merge pull request #118246 from Goldenlion5648/fix-scene-tree-shortcuts
Make shortcuts that use letters or alt work in the scene tree
2026-04-20 09:15:46 -05:00
jinyangcruise 92ecfbae83 fix custom canvas item covers text 2026-04-19 23:28:11 +08:00
Simon Döhl 0bca265a81 Free Tree custom_ci RID in destructor 2026-04-18 21:08:11 +02:00
Thaddeus Crews 29cec720e4 Merge pull request #115797 from jinyangcruise/fix_find_in_files_hover_style
Fix highlighted word style being overwritten by hover/pressed styles in find in files
2026-04-18 07:28:29 -05:00
Mounir Tohami 0271dfd7b6 [RTL]: Remove unused width_with_padding. 2026-04-18 02:29:32 +02:00
Michael Alexsander 1255bdf434 Fix scroll hint margins in the asset library 2026-04-16 20:48:58 -03:00
jinyangcruise 251af31089 fix hover/pressed style overwride custom drawed content 2026-04-16 22:56:54 +08:00
Thaddeus Crews a6ed51df17 Merge pull request #118623 from YeldhamDev/too_late_i_guess
Deprecate `TabContainer.all_tabs_in_front` due to now being useless
2026-04-16 09:41:20 -05:00
Thaddeus Crews 771325eb59 Merge pull request #118620 from WhalesState/text-edit-unused-var
TextEdit: Remove unused `next_item_id` variable.
2026-04-16 09:41:15 -05:00
Thaddeus Crews 070d9a408b Merge pull request #118608 from shiena/fix/118581-multitouch-button-signals
Fix BaseButton multitouch signals firing for only 1 button
2026-04-16 09:41:14 -05:00
Thaddeus Crews 9b4b3831d2 Merge pull request #118588 from Bromeon/feature/more-required-ptrs
Use `RequiredParam`/`RequiredResult` in several more APIs
2026-04-16 09:41:13 -05:00
Thaddeus Crews 790c68368f Merge pull request #118590 from Bromeon/feature/required-ptr-conversion
Add `RequiredParam` -> `RequiredResult` conversion
2026-04-16 09:41:12 -05:00
Thaddeus Crews e5d0a8d814 Merge pull request #117072 from KoBeWi/template_shattering_event
Rework export template dialog to allow individual templates
2026-04-16 09:41:08 -05:00
Shimu c09ded0f23 replace single case switch with if in texture_button 2026-04-16 16:30:32 +02:00
kobewi 64c8952975 Rework export template dialog to allow individual templates 2026-04-16 12:31:58 +02:00
Michael Alexsander 3729bc8940 Deprecate TabContainer.all_tabs_in_front due to now being useless 2026-04-15 19:02:05 -03:00
Kaleb Reid f973e3e346 Remove p_ and add r_ prefixes to argument names 2026-04-15 13:47:15 -07:00
Thaddeus Crews 4836ba26f0 Merge pull request #115340 from wagnerfs/add-translation-context
Add translation context to Controls
2026-04-15 14:02:36 -05:00
Mounir Tohami de3337977a TextEdit: Remove unused next_item_id variable. 2026-04-15 20:51:29 +02:00
KOGA Mitsuhiro 8e30e2ee89 Fix BaseButton multitouch signals firing for only 1 button 2026-04-15 21:45:35 +09:00
Rémi Verschelde 2bd673bc30 Merge pull request #118591 from StarryWorm/fix-meshlibrary-crash
Fix `MeshLibrary` crash
2026-04-15 12:41:19 +02:00
Rémi Verschelde 60c2e1e59d Merge pull request #118542 from shiena/fix/118517
Fix BaseButton popup unresponsive on touchscreen after first tap
2026-04-15 12:41:11 +02:00
Rémi Verschelde 37b6d4d8be Merge pull request #117776 from migueldeicaza/fix-crash-viewport
Fix a potential crash in `Viewport` 3D physics picking
2026-04-15 12:40:44 +02:00
Wagner a82b69a554 Adds translation context to Controls
Co-authored-by: jkirsteins <janis.kirsteins@datadoghq.com>
2026-04-14 23:47:49 -03:00
Enzo Novoselic 6784e1e9fa Fix crash due to missing guards 2026-04-14 19:37:42 -04:00
Jan Haller 71d44651c4 Add RequiredParam -> RequiredResult conversion
Adds implicit conversion from `RequiredResult<T_Other>` to `RequiredParam<T>` (where
`T_Other` derives from `T`). This allows passing a `RequiredResult` directly to a
`RequiredParam` without an intermediate variable.

Also changes `SceneTree::get_root()` to return `RequiredResult<Window>`. It is used in a
conversion as described above.

Why non-null: The root window is created in the `SceneTree` constructor and only set to
null in the destructor, so it is always valid during normal use. The function is no longer
`_FORCE_INLINE_` because `RequiredResult<Window>` requires Window to be a complete type.
2026-04-15 01:23:48 +02:00
Jan Haller 773ee962ed Use RequiredParam/RequiredResult in several more APIs 2026-04-15 00:53:13 +02:00
Thaddeus Crews f94bbfc07c Merge pull request #118353 from Chaosus/shader_subgroups
Allow to define more than one subgroup level in shader material
2026-04-14 07:11:08 -05:00
Thaddeus Crews 15438d2d64 Merge pull request #117828 from lawnjelly/fti_fix_property_release_4
`FTI` - Fix property release updates
2026-04-14 07:11:06 -05:00
Thaddeus Crews 0880a908d7 Merge pull request #118536 from StarryWorm/fix-label-crash
Defer minimum size updates in maximum size handling
2026-04-14 07:11:02 -05:00
Thaddeus Crews 57af0d2cf2 Merge pull request #118351 from StarryWorm/flip-em
Reorganize `Control` inspector layout
2026-04-14 07:11:01 -05:00
Thaddeus Crews 8e303ff6d9 Merge pull request #118535 from clayjohn/drawable-texture-fix
Remove `set_width` and `set_height` from DrawableTexture since they are not functional
2026-04-14 07:10:58 -05:00