a8c2cc9028
Merge pull request #43807 from Xrayez/aspect-ratio-container
...
Add `AspectRatioContainer` class
2020-11-26 12:20:15 +01:00
841fbafc78
i18n: Sync translations with Weblate
...
(cherry picked from commit 97e7d637e0 )
2020-11-26 10:40:55 +01:00
27933784f6
Merge pull request #43865 from madmiraal/fix-43852
...
Check joint nodes and generate configuration warning messages.
2020-11-26 10:21:36 +01:00
a4e04cdd47
Merge pull request #42652 from nekomatata/x11-clipboard-save-targets
...
Implement SAVE_TARGETS mechanism for Linux clipboard
2020-11-26 09:34:18 +01:00
77c9ae8e8d
Merge pull request #43869 from winterpixelgames/PR-gdscript-dissasemlber-fix
...
fixes crash for OPCODE_CAST_TO_NATIVE opcode in gdscript disassemlber
2020-11-26 08:24:22 +01:00
cd6ee62b0c
Merge pull request #43880 from EricEzaM/PR/project-settings-remove-unused-property-and-method
...
Removed references to 'registering_order', as it was unused.
2020-11-26 08:05:00 +01:00
4e212affbe
Merge pull request #43879 from EricEzaM/PR/control-remove-unused-property
...
Removed unused property 'pending_resize' from Control
2020-11-26 08:03:45 +01:00
3528b29669
Removed references to 'registering_order', as it was unused.
2020-11-26 15:37:40 +10:00
4d10524f7f
Removed unused property 'pending_resize' from Control
2020-11-26 15:30:13 +10:00
afa15c5f15
fixes crash for OPCODE_CAST_TO_NATIVE opcode in gdscript disassemlber
2020-11-25 16:26:32 -06:00
7e009a1671
Merge pull request #43239 from HaSa1002/docs-lang-4
...
Docs: Port Code Examples to C# (F, G, H, I, J, K, L)
2020-11-25 23:11:32 +01:00
ff790796af
Merge pull request #43864 from vnen/fix-print-utilities
...
Fix prints and printt functions printing as errors
2020-11-25 23:07:52 +01:00
5a01c2a3b0
Docs: Port Code Examples to C# (F, G, H, I, J, K, L)
...
Includes:
* File
* Geometry2D
* HashingContext
* HTTPClient
* HTTPRequest
* Image
* Input
* int
* ItemList
* JSONParseResult
* KinematicBody2D
* LineEdit
Co-authored-by: Aaron Franke <arnfranke@yahoo.com >
2020-11-25 22:15:13 +01:00
002cc47fbd
Check joint nodes and generate configuration warning messages.
2020-11-25 20:53:19 +00:00
91f7df2b4c
Merge pull request #43862 from akien-mga/linux-clang-TYPED_METHOD_BIND
...
SCons: Do not define TYPED_METHOD_BIND on Linux/clang
2020-11-25 21:24:46 +01:00
40b683f8bb
Fix prints and printt functions printing as errors
2020-11-25 16:18:41 -03:00
613b76cfd5
Merge pull request #43861 from JFonS/fix_gizmo_defval
...
Fix binding of default value in EditorSpatialGizmoPlugin::get_material()
2020-11-25 19:28:05 +01:00
09f3053450
SCons: Do not define TYPED_METHOD_BIND on Linux/clang
...
It's now only needed for MSVC.
2020-11-25 19:27:30 +01:00
e6949dae72
Fix binding of default value in EditorSpatialGizmoPlugin::get_material()
...
It was commented for some reason I can't remember.
2020-11-25 18:55:07 +01:00
fc28de64c4
Merge pull request #43856 from vnen/gdscript-some-fixes
...
A couple of GDScript fixes
2020-11-25 17:13:41 +01:00
a5ee8d881f
Merge pull request #43775 from vnen/gdscript-fix-stack
...
GDScript: Fix mishandling of stack pointers
2020-11-25 16:25:51 +01:00
ed3d8f31df
GDScript: Fix return of cast expression on compilation
...
It was mistakenly returning the source instead of the result.
2020-11-25 11:37:51 -03:00
fb3dc2670a
GDScript: Fix range() being treated as array when optimized out
...
The call of range() in a for loop is optimized to use int or vectors, to
avoid allocating an array, however the type was set as array still. With
the new typed VM this is an issue as the type mismatch the actual value,
resulting in wrong instructions to be selected.
2020-11-25 11:35:07 -03:00
2e528ef382
GDScript: Fix mishandling of stack pointers
...
- Replace the for loop temporaries by locals. They cause conflicts with
the stack when being popped, while locals are properly handled in the
scope.
- Change the interface for the codegen so the for loop list doesn't live
through the whole block if it's a temporary.
- Keep track of the actual amount of local variables in the stack. Using
the size of the map is misleading in cases where multiple locals have
the same name (which is allowed when there's no shadowing).
- Added a few debug checks for temporaries, to avoid them being wrongly
manipulated in the future. They should not live more than a line of
code.
- Rearrange some of compiler code to make sure the temporaries don't
live across blocks.
2020-11-25 11:24:13 -03:00
c5451468cf
Merge pull request #43854 from akien-mga/ptrcall-always-on
...
Core: Always enable ptrcall, remove PTRCALL_ENABLED define
2020-11-25 15:10:32 +01:00
d76806d322
Core: Always enable ptrcall, remove PTRCALL_ENABLED define
...
ptrcall is now also used to optimize calls in GDScript, on top of the existing
use by the GDNative and Mono modules.
It no longer makes sense to make it optional.
2020-11-25 14:08:17 +01:00
ba68383706
Add AspectRatioContainer class
...
Co-authored-by: Ugis Brekis <ugis.brekis@productmadness.com >
2020-11-25 15:06:40 +02:00
8c713fa9bf
Merge pull request #43833 from volzhs/fix-scrollcontainer-bar-max-value
...
Fix to update scroll bar has correct max value in ScrollContainer
2020-11-25 13:27:36 +01:00
81842a7cd6
Merge pull request #43850 from madmiraal/fix-useless-assignment
...
Fix useless assignement in webrtc/library_godot_webrtc.js
2020-11-25 12:17:21 +01:00
6dfcc4aa80
Merge pull request #43793 from Calinou/doc-mono-resources
...
Document C# garbage collection caveats in Reference and Resource
2020-11-25 11:12:09 +01:00
4f654dad13
Fix useless assignement in webrtc/library_godot_webrtc.js
2020-11-25 10:09:53 +00:00
113ea1de2a
Merge pull request #43837 from KoBeWi/butt_on
...
Update clear button when clicked
2020-11-25 08:21:49 +01:00
836b78f329
Update clear button when clicked
2020-11-25 00:42:07 +01:00
67c2f2445f
Fix to update scroll bar has correct max value in ScrollContainer
2020-11-25 05:30:55 +09:00
32b31a5fa4
Merge pull request #43730 from qarmin/core_drivers_default_values
...
Initialize class/struct variables with default values in core/ and drivers/
2020-11-24 13:00:27 +01:00
4159baff6c
Merge pull request #42648 from naithar/fix/native_video_view
...
[iOS] Native video fixes
2020-11-24 10:41:01 +01:00
617031434f
Merge pull request #43803 from m4gr3d/update_signing_and_zipalign_logic_master
...
Update gradle build files to automatically perform signing and zipalign tasks for custom builds
2020-11-24 08:39:06 +01:00
43e383e656
Merge pull request #43786 from greenfox1505/3.2_Fix-Camera2D-ZoomRotation-Master
...
fixed Camera2D rotation with non-square zoom
2020-11-24 08:38:16 +01:00
59fdfc77e8
doc: Sync classref with current source
2020-11-23 23:44:44 +01:00
7bd03b7188
Initialize class/struct variables with default values in core/ and drivers/
2020-11-23 17:38:46 +01:00
60fd7bfe42
Merge pull request #43798 from Calinou/doc-improve-audiostreampleyer3d
...
Improve the AudioStreamPlayer3D class documentation
2020-11-23 17:13:49 +01:00
e1e3aa4f23
Merge pull request #43796 from nekomatata/profiling-error-spam
...
Fix DebuggerMarshalls errors while profiling
2020-11-23 17:10:50 +01:00
95618e2937
Improve the AudioStreamPlayer3D class documentation
2020-11-23 16:56:05 +01:00
d346c30269
Fix DebuggerMarshalls errors while profiling
...
Fixed check for array size before func_size: when func_size is 0 there's
only 1 entry left and not 3.
2020-11-23 07:59:56 -07:00
0565c76e8b
Document C# garbage collection caveats in Reference and Resource
2020-11-23 14:01:50 +01:00
50db0e66ac
Merge pull request #43747 from Faless/js/4.0_lint
...
[HTML5] Linting, fixes.
2020-11-23 12:38:17 +01:00
4617a7fa9c
[HTML5] Run eslint --fix.
...
Should I write a poem about this whole new world? ;)
2020-11-23 12:15:18 +01:00
c38984d286
[HTML5] Enforce JavaScript style with eslint.
...
Applies to javascript files inside the platform library folder, the
exposed Engine code, and any javascript files in modules.
Files ending with ".externs.js" will be ignored, you can create a
".eslintignore" file to specify extra files to be ignored.
2020-11-23 12:15:18 +01:00
18023cc3ed
Merge pull request #43788 from RandomShaper/ref_singleton
...
Make warning about Reference singletons more accurate
2020-11-23 11:26:10 +01:00
e79162ec4e
Make warning about Reference singletons more accurate
2020-11-23 10:42:44 +01:00