Commit graph

8667 commits

Author SHA1 Message Date
Mason Ashbridge
9def31120c Script editor: fixed no key repeat for CTRL+Y 2017-08-24 01:28:08 -04:00
Juan Linietsky
05a6785344 GCC fixes 2017-08-24 00:50:16 -03: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
Andreas Haas
21d53f29f3 Merge pull request #10597 from hpvb/remove-useless-line
Remove an assignment to self
2017-08-23 23:57:16 +02: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
Rémi Verschelde
b4ad899ef6 Merge pull request #10576 from Rubonnek/remove-scroll-changed
Removed EditorHelp::_scroll_changed
2017-08-23 11:46:46 +02:00
Wilson E. Alvarez
433c01b7e5 Removed EditorHelp::_scroll_changed 2017-08-23 03:04:16 -04:00
Rémi Verschelde
582a97fc2c Merge pull request #10575 from henkz1/android_quit_error
fix UnsatisfiedLinkError when quitting on android
2017-08-23 08:11:34 +02: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
1e55899dfe Merge pull request #10570 from groud/fix_ssao_issue
Fix SSAO issue with intel hd**** hardwares
2017-08-23 08:10:06 +02:00
Rémi Verschelde
35e9117521 Merge pull request #10563 from Hinsbart/vs_cancel_select
VisualScriptEditor: Remove Node when canceling PropertySelector.
2017-08-23 08:09:27 +02:00
Rémi Verschelde
916fd47343 Merge pull request #10561 from Paulb23/smooth_scroll_input_override
Stops scrolling when the user issues another command
2017-08-23 08:09:13 +02:00
Rémi Verschelde
5c6be4ddb8 Merge pull request #10559 from akien-mga/workaround-gentoos-delightfully-unique-zlib-api
minizip: Fix compatibility with Gentoo's unique zlib API
2017-08-23 08:08:37 +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
Rémi Verschelde
a700ac7cb0 Merge pull request #10548 from Rubonnek/move-to-initializer-lisst
Moved member variables to initializer list
2017-08-23 08:07:28 +02:00
Rémi Verschelde
1ad68c946e Merge pull request #10542 from karroffel/gdscript-match-index
support enums and nested constants in match statement
2017-08-23 08:05:52 +02:00
Henrik Andersson
16de3835fa fix UnsatisfiedLinkError when quitting 2017-08-23 03:14:51 +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
Gilles Roudiere
591a892c2e fix ssao issue with intel hd**** hardwares 2017-08-23 00:10:37 +02:00
Rémi Verschelde
eb238a04da Merge pull request #10556 from marcelofg55/master
Add missing NULL check for the new show_about() call
2017-08-23 00:07:02 +02:00
Rémi Verschelde
bc3c9a3c2a Merge pull request #10555 from Rubonnek/removed-unnecessary-returns-and-breaks
Removed unnecessary returns and break statements

[ci skip]
2017-08-23 00:06:29 +02: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
Rémi Verschelde
7ed9582889 Merge pull request #10557 from RandomShaper/fix-svg-crash
Fix crashes in SVG loading
2017-08-22 23:58:35 +02:00
Rémi Verschelde
723c4707b6 Merge pull request #10564 from toger5/fix_crash_styleBoxTexture_binding_issue
fixed crash styleBoxTexture binding issue

[ci skip]
2017-08-22 22:25:47 +02:00
toger5
aff293a2fd fixed crash styleBoxTexture binding issue 2017-08-22 22:11:41 +02:00
Andreas Haas
927fb9d793
VisualScriptEditor: Remove Node when canceling PropertySelector. 2017-08-22 21:56:18 +02:00
Daniel J. Ramirez
92c63dc9a7 Ability to set script debugger reason text context. 2017-08-22 14:18:41 -05:00
Paulb23
24c6c097f3 Stops scrolling when the user issues another command 2017-08-22 20:04:19 +01:00
Rémi Verschelde
67e6c1b735 minizip: Fix compatibility with Gentoo's unique zlib API
Fixes #10539 in a diplomatic way (as opposed to telling Gentoo users
to just change their distro or rebuild zlib from upstream...).
2017-08-22 20:11:56 +02:00
Andreas Haas
5d25f6397f
TextEdit: Copy whole line if not having selection.
The functionality was already there but hidden behind a bogus return statement.
Fixes #10485
2017-08-22 20:05:52 +02:00
Pedro J. Estébanez
c2a1f3b814 Add ability to undo auto-indent
Closes #10420.
2017-08-22 19:52:17 +02:00
Pedro J. Estébanez
00c9218b48 Fix crashes in SVG loading
Adding null terminators.
2017-08-22 19:39:13 +02:00
Marcelo Fernandez
1b6c9f7076 Add missing NULL check for the new show_about() call 2017-08-22 14:21:18 -03:00
Wilson E. Alvarez
baa94a3758 Removed unnecessary returns and break statements 2017-08-22 13:01:57 -04:00
Wilson E. Alvarez
298a6934b6 Moved member variables to initializer list 2017-08-22 11:47:50 -04:00
Karroffel
57654d4b95 support enums and nested constants in match statement
The initial version of the pattern matcher in GDScript does not
allow matching on nested identifiers, only one identifiers available
in the current scope.

With the introduction of enums to GDScript that's a huge missing
feature. This commit makes the parser accept indexed constants and
variables to properly support enums.
2017-08-22 17:45:05 +02:00
Juan Linietsky
294e912a84 Fade last cascade in directional shadow, closes #9779 2017-08-22 12:17:20 -03:00
Juan Linietsky
8ad7139631 readded ability to set loop offset in seconds, closes #9630 2017-08-22 11:47:24 -03:00
Juan Linietsky
e54c4028ef Invalid materials or shaders will now interrupt the next chain in materials, closes #9570 2017-08-22 11:23:40 -03:00
Rémi Verschelde
260e33178c Merge pull request #10543 from hpvb/fix-10524
Change order of Null check for ParallaxLayer
2017-08-22 15:26:15 +02:00
Hein-Pieter van Braam
0a14e78a60 Change order of Null check for ParallaxLayer
The change in #10524 subtly changes the behavior of set_motion_scale()
and set_motion_offset() if the ParallaxLayer does not have a parent
node. Previously it would still set the corresponding property, but
after this change the property change would be discarded.

I'm not entirely sure if this actually matters as there doesn't appear
to be any code that picks up this change if the ParallaxLayer gets
re-parented later, but it's better to not change behavior regardless.
2017-08-22 15:13:31 +02:00
Juan Linietsky
8a4e05a440 Merge pull request #10520 from RandomShaper/fix-double-parsing
Fix tokenization of doubles
2017-08-22 10:02:42 -03:00
Rémi Verschelde
19e12424fc Merge pull request #10493 from MednauN/master
Add stretching to `TextureProgress`
2017-08-22 11:37:00 +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
Evgeny Zuev
1a2622d344 Add stretching to TextureProgress
Now `TextureProgress` has `nine_patch_stretch` flag. With this flag enabled,
it's being rendered as 9-path using `stretch_margin_*` properties as texture margins.

Stretching doesn't support `FILL_CLOCKWISE` and `FILL_COUNTER_CLOCKWISE` fill modes.
2017-08-22 13:46:59 +07: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
7f49e2a7a0 Merge pull request #10487 from marcelofg55/curscr_as_default
p_screen param from get_screen_* funcs now default to the current screen
2017-08-22 08:12:04 +02:00