summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
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
2019-02-18Fixed area collision report with concaveAndrea Catania
2019-02-18Merge pull request #26007 from marxin/fix-23015-castRémi Verschelde
Make direct casting among Error and godot_error enums (#23015).
2019-02-18Merge pull request #26011 from AndreaCatania/bugfixRémi Verschelde
Added support to scale areas, fixes #23448
2019-02-18Added support to scale areasAndrea Catania
2019-02-18Make direct casting among Error and godot_error enums (#23015).marxin
2019-02-18doc: Sync classref with current sourceRémi Verschelde
2019-02-16Merge pull request #25715 from hpvb/fix-25598Rémi Verschelde
Add a maximum recusion depth to _guess_expression_type
2019-02-15Merge pull request #25917 from neikeq/zzIgnacio Etcheverry
Mono: Get rid of irrelevant error and fix export template build errors
2019-02-15Don't print 'Cannot find Mono in the registry' if bundled with GodotIgnacio Etcheverry
Closes #24753
2019-02-15Mono: Fix export template build errorsIgnacio Etcheverry
Fixes #25903
2019-02-14Fix Godot.Reference marshalling from MonoObject* to VariantIgnacio Etcheverry
Need to cast Ref<T> to Variant instead of constructing Variant from Object*, otherwise the Variant won't hold a reference.
2019-02-14Merge pull request #25866 from neikeq/issue-25121Rémi Verschelde
Fix exported property values being lost if base GDScript fails to parse
2019-02-14Fix exported property values being lost if base GDScript fails to parseIgnacio Etcheverry
2019-02-13Fix typos with codespellRémi Verschelde
Using codespell 1.14.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang doubleclick lod nd numer que te unselect EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-02-13Merge pull request #25821 from akien-mga/sync-class-and-filenamesRémi Verschelde
Ensure classes match their header filename
2019-02-12[Mono] Fix Transform2D rotation and scaleAaron Franke
2019-02-12Fix copyright year in VideoStreamGDNativeRémi Verschelde
2019-02-12Modules: Ensure classes match their header filenameRémi Verschelde
Renamed: - `modules/mono/mono_gd/gd_mono_class_member.h` -> `i_mono_class_member.h` - `modules/upnp/upnpdevice.h` -> `upnp_device.h` - `modules/websocket/websocket_multiplayer.h` -> `websocket_multiplayer_peer.h`
2019-02-12Scene: Ensure classes match their header filenameRémi Verschelde
Also drop some unused files. Renamed: - `scene/2d/navigation2d.h` -> `navigation_2d.h` - `scene/2d/screen_button.h` -> `touch_screen_button.h` - `scene/3d/scenario_fx.h` -> `world_environment.h` - `scene/audio/audio_player.h` -> `audio_stream_player.h` - `scene/resources/bit_mask.h` -> `bit_map.h` - `scene/resources/color_ramp.h` -> `gradient.h` - `scene/resources/shape_line_2d.h` -> `line_shape_2d.h` - `scene/resources/scene_format_text.h` -> `resource_format_text.h` - `scene/resources/sky_box.h` -> `sky.h` Dropped: - `scene/resources/bounds.h`
2019-02-12Merge pull request #25721 from neikeq/wwRémi Verschelde
Use script instance binding for objects constructed from C#
2019-02-12Drivers, main, servers: Ensure classes match their header filenameRémi Verschelde
Renamed: - `drivers/alsamidi/alsa_midi.h` -> `midi_driver_alsamidi.h` (same for `coremidi` and `winmidi`) - `main/timer_sync.h` -> `main_timer_sync.h` - `servers/visual/visual_server_global.h` -> `visual_server_globals.h`
2019-02-12Core: Ensure classes match their header filenameRémi Verschelde
Also drop some unused files. Renamed: - `core/dvector.h` -> `pool_vector.h` - `core/io/resource_import.h` -> `resource_importer.h` - `core/sort.h` -> `sort_array.h` - `core/string_db.h` -> `string_name.h` Dropped: - `core/allocators.h` - `core/os/shell.h` - `core/variant_construct_string.cpp`
2019-02-12Merge pull request #25481 from hpvb/fix-ubsan-asan-reportsRémi Verschelde
Fix many asan and ubsan reported issues
2019-02-12Merge pull request #25550 from DualMatrix/fix-25357Rémi Verschelde
Fixed Null appearing inside export variables with type hints and no default value
2019-02-12Merge pull request #25783 from Xrayez/csg-shapes-visibilityRémi Verschelde
Fix CSGShape not updating on changing visibility
2019-02-11Use "origin" instead of "o" in Transform2D.RotationCarter Anderson
2019-02-11Merge pull request #25724 from aaronfranke/mono-transformIgnacio Etcheverry
[Mono] Fix Transform2D origin
2019-02-11Merge pull request #25803 from neikeq/yyIgnacio Etcheverry
Windows: Default to system MSBuild and add VSCode hint path
2019-02-11Add VSCode hint path for WindowsIgnacio Etcheverry