Commit graph

691 commits

Author SHA1 Message Date
Rémi Verschelde
612099e377 Merge pull request #10591 from Rubonnek/possible-null-ptr-dereference
Added/Fixed null pointer checks
2017-08-27 02:10:56 +02:00
Rémi Verschelde
5976e8d7de Merge pull request #10625 from Rubonnek/fixed-leaks
Fixed several memory leaks
2017-08-27 02:10:32 +02:00
Rémi Verschelde
e8345c824e Merge pull request #10657 from Noshyaar/pr-debug
Monitor: add hint, fix certain graph not drawn
2017-08-27 02:10:03 +02:00
Rémi Verschelde
00f0884eac Merge pull request #10665 from Hinsbart/save_update_mode
Editor: Remember update mode.
2017-08-27 02:08:53 +02:00
Rémi Verschelde
3ec9e26cb4 Merge pull request #10669 from hpvb/fix-6118
Add several missing Null checks in _notification
2017-08-27 02:07:41 +02:00
Rémi Verschelde
68fc2146d1 Merge pull request #10670 from neikeq/oh-hello-there
EditorHelp: Fixes desc of vararg methods
2017-08-27 02:07:18 +02:00
Hein-Pieter van Braam
a276320329 Always size project icons to default icon size
I wasn't able to reproduce the issue, but this should fix #10620
2017-08-27 00:27:10 +02:00
Ignacio Etcheverry
4314050ea7 EditorHelp: Fixes desc of vararg methods 2017-08-26 23:15:34 +02:00
Wilson E. Alvarez
7a07895920 Added/Fixed null pointer checks 2017-08-26 16:58:47 -04:00
Hein-Pieter van Braam
9a1d9a41eb Add several missing Null checks in _notification
This fixes #6118
2017-08-26 22:50:15 +02:00
Andreas Haas
b2ec9e108d
Save update mode in project metadata. 2017-08-26 20:43:28 +02:00
Rémi Verschelde
9d7945250e Merge pull request #10649 from akien-mga/code-error-always-show
Code editor: Don't play hide and seek with error label
2017-08-26 18:23:42 +02:00
Rémi Verschelde
2a1a1f05fe Merge pull request #10656 from akien-mga/cleanup-commented-out-code
Cleanup tons of obsolete commented out code
2017-08-26 18:21:08 +02:00
Rémi Verschelde
3c5ce736e6 Node: Add debug info to add_child reparenting check
Use it to remove buggy add_child in EditorAudioBus
2017-08-26 18:14:42 +02:00
Rémi Verschelde
a009ab4580 Merge pull request #10652 from Noshyaar/pr-audio
EditorAudioBus: Rename delete_popup, disable delete for Master
2017-08-26 18:06:30 +02:00
Poommetee Ketson
473695ab47 Monitor: add hint, fix certain graph not drawn
Add a hint that helps user discover monitor graph
Fix last row drawn outside when only one graph is in that row
2017-08-26 23:02:52 +07:00
Rémi Verschelde
565600e844 Cleanup tons of obsolete commented out code
Mostly in EditorNode, dropping some obsolete editor plugins and also a
cleanup of ProjectSettings/EditorSettings.
2017-08-26 17:47:57 +02:00
Poommetee Ketson
03db00e6f6 EditorAudioBus: Rename delete_popup, disable delete for Master
Rename `delete_popup` to `bus_popup`
Rename `_delete_pressed` to `_bus_popup_pressed`
Disable 'Delete Bus' option for Master Bus
2017-08-26 21:42:28 +07:00
Juan Linietsky
dd7145b778 -Split EditorPlugin into EditorPlugin and EditorInterface
-Added EditorInterface to EditorScript
-Added functions to save the scene to EditorInterface
2017-08-26 10:33:07 -03:00
Rémi Verschelde
b92c210b89 Code editor: Don't play hide and seek with error label 2017-08-26 14:43:20 +02:00
Andreas Haas
f634973acb Merge pull request #10647 from Noshyaar/patch-1
ProjectSettings: Fix typo 'an setting' to 'a setting'
2017-08-26 14:27:28 +02:00
Juan Linietsky
fbfed97a1b Changed camera interpolation to work when LMB is pressed and no modifiers are pressed 2017-08-26 09:10:57 -03:00
Poommetee Ketson
e705236ad6 Fix typo 'an setting' to 'a setting' 2017-08-26 17:57:32 +07:00
Juan Linietsky
1894157c9f -Massive clean up to gizmos
-Make sure handles are always visible (on top)
-Fixed instanced scene selection (should work properly now)
-Added interpolated camera
-Customizable gizmo colors in editor settings
2017-08-26 00:47:28 -03:00
Rémi Verschelde
d9e94fa0c3 Fix i18n bug in GridMap string
Regression from 6134d87 causing build issue on clang.
2017-08-25 20:55:33 +02:00
Rémi Verschelde
2879a173e3 DocData: Fix extraneous space in XML tag without enum hint 2017-08-25 20:25:23 +02:00
Rémi Verschelde
f75678a94f Mi18n: erge translations with template 2017-08-25 19:00:03 +02:00
Rémi Verschelde
3034bbf908 i18n: Update template with current source
Additions: 254 msgids.
Deletions: 101 msgids.
2017-08-25 18:59:28 +02:00
Rémi Verschelde
c67984b561 i18n: Sync translations with Weblate 2017-08-25 18:57:11 +02:00
Andreas Haas
6134d8741d Editor: Add some more translatable strings. 2017-08-25 18:49:45 +02:00
Wilson E. Alvarez
1577f41653 Fixed several memory leaks 2017-08-25 08:47:05 -04:00
Rémi Verschelde
490aef9369 Merge pull request #10581 from hpvb/fix-gcc6+
Make cast_to a static member of Object.
2017-08-25 08:37:38 +02:00
Juan Linietsky
a7e8aa4053 Fix bug where not all previews are shown, closes #9895 2017-08-24 23:40:53 -03:00
Hein-Pieter van Braam
cacced7e50 Convert Object::cast_to() to the static version
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.

