Commit graph

68207 commits

Author SHA1 Message Date
Rémi Verschelde
cf1d910e10
Merge pull request #92237 from timothyqiu/url-fragment
String: Parse fragment from URL
2024-10-01 17:30:16 +02:00
Rémi Verschelde
8c16e67e4d
Merge pull request #91765 from chocola-mint/feat-markers
Add markers to Animation
2024-10-01 17:30:13 +02:00
Rémi Verschelde
0628af4105
Merge pull request #80561 from HolonProduction/i-have-made-my-position-clear
Set position to zero when saving a positioned branch as scene
2024-10-01 17:30:04 +02:00
Pablo Andres Fuente
ff10dee946 Add unit tests for StreamPeer and StreamPeerBuffer
Partially fixes #43440
2024-10-01 12:25:11 -03:00
Pablo Andres Fuente
0a41a715da Add unit tests for PacketPeer
Partially fixes #43440
2024-10-01 12:19:41 -03:00
Brandon Chang
e0957c2fa3
Consolidate remembering window settings into single config 2024-10-01 16:35:36 +02:00
bruvzg
d222daa9c8
[TextServer] Silently skip invalid system fallback fonts. 2024-10-01 17:22:16 +03:00
MATTHEW ESTOPINAL
136e4d5636
Add Unit Test cases for Sky 2024-10-01 15:54:53 +02:00
kobewi
645abdbb80 Add expression evaluater to debugger (REPL)
Co-authored-by: rohanrhu <rohanrhu2@gmail.com>
2024-10-01 15:36:09 +02:00
volkov
1a2e0b22b6
Add Ukrainian translation for Linux .desktop file 2024-10-01 15:27:11 +02:00
Haoyu Qiu
3c365a7fa5 Add auto translate mode for cells in Tree 2024-10-01 21:24:10 +08:00
Roman Morozov
d532eecc81 Changed the default deadzone value for new actions from 0.5 to 0.2 2024-10-01 16:47:44 +04:00
bruvzg
4c8f8e6980
[macOS] Fix menu crash when used from opened native dialog. 2024-10-01 08:30:30 +03:00
bruvzg
b6a369de79
Update HarfBuzz to 10.0.1 2024-10-01 08:20:45 +03:00
Travis Wrightsman
c4b7d6f5c3 Fix ICU support data loading
This fixes an error in loading the ICU support data on platforms that
don't use either the builtin icu4c or the static ICU support data.
2024-09-30 09:03:15 -07:00
Adam Scott
4431af9153
Fix web export infinite reload issue 2024-09-30 11:27:43 -04:00
Max Hilbrunner
a6997d37cc Docs: remove duplicate words 2024-09-30 12:21:30 +02:00
HolonProduction
03c3c5f608 Set position to zero when saving a positioned branch as scene 2024-09-30 09:43:47 +02:00
Pablo Andres Fuente
e376c4f30c Add unit tests for SceneMultiplayer
This PR aims to help "fix" #43440

Also fixing a small typo on `SceneMultiplayer` docs.
2024-09-29 21:44:52 -03:00
Fredia Huya-Kouadio
7a909896f7 Expose get_export_option_visibility to editor plugins 2024-09-29 15:05:05 -07:00
Fredia Huya-Kouadio
4587d14796 Add logic to automatically pick up jar/aar library dependencies in the res://addons directory 2024-09-29 14:32:10 -07:00
Fredia Huya-Kouadio
5e0805a813 Provide access to the Android runtime to GDScript
Thanks for the fix of `JavaClassWrapper` in https://github.com/godotengine/godot/pull/96182 and the changes in the previous commit, this introduces an `AndroidRuntime` plugin which provides GDScript access to the Android runtime capabilities.

This allows developers to get access to various Android capabilities without the need of a plugin.
For example, the following logic can be used to check whether the device supports vibration:

```
var android_runtime = Engine.get_singleton("AndroidRuntime")
 if android_runtime:
 	print("Checking if the device supports vibration")
 	var vibrator_service = android_runtime.getApplicationContext().getSystemService("vibrator")
 	if vibrator_service:
 		if vibrator_service.hasVibrator():
 			print("Vibration is supported on device!")
 		else:
 			printerr("Vibration is not supported on device")
 	else:
 		printerr("Unable to retrieve the vibrator service")
 else:
 	printerr("Couldn't find AndroidRuntime singleton")
```
2024-09-29 14:32:10 -07:00
Fredia Huya-Kouadio
07cae26abe Remove the restriction on supported types for Godot Android plugins
The Android plugin implementation is updated to use `JavaClassWrapper` which was fixed in https://github.com/godotengine/godot/pull/96182, thus removing the limitation on supported types.

