Fabio Alessandrelli
3936da7ab4
Fix some easing equations' undefined behaviours.
...
Spotted via -Wunsequenced.
Easing equations had different behaviours depending on the toolchain
due to its abusing of inline assignments.
2020-12-08 18:21:16 +01:00
Rémi Verschelde
90bdba576a
Merge pull request #43742 from qarmin/editor_modules_default_values
...
Initialize class/struct variables with default values in platform/ and editor/
2020-12-08 15:53:42 +01:00
Rémi Verschelde
edb3686ee2
Merge pull request #44190 from touilleMan/constify-ScriptLanguage.can_inherit_from_file
...
Constify ScriptLanguage.can_inherit_from_file
2020-12-08 13:59:46 +01:00
Rémi Verschelde
360cfeedac
Merge pull request #44176 from touilleMan/global_class_naming-for-pluginscript
...
Add PluginScript support for global class naming/icon path
2020-12-08 13:51:06 +01:00
Rémi Verschelde
3846a3703a
Merge pull request #44189 from madmiraal/canvasitem-hidden-signal
...
Rename CanvasItem's hide signal to hidden
2020-12-08 13:50:15 +01:00
Emmanuel Leblond
c4c18a2c58
Add PluginScript support for global class naming/icon path
2020-12-08 13:17:22 +01:00
Marcel Admiraal
43302837eb
Rename CanvasItem's hide signal to hidden
2020-12-08 12:14:15 +00:00
Emmanuel Leblond
a211812932
Constify ScriptLanguage.can_inherit_from_file
2020-12-08 13:06:15 +01:00
Rémi Verschelde
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
Rémi Verschelde
0f6745b6aa
Merge pull request #44188 from madmiraal/tabs-signal-names
...
Rename Tabs close and hover signals to tab_closed and tab_hovered
2020-12-08 12:30:49 +01:00
Rémi Verschelde
1cf53ca90b
Merge pull request #44184 from madmiraal/xrcontroller-button_released
...
Rename XRController signal button_release to button_released
2020-12-08 12:25:41 +01:00
Marcel Admiraal
a65e609e21
Rename Tabs close and hover signals to tab_closed and tab_hovered
2020-12-08 09:51:06 +00:00
Rémi Verschelde
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
Rémi Verschelde
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
Rémi Verschelde
c0e6962aa0
Merge pull request #44164 from madmiraal/g6dof-use-default-copy
...
Fix inconsistent Joint3DSW copy constructor and assignment declarations
2020-12-08 09:41:27 +01:00
Rémi Verschelde
a32d6d2800
Merge pull request #44166 from madmiraal/remove-chain-tip-copy-constructor
...
Remove ChainTip copy constructor
2020-12-08 09:40:07 +01:00
Marcel Admiraal
58c38d957b
Rename XRController signal button_release to button_released
2020-12-08 08:37:48 +00:00
Juan Linietsky
706c38ab2a
Merge pull request #44175 from reduz/reorganize-3d-render
...
Add support for low-end 3D rendering.
2020-12-07 21:09:23 -03:00
Emmanuel Leblond
014efeb272
Allow PluginScript to customize language's can_inherit_from_file attribute
2020-12-08 00:56:01 +01:00
reduz
2748b9a10d
Add support for low-end 3D rendering.
...
-Reduce number of uniform sets from 6 to 4.
-Remove features in low end mode, in order to reduce the number of texture units fit to 16.
2020-12-07 20:50:57 -03:00
Rémi Verschelde
efc2104096
Merge pull request #44021 from dakennedyd/personal
...
Fix implementation of move_to_trash() on Linux
2020-12-07 21:06:10 +01:00
David Kennedy
8b68c6808d
Fixes move_to_trash() on Linux
...
Fixes #42840 OS move_to_trash() on Linux is not compliant with the Freedesktop specification
2020-12-07 16:40:56 -03:00
Marcel Admiraal
c013361bdc
Fix inconsistent Joint3DSW copy constructor and assignment declarations
2020-12-07 16:29:58 +00:00
Rémi Verschelde
e20011b0da
Merge pull request #44076 from Faless/js/4.x_gdnative
...
[HTML5] Optional GDNative Support
2020-12-07 15:34:33 +01:00
Rémi Verschelde
44a88244de
Merge pull request #44162 from aaronfranke/arg
...
Improve some argument names for core types
2020-12-07 13:35:25 +01:00
Marcel Admiraal
3e1c540a6e
Remove ChainTip copy constructor
2020-12-07 12:29:29 +00:00
Andrii Doroshenko (Xrayez)
932acad53f
Add test suite for `RandomNumberGenerator`
2020-12-07 13:51:03 +02:00
Andrii Doroshenko (Xrayez)
b5107715f1
Add ability to restore `RandomNumberGenerator` state
...
- added `state` as a property to restore internal state of RNG;
- `get_seed()` returns last seed used to initialize the state rather than the current state.
Co-authored-by: MidZik <matt.idzik1@gmail.com>
2020-12-07 13:50:46 +02:00
Rémi Verschelde
d32878bfa8
Merge pull request #43007 from DeleteSystem32/mp3-support
...
Add MP3 import and playback support
2020-12-07 11:36:03 +01:00
Rémi Verschelde
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
Rémi Verschelde
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
Aaron Franke
5465e604bb
Improve argument names for core types
2020-12-07 05:01:33 -05:00
Rémi Verschelde
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
bruvzg
29e5b900d0
Load dynamic fonts to memory on all platforms, to avoid locked files.
2020-12-07 10:53:15 +02:00
Rémi Verschelde
02e370b0eb
Merge pull request #44153 from dsnopek/fix-javascript-build
...
Fix dummy rasterizer so that javascript can build again
2020-12-07 08:21:26 +01:00
bruvzg
0ef483e9a9
[Complex Text Layouts] Performance optimizations.
2020-12-07 08:53:02 +02:00
David Snopek
26f1d05400
Fix dummy rasterizer so that javascript can build again
2020-12-06 18:29:32 -06:00
Hugo Locurcio
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
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