aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript/api/api.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-08Fix #18058 regressionChaosus1-1/+6
2018-04-07Removed strange custom world2d in CanvasLayer, been there since always and ↵Juan Linietsky4-27/+30
not sure why. Fixes #17524, fixes #17523.
2018-04-07Allows to map an action to all devices.Nibodhika4-19/+47
This is accomplished by setting a special value (-1) to the device variable in the InputEvent that's being used to compare with the one received from the OS. This special value is invalid for a regular input, so it should be safe. Implements #17942
2018-04-07Document condition to avoid mistakes (like #17690)Juan Linietsky1-0/+6
2018-04-07Improve popup menus usabilityPedro J. Estébanez8-33/+63
It seems that popups were intended to "grab" the mouse click that triggered them, but their intent was being lost. This commit does the necessary changes to let it happen and updates items that were trying to get advantage of it, because the semantics of `Control::grab_click_focus()` have changed a bit. Namely, it must be called **before** showing the modal. This allows to popup a menu and activate an item in it in a single click-point-release cycle, instead of having to click once to open the menu and once more to pick an item. This ability is extended even to context menus activated with the RMB (or any other mouse button, for that matter). The editor benefits from this in the context menu of the tree dock, which has been patched to opt-in for this feature. This improves UX a bit by saving unnecessary clicks. From now on, `PopupMenu` always grabs the click and also invalidates the first button release unless the mouse has moved (that's what `set_invalidate_click_until_motion()` was doing and now it's removed), so there is no longer the need of doing both things at every point a pop-up menu is shown.
2018-04-07Correct profiling_frame naming in pluginscriptEmmanuel Leblond1-1/+1
2018-04-06Fix skeleton import from glTFPedro J. Estébanez1-5/+10
For some glTF files, the order of bones in the skeleton array wasn't matching the joints array in the meshes. Fixes #17808.
2018-04-06Update AUTHORS and DONORS listRémi Verschelde2-14/+33
New contributor added to AUTHORS: @robfram Thanks to all contributors and donors! :) [ci skip]
2018-04-06Fix Pluginscript add_global_constant mandatory value checkEmmanuel Leblond1-1/+1
2018-04-06Fixed signal input variable nameAndrea Catania1-1/+1
2018-04-06Fixed physics server area cleaningAndrea Catania3-8/+8
2018-04-06[NativeScript] replace error macros by simple returnskarroffel1-4/+2
2018-04-05Fix buggy percent-encodingPedro J. Estébanez1-4/+4
Fixes #17875.
2018-04-05Remove size restriction for mouse cursorGuilherme Felipe3-15/+12
2018-04-05Fix segfault on x11n4nn313551-1/+1
2018-04-05[NativeScript] added global type tag systemkarroffel5-24/+64
2018-04-04Renamed GDSyntaxHighlighter to GDScriptSyntaxHighlighterPaulb233-8/+8
2018-04-04Explicitly print an error when --export fails.Pieter-Jan Briers1-5/+9
Previously this would not explicitly say the export failed. Sure you might see another error somewhere, but that's not very reliable/obvious.
2018-04-04Update transform buttons in tile editor while using T, A, S shortcuts (fixes ↵Alexander Alekseev1-0/+3
#17962)
2018-04-04[GDNative] enable saving GDNativeLibrary as sub resourcekarroffel2-3/+96
2018-04-04[GDNative] easier GDNativeLib handlingkarroffel2-67/+77
2018-04-04Corrected physics query max result checkingAndrea Catania1-3/+10
2018-04-04Fixed kinematic sliding on trimeshAndrea Catania3-11/+5
2018-04-04Add functionality to move selected tiles in tile map editorMartin Rieke2-2/+55
This change adds a new entry "Move Selection" to the "Tile Map" menu in the tile map editor. It allows the user to easily move as set of selected tiles.
2018-04-03Ctrl+Clicking a enum now scrolls down to it in the docs.Felix Yang7-12/+75
2018-04-03Fix Collada material roughness import function 4Dmitriy Romanov1-1/+1
Made import conversion linear.
2018-04-03Websocket client SSL supportFabio Alessandrelli3-1/+39
2018-04-03Generalize SSL cert reading from fileFabio Alessandrelli4-23/+35
2018-04-03MbedTLS PR 1453 (fix UWP build)Fabio Alessandrelli4-9/+173
The patch seems to be ready for merge upstream
2018-04-03Small patch to change mbedtls _WIN32_WINNTFabio Alessandrelli2-2/+7
2018-04-03Update mbedTLS to version 2.8.0Fabio Alessandrelli44-391/+853
2018-04-03Always verify peer certificate in lws.Fabio Alessandrelli4-10/+109
Behavior is defined by SSL flags passed via the context. Simplified port of the patch submitted and accepted in lws master branch (PR 1215)
2018-04-03mbedtls: client: stop spinning on handshake failFabio Alessandrelli1-2/+6
Backport cf3a4ee49357f4e6f3aaeb98137d85c307b17008 from 2.4-stable to 2.4.2
2018-04-03Fix lws MinGW compilationFabio Alessandrelli1-5/+1
Cherry picked 5b22276420032677841af9e9f3b0272d0dd467b8 from upstream. This is fixed upstream and will be included in the next release
2018-04-03Bump libwebsockets to version 2.4.2Fabio Alessandrelli18-66/+143
2018-04-03fix bone scale/rotation in AnimationPlayerskarroffel2-2/+2
fixes #17325. The bone pose transform was created by setting the rotation and **then** scaling the transform. This leads to object "deformation" that's not intended.
2018-04-03[DOCS] Tweaks and fixes for (Interpolated)CameraMel Collins2-14/+14
2018-04-03Trigger IO error only after exhausting attemptsTom Dobbelaere1-4/+7
2018-04-03[mono] Fixes #17936 as GodotSharp (Core\Basic.cs) requires C#7 now, but we ↵Alexander Alekseev1-6/+6
most probably should keep C#6 yet
2018-04-02Removed unneeded sort from SpriteFramesEditor pluginWilson E. Alvarez1-2/+0
2018-04-02Comment out some debugging messages when playing Theora filesWilson E. Alvarez1-8/+12
2018-04-02Abstracted the syntax highlighter from text editPaulb2311-272/+828
2018-04-02Fix of a possible memory leak: ConcavePolygonShapeBullet::setup was able to ↵Alexander Alekseev1-2/+2
exit without releasing the 'shapeInterface' pointer.
2018-04-01Added signal to VideoPlayer to notify when the video finished playingWilson E. Alvarez1-6/+9
2018-04-01add tint for under, progress and over and tint groupbosak2-30/+63
2018-04-01Mesh: fix crash when creating mesh outline from QuadMeshPoommetee Ketson2-0/+6
Since create_outline can only make outline for PRIMITIVE_TRIANGLES, when QuadMesh (which is PRIMITIVE_TRIANGLE_FAN) is used to create outline, will leave `arrays` empty, and crash when it is being indexed for "indices" subarray. This PR shows error when there's only one surface and it is not TRIANGLES. Also prevent the crash if it has more than one surface and none of them are TRIANGLES (and any other cases that could leave `arrays` empty) by checking the size of `arrays` == 8 before indexing it, since the method seems to expect `arrays` to be of that size.
2018-04-01physics area added monitorable checkAndrea Catania1-1/+4
2018-03-31Fix Collada material roughness import function 3Dmitriy Romanov1-1/+1
Improved readability and further tweaking of function
2018-03-31Fix UpdatePowerInfo method implementation in PowerIphone classIgors Vaitkus1-1/+1
2018-03-31[GDNative] fixed issue with library unloading orderkarroffel1-13/+25