Commit graph

25195 commits

Author SHA1 Message Date
Yuri Roubinsky
8674655a45 Fix build warning in ustring.cpp on Windows/MSVC platform 2019-12-18 17:40:51 +03:00
Rémi Verschelde
d1bce5c679
Merge pull request #34417 from volzhs/profiler-calls-right-align
Make right align for calls number in Profiler
2019-12-18 08:43:27 +01:00
Rémi Verschelde
45ff16ad24
Merge pull request #34418 from timothyqiu/docs
Updates docs of AABB and Plane
2019-12-18 08:43:07 +01:00
Rémi Verschelde
3d6f991a17 Revert "Allow tab key to be used for shortcuts"
This reverts commit cafb888361.

Fixes #34405.
Reopens #8799, #24064.
2019-12-18 08:30:39 +01:00
volzhs
7dff2a9167 Make right align for calls number in Profiler 2019-12-18 16:16:22 +09:00
Haoyu Qiu
a58deee648 Updates docs of AABB and Plane 2019-12-18 15:14:38 +08:00
Rémi Verschelde
4f18c134b9
Merge pull request #34412 from flyingpimonster/docs-optionbutton
Docs: OptionButton
2019-12-18 07:59:32 +01:00
James Westman
575a1dc9cf Docs: OptionButton
Complete the documentation and make some existing descriptions a bit
clearer.

Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2019-12-17 16:45:18 -06:00
Rémi Verschelde
7d34d1a85f
Merge pull request #34348 from Catchawink/master
Fixed issues with using a relative path in the export window.
2019-12-17 22:24:34 +01:00
Rémi Verschelde
98e540616e
Merge pull request #34406 from Faless/net/quite_sockets
Make NetSockets quieter.
2019-12-17 22:22:13 +01:00
Rémi Verschelde
91dc474515
Merge pull request #34407 from Calinou/doc-key-mask-cmd
Improve the `KEY_MASK_CMD` documentation
2019-12-17 22:12:08 +01:00
Yuri Roubinsky
5a1b7a6a90
Merge pull request #34402 from Chaosus/fix_toggle_scripts_panel2
Fix toggle scripts panel to allow using shortcut in other areas
2019-12-17 20:55:48 +03:00
Hugo Locurcio
6cf1499eaf
Improve the KEY_MASK_CMD documentation 2019-12-17 18:26:21 +01:00
Fabio Alessandrelli
feb54d0ed7 Make NetSockets quiter.
Use print_verbose instead of ERR_* for network errors.
2019-12-17 16:08:24 +01:00
Yuri Roubinsky
03928c5b36 Fix toggle scripts panel to allow using shortcut in other areas 2019-12-17 17:23:29 +03:00
Juan Linietsky
0dd6079e4e Improve error message and do not spam forever. 2019-12-17 11:18:47 -03:00
Rémi Verschelde
fbc176d740
Merge pull request #34401 from Faless/android/fix_get_manifest_permissions
Fix crash on Android with no manifest permissions.
2019-12-17 15:03:16 +01:00
Fabio Alessandrelli
ca19a3fe9a Fix crash on Android with no manifest permissions.
API allows for null array of permissions. It is now normalized with an
empty array.
2019-12-17 14:46:04 +01:00
Juan Linietsky
22637beb2e Restore signal locking, for some reason missing. 2019-12-17 10:43:51 -03:00
Rémi Verschelde
4bb5fbafcb
Merge pull request #34397 from neikeq/fix-win-export-dec19-mono
Mono/C#: Fix project export and fix FindLast/GetFile regression
2019-12-17 13:19:50 +01:00
Ignacio Etcheverry
20d7013c60 Mono/C#: Fix project export and fix FindLast/GetFile regression
d09193b08a introduced a regression in
StringExtensions.FindLast. StringExtensions.GetFile was also affected as it
relies on FindLast. This in turn broke the project exporter as it uses GetFile.
The cause of the regression is that now FindLast is calling LastIndexOf
with 'startIndex: 0'. This should be 'startIndex: str.Length - 1' instead.

