aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript/power_javascript.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-05-13added custom aabb to primitivesBastiaan Olij2-0/+20
(cherry picked from commit 1ee40206d49736d57d97c37f738c961ab0bda28c)
2018-05-13hide tab changed debug printAlexander Holland1-2/+0
(cherry picked from commit 31f28885f93aeff6db45fcf6dab147cddaab509f)
2018-05-13Fix:code editor text size should change at least one each time, don't mind ↵RaphaelHunter1-2/+2
how you setting your display scale (cherry picked from commit eeb05344267580a25bc59d3c363537ade363f82e)
2018-05-13Small changes for some strings.Michael Alexsander Silva Dias2-55/+3
(cherry picked from commit 5b0ddb1354e211a6a6ef0ddfe27c0f47d69406b3)
2018-05-13Tweak the property hint ranges of caret blink and line length guidelineHugo Locurcio3-4/+4
This allows for more precise adjustments. (cherry picked from commit 0eb2f6c2235ba13409c169225321cd5eafd6ad5b)
2018-05-13Adds 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 (cherry picked from commit 6e32157a65b208ba223c8e75c5e7a842d1684314)
2018-05-13LinkButtons are now responsive to engine themeUnknown1-0/+4
Fixes #18636, so now LinkButtons (like those in the asset store) will change font colour to remain visible in any engine theme, just like Labels etc (cherry picked from commit c364a1278e1e499f40dccadbd78b76bbe6e44604)
2018-05-13Implement pull/18665 for 3.0Hein-Pieter van Braam1-2/+8
Windows detect.py: Detect missing WindowsSdkDir
2018-05-13Bump version to 3.0.3rc2Hein-Pieter van Braam1-1/+1
2018-05-13Fix 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. (cherry picked from commit c17de1f70fcba19f2afdfe49d194b9b175791ea8)
2018-05-13Fix keyboard focus lock-out with HTML5 canvas in iframeLeon Krause3-6/+10
(cherry picked from commit 9080e96bc81328e658a03e2cd248c06ddbf9f2ec)
2018-05-13Consider TextEdit paste operation complex.Charly Mourglia1-0/+3
Not considering a paste operation as a complex one ends up adding an unneeded extra step when pasting over a selection. This fixes issue #18325 (cherry picked from commit b09e0454bb4049c2cf92b92a7194d9c016fbb736)
2018-05-13Fix 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. (cherry picked from commit 9149b119733aa9444a59c6940e7d8b875dfc31e8)
2018-05-13fix clang6 assignment errorthfrwn1-2/+2
(cherry picked from commit f48ff4dc64ac05900eb3e7a5c10b9c9d2f5e4bad)
2018-05-13fix for segfault when using CallBasic in visual script on release buildIbrahn Sahir1-1/+1
(cherry picked from commit 95dfa5b96d85d4cb02e70d70f0808101249abc54)
2018-05-13Particles: fix corrupted scene when saved after convert (2nd try)Poommetee Ketson2-21/+6
(cherry picked from commit 38865345d9d26ae679795e1afdac43a072c1b463)
2018-05-13Fix AnimationPlayer edited scene bugPeter Folkins1-1/+0
(cherry picked from commit 223f08585775ad09f7196ee408eaa0d8bef992a8)
2018-05-13Fix enums without class name not opening docs pagePeter Folkins1-0/+12
(cherry picked from commit ccd986f53e468321b9eeb09474c77cfab2c988da)
2018-05-13Fix for Issue#18457 - Folder name with trailing space on WindowsFelix Yang2-2/+4
(cherry picked from commit 164dceab283e638ebcd4912d3b3df33d5c630883)
2018-05-13Fix editor detecting msbuild with a msvc 'tools only' installIgnacio Etcheverry1-0/+2
(cherry picked from commit 93d13bee8bef4bc010ab32bbf6209dc8754db437)
2018-05-13Fix MSVC check when building with monoIgnacio Etcheverry1-2/+2
(cherry picked from commit a1aa98e05ad0ce1ba877ba77e187bc7ebc4f819a)
2018-05-13add condition check in Imgae::create(...)RaphaelHunter1-0/+3
(cherry picked from commit 63e258cc8fa653a66b6020d091abce3fad8e9db7)
2018-05-13For uwp the ARM architecture needs to be in lower caseHein-Pieter van Braam1-2/+2
(cherry picked from commit 07f590046ad1ac96098989f8c266bfa0cc414f18)
2018-05-13Fix double free for drag preview control in viewportGeequlim1-3/+1
(cherry picked from commit 56c2463f8c1240fcf2376b7979991cbce3a3f1d3)
2018-05-13Fix Variant leak in call_nativePedro J. Estébanez1-1/+3
(cherry picked from commit 474eda9e30cd86ff93ebf317df2e904b770a8851)
2018-05-13Disable 'run' button if any project not selected and tiny refactoringDmitryKrutskikh1-3/+5
(cherry picked from commit 965b6ac2736dd7bac8686cd447f0e9430e020349)
2018-05-13Fix relative mouse motion when captured in HTML5 platformLeon Krause1-1/+1
(cherry picked from commit d78b10313b78e56a65ef4fdfeef6d85ae8ad5311)
2018-05-13Fix custom cursor disappearing on osxGuilherme Felipe1-5/+8
(cherry picked from commit 48f9e6a05b928bdd9085827c4f6b341f960be75e)
2018-05-13Use mimetype according to glTF spec.Yaakuro1-1/+1
(cherry picked from commit 9a50a4442da3fa9fcdb798f017b396ce73dadf32)
2018-05-13Proper focus in/out handling on iOSRuslan Mustakov1-12/+9
PR #18675 (commit 96301e9) revealed a problem with how iOS lifecycle callbacks were handled by Godot. Before that PR it was possible to get NOTIFICATION_WM_FOCUS_IN callback without getting the corresponding NOTIFICATION_WM_FOCUS_OUT. That commit added a flag to ensure they are always coupled, but now there is an issue when, for example, you open a notification panel on iOS without moving the app to background. It resulted in view.stopAnimation being called without the corresponding startAnimation when the app moves to foreground again, so it looked like the game hanged. I changed focus out notification to be sent in applicationWillResignActive, because it makes more sense than to do it in applicationDidEnterBackground, because it is always called in pair with applicationDidBecomeActive, where focus in is sent. applicationDidEnterBackground may not come under circumstances that are now described as a comment in code. (cherry picked from commit 08a924bcee3b4d128ddcf261a8c2fc915db486fc)
2018-05-13Resume audio on iOS after phone call or alarmRuslan Mustakov4-22/+72
When a phone call or an alarm triggers on iOS, the application receives an "audio interruption" and it's up to the application to resume playback when the interruption ends. I added handling for audio interruptions same as if the game is focused out and then back in. (cherry picked from commit 96301e934d7600975922c5f373a488a532d77aad)
2018-05-13Fix Linux/X11 build on ARMs.bruvzg2-4/+3
(cherry picked from commit ce64c2a32e0f1db8f0f75e1091a24d01fd669044)
2018-05-13Use fake audio playing property in editorShyRed6-3/+44
It appears that some time ago users were supposed to be able to include the playback of sound effects in their animations by placing keys on the "playing" property. Back then the key frame editor took the value of the checkbox in the property_editor. Somewhere / Sometime this behaviour changed and the key frame editor is now reading the actual value from the object instead of relying on the property editor. This commit introduces a fake active field that is returned when reading the playing property in the editor. While the actual active flag is changed when playback is finished the fake one will stay the same thus allowing the user to take their time with setting the key in the animation editor. (cherry picked from commit bc1522e26865c9b84159ff4b4bcde7896fd73496)
2018-05-08Android: Increase targetSdkVersion to 27Rémi Verschelde1-1/+1
Matches the change for 2.1 in #18626, and the new requirements from Google for new apps starting with August 2018 (targetSdkVersion 26 or higher): https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html (cherry picked from commit a6552819b1d357c0ee1afdbec7485afafa544793)
2018-05-08Fix 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 (cherry picked from commit 8a7840a304818aa4a15c8781f1402e7ed8733a36)
2018-05-08Rewrite Tween class reference.Chris Bradfield1-54/+57
(cherry picked from commit d7218c742cef965e92b8eeb7e38436e73183eae6)
2018-05-08correct documentation for version number data typeKelly Thomas1-3/+3
(cherry picked from commit 28eb97c8ab9f8b3b44f54af5ff1c8bb22e6bc30e)
2018-05-08[DOCS] Clarify look_at and looking_atMel Collins2-3/+7
(cherry picked from commit b431264f773f250a580d6c61fa7858fca3833bf0)
2018-05-08Fix: JAR files signed with the MD5 algorithm as unsignedRameshRavone1-2/+2
(cherry picked from commit d3182248c4ab29ab20decabe17066018298a8073)
2018-05-04Update AUTHORS and DONORS listRémi Verschelde2-16/+29
New contributor added to AUTHORS: @mysticfall Thanks to all contributors and donors for making Godot possible! [ci skip] (cherry picked from commit bd54ff78d995f84ce1684b85ac8137130fa1e57a)
2018-05-03i18n: Sync translation templates with current sourceRémi Verschelde47-262/+2188
2018-05-03i18n: Sync translations with WeblateRémi Verschelde29-1752/+9642
2018-05-01Bump to 3.0.3-rc1Your Name1-1/+1
2018-05-01GDNative Unix: fix shared lib loading, dlopen expects leading ./ to ↵Robin Hübner1-0/+6
interpret as relative path. (cherry picked from commit 828744195526e44a30d07c232db25066cf0fc984)
2018-05-01Prevent PulseAudio driver to lock its mutex for too longMarcelo Fernandez1-2/+11
(cherry picked from commit cf4371a0ad7c6dd92a7913504637d48a320baccc)
2018-05-01Fixed high cpu usage with PulseAudioMarcelo Fernandez1-1/+5
(cherry picked from commit 11078101db321ba94334d349caf3ff4778f4c18e)
2018-05-01PCKPacker:pck_start(): Update versionMax Hilbrunner1-4/+4
(cherry picked from commit a3aa5ad0d036e9824ec87bd747277c6e7779ce33)
2018-04-30Implement universal translation of touch to mousePedro J. Estébanez16-214/+210
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.
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. (cherry picked from commit 0ec912a79e867dbd4beff9c19c393dce87d9a419)
2018-04-30Fix lto builds on clang compilersHein-Pieter van Braam1-2/+2
This needs to go to master also