Commit graph

10663 commits

Author SHA1 Message Date
Rémi Verschelde ed57f0a0d4 Remove get_default_video_mode definition on OSX/iOS
It had been missed in d09160a8b6 and broke compilation
for those platforms.

Took the opportunity to run clang-format on the code base to fix some corner cases
that went through our static tests/were overlooked recently.
2017-11-09 23:36:08 +01:00
Juan Linietsky 9e6f9742f4 adjust min stop to horizontal velocity 2017-11-09 17:58:32 -03:00
Juan Linietsky 0416ca2fd2 Add slope min stop velocity on 3D physics body, closes #10981 2017-11-09 17:32:50 -03:00
Juan Linietsky 50a9bd4e23
Merge pull request #12713 from AndreaCatania/master
Rewritten kinematic system
2017-11-09 16:08:58 -03:00
Rémi Verschelde 881defa209
Merge pull request #12784 from hpvb/fix-12401
Make sure we don't leak when an opcode is followed by itself
2017-11-09 19:23:28 +01:00
Rémi Verschelde c179db29d9
Merge pull request #12787 from vnen/uwp-vs2017
UWP: Update to build with Windows SDK 10.16229.0
2017-11-09 19:21:37 +01:00
George Marques a3387a9e22
UWP: Update to build with Windows SDK 10.16229.0
- Update the OpenSSL shim to work with the new SDK
- Change the ARM platform detection to work with VS2017
2017-11-09 16:06:44 -02:00
Caleb Richardson a607e6125e Fix crash when converting empty scene to TileSet
Closes #12708.
Cherry-picked from #12732.
2017-11-09 18:39:29 +01:00
Hein-Pieter van Braam 38ae49e574 Make sure we don't leak when an opcode is followed by itself
When compiling with GCC it is now possible for an opcode followed by
itself to never leave the scope it is currently in. This leads to a
situation where the dtor of a scope local variable isn't called which in
turn can lead to a memory leak.

By moving the goto outside of the scope of each opcode we guarantee that
all dtors have been called before the next opcode gets dispatched.

