summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-27Merge pull request #43500 from AndreaCatania/gds_fixesRémi Verschelde
Fixes crash when parse_expression returns nullptr.
2020-11-27Merge pull request #39056 from rileylyman/tscn_newlinesRémi Verschelde
Skip extra newline in .tscn when renaming dependency
2020-11-27Merge pull request #43918 from Faless/net/4.0_no_reuse_udpRémi Verschelde
Disable SO_REUSEADDR for UDP.
2020-11-27Merge pull request #43914 from ThakeeNathees/range-argument-type-bug-fixRémi Verschelde
GDScript: range function type check bug fixed
2020-11-27Merge pull request #43226 from mateosss/unreachable-prop-crashGeorge Marques
Fix crash due to unreachable code in properties
2020-11-27Disable SO_REUSEADDR for UDP.Fabio Alessandrelli
It allows binding multiple sockets to the same ADDR:PORT (unlike TCP, which still requires different ADDR:PORT combinations).
2020-11-27GDScript range function typecheck bug fixedThakee Nathees
Fix: #43586
2020-11-27Merge pull request #43910 from akien-mga/doc-input-gyro-iosRémi Verschelde
doc: Mention iOS support for for Input gravity/gyroscope sensors
2020-11-27doc: Mention iOS support for Input gravity/gyroscope sensorsRémi Verschelde
It has been implemented for iOS a long time ago already with #7127.
2020-11-27Merge pull request #43905 from vnen/gdscript-unregister-function-stateRémi Verschelde
Unregister GDScriptFunctionState class
2020-11-26Unregister GDScriptFunctionState classGeorge Marques
This is not user accessible anymore so it does not need to be show in documentation.
2020-11-26Merge pull request #43895 from vnen/gdscript-operators-fixRémi Verschelde
GDScript: Improve handling of operators
2020-11-26Merge pull request #43894 from vnen/gdscript-some-fixesRémi Verschelde
Some GDScript fixes
2020-11-26GDScript: Improve handling of operatorsGeorge Marques
- Use the new functions in Variant to determine the validity and resulting type of operators. - Split the operator function in codegen between binary and unary, since the unary ones have now a special requirement of having the second argument to be the NIL type when requesting info.
2020-11-26GDScript: Don't clear depended parsers too soonGeorge Marques
It can wait until the analyzer itself is destructed, otherwise other phases might be using freed parsers.
2020-11-26GDScript: Give an error if dependency can't be parsedGeorge Marques
Otherwise this may lead to a crash when the dependency is not present.
2020-11-26Merge pull request #43886 from reduz/sdf-2dRémi Verschelde
Implement Signed Distance Fields for 2D shaders
2020-11-26Implement signed distance fields for 2D shadersreduz
2020-11-26Merge pull request #43884 from Chaosus/vs_warningsRémi Verschelde
Added extra warning to texture nodes in visual shader + fix warning appearing
2020-11-26Added extra warning to VisualShaderNodeTexture + fix warning appearingYuri Roubinsky
2020-11-26Merge pull request #43807 from Xrayez/aspect-ratio-containerRémi Verschelde
Add `AspectRatioContainer` class
2020-11-26i18n: Sync translations with WeblateRémi Verschelde
(cherry picked from commit 97e7d637e0362a2d676eaa854f0e638ecf49e347)
2020-11-26Merge pull request #43865 from madmiraal/fix-43852Rémi Verschelde
Check joint nodes and generate configuration warning messages.
2020-11-26Merge pull request #42652 from nekomatata/x11-clipboard-save-targetsRémi Verschelde
Implement SAVE_TARGETS mechanism for Linux clipboard
2020-11-26Merge pull request #43869 from winterpixelgames/PR-gdscript-dissasemlber-fixRémi Verschelde
fixes crash for OPCODE_CAST_TO_NATIVE opcode in gdscript disassemlber
2020-11-26Merge pull request #43880 from ↵Rémi Verschelde
EricEzaM/PR/project-settings-remove-unused-property-and-method Removed references to 'registering_order', as it was unused.
2020-11-26Merge pull request #43879 from EricEzaM/PR/control-remove-unused-propertyRémi Verschelde
Removed unused property 'pending_resize' from Control
2020-11-26Removed references to 'registering_order', as it was unused.Eric M
2020-11-26Removed unused property 'pending_resize' from ControlEric M
2020-11-25fixes crash for OPCODE_CAST_TO_NATIVE opcode in gdscript disassemlberJordan Schidlowsky
2020-11-25Merge pull request #43239 from HaSa1002/docs-lang-4Rémi Verschelde
Docs: Port Code Examples to C# (F, G, H, I, J, K, L)
2020-11-25Merge pull request #43864 from vnen/fix-print-utilitiesRémi Verschelde
Fix prints and printt functions printing as errors
2020-11-25Docs: Port Code Examples to C# (F, G, H, I, J, K, L)HaSa1002
Includes: * File * Geometry2D * HashingContext * HTTPClient * HTTPRequest * Image * Input * int * ItemList * JSONParseResult * KinematicBody2D * LineEdit Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2020-11-25Check joint nodes and generate configuration warning messages.Marcel Admiraal
2020-11-25Merge pull request #43862 from akien-mga/linux-clang-TYPED_METHOD_BINDRémi Verschelde
SCons: Do not define TYPED_METHOD_BIND on Linux/clang
2020-11-25Fix prints and printt functions printing as errorsGeorge Marques
2020-11-25Merge pull request #43861 from JFonS/fix_gizmo_defvalRémi Verschelde
Fix binding of default value in EditorSpatialGizmoPlugin::get_material()
2020-11-25SCons: Do not define TYPED_METHOD_BIND on Linux/clangRémi Verschelde
It's now only needed for MSVC.
2020-11-25Fix binding of default value in EditorSpatialGizmoPlugin::get_material()jfons
It was commented for some reason I can't remember.
2020-11-25Merge pull request #43856 from vnen/gdscript-some-fixesRémi Verschelde
A couple of GDScript fixes
2020-11-25Merge pull request #43775 from vnen/gdscript-fix-stackRémi Verschelde
GDScript: Fix mishandling of stack pointers
2020-11-25GDScript: Fix return of cast expression on compilationGeorge Marques
It was mistakenly returning the source instead of the result.
2020-11-25GDScript: Fix range() being treated as array when optimized outGeorge Marques
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-25GDScript: Fix mishandling of stack pointersGeorge Marques
- 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-25Merge pull request #43854 from akien-mga/ptrcall-always-onRémi Verschelde
Core: Always enable ptrcall, remove PTRCALL_ENABLED define
2020-11-25Core: Always enable ptrcall, remove PTRCALL_ENABLED defineRémi Verschelde
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-25Add `AspectRatioContainer` classAndrii Doroshenko (Xrayez)
Co-authored-by: Ugis Brekis <ugis.brekis@productmadness.com>
2020-11-25Merge pull request #43833 from volzhs/fix-scrollcontainer-bar-max-valueRémi Verschelde
Fix to update scroll bar has correct max value in ScrollContainer
2020-11-25Merge pull request #43850 from madmiraal/fix-useless-assignmentRémi Verschelde
Fix useless assignement in webrtc/library_godot_webrtc.js
2020-11-25Merge pull request #43793 from Calinou/doc-mono-resourcesRémi Verschelde
Document C# garbage collection caveats in Reference and Resource