Commit graph

17223 commits

Author SHA1 Message Date
Ignacio Etcheverry 1aac95a737 Parse C# script namespace and class
- Added a very simple parser that can extract the namespace and class name of a C# script.
2018-10-25 18:00:24 +02:00
Ignacio Etcheverry c6e2873605 Fix msvc warnings in mono module
- `modules\mono\csharp_script.cpp(576): warning C4099: 'CSharpScriptDepSort': type name first seen using 'class' now seen using 'struct'`
- `modules\mono\signal_awaiter_utils.cpp(144): warning C4003: not enough actual parameters for macro 'ERR_FAIL_V'`
- `modules\mono\editor\net_solution.cpp(101): warning C4129: '%': unrecognized character escape sequence`
- (several) `modules\mono\glue\cs_compressed.gen.h(222): warning C4129: 'E': unrecognized character escape sequence`
2018-10-25 18:00:24 +02:00
Ignacio Etcheverry 92af2e620b Do not generate API project GUIDs randomly 2018-10-25 18:00:24 +02:00
Ignacio Etcheverry 611a476224 Support globs in csproj includes 2018-10-25 18:00:17 +02:00
Ignacio Etcheverry 454b933106 Fix internal assembly load from
- Also make sure we load API assemblies from 'res://.mono/assemblies/'.
2018-10-22 20:35:44 +02: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
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
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
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
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
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
Rémi Verschelde df3fe9d781
Merge pull request #22980 from CakHuri/remove-include-dupl
Removed duplication of include(s)
2018-10-16 13:01:42 +02:00
Rémi Verschelde 32afd19541
Merge pull request #22548 from fire/visualscript_whitespace
Visualscript search fixes
2018-10-16 12:54:43 +02:00
Rémi Verschelde 39bdffa57c
Merge pull request #22970 from marcelofg55/osx_mic_fix
Fixed issues with audio input on some Macs
2018-10-16 12:36:07 +02:00
Rémi Verschelde d36f33a227
Merge pull request #22944 from fire/visual-script-constructor-21840
Fixed the problem with vector3 constructor
2018-10-16 11:42:49 +02:00
Ignacio Etcheverry 57f46f7fcd Fix enum values in the editor and hide enum numeric values in the Inspector
- Hide numeric value of enum constants in the inspector (EditorPropertyEnum)
- EditorPropertyEnum, CustomPropertyEditor: Calculate values of enum constants correctly when only some of these constants have explicit values.
2018-10-15 23:48:54 +02:00
Erik cd759c773d Hide header and footer in AssetLib when not necessary
Reduces visual clutter by hiding pages navigator header and footer in AssetLib if no results are
found or when results fit on one page one page.

Fix for issue #23036
2018-10-15 19:26:57 +02:00
Max Hilbrunner 4c863da4d5
Merge pull request #23029 from AlexHolly/doc-tabs
[DOCS] Tabs
2018-10-15 16:11:10 +02:00
Alexander Holland 44aa312881 Doc Tabcontainer rearrange tabs 2018-10-15 15:05:46 +02:00
Alexander Holland 3a875d3200 Doc Tabs 2018-10-15 15:01:36 +02:00
Rémi Verschelde 05f1a56037
Merge pull request #23021 from dumitru-stama/fix_android_modules
Fixed initialization of android modules
2018-10-15 14:23:03 +02:00
dumitru-stama 4c9eb86cbf Fixed initialization of android modules 2018-10-14 17:32:01 -07:00
lupoDharkael 039e3e295a GDScriptTokenizer: Fix token_names order 2018-10-14 23:34:53 +02:00
Max Hilbrunner b95f0e61e0
Merge pull request #22942 from AlexHolly/doc-string-filedialog
Filled missing Doc for String and FileDialog
2018-10-14 19:37:32 +02:00
QbieShay 9de3924fea fixed visibility toggle with node selection
before this PR toggling visibility of not selected nodes would toggle
the visibility of the whole selection.
This PR changes this behaviour, so if visibility is toggled on a node
that it is not selected, the visibility toggle will happen only on this
node.
No changes to the behaviour of when one of the selected nodes has
visibility toggled: they still toggle all together
2018-10-14 19:33:34 +02:00