Commit Graph

15631 Commits

Author SHA1 Message Date
Rémi Verschelde 775edd568b
Merge pull request #97389 from timothyqiu/button-autowrap-min-size
Fix button text autowrap overflow when inside a container
2024-09-26 18:45:28 +02:00
Rémi Verschelde 8eab2b52ed
Merge pull request #96835 from Malcolmnixon/animation-optimize
Expose the optimize method of the Animation class to gdscript.
2024-09-26 18:45:15 +02:00
matheusmdx 3e0d3c433b Fix pink GradientTexture2D 2024-09-26 09:50:55 -03:00
Rémi Verschelde a4c1804cab
Merge pull request #97483 from akien-mga/clang-format-19.1.0
CI: Update `clang-format` pre-commit hook to 19.1.0
2024-09-26 12:46:04 +02:00
Rémi Verschelde a90da7e87b
Merge pull request #93058 from Repiteo/scons/scons_hints
SCons: Add unobtrusive type hints in SCons files
2024-09-26 12:45:21 +02:00
Rémi Verschelde c92a6c7e27
CI: Update `clang-format` pre-commit hook to 19.1.0 2024-09-26 11:46:12 +02:00
Rémi Verschelde f7c567e2f5
Merge pull request #97447 from dsnopek/x11-focus-bugs-take-twenty-seven-million-and-seven
Fix renaming nodes on X11
2024-09-25 19:34:11 +02:00
Thaddeus Crews 9f9ee0c813
SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
David Snopek 36293a2dbf Fix renaming nodes on X11 2024-09-25 09:05:51 -05:00
Rémi Verschelde ca1a390050
Merge pull request #97398 from timothyqiu/color-picker-etr
Add missing `ETR` macros in `ColorPicker`
2024-09-25 12:39:29 +02:00
Rémi Verschelde 4c5e879cc5
Merge pull request #97380 from TheSofox/handle_modes_default_fix
Ensure `handle_modes` is given default values rather than flagging error if undefined
2024-09-25 12:39:22 +02:00
Rémi Verschelde 65c94ec873
Merge pull request #97290 from fire/fix-animation-compression
Fix animation compression going the wrong way
2024-09-25 12:39:18 +02:00
Rémi Verschelde 73bf121ceb
Merge pull request #93786 from alvinhochun/viewport-pixel-snap-fix
Apply "snap 2D transforms to pixel" to viewport
2024-09-25 12:39:10 +02:00
Paweł b88585abfc Add linux camera support 2024-09-25 12:08:06 +02:00
Haoyu Qiu 2e57089135 Add missing ETR macros in ColorPicker 2024-09-25 10:36:07 +08:00
Haoyu Qiu 0f98b32448 Fix button text autowrap overflow when inside a container 2024-09-24 09:55:48 +08:00
Sofox 633df0b29c Handle handle_modes being undefined by giving default values rather than flagging error 2024-09-23 20:22:26 +01:00
Ricardo Buring 7c4c4b9987 Move Godot Physics 2D into a module; add dummy 2D physics server
If the module is enabled (default), 2D physics works as it did before.

If the module is disabled and no other 2D physics server is registered
(via a module or GDExtension), then we fall back to a dummy
implementation which effectively disables 2D physics functionality (and
a warning is printed).

The dummy 2D physics server can also be selected explicitly, in which
case no warning is printed.
2024-09-23 17:33:45 +02:00
Rémi Verschelde 2017006879
Merge pull request #97314 from tetrapod00/visual-shader-remap
Visual Shader: Add vector operations to Remap node
2024-09-23 16:14:04 +02:00
Mark DiBarry 3f9bb59606 Prevent jitter in Parallax2D 2024-09-23 20:36:38 +08:00
Rémi Verschelde b9b793237c
Merge pull request #97315 from lawnjelly/fix_character_platform
Fix physics platform behaviour regression
2024-09-23 12:28:17 +02:00
Rémi Verschelde 720c236fc0
Merge pull request #90743 from timothyqiu/empty-selection-clipboard
Add TextEdit option to prevent copying without a selection
2024-09-23 12:27:35 +02:00
lawnjelly 6764338e09 Fix physics platform behaviour regression
Lifetime checks for stored `RIDs` for collision objects assumed they had valid `object_ids`.
It turns out that some are not derived from `Object` and thus checking `ObjectDB` returns false for some valid `RIDs`.
To account for this we only perform lifetime checks on valid `object_ids`.
2024-09-23 10:56:24 +01:00
tetrapod00 eb5a9c3b33 Visual Shader: Add vector operations to Remap node 2024-09-22 11:25:36 -07:00
K. S. Ernest (iFire) Lee dd9525be04 Fix animation compression going the wrong way
When compressing animation key frame indices the truncation breaks the animation near the border of pages.

