Commit graph

17451 commits

Author SHA1 Message Date
Ibrahn Sahir 7d82bed4f4 Moved dynamic font list from static to lifetime controlled by main.
Means the list is destroyed before the OS object, allowing it the
opportunity to print an error if there are still dynamic font objects
hanging around.
2018-10-20 10:13:06 +01:00
groud c029e82761 Make folders clicked in the filesystem dock open the selected folder 2018-10-19 22:43:48 +02:00
Rémi Verschelde cf7a66195f
Merge pull request #23142 from willnationsdev/editor-extend-script
Add icon_script_extend & update the icon @runtime
2018-10-19 19:27:55 +02:00
Will Nations 42300b2769 Add icon_script_extend & update the icon @runtime 2018-10-19 09:04:07 -05:00
Aaron Franke dc2e73499a Fix compile warnings for Windows from Linux
At least the ones I got when I compiled it using Mingw64 POSIX on Xubuntu 18.04. Plus use the Size2 of get_window_size() directly, rather than reconstructing it.
2018-10-19 09:11:14 -04:00
Rémi Verschelde bde3e884c7
Merge pull request #23138 from CakHuri/fix-disconect
Repaired mistyped of 'just_disconnected'.
2018-10-19 13:55:31 +02:00
M. Huri 596ba88869 Repaired mistyped of 'just_disconnected'. 2018-10-19 18:31:35 +07:00
Dualtagh Murray b902a2f2a7 Fixing warnings generated by MSVC
Fixes #22684.
2018-10-19 11:45:24 +02:00
Max Hilbrunner a3072aa35e
Merge pull request #23035 from voithos/missingpck
Show an alert when a project is not found in release mode
2018-10-19 11:44:40 +02:00
Rémi Verschelde e1f4e60a42
Merge pull request #22849 from DualMatrix/update_key_edit
Fixed Animation Keyframe inspector not displaying after moving key.
2018-10-19 11:24:10 +02:00
Rémi Verschelde cb30b60de6
Merge pull request #23112 from groud/fix_viewport_not_updating
Fixes viewport scrollbars not updating with plugins
2018-10-19 11:19:49 +02:00
Rémi Verschelde 35450e56bd
Merge pull request #23122 from Alien1993/enhance_folder_creation_error_message
Enhanced error message on folder creation with invalid chars on Windows
2018-10-19 11:18:03 +02:00
Michael Alexsander Silva Dias 9d69c34990 Make "Perspective" button look like a actual clickable button 2018-10-18 22:36:59 -03:00
Ignacio Etcheverry 6312f18f8e
Merge pull request #23128 from neikeq/bb
Make sure API assemblies are up to date at startup
2018-10-19 00:24:15 +02:00
Ignacio Etcheverry 00f758099b Make sure API assemblies are up to date at startup
- If there is a solution and C# project at startup, make sure API assemblies are up to date.
- Fix prebuilt assemblies only being used when building the game project, and not in other instances.
2018-10-19 00:13:15 +02:00
Silvano Cerza 0759760856 Enhanced error message on folder creation with invalid chars on Windows
If the user tried to create folder with *, | or > in its name it would
return a generic error "Could not create folder."
Now the same message is shown when creating a folder with /, \\, :, *,
|, > or ending with . or an empty space.
2018-10-18 21:19:16 +02:00
Rémi Verschelde 00125ef8df
Merge pull request #23120 from akim8/patch-1
fix class reference markup for KinematicBody2D
2018-10-18 21:08:35 +02:00
Rémi Verschelde c1779b19a6
Merge pull request #23116 from Xrayez/fix-23106
Bind missing subresource flag in ResourceSaver
2018-10-18 20:30:11 +02:00
Ignacio Etcheverry c8b7e9e5b7
Merge pull request #23119 from neikeq/issue-18796
Fix prefix erasing for the generated C# enum constants
2018-10-18 20:29:59 +02:00
Ignacio Etcheverry 2adef1e52f Fix prefix erasing for the generated C# enum constants 2018-10-18 20:11:11 +02:00
Alex e3d7ac17e0
fix doc markdown 2018-10-18 11:48:11 -04:00
Andrii Doroshenko (Xrayez) 31f6fad90e Bind missing subresource flag in ResourceSaver 2018-10-18 17:58:44 +03:00
groud 6cf13e881c Allow the editor dock to have a lower width 2018-10-18 15:23:04 +02:00
groud ced6f43455 Fixes viewport scrollbars not updating with plugins 2018-10-18 14:06:57 +02:00
Rémi Verschelde ad47ec3952
Merge pull request #23000 from voithos/move-autoload
Update autoload references when moving files.
2018-10-18 08:40:18 +02:00
Zaven Muradyan 552c518b80 Show an alert when a project is not found in release mode
Previously, an error message would get printed to the console, but this
is problematic in e.g. Windows where a console is not displayed. In the
case of a missing .pck file, the binary would just silently fail. Now,
it shows an alert.

