Commit graph

25641 commits

Author SHA1 Message Date
cajallen 05bbbb1225 sort_custom description and example updated 2020-01-10 12:24:49 -06:00
Rémi Verschelde 4b3123104c
Merge pull request #34995 from bruvzg/macos_use_bundle_res_path
[macOS] Fix loading PCK from the .app bundle resources.
2020-01-10 18:38:33 +01:00
bruvzg d07cdc594f
[macOS] Load PCK from the .app bundle resources, instead of changing working directory. 2020-01-10 18:02:29 +02:00
Rémi Verschelde 140a31728f
Merge pull request #34957 from Calinou/add-zsh-completion
Add a zsh completion file for the Godot editor
2020-01-10 16:05:24 +01:00
Rémi Verschelde a24aa591af
Merge pull request #34991 from Calinou/doc-os-is-debug-build
Improve the `OS.is_debug_build()` documentation
2020-01-10 15:51:16 +01:00
Rémi Verschelde c460115369
Merge pull request #34992 from AndreaCatania/floor_normal
Exposed floor normal to the `kinematic body` node
2020-01-10 15:47:42 +01:00
Rémi Verschelde 60289beecc
Merge pull request #33630 from AlexHolly/android-doubleTap
Fixes Android FileDialog
2020-01-10 15:46:20 +01:00
Hugo Locurcio 74ae1ca616
Improve the OS.is_debug_build() documentation 2020-01-10 15:26:47 +01:00
Alexander Holland b1b308411a Fixes Android FileDialog
- Go up was not working, simplify was used one time too much
- Added GestureHandler
  - Added doubleTap to recognize open dir
  - Fixed scroll where sometimes the scroll jumped between start and end when pointer was outside or on the edge of the scroll area
2020-01-10 15:25:08 +01:00
Andrea Catania 9f1f4620e0 Added function to expose floor normal, useful to correctly calculate player velocity.
This work has been kindly sponsored by IMVU.
2020-01-10 14:58:19 +01:00
Hugo Locurcio 8e3e41642b
Add a zsh completion file for the Godot editor
This provides rich autocompletion when using Godot's command line
interface.
2020-01-10 14:54:04 +01:00
Rémi Verschelde 840c60a1ea
Merge pull request #34989 from akien-mga/warning-crash-handler-x11-32
Fix warning in Linux crash handler on 32-bit
2020-01-10 14:48:55 +01:00
Rémi Verschelde 673f4fabd8
Merge pull request #34962 from KoBeWi/randocs
Complete documentation of various classes
2020-01-10 14:41:30 +01:00
Rémi Verschelde 3f8c93dffe Fix warning in Linux crash handler on 32-bit 2020-01-10 14:28:21 +01:00
Tomasz Chabora 508e624b87 Complete documentation of various classes 2020-01-10 14:14:07 +01:00
Rémi Verschelde 25c024acfd
Merge pull request #33149 from Calinou/cli-scene-path-parsing-stricter
Be stricter on what's considered a scene path in CLI argument parsing
2020-01-10 13:48:28 +01:00
Rémi Verschelde f8da87c763
Merge pull request #34986 from toasteater/feature/is-instance-id-valid
Expose instance_from_id to GDNative
2020-01-10 13:32:24 +01:00
Hugo Locurcio 0218494e6b
Be stricter on what's considered a scene path in CLI argument parsing
This closes #8721.
2020-01-10 13:18:24 +01:00
toasteater 677e72d2f6 Expose instance_from_id to GDNative
This function is available to GDScript but not to GDNative. When exposed, it
allows building more ergonomic safe abstractions over the GDNative APIs, and
covers the use cases of the original PR.

Close #28478. Supersedes #28791.

