Commit Graph

17672 Commits

Author SHA1 Message Date
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
Rémi Verschelde 7d296a638c
Merge pull request #23273 from Chaosus/fix_segfault
Fix segfault on editor close up
2018-10-25 13:03:40 +02:00
Chaosus ba9d29ec62 Fix segfault on editor close up 2018-10-25 13:33:46 +03:00
Rémi Verschelde d7b5ca09f7
Merge pull request #23272 from akien-mga/gles2-fix-spotlight-shadows
GLES2: Fix shadows shader error for SpotLights
2018-10-25 12:33:19 +02:00
Rémi Verschelde b9eb3a048e GLES2: Fix shadows shader error for SpotLights
Fixes #23268.
2018-10-25 12:14:02 +02:00
Rémi Verschelde 1169196f04
Merge pull request #22779 from Superwaitsum/LimitSettings
Limit several project settings
2018-10-25 11:38:06 +02:00
Rémi Verschelde 48c6844b00
Merge pull request #23171 from capnm/fix-orthogonal-mode-freelook
Disable 'freelook' in the orthogonal mode.
2018-10-25 11:35:32 +02:00
Rémi Verschelde bf737ee8da
Merge pull request #23211 from YeldhamDev/spatial_editor_preview_adjustment
Readjust "Preview" button in Spatial editor
2018-10-25 10:58:50 +02:00
Rémi Verschelde 11be39f3ce
Merge pull request #23221 from pgruenbacher/lookahead_docs
added docs for lookeahead pathfollow2d.xml
2018-10-25 10:58:01 +02:00
Rémi Verschelde 66bdd0ed7e
Merge pull request #23259 from akien-mga/pck-lookup
Fix .pck lookup for extensionless binary names with a dot
2018-10-25 10:57:04 +02:00
Rémi Verschelde 70454767ee
Merge pull request #23215 from Chaosus/filedock_update
Updates filesystem dock when theme is changed
2018-10-25 10:55:25 +02:00
Rémi Verschelde 220f50e790
Merge pull request #23240 from kubecz3k/complete-getters
Optional getters/setters editor autocomplete
2018-10-25 10:47:33 +02:00
Rémi Verschelde 0be20bba47
Merge pull request #23245 from Alien1993/inherited_root_deletion
Fixed user being unable to delete root Node if is an inherited Scene
2018-10-25 10:47:04 +02:00
Rémi Verschelde 7e2d391c09
Merge pull request #23266 from CakHuri/mistyped-of-its
Repaired mistyped of 'its' on several files.
2018-10-25 10:44:57 +02:00
Superwaitsum e5041ad0f5 Add some limits on the Editor Settings 2018-10-24 19:46:33 -05:00
M. Huri b46ba24e3b Repaired mistyped of 'its' on several files. 2018-10-25 07:19:21 +07:00
Rémi Verschelde bf957a414a
Merge pull request #23083 from Windfisch/pathfollow_configwarn
Add a configuration warning to [Oriented]PathFollow
2018-10-25 00:11:41 +02:00
Florian Jung d67c7487f2 Add a configuration warning to [Oriented]PathFollow
Will update OrientedPathFollows' configuration_warnings if the parent Path changes
2018-10-24 23:39:45 +02:00
paul gruenbacher 1c73443915 added docs for lookeahead
Fix indenting

lookahead clarification

fix ahead
2018-10-24 17:17:54 -04:00
Rémi Verschelde f0405d4ae1
Merge pull request #23258 from Calinou/tweak-editor-tooltip-size-hidpi
Make editor tooltips wider and scale them on hiDPI displays
2018-10-24 20:56:31 +02:00
Rémi Verschelde 9d926b72e1 Fix .pck lookup for extensionless binary names with a dot
This was not a problem on Windows as binary names are guaranteed to end
with '.exe', but on Unix systems binary extensions are purely cosmetic
and thus optional, which is a problem when using `get_basename()` to
lookup a potential '.pck' file, as it can fail on e.g. "My Game 2.0" (#15188).

To fix this, ProjectSettings::setup now checks for both basename + '.pck'
and filename + '.pck'.

Fixes #15188, supersedes and closes #22755.

Also took the opportunity to improve documentation on this core method.
2018-10-24 20:11:39 +02:00
Hugo Locurcio dee6a8b93c
Make editor tooltips wider and scale them on hiDPI displays
This also changes the TTR() call to avoid creating a duplicate
("Property:" is already used in other places).
2018-10-24 20:05:48 +02:00