We use banker's rounding (FE_TONEAREST) as implemented by fast_ftoi to get the nearest integer frame.
2024-09-21 19:20:19 -07:00
A Thousand Ships ccca41a086
Remove direct render include in `ExternalTexture`
This include introduces `windows/platform_gl.h` into the include
hierarchy which adds defines which break building on MSVC
2024-09-21 17:44:28 +02:00
Rémi Verschelde 2daea4bb0b
Merge pull request #97269 from timothyqiu/underline-unicode-identifier
Fix script editor not underlining Unicode identifiers when Ctrl-hovered
2024-09-21 11:51:02 +02:00
Rémi Verschelde d39f53439f
Merge pull request #96982 from dsnopek/external-texture
Add external texture support (GLES3)
2024-09-21 11:50:35 +02:00
Rémi Verschelde b271a88a9e
Merge pull request #96871 from KoBeWi/borrow_container
Add `SCROLL_MODE_RESERVE` to ScrollContainer
2024-09-21 11:50:31 +02:00
Haoyu Qiu 208797d54e Fix script editor not underlining Unicode identifiers when Ctrl-hovered 2024-09-21 14:10:05 +08:00
David Snopek 1a6f8512bc Add external texture support (GLES3)
Co-authored-by: Fredia Huya-Kouadio <fhuyakou@gmail.com>
Co-authored-by: Mauricio Narvaez <nvz@meta.com>
2024-09-20 10:48:32 -05:00
A Thousand Ships 203d3be200
[Core] Add way to check if a signal has any connections
Added to `Object` and `Signal`
2024-09-20 16:39:09 +02:00
Rémi Verschelde 77f779d326
Merge pull request #97167 from MewPurPur/reveal-undoredo
Expose `has_undo()` and `has_redo()` of LineEdit
2024-09-20 16:26:32 +02:00
Rémi Verschelde efc7c628b0
Merge pull request #97224 from timothyqiu/transition-names
Update `AnimationTree` parameter list when updating `AnimationNodeTransition` input names
2024-09-20 16:07:09 +02:00
Rémi Verschelde 25c4caa5d7
Merge pull request #97209 from kitbdev/fix-tab-container-ensure-visible-offset
Fix TabContainer tab offset moving when not needed
2024-09-20 16:06:59 +02:00
Rémi Verschelde 7ce8e4fd6b
Merge pull request #97159 from noidexe/Expose-viewport-get-audio-listener
Expose Viewport methods to get current 2D/3D audio listener
2024-09-20 16:06:39 +02:00
Rémi Verschelde d2a5153c66
Merge pull request #96677 from Wierdox/fix_audio_stream_player_3d_still_processing_when_out_of_range
Fix AudioStreamPlayer3D still processing when out of range
2024-09-20 16:06:28 +02:00
Rémi Verschelde 7e62565f1e
Merge pull request #95787 from timothyqiu/domestic
Add translation domain
2024-09-20 16:06:23 +02:00
Thaddeus Crews b37fc1014a
Style: Apply new `clang-format` changes 2024-09-20 08:09:48 -05:00
Haoyu Qiu f169616cc6 Update AnimationTree parameter list when updating AnimationNodeTransition input names 2024-09-20 16:21:03 +08:00
Wierdox a3158d89bb Fix AudioStreamPlayer3D still processing when out of range 2024-09-19 22:16:59 -07:00
kit 3d6814e5d2 Fix TabContainer tab offset moving when not needed 2024-09-19 19:26:35 -04:00
Lisandro Lorea bdcee836ad Expose Viewport::get_audio_listener_2d and Viewport::get_audio_listener_3d to scripting
Document exposed methods

Apply suggestions from code review

Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>

Document default behavior when no audio listeners are active
2024-09-19 18:43:33 -03:00
Haoyu Qiu 14321b8ed5 Set auto translate mode for drag previews
- Controls
  - `LineEdit`, `TextEdit`: Always disabled since it's dragging user input.
  - `TabBar`: Use the same auto translate mode as the node.
  - `RichTextLabel`: Always disable since auto translation is done
    differently from other controls (selection text you get
    programmatically is always after auto translation).
- Editor
  - Disable drag preview auto translation if the text is user input,
    filename, or class name.
  - Also disabled unexpected auto translation for audio bus effect names.
2024-09-19 19:21:29 +08:00
MewPurPur f7a7ecc10a Expose has_undo() and has_redo() of LineEdit 2024-09-19 13:18:04 +03:00
Rémi Verschelde a80e57c663
Merge pull request #97004 from Giganzo/file_dialog_size
Fix FileDialog default size
2024-09-18 17:41:03 +02:00
Rémi Verschelde 2f91184d8a
Merge pull request #97132 from WhalesState/tab-container-minimum-size
Fix `TabContainer` minimum size
2024-09-18 11:15:53 +02:00
Rémi Verschelde 2a8d30aa9f
Merge pull request #97029 from Hilderin/fix-viewport-texture-must-be-set-to-use-it
Fix Viewport Texture must be set to use it
2024-09-18 11:15:39 +02:00
Rémi Verschelde 1d3e9b3688
Merge pull request #96829 from dsnopek/x11-focus-bugs-take-twenty-seven-million-and-four
Fix project manager stealing focus on i3
2024-09-18 11:15:30 +02:00
Mounir Tohami 2ff61e0252 Fix `TabContainer` minimum size 2024-09-18 01:41:54 +00:00