Commit graph

8739 commits

Author SHA1 Message Date
Andreas Haas 6134d8741d Editor: Add some more translatable strings. 2017-08-25 18:49:45 +02:00
Juan Linietsky a1c03a69d2 added finished signals to audio stream players, fixes #9928 2017-08-25 11:58:21 -03:00
Juan Linietsky 3061eca190 Removed old fp_adjust code that conflicts with clipped rects, fixes #9925 2017-08-25 10:40:29 -03:00
Juan Linietsky 90445aae67 Fixed opaque unshaded materials, they go through the regular opaque render list, closes #9917 2017-08-25 09:56:10 -03: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 b1c0e45b03 Implemented, The Amazing Zylann Hack (tm), fixes #10603 2017-08-25 00:34:32 -03: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
Hein-Pieter van Braam 4aa2c18cb4 Add a static version of Object::cast_to()
This is to prepare to replace all instances of the member version of
cast_to().
2017-08-24 23:08:24 +02:00
Andreas Haas f61e8695c9
GDScript: More reliable check if loading a template.
Prevents showing some useless parse errors in the console.
2017-08-24 22:08:23 +02:00
Rémi Verschelde a518ed105c Merge pull request #10610 from hpvb/ignore-gprof-files
Ignore gprof output files

[ci skip]
2017-08-24 19:27:44 +02:00
Rémi Verschelde d73e88215a Merge pull request #10609 from hpvb/ignore-eclipse-cdt-project-files
Ignore Eclipse CDT project files

[ci skip]
2017-08-24 19:27:00 +02:00
Juan Linietsky 76cd809550 Merge pull request #10613 from volzhs/fix-as_text
Show proper string with InputEvent.as_text()
2017-08-24 13:20:20 -03:00
volzhs 62bb600b5c Show proper string with InputEvent.as_text() 2017-08-25 01:14:36 +09:00
Hein-Pieter van Braam aa91640c7e Ignore gprof output files
When building a profile build it is easy to accidentally create gmon.out
files all over the place. Ignore these so they won't get accidentally
pushed.
2017-08-24 17:38:17 +02:00
Hein-Pieter van Braam 90ab7162e7 Ignore Eclipse CDT project files
Since we have explicit .gitignore rules for QT creator and several other
editor-specific swap/utility files I'd like to add Eclipse CDT projects
also as this is my editor of choice.
2017-08-24 17:34:54 +02:00
Rémi Verschelde 3ea0943f64 Fix mismatched signatures for GDScriptLanguage::complete_code 2017-08-24 12:44:51 +02:00
Rémi Verschelde 90c7ee38c6 Merge pull request #10585 from Faless/osxcross_fat
Allow building fat binaries with osxcross

[ci skip]
2017-08-24 09:24:26 +02:00
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
Mason Ashbridge 3757cec8f3 Fix shader function calls being assignable 2017-08-23 14:55:03 -04:00
Fabio Alessandrelli d7f08ead4e Allow building fat binaries with osxcross 2017-08-23 15:44:22 +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
Quinn Schwab 7c802837a3 add SceneTree method to get ID of rpc calling peer 2017-08-23 18:43:25 +10: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