Rémi Verschelde
1e59443cd2
Merge pull request #46769 from Calinou/assetlib-widen-pagination-buttons
...
Make the pagination buttons wider in the asset library browser
2021-03-07 21:48:27 +01:00
gatalskii
efe05a166e
mod: pop-up usability enhancement for support button
...
Now after choosing support level pop-up doesn't hide after each click
2021-03-07 22:51:40 +03:00
Maximilian Mayer
f12d205c1f
Add unit tests for HashingContext
2021-03-07 20:33:08 +01:00
Hugo Locurcio
25c6acb702
Make the pagination buttons wider in the asset library browser
...
This makes the page number buttons easier to click.
2021-03-07 20:11:58 +01:00
Rémi Verschelde
9b853d7a7b
Merge pull request #46572 from jmb462/fix-selection-error-after-commenting-or-indenting
...
Fix selection error after commenting or indenting text (Fix #46477 issue)
2021-03-07 17:03:54 +01:00
Rémi Verschelde
dc2207d8e8
Merge pull request #46627 from jmb462/fix-incorrect-autoindentation-in-multiline-brackets
...
Fix incorrect auto-indentation in multiline brackets (fix #46384 )
2021-03-07 16:55:32 +01:00
Rémi Verschelde
daab4c9ac4
Merge pull request #46760 from qarmin/fix_memory_leak_vulkan
...
Fix memory leak in VulkanContext
2021-03-07 16:40:32 +01:00
Rafał Mikrut
f9d0ea9f6b
Fix memory leak in VulkanContext
2021-03-07 15:28:47 +01:00
Rafał Mikrut
f81ecb498b
Fix crashes when manipulating nodes in editor
2021-03-07 15:14:24 +01:00
Rémi Verschelde
c487f1e854
Merge pull request #46643 from YeldhamDev/hide_all_the_things
...
Hide more options of disabled properties
2021-03-07 15:12:15 +01:00
Rémi Verschelde
afd0df7921
Merge pull request #46386 from KoBeWi/projekt_settingz
...
Clarify ProjectSettings.save for exported projects
2021-03-07 10:17:59 +01:00
kobewi
156c402f2b
Allow to save override.cfg with ProjectSettings
2021-03-07 01:21:44 +01:00
Rémi Verschelde
15bd2bf03f
Merge pull request #46713 from neikeq/csharp-source-generators-init
...
Add C# source generator for ScriptPathAttribute
2021-03-07 01:04:47 +01:00
Rémi Verschelde
dea8105a38
Merge pull request #46704 from Duddino/master
...
Checking if there is a collider when calling `SoftBody::remove_collision_exception_with`
2021-03-07 00:21:13 +01:00
Rémi Verschelde
9bc9948cbf
Merge pull request #46739 from KoBeWi/hungry_spinbox_eats_cursor
...
Release mouse when SpinBox leaves scene tree
2021-03-07 00:06:08 +01:00
Rémi Verschelde
27aacabf81
Merge pull request #46742 from bruvzg/thread_id_fix
...
Improve thread IDs to avoid collisions with threads not created by the Godot API.
2021-03-07 00:01:52 +01:00
bruvzg
9887c2b4f0
Improve thread IDs to avoid collisions with threads not created by the Godot API.
2021-03-07 00:17:20 +02:00
kobewi
83f6c6b360
Release mouse when SpinBox leaves scene tree
2021-03-06 22:22:24 +01:00
Ignacio Etcheverry
e2afe700f6
Add C# source generator for a new ScriptPath attribute
...
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.
2021-03-06 21:50:32 +01:00
Rémi Verschelde
05248535f7
Merge pull request #46641 from KoBeWi/unsaved_forever
...
Don't save unchanged script upon closing
2021-03-06 21:06:06 +01:00
kobewi
12f5a5a701
Don't save unchanged script upon closing
2021-03-06 20:17:19 +01:00
Rémi Verschelde
a4b5edf468
Merge pull request #46728 from Faless/js/4.x_fetch_world
...
[HTML5] Replace XMLHttpRequest(s) with Fetch.
2021-03-06 16:15:09 +01:00
Rémi Verschelde
ac249032bf
Merge pull request #46727 from RandomShaper/fix_nfs_crash
...
Fix crash on cleanup of EditorFileServer
2021-03-06 16:11:23 +01:00
Shatur95
c26b451afe
Fix enabling of created plugin
2021-03-06 15:33:52 +02:00
Pedro J. Estébanez
565796518d
Fix crash on cleanup of EditorFileServer
2021-03-06 13:29:40 +01:00
Duddino
c47070e165
Added some checks to prevent accessing a null collider
...
Previously godot would try to access
`CollisionObjectBullet::bt_collision_object` even if it was null.
Fixes #46651
2021-03-06 12:07:27 +01:00
Fabio Alessandrelli
fd76977183
[HTML5] Replace XMLHttpRequest with Fetch.
...
This has some advantages:
- Streaming/chunked response support.
- Broader headers support.
2021-03-06 11:44:07 +01:00
Rémi Verschelde
17e66382b8
Merge pull request #46686 from akien-mga/doc-irc-rocketchat
...
Link to Godot Contributors Chat instead of IRC
2021-03-06 00:05:44 +01:00
Rémi Verschelde
edbc8488a5
Merge pull request #46709 from Ev1lbl0w/bugfix-negative_vram
...
Fix negative VRAM values
2021-03-05 23:53:25 +01:00
Ev1lbl0w
1f0b60c47d
Fix negative VRAM values
2021-03-05 21:48:20 +00:00
Rémi Verschelde
3ff56719fc
Merge pull request #46706 from fabriceci/improvement-raycast2d-debug-shape2
...
Raycast2D debug Shape: fix a regression + improvement on tiny ray (fix #46680 )
2021-03-05 22:38:49 +01:00
Rémi Verschelde
aaeb07d50f
Merge pull request #43929 from HaSa1002/docs-lang-6
...
Docs: Port Code Examples to C# (R, S, T, U)
2021-03-05 22:36:05 +01:00
Rémi Verschelde
848f3bba7c
Link to Godot Contributors Chat instead of IRC
2021-03-05 22:32:48 +01:00
Rémi Verschelde
f9dad47478
Merge pull request #46701 from HaSa1002/fix-lossy-cursor
...
Move cursor shape loading after module loading
2021-03-05 22:29:06 +01:00
fabriceci
af041adb06
add responsive arrows when the size is very small + fix a regression: missing a translation on the line
2021-03-05 22:14:06 +01:00
Fabio Alessandrelli
44a662a149
[HTML5] Rename heapCopy to heapSlice.
...
New heapCopy function copies a TypedArray to the heap.
2021-03-05 20:17:58 +01:00
Fabio Alessandrelli
cb1b89dac5
[HTML5] Export process writes sizes in template.
...
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).
2021-03-05 20:15:38 +01:00
Fabio Alessandrelli
272e491f52
[HTML5] Preloader fetch, streaming instantiation.
2021-03-05 20:11:18 +01:00
HaSa1002
bae843a1c9
Docs: Port Code Examples to C# (R, S, T, U)
...
* RenderingServer
* RichTextEffect
* SceneTree
* SceneTreeTimer
* ScriptCreateDialog
* SpinBox
* Sprite2D
* StreamPeer
* String
* SurfaceTool
* TextEdit
* TileMap
* Tree
* Tween
* UDPServer
* UndoRedo
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2021-03-05 18:57:28 +01:00
sps1112
05f5a43cad
Fix Control._edit_set_state crash
2021-03-05 21:52:34 +05:30
Johannes
2ac9f37b17
Move cursor shape loading after module loading
...
fixes #46685
2021-03-05 17:22:06 +01:00
Rémi Verschelde
4de0768cdb
Merge pull request #46663 from Calinou/doc-margincontainer-theme-constant
...
Use safer `add_theme_constant_override()` in MarginContainer code sample
2021-03-05 15:11:56 +01:00
Rémi Verschelde
bc6713ef50
Merge pull request #46516 from HaSa1002/scrollcontainer-embed
...
Fix Window returning `INVALID_WINDOW_ID` when being embedded
2021-03-05 13:46:44 +01:00
Rémi Verschelde
bd9799e9f0
Merge pull request #46675 from fabriceci/improvement-raycast2d-debug-shape
...
Improving the Raycast2D debug Shape
2021-03-05 00:59:21 +01:00
fabriceci
90ca587281
Highlight collision, correct the size and make the arrow a bit less thick for low-res game
2021-03-05 00:32:49 +01:00
Rémi Verschelde
1eabeec680
Merge pull request #46677 from W4RH4WK/fix-canvas-renderer-line-width
...
Fix canvas renderer line width
2021-03-05 00:14:42 +01:00
Alex Hirsch
426ef4b1ee
Fix canvas renderer line width
...
fix #46644
2021-03-04 21:37:06 +01:00
Rémi Verschelde
e556ec0c5a
Merge pull request #46529 from jmb462/improvement-raycast3d-debug-shape
...
Adding Raycast3D custom debug shape thickness and color
2021-03-04 20:38:32 +01:00
Rémi Verschelde
86fba08427
Merge pull request #46669 from W4RH4WK/add-fail-check-variant-construct
...
Add missing ERR_FAIL_INDEX check to Variant::construct
2021-03-04 20:35:39 +01:00
Rémi Verschelde
a3dece960f
Merge pull request #46668 from nekomatata/fix-errors-polygon-2d
...
Fix errors with invalid CollisionPolygon2D
2021-03-04 20:33:22 +01:00