Commit Graph

80742 Commits

Author SHA1 Message Date
Thaddeus Crews 5289709753 Merge pull request #99409 from passivestar/state-machine-focus-border-color
Expose state machine focus color to theming
2024-11-21 17:56:56 -06:00
Thaddeus Crews 03d9d4f7ed Merge pull request #99472 from dustdfg/scons_misc_sconstruct_tidying
SCons: Misc improvements
2024-11-21 17:56:55 -06:00
Thaddeus Crews 030cc69771 Merge pull request #96399 from andyprice/fileperms
Unix: Don't create world-writable files when safe save is enabled
2024-11-21 17:56:53 -06:00
Thaddeus Crews b25c7e31ea Merge pull request #99501 from AThousandShips/fix_cache_time
[Buildsystem] Prevent cache check mangling access time
2024-11-21 17:56:52 -06:00
Thaddeus Crews 579c19a9ce Merge pull request #99274 from shana/vsproj-calculate-dependencies
Use scons to calculate all the sources needed for vsproj generation.
2024-11-21 17:56:50 -06:00
Thaddeus Crews d967befc42 Merge pull request #99465 from aaronfranke/arch-bit-has-feature
Suggest using OS.has_feature instead of the engine architecture name for bitness
2024-11-21 17:56:49 -06:00
Thaddeus Crews 0eca686191 Merge pull request #99270 from Sauermann/fix-svc-drop-config
Introduce a `SubViewportContainer` config for drag-and-drop target locations
2024-11-21 17:56:48 -06:00
Thaddeus Crews 38ebcf92ed Merge pull request #99463 from DarioSamo/rd-partial-coverage-fix-part-two
Do not check for command intersections when not using the write list.
2024-11-21 17:56:47 -06:00
Thaddeus Crews 80565ffc11 Merge pull request #99462 from AThousandShips/fix_codeowner_tests
[Codeowners] Add missing test ownership
2024-11-21 17:56:46 -06:00
Thaddeus Crews 8eee5066eb Merge pull request #94981 from Chaosus/shader_fix_screen_uv_in_spatial_light
Allow `SCREEN_UV` to be used in light function of spatial shader
2024-11-21 17:56:45 -06:00
Thaddeus Crews d11c1a4c00 Merge pull request #95172 from Chaosus/gdscript_fix_vector_division_by_zero_crash
Fix crash when division by zero/modulo by zero happen on vectors
2024-11-21 17:56:44 -06:00
Thaddeus Crews 1117d91704 Merge pull request #99200 from KingTheFifth/master
Document `AudioStreamPlayer.get_playback_position()` intentionally aways returning `0.0` when using `AudioStreamInteractive`
2024-11-21 17:56:43 -06:00
Dan Nicholson 6f4fadf65d Expose standardize_locale add_default param publicly
Comparing locales can have surprising outcomes since it standardizes
locales with defaults. For example, zh and zh_CN result in an exact
match since the defaults change them both to zh_Hans_CN. Expose the
add_default parameter publicly with a default of false so the fully
standardized locale can be inspected.
2024-11-21 16:50:31 -07:00
Hunt J. Sparra 48fbe4172b Register Engine, OS, ProjectSettings, and Time early. 2024-11-21 18:09:03 -05:00
Micky 429ea1c8e3 Fix typo in AudioStream's documentation 2024-11-21 21:33:55 +01:00
Pāvels Nadtočajevs 7f37e88658 Fix SVG font rendering. 2024-11-21 22:11:53 +02:00
Giganzo c4bb252294 Change how multi selection scale is applied to canvas item 2024-11-21 20:52:33 +01:00
Raul Santos 4e5080d805 [.NET] Preserve no-hint behavior for unmarshallable generics in dictionaries 2024-11-21 20:38:55 +01:00
Bad Sector 5bca028e2b Add lightmap bake cancelling 2024-11-21 21:31:02 +02:00
Danil Alexeev f86dcd4e67 GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
A Thousand Ships 31c8aadc47 [Buildsystem] Prevent cache check mangling access time
Checking for text files using `open` changes `atime`, which breaks cache
access sorting, this ensures the cache access time is preserved.
2024-11-21 19:30:27 +01:00
mendrak c57eaf7757 Fix issue #97207 by filtering extension_list.cfg
The implemented solution to the problem of the error message
appearing when an excluded GDExtension in an export of a project, is
to filter the lines in the extension_list.cfg file to only include
those that are in the paths actually included for export.  If there
are no entries remaining, don't write the file at all.
2024-11-21 19:27:21 +02:00
Chaosus 0524e29b5c Fix crash when division by zero/modulo by zero happen on vectors 2024-11-21 20:24:43 +03:00
Adam Scott 1a082fdd80 Ensure editor crossorigin isolation headers 2024-11-21 10:29:07 -05:00
Pedro J. Estébanez f79b972d0d ResourceLoader: Report appropriate error code when no suitable loader is found 2024-11-21 13:52:16 +01:00
Andreia Gaita 84db024f6f Use scons to calculate all the sources needed for vsproj generation.
Scons knows every file - sources, headers, etc - that the binary depends on,
and trying to figure that out manually is just too prone to error.
2024-11-21 11:11:35 +01:00
LuoZhihao f6751d8d17 ColorPicker: fix OKHSL circle in HSV mode 2024-11-21 13:26:05 +08:00
passivestar 5cd0d42d2b Fix viewport message offsets 2024-11-21 08:24:08 +04:00
Yevhen Babiichuk (DustDFG) 0896bdd7bc SCons: Misc improvements
* Delete old gcc 7 check
* Use f-strings where it is easy
* Use AddVariables instead of Add for collections of options

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-11-20 18:18:12 +02:00
Rémi Verschelde 9e6098432a Merge pull request #99469 from akien-mga/revert-97370
Revert "ResourceLoader: Report error if resource type unrecognized"
2024-11-20 17:03:26 +01:00
Rémi Verschelde cfef79415b Merge pull request #99449 from Sauermann/fix-revert-device-id-clash
Revert "Fix `InputEvent` device id clash" and add a compatibility function
2024-11-20 17:03:23 +01:00
Rémi Verschelde 7c1f42506a Merge pull request #99448 from clayjohn/RD-sky-flip
Unify y-flip behavior for sky in RD backends
2024-11-20 17:03:19 +01:00
Rémi Verschelde 70963cf515 Merge pull request #99413 from Alex2782/fix_transfer_bit
Fix: Error output is not require, `VK_QUEUE_TRANSFER_BIT` is optional.
2024-11-20 17:03:16 +01:00
Rémi Verschelde b11bb1aa97 Merge pull request #99319 from TokageItLab/fix-fps-inspector
Fix key is deselected by changing key time in KeyEdit in FPS mode
2024-11-20 17:03:12 +01:00
Rémi Verschelde 285954659d Merge pull request #96721 from aXu-AP/tooltip-distance
Fix tooltip appearing in old place, on movement
2024-11-20 17:03:08 +01:00
Rémi Verschelde 23fc8e22a3 Merge pull request #95303 from EIREXE/inverted_composer
Fix `Projection::invert` for orthographic projection
2024-11-20 17:03:03 +01:00
Rémi Verschelde 219b14b905 Revert "ResourceLoader: Report error if resource type unrecognized"
This reverts commit fe21913ee8.
2024-11-20 16:50:30 +01:00
Kasper Arnklit Frandsen a72157c456 Fix undo redo for the texture region editor 2024-11-20 15:46:51 +00:00
Aaron Franke f4c1f89add Suggest using OS.has_feature instead of the engine architecture name for bitness 2024-11-20 06:33:28 -08:00
Silc Lizard (Tokage) Renew 9ab94df772 Add explicit_elapse option to NodeSeek to handle some processes 2024-11-20 22:51:27 +09:00
Dario 8bfb631afc Do not check for command intersections when not using the write list. 2024-11-20 10:04:17 -03:00
A Thousand Ships a0c47980c0 [Codeowners] Add missing test ownership 2024-11-20 13:46:46 +01:00
Yevhen Babiichuk (DustDFG) 6467beb75d SCons: Move swappy option to android and slightly refactor detect.py
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-11-20 12:48:18 +02:00
Markus Sauermann bc5e2f9b96 Revert "Fix InputEvent device id clash" and add a compatibility function
This reverts commit 916d480686.

