Commit Graph

28131 Commits

Author SHA1 Message Date
e956e80c1f Style: clang-format: Disable AllowShortIfStatementsOnASingleLine
Part of #33027, also discussed in #29848.

Enforcing the use of brackets even on single line statements would be
preferred, but `clang-format` doesn't have this functionality yet.
2020-05-10 13:12:16 +02:00
03b13e0c69 Style: Add missing copyright headers 2020-05-10 13:12:16 +02:00
da898c116c Merge pull request #37160 from ThakeeNathees/saveing-cyclic-inheritance-crash-fix
Fix: saving gdscript with cyclic inheritance crash the editor
2020-05-10 13:11:40 +02:00
a128dd97d6 Merge pull request #37020 from aaronfranke/range
Allow using integer vectors for iteration and make range() use them
2020-05-10 13:11:07 +02:00
4686963ed7 Merge pull request #36937 from ThakeeNathees/statement-end-error-message-fix
Fix: more clearer unexpected statement end error messages
2020-05-10 13:10:55 +02:00
a95e2ec5ac Merge pull request #38505 from KoBeWi/ms_visual_docs
Add documentation for the VisualShader nodes
2020-05-10 13:07:56 +02:00
9cc67b19b8 Merge pull request #38613 from MCrafterzz/plane
Renamed plane's d to distance
2020-05-10 13:06:55 +02:00
2d8d311b12 Merge pull request #38617 from madmiraal/fix-38514
Prevent CapsuleShape2D height from being less than zero.
2020-05-10 13:06:05 +02:00
68eaaa6d6b Prevent CapsuleShape2D height from being less than zero. 2020-05-10 11:45:27 +01:00
ec7b481170 Renamed plane's d to distance 2020-05-10 12:12:51 +02:00
c304b66a68 Merge pull request #38606 from cbscribe/kcc_classdoc_updates
[DOCS] minor description changes
2020-05-10 10:12:33 +02:00
c2ab35bdde fixed: saving gdscript with cyclic inheritance crash the editor
Fix: #9609
2020-05-10 09:07:09 +05:30
975ed93794 [DOCS] minor description changes 2020-05-09 18:56:14 -07:00
5758d87f09 more clearer unexpected statement end error messages 2020-05-10 02:35:27 +05:30
ff5dfcdf68 Revert "register RenderingDevice as gdscript singleton"
This reverts commit 1058a57666.

