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
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
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
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
Rémi Verschelde
7a941b11d2
Merge pull request #34898 from veryprofessionaldodo/33420
...
Recent Nodes now respect Editor Profiles #33420
2020-01-08 16:06:47 +01:00
Rémi Verschelde
5e4d465356
Merge pull request #34913 from akien-mga/main-add-export-pack
...
Export: Add dedicated --export-pack option to export data pack
2020-01-08 15:43:44 +01:00
George Marques
899f7999b4
GDScript: properly set type of local variable initialization
...
Properly sets the type of the identifier for the local variable
that is stored in the assignment operation. This makes sure that the
compiler is aware of typing for local variables when they are
initialized with the declaration.
2020-01-08 11:36:50 -03:00
Tomasz Chabora
97273ce378
Check if resource exists before loading
2020-01-08 15:24:43 +01:00
veryprofessionaldodo
d88f620c52
Recent Nodes now respect Editor Profiles
2020-01-08 14:23:36 +00:00
Rémi Verschelde
7c29ce4375
Export: Add dedicated --export-pack option to export data pack
...
The previous behavior relying on the provided extension was problematic
on macOS since .zip is the main extension used for the full project
export (binary + data pack).
We add a dedicated `--export-pack` command line option to define when
only the data pack should be exported. Its extension will still be
inferred from the path.
Fixes #23073 .
2020-01-08 14:57:46 +01:00
Rémi Verschelde
16f0357c8e
Merge pull request #34911 from akien-mga/export-hide-patches-tab
...
Export: Hide Patches tab until actually implemented
2020-01-08 14:55:35 +01:00
Rémi Verschelde
29e6f60d9b
Merge pull request #34910 from akien-mga/gamepad-fix-controllerdbs-order
...
Gamepad: Fix parsing order for SDL2 controller databases
2020-01-08 14:55:21 +01:00
Rémi Verschelde
b942f488b2
Merge pull request #34912 from timothyqiu/mouse-exit
...
Emits meta_hover_ended when mouse exit RichTextLabel
2020-01-08 14:54:51 +01:00
Haoyu Qiu
4293f76cf1
Emits meta_hover_ended when mouse exit RichTextLabel
2020-01-08 21:01:08 +08:00
Rémi Verschelde
ac7dc03ae4
Export: Hide Patches tab until actually implemented
...
This seems to have been left dangling during 3.0 development and was
never finished.
Hiding for now until it can be completed, otherwise we'll have to drop
it.
See #22394 .
2020-01-08 13:29:51 +01:00
Rémi Verschelde
0749906d8a
Gamepad: Fix parsing order for SDL2 controller databases
...
We were overriding values from `gamecontrollerdb.txt` (current, updated
upstream) with `gamecontrollerdb_205.txt` (legacy, SDL 2.0.5) and then
`gamecontrollerdb_204.txt` (legacy, SDL 2.0.4).
There was a comment to warn about this but it seems it did not prevent
using the wrong order for all this time...
Now `gamecontrollerdb.txt` mappings will properly override outdated
ones present in the `204` and `205` variants.
2020-01-08 12:26:53 +01:00
Rémi Verschelde
ae21664655
Merge pull request #34908 from akien-mga/gamepad-mapping-env
...
Gamepad: Parse SDL_GAMECONTROLLERCONFIG env after default mappings + sync SDL2 mappings
2020-01-08 12:22:40 +01:00
Rémi Verschelde
d374ad705d
Merge pull request #34906 from akien-mga/light-occluder-getornull
...
RasterizerCanvas: Use getornull to fetch light occluder polygon
2020-01-08 11:48:02 +01:00
Rémi Verschelde
7d0342e87d
Sync controller mappings DB with SDL2 community repo
...
Synced with gabomdq/SDL_GameControllerDB@67b49052b4 .
2020-01-08 11:45:00 +01:00
Rémi Verschelde
0584c7f094
Gamepad: Parse SDL_GAMECONTROLLERCONFIG env after default mappings
...
Addresses comment https://github.com/godotengine/godot/issues/21918#issuecomment-458764923 .
2020-01-08 11:43:44 +01:00
Rémi Verschelde
815bf761a5
RasterizerCanvas: Use getornull to fetch light occluder polygon
...
Fixes #21286 when the occluder is not fully configured.
2020-01-08 11:29:15 +01:00
Yuri Roubinsky
ed22a4c454
Merge pull request #33817 from Chaosus/vs_fresnel
...
Make Fresnel node in visual shaders to use default NORMAL/VIEW
2020-01-08 12:15:46 +03:00