This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.

It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24 23:08:24 +02:00
Juan Linietsky
36e0a72c77 -Code completion for enumerations
-Disabled GDNative and GDNativeScript so build compiles again
2017-08-24 00:06:56 -03:00
Juan Linietsky
3d1c031871 Changed MethodBind API to request information from methods. It's much claner now.
Also changed PropertyInfo to include informatino about class names.
2017-08-23 19:11:11 -03:00
Hein-Pieter van Braam
3894f20d98 Remove an assignment to self
This line does a = a and has a FIXME line. It seems that reduz can't
think of a reason for it either, so here it goes.
2017-08-23 23:51:37 +02:00
Wilson E. Alvarez
433c01b7e5 Removed EditorHelp::_scroll_changed 2017-08-23 03:04:16 -04:00
Rémi Verschelde
78d9936f8d Merge pull request #10573 from tagcup/gizmo_aabb_scaling_order
Fix the order of transformations for selection bounding box in spatial editor.
2017-08-23 08:10:53 +02:00
Rémi Verschelde
0c3b90ef6b Merge pull request #10558 from RandomShaper/undo-after-auto-indent
Add ability to undo auto-indent
2017-08-23 08:08:23 +02:00
Rémi Verschelde
926890703d Merge pull request #10550 from djrm/pr_color_fixes
Child process connected message is now green.
2017-08-23 08:08:11 +02:00
Ferenc Arn
d9d9571c8c Fix the order of transformations for selection bounding box in spatial editor.
This was broken in #7438 where the ordering of scaling in Basis::scale() was fixed, but this line of code (which relied on the incorrect behavior) wasn't updated correctly.

Fixes #9894.
2017-08-22 20:05:41 -04:00
Rémi Verschelde
172519bec6 Merge pull request #10551 from djrm/pr_editor_fixes
Do not use old styles for tab buttons

[ci skip]
2017-08-23 00:05:27 +02:00
Daniel J. Ramirez
92c63dc9a7 Ability to set script debugger reason text context. 2017-08-22 14:18:41 -05:00
Pedro J. Estébanez
c2a1f3b814 Add ability to undo auto-indent
Closes #10420.
2017-08-22 19:52:17 +02:00
Rémi Verschelde
b759fc47e6 Merge pull request #10538 from groud/fix_useless_separator
Fix unneeded separator in Script Editor's Debug menu
2017-08-22 08:49:11 +02:00
Gilles Roudiere
5ea403c0ce Fix uneeded separator 2017-08-22 08:43:23 +02:00
Rémi Verschelde
c2346b92b2 Merge pull request #10507 from toger5/override_code_them_bg
added setting to override the theme background with editor theme color
2017-08-22 08:14:46 +02:00
Rémi Verschelde
4fc0a2d776 Merge pull request #10519 from toger5/remove_addition_border
Remove addition border
2017-08-22 08:10:15 +02:00
Rémi Verschelde
dd07a15fc6 Merge pull request #10527 from hpvb/fix-10517
Add null check to ScriptEditor get_current_tab_control() call
2017-08-22 08:08:42 +02:00