aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript/os_javascript.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-08-25added finished signals to audio stream players, fixes #9928Juan Linietsky3-0/+20
2017-08-25Removed old fp_adjust code that conflicts with clipped rects, fixes #9925Juan Linietsky1-4/+2
2017-08-25Fixed opaque unshaded materials, they go through the regular opaque render ↵Juan Linietsky2-1/+11
list, closes #9917
2017-08-25Implemented, The Amazing Zylann Hack (tm), fixes #10603Juan Linietsky3-0/+19
2017-08-24Fix bug where not all previews are shown, closes #9895Juan Linietsky1-2/+8
2017-08-24Convert Object::cast_to() to the static versionHein-Pieter van Braam185-1508/+1314
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 Braam1-0/+40
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 Haas1-1/+1
Prevents showing some useless parse errors in the console.
2017-08-25Show proper string with InputEvent.as_text()volzhs2-0/+84
2017-08-24Ignore gprof output filesHein-Pieter van Braam1-0/+3
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 Braam1-0/+4
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 Verschelde1-1/+1
2017-08-24GCC fixesJuan Linietsky1-2/+0
2017-08-24-Code completion for enumerationsJuan Linietsky14-35/+195
-Disabled GDNative and GDNativeScript so build compiles again
2017-08-23Changed MethodBind API to request information from methods. It's much claner ↵Juan Linietsky14-261/+405
now. Also changed PropertyInfo to include informatino about class names.
2017-08-23Remove an assignment to selfHein-Pieter van Braam1-1/+0
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 Alessandrelli1-2/+6
2017-08-23Removed EditorHelp::_scroll_changedWilson E. Alvarez2-14/+0
2017-08-23fix UnsatisfiedLinkError when quittingHenrik Andersson3-3/+3
2017-08-22Fix the order of transformations for selection bounding box in spatial editor.Ferenc Arn1-1/+5
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 Roudiere1-2/+3
2017-08-22fixed crash styleBoxTexture binding issuetoger51-2/+2
2017-08-22VisualScriptEditor: Remove Node when canceling PropertySelector.Andreas Haas2-0/+9
2017-08-22Ability to set script debugger reason text context.Daniel J. Ramirez2-4/+24
2017-08-22Stops scrolling when the user issues another commandPaulb233-2/+21
2017-08-22minizip: Fix compatibility with Gentoo's unique zlib APIRémi Verschelde2-0/+43
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 Haas1-3/+0
The functionality was already there but hidden behind a bogus return statement. Fixes #10485
2017-08-22Add ability to undo auto-indentPedro J. Estébanez1-1/+12
Closes #10420.
2017-08-22Fix crashes in SVG loadingPedro J. Estébanez1-3/+4
Adding null terminators.
2017-08-22Add missing NULL check for the new show_about() callMarcelo Fernandez1-1/+1
2017-08-22Removed unnecessary returns and break statementsWilson E. Alvarez6-8/+4
2017-08-22Moved member variables to initializer listWilson E. Alvarez1-7/+7
2017-08-22support enums and nested constants in match statementKarroffel1-1/+20
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 Linietsky1-1/+4
2017-08-22readded ability to set loop offset in seconds, closes #9630Juan Linietsky3-1/+21
2017-08-22Invalid materials or shaders will now interrupt the next chain in materials, ↵Juan Linietsky1-1/+1
closes #9570
2017-08-22Change order of Null check for ParallaxLayerHein-Pieter van Braam1-4/+4
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-22Add stretching to `TextureProgress`Evgeny Zuev3-65/+243
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-22Fix uneeded separatorGilles Roudiere1-1/+0
2017-08-22Fix Reindhart tonemapping, invalid type in signatureRémi Verschelde1-1/+1
Fixes #10533.
2017-08-21Fixed build for Visual StudioMason Ashbridge1-1/+0
2017-08-21Do not use old styles for tab buttonsDaniel J. Ramirez1-0/+2
2017-08-21Update ISSUE_TEMPLATE.mdJuan Linietsky1-1/+1
2017-08-21Several fixes to subsurface scattering. Closes #9530Juan Linietsky4-71/+89
2017-08-22Add null check to ScriptEditor get_current_tab_control() callHein-Pieter van Braam1-1/+4
This fixes #10517
2017-08-22Add null check to ParallaxLayer get_parent() callsHein-Pieter van Braam1-0/+6
This fixes #10515
2017-08-22Fix build after merge of #10254Rémi Verschelde1-1/+1
2017-08-21Fix tokenization of doublesPedro J. Estébanez1-3/+1
Fixes #9600.
2017-08-21p_screen param from get_screen_* funcs now default to the current screenMarcelo Fernandez12-26/+47
2017-08-21added setting to override the theme background with editor theme colortoger52-2/+8