RenderingDevice is meant to be instantiated in scripts, not a singleton.
This actually doesn't work properly right now, but reduz will fix it.
2020-05-09 22:18:32 +02:00
a4b829410c Merge pull request #38481 from RandomShaper/improve_yield
Fix object leaks caused by unfulfilled yields
2020-05-09 22:02:52 +02:00
b61a496aa7 Merge pull request #38357 from ThakeeNathees/dict2inst-crash-fix
fix: dict2inst crash when constructor has arguments
2020-05-09 22:00:04 +02:00
cf0953fefa Merge pull request #37598 from ThakeeNathees/GDScript-type-resolve-bug-fix
GDScript class var type resolve bug fixed
2020-05-09 21:59:26 +02:00
f5371bc6b8 Merge pull request #37033 from ThakeeNathees/python-like-str-escape
python like string escape implemented
2020-05-09 21:53:59 +02:00
c04cdc2bf1 Merge pull request #38412 from ThakeeNathees/static-func-var-access
parser error for static func access non-static variables
2020-05-09 21:32:28 +02:00
4eb566c80c Merge pull request #38598 from neikeq/csharp-remove-stringextensions-empty
C#: Remove StringExtensions.Empty() function
2020-05-09 21:10:04 +02:00
4441222194 C#: Remove StringExtensions.Empty() function
Causes issues with some editors as it's confused with `string.Empty`.
Should use `string.IsNullOrEmpty(str)` instead.
2020-05-09 20:48:00 +02:00
61306eb830 Merge pull request #38596 from neikeq/msbuild-restore
Mono: Use msbuild instead of nuget.exe for restoring
2020-05-09 20:16:52 +02:00
b61ffef0ab Mono: Use msbuild instead of nuget.exe for restoring
- Make GodotTools output directly to the SCons output directory.
- Removed xbuild_fallback from the build system.
2020-05-09 19:45:04 +02:00
cf4482e8c4 Change get_completion_identifier_is_function to return a bool
A minor bugfix
2020-05-09 13:45:00 -04:00
38a0ff2249 Allow Vector2/Vector3 iterators to have non-integer values 2020-05-09 13:43:35 -04:00
f7b50992b5 Allow using integer vectors for iteration and make range() use them 2020-05-09 13:43:35 -04:00
5a1077008a Merge pull request #38595 from neikeq/fix-nested-class-hotreload-mono
Mono: Fix hot-reloading of nested classes
2020-05-09 19:40:40 +02:00
e0a001549e Mono: Fix hot-reloading of nested classes 2020-05-09 19:18:28 +02:00
825a89d0da Merge pull request #38589 from MCrafterzz/line
Rename Lineshape's d to distance
2020-05-09 17:01:23 +02:00
9a7e515d50 Rename Lineshapes d to distance 2020-05-09 15:10:00 +02:00
1c6b1838b9 Merge pull request #38588 from akien-mga/freetype-2.10.2
freetype: Update to upstream version 2.10.2
2020-05-09 14:37:10 +02:00
9c1b20eab6 freetype: Update to upstream version 2.10.2 2020-05-09 13:24:14 +02:00
46f1d4ff8e Merge pull request #38563 from Calinou/anisotropic-filtering-enum
Turn the anisotropic filtering setting into an enum
2020-05-08 22:09:20 +02:00
b9f2e57d62 Merge pull request #38555 from ThakeeNathees/rotation-gizmo-visible-fix
rotation gizmo visible = false; when camera preview
2020-05-08 12:59:31 +02:00
44db69a7da Merge pull request #38561 from bruvzg/wintab_extra_mm_events
WinTab: Make movement smoother and handle pressure/tilt changes when cursor is not moving.
2020-05-08 12:19:55 +02:00
b1b994fc77 Merge pull request #38304 from JFonS/improve_rotation_widget
Keep mouse inside 3D viewport rotation widget
2020-05-08 12:19:20 +02:00
3a11baaeac Turn the anisotropic filtering setting into an enum
Since it only accepts power-of-two values, exposing it as an enum
makes more sense. This also allows for adding property hints to indicate
the performance cost of each value.

This also improves property hints for MSAA and FXAA.
2020-05-08 12:07:35 +02:00
e45735ec4a Merge pull request #38556 from EricEzaM/fix-menu-key-windows
Added mapping for KEY_MENU to VK_APPS (0x5d) so context menu's triggered by the keyboard menu button work
2020-05-08 11:24:05 +02:00
492811b319 Merge pull request #38557 from hoontee/patch-1
Re-add __XINPUT_DEVICE__
2020-05-08 10:21:28 +02:00
78c80de738 WinTab: Adds extra "mouse move" events to make movement smoother and correctly handle pressure/tilt change when cursor is not moving. 2020-05-08 10:56:42 +03:00
9aa29b85a8 Re-add __XINPUT_DEVICE__
Required for `JoypadWindows::probe_joypads`.
Partially reverts 510e83498e. Fixes #38554.
2020-05-07 22:19:42 -05:00
97e77bcd19 Added mapping for KEY_MENU to VK_APPS (0x5d) so context menu's triggered by the keyboard menu button work 2020-05-08 11:22:21 +10:00
60d67f13da rotation gizmo visible = false; when camera preview 2020-05-08 06:44:24 +05:30
fecf79f287 Add documentation for the VisualShader nodes 2020-05-08 00:36:01 +02:00
e253451a5b GUI: Touch screen button click area now is synced with its draw
(cherry picked from commit 1cba7fb180)
2020-05-07 21:21:13 +02:00
d7b85fbaa1 Merge pull request #31086 from volzhs/underline
Use underline position and thickness value in font file
2020-05-07 21:18:41 +02:00
ae33cf5f45 Merge pull request #36379 from aaronfranke/color-constructors
Add a Color constructor for Color with alpha
2020-05-07 21:16:51 +02:00
bef52957d0 Merge pull request #38226 from Calinou/increase-camera3d-fov
Increase the default Camera3D field of view to 75
2020-05-07 21:16:21 +02:00
bd75e2538b Merge pull request #38536 from ThakeeNathees/trnasform-2-transform2d-convert-fix
Fix: can't convert Transform -> Transform2D
2020-05-07 20:56:50 +02:00