summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2019-02-09Use script instance binding for objects constructed from C#Ignacio Etcheverry
Only possible if the object class is a "native type". If the object class is a user class (that derives a "native type") then a script is needed. Since CSharpLanguage does cleanup of script instance bindings when finished, cases like #25621 will no longer cause problems. Fixed ~Object() trying to free script instance bindings after the language has already been removed, which would result in a NULL dereference.
2019-02-03Merge pull request #25574 from neikeq/ssIgnacio Etcheverry
Mono: Lifetime fixes for CSharpInstance and instance binding data
2019-02-03Mono: Fix default debugger agent argument never being usedIgnacio Etcheverry
2019-02-03Mono: Lifetime fixes for CSharpInstance and instance binding dataIgnacio Etcheverry
Avoid CSharpInstance from accessing its state after self destructing (by deleting the Reference owner). It's now safe to replace the script instance without leaking or crashing. Also fixed godot_icall_Object_weakref return reference being freed before returning.
2019-02-03Merge pull request #25478 from neikeq/rrIgnacio Etcheverry
Mono: Fix MonoPosixHelper not being found
2019-02-03Mono: Fix MonoPosixHelper not being foundIgnacio Etcheverry
2019-02-03Mono: CleanupIgnacio Etcheverry
2019-01-30Avoid inertia calculation for empty shape - BulletAndrea Catania
2019-01-28Prevent upscaled SVG from exceeding Image boundsRémi Verschelde
Also expose Image MAX_WIDTH and MAX_HEIGHT. Fixes #24455.
2019-01-28Merge pull request #25401 from capnm/capnm-cleanupRémi Verschelde
Cleanup unused header file
2019-01-28Merge pull request #25379 from Faless/net/ws/mp_docsRémi Verschelde
Update docs and errors for WebSocket module
2019-01-28Fixed Rigidbody first frame center spawnAndrea Catania
2019-01-28Cleanup unused headerMartin Capitanio
2019-01-28Update docs and errors for WebSocket moduleFabio Alessandrelli
2019-01-27Make CSG Shape work with GIProbe, fixes #20465Juan Linietsky
2019-01-27Merge pull request #25314 from marxin/fix-24417-class-memaccessRémi Verschelde
Fix class memaccess
2019-01-27Mono: Test Windows binaries with lowercase extensionRémi Verschelde
To help users writing good cross-platform code, Godot's `FileAccessWindows:open()` will issue a warning on case mismatch, which happens here with capitalized extensions given by `PATHEXT` compared to actual file extensions which are lowercase 99% of the time. Fixes #25368.
2019-01-27Bullet: Enable BT_DEBUG on debug buildsRémi Verschelde
Fixes #25301.
2019-01-26Workaround GCC 6 & 7 ICE on armv7hlRémi Verschelde
Fixes #16100.
2019-01-25Ensure get script method list also checks base classes, fixes #23384Juan Linietsky
2019-01-25Use placement new in texture_loader_pvr.cpp (#24417).marxin
Use constructor via placement new and swap colors directly.
2019-01-23GDScript: do second pass of parsing on releaseGeorge Marques
Some construct (like match) actually depends on the second pass. This adds some extra checks to not perform specific type-checks on release since not all type information is available.
2019-01-23GDScript: fix default value for autoexported typed varsGeorge Marques
2019-01-23GDScript: read constants from parent scriptsGeorge Marques
This is needed to create export variables from enums defined in a parent class.
2019-01-23GDScript: don't allow calling non-static function from scriptGeorge Marques
2019-01-23GDScript: allow local classes to be used as typesGeorge Marques
2019-01-22Mono: Fix hot reload build errors and cleanupIgnacio Etcheverry
2019-01-21Mono: Add assembly reloading to running gamesIgnacio Etcheverry
Add environment variable to specify a custom --debugger-agent for mono.
2019-01-21Merge pull request #25180 from AndreaCatania/arovRémi Verschelde
Fixed area overlaps if not move
2019-01-21Fixed area overlaps if not moveAndrea Catania
2019-01-21Fix C# script metadata creation error due to missing directoryIgnacio Etcheverry
2019-01-21Workaround for bug with Mono's MSBuild and BaseIntermediateOutputPathIgnacio Etcheverry
BaseIntermediateOutputPath seems to be empty by default. The workaround is to explicitly set it. Also fixed passing char instead of char[] to String.Split. Why was this even working with Mono?
2019-01-18GDScript: Fix return value of "lerp" builtinRémi Verschelde
Fixes #25082, fixes #24709.
2019-01-18Merge pull request #25080 from neikeq/mm-cIgnacio Etcheverry
C# Bindings Generator: Fix vararg methods with custom return type
2019-01-18Merge pull request #25079 from neikeq/mm-bIgnacio Etcheverry
C#: Fix trying to build when there's no solution
2019-01-18Merge pull request #25078 from neikeq/mm-aIgnacio Etcheverry
C#: Fix crash due to missing gchandle ref null check
2019-01-18C# Bindings Generator: Fix vararg methods with custom return typeIgnacio Etcheverry
2019-01-18C#: Fix trying to build when there's no solutionIgnacio Etcheverry
This would cause errors that shouldn't happen unless there was something to build.
2019-01-17C#: Fix crash due to missing gchandle ref null checkIgnacio Etcheverry
2019-01-17Merge pull request #25069 from vnen/gdscript-fixesHein-Pieter van Braam
A bit more of GDScript fixes
2019-01-17GDScript compiler: check if subclass exists before comparisonGeorge Marques
Otherwise these checks might trigger the insertion of an empty value, leading to crashes.
2019-01-16GDScript: clarify error message about cyclesGeorge Marques
They may happen with any cyclic dependency, not only with inheritance.
2019-01-16GDScript: fix type-check of indexed valuesGeorge Marques
2019-01-16Merge pull request #25001 from jlahman/gdscript-export-var-fixRémi Verschelde
Fixes export PackedScene "reset to default" throwing errors
2019-01-16Android: Add support for x86_64 architectureRémi Verschelde
Like arm64v8, this is only supported by API 21 and later, so we enforce 21 as min API for x86_64. Part of #25030.
2019-01-16Merge pull request #25032 from akien-mga/static-analysisRémi Verschelde
Fix some errors found by static analysis
2019-01-16Fix some errors found by static analysisRémi Verschelde
Fixes items 10, 16 and 19 from PVS-Studio blog post in #24014.
2019-01-15Fixes export PackedScene "reset to default" throwing errorsjlahman
When exporting variables from a gdscript, default values of uninitialized variables would never be set. This caused the default value to be Variant::NIL, and when a user tried to reset the variable through the editor, an error would be thrown because too few arguments would be counted(end of argument list for calls are detected by NIL values). Fixed by simply setting default value to an empty variant of the proper type in gdscript parser.
2019-01-15GDScript: check for underscore prefix when type-checkingGeorge Marques
Some classes are represented internally with an underscore prefix, so we need to make sure we match this representation when type-checking, otherwise the check might fail on a valid scenario.
2019-01-15GDScript: consider constructors as always existingGeorge Marques
There's always a constructor, even if implicit, especially for native types. Also don't check for signature match on function call, since this information is not available in release builds.