Commit Graph

59170 Commits

Author SHA1 Message Date
clayjohn 8a95b2956f Make AMOUNT_RATIO constant in the shader language specification.
Writing to it doesn't do anything and will crash the compatibility backend.
2023-11-19 14:36:26 +01:00
风青山 ed0e6e87fd Fix translation po file not found when `make rst`
The parsed language parameters contain unstripped spaces. This will
generate a wrong path.

Provide a `TOOLSOPT` to allow overriding the default values of
parameters of the `make_rst.py` script.

The xml generated by `godot --doctool -l LANG` can be checked for
errors using `make xml-check LANGARG=LANG`, which may be useful for
checking errors in po files.
2023-11-19 11:29:46 +08:00
Pedro J. Estébanez fe4850c0d0 Use mingw-std-threads in MinGW builds 2023-11-18 11:56:05 +01:00
Lera Elvoé 60cb44e84c
Add GraphEdit connection layer child as internal 2023-11-17 15:29:39 +03:00
Rémi Verschelde 80de898d72
Merge pull request #85006 from Calinou/makerst-index-disallow-page-comments
makerst: Disallow user-contributed notes on the class index page
2023-11-17 12:43:54 +01:00
Hugo Locurcio c7f6504105
makerst: Disallow user-contributed notes on the class index page
User-contributed notes are still allowed on individual class pages.
2023-11-17 10:51:29 +01:00
Rémi Verschelde ad72de5083
Bump version to 4.2-rc 2023-11-16 17:40:19 +01:00
Rémi Verschelde 0bcd0745d6
Update AUTHORS list 2023-11-16 17:39:44 +01:00
Rémi Verschelde 80e1672836
i18n: Sync translations with Weblate 2023-11-16 17:38:43 +01:00
Rémi Verschelde 47c7abc212
Merge pull request #84973 from dsnopek/gdextension-fix-compat-hashes
Check that `GDExtensionCompatHashes` are valid when generating `extension_api.json`
2023-11-16 14:53:39 +01:00
Rémi Verschelde 4065266119
Merge pull request #84968 from groud/fix_tilemap_reparenting
Update tilemap physics' world2D on reparenting
2023-11-16 14:53:15 +01:00
Rémi Verschelde 7e679ea16b
Merge pull request #84945 from bruvzg/ios_dotnet_export_fix
[iOS] Fix dotnet export.
2023-11-16 14:52:52 +01:00
Rémi Verschelde b049ac43ba
Merge pull request #84927 from bruvzg/macos_ext_frame_upd
[macOS] Process events before changing title style to update window frame.
2023-11-16 14:52:28 +01:00
Rémi Verschelde 6ae6cc0bf5
Merge pull request #84815 from TokageItLab/array-animation
Rework blending method in `Variant` animation for `Int`/`Array`/`String`
2023-11-16 14:52:00 +01:00
bruvzg a92511fec3
[iOS] Fix dotnet export. 2023-11-16 15:05:44 +02:00
David Snopek 5cf6d08dda Check that GDExtensionCompatHashes are valid when generating extension_api.json 2023-11-16 06:40:06 -06:00
Silc Lizard (Tokage) Renew 80c9533810 Rework blending method in Variant animation for Int/Array/String 2023-11-16 21:37:18 +09:00
Gilles Roudière dae641625a Update tilemap physics' world2D on reparenting
Co-authored-by: Alon Ran <newdefectus@gmail.com>
2023-11-16 11:31:42 +01:00
Rémi Verschelde ce9901ef54
Merge pull request #84955 from kisg/fix_opengl_on_ios
Fix iOS Simulator by removing incorrect `system_fbo` overwrite
2023-11-16 10:54:38 +01:00
Rémi Verschelde 60c40ed809
Merge pull request #84952 from alesliehughes/renderer_viewport_sizeof
Renderer Viewport correct `sizeof` usage.
2023-11-16 10:54:15 +01:00
Rémi Verschelde 25b0b46dcc
Merge pull request #84925 from alesliehughes/fix_sizeof_usage
Fix `sizeof` usage for Variant pointers in `alloca`
2023-11-16 10:53:51 +01:00
Bastiaan Olij 47983e30c5 Ensure 2D MSAA resolve is performed when 3D content but no 2D content in scene 2023-11-16 13:34:34 +11:00
Gabor Koncz 0198eedb06 Remove incorrect system_fbo overwrite 2023-11-16 01:56:20 +01:00
Alistair Leslie-Hughes 367079ffee Renderer Viewport correct sizeof usage.
The current usage.

In viewport_find_from_screen_attachment
- Allocates a list of pointers, eg sizeof(RID*) * ridcount.

We need fill that buffer
viewport_owner.fill_owned_buffer(rids);
...
 p_rid_buffer[idx] = _make_from_id((validator << 32) | i);

_make_from_id returns an RID object, not a pointer.

Since there isn't a copy constructor, a bitwise copy of the object occurs.

This issue will only present itself under 32bit builds.
sizeof(RID)  : 8
sizeof(RID*) : 4

