Commit Graph

10811 Commits

Author SHA1 Message Date
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
AndreaCatania 5f110c5b98 Fixed collision exception - #12681 2017-11-07 19:07:01 +01:00
Karroffel a2e09a5d41 [GDNative] even more API fixes 2017-11-07 18:17:11 +01:00
AndreaCatania 10f879bf88 Rewritten kinematic system 2017-11-07 15:22:09 +01:00
Geequlim 0781649456 Add menu to import current editor theme into theme editor 2017-11-07 13:32:04 +08:00
Juan Linietsky b279f641c0 Remove performance warnings, closes #11585 2017-11-06 21:53:15 -03:00
MillionOstrich eaa8c461c3 Fix randomisation of initial particle velocity 2017-11-06 16:39:10 +00:00
Rémi Verschelde 9437db7bc5
Merge pull request #12604 from rraallvv/unified_headers
add support for Android NDK unified headers (master)
2017-11-06 16:07:00 +01:00
Rémi Verschelde faf21d895e
Merge pull request #12684 from mrcdk/atlastextures_fix
Added filter_clip to AtlasTexture
2017-11-06 13:36:33 +01:00