Commit graph

56272 commits

Author SHA1 Message Date
clayjohn
558f4b7559 Initialize shader placeholders up front
Then use the placeholder to create the shader instead of swapping RIDs
This fixes a false positive that reported leaked shaders
2023-08-03 16:13:33 +02:00
Yuri Sizov
237bd0a615
Merge pull request #80117 from Sauermann/fix-actually-store-safe-rect
Actually store safe-rect in embedder
2023-08-02 21:48:02 +02:00
Yuri Sizov
79f6ac5cd5 Merge pull request #80161 from RandomShaper/avoid_crash_on_late_prints
Avoid crash on exiting due to late prints
2023-08-02 21:37:13 +02:00
Yuri Sizov
f415200323 Merge pull request #80156 from lawnjelly/dev_assert_note
Usage notes for DEV_ASSERT macro
2023-08-02 21:37:09 +02:00
Yuri Sizov
49305df0e0 Merge pull request #80092 from Faless/web/npm_update
[Web] Update npm packages
2023-08-02 21:37:05 +02:00
Yuri Sizov
24049b6646 Merge pull request #79950 from bruvzg/win_app
[macOS Export] Disable unpacked .app bundle export on Windows.
2023-08-02 21:37:01 +02:00
Yuri Sizov
1886dee28f Merge pull request #79588 from magian1127/4.0Fix78052
Fix the error when clicking AnimationTree in the editor
2023-08-02 21:36:56 +02:00
Yuri Sizov
0a9006a5aa Merge pull request #79501 from raulsntos/dotnet/warnings/NU5128
C#: Suppress NU5128 warning
2023-08-02 21:36:51 +02:00
Yuri Sizov
d7f07820aa Merge pull request #79228 from smix8/fix_funnel_4.x
Fix pathfinding funnel adding unwanted point
2023-08-02 21:36:46 +02:00
Yuri Sizov
dc05278b03
Merge pull request #79321 from akien-mga/ci-allow-skipping-gha-on-forks
CI: Allow skipping our GHA workflows with `DISABLE_GODOT_CI` variable
2023-08-02 18:25:16 +02:00
Markus Sauermann
1e9d241809 Actually store safe-rect in embedder
`sw` is a copy and not a reference.
Add unit-test for this case.
2023-08-02 17:51:52 +02:00
Rémi Verschelde
4646762c81
CI: Allow skipping our GHA workflows with DISABLE_GODOT_CI variable
Useful for custom forks of Godot which don't want to run our CI for any
reason.

