aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript/api/api.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-05-03i18n: Sync translation templates with current sourceRémi Verschelde47-262/+2188
(cherry picked from commit 056348a8c0ee065cb99e4f33da45525d69d6bcff) Note: Still syncing with the 3.0 code for now to allow updating translations in the 3.0 branch. We'll eventually switch Weblate to use the strings of the 3.1-dev branch once it is stable enough.
2018-05-03i18n: Sync translations with WeblateRémi Verschelde29-1752/+9642
(cherry picked from commit ddbe559c040d30cd145d3c572dbd3bc6c7664310)
2018-05-03Fix for Issue#18457 - Folder name with trailing space on WindowsFelix Yang2-2/+4
2018-05-03Fix for large .pck filesGustav Lund1-3/+3
An error in unix file IO was causing crashes when getting the size of a file larger than max integer size As ftell returns a long the fix is trivial
2018-05-02Fix placeholders position in `LineEdit` when editing inside the Editorrobfram1-1/+0
Editing the `Text` property through the editor causes a wrong placement of the placeholder, as it calls `LineEdit::clear_internal`, which was wrongly reseting the cached placeholder width. Fix #18184.
2018-05-03Check invalid node namevolzhs3-4/+25
2018-05-02WIP Polygon2D weight editingJuan Linietsky8-7/+541
2018-05-02Fix MSVC check when building with monoIgnacio Etcheverry1-2/+2
2018-05-02Fix editor detecting msbuild with a msvc 'tools only' installIgnacio Etcheverry1-0/+2
2018-05-02Fixes locks and groups on 2d editorgroud2-49/+59
2018-05-02remove favorited dirs if original dir deletedJason02143-22/+45
2018-05-01Fix a crash when trying to run Godot debugger on a release build.Brian Richardson1-1/+1
The GDScriptLanguage::enter_function is wrapped in #ifdef DEBUG but the exit_function is not, resulting in a stack underflow error.
2018-05-01Fix Find in Files:Marc Gilleron1-8/+3
- FileAccess was accessed null (remains of GDScript port) - `_current_file` wasn't going up correctly in case a scanned directory had no subdirectories - Paths stored in `_files_to_scan` were not full paths
2018-05-01Adds z-index properties to TileSets.Pieter-Jan Briers4-2/+32
2018-05-01Fix #17019 : overrides with unknown base settingManuel Moos1-4/+3
If at the time of the _GLOBAL_DEF call a setting itself was unknown, the function would always return the supplied default value instead of checking for overrides. This commit changes that, lookup now always happens which correctly takes overrides into account.
2018-05-01Prevent PulseAudio driver to lock its mutex for too longMarcelo Fernandez1-2/+11
2018-05-01Fix enums without class name not opening docs pagePeter Folkins1-0/+12
2018-05-01Revert "Added a more specific error message on export"Rémi Verschelde1-1/+1
This reverts commit 00c689d625d0243577c225612aa86aa6a85274c4. Reason: "Missing template" is just one possible explanation for `err` being != OK here, it does not make sense to hardcode it in the generic error message (and break translations doing so).
2018-05-01Fix Node2D::global_scale's PropertyInfo typeRémi Verschelde1-1/+1
Was missed in #18391.
2018-05-01Adds keywords to autocomplete predictions.Anish1-0/+7
Adds keywords to the autocomplete prediction in GDScript so they are not replaced by irrelevant predictions. Fixes: #5972
2018-04-30Changed Sprite Frame move buttons for iconsSuperwaitsum1-6/+20
2018-04-30Handle missing arg pointer in get_call_error_textGary Oberbrunner1-1/+5
I had a situation coming from godot-python where the caller of Variant::get_call_error_text() passed null for `p_argptrs`. In addition to fixing that in the caller, seems like good practice to defend against that situation in the callee to prevent a crash. So this patch just substitutes some semi-useful text for the source type name and keeps going so the user's actual error gets emitted.
2018-04-30Implement universal translation of touch to mousePedro J. Estébanez18-225/+222
Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*) The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers. Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse. *: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest. On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction. Plus: Improve/fix tracking of current mouse position. ** Summary of changes to settings: ** - `display/window/handheld/emulate_touchscreen` becomes `input/pointing_devices/emulate_touch_from_mouse` - New setting: `input/pointing_devices/emulate_mouse_from_touch`
2018-04-30hide tab changed debug printAlexander Holland1-2/+0
2018-04-30Fix lto builds on clang compilersHein-Pieter van Braam1-2/+2
The --no-lto option only works on GCC compilers. This breaks LTO builds on MacOS and iPhone when building the gdnative wrappers. -fno-lto works on both brands of compilers.
2018-04-30Fix msbuild with a msvc 'tools only' installHein-Pieter van Braam1-1/+1
Taken from https://github.com/Microsoft/vswhere/wiki/Find-MSBuild without '-products *' vswhere does not locate msbuild when installing a tools-only (no IDE) version of the microsoft compilers.
2018-04-30fix API string pathPaul Joannon3-5/+5
2018-04-29Add option to renormalize mipmaps when generating them for normalmaps.Juan Linietsky3-14/+38
Reduces some aliasing.
2018-04-30Make the LineEdit "secret" character customizableHugo Locurcio3-7/+35
2018-04-29Updated icons,Daniel J. Ramirez33-299/+118
Added CSG icons and other action icons [ci-skip]
2018-04-29[DOCS] Clarify look_at and looking_atMel Collins2-3/+7
2018-04-29Added a more specific error message on exportAlexander Holland1-1/+1
2018-04-28Mono: BindingsGenerator enum fixesIgnacio Etcheverry2-93/+117
- Make enums have an unique signature name of int. This means that when generating internal methods, there is no difference between different enums types nor between enums and int. This way enums can re-use internal methods. - Make type resolver fallback to int if a type is not found and it's an enum.
2018-04-28Tweak the property hint ranges of caret blink and line length guidelineHugo Locurcio3-4/+4
This allows for more precise adjustments.
2018-04-28Add poly triangulation order check, ensures faces do not flip on different orderJuan Linietsky1-27/+33
2018-04-28-Changed how operators work, any shape can operate on any otherJuan Linietsky3-131/+105
-Added some break condition for bad poly data to avoid editor freezes
2018-04-28Fix how snapping is applied to 3D polygon editing, make it more friendly.Juan Linietsky2-3/+22
2018-04-28Avoid CSG freeze condition on degeneratesJuan Linietsky1-0/+3
2018-04-28GDNative Unix: fix shared lib loading, dlopen expects leading ./ to ↵Robin Hübner1-0/+6
interpret as relative path.
2018-04-28Do not crash if the polygon is invalidJuan Linietsky1-0/+3
2018-04-28Reduce false positives in interior detection by adding a small offset to ↵Juan Linietsky1-1/+1
raycast, fixes #18476
2018-04-27CSG Support for Godot!Juan Linietsky18-42/+4715
-Missing Icons -Missing freezing option (for baking light and faster load) -Missing a way to export from Godot (GLTF2?) -Probably buggy (may freeze editor, can be worked around easily, but let me know if this happens so it's easier to catch bugs) Happy testing!
2018-04-27Made the Pin button disable when no AnimationPlayer is selected.Michael Alexsander Silva Dias1-0/+1
2018-04-27Fixed deleting an animation marked to autoplay in the editor affecting the ↵Michael Alexsander Silva Dias1-0/+6
creation of one with the same name.
2018-04-27Fix theme editor sample widgetsPedro J. Estébanez1-3/+3
2018-04-27Fix use64 used without being initializedMarcelo Fernandez2-1/+1
2018-04-27Fixed stylebox crashsersoong1-1/+5
2018-04-26Numerous changes to the Animation Editor.Michael Alexsander Silva Dias2-8/+20
2018-04-26Make 'Export PCK/ZIP' work well with EditorExportPluginIgnacio Etcheverry5-5/+23
Add debug flag to the 'Export PCK/ZIP' option Make 'Export PCK/ZIP' notify when the export process begins. This is necessary to receive the 'EditorExportPlugin::_export_begin' callback
2018-04-26Fix _export_begin not being called when exporting to androidIgnacio Etcheverry1-0/+2