Commit Graph

73945 Commits

Author SHA1 Message Date
ec32dae1da Rename _strlen_clipped to strnlen (and use the system equivalent for char * inputs).
Add `strnlen` for `char16_t *` and `wchar_t *`.
2025-05-06 15:17:07 +02:00
1cf573f44d Merge pull request #105887 from Repiteo/core/modernize-headers
Core: Modernize C headers with C++ equivalents
2025-05-02 09:25:29 -05:00
f45e6d7462 Merge pull request #88925 from Aziroshin/linear-curve-zero-vector-bug
[Curve3D] Fix middle point forward vector when control1=end and…
2025-05-02 09:25:28 -05:00
da462c093a Merge pull request #105147 from Lazy-Rabbit-2001/sprite_stretching
Allow `Sprite2D` being dragged to change their `region_rect`
2025-05-02 09:25:27 -05:00
b5d176b537 Merge pull request #106003 from juanjp600/ci-macos-sconsflags-propagation
CI: Propagate `matrix.sconsflags` in macos_builds.yml
2025-05-02 09:25:27 -05:00
8fe55020c9 Merge pull request #106001 from kitbdev/dont-force-control-rect-pixel-snap
Allow Control Rect tool to not snap to pixel
2025-05-02 09:25:26 -05:00
acf38b2292 Merge pull request #76560 from aaronfranke/node-set-string-name
Change Node `set_name` to use StringName, slightly improves performance
2025-05-02 09:25:25 -05:00
bec3856cec Merge pull request #105997 from nklbdev/fix-file-system-dock-add-missing-shortcuts-from-tree-to-file-list
Fix added missing shortcuts from tree to file list
2025-05-02 09:25:24 -05:00
01fc9aee6c Core: Modernize C headers with C++ equivalents 2025-05-02 08:23:01 -05:00
a8ece29adc Merge pull request #104347 from DanielKinsman/libjpeg_turbo
Use libjpeg-turbo for improved jpg compatibility and speed
2025-05-02 12:03:28 +02:00
a0cc41b5ed Use libjpeg-turbo for improved jpg compatibility and speed
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-05-02 11:47:56 +02:00
cc948984ad Merge pull request #104973 from Ivorforce/gdextension-cpp-docs-link
Change "GDExtension example in C++" links to accommodate the new docs file structure.
2025-05-02 09:50:40 +02:00
kit
e6cb7affdc Allow Control Rect tool to not snap to pixel 2025-05-01 19:47:17 -04:00
257058a550 CI: Propagate matrix.sconsflags in macos_builds.yml 2025-05-01 20:45:26 -03:00
a404b668a1 Change Node set_name to use StringName 2025-05-01 15:15:19 -07:00
730adf4801 Merge pull request #105973 from lawnjelly/fti_fix_3d_exit_tree
FTI - Fix `SceneTreeFTI` behaviour on exit tree
2025-05-01 14:27:21 -05:00
b4c9602031 Merge pull request #105964 from markdibarry/deprecate-parallax-background-and-layer
Deprecate `ParallaxBackground` and `ParallaxLayer`
2025-05-01 14:27:20 -05:00
f215384aaa Merge pull request #105625 from zmn-hamid/zoom_drag_2d
Add drag zoom feature with CTRL+MiddleMouseButton
2025-05-01 14:27:20 -05:00
d51e0f9d2d Merge pull request #105968 from jaydensipe/find-bar-qol
Some QOL and cleanup to EditorHelp's `FindBar`
2025-05-01 14:27:19 -05:00
767e037726 Fix added missing shortcuts from tree to file list 2025-05-02 00:23:33 +05:00
1a91570ce9 [Curve3D] Fix middle point forward vector when control1=end and control2=begin; issue #88923
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-05-01 20:54:59 +02:00
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
ba4ab2dda3 FTI - Fix SceneTreeFTI behaviour on exit tree 2025-05-01 07:52:16 +01:00
201238168c Some QOL and cleanup to EditorHelp's FindBar 2025-04-30 21:43:05 -04:00
36e53922c7 Deprecate Parallax Background and Parallax Layer 2025-04-30 19:10:13 -04:00
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
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
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
baf9d6e150 Merge pull request #105871 from Ivorforce/quick-stringname-fixes
Quick `StringName` improvements.
2025-04-30 16:51:52 -05:00
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
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
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
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
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
c6e1bc6170 Fix oversampling for embedded windows using content scale. 2025-04-30 17:35:22 +03:00
694d034d5b Rename editor "File" MenuOption enums for clarity 2025-04-30 16:32:11 +02:00
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
2428db2dd1 Merge pull request #105915 from lawnjelly/fti_hotwheels4
FTI - Add custom interpolation for wheels
2025-04-30 09:18:45 -05:00
f4f1471b57 Merge pull request #105910 from lawnjelly/global_get_fast4
Add `GLOBAL_GET` cached macros.
2025-04-30 09:18:44 -05:00
d7615dc75f Merge pull request #105935 from TTHHR/fixdbus
Wayland: Fix compile error with DBUS disabled
2025-04-30 09:18:44 -05:00
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
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
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
afad1129dd Merge pull request #90436 from dsmtE/dev/region_texture_mapping
Expose built-in region information
2025-04-30 09:18:41 -05:00
81283460fd Merge pull request #105892 from timothyqiu/color-picker-improvements
Improve `ColorPicker`
2025-04-30 09:18:20 -05:00
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
a2b340a548 FTI - Add custom interpolation for wheels 2025-04-30 12:17:25 +01:00
93a366c9e5 Allow rotating selected cells in GridMap 2025-04-30 11:46:39 +01:00
daaf4119de Improve ColorPicker 2025-04-30 11:50:35 +02:00