1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00
Commit Graph

74137 Commits

Author SHA1 Message Date
hamid
82e23da12e Add drag zoom feature with CTRL+MiddleMouseButton
This change introduces a DragType enum to scene/gui/view_panner.cpp of
dragging, which includes:

- DRAG_TYPE_NONE: Not dragging
- DRAG_TYPE_PAN: Panning (dragging using MMB)
- DRAG_TYPE_ZOOM: Zooming (dragging using CTRL+MMB)

The goal of this change is the third option, which was already available
in 3D viewport but not in 2D. This feature should work in other editors
as well such as Animation Track Editor and Visual Shader Editor and so
on.
2025-05-01 15:15:44 +03:30
Marwen Azouzi
55dd5d59e1 Check if MJPEG and PNGWAV movie writers are enabled 2025-05-01 11:25:58 +02:00
lawnjelly
ba4ab2dda3 FTI - Fix SceneTreeFTI behaviour on exit tree 2025-05-01 07:52:16 +01:00
Jayden Sipe
201238168c Some QOL and cleanup to EditorHelp's FindBar 2025-04-30 21:43:05 -04:00
Mark DiBarry
36e53922c7 Deprecate Parallax Background and Parallax Layer 2025-04-30 19:10:13 -04:00
Thaddeus Crews
80a3d205f1 Merge pull request #105949 from bruvzg/emb_os_fix
Fix oversampling for embedded windows using content scale.
2025-04-30 16:51:54 -05:00
Thaddeus Crews
9e9f6c9c35 Merge pull request #105916 from Repiteo/core/msvc-fastfail
Core: Use `__fastfail()` in MSVC error macros
2025-04-30 16:51:53 -05:00
Thaddeus Crews
304347c3ac Merge pull request #104055 from Ivorforce/fixed-vector
Core: Add `FixedVector` template - a collection that can be used completely on the stack.
2025-04-30 16:51:53 -05:00
Thaddeus Crews
baf9d6e150 Merge pull request #105871 from Ivorforce/quick-stringname-fixes
Quick `StringName` improvements.
2025-04-30 16:51:52 -05:00
Thaddeus Crews
fb08e94c35 Merge pull request #105930 from a-johnston/fuzzy_search_index_field
Add original index field to fuzzy search result
2025-04-30 16:51:51 -05:00
Thaddeus Crews
eebbc12722 Merge pull request #105924 from akien-mga/editor-rename-MenuOptions-file-enum
Rename editor "File" MenuOption enums for clarity
2025-04-30 16:51:51 -05:00
Thaddeus Crews
c00e6c83f1 Merge pull request #105856 from akien-mga/basis_universal-rediff-patches
basis_universal: Rediff patches, remove Windows encoding fix
2025-04-30 16:51:50 -05:00
Lukas Tenbrink
1b1ab76a14 Add FixedVector template.
This is a high performance `Vector`-like object that can be used if the maximum number of objects is small and known, and the objects are needed only temporarily.
2025-04-30 19:14:08 +02:00
Lukas Tenbrink
91362a61da Simplify StringName to bool conversions.
Move `mutex` include of `string_name.h` to `string_name.cpp`.
2025-04-30 16:59:34 +02:00
Pāvels Nadtočajevs
c6e1bc6170 Fix oversampling for embedded windows using content scale. 2025-04-30 17:35:22 +03:00
Rémi Verschelde
694d034d5b Rename editor "File" MenuOption enums for clarity 2025-04-30 16:32:11 +02:00
Thaddeus Crews
32eafc18b4 Merge pull request #103806 from arkology/find-replace-bar-ui
`FindReplaceBar`: Fix "Replace (All)" buttons repositioning, improve "Hide" button visual feedback
2025-04-30 09:18:46 -05:00
Thaddeus Crews
2428db2dd1 Merge pull request #105915 from lawnjelly/fti_hotwheels4
FTI - Add custom interpolation for wheels
2025-04-30 09:18:45 -05:00
Thaddeus Crews
f4f1471b57 Merge pull request #105910 from lawnjelly/global_get_fast4
Add `GLOBAL_GET` cached macros.
2025-04-30 09:18:44 -05:00
Thaddeus Crews
d7615dc75f Merge pull request #105935 from TTHHR/fixdbus
Wayland: Fix compile error with DBUS disabled
2025-04-30 09:18:44 -05:00
Thaddeus Crews
8fd7311032 Merge pull request #105932 from Rindbee/add-note-to-is_valid_filename
Clarify the conditions that need to be met for a valid file name in Godot
2025-04-30 09:18:43 -05:00
Thaddeus Crews
61d90a8422 Merge pull request #103020 from Scarface1809/allow_rotating_selected_cells
Allow rotating selected cells in GridMap
2025-04-30 09:18:42 -05:00
Thaddeus Crews
b2829f3256 Merge pull request #105897 from akien-mga/mingw-remove-undef-hacks
Remove WinAPI `#undef` hacks needed for mingw-std-threads
2025-04-30 09:18:42 -05:00
Thaddeus Crews
afad1129dd Merge pull request #90436 from dsmtE/dev/region_texture_mapping
Expose built-in region information
2025-04-30 09:18:41 -05:00
Thaddeus Crews
81283460fd Merge pull request #105892 from timothyqiu/color-picker-improvements
Improve `ColorPicker`
2025-04-30 09:18:20 -05:00
lawnjelly
f8f350a32a Add GLOBAL_GET cached macros.
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.

Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-04-30 15:08:50 +01:00
风青山
14249097e8 Clarify the conditions that need to be met for a valid file name in Godot 2025-04-30 20:13:45 +08:00
lawnjelly
a2b340a548 FTI - Add custom interpolation for wheels 2025-04-30 12:17:25 +01:00
Scarface1809
93a366c9e5 Allow rotating selected cells in GridMap 2025-04-30 11:46:39 +01:00
Haoyu Qiu
daaf4119de Improve ColorPicker 2025-04-30 11:50:35 +02:00
Rémi Verschelde
8edf97e342 Merge pull request #105939 from akien-mga/ci-static-checks-update
CI: Run `apt update` before installing libxml2-utils
2025-04-30 11:50:11 +02:00
Rémi Verschelde
5b2d21aa68 CI: Run apt update before installing libxml2-utils 2025-04-30 11:28:15 +02:00
dsmtE
4e68f277c6 add REGION_RECT
fix formatting

