d94de32579
Merge pull request #44177 from touilleMan/pluginscript-allow-custom-can_inherit_from_file
...
Allow PluginScript to customize language's can_inherit_from_file attribute
2020-12-08 12:46:02 +01:00
d94bf9f7b6
Merge pull request #44136 from neikeq/scons-mono-bcl-option
...
Mono: Add mono_bcl SCons option for a custom BCL location
2020-12-08 09:43:50 +01:00
a834055c63
Merge pull request #44148 from Calinou/tweak-log-file-names
...
Tweak log file names for consistency between Mono and non-Mono logs
2020-12-08 09:42:54 +01:00
014efeb272
Allow PluginScript to customize language's can_inherit_from_file attribute
2020-12-08 00:56:01 +01:00
e20011b0da
Merge pull request #44076 from Faless/js/4.x_gdnative
...
[HTML5] Optional GDNative Support
2020-12-07 15:34:33 +01:00
44a88244de
Merge pull request #44162 from aaronfranke/arg
...
Improve some argument names for core types
2020-12-07 13:35:25 +01:00
d32878bfa8
Merge pull request #43007 from DeleteSystem32/mp3-support
...
Add MP3 import and playback support
2020-12-07 11:36:03 +01:00
3c9c2cbb23
Merge pull request #44093 from nekomatata/gdscript-base-class-init
...
Fix base script not initialized properly in some cases
2020-12-07 11:29:45 +01:00
93e9c9c470
Merge pull request #43981 from bruvzg/ctl_font_spacing
...
[Complex Text Layouts] Adds missing Font::SPACING_* to the controls, align glyphs to pixel grid.
2020-12-07 11:08:34 +01:00
5465e604bb
Improve argument names for core types
2020-12-07 05:01:33 -05:00
73eb8d5a20
Merge pull request #44117 from bruvzg/mem_fonts
...
Load dynamic fonts to memory on all platforms, to avoid locked files.
2020-12-07 10:43:49 +01:00
29e5b900d0
Load dynamic fonts to memory on all platforms, to avoid locked files.
2020-12-07 10:53:15 +02:00
0ef483e9a9
[Complex Text Layouts] Performance optimizations.
2020-12-07 08:53:02 +02:00
4d81776fc9
Tweak log file names for consistency between Mono and non-Mono logs
...
- Avoid spaces in Mono log file names.
- Use a `.log` extension for Mono logs, just like non-Mono logs.
- Use periods to separate hours/minutes/seconds for non-Mono logs.
2020-12-06 20:17:02 +01:00
384211af4b
[Complex Text Layouts] Fix bitmap font memory leak.
2020-12-06 20:31:00 +02:00
c3cc9d82b4
[Complex Text Layouts] Align glyph offsets and advances to the pixel grid.
2020-12-06 20:31:00 +02:00
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
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
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
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
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
1b348b3c17
Remove connect *_compat methods
2020-12-05 17:56:47 -05:00
c574b4d086
Merge pull request #44091 from madmiraal/rename-cubemesh-boxmesh
...
Rename CubeMesh to BoxMesh
2020-12-05 16:48:15 +01:00
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
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
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
df6b061dbb
Rename CubeMesh BoxMesh
2020-12-05 11:48:26 +00:00
5ef62e546f
Rename EditorNode3DGizmoPlugin "get_name" to "get_gizmo_name"
2020-12-04 19:34:50 -05:00
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
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
40b81339d0
Rebind Mesh/ArrayMesh enums
2020-12-04 19:34:50 -05:00
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
ca34b5e57a
[HTML5] GDNative support via SIDE_MODULE.
...
Working with emscripten >= 2.0.10
2020-12-05 00:52:43 +01:00
b0eb9061e4
C#: Fix very slow build log update in the editor
2020-12-05 00:43:24 +01:00
bbaf854956
Fix unhandled exception re-thrown in the editor
2020-12-05 00:40:31 +01:00
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
1167ab96e9
[HTML5] Add function signatures to JS libraries.
2020-12-04 23:21:33 +01:00
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
1287ea63c1
Merge pull request #44084 from vnen/float-is-real
...
Rename TYPE_REAL to TYPE_FLOAT
2020-12-04 14:26:22 +01:00
02f60812ed
Rename TYPE_REAL to TYPE_FLOAT
...
To be consistent with the naming everywhere else.
2020-12-04 09:47:26 -03:00
7e2b88a7eb
Updated open-simplex to have const noise functions
...
"open-simplex-noise-in-c" now updated to master and "opensimplex" module refactored accordingly
2020-12-04 11:26:05 +01:00
704d6de84c
add mp3 import and playback support
2020-12-03 17:51:43 +01:00
ea7dd1be36
Merge pull request #43328 from gvekan/better-keyword-completion
...
Add bracket or space to some keyword completions
2020-12-03 17:14:32 +01:00
9c30c83aee
Merge pull request #44011 from KoBeWi/red_roses_minus_blue_violets
...
Fix subtracting colors and quats
2020-12-03 14:44:52 +01:00
4c232e4222
Fix subtracting colors and quats
2020-12-03 14:22:12 +01:00
9a0610c1ff
Merge pull request #43959 from dalexeev/gds-doc
...
Several edits to the GDScript docs
2020-12-03 13:32:32 +01:00
a84ad91280
Merge pull request #43896 from RandomShaper/fix_rel_probe_vis
...
Put misc. 3D tool visible instances on their own layer
2020-12-03 13:29:16 +01:00
5861bac21e
Merge pull request #43801 from nekomatata/bullet-ccd-disabled
...
Fix ccd enabled by default on Bullet bodies
2020-12-03 13:28:48 +01:00
c6965961c7
Merge pull request #44064 from akien-mga/mono-android-fix-build
...
Mono: Fix Android build after #36311
2020-12-03 12:52:13 +01:00
0c06fbe6db
Mono: Fix Android build after #36311
2020-12-03 11:17:03 +01:00