This is configured in `settings/variables/actions` for the repository,
setting it to any value aside from an empty string will skip all jobs.
2023-08-02 17:48:47 +02:00
Magian
0b3c073c9e Fix the error when clicking AnimationTree in the editor 2023-08-02 22:45:09 +08:00
lawnjelly
85c3017052 Usage notes for DEV_ASSERT macro
Make it more clear that DEV_ASSERT is only to be used in specific cases.
2023-08-02 13:29:35 +01:00
Pedro J. Estébanez
b3a5e10f4a Avoid crash on exiting due to late prints 2023-08-02 13:38:58 +02:00
Rémi Verschelde
dca12c2e54
Merge pull request #80153 from bruvzg/win_mouse_pass_redraw_fix
[Windows] Do not force redraw window background on mouse pass-through region change.
2023-08-02 12:23:12 +02:00
Rémi Verschelde
f823bccdf8
Merge pull request #80135 from KoBeWi/A_NumbER_Is_REQuIrEd
Ignore null "id" in tile source proxy
2023-08-02 12:22:48 +02:00
Rémi Verschelde
6adc25ec7b
Merge pull request #80129 from MewPurPur/shader-include-icon
Add ShaderInclude class icon
2023-08-02 12:22:25 +02:00
Rémi Verschelde
e48b999f26
Merge pull request #80114 from Deledrius/modulo_typo
Fix typo in modulo error message.
2023-08-02 12:22:01 +02:00
Rémi Verschelde
74ce33a6fe
Merge pull request #80113 from MewPurPur/performance-icon
Add an icon to the Performance object
2023-08-02 12:21:36 +02:00
Rémi Verschelde
65d80c36a8
Merge pull request #80103 from MewPurPur/access-icons
Add FileAccess and DirAccess icons
2023-08-02 12:21:12 +02:00
Rémi Verschelde
f8ead6d5b6
Merge pull request #80089 from AThousandShips/editor_settings_fix
Fix API hash related crash in `EditorSettings`
2023-08-02 12:20:47 +02:00
Rémi Verschelde
6b38024b6a
Merge pull request #79801 from aaronfranke/gltf-scene-export-logic
Improve GLTF export logic for scene root nodes
2023-08-02 12:20:23 +02:00
Rémi Verschelde
3988bf614b
Merge pull request #79775 from aaronfranke/gltf-node-gen-cosmetic
Cosmetic changes in GLTF node generation code
2023-08-02 12:19:58 +02:00
Rémi Verschelde
f5b2d7d393
Merge pull request #79774 from aaronfranke/scene-import-root-type-name
Improve overriding the root type or root name in the scene importer
2023-08-02 12:19:34 +02:00
Rémi Verschelde
93c69a2db6
Merge pull request #79756 from sfreed141/root-node-casing-fix
In Create New Scene dialog derive the default root node name based on `editor/naming/node_name_casing`
2023-08-02 12:19:11 +02:00
Rémi Verschelde
3e958cfa8d
Merge pull request #79705 from 398utubzyt/gui/snap-charfx-fix
GUI: Snap CharFX offset to nearest pixel when setting is enabled
2023-08-02 12:18:46 +02:00
Rémi Verschelde
1cc377b4e0
Merge pull request #79650 from garychia/filters_section
Avoid duplicating the "Filters" section
2023-08-02 12:18:21 +02:00
Rémi Verschelde
d8cbb6d645
Merge pull request #79563 from danny88881/drag-and-drop-text-setting
Add drag'n'drop text option for `LineEdit` and `RichTextLabel`
2023-08-02 12:17:56 +02:00
Rémi Verschelde
2132638937
Merge pull request #79404 from raulsntos/dotnet/lines-open-in-external-editor
C#: Fix line in OpenInExternalEditor
2023-08-02 12:17:31 +02:00
Rémi Verschelde
2a9aaae8a5
Merge pull request #79293 from ItsNL/add-accept-dialog-close-on-unfocused
Check `FLAG_POPUP` to close an AcceptDialog when parent is focused
2023-08-02 12:17:06 +02:00
Rémi Verschelde
c000b0ce1b
Merge pull request #79267 from aaronfranke/gltf-copyright
Add copyright to GLTFState
2023-08-02 12:16:40 +02:00
Rémi Verschelde
ed301a4078
Merge pull request #79249 from raulsntos/dotnet/dont-ignore-call-error
C#: Print error when MethodBind/Callable call fails
2023-08-02 12:16:15 +02:00
Rémi Verschelde
2331eab917
Merge pull request #78675 from AThousandShips/template_fix
Fix indentation in script templates
2023-08-02 12:15:50 +02:00
Rémi Verschelde
b156e24216
Merge pull request #77280 from Rindbee/fix-unnecessary-break-in-Label
Fix unnecessary break when calculating the height of visible lines
2023-08-02 12:15:24 +02:00
Rémi Verschelde
df616c9a17
Merge pull request #69816 from Mickeon/doc-peeves-rect2m
Overhaul Rect2 & Rect2i Documentation
2023-08-02 12:14:53 +02:00
bruvzg
b240b5be84 [Windows] Do not force redraw window background on mouse pass-through region change. 2023-08-02 10:40:40 +03:00
Rémi Verschelde
c5da2e54fe
Merge pull request #80091 from YuriSizov/ci-compartmentalization
CI: Extract godot-cpp testing into its own job
2023-08-02 07:53:02 +02:00
Rémi Verschelde
933281f7ec
Merge pull request #80142 from Sauermann/fix-window-close-crash
Fix crash on Windows when closing `Window`
2023-08-02 07:42:37 +02:00
Markus Sauermann
8c1ce404d7 Fix crash on Windows when closing Window
Send `WINDOW_EVENT_MOUSE_EXIT` when a window is destroyed.

Ensure, that on Windows, the event_callback is still valid during
destroying the `Window`.
2023-08-02 00:17:25 +02:00
kobewi
91328a86cd Ignore null "id" in tile source proxy 2023-08-01 22:52:16 +02:00
Aaron Franke
ba3fb66d71
Merge pull request #79907 from kdiduk/fix-advanced-scene-reimport-default-settings
Fix reimporting scene with default values selected
2023-08-01 15:30:07 -05:00
Yuri Sizov
deb6025781 CI: Extract godot-cpp testing into its own job
This ensures that the godot-cpp job has plenty of resources
to run its build and avoid being affected by the main build.

Additionally:
- Extract test tasks into dedicated actions.
- Upload artifacts as early as possible.
- Ensure that we check master cache before random cache.
2023-08-01 20:41:45 +02:00
Aaron Franke
aa187d8d69
Improve overriding the root type or root name in the scene importer 2023-08-01 13:30:57 -05:00
Micky
ce95c83622 Overhaul Rect2 & Rect2i Documentation 2023-08-01 20:08:43 +02:00
Yuri Sizov
2992ffd255 Merge pull request #80125 from Calinou/shader-cache-remove-debug-print
Remove debugging print from shader cache
2023-08-01 20:04:07 +02:00
Yuri Sizov
9fe9922dd9 Merge pull request #80122 from timothyqiu/rid-id
Fix "a number is required" error when printing RID
2023-08-01 20:04:04 +02:00
Yuri Sizov
f37d192860 Merge pull request #80109 from timothyqiu/not-markdown
Fix invalid use of markdown syntax in classref
2023-08-01 20:04:00 +02:00
Yuri Sizov
79e28e0914 Merge pull request #80020 from dalexeev/gds-pot-gen-const-string
GDScript: Add constant string support for POT generator
2023-08-01 20:03:56 +02:00
Yuri Sizov
2d6e98d9c8 Merge pull request #79984 from KoBeWi/reverse_engineering_or_something_idk
Reverse condition for skipping directories
2023-08-01 20:03:51 +02:00