summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
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.
2019-02-19Merge pull request #25890 from neikeq/issue-25818Ignacio Etcheverry
Fix Godot.Reference marshalling from MonoObject* to Variant
2019-02-19Merge pull request #25788 from aqnuep/rayshape_fixRémi Verschelde
Fix RayShape collision when used with a KinematicBody (Bullet Physics)
2019-02-19Fix RayShape collision when used with a KinematicBody (Bullet Physics)Daniel Rakos
- Added code handling non-compound collision to recover_from_penetration_ray() which is now needed due to the optimization avoiding the use of compound collisions when only a single collision shape is used. - Removed arbitrary margin applied in the collision algorithm of RayShapes which causes jittered movement. For lack of a better replacement and for lack of any explanation on why it has been introduced, it's now using the shape's margin property instead which is small enough to not show visible jitter. - Tried to get rid of inconsistent uses of the collision margin. - Removed hack from GodotDeepPenetrationContactResultCallback::addContactPoint for RayShape collision as it's no longer needed as the collision algorithm of RayShapes correctly calculates the contact normal for a while now. Fixes #25227.
2019-02-19Merge pull request #26039 from neikeq/throw_objectdisposedexceptionIgnacio Etcheverry
C#: Throw ObjectDisposedException from disposed wrapper classes
2019-02-19Merge pull request #26038 from neikeq/csharp_rand_funcsIgnacio Etcheverry
C#: Add random functions to GD class
2019-02-19C#: Throw ObjectDisposedException from disposed wrapper classesIgnacio Etcheverry
2019-02-19C#: Add random functions to GD classIgnacio Etcheverry
2019-02-18Fix warnings seen with warnings=all and recent GCC 8.2.marxin
2019-02-19C#: fix Quat.Equals.RomanAkberov
2019-02-18Merge pull request #26014 from AndreaCatania/bugfixRémi Verschelde
Fixed area collision report with concave