Also fixed another regression in the project exporter:
de7c2ad21b moved 'GodotTools/GodotSharpExport.cs'
to 'GodotTools/Export/ExportPlugin.cs' and in doing so accidently reverted
the changes from commit e439581198.
2019-12-17 13:06:41 +01:00
Rémi Verschelde
45908eebf3 i18n: Sync translation template with current source 2019-12-17 11:47:29 +01:00
Rémi Verschelde
5a74cc12d0 i18n: Sync translations with Weblate 2019-12-17 11:44:35 +01:00
Rémi Verschelde
c64c46db1d doc: Sync classref with current source 2019-12-17 11:43:07 +01:00
Yuri Roubinsky
accf68b2cc
Merge pull request #34393 from Chaosus/fix_toggle_scripts_panel
Prevent showing toggle scripts panel switch in shader editor
2019-12-17 11:43:06 +03:00
Yuri Roubinsky
bb7b614da1 Prevent showing toggle scripts panel switch in shader editor 2019-12-17 11:19:43 +03:00
Rémi Verschelde
01a6223226
Merge pull request #34364 from Chaosus/toggle_scripts_panel
Moves switch for show scripts panel from File menu to status bar
2019-12-17 07:58:21 +01:00
Rémi Verschelde
8fdbfe0aa8
Merge pull request #34391 from timothyqiu/dialog-size
Fixes size of Create Function dialog
2019-12-17 07:58:05 +01:00
Rémi Verschelde
661636e148
Merge pull request #34389 from KoBeWi/🙄
Use global transform when calculating scroll
2019-12-17 07:57:32 +01:00
Haoyu Qiu
9adeec789c Fixes size of create function dialog 2019-12-17 09:04:30 +08:00
Tomasz Chabora
3a3cab6494 Use global transform when calculating scroll 2019-12-17 00:51:07 +01:00
Rémi Verschelde
c3ea4ea9b7
Merge pull request #34382 from van800/profiler
Allow attaching any external profiler, including JetBrains dotTrace
2019-12-16 22:00:36 +01:00
Rémi Verschelde
3aa46a58cd
Merge pull request #34380 from akien-mga/mono-threads-suspend-windows
Mono: Enable threads suspend workaround on Windows
2019-12-16 21:08:29 +01:00
Ivan Shakhov
7c64779516 Allow attaching any external profiler, including JetBrains dotTrace 2019-12-16 20:34:30 +01:00
Juan Linietsky
21dec856f2 Use an internal skin unless one is supplied by user, fixes #32766
Even though this fixes the issue, the broken Skin resource in the inherited scene mesh will remain, it needs to be erased manually.
2019-12-16 13:00:30 -03:00
Catchawink
b2a14042d5 Fixed issues with using a relative path in the export window.
Before this fix, opening relative export paths inside of an EditorFileDialog was not possible. This was fixed by modifying String::path_to_file() to save relative paths in EditorExportPreset::set_export_path() more appropriately and changing EditorFileDialog::set_current_dir() to open relative paths.
2019-12-16 09:50:42 -05:00
Rémi Verschelde
a866028a7a Mono: Enable threads suspend workaround on Windows
This appears to be necessary for current official builds cross-compiled
with MinGW from Linux, using Mono 6.6.0.160.

Follow-up to #31784, see #29812 for details.
2019-12-16 15:40:26 +01:00
Rémi Verschelde
817165b96c
Merge pull request #34246 from tygree/nan-in-sprite-fix
Fixed a bug within sprite.cpp that caused a nan value to appear
2019-12-16 15:03:58 +01:00
Rémi Verschelde
f8ea390b52
Merge pull request #34269 from KoBeWi/scrolling_peeps
Scroll ScrollContainer to focused children
2019-12-16 14:03:21 +01:00
Tyler Greenwood
e4a0abdd93 Fixed a bug within sprite.cpp that caused nan values to appear when a texture had zero area 2019-12-16 13:53:35 +01:00
Rémi Verschelde
d4601776db
Merge pull request #34377 from timothyqiu/i18n
Makes more strings in editor translatable
2019-12-16 09:56:23 +01:00
Haoyu Qiu
7a9c337dfe Makes more strings in editor translatable
* File type names in file dialogs
* Layout option names
* Visual shader editor UI
2019-12-16 16:41:07 +08:00
Rémi Verschelde
74977277fa
Merge pull request #34280 from zaksnet/fix-yield-documentation
Fix documentation for yield
2019-12-16 08:49:32 +01:00
Rémi Verschelde
51ab6a96fd
Merge pull request #34311 from mikkac/34289
Fix- using cut in first line of a script file does not remove the line
2019-12-16 08:48:47 +01:00
Rémi Verschelde
7f62ee69b1 Travis: Fix reporting clang-format errors after #34097 2019-12-16 08:46:36 +01:00
Rémi Verschelde
183eafcea8
Merge pull request #34375 from timothyqiu/vcenter
Center error icon vertically in AssetLib
2019-12-16 08:27:55 +01:00
Rémi Verschelde
6ec42b7507
Merge pull request #34372 from KoBeWi/how_to_graphnode
Mention how to add slots to GraphNode
2019-12-16 08:26:43 +01:00
Rémi Verschelde
b72e4079f3
Merge pull request #34374 from KoBeWi/thinking_out_of_the_loop
Prevent infinite loop when focus_next is invisible
2019-12-16 08:24:49 +01:00
Rémi Verschelde
c39aa2b200
Merge pull request #34367 from clayjohn/GLES2-shadow_color
Fix shadow color in GLES2 by making sRGB
2019-12-16 08:05:17 +01:00
Rémi Verschelde
c87e6fa36f
Merge pull request #34336 from aaronfranke/transform-doc
Document that translated does not behave like rotated or scaled
2019-12-16 08:03:10 +01:00