Commit graph

28816 commits

Author SHA1 Message Date
Stijn Hinlopen 5f7499beac No longer scroll vertically when scrollbars are unavailable 2020-06-20 20:56:17 +02:00
Rémi Verschelde 3e07080942
Merge pull request #39427 from hcmlax/shortcut_issue_39351
fixed issue where shortcut doesn't work if alt is pressed before shift
2020-06-19 23:47:49 +02:00
Rémi Verschelde 8f5fbaefd1
Merge pull request #39657 from Sl3dge78/20467
The "Anim imported" warning gets displayed properly when working on imported anims.
2020-06-19 23:45:05 +02:00
Rémi Verschelde 73cbe3d9da
Merge pull request #39684 from asmaloney/FileAccessBuffered-init
Ensure FileAccessBuffered structs are properly initialized
2020-06-19 23:43:46 +02:00
Rémi Verschelde 5e13c3435d
Merge pull request #39663 from dreamsComeTrue/connect-dialog-method-name
Prevent having spaces in signal's method in Connect Dialog
2020-06-19 23:12:46 +02:00
Rémi Verschelde 6d8c14f849
Merge pull request #39690 from Calinou/remove-toolbutton
Remove ToolButton in favor of Button
2020-06-19 23:09:49 +02:00
Dominik 'dreamsComeTrue' Jasiński 79f46da1a3 Prevent having spaces in signal's method in Connect Dialog
Fixes: #39647
2020-06-19 21:24:06 +02:00
Hugo Locurcio 31b7f02a29
Remove ToolButton in favor of Button
ToolButton has no redeeming differences with Button;
it's just a Button with the Flat property enabled by default.
Removing it avoids some confusion when creating GUIs.

Existing ToolButtons will be converted to Buttons, but the Flat
property won't be enabled automatically.

This closes https://github.com/godotengine/godot-proposals/issues/1081.
2020-06-19 20:49:49 +02:00
Rémi Verschelde cb9d02a8d1
Merge pull request #38932 from Calinou/increase-light3d-shadow-bias
Increase the default DirectionalLight3D and OmniLight3D shadow biases
2020-06-19 20:02:26 +02:00
Yuri Roubinsky c857d77d84
Merge pull request #32751 from Chaosus/shader_const_array
Implemented global const array to shaders
2020-06-19 20:09:38 +03:00
Rémi Verschelde a8d302bd4f
Merge pull request #39678 from akien-mga/universae-fenestras
Export: Rename 'Windows Universal' to 'UWP'
2020-06-19 18:54:34 +02:00
Rémi Verschelde d5c659c992
Merge pull request #39652 from paulloz/generics-getnodesingroup
[mono] Implement generics GetNodesInGroup
2020-06-19 18:52:36 +02:00
Andy Maloney 37a2a5a997 Ensure FileAccessBuffered structs are properly initialized 2020-06-19 11:36:28 -04:00
Yuri Roubinsky 868781603a
Merge pull request #34305 from Chaosus/vs_sampler_improvements
Added Texture2DArray support to visual shaders
2020-06-19 18:09:21 +03:00
Yuri Roubinsky cb9cbf840d Added Texture2DArray support to visual shaders 2020-06-19 18:02:05 +03:00
Rémi Verschelde ac2c143420
Merge pull request #39665 from Sl3dge78/animation_save_name
Autofilled path gets set properly on animation subresources saving
2020-06-19 16:46:08 +02:00
Rémi Verschelde 08ef0aab16 Export: Rename 'Windows Universal' to 'UWP'
It's otherwise too easy to be confused between 'Windows Desktop' (Win32)
and 'Windows Universal' (UWP).
2020-06-19 16:31:28 +02:00
Yuri Roubinsky 636a9d9f50 Implemented global const array to shaders 2020-06-19 16:04:54 +03:00
Rémi Verschelde 1cd8e835be
Merge pull request #39659 from asmaloney/macos-command-backspace
[macOS] Command-backspace in line edit
2020-06-19 13:19:39 +02:00
Rémi Verschelde 3eab3c10b5
Merge pull request #39641 from akien-mga/mono-always-define-options
Mono: Always define options in main.cpp to keep them in docs
2020-06-19 12:53:33 +02:00
Rémi Verschelde a8132b2fab
Merge pull request #33235 from nekomatata/rich-text-label-fit-height
Option in RichTextLabel for height to fit content
2020-06-19 12:52:25 +02:00
Rémi Verschelde 73a1c6475e
Merge pull request #37231 from Calinou/rename-osx-ios-bundle-identifier
Rename "Identifier" to "Bundle Identifier" in macOS/iOS export presets
2020-06-19 10:33:34 +02:00
Hugo Locurcio fdb89a3f9a Rename "Identifier" to "Bundle Identifier" in macOS/iOS export presets
"Bundle Identifier" is more well-understood among macOS and iOS
developers and is less ambiguous.

This is a slight breaking change as export presets will need to be
updated to account for this change.

See https://github.com/godotengine/godot-docs/pull/3295.
2020-06-19 09:59:38 +02:00
Paul Joannon 183dc04d70 [mono] implement generics GetNodesInGroup 2020-06-19 08:49:24 +02:00
Rémi Verschelde 9562fb900e
Merge pull request #39629 from MichaelBelousov/dont-slice-longs-to-mono
Dont slice 64-bit integers marshaled to mono in dynamic contexts
2020-06-19 07:50:34 +02:00
Sl3dge78 d731f43794 Autofilled path gets set properly on animation subresources 2020-06-19 01:22:36 +02:00
Andy Maloney 7433c9d40c [macOS] Command-backspace in line edit
Make command-backspace in line edit work like other macOS applications.

If there is a selection, command-backspace deletes the selection.

If there isn't a selection, command-backspace deletes from the cursor to the beginning of the line edit.

This addresses part of godotengine/godot#23548
2020-06-18 17:45:40 -04:00
unknown d191a8b9f8 adding check for syskeydown on control and alt 2020-06-18 14:36:22 -07:00
Sl3dge78 95cd74fc4b Fix #20467. The "Anim imported" warning gets displayed properly when working on imported anims. 2020-06-18 23:12:22 +02:00
Rémi Verschelde 2b6bbf8dce Mono: Always define options in main.cpp to keep them in docs
Otherwise generating docs with non-Mono builds removes them,
which is not so convenient for the documentation work.
2020-06-18 12:06:24 +02:00
Rémi Verschelde 4e0f31a67c
Merge pull request #39638 from mrushyendra/editor_preview
Fix editor texture preview for certain specific dimensions
2020-06-18 11:59:45 +02:00
Rémi Verschelde dfa5f88c11 doc: Fix rebase error from #39589 2020-06-18 11:34:10 +02:00
Rémi Verschelde e9288ed0fb
Merge pull request #39589 from Calinou/doc-csharp-classes
Document Mono-specific classes
2020-06-18 11:25:05 +02:00
Maganty Rushyendra c7a8dc7bb9 Fix editor texture preview for certain specific dimensions
Ensures no error is issued when attempting to preview a resource that
may be scaled down to <1 pixel when resizing to fit the thumbnail.
2020-06-18 17:21:42 +08:00
Hugo Locurcio 24a8d43272 Document Mono-specific classes
This fully documents all Mono-specific classes.
2020-06-18 10:32:34 +02:00
Rémi Verschelde e54031cf1a
Merge pull request #39614 from hinlopen/fix-search-highlight
Search result highlights follow font size
2020-06-18 10:02:05 +02:00
Rémi Verschelde a8fce16b2f
Merge pull request #39626 from bojidar-bg/x-tileset-editor-crash
Fix a random crash in the TileSet editor
2020-06-18 09:55:03 +02:00
Rémi Verschelde 47eb607cc3
Merge pull request #39625 from Calinou/editor-freelook-restore-mouse-position
Restore previous mouse position when leaving the editor freelook mode
2020-06-18 09:51:56 +02:00
Michael Belousov 60fcefba69 return boxed long when marshalling a godot int to mono runtime in dynamic contexts 2020-06-17 17:16:17 -04:00
Bojidar Marinov 7850d0316f
Fix a random crash in the TileSet editor
Occurred when selecting polygon collision mode, then drawing a single point, then selecting rectangle mode, and finally trying to select a rectangle.
2020-06-17 22:08:51 +03:00
Hugo Locurcio 4a542e0007
Restore previous mouse position when leaving the editor freelook mode
- Remove the crosshair as it no longer serves a purpose (the cursor will
  now appear where the user "expects" it to).

This closes https://github.com/godotengine/godot-proposals/issues/1076.
2020-06-17 20:02:46 +02:00
Rémi Verschelde d341181f30
Merge pull request #38067 from ThakeeNathees/elif-error-line-fixed
GDScript debugger incorrect error line fixed
2020-06-17 19:17:44 +02:00
Thakee Nathees 9325671faa GDScript debugger incorrect error line fixed
if the first line of an else or an elif throws a runtime error the
debugger shows incorrect line number.
2020-06-17 21:24:01 +05:30
Rémi Verschelde 84e7552f83
Merge pull request #39622 from akien-mga/docdata-skip-empty-scripting-langs-builtins
DocData: Skip language-specific ClassDoc without methods/constants
2020-06-17 15:52:15 +02:00
Rémi Verschelde ba0db95909 DocData: Skip language-specific ClassDoc without methods/constants
Removes the useless `@C#`, `@NativeScript` and `@VisualScript` entries.
2020-06-17 15:09:07 +02:00
Rémi Verschelde 7cde0e4ab9
Merge pull request #39611 from aaronfranke/t2d-rot-atan2
Simplify and fix Transform2D get_rotation
2020-06-17 13:04:30 +02:00
Aaron Franke 0fa478a050
Simplify Transform2D get_rotation 2020-06-17 01:00:42 -04:00
Stijn Hinlopen a86521d0bd Search result highlights follow font size 2020-06-17 00:53:23 +02:00
Rémi Verschelde 02f7908d46
Merge pull request #39598 from mrushyendra/replace_selection
Fix code editor Replace tool to work with 'Selection Only' option
2020-06-16 22:44:30 +02:00
Rémi Verschelde fa01e666d2
Merge pull request #39542 from Ev1lbl0w/feature/kill-pid
Allow Godot to kill its own PID
2020-06-16 20:49:00 +02:00