Fixes #21994.
2018-10-17 20:48:53 -07:00
Ignacio Etcheverry b550f93cfd
Merge pull request #23097 from neikeq/aa
C#: Optimize struct marshalling
2018-10-17 22:48:34 +02:00
Ignacio Etcheverry 23ae64b15e C#: Optimize struct marshalling
- We no longer box struct to return them from internal calls.
- Use reinterpret_cast if the managed struct layout is the same as the native struct.
2018-10-17 22:36:26 +02:00
Pedro J. Estébanez 54bdc1e1f6 Fix crash on signal/resume to dangling target
Fixes #22443.
2018-10-17 20:44:47 +02:00
Rémi Verschelde 0d8284d3d4
Merge pull request #23037 from SeleckyErik/issue-23036
Hide header and footer in AssetLib when not necessary
2018-10-17 16:13:44 +02:00
Rémi Verschelde b1cd673e18
Merge pull request #23074 from voithos/tooltips
Add tooltip to skeleton menu button.
2018-10-17 14:41:11 +02:00
Timo 1dbb6e4554
Merge pull request #23056 from YeldhamDev/stylebox_rings_removal
Remove unnecessary "rings" variable from "draw_rings()" in StyleBox
2018-10-17 10:51:54 +02:00
Zaven Muradyan b58c46fc9c Add tooltip to skeleton menu button.
Fixes #23008.
2018-10-17 00:53:29 -07:00
Rémi Verschelde d3fde96dcf
Merge pull request #23065 from YeldhamDev/switch_optimized_handlers
Switch unoptimized handlers from spatial editor viewport to optimized ones
2018-10-17 08:05:19 +02:00
Andrew McDonald 66503465db Use EditorQuickOpen dialog instead of EditorFileDialog when instancing a child scene.
Addresses the bulk of #5180
2018-10-16 22:19:51 -07:00
Zaven Muradyan ee74c7808b Update autoload references when moving files.
Prior to this, file references in autoload were not updated when a
script was moved or renamed. This adds extra logic to update the
autoload references when updating project settings.

Fixes #22995.
2018-10-16 18:57:21 -07:00
Michael Alexsander Silva Dias fc376d3db6 Switch unoptimized handlers from spatial editor viewport to optimized ones 2018-10-16 18:08:01 -03:00
Michael Alexsander Silva Dias cad9e4e692 Remove unnecessary "rings" variable from "draw_rings()" in StyleBox 2018-10-16 14:48:46 -03:00
Ignacio Etcheverry eeaa9124af C# API: Hide method bind fields from debugger 2018-10-16 17:22:27 +02:00
Rémi Verschelde 0dbe01483a
Merge pull request #22918 from DualMatrix/node_as_root_2
Fixed setting node as root showing error and making invisible children visible.
2018-10-16 15:21:46 +02:00
Rémi Verschelde 49aa1be9b6
Merge pull request #22738 from akerudesu/script_comments
Improve toggle comment function in script editor
2018-10-16 15:07:07 +02:00
Rémi Verschelde 5d4a073e98
Merge pull request #22885 from neikeq/issue-22122
Hide numeric value for constants in EditorPropertyEnum
2018-10-16 15:01:03 +02:00
Rémi Verschelde 47c0aff491
Merge pull request #22894 from OsamaElHariri/prevent-comment-indent
A colon ending a comment line no longer indents the next line
2018-10-16 14:47:33 +02:00
Rémi Verschelde b4dd1afa74
Merge pull request #22922 from mrcdk/fix_area_bus_override
Fixes Area and Area2D audio bus override
2018-10-16 14:46:01 +02:00
Rémi Verschelde 8b42890217
Merge pull request #23009 from AlexHolly/doc-tabcontainer-rearrange
Doc Tabcontainer rearrange tabs
2018-10-16 14:35:28 +02:00
Rémi Verschelde 48d3d15e93
Merge pull request #23016 from QbieShay/fix_visibility_toggle
Fixed visibility toggle with node selection
2018-10-16 14:34:22 +02:00
DualMatrix eac36a0651 Fixed setting node as root showing error and making invisible children visible.
Fixed setting node as root showing error and making invisible children visible.
2018-10-16 14:17:16 +02:00
Rémi Verschelde 155652908a
Merge pull request #23018 from lupoDharkael/parse-bug
GDScriptTokenizer: Fix token_names order
2018-10-16 13:30:58 +02:00
Rémi Verschelde 40ddab512f
Merge pull request #22992 from Paulb23/delete_line_off_by_one
Fixed delete line being off by one, issue 22819
2018-10-16 13:26:15 +02:00
Rémi Verschelde 5d5e591ba1
Merge pull request #22991 from Paulb23/type_syntax_highlighting_fixes
Fix types highlighting outside of function args and var declarations, issues 22029,21638
2018-10-16 13:23:05 +02:00