Commit graph

25965 commits

Author SHA1 Message Date
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
Rémi Verschelde
9fa8d42dd5
Merge pull request #34953 from vnen/gdscript-index-double-eval
GDScript: Don't re-evaluate index on assigment with operation
2020-01-09 15:12:17 +01:00
George Marques
cc9ca9eb34
GDScript: Don't re-evaluate index on assigment with operation
Pass the calculated index from the stack and use the same to get and set
the value. This avoids a function with side effects being evaluated
twice when using indexing in an assignment with operation statement
(e.g. a[function()] += 1).
2020-01-09 10:43:29 -03:00
Rémi Verschelde
e97e951741
Merge pull request #34948 from vnen/gdscript-copy-constructor
GDScript: Allow copy constructor for built-in types
2020-01-09 13:42:10 +01:00
Rémi Verschelde
05a3e0e344
Merge pull request #34946 from vnen/gdscript-ternary-warning
Add GDScript warning for standalone expression
2020-01-09 13:35:54 +01:00
George Marques
41ed905c1a
GDScript: Allow copy constructor for built-in types
Those are implicitly defined in Variant.
2020-01-09 09:03:09 -03:00
Rémi Verschelde
be97c4cd48
Merge pull request #34717 from madmiraal/update-appveyor2
Use current versions of software in Appveyor.
2020-01-09 12:39:05 +01:00
Rémi Verschelde
2718179bf3
Merge pull request #34944 from akien-mga/doc-directory-preopened
Doc: Mention that Directory pre-opens res:// by default
2020-01-09 12:32:31 +01:00
George Marques
7d4fc79eb3
Add GDScript warning for standalone expression
This makes the error message clearer as it might be used to call
functions with side effects.
2020-01-09 08:30:14 -03:00
Rémi Verschelde
c6b6731857 Doc: Mention that Directory pre-opens res:// by default
This may be considered a bug, so we might change that in the future.
See #24149.
2020-01-09 10:18:48 +01:00
Rémi Verschelde
28655e16d6
Merge pull request #33426 from PucklaMotzer09/ignore_disabled_recent
Ignore the classes in the recent and favorite panels of the create dialog if they are disabled
2020-01-09 08:55:37 +01:00
Rémi Verschelde
1d304d87eb
Merge pull request #34940 from volzhs/update-main-scene-file
Update file list in split view when setting main scene
2020-01-09 08:21:26 +01:00
PucklaMotzer09
b0e4205069 Add ignoring of disabled recent and favorite classes in create 2020-01-09 08:17:06 +01:00
Rémi Verschelde
8ece49bf04
Merge pull request #34942 from timothyqiu/texture-region-handle
Fixes TextureRegion editor drag handle for HiDPI
2020-01-09 07:27:49 +01:00
Haoyu Qiu
93aa3a0126 Fixes TextureRegion editor drag handle for HiDPI
Before this fix, it's easy to miss the drag handle on a HiDPI monitor.
2020-01-09 13:45:53 +08:00
volzhs
9495229315 Update file list in split view when setting main scene 2020-01-09 09:51:31 +09:00
OverloadedOrama
bf4a0242ff Fixes BaseButton not triggering the "pressed" signal on "Button Press" Action Mode
This should fix #34935
2020-01-09 02:17:53 +02:00
George Marques
e7b7dc57fc
GDScript: set assign operation on local var made by match
This is needed in a all local variables with assigment to properly set
the typed operation.

Fix #34928
2020-01-08 19:28:07 -03:00
volzhs
f61cd51643 Don't copy script with copy params 2020-01-09 06:34:47 +09:00
Rémi Verschelde
b9a553f99d
Merge pull request #34921 from akien-mga/bullet-2.89
bullet: Sync with upstream 2.89
2020-01-08 21:17:33 +01:00
Rémi Verschelde
39b1ea5018
Merge pull request #34927 from Calinou/doc-improve-environment
Improve the Environment class documentation
2020-01-08 21:16:05 +01:00
Hugo Locurcio
afe39525fd
Improve the Environment class documentation
Co-authored-by: Clay John <claynjohn@gmail.com>
2020-01-08 20:34:57 +01:00
Rémi Verschelde
5a8107f70a
Merge pull request #34920 from GodotExplorer/lsp-signatureHelper
GDScript LSP: Implement signatureHelp
2020-01-08 18:29:39 +01:00
Rémi Verschelde
c456d87ee6
Merge pull request #34918 from vnen/gdscript-assign-op
GDScript: enable type checks on release mode
2020-01-08 18:22:38 +01:00
Rémi Verschelde
fb31283960
Merge pull request #34915 from KoBeWi/404
Check if resource exists before loading
2020-01-08 18:19:37 +01:00
Rémi Verschelde
29e07dfa4e bullet: Sync with upstream 2.89
This allows distro unbundling again for distros that ship Bullet 2.89+.
2020-01-08 18:05:43 +01:00
Rémi Verschelde
98222130bf
Merge pull request #34919 from akien-mga/export-fix-leak-34911
Export: Fix leak or orphaned Controls after #34911
2020-01-08 18:04:13 +01:00
geequlim
d35c018a7a GDScript LSP: Implement signatureHelp
Enable smart resolve default to true as it is required for script symbol lookup
2020-01-09 00:57:54 +08:00
Rémi Verschelde
656cc83aa0 Export: Fix leak or orphaned Controls after #34911
They need to be hidden but still in tree.
2020-01-08 17:45:10 +01:00
Rémi Verschelde
bdcfc6d633
Merge pull request #34916 from vnen/gdscript-set-lv-assign-type
GDScript: properly set type of local variable initialization
2020-01-08 17:36:43 +01:00
George Marques
d26414f9fe
GDScript: enable type checks on release mode
Also make builtin GDScript functions report return type as Variant in
release so type is converted when needed.
2020-01-08 12:38:18 -03:00