this fixes #12401
2017-11-09 17:57:43 +01:00
Juan Linietsky 5cb1d064bc fixes to initialization order 2017-11-09 13:56:13 -03:00
Rémi Verschelde 2507818f05
Merge pull request #12782 from rraallvv/unified_headers_fix
add missing distutils.version.LooseVersion import
2017-11-09 17:17:35 +01:00
Juan Linietsky d09160a8b6 Make video mode initialization more intuitive, fixes #12022 2017-11-09 13:02:26 -03:00
Rhody Lugo 7957bbf558 add missing distutils.version.LooseVersion import 2017-11-09 11:58:29 -04:00
Rémi Verschelde e4effb4d53
Merge pull request #12746 from rraallvv/unified_headers_fix
unified headers fix (master)
2017-11-09 16:39:10 +01:00
Rémi Verschelde d7add01f2c
Merge pull request #12778 from Chaosus/enableassetstore
Enable asset store for Godot 3.0
2017-11-09 16:37:46 +01:00
Chaosus 423f299530 Enable asset store for godot 3.0 2017-11-09 18:32:40 +03:00
Rémi Verschelde c7cd89c29f
Merge pull request #12780 from karroffel/dictionary-crash
fix dictionary constant access crash
2017-11-09 16:30:07 +01:00
Karroffel e25b6bf8da fix dictionary constant access crash 2017-11-09 16:27:27 +01:00
Rhody Lugo 7664a0feac unified headers fix 2017-11-09 09:46:43 -04:00
Rémi Verschelde 05fc741bdb
Merge pull request #12757 from MateusMP/bugfix/11695
Fixing bad index used in Space2DSW (Fixes #11695)
2017-11-09 11:33:14 +01:00
Rémi Verschelde 5f805de6cb
Merge pull request #12751 from bojidar-bg/11851-invalid-returns-count
Fix "Invalid outputs" error when calling a void method from visual script
2017-11-09 09:55:50 +01:00
Rémi Verschelde 355c8fd968
Merge pull request #12752 from bojidar-bg/10972-recusion-completion
Fix crash when guessing type of variable declared to itself
2017-11-09 09:55:02 +01:00
Rémi Verschelde 7e0e415d46
Merge pull request #12755 from Zylann/fix_tilemap_undo
Fix tilemap undo/redo
2017-11-09 09:48:14 +01:00
Chris Bradfield b87a7df186
Merge pull request #12733 from NathanWarden/document_object
[DOCS] Object
2017-11-08 19:37:12 -08:00
Nathan Warden 09a1d01b74 [DOCS] Object 2017-11-08 22:18:07 -05:00
MateusMP b37e277303 Fixing bad index used in Space2DSW
Fix wrong col_obj access using wrong index variable.
Related with issue #11695
2017-11-08 20:38:49 -02:00
Marc Gilleron 0b7ae364ea Fix tilemap undo/redo 2017-11-08 22:26:19 +01:00
Bojidar Marinov b7fd065f5c
Fix crash when guessing type of variable declared to itself
Fixes #10972
2017-11-08 22:17:08 +02:00
Bojidar Marinov 4045bc1059
Fix "Invalid outputs" error when calling a void method from visual script
Fixes #11851
2017-11-08 21:34:05 +02:00
Rémi Verschelde 5fb359d8b1
Merge pull request #12706 from MillionOstrich/particle-random-velocity
Fix randomisation of initial particle velocity
2017-11-08 16:24:18 +01:00
Rémi Verschelde b5e8cd3c70
Merge pull request #12718 from GodotExplorer/export-editor-theme
Create new theme from the current editor
2017-11-08 16:21:02 +01:00
Rémi Verschelde 77345916c5
Merge pull request #12725 from karroffel/gdnative-api-fixes
[GDNative] even more API fixes
2017-11-08 16:19:05 +01:00
Rémi Verschelde 2cdfef562e
Merge pull request #12744 from AndreaCatania/patch-1
Compile Android with STL enabled by default
2017-11-08 13:25:29 +01:00
AndreaCatania e44408f653 Compile Android with STL enabled by default 2017-11-08 12:51:35 +01:00
Rémi Verschelde 7b26b3b67f
Merge pull request #12731 from mhilbrunner/issue-12584
Ignore files not ending with '.xml' when building doc header
2017-11-08 11:12:53 +01:00
Andreas Haas 30620434e1
Merge pull request #12743 from BastiaanOlij/increase_joystick_maxaxis
Increase joystick axis from 8 to 10
2017-11-08 11:02:24 +01:00
Rémi Verschelde 09abcc719b
Merge pull request #12739 from mhilbrunner/patch-1
[DOCS] OS.get_unique_string(). See #3628.
2017-11-08 10:25:51 +01:00
Rémi Verschelde 1821915eb5
Merge pull request #12735 from mhilbrunner/delete-clearselect
Editor: Update 2D viewport and inspector selection on delete.
2017-11-08 10:08:39 +01:00
Bastiaan Olij 2a230d571d Increase joystick axis from 8 to 10 2017-11-08 19:56:30 +11:00
Rémi Verschelde ec77cccb1d
Merge pull request #12734 from BastiaanOlij/mobilevr_fix_typo
Fix has_gyro and has_grav mixup
2017-11-08 08:57:08 +01:00
Rémi Verschelde 0095d642c7
Merge pull request #11379 from m4nu3lf/feature/no_bias_overrotation
Avoid bias over rotation in contact resolution
2017-11-08 08:19:28 +01:00
Rémi Verschelde 706431b061
Merge pull request #12724 from AndreaCatania/bullet
Bullet: Fix collision exceptions
2017-11-08 08:17:41 +01:00
Max Hilbrunner a897be5a04 [DOCS] OS.get_unique_string(). 2017-11-08 05:18:41 +01:00
mhilbrunner c755b684c9 Editor: Update 2D viewport and inspector selection on delete. Fix #12591. 2017-11-08 03:10:31 +01:00
Bastiaan Olij 2965eb2810 Fix has_gyro and has_grav mixup 2017-11-08 12:09:43 +11:00
Poommetee Ketson d4b19d8d83
Merge pull request #12730 from mhilbrunner/unicode
Use UTF-8 for locale names. Fixes #12462.
2017-11-08 06:35:04 +07:00
Poommetee Ketson 1bf132f53d
Merge pull request #12729 from Chaosus/fixlicensesymbol
Fix invalid license symbol
2017-11-08 06:20:44 +07:00
mhilbrunner 487afde3bb Ignore files not ending with '.xml' when building doc header 2017-11-07 22:57:17 +01:00
mhilbrunner d5b7df8523 Use UTF-8 for locale names. Fixes #12462. 2017-11-07 21:57:43 +01:00
Chaosus af5708e29e Fixed invalid license symbol 2017-11-07 23:01:43 +03:00