fix shader compile (region_rect after draw_data)

fix formatting

fix formatting

Review fix (move region_rect in main + remove useless visual shader options)

fix formatting

fix alphabetic order (+ remove useless action for spatial shaders)

typo + remove TYPE_LIGHT option for  region_rect
2025-04-30 11:07:22 +02:00
tthhr
e7a3729175 fix:Compile error in wayland display server when compiling linuxbsd platform after disabling dbus 2025-04-30 14:22:52 +08:00
Adam Johnston
e025c9ed11 Add original index field to fuzzy search result 2025-04-29 17:39:59 -07:00
Thaddeus Crews
60aae6d856 Merge pull request #86653 from Mickeon/string-format-error
Improve error message for `String.format` when using nested Arrays
2025-04-29 16:05:20 -05:00
Thaddeus Crews
a13d05421f Merge pull request #105914 from adamscott/add_ignore_case_2
[Buildsystem] Add `EnumVariable(ignorecase=2)`
2025-04-29 16:05:19 -05:00
Thaddeus Crews
e558591e13 Merge pull request #105913 from adamscott/fix-doctest-ciso646-version
doctest: Patch for clang warning about replacing `<ciso646>` by `<version>`
2025-04-29 16:05:18 -05:00
Thaddeus Crews
16f7de7b64 Merge pull request #105912 from syntaxerror247/close-btn
Enable game window close button on PicoOS
2025-04-29 16:05:17 -05:00
Thaddeus Crews
eb3d0604ba Merge pull request #105876 from KoBeWi/dynamic_outline
Inline static variables (part 1)
2025-04-29 16:05:16 -05:00
Thaddeus Crews
d849ebb776 Merge pull request #105896 from piiertho/enhancement/gdextension/fallback-to-default-get-property-state-when-not-overriden
Fallback to ScriptInstance::get_property_state when get_property_state is not implemented in ScriptInstanceExtension
2025-04-29 16:05:15 -05:00
Thaddeus Crews
347e51e077 Merge pull request #105922 from aaronp64/dictionary_has_all
Avoid extra copy/validation of keys in `Dictionary::has_all`
2025-04-29 16:05:14 -05:00
aaronp64
e4bd611e19 Avoid extra copy/validation of keys in Dictionary::has_all
Updated Dictionary::has_all to check its HashMap directly for each validated key instead of going through Dictionary::has, to avoid additional copy/validation of each key.
2025-04-29 15:27:12 -04:00
Adam Scott
1fbc0c5631 [Buildsystem] Add EnumVariable(ignorecase=2) 2025-04-29 13:35:40 -04:00
Thaddeus Crews
b23a233b5b Core: Use __fastfail() in MSVC error macros 2025-04-29 12:25:11 -05:00
Adam Scott
be0bf71506 doctest: Patch for clang warning about replacing <ciso646> by <version> 2025-04-29 13:17:21 -04:00
Anish Mishra
f8e935d406 Enable close button on PicoOS 2025-04-29 22:38:37 +05:30
Thaddeus Crews
b1b873add3 Merge pull request #104731 from Delsin-Yu/stackable-text-effect
[GUI] Implement Stackable Text Outline on `Label`
2025-04-29 11:24:13 -05:00
Thaddeus Crews
bc21c322c6 Merge pull request #105880 from KoBeWi/deadline
Remove inline from constexpr variables
2025-04-29 11:24:13 -05:00
Thaddeus Crews
e37e6e620a Merge pull request #105911 from Repiteo/editor/range-nonfinite
Editor: Allow non-finite values in `Range`
2025-04-29 11:24:12 -05:00