Revert "Fix InputEvent crash when opening project"
This reverts commit abb9c0f171.

Introduce a compatibility function for projects affected by the
device id clash reversal

Since the reverted PR introduced changes in the project.godot
file, it seems prudent to introduce a compatibility function for
such affected projects.
2024-11-20 09:18:55 +01:00
Mateus Reis 6f76ef4bdd Allow dragging to specific folders in filesystem dock 2024-11-20 04:49:34 +02:00
clayjohn 02efdb28dc Unify y-flip behavior for sky in RD backends 2024-11-19 16:59:04 -08:00
Hugo Locurcio 0cf99cf95d Add a Viewport method to get automatically computed 2D stretch transform
`Viewport.get_stretch_transform()` returns the automatically computed
2D stretch transform. Combined with `Transform2D.get_scale()`, this is
useful when using the `canvas_items` stretch mode in a project.

There are many situations where knowing this factor is useful:

- Divide Camera2D zoom to keep the size of the 2D game world identical
  regardless of the 2D scale factor (so that UI elements can still be scaled).
- Make certain controls always drawn at 1:1 scale
  (e.g. for the crosshair in a FPS). This is done by dividing the Control
  node's scale by the scale factor.
2024-11-19 23:11:13 +01:00
Markus Sauermann 117158d271 Introduce a SubViewportContainer config for drag-and-drop targets
With the drag-and-drop rewrite, `SubViewportContainer` nodes were no
longer available as drop-locations.

This PR introduces a configuration option, that allows
`SubViewportContainer` to be considered as drop-location, but disables the
`Control` nodes inside its `SubViewport` children as drop-location.
2024-11-19 23:06:41 +01:00
Johannes Kung 3ab88c2e6a Document AudioStreamPlayer.get_playback_position() intentionally always returning 0.0 when using AudioStreamInteractive 2024-11-19 22:21:30 +01:00
Thaddeus Crews a0cd8f187a Merge pull request #99391 from Giganzo/export-debug
Add persistent states for export with debug, as patch on editor restarts
2024-11-19 15:20:28 -06:00