whereas 64bit builds they are both 8.
2023-11-16 11:02:12 +11:00
Alistair Leslie-Hughes 5b6f641e99 Fix sizeof usage for Variant pointers in alloca
Coverity report this as a non portable usage of sizeof
2023-11-16 07:13:14 +11:00
Rémi Verschelde 56a2b143a2
Merge pull request #84942 from TokageItLab/leak-res-track-cache
Fix ValueTrack with Resource is leaking
2023-11-15 18:47:10 +01:00
Silc Lizard (Tokage) Renew f853d675e8 Fix ValueTrack with Resource is leaking 2023-11-16 02:12:39 +09:00
Rémi Verschelde cc135c5821
Merge pull request #84931 from YuriSizov/editor-hot-topic-hot-keys
Make script/shader editor save shortcuts unique again
2023-11-15 14:32:22 +01:00
Rémi Verschelde e0707a068c
Merge pull request #84924 from mihe/fix-84919
Fix transform sync in `RigidBody*D::_body_state_changed`
2023-11-15 14:32:18 +01:00
Rémi Verschelde 00177d7735
Merge pull request #84883 from BastiaanOlij/fix_variant_load
Ensure optional CopyEffects variants are loaded last.
2023-11-15 14:32:14 +01:00
Rémi Verschelde d89c5313a5
Merge pull request #83290 from trollodel/move_progress_dialog_on_open
Keep focus on floating window when showing ProgressDialog
2023-11-15 14:32:07 +01:00
Yuri Sizov 0f5a14c397 Make script/shader editor save shortcuts unique again 2023-11-15 14:10:12 +01:00
Rémi Verschelde c851a46065
Merge pull request #84929 from bruvzg/gl_prop
[macOS] Cleanup default GL driver setting.
2023-11-15 13:16:01 +01:00
Rémi Verschelde 6d47eff457
Merge pull request #83104 from jsjtxietian/fix-crash-when-reimport-animation-while-playing
Fix editor crash when re-importing GLTF while animation is playing
2023-11-15 13:15:54 +01:00
bruvzg cf56b881eb
[macOS] Cleanup default GL driver setting. 2023-11-15 10:07:16 +02:00
bruvzg c64c1053e9
[macOS] Process events before changing title style to update window frame. 2023-11-15 09:33:23 +02:00
Bastiaan Olij b1c4d4e55b Ensure optional variants are loaded last. 2023-11-15 14:31:25 +11:00
jsjtxietian 3c10493d0b Fix Editor crash when re-importing GLTF while animation is playing 2023-11-15 11:13:42 +08:00
Mikael Hermansson a3278c772e Fix transform sync in `RigidBody*D::_body_state_changed` 2023-11-15 01:45:45 +01:00
Rémi Verschelde d5217b68db
Merge pull request #84914 from mihe/revert-84856
Revert "Fix transform notification not getting sent out for RigidBody2D"
2023-11-14 23:31:44 +01:00
Rémi Verschelde 03204551f8
Merge pull request #84911 from Sauermann/fix-experimental-input-event
Mark `SubViewportContainer::_propagate_input_event` experimental
2023-11-14 23:31:21 +01:00
Rémi Verschelde 6197f0952b
Merge pull request #84872 from alesliehughes/res_import_scene
Fix Resource Importer use after free
2023-11-14 23:30:53 +01:00
Mikael Hermansson a98b94758b Revert "Fix transform notification not getting sent out for RigidBody2D" 2023-11-14 22:17:26 +01:00
Markus Sauermann 8ac2e2ac20 Mark `SubViewportContainer::_propagate_input_event` experimental
The function got introduced during 4.2-dev and it was discussed, if it
could be implemented in a way that also allows InputEvent filtering
during `Node._process`. Let's keep this function experimental for the
moment, in case we implement a general solution.
2023-11-14 21:34:46 +01:00
Rémi Verschelde c455cb6555
Merge pull request #84897 from raulsntos/dotnet/callp-when-invalid
C#: Fail `callp` silently if script is not valid
2023-11-14 19:31:55 +01:00
Rémi Verschelde dcee5cf9fa
Merge pull request #84884 from akien-mga/donors-sync-new-tiers
Donors: Change tiers to match Dev Fund, sync latest data
2023-11-14 19:31:50 +01:00
Rémi Verschelde c26b36e0e5
Merge pull request #84870 from jsjtxietian/add-set-selected-protection
Make Tree's `set_selected` check if the TreeItem belongs to the tree
2023-11-14 19:31:47 +01:00
Rémi Verschelde 9c67a02259
Merge pull request #84856 from mihe/fix-block-transform-notify
Fix transform notification not getting sent out for RigidBody2D
2023-11-14 19:31:43 +01:00
Rémi Verschelde a28476d1cd
Merge pull request #84847 from RandomShaper/lang_init_term
Let languages init & finish run without locks held
2023-11-14 19:31:37 +01:00
Raul Santos 3936871077
C#: Fail `callp` silently if script is not valid 2023-11-14 16:56:16 +01:00