summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-24Convert Object::cast_to() to the static versionHein-Pieter van Braam
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-24Add a static version of Object::cast_to()Hein-Pieter van Braam
This is to prepare to replace all instances of the member version of cast_to().
2017-08-24GDScript: More reliable check if loading a template.Andreas Haas
Prevents showing some useless parse errors in the console.
2017-08-24Merge pull request #10610 from hpvb/ignore-gprof-filesRémi Verschelde
Ignore gprof output files [ci skip]
2017-08-24Merge pull request #10609 from hpvb/ignore-eclipse-cdt-project-filesRémi Verschelde
Ignore Eclipse CDT project files [ci skip]
2017-08-24Merge pull request #10613 from volzhs/fix-as_textJuan Linietsky
Show proper string with InputEvent.as_text()
2017-08-25Show proper string with InputEvent.as_text()volzhs
2017-08-24Ignore gprof output filesHein-Pieter van Braam
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-24Ignore Eclipse CDT project filesHein-Pieter van Braam
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-24Fix mismatched signatures for GDScriptLanguage::complete_codeRémi Verschelde
2017-08-24Merge pull request #10585 from Faless/osxcross_fatRémi Verschelde
Allow building fat binaries with osxcross [ci skip]
2017-08-24GCC fixesJuan Linietsky
2017-08-24-Code completion for enumerationsJuan Linietsky
-Disabled GDNative and GDNativeScript so build compiles again
2017-08-23Changed MethodBind API to request information from methods. It's much claner ↵Juan Linietsky
now. Also changed PropertyInfo to include informatino about class names.
2017-08-23Merge pull request #10597 from hpvb/remove-useless-lineAndreas Haas
Remove an assignment to self
2017-08-23Remove an assignment to selfHein-Pieter van Braam
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-23Allow building fat binaries with osxcrossFabio Alessandrelli
2017-08-23Merge pull request #10576 from Rubonnek/remove-scroll-changedRémi Verschelde
Removed EditorHelp::_scroll_changed
2017-08-23Removed EditorHelp::_scroll_changedWilson E. Alvarez
2017-08-23Merge pull request #10575 from henkz1/android_quit_errorRémi Verschelde
fix UnsatisfiedLinkError when quitting on android
2017-08-23Merge pull request #10573 from tagcup/gizmo_aabb_scaling_orderRémi Verschelde
Fix the order of transformations for selection bounding box in spatial editor.
2017-08-23Merge pull request #10570 from groud/fix_ssao_issueRémi Verschelde
Fix SSAO issue with intel hd**** hardwares
2017-08-23Merge pull request #10563 from Hinsbart/vs_cancel_selectRémi Verschelde
VisualScriptEditor: Remove Node when canceling PropertySelector.
2017-08-23Merge pull request #10561 from Paulb23/smooth_scroll_input_overrideRémi Verschelde
Stops scrolling when the user issues another command
2017-08-23Merge pull request #10559 from ↵Rémi Verschelde
akien-mga/workaround-gentoos-delightfully-unique-zlib-api minizip: Fix compatibility with Gentoo's unique zlib API
2017-08-23Merge pull request #10558 from RandomShaper/undo-after-auto-indentRémi Verschelde
Add ability to undo auto-indent
2017-08-23Merge pull request #10550 from djrm/pr_color_fixesRémi Verschelde
Child process connected message is now green.
2017-08-23Merge pull request #10548 from Rubonnek/move-to-initializer-lisstRémi Verschelde
Moved member variables to initializer list
2017-08-23Merge pull request #10542 from karroffel/gdscript-match-indexRémi Verschelde
support enums and nested constants in match statement
2017-08-23fix UnsatisfiedLinkError when quittingHenrik Andersson
2017-08-22Fix the order of transformations for selection bounding box in spatial editor.Ferenc Arn
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-23fix ssao issue with intel hd**** hardwaresGilles Roudiere
2017-08-23Merge pull request #10556 from marcelofg55/masterRémi Verschelde
Add missing NULL check for the new show_about() call
2017-08-23Merge pull request #10555 from Rubonnek/removed-unnecessary-returns-and-breaksRémi Verschelde
Removed unnecessary returns and break statements [ci skip]
2017-08-23Merge pull request #10551 from djrm/pr_editor_fixesRémi Verschelde
Do not use old styles for tab buttons [ci skip]
2017-08-22Merge pull request #10557 from RandomShaper/fix-svg-crashRémi Verschelde
Fix crashes in SVG loading
2017-08-22Merge pull request #10564 from toger5/fix_crash_styleBoxTexture_binding_issueRémi Verschelde
fixed crash styleBoxTexture binding issue [ci skip]
2017-08-22fixed crash styleBoxTexture binding issuetoger5
2017-08-22VisualScriptEditor: Remove Node when canceling PropertySelector.Andreas Haas
2017-08-22Ability to set script debugger reason text context.Daniel J. Ramirez
2017-08-22Stops scrolling when the user issues another commandPaulb23
2017-08-22minizip: Fix compatibility with Gentoo's unique zlib APIRémi Verschelde
Fixes #10539 in a diplomatic way (as opposed to telling Gentoo users to just change their distro or rebuild zlib from upstream...).
2017-08-22TextEdit: Copy whole line if not having selection.Andreas Haas
The functionality was already there but hidden behind a bogus return statement. Fixes #10485
2017-08-22Add ability to undo auto-indentPedro J. Estébanez
Closes #10420.
2017-08-22Fix crashes in SVG loadingPedro J. Estébanez
Adding null terminators.
2017-08-22Add missing NULL check for the new show_about() callMarcelo Fernandez
2017-08-22Removed unnecessary returns and break statementsWilson E. Alvarez
2017-08-22Moved member variables to initializer listWilson E. Alvarez
2017-08-22support enums and nested constants in match statementKarroffel
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-22Fade last cascade in directional shadow, closes #9779Juan Linietsky