Note that `JavaClassWrapper` has also been updated in order to only provide access to public methods and constructor to GDScript.
2024-09-29 14:32:10 -07:00
Rémi Verschelde
e3213aaef5
Merge pull request #97622 from Repiteo/scons/msvc-prerelease-fix
SCons: Include pre-release in MSVC detection
2024-09-29 21:06:40 +02:00
Thaddeus Crews
1d3c4e192c
SCons: Include pre-release in MSVC detection 2024-09-29 11:00:17 -05:00
Gergely Kis
146ba4106f Move Vulkan includes to a central godot_vulkan.h header
Also fixes Vulkan build problem with recent Clang.
2024-09-29 17:53:18 +02:00
Haoyu Qiu
210810bacb Fix atr_n() behavior when auto translation is disabled 2024-09-29 22:59:33 +08:00
Rémi Verschelde
72cff2ed59
Merge pull request #97618 from Repiteo/scons/decode-fix
SCons: Fix MSVC decode error
2024-09-29 16:51:14 +02:00
Thaddeus Crews
9a8fcd5263
SCons: Fix MSVC decode error 2024-09-29 09:02:13 -05:00
Patrick Owen
d720eb80e1 Clamp UV-coordinates to centers of outermost texels when configured to do so
In addition, fix region_filter_clip_enabled documentation to be consistent with AtlasTexture.xml, since that is the option whose behavior was fixed
2024-09-29 05:57:19 -04:00
clayjohn
4f674154d9 Improve the look of radiance map in Compatibility backend 2024-09-29 01:33:14 -07:00
chocola-mint
ed13a840fa Add markers to animation 2024-09-29 17:27:36 +09:00
BlueCube3310
529897cb0c Update bcdec to latest version 2024-09-29 10:25:48 +02:00
Gergely Kis
8a41b1d90f GDExtension: Use loader to check if the library exists. 2024-09-29 07:38:45 +02:00
Hugo Locurcio
c1dc59f713
Disable unused Basis Universal features to reduce binary size 2024-09-29 02:29:27 +02:00
Rémi Verschelde
1fc8208765
Merge pull request #97589 from pkowal1982/fix_97454
Fix error message on startup when camera is busy
2024-09-29 00:47:15 +02:00
Rémi Verschelde
0e2a76d57f
Merge pull request #97547 from lalitshankarchowdhury/audio-code-fix
Vorbis: Remove redundant bounds check
2024-09-29 00:47:12 +02:00
Rémi Verschelde
99aec99421
Merge pull request #97534 from j20001970/camerafeed-setter
Expose CameraFeed setters
2024-09-29 00:47:09 +02:00
Rémi Verschelde
a53d0a36e4
Merge pull request #97503 from Repiteo/ci/merge_queue
CI: Support merge queues with default runner
2024-09-29 00:47:05 +02:00
Rémi Verschelde
422306ef87
Merge pull request #97325 from BlueCube3310/bcdec
Replace squish with bcdec for BC decompression
2024-09-29 00:47:02 +02:00
Rémi Verschelde
3fbd33af85
Merge pull request #97229 from aryan-11825114/ctrl-x-visual-shader
Add `GraphEdit.cut_nodes_request` signal
2024-09-29 00:46:59 +02:00
Rémi Verschelde
a11f970f91
Merge pull request #96290 from Macksaur/export-action-callable
Add `@export_tool_button` annotation for easily creating inspector buttons.
2024-09-29 00:46:55 +02:00
Rémi Verschelde
d6c0509b5a
Merge pull request #91069 from Repiteo/scons/msvc-detect-compiler
SCons: Detect MSVC compiler version
2024-09-29 00:46:52 +02:00
Rémi Verschelde
285ebed828
Merge pull request #83360 from ywmaa/vertex_shading
Implement vertex shading
2024-09-29 00:46:48 +02:00
Rémi Verschelde
e7a9104f37
Merge pull request #97554 from clayjohn/batching-uniform-sets
Combine texture and instance data into one uniform set in the 2D renderer
2024-09-29 00:46:44 +02:00
ywmaa
0a9ad8f9de
Implement vertex shading
This adds support in all backends, but the Compatibility renderer works the best.
Mobile and Forward+ can only support one directional light shader (the first in the tree)
While the Compatibility renderer supports any number of shadows.

Co-authored-by: Clay John <claynjohn@gmail.com>
2024-09-29 00:36:09 +02:00
Hugo Locurcio
0807d60d68
Check RenderingDevice availability to display LightmapGI configuration warnings
We can now check whether RenderingDevice can be created (which is
not guaranteed when using the Compatibility rendering method),
so the warning can be displayed only when relevant.

This also disables the Bake Lightmaps button with a tooltip if baking
is not available.
2024-09-28 23:56:47 +02:00
A Thousand Ships
75cb3539b1
[Core] Add missing HashMapComparatorDefault cases
Added for:
* `AABB`
* `Basis`
* `Color`
* `Plane`
* `Projection`
* `Quaternion`
* `Rect2`
* `Transform2D`
* `Transform3D`
* `Vector4`

Ensures these handles `NaN` correctly
2024-09-28 17:58:49 +02:00
Rémi Verschelde
b2b13d46c2
Merge pull request #97581 from AThousandShips/owners_fix_3
Add a few missing CODEOWNERS
2024-09-28 17:42:38 +02:00
Haoyu Qiu
38579a1e84 Unify editor version buttons 2024-09-28 23:26:23 +08:00