Age | Commit message (Collapse) | Author |
|
jmb462/fix-incorrect-autoindentation-in-multiline-brackets
Fix incorrect auto-indentation in multiline brackets (fix #46384)
|
|
Fix memory leak in VulkanContext
|
|
|
|
Hide more options of disabled properties
|
|
Clarify ProjectSettings.save for exported projects
|
|
|
|
Add C# source generator for ScriptPathAttribute
|
|
Checking if there is a collider when calling `SoftBody::remove_collision_exception_with`
|
|
Release mouse when SpinBox leaves scene tree
|
|
Improve thread IDs to avoid collisions with threads not created by the Godot API.
|
|
API.
|
|
|
|
This source generator adds a newly introduced attribute,
`ScriptPath` to all classes that:
- Are top-level classes (not inner/nested).
- Have the `partial` modifier.
- Inherit `Godot.Object`.
- The class name matches the file name.
A build error is thrown if the generator finds a class that meets these
conditions but is not declared `partial`, unless the class is annotated
with the `DisableGodotGenerators` attribute.
We also generate an `AssemblyHasScripts` assembly attribute which Godot
uses to get all the script classes in the assembly, eliminating the need
for Godot to search them. We can also avoid searching in assemblies that
don't have this attribute. This will be good for performance in the
future once we support multiple assemblies with Godot script classes.
This is an example of what the generated code looks like:
```
using Godot;
namespace Foo {
[ScriptPathAttribute("res://Player.cs")]
// Multiple partial declarations are allowed
[ScriptPathAttribute("res://Foo/Player.cs")]
partial class Player {}
}
[assembly:AssemblyHasScripts(new System.Type[] { typeof(Foo.Player) })]
```
The new attributes replace script metadata which we were generating by
determining the namespace of script classes with a very simple parser.
This fixes several issues with the old approach related to parser
errors and conditional compilation.
It also makes the task part of the MSBuild project build, rather than
a separate step executed by the Godot editor.
|
|
Don't save unchanged script upon closing
|
|
|
|
[HTML5] Replace XMLHttpRequest(s) with Fetch.
|
|
Fix crash on cleanup of EditorFileServer
|
|
|
|
Previously godot would try to access
`CollisionObjectBullet::bt_collision_object` even if it was null.
Fixes #46651
|
|
This has some advantages:
- Streaming/chunked response support.
- Broader headers support.
|
|
Link to Godot Contributors Chat instead of IRC
|
|
Fix negative VRAM values
|
|
|
|
Raycast2D debug Shape: fix a regression + improvement on tiny ray (fix #46680)
|
|
Docs: Port Code Examples to C# (R, S, T, U)
|
|
|
|
Move cursor shape loading after module loading
|
|
missing a translation on the line
|
|
New heapCopy function copies a TypedArray to the heap.
|
|
This allow the loading bar to be much more reliable, even in cases where
realible stream loading status is not detectable (server-side
compression, chunked encoding).
|
|
|
|
* RenderingServer
* RichTextEffect
* SceneTree
* SceneTreeTimer
* ScriptCreateDialog
* SpinBox
* Sprite2D
* StreamPeer
* String
* SurfaceTool
* TextEdit
* TileMap
* Tree
* Tween
* UDPServer
* UndoRedo
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
|
|
fixes #46685
|
|
Use safer `add_theme_constant_override()` in MarginContainer code sample
|
|
Fix Window returning `INVALID_WINDOW_ID` when being embedded
|
|
Improving the Raycast2D debug Shape
|
|
for low-res game
|
|
Fix canvas renderer line width
|
|
fix #46644
|
|
Adding Raycast3D custom debug shape thickness and color
|
|
Add missing ERR_FAIL_INDEX check to Variant::construct
|
|
Fix errors with invalid CollisionPolygon2D
|
|
Fix errors and crash with empty ConvexPolygonShape2D
|
|
Other functions in the same file validate parameters using the ERR_FAIL
macros. This validation was missing for Variant::construct resulting in
a crash when called with invalid data (p_type < 0).
fix #46067
|
|
Fixed internal errors when the shape is invalid and made warnings more
descriptive.
|
|
|
|
Control has magic setters to set custom theme items, but using the
dedicated Control methods is less prone to typos so it should be favored.
|
|
RemoteDebugger: Fix possible division by zero
|
|
|
|
This reverts commit ef1d58f034233a0d8b5d0b5dbf539e851ffc726c.
|