Commit graph

17794 commits

Author SHA1 Message Date
Rémi Verschelde
eb20d9055d
Merge pull request #23339 from RandomShaper/fix-gles2-canvas-inconsistency
Fix GLES2 automatic texture lookup in canvas
2018-10-29 10:16:28 +01:00
Rémi Verschelde
019760d611
Merge pull request #23276 from lupoDharkael/gdn-api
Update GDNative API
2018-10-29 10:01:07 +01:00
Karen Schwane
a01ce6299c Move jcenter behind mavenCentral and google gradle repos to fix build problems 2018-10-28 19:20:30 +01:00
Bojidar Marinov
e4d316fcdc
Fix particle frames being cut off after 0de8309b2c
Fixes #23178
2018-10-28 20:19:46 +02:00
Marcelo Fernandez
5bdb9cf208 Add a duplicate button to duplicate presets 2018-10-28 15:13:38 -03:00
Naoto Kondo
63cba9ba62 GDNative: Fixes a problem that active_library_path is wrong after exporting app for mac 2018-10-28 23:57:51 +09:00
Chaosus
45fe9f1845 Updates visualscript editor when theme is changed 2018-10-28 16:14:14 +03:00
santouits
b0df0b46ac Error running Expression.execute after parse error
There happens a segmentation fault when you use Expression.parse() and you don't check for errors and then run Expression.execute(). So we check if there was a parse error in the execute method now.
2018-10-28 12:13:39 +02:00
Pedro J. Estébanez
7095a71c02 Fix GDScript assuming awareness of whole ClassDB 2018-10-28 03:07:35 +01:00
Pedro J. Estébanez
f39ea99c08 Unify ClassDB lookups for code completion 2018-10-28 03:07:34 +01:00
Michael Alexsander Silva Dias
ec00ec08aa Fix issues with the "Search Results" panel 2018-10-27 22:48:09 -03:00
Pedro J. Estébanez
11815a23dc Fix GLES2 automatic texture lookup in canvas
After this change the color will only be fetched if the shader code doesn't use it explicitly, to match the GLES3 behaviour.

Fixes #23179.
2018-10-28 02:37:34 +01:00
Ignacio Etcheverry
aeddb30fa3
Merge pull request #23336 from neikeq/dd
Fix C# parsing the full name of base types
2018-10-28 01:44:40 +02:00
Ignacio Etcheverry
2cf02f302f Fix C# parsing the full name of base types
Previously it would fail if the type name included its namespace.
2018-10-28 01:31:27 +02:00
Marcelo Fernandez
9814446ea0 Save last export path when exporting 2018-10-27 10:53:05 -03:00
lupoDharkael
edcca5f7ad Dont use equality operators with None singleton in python files 2018-10-27 01:18:15 +02:00
David Sichma
4e9c411229 Handling NodePaths in in-place Editor for Resources 2018-10-26 22:16:38 +02:00
Michael Alexsander Silva Dias
f3835282c4 Small capitalization fixes across the editor 2018-10-26 16:11:36 -03:00
zhagsenkk
67ba4dc8cd Remove no longer necessary "raise_from_completion" in TextEdit
This is no longer needed to fix #1257 because the code-autocomplete hint stops
at the script editor’s edge now.
And #6690 will not arise because it is just caused by "raise_from_completion".

Fixes #22504 and fixes #16064.
2018-10-26 19:29:51 +02:00
Rémi Verschelde
970b58148f
Merge pull request #23304 from scmccarthy/master
Fix "fill" justification in RichTextLabel
2018-10-26 18:53:17 +02:00
Rémi Verschelde
f142b639ab
Merge pull request #23301 from groud/fix_editor_layout
Fixes the editor layout
2018-10-26 18:31:07 +02:00
Liangdi
aaa7f625df support New TileSet Editor zooming use CTRL/CMD + MouseWheel
fixed code style for clang-format

