Fabio Alessandrelli
781efc26e0
Remove now unused FileAccessBuffered.
2020-12-06 19:37:11 +01:00
bruvzg
a41f1c67e5
[Complex Text Layouts] Fix missing ItemList item text buffer init in add_icon_item
.
2020-12-06 20:31:00 +02:00
bruvzg
384211af4b
[Complex Text Layouts] Fix bitmap font memory leak.
2020-12-06 20:31:00 +02:00
bruvzg
c3cc9d82b4
[Complex Text Layouts] Align glyph offsets and advances to the pixel grid.
2020-12-06 20:31:00 +02:00
bruvzg
a458e90179
[Complex Text Layouts] Adds missing Font::SPACING_* to the Label, LineEdit, TextEdit, TextLine and TextParagraph.
...
Fixes oversized editor control height (default editor spacing is negative) and control size changing when text is set.
2020-12-06 20:30:59 +02:00
Fabio Alessandrelli
1396c74734
[HTML5] Use regular unix FileAccess implementation.
2020-12-06 19:25:31 +01:00
PouleyKetchoupp
87d73faa66
Fix base script not initialized properly in some cases
...
Storing script references to pointer only in result.script_type could
lead to losing the last reference, causing further conversions from
Script* to Ref<Script> to fail.
Now result.script_type_ref is always set first, and then cleared in the
specific case of the script being the owner, to avoid cyclic reference
issues.
2020-12-06 08:20:33 -07:00
Rémi Verschelde
d834789f47
Merge pull request #44106 from neikeq/mono-invoke-no-params-boxing
...
Don't box params on Native->C# calls with Variant params
2020-12-06 09:41:03 +01:00
Rémi Verschelde
286ad95749
Merge pull request #44129 from Calinou/tweak-material-height-hints
...
Tweak BaseMaterial3D heightmap property hints
2020-12-06 09:35:08 +01:00
Ignacio Etcheverry
a946f84e3d
Don't box params on Native->C# calls with Variant params
...
Godot uses Variant parameters for calls to script methods.
Up until now we were boxing such parameters when marshalling
them for invokation, even if they were value types.
Now Godot allocates the marshalled parameters on the stack,
reducing the GC allocations resulted from boxing.
2020-12-06 01:36:20 +01:00
Ignacio Etcheverry
dd5ace219d
Mono: Add mono_bcl SCons option for a custom BCL location
...
Makes it let's bothersome to work with builds from our
godotengine/godot-mono-builds scripts, as they write the
BCL into an output directory separate from the runtime
(which is good as two runtimes may share the same BCL).
2020-12-06 01:15:20 +01:00
Rémi Verschelde
93b107ac93
Merge pull request #44132 from aaronfranke/no-connect-compat
...
Remove connect *_compat methods
2020-12-06 00:55:28 +01:00
Aaron Franke
1b348b3c17
Remove connect *_compat methods
2020-12-05 17:56:47 -05:00
Hugo Locurcio
44d0c74768
Tweak BaseMaterial3D heightmap property hints
...
- Allow finer adjustments of the heightmap scale.
- Allow increasing the heightmap level detail (at the cost of performance).
2020-12-05 21:43:32 +01:00
Rémi Verschelde
91fd6374eb
Merge pull request #44122 from Nickswoboda/min-snap-step
...
Change minimum snap step of Tile Set to 1
2020-12-05 17:49:34 +01:00
Rémi Verschelde
9ab087942a
Merge pull request #44116 from Scony/add-bake-finished-signal
...
Add missing 'bake_finished' signal
2020-12-05 17:48:17 +01:00
Nick Swoboda
70c946f82d
Change minimum snap step of Tile Set to 1
2020-12-05 08:18:16 -08:00
Rémi Verschelde
c574b4d086
Merge pull request #44091 from madmiraal/rename-cubemesh-boxmesh
...
Rename CubeMesh to BoxMesh
2020-12-05 16:48:15 +01:00
Rémi Verschelde
83cdc9d7b7
Merge pull request #44109 from neikeq/fix-await-to-signal-many-at-once
...
C#: Fix multiple awaits to same signal result in connect error
2020-12-05 16:42:19 +01:00
Rémi Verschelde
45ecb21901
Merge pull request #44108 from neikeq/editor-fix-unhandled-exception-rethrown
...
Fix unhandled exception re-thrown in the editor
2020-12-05 16:41:47 +01:00
Rémi Verschelde
af61ad5e36
Merge pull request #44107 from neikeq/fix-slow-build-log-update
...
C#: Fix very slow build log update in the editor
2020-12-05 16:41:24 +01:00
Rémi Verschelde
744ab88884
Merge pull request #36382 from aaronfranke/unhide-the-hidden
...
Unhide hidden members by renaming them and rebind Mesh enums
2020-12-05 13:19:30 +01:00
Marcel Admiraal
df6b061dbb
Rename CubeMesh BoxMesh
2020-12-05 11:48:26 +00:00
Pawel Lampe
c89a1631b7
Add missing 'bake_finished' signal
2020-12-05 12:20:07 +01:00
Rémi Verschelde
eed484d054
Merge pull request #44114 from Chaosus/sdf_free_rid
...
Frees CanvasShaderSDF reference (prevents warning at startup)
2020-12-05 10:39:08 +01:00
Yuri Roubinsky
245d4af10c
Frees CanvasShaderSDF reference (prevents warning at startup)
2020-12-05 11:28:44 +03:00
Jordan Schidlowsky
043b6c2d93
make 2d constraint solving more deterministic by solving in push order
2020-12-04 22:23:12 -06:00
Aaron Franke
5ef62e546f
Rename EditorNode3DGizmoPlugin "get_name" to "get_gizmo_name"
2020-12-04 19:34:50 -05:00
Aaron Franke
5dddf4377a
Rename RD texture "type" to "texture_type"
...
"type" isn't very descriptive for exposed code, and this variable is exposed via RD_SETGET.
2020-12-04 19:34:50 -05:00
Aaron Franke
19bdd01438
Rename RD uniform "type" to "uniform_type"
...
"type" isn't very descriptive for exposed code, and this variable is exposed via RD_SETGET.
2020-12-04 19:34:50 -05:00
Aaron Franke
40b81339d0
Rebind Mesh/ArrayMesh enums
2020-12-04 19:34:50 -05:00
Aaron Franke
47f8ac7864
Rename Particles/ParticlesMaterial "Flags" enum to "ParticleFlags"
...
"Flags" was a bit too ambiguous, and in 3D it hid GeometryInstance.Flags
2020-12-04 19:34:29 -05:00
Aaron Franke
1b499d244a
Rename LightOccluder2D light_mask to occluder_light_mask
2020-12-04 19:34:29 -05:00
Fabio Alessandrelli
dd9503dc19
[HTML5] Make GDNative support feature-based.
...
This is suboptimal as it requires adding an extra compile flag, but
rewriting how feature tags work is beyond the scope of this work.
2020-12-05 01:12:52 +01:00
Aaron Franke
ce9d87ddfd
Rename PathFollow2D rotate bool
2020-12-04 18:59:02 -05:00
Aaron Franke
888deca827
Rename XR get_type and get_name
...
Now called get_tracker_type and get_tracker_name
2020-12-04 18:59:02 -05:00
Fabio Alessandrelli
1e7bd3d08b
[HTML5] Allow selecting the export type.
...
Available types:
- Regular
- GDNative (support dynamic linking and thus GDNative WASM files)
- Threads (uses WebAssembly Threads)
2020-12-05 00:55:11 +01:00
Fabio Alessandrelli
611c4998e8
[HTML5] EditorRunNative works with GDNative.
...
This "breaks" our loading bar logic (libraries are not counted).
Fixing it is non trivial and probably deserves investigating a different
strategy.
2020-12-05 00:55:07 +01:00
Fabio Alessandrelli
ca34b5e57a
[HTML5] GDNative support via SIDE_MODULE.
...
Working with emscripten >= 2.0.10
2020-12-05 00:52:43 +01:00
Rémi Verschelde
14660ee399
Merge pull request #44080 from akien-mga/doc-sync
...
doc: Sync classref with current source
2020-12-05 00:50:29 +01:00
Ignacio Etcheverry
b0eb9061e4
C#: Fix very slow build log update in the editor
2020-12-05 00:43:24 +01:00
Ignacio Etcheverry
bbaf854956
Fix unhandled exception re-thrown in the editor
2020-12-05 00:40:31 +01:00
Ignacio Etcheverry
e2f7037824
C#: Fix multiple awaits to same signal result in connect error
...
Multiple calls to the same `await ToSignal` were resulting in
"signal already connected to slot" error because the custom
callable comparer was wrong. Comparing only the signal awaiter
handle is the correct way (it's unique for the target).
2020-12-05 00:32:57 +01:00
Fabio Alessandrelli
1167ab96e9
[HTML5] Add function signatures to JS libraries.
2020-12-04 23:21:33 +01:00
Juan Linietsky
c833d64479
Merge pull request #44094 from reduz/reorganize-rasterizer-scene
...
RenderingServer reorganization
2020-12-04 19:05:49 -03:00
reduz
2787ad65be
RenderingServer reorganization
2020-12-04 18:39:46 -03:00
Rémi Verschelde
1a001ad964
doc: Sync classref with current source
...
And fixups:
- Add missing bindings in RenderingServer
- Remove duplicate ArrayMesh enum bindings (they're in Mesh already)
- Remove redundant _unhandled_key_input binding in Control (it's in Node
already)
2020-12-04 22:28:08 +01:00
Rémi Verschelde
3dc8aaaccc
Merge pull request #44095 from akien-mga/ci-windows-cache-3gb
...
CI: Shrink Windows cache to 3GB, we run out of disk space
2020-12-04 21:31:58 +01:00
Rémi Verschelde
3e3fded479
CI: Shrink Windows cache to 3GB, we run out of disk space
2020-12-04 20:06:15 +01:00
Rémi Verschelde
c9f626b598
Merge pull request #44087 from akien-mga/osx-export-fix-path
...
OSX: Fix tmp .app folder name after #44060
2020-12-04 14:33:25 +01:00