Rémi Verschelde
3dc63a710f
Merge pull request #21469 from akien-mga/glsl-clang-format
...
Style: Enable clang-format on GLSL shaders
2018-08-27 10:12:24 +02:00
Rémi Verschelde
ddfef86836
Fix build after c2a9cb34
...
`return` statements were missing, and those warnings do not need to be
behind #ifdefs, they do not expose any deprecated API.
2018-08-27 10:10:40 +02:00
Rémi Verschelde
2131f101b6
Merge pull request #21470 from elasota/fix-tiled-exr
...
Fix tiled EXR import
2018-08-27 09:46:57 +02:00
elasota
4b7885fb1e
Fix tiled EXR crash, update tinyexr to head to fix corrupted uncompressed EXR loading
2018-08-27 02:52:12 -04:00
Rémi Verschelde
98cc2ce1dd
Merge pull request #21433 from AndreaCatania/megafix
...
Multiple fixes on Physics things
2018-08-27 07:46:40 +02:00
Rémi Verschelde
4226d56ca9
Style: Enable clang-format on GLSL shaders
...
As of clang-format 6.0.1, putting the `/* clang-format off */` hint
around our "invalid" `[vertex]` and `[shader]` statements isn't enough
to prevent a bogus indent of the next comments and first valid statement,
so we need to enclose that first valid statement in the unformatted chunk.
2018-08-27 07:34:14 +02:00
Leon Krause
92b259ccf1
Fix WebM module for HTML5 platform
2018-08-27 04:08:04 +02:00
Ignacio Etcheverry
db55d8a4b6
Merge pull request #21423 from exts/mono/collections
...
[Mono] Added Collections namespace to Array & Dictionary
2018-08-26 19:11:45 +02:00
George Marques
de45b18ddb
GDScript: Remove space before colon on type hints
2018-08-26 13:43:13 -03:00
George Marques
4b974a36b7
GDScript: Allow `is` operator to test built-in types
2018-08-26 13:31:23 -03:00
Andrea Catania
64b5eaf43c
Correctly set safe_motion on cast_motion query Fixes : #21212
2018-08-26 12:09:52 +02:00
Andrea Catania
c2a9cb343b
Added deprecated to joints un/used parameters
2018-08-26 09:10:30 +02:00
Crazy-P
e4af39cbc0
Fixes several resource leaks in ...
...
- gdscript
- gdscript_compiler
- regex
- android/export
- gles3/rasterizer (scene and storage)
2018-08-26 09:19:02 +08:00
exts
035d498af2
Added Collections namespace to Array & Dictionary
2018-08-25 17:19:37 -05:00
elasota
de2a36505a
Fix mipmap levels not being initialized
2018-08-25 17:22:53 -04:00
Juan Linietsky
8c435a343e
Merge pull request #16927 from neikeq/rework-refcount-notify
...
Notify instance binding data api of refcount increment/decrement
2018-08-25 11:01:55 -03:00
Rémi Verschelde
77185aaf21
Merge pull request #21049 from AndreaCatania/joints
...
Improved 6DOF joint implementation
2018-08-24 17:10:54 +02:00
Ignacio Etcheverry
d72a281468
Merge pull request #20717 from PJB3005/18-08-04-godot-exceptions
...
Fix Mono exception handling.
2018-08-24 16:27:43 +02:00
Ignacio Etcheverry
750f128a05
Merge pull request #20707 from aaronfranke/mono-combine
...
[Mono] Move several related small files
2018-08-24 15:53:38 +02:00
Poommetee Ketson
cee6d5620a
Deprecating bit flags export with no hint text
2018-08-24 20:46:04 +07:00
Rémi Verschelde
52466d57e9
Make some debug prints verbose-only, remove others
2018-08-24 14:59:01 +02:00
Rémi Verschelde
de59fe04e7
Add print_verbose to print to stdout only in verbose mode
...
Equivalent of the cumbersome:
if (OS::get_singleton()->is_stdout_verbose())
print_line(msg);
2018-08-24 09:23:20 +02:00
Kelly Thomas
a941684590
mono: Quat - add some missing constructors and methods
2018-08-24 07:56:54 +08:00
Pieter-Jan Briers
af39684885
Fix Mono exception handling.
...
First of all, this fixes the handling of exceptions so the engine actually notices them,
it was broken in 4172fa03b5
.
Next, unhandled exceptions now do NOT cause an abort(). They're logged now,
so before #16987 . The pending exception thing still works though.
2018-08-23 20:21:36 +02:00
Aaron Franke
514856d8c7
[Mono] Move several small related files
2018-08-23 12:50:04 -04:00
Kelly Thomas
46207ae7aa
[Mono] AABB - Position, Size, End setters, Rect2 - End setter
2018-08-23 23:45:18 +08:00
Rémi Verschelde
7f8f76ffbb
Merge pull request #21301 from elasota/multithread-cvtt
...
Multithread BPTC compression jobs
2018-08-23 09:33:47 +02:00
Rémi Verschelde
18e1268cd7
Merge pull request #21254 from YeldhamDev/tile_grid_map_side
...
Add option to move Tile/GridMap editors to another side
2018-08-23 09:04:12 +02:00
Rémi Verschelde
1e729630d6
Merge pull request #21240 from aaronfranke/mono-project-vector
...
[Mono] Vector2/3 Project methods
2018-08-23 08:59:26 +02:00
Rémi Verschelde
a2acbb0bfb
Merge pull request #21167 from elasota/squish-quality-config
...
Support higher-quality S3TC compression modes
2018-08-23 08:58:44 +02:00
elasota
8c4e24862b
Multithread CVTT compression jobs
2018-08-22 22:42:22 -04:00
Ignacio Etcheverry
908a30964a
Notify instance binding data api of refcount increment/decrement
2018-08-23 01:38:48 +02:00
Michael Alexsander Silva Dias
6fa1b5eca7
Add option to move Tile/GridMap editors to another side
2018-08-22 19:18:23 -03:00
Rémi Verschelde
61f15878de
Merge pull request #21283 from YeldhamDev/gridmap_meshlib_rename
...
Rename instances of the word "theme" to "mesh_library" in GridMap and MeshLibrary editors
2018-08-22 22:41:40 +02:00
Ignacio Etcheverry
980b81dd2a
Merge pull request #21174 from KellyThomas/c-sharp-feature-parity-rect2
...
[Mono] Rect2 - add Abs(), rename private fields
2018-08-22 22:34:45 +02:00
Rémi Verschelde
d9cad85f43
Merge pull request #21229 from marcelofg55/ns_profiling
...
Implemented profiling functions for NativeScript
2018-08-22 22:27:42 +02:00
Michael Alexsander Silva Dias
5c6be1aea5
Rename instances of the word "theme" to "mesh_library" in GridMap and MeshLibrary editors
2018-08-22 16:52:38 -03:00
Marcelo Fernandez
a323b7a1ba
Implemented profiling functions for NativeScript
2018-08-22 15:40:41 -03:00
Aaron Franke
434973fb83
[Mono] Vector2/3 Project methods
2018-08-22 13:27:35 -04:00
elasota
4cd866685e
Use cluster fit at higher quality levels
2018-08-22 12:05:25 -04:00
Rémi Verschelde
3573d5f4ae
Merge pull request #21281 from elasota/fix-squish-sse
...
Fix Squish SSE misconfiguration
2018-08-22 09:55:57 +02:00
Rémi Verschelde
a6979e7c66
Merge pull request #21279 from vnen/gdscript-fixes
...
Assorted GDScript fixes
2018-08-22 09:53:52 +02:00
elasota
35f6ba5c5d
BPTC support
2018-08-21 22:56:04 -04:00
elasota
04410346bb
Fix Squish SSE misconfiguration
2018-08-21 22:21:56 -04:00
George Marques
94d662ad55
GDScript: Ignore unused arguments/local vars that start with _
...
Makes it simple to ignore particular arguments without adding special
comments, especially in engine-defined functions.
2018-08-21 20:29:43 -03:00
George Marques
4d2b9a4b35
GDScript: Show warning messages only on debugger
...
Don't show on console/output anymore.
2018-08-21 20:29:33 -03:00
Ignacio Etcheverry
143c471eff
Mono: Fix weird crash when loading corlib
2018-08-22 00:49:38 +02:00
Ignacio Etcheverry
5df91099c7
Merge pull request #18502 from space-wizards/18-04-29-assembly-load-hook
...
assembly_load_hook fallback for registering GDMonoAssemblies.
2018-08-22 00:27:35 +02:00
Rémi Verschelde
404ee1a56b
Style: Fix issues that went past CI
2018-08-21 21:28:06 +02:00
Rémi Verschelde
a319d72071
Merge pull request #21253 from aaronfranke/plane-constants
...
Rename Plane constants, add to Mono
2018-08-21 21:16:41 +02:00
Rémi Verschelde
28e9aedbdd
Merge pull request #21267 from akien-mga/color-grayscale
...
Deprecate incorrect Color::gray()
2018-08-21 20:29:56 +02:00
George Marques
fdf18a4198
GDScript: Fix undefined behavior on GDScriptTokenizerBuffer
2018-08-21 13:54:52 -03:00
Andrea Catania
0b98834b77
Added ray / shape / point / motion / rest cast exclusion of area and or body
2018-08-21 18:51:08 +02:00
George Marques
abbdb9d951
GDScript: Forbid invalid identifiers in match bindings
...
Also forbid shadowing a variable from an upper scope.
2018-08-21 13:38:18 -03:00
George Marques
d97624e295
GDSCript: Fix cyclic class dependency detection
2018-08-21 13:14:11 -03:00
Rémi Verschelde
2969dffbe3
Deprecate incorrect Color::gray()
...
This average is not a proper approximation of a grayscale value,
get_v() is better suited for that.
If we want a real to_grayscale() conversion, it's somewhat more
involved: https://en.wikipedia.org/wiki/Grayscale
Remove the deprecated Gray() from C# bindings as it conflicts
with new named color constants.
2018-08-21 17:48:31 +02:00
Rémi Verschelde
912131fe03
Merge pull request #20101 from panzergame/shape_margin
...
Expose bullet shape margin to UI.
2018-08-21 16:17:11 +02:00
Aaron Franke
a986686ac4
Rename Plane constants, add to Mono
...
But I'm not tagging PR as [Core] or [Mono] due to it being a minor change anyway.
2018-08-21 01:35:07 -04:00
Rémi Verschelde
4ea3e4f551
doc: Sync classref with current source
2018-08-21 00:35:46 +02:00
Juan Linietsky
d88d0d457d
Fixes to move and slide and ray separation, implement separation in Godot physics
2018-08-20 17:31:55 -03:00
Juan Linietsky
1b66b08fdb
Merge pull request #20908 from AndreaCatania/kiSlope
...
Improved move_and_slide function stay on slope
2018-08-20 13:24:28 -03:00
Rémi Verschelde
661c9ece7c
Add PROPERTY_HINT_PLACEHOLDER_TEXT for String properties
...
Use it to provide a better example for application identifiers
on Android, iOS and macOS, where users thought they *had* to use
this as a magic token.
2018-08-20 13:48:05 +02:00
Rémi Verschelde
789d1f2e07
Merge pull request #21208 from jmca/master
...
Prevent "cannot use a string pattern on a bytes-like object"
2018-08-20 09:30:01 +02:00
Justin Abene
c6a4ca5c9e
Prevent "cannot use a string pattern on a bytes-like object"
...
Fixes #21207
2018-08-20 00:42:47 -04:00
John Teasdale
7323f7998b
Bullet picking will now ignore objects without input_ray_pickable
2018-08-19 13:14:12 -07:00
Hugo Locurcio
649c3bee3b
Highlight multiline strings as strings instead of comments
...
Since multiline comments are not officially supported in GDScript, it is
more common to see multiline strings being used as strings rather than
as comments (which are actually standalone expressions here).
This closes #21142 .
2018-08-19 13:47:57 +02:00
Andrea Catania
0010d9c82a
Added ray shape and move_and_slide with snapping on 3D.
...
Added stop_on_slope on 2d part
2018-08-19 13:45:23 +02:00
Kelly Thomas
792a8446ac
mono: add Abs() to Rect2 and rename private fields
2018-08-19 19:18:12 +08:00
Andrea Catania
9826456f2e
Improved move_and_slide function to stay on slope and fall on steep slope
2018-08-18 15:11:51 +02:00
Ignacio Etcheverry
7287300433
Mono: Improve C# core files (glue/cs_files) buildsystem
...
- Search C# files recursively in 'glue/cs_files'.
- Determine a version for the C# core files automatically. The latest modified time will do for now.
2018-08-17 13:51:55 +02:00
Rémi Verschelde
968b31e971
Merge pull request #20561 from willnationsdev/script-class-ns
...
Add NativeScript support for script classes via exported script properties.
2018-08-16 20:03:49 +02:00
Rémi Verschelde
333999c24f
Fix Theora/Webm loaders declaring binary extension
...
RES_BASE_EXTENSION is only to declare our proprietary binary formats
(e.g. "scn", "res", etc.).
Fixes #20395 .
2018-08-16 19:17:24 +02:00
Tristan Porteries
e5bfa98d0f
Expose bullet shape margin to UI.
...
The margin value is exposed into the UI for shape ressource.
This value can be modified through set_margin and get from get_margin
or by using the property margin. Each time the margin is modified
the associated collision shape is recreated and the margin value is
used in ShapeBullet::prepare.
2018-08-16 16:58:15 +02:00
Bastiaan Olij
4194581823
Delay initialising lens distortion shader so GLES2 doesn't crash
2018-08-16 20:42:47 +10:00
Andrea Catania
a12e3bab23
Improved 6DOF joint implementation, and removed useless function from cone joint
2018-08-15 18:14:32 +02:00
willnationsdev
05f717376b
Add NativeScript support for script classes.
2018-08-15 10:58:13 -05:00
Will Nations
3ed9231117
Fix error spam from loading script class icons
2018-08-15 10:17:28 -05:00
Rémi Verschelde
040c6be426
Merge pull request #20560 from willnationsdev/class_icons
...
Add custom icons to script classes.
2018-08-15 15:16:29 +02:00
Rémi Verschelde
4548ec4a49
Merge pull request #20945 from neikeq/dict-erase-retbool
...
Dictionary: remove erase_checked(key), make erase(key) return bool
2018-08-15 01:08:23 +02:00
Juan Linietsky
4e55835e48
Merge pull request #18096 from aaronfranke/master
...
[Core] Split up math_2d.h
2018-08-14 18:58:32 -03:00
Will Nations
6d9cc032e7
Add custom icons to script classes.
2018-08-14 14:18:05 -05:00
Rémi Verschelde
b4f579b5ba
Merge pull request #20583 from neikeq/issue-15371
...
Fix case where exported properties value is lost
2018-08-14 21:08:56 +02:00
Kelly Thomas
815d08f10c
mono: add constants to transform and vector structs
2018-08-15 02:03:36 +08:00
Ignacio Etcheverry
21d285e30f
Dictionary: remove erase_checked(key), make erase(key) return bool
2018-08-14 19:19:05 +02:00
Ignacio Etcheverry
d7b9fcd336
Merge pull request #20890 from KellyThomas/mono-is-instance-valid
...
mono: add IsInstanceValid(), move WeakRef()
2018-08-14 18:12:18 +02:00
Kelly Thomas
9341129d14
mono: add IsInstanceValid(), move WeakRef()
2018-08-14 15:48:54 +08:00
Rémi Verschelde
695b8d254e
SCons: Fix mono_root initialization
...
As advised by @neikeq.
2018-08-14 08:55:37 +02:00
Ignacio Etcheverry
c4e75aa63a
Merge pull request #20706 from mysticfall/issue-20705
...
Add missing GetPtr() for Dictionary<> and Array<>
2018-08-13 22:37:09 +02:00
Rémi Verschelde
139e621338
Merge pull request #20913 from pulkomandy/master
...
Rebase patches for fixing haiku build.
2018-08-13 21:26:15 +02:00
Teashrock
51a0a38135
Fixed absent variable exception while trying to raise another exception.
2018-08-13 16:28:28 +02:00
Chaosus
179e15f876
Remove usage console spam
2018-08-13 16:51:17 +03:00
Rémi Verschelde
68ab428d4d
Merge pull request #20155 from Tunous/line-edit-clear
...
Add clear button to search fields
2018-08-13 12:54:57 +02:00
Adrien Destugues
a294a842cb
Rebase patches for fixing haiku build.
2018-08-11 17:20:51 +02:00
Juan Linietsky
b6b1d14ca1
Merge pull request #20753 from Faless/ws_fix
...
Fix WebSocket crash due to non PDO init after CowData PR
2018-08-11 09:45:12 -03:00
Łukasz Rutkowski
81fb81de9d
Do not use theme to set LineEdit right_icon
2018-08-11 12:04:26 +02:00
Łukasz Rutkowski
e8a435c8cd
Add clear text button to LineEdit
...
- Add pressed state to clear button
- Enable clear button on all inputs with search icon
- Remove duplicate clear buttons
- Fix rendering of icon for center and right alignments
- Add clear button to more search fields
- Add clear icon to default theme
- Add method to control enabled state of clear button
- Add property to enable clear button from inspector
2018-08-11 12:04:26 +02:00
Aaron Franke
cf136a91d6
[Core] Completely kill math_2d.h, change includes
2018-08-11 03:08:34 -05:00
Aaron Franke
28fc195339
[Core] Change math_2d includes to vector2 includes where relevant
2018-08-10 14:59:29 -05:00
George Marques
eb48119821
Added system for GDScript warnings
...
- Count and panel per script.
- Ability to disable warnings per script using special comments.
- Ability to disable warnings globally using Project Settings.
- Option to treat enabled warnings as errors.
2018-08-10 16:00:47 -03:00
Juan Linietsky
ea3d997f9d
Revert "added get_creation_time function for gdscript"
2018-08-10 13:29:49 -03:00
Juan Linietsky
275e0d5ee4
Merge pull request #18914 from notwarp/master
...
added get_creation_time function for gdscript
2018-08-10 13:28:47 -03:00
Juan Linietsky
c76f444c4e
Merge pull request #14704 from poke1024/colorconstants
...
Allow some non-integer built-in constants in gdscript
2018-08-10 12:57:20 -03:00
JFonS
59fd18ab1a
New gizmo structure and new gizmo disabling menu
2018-08-09 20:58:39 +02:00
Juan Linietsky
14fd797c53
Merge pull request #20381 from AndreaCatania/phymat_2
...
Improved Physics material
2018-08-07 15:31:26 -03:00
Andrea Catania
5e65e28eed
Removed physics material combination mode. Added rough and absorbent parameter to material. Fixed 'change' signal connection
2018-08-07 19:38:04 +02:00
Juan Linietsky
edde52c8de
Added proper import support for 3D and Array textures
2018-08-06 14:56:06 -03:00
Fabio Alessandrelli
6a57f29573
Fix WebSocket crash due to non PDO init.
...
Move RingBuffer (and few related vars) to LWSPeer.
2018-08-06 03:47:02 +02:00
Juan Linietsky
c41397596d
Merge pull request #20693 from AndreaCatania/soft_fix2
...
Fixed SoftBody pinned point offset calculation
2018-08-04 09:10:57 -03:00
Xavier Cho
5d2c239772
Add missing GetPtr() for Dictionary<> and Array<>
...
Add missing GetPtr() method for generic versions of Dictionary
and Array to fix #20705 .
2018-08-04 14:34:55 +09:00
Ignacio Etcheverry
b911165679
Merge pull request #20600 from exts/new_generic_methods
...
Mono: Added generic methods for PackedScene & ResourceLoader
2018-08-04 05:22:38 +02:00
exts
cdb4ae471b
Added generic method for ResourceLoader: Load<T>()
2018-08-03 13:40:42 -05:00
Andrea Catania
b469267d94
Fixed SoftBody pinned point offset calculation
2018-08-03 17:44:09 +02:00
Ignacio Etcheverry
3fa2404a79
Merge pull request #20644 from NickToony/master
...
Fixed Windows mono compile
2018-08-01 03:52:46 +02:00
Nick Hope
24b4694313
fixed: windows mono compile ( #20598 )
...
tidy: formatting.
2018-07-31 21:16:47 +01:00
Ignacio Etcheverry
ccce161d0e
Merge pull request #20639 from neikeq/issue-20531-and-cleanup
...
Mono: Fix property set_value and cleanup
2018-07-31 20:10:04 +02:00
Ignacio Etcheverry
4172fa03b5
Mono: Fix property set_value and cleanup
2018-07-31 19:49:16 +02:00
Bernhard Liebl
ba974b8d1e
Allow some non-integer built-in constants in gdscript
2018-07-31 17:56:48 +02:00
Ignacio Etcheverry
f3c7527225
Fix case where exported properties value is lost
...
Fixes exported property modified values lost when creating a placeholder script instance with a failed script compilation
- Object set/get will call PlaceHolderScriptInstance's new fallback set/get methods as a last resort. This way, placeholder script instances can keep the values for storage or until the script is compiled successfuly.
- Script::can_instance() will only return true if a real script instance can be created. Otherwise, in the case of placeholder script instances, it will return false.
- Object::set_script(script) is now in charge of requesting the creation of placeholder script instances. It's no longer Script::instance_create(owner)'s duty.
- PlaceHolderScriptInstance has a new method set_build_failed(bool) to determine whether it should call into its script methods or not.
- Fixed a few problems during reloading of C# scripts.
2018-07-29 22:40:12 +02:00
Hein-Pieter van Braam
0deb8dda51
Fix Mono compilation on Windows/Ming
...
(cherry picked from commit 83140541dc
)
2018-07-29 22:31:38 +02:00
Rémi Verschelde
d8e1cd7a10
mbedtls: Update to upstream version 2.12.0
...
_WIN32_WINNT redefinition fix is no longer needed as it was merged
upstream. PR 1453 is still not merged, diff updated to current state.
2018-07-28 11:16:58 +02:00
Rémi Verschelde
4488bb9956
Merge pull request #20463 from fire/vs_expand_hints_to_virtual_func
...
Visualscript: Carry property hint and hint string through to Visualscript virtual funcs
2018-07-28 09:49:23 +02:00
Rémi Verschelde
66429a1576
Merge pull request #17595 from viktor-ferenczi/issue-5042-subproc
...
Running builder (content generator) functions in subprocesses on Windows
2018-07-28 09:20:50 +02:00
K. S. Ernest (iFire) Lee
2650b87102
Carry property hint and hint string through to Visualscript virtual functions.
2018-07-27 13:12:34 -07:00
Rémi Verschelde
aecc3a444b
Merge pull request #20457 from fire/vs_generic_search_crash_and_connecting
...
Visualscript: misc generic search changes
2018-07-27 21:38:11 +02:00
Viktor Ferenczi
c5bd0c37ce
Running builder (content generator) functions in subprocesses on Windows
...
- Refactored all builder (make_*) functions into separate Python modules along to the build tree
- Introduced utility function to wrap all invocations on Windows, but does not change it elsewhere
- Introduced stub to use the builders module as a stand alone script and invoke a selected function
There is a problem with file handles related to writing generated content (*.gen.h and *.gen.cpp)
on Windows, which randomly causes a SHARING VIOLATION error to the compiler resulting in flaky
builds. Running all such content generators in a new subprocess instead of directly inside the
build script works around the issue.
Yes, I tried the multiprocessing module. It did not work due to conflict with SCons on cPickle.
Suggested workaround did not fully work either.
Using the run_in_subprocess wrapper on osx and x11 platforms as well for consistency. In case of
running a cross-compilation on Windows they would still be used, but likely it will not happen
in practice. What counts is that the build itself is running on which platform, not the target
platform.
Some generated files are written directly in an SConstruct or SCsub file, before the parallel build starts. They don't need to be written in a subprocess, apparently, so I left them as is.
2018-07-27 21:37:55 +02:00
Rémi Verschelde
33f1ca89a5
Merge pull request #20462 from fire/vs_don't_typeguess_nil
...
Visualscript: Don't type guess on nil and set default type to ""
2018-07-27 21:37:46 +02:00
Ignacio Etcheverry
92c59384ec
Merge pull request #17720 from paulloz/custom-csharp-glue
...
[mono] Generic Typed GetNode, GetChild, etc.
2018-07-27 18:47:19 +02:00
Bastiaan Olij
8a914f17b0
Fixed nativescript getter and setter logic
2018-07-27 23:45:29 +10:00
Bastiaan Olij
03d02e88fc
Reenabled module and fixed missing const
2018-07-27 18:43:50 +10:00
Paul Joannon
877ea882ce
Add missing methods to Node class in the mono glue
...
* GetNodeOrNull<T>
* GetChild<T>
* GetChildOrNull<T>
* GetOwner<T>
* GetOwnerOrNull<T>
* GetParent<T>
* GetParentOrNull<T>
2018-07-27 08:50:35 +02:00
George Marques
e8da2a60b3
GDScript: Fix parse error in string formatting
2018-07-26 10:52:11 -03:00
K. S. Ernest (iFire) Lee
607e5b7c95
Visualscript: Don't type guess on nil.
2018-07-26 06:39:36 -07:00
Rémi Verschelde
ef93fec789
Merge pull request #15643 from organicpencil/bullet_contact_impulse
...
Expose PhysicsDirectBodyState.get_contact_impulse
2018-07-26 15:36:37 +02:00
K. S. Ernest (iFire) Lee
00519debbe
Visualscript fix crash and generic search does not connect ports.
...
* Signal change requires function changes to _selected_new_virtual_method
2018-07-26 06:18:23 -07:00
Rémi Verschelde
96d37769d9
Merge pull request #20468 from vnen/typed-gds-fixes
...
General GDScript fixes
2018-07-26 13:48:37 +02:00
Rémi Verschelde
10af1b3444
Merge pull request #20477 from swarnimarun/vs_duplicate_fix
...
Fix Visual Script duplicate issue
2018-07-26 12:57:55 +02:00
Rémi Verschelde
391e46830f
doc: Sync classref with current source
...
Fix various missing arguments in bindings.
2018-07-26 11:56:21 +02:00
Rémi Verschelde
47a7dc7b3c
Merge pull request #18282 from aaronfranke/better-mathf
...
[Core] [Mono] Fix Color missing int export methods, added 64-bit
2018-07-26 10:48:47 +02:00
Swarnim Arun
b893dc2028
Fix Visual Script duplicate issue
2018-07-26 14:01:48 +05:30
George Marques
0b78e4f9e3
GDScript: Add type inference syntax for function arguments
2018-07-25 21:06:35 -03:00
George Marques
7db7b43cb0
GDScript: Fix type detection for String formatting operator
2018-07-25 20:50:13 -03:00
George Marques
aeb0b3114d
GDScript: Fix type detection on Object typed assign
...
Also make typed assigns a debug-only thing, so release builds are more
lenient on errors.
2018-07-25 20:50:12 -03:00
George Marques
a3ae4a9510
GDScript: Allow accessing constants of outer classes
2018-07-25 20:50:12 -03:00
George Marques
a62f4af7ba
GDScript: Enable built-in function introspection in non-tools
...
Only for debug builds. Fix problems in non-tools targets.
2018-07-25 20:50:12 -03:00
George Marques
3d6609303b
GDScript: Fix bogus error when a cursor token is found on class
2018-07-25 20:50:12 -03:00
George Marques
1ac9c0fe3a
GDScript: Allow strict conversion when assigning typed variables
2018-07-25 20:50:12 -03:00
George Marques
96ee93e8c7
GDScript: Fix mismatching between export hint and type hint
2018-07-25 20:50:12 -03:00
George Marques
4cb17191b8
GDScript: Allow inherited method to add optional arguments
...
Also show the parent method signature in the error message.
2018-07-25 20:50:11 -03:00
George Marques
cd6ad5462c
GDScript: Fix returned value of get_default_argument_count()
2018-07-25 20:50:11 -03:00
George Marques
65c069c8d9
GDScript: Fix main script detection
2018-07-25 20:50:11 -03:00