apply clang-format
2018-10-26 23:58:58 +08:00
lupoDharkael
2380f320e0 Update GDNantive API
Add missing Rect2 methods to GDNative API
Add missing Quat methods to GDNative API
Add missing NodePath methods to GDNative API
Add missing String methods to GDNative API
Add missing Array methods to GDNative API
Add missing Basis methods to GDNative API
Add missing Color methods to GDNative API
Update gdnative_api.json
2018-10-26 17:25:57 +02:00
groud
5536e7a8d4 Fixes the editor layout 2018-10-26 12:44:49 +02:00
FlamyAT
3d07a1c10f
Changed integer based drawing to floating numbers 2018-10-26 11:50:21 +02:00
Ben Rog-Wilhelm
f2476f8a7c Add new log functions for C#. 2018-10-25 20:32:50 -07:00
Sean McCarthy
0ce185629d Fix "fill" justification in RichTextLabel to only affect lines that have automatically wrapped. 2018-10-25 16:19:15 -07:00
Rémi Verschelde
13582354fd
Merge pull request #23290 from YeldhamDev/fix_default_layout
Fix default layout dock sizes
2018-10-25 23:19:10 +02:00
Michael Alexsander Silva Dias
9765a8dc21 Fix default layout dock sizes 2018-10-25 17:21:23 -03:00
Rémi Verschelde
eeee47196c
Merge pull request #23262 from swenner/more-cppcheck-fixes
More cppcheck fixes, fixes #22702
2018-10-25 21:12:14 +02:00
Simon Wenner
9fcf9ee813 fixed uninitialized variables and false positives found by CppCheck 2018-10-25 20:38:17 +02:00
David Sichma
62848f94ee Fix: String::format Variant to String conversion
Previosly String::format used variant.get_construct_string() to convert
the passed Variants to Strings. This however did not match the expected
printing behavior of some datatypes: Strings for example turned out
escaped.

This fix replaces the call to get_construct_string() with a simple
conversion. This makes String::format consistent with "%s" % "sth" and
formated Variants turn out like printed as expected.
2018-10-25 20:36:49 +02:00
Will Nations
b4e7299b72 Restore ClearScript btn w/ ExtendScript RMB link 2018-10-25 13:33:16 -05:00
Alexander Holland
1f271e4be6 Doc RichTextLabel push strikethrough and align 2018-10-25 18:51:31 +02:00
Rémi Verschelde
aa6876df50
Merge pull request #23212 from YeldhamDev/menubar_consistency
Fix inconsistences in some buttons in the Canvas/Spatial editor menubar
2018-10-25 18:44:01 +02:00
Ignacio Etcheverry
d47cec43f2
Merge pull request #23162 from neikeq/cc
Proper support for namespaces and other enhancement/fixes
2018-10-25 18:18:40 +02:00
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
dbaa223297
Merge pull request #23282 from neikeq/issue-23249
C#: Fix crash when disposing Reference on domain finalize
2018-10-25 17:33:28 +02:00
Rémi Verschelde
3f23b2ecf4
Merge pull request #23017 from Calinou/increase-source-font-line-spacing
Increase the source font's line spacing
2018-10-25 17:31:24 +02:00
Rémi Verschelde
0b2d1364c5
Merge pull request #23038 from DualMatrix/ugly_names
Made NodePath property display path instead of object name if object is not named.
2018-10-25 17:27:05 +02:00
Ignacio Etcheverry
b42f7b7fae C#: Fix crash when disposing Reference on domain finalize 2018-10-25 17:21:42 +02:00
Michael Alexsander Silva Dias
46d02bade4 Fix inconsistences in some buttons in the Canvas/Spatial editor menubar 2018-10-25 12:15:39 -03:00
Rémi Verschelde
7a42df3626 doc: Sync with current source 2018-10-25 15:14:47 +02:00
Rémi Verschelde
8e391c1e22
Merge pull request #23071 from bfhobbes/use_quickopen_for_instance_child
Use EditorQuickOpen dialog instead of EditorFileDialog when instancing a child scene.
2018-10-25 15:10:26 +02:00
Rémi Verschelde
9de724f327
Merge pull request #23091 from aaronfranke/mingw-warnings
Fix some compile warnings for Windows from Linux
2018-10-25 15:09:11 +02:00
Rémi Verschelde
ece9a0f400
Merge pull request #23114 from groud/allow_smaller_dock_width
Allow the editor dock to have a lower width
2018-10-25 15:06:41 +02:00
Max Hilbrunner
4eb9099df0
Merge pull request #23199 from Ashafix/packedScene
[DOCS] more detailed example for usage of PackedScene
2018-10-25 13:39:24 +02:00