Co-authored-by: Markus Ewald <cygon@nuclex.org>
2020-01-10 11:59:37 +00:00
Rémi Verschelde abefd42e84
Merge pull request #34985 from bruvzg/macos_dmg_create_folders
macOS DMG export: create folder structure for the extracted files.
2020-01-10 11:43:05 +01:00
bruvzg 9abde1626f
macOS DMG export: create folder structure for the files extracted from export template ZIP. 2020-01-10 12:28:32 +02:00
Rémi Verschelde ff173ff770
Merge pull request #34983 from Chaosus/fix_shader_switch
Fix nested break/return in shader switch statement
2020-01-10 10:47:38 +01:00
Rémi Verschelde 59a2fed1e6
Merge pull request #34938 from OverloadedOrama/fix-basebutton-button-press
Fixes BaseButton not triggering the pressed signal on "Button Press"…
2020-01-10 10:35:11 +01:00
Rémi Verschelde c51c7eb5bd
Merge pull request #34979 from timothyqiu/label-autowrap
Update minimum size on Label::set_autowrap
2020-01-10 10:34:24 +01:00
Haoyu Qiu fbd937bd30 Update minimum size on Label::set_autowrap
If `clip_text` is true, the minimum height is one line if `autowrap` is
true , or one pixel otherwise.
2020-01-10 17:08:27 +08:00
Rémi Verschelde 83d950b58e
Merge pull request #34968 from Calinou/enable-vsync-via-compositor
Enable Vsync via Compositor by default
2020-01-10 10:04:55 +01:00
Rémi Verschelde 9a81b36da1
Merge pull request #34982 from akien-mga/main-prevent-pm-in-editor
Main: Prevent Project Manager-ception in editor
2020-01-10 10:03:44 +01:00
Yuri Roubinsky 1e154e0947 Fix nested break/return in shader switch statement 2020-01-10 11:57:56 +03:00
Rémi Verschelde 5377f062d4 Main: Prevent Project Manager-ception in editor
Fixes #34904.
2020-01-10 09:48:03 +01:00
Rémi Verschelde 65446a1303
Merge pull request #34981 from timothyqiu/trim-group-name
Trims user provided group name
2020-01-10 09:37:39 +01:00
Rémi Verschelde 4bad292f20
Merge pull request #34969 from volzhs/anim-bezier
Fix inserting bezier curve in Animation editor
2020-01-10 09:36:45 +01:00
Haoyu Qiu 715c0f9dfd Trims user provided group name 2020-01-10 16:08:47 +08:00
Rémi Verschelde 4b83bbd463
Merge pull request #34937 from YeldhamDev/scriptdiag_disable_load
Add option to disable loading scripts in ScriptCreateDialog
2020-01-10 08:18:51 +01:00
Rémi Verschelde 0d2993659b
Merge pull request #34978 from GodotExplorer/lsp-fix-bracket-completion
LSP: Fix bracket completion for functions with one argument
2020-01-10 07:58:26 +01:00
Rémi Verschelde 9cae13b103
Merge pull request #34975 from YeldhamDev/tileseteditor_region_workspace_size
Fix TileSet editor's workspace size sometimes not changing correctly on region change
2020-01-10 07:52:33 +01:00
Rémi Verschelde 09aa12a0dd
Merge pull request #34958 from vnen/gdscript-is-check-valid-instance
GDScript: Validate object instance on `is` operation
2020-01-10 07:40:56 +01:00
Rémi Verschelde a126bda47b
Merge pull request #34965 from MadEqua/fix-android-exporter-manifest
Fix Android exporter manifest creation.
2020-01-10 07:35:53 +01:00
Geequlim 6190d42825 LSP: Fix bracket completion for functions with one argument 2020-01-10 14:23:01 +08:00
Rémi Verschelde 9e09704ac5
Merge pull request #32967 from groud/dont-compile-editor-only
Don't compile editor-only functions when tools=no
2020-01-10 07:18:13 +01:00
Michael Alexsander 34f1dbaf28 Fix TileSet editor's workspace size sometimes not changing correctly on region change 2020-01-10 00:57:49 -03:00
Hugo Locurcio 9600fd5dde
Enable Vsync via Compositor by default
This feature was added in #33414 but it was disabled by default.
Now that it got some testing, it's probably safe to enable it
by default.
2020-01-09 22:22:11 +01:00
volzhs 3bcedd02b2 Fix inserting bezier curve in Animation editor 2020-01-10 06:22:10 +09:00
Gilles Roudière b5251eb00f Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
Bruno Lourenço 90b49e8888 Fix Android exporter manifest creation. 2020-01-09 20:46:06 +00:00
George Marques 76678b2609
GDScript: Fix type name on error message for function parameters 2020-01-09 15:50:06 -03:00
George Marques 1aef8bfeb1
GDScript: Fix resolution of default parameter values
Fix #26556
2020-01-09 15:42:31 -03:00
George Marques 3718f8f592
GDScript: Validate object instance on is operation
Avoids crashes on debug mode. Instead it now breaks the execution and
show the error in-editor. Will still crash on release.

Also add a similar check to Marshalls to ensure the debugger doesn't
crash when trying to serialize the invalid instance.
2020-01-09 13:59:33 -03:00
Michael Alexsander 8708d44a50 Add option to disable loading scripts in ScriptCreateDialog 2020-01-09 13:09:23 -03:00
Rémi Verschelde a0ce88f953
Merge pull request #34955 from sketchyfun/camera_project_fix
Fixed camera project_position function returning the wrong x & y values
2020-01-09 15:53:15 +01:00
Ben Hickling fdd7cfa820 fixed camera project_position function that was still using the near parameter in a few calculations 2020-01-09 14:34:31 +00:00