summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2019-03-03Allow parameters passed to GDScript functions to be nulledBojidar Marinov
Previous version resulted in confusing (but actually right) errors about converting "from Object to Object", since CallError does not include information about the actual types involved.
2019-03-01Fix CSG crash, closes #26281Juan Linietsky
2019-03-01C#: Fix parsing of class full name when the base has genericsIgnacio Etcheverry
Also we no longer ignore base classes with generics, since we don't really care about that.
2019-02-28Mono: Fail on script instance creation if constructor was not foundIgnacio Etcheverry
Previously this would result in NULL dereferencing. Now we fail with an error.
2019-02-28Mono: Make sure the generated RootNamespace is a valid identifierIgnacio Etcheverry
2019-02-28Merge pull request #26411 from neikeq/issue-26195Ignacio Etcheverry
C#: Add Array.Resize(int) method
2019-02-28C#: Add Array.Resize(int) methodIgnacio Etcheverry
2019-02-28opus: Better sync sources list with upstream buildsystemRémi Verschelde
2019-02-28Merge pull request #26034 from QbieShay/issue_25596Rémi Verschelde
Inheriting from virtual class no longer causes the engine to crash.
2019-02-27Inheriting from virtual class no longer causes the engine to crash, it ↵QbieShay
prints an error instead. Co-authored-by: Hein-Pieter van Braam <hp@tmm.cx>
2019-02-27Merge pull request #26159 from marxin/fix-Wsuggest-attribute=formatRémi Verschelde
Fix -Wsuggest-attribute=format warnings.
2019-02-27Merge pull request #26134 from marxin/fix-Wsign-compareRémi Verschelde
Fix -Wsign-compare warnings.
2019-02-27Fix -Wsign-compare warnings.marxin
I decided to modify code in a defensive way. Ideally functions like size() or length() should return an unsigned type.
2019-02-27Fix -Wsuggest-attribute=format warnings.marxin
2019-02-27Merge pull request #26333 from neikeq/ayayaIgnacio Etcheverry
Mono: Some editor usability improvements
2019-02-27Mono: Some editor usability improvementsIgnacio Etcheverry
- Move "Mono" popup menu from the top right corner to `Projects -> Tools` as a submenu. - Add "Build solution" button to the top right corner. Makes it more visible and quicker to access. - Fix build list in the bottom panel unselect an item when clicking on empty space. Previously it would hide the issues panel but the item would remain selected, making it impossible to display the issues panel again if there was only one item.
2019-02-27Remove problematic VS Code hint path on WindowsIgnacio Etcheverry
2019-02-27Merge pull request #26304 from bojidar-bg/26066-fix-exported-poolarrayRémi Verschelde
Fix GDScript exports having the wrong type of default value by converting it
2019-02-26-Properly handle missing ETC support on exportJuan Linietsky
-Added ability for resource importers to save metadata -Added ability for resource importers to validate depending on project settings
2019-02-26Fix "No loader found for resource: res://" spam when NativeScript ↵Eric Rybicki
script_class_name is not empty. fixes #26275
2019-02-26Fix GDScript exports having the wrong type of default value by converting itBojidar Marinov
Also, initialize elements of PoolArrays when resizing them in the editor. Fixes #26066.
2019-02-24Fixing C compatiblity for GDNative NET moduleFabio Alessandrelli
Also add net interfaces to gdnative_api.json
2019-02-24Merge pull request #25018 from AllanDaemon/#24895George Marques
Fix support for optional parameters in setters
2019-02-23C#: Fix Vector2.AngleToPointIgnacio Etcheverry
Fixes #26209
2019-02-23Merge pull request #26203 from neikeq/csharp-basisRémi Verschelde
C#: Basis fixes and cleanup
2019-02-23C#: Basis fixes and cleanupIgnacio Etcheverry
Fix Basis operator[int]. Now it returns columns instead of rows. Fix Transform2D.AfficeInverse() mutating rather than returning a new Transform2D.
2019-02-22Revert "Optimized area check"Rémi Verschelde
2019-02-22Merge pull request #26133 from YeldhamDev/ttr_undoredo_actionsRémi Verschelde
Make translatable some undo/redo operations in the editor
2019-02-22Merge pull request #26132 from marxin/fix-Wignored-qualifiersRémi Verschelde
Fix warnings seen with -Wignored-qualifiers.
2019-02-22Merge pull request #26130 from karroffel/gdnative-dictionary-fixRémi Verschelde
added godot_dictionary_get_with_default to GDNative
2019-02-22Merge pull request #26099 from marxin/fix-Wtype-limits-warningsRémi Verschelde
Fix all -Wtype-limits warnings.
2019-02-21Request to use load when cyclic reference is found, closes #26119Juan Linietsky
2019-02-21Make translatable some undo/redo operations in the editorMichael Alexsander Silva Dias
2019-02-21Fix warnings seen with -Wignored-qualifiers.marxin
2019-02-21added godot_dictionary_get_with_default to GDNativekarroffel
Recently, Dictionary::get() was introduced, which acts like a index operator but allows the caller to specify a default value to return instead of issuing an error. This commit adds a new GDNative function that includes the default value.
2019-02-21Fix all -Wtype-limits warnings.marxin
2019-02-21Merge pull request #26111 from AndreaCatania/areaoptiRémi Verschelde
Optimized area check
2019-02-21Optimized area checkAndrea Catania
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-20Merge pull request #26096 from Faless/net/enet_id_checkRémi Verschelde
Add check to validate client IDs in ENet.
2019-02-20Merge pull request #26090 from aqnuep/ray_shape_fix2Rémi Verschelde
Fix RayShape collision jitter when used with a RigidBody
2019-02-20Add check to validate client IDs in ENet.Fabio Alessandrelli
Server now checks that the ID received from the client is not already used by someone else and is a valid ID (>=2)
2019-02-20Merge pull request #26048 from akien-mga/free-switch-for-everyoneRémi Verschelde
GDScript: Remove unused `switch`, `case` and `do` CF keywords
2019-02-20Fix RayShape collision jitter when used with a RigidBodyDaniel Rakos
Scaling the depth was the wrong solution for the KinematicBody jitter because it causes jitter with RigidBody. Instead scale the margin that is ignored to allow KinematicBody to still pick up the ray shape in the kinematic test when the shape is just at margin distance from another one. This solution does not cause jitter with either KinematicBody or RigidBody.
2019-02-20GDScript: Remove unused `switch`, `case` and `do` CF keywordsRémi Verschelde
They had been reserved for future implementation, but we now have the `match` CF keyword which does the same and more. According to @reduz `do` was even added by mistake when copying from the shader language parser, it was never intended to add support for `do`... `while` loops, as the syntax would be awkward in GDScript, and the added sugar is not worth it. Fixes #25787.
2019-02-20Merge pull request #26072 from Faless/net/mbedtls_1.16Rémi Verschelde
Update mbedtls to 2.16.0 (LTS release) + ubsan hack
2019-02-20Small hack to avoid runtime error when using ubsanFabio Alessandrelli
mbedtls_ssl_read cannot be called with a NULL buffer even if len is 0, as those are passed to memcpy and compilers doesn't like that. Always pass a single byte (still len 0 so nothing is actually copied)
2019-02-19C#: Add 'Singleton' property to singleton wrapper classIgnacio Etcheverry
This property returns an instance of the singleton. The purpose of this is to allow using methods from the base class like 'Connect'. Since all Godot singletons inherit Object, the type of the returned instance is Godot.Object.
2019-02-19Merge pull request #26065 from neikeq/csharp-fix-gd-rangeIgnacio Etcheverry
C#: Make GD.Range return IEnumerable instead of array
2019-02-19C#: Make GD.Range return IEnumerable instead of arrayIgnacio Etcheverry
- Make NodePath and RID sealed classes. - Renamed rand_range to RandRange.