Ignacio Roldán Etcheverry
65487ed4ed
Merge pull request #26746 from shartte/godot-trace-listener
...
Add a custom TraceListener on Startup for Mono
2019-03-08 07:05:41 +01:00
Ignacio Etcheverry
a4825c2f8b
Fix CSharpInstance::set not working with base classes
2019-03-08 00:12:19 +01:00
Rémi Verschelde
6ee3002237
Merge pull request #26773 from neikeq/issue-26628
...
Mono: Fix crash with exported field of custom Reference derived type
2019-03-07 22:54:03 +01:00
Ignacio Etcheverry
c5f8b0960a
Mono: Fix crash with exported field of custom Reference derived type
2019-03-07 22:38:31 +01:00
Ignacio Etcheverry
17a55861f1
Merge pull request #26770 from neikeq/issue-26675
...
Mono: Partially implement some Godot debug api functions
2019-03-07 22:00:59 +01:00
Ignacio Etcheverry
47407ba2df
Merge pull request #26761 from Chaosus/fix_mono_wrap
...
Fix division by zero at wrap functions in mono
2019-03-07 21:34:03 +01:00
Ignacio Etcheverry
8e2e0795bb
Mono: Partially implement some Godot debug api functions
...
Debug breaks sent with debug_break and debug_break_parse should display correctly in the Godot debugger now.
2019-03-07 21:02:57 +01:00
Sebastian Hartte
37d448fca7
Added a Godot TraceListener, which is automatically installed on startup. Fixes that Debug/Trace Assertions are simply swallowed by Godot.
2019-03-07 21:00:19 +01:00
Chaosus
752055ccba
Fix division by zero at wrap functions in mono
2019-03-07 22:57:12 +03:00
Ignacio Etcheverry
4c0b0a6bdd
Merge pull request #26765 from neikeq/issue-25959
...
Mono: Fix crash when re-using script binding after domain reloading
2019-03-07 20:50:37 +01:00
Ignacio Etcheverry
e904f814c8
Mono: Fix crash when re-using script binding after domain reloading
2019-03-07 19:55:40 +01:00
Sebastian Hartte
f8a6a6c8a2
Update scripts exports even when normal script instances are created to better support tool scripts with exported variables.
2019-03-07 18:52:43 +01:00
Rémi Verschelde
8f5d9b6391
doc: Sync classref with current source
2019-03-07 10:54:42 +01:00
Anish
978c2a604a
Fixed crash on loading GDNative videos.
...
Fixed issue with loading a resource supported by the gdnative videodecoders
that does not exist.
2019-03-06 22:56:36 +01:00
Rémi Verschelde
64923ff277
Merge pull request #26713 from neikeq/print-msbuild-command
...
Print MSBuild command if also printing output
2019-03-06 18:22:57 +01:00
Rémi Verschelde
c67e9a4dd4
Merge pull request #26665 from bojidar-bg/19704-singleton-constants
...
Fix enums coming from other classes without preload
2019-03-06 18:20:48 +01:00
Ignacio Etcheverry
0b68677112
Print MSBuild command if also printing output
2019-03-06 17:10:14 +01:00
Ignacio Etcheverry
db7928849b
Merge pull request #26712 from neikeq/issue-26681
...
Mono: Make 'Build' button generate solution if it doesn't exist
2019-03-06 16:54:51 +01:00
Ignacio Etcheverry
c97db904a0
Mono: Make 'Build' button generate solution if it doesn't exist
2019-03-06 16:36:53 +01:00
Rémi Verschelde
97774f6f69
Merge pull request #26688 from Faless/net/lws_3.1
...
Update libwebsockets to 3.1, fix IPv6 issues
2019-03-06 14:47:37 +01:00
Fabio Alessandrelli
90210c4862
Update libwebsockets to 3.1 (plus UWP patch)
2019-03-06 02:02:52 +01:00
Ignacio Etcheverry
6492de800f
Merge pull request #26661 from neikeq/issue-17601
...
Mono: Fix array field being assigned MonoArray** instead of MonoArray*
2019-03-05 23:03:25 +01:00
Bojidar Marinov
9637e42705
Fix enums coming from other classes without preload
...
Fix #19704 , fix #26001
2019-03-05 23:19:02 +02:00
Ignacio Etcheverry
c6ac7333a6
Mono: Fix array field being assigned MonoArray** instead of MonoArray*
...
Fixes #17601
2019-03-05 21:46:55 +01:00
Rémi Verschelde
8366811352
Merge pull request #26608 from dragmz/fix22231
...
Calculate inputs count from arg types instead of names
2019-03-04 21:52:47 +01:00
Marcin Zawiejski
0d35525f0b
calculate inputs count from arg types instead of names
2019-03-04 21:39:17 +01:00
Rémi Verschelde
d1ba3227c4
Merge pull request #26592 from clayjohn/noisetexture_strength
...
Changed default noisetexture strength
2019-03-04 20:48:56 +01:00
Rémi Verschelde
e21a8f2922
Merge pull request #26604 from bojidar-bg/25889-vs-parameters-empty
...
Fix default values not being read correctly in VisualScript
2019-03-04 20:36:47 +01:00
Bojidar Marinov
4b3db1de3d
Fix default values not being read correctly in VisualScript
...
Fixes #25889
2019-03-04 20:41:50 +02:00
Rémi Verschelde
0a7de5472f
Merge pull request #26591 from neikeq/oi
...
Mono: Add option to print MSBuild output and improve out of sync error
2019-03-04 18:36:10 +01:00
clayjohn
30a88a5c08
changed default noisetexture strength
2019-03-04 07:59:08 -08:00
Ignacio Etcheverry
8877b07f4c
Mono: Add option to print MSBuild output and improve out of sync error
2019-03-04 16:05:08 +01:00
Juan Linietsky
b63c506ad8
Close file handles after use of new get_as_utf8_strings, fixes #26578
2019-03-04 09:53:02 -03:00
Ignacio Etcheverry
813d32499a
Merge pull request #26513 from cart/mono-log-profiler
...
Add mono log profiler support
2019-03-04 13:52:15 +01:00
Rémi Verschelde
93f6a065f8
libwebp: Sync with upstream 1.0.2
2019-03-04 13:13:33 +01:00
Rémi Verschelde
425ec6914c
Revert "Forbid implicit type conversion in GDScript"
2019-03-04 12:25:59 +01:00
Rémi Verschelde
49d82f245b
Merge pull request #26541 from clayjohn/noise_texture_scale
...
Added bump_strength to NoiseTexture
2019-03-04 10:49:53 +01:00
Rémi Verschelde
7889e9b7ca
Merge pull request #26562 from vnen/gdscript-no-implicit-cast
...
Forbid implicit type conversion in GDScript
2019-03-04 10:19:00 +01:00
George Marques
67fee40483
GDScript: Fix issue when detecting file class in inner class
2019-03-03 22:53:50 -03:00
George Marques
d0b08342b8
GDScript: Forbid implicit type conversion
...
Since types are not present in release builds, this could cause issues
where a variable does not have the exact defined type.
2019-03-03 22:25:22 -03:00
George Marques
b24cb92240
GDScript: Allow `for` iterator to be rededefined
2019-03-03 21:39:42 -03:00
Juan Linietsky
a9fe834a8e
Merge pull request #26547 from vnen/gdscript-dependency-parse
...
Add a parse mode for GDScript which doesn't load dependencies
2019-03-03 18:00:12 -03:00
clayjohn
44b71a22ff
added bump_strength to noisetexture
2019-03-03 12:33:44 -08:00
George Marques
bda60bfa29
Add a dependency search mode for GDScript parser
...
- This mode avoids loading any other resource.
- Search for class_name now uses this mode, to avoid loading in the scan
thread.
- Implement get_dependencies() for GDScript loader, now exporting
dependencies only should include the preloaded resources.
2019-03-03 16:51:54 -03:00
George Marques
9db96d9f81
Merge pull request #26528 from bojidar-bg/26047-gdscript-object-argument
...
Allow parameters passed to GDScript functions to be nulled
2019-03-03 11:39:25 -03:00
George Marques
bf2c6680ac
Merge pull request #26521 from bojidar-bg/25408-gdscript-constant-bug
...
Fix GDScript checking for assigning to a constant only in release
2019-03-03 11:31:27 -03:00
Bojidar Marinov
f0efc7521e
Allow parameters passed to GDScript functions to be nulled
...
Previous version resulted in confusing (but actually right) errors about converting "from Object to Object", since CallError
does not include information about the actual types involved.
2019-03-03 15:24:06 +02:00
Bojidar Marinov
f207b2fe0e
Fix GDScript checking for assigning to a constant only in release
2019-03-03 12:36:27 +02:00
Carter Anderson
839ed2d092
Add mono log profiler support
2019-03-02 23:32:03 -08:00
Rémi Verschelde
1807e0f135
SCons: Move platform-specific Opus config to its module
2019-03-02 10:30:25 +01:00
Juan Linietsky
a73ca79402
Fix CSG crash, closes #26281
2019-03-01 13:36:21 -03:00
Ignacio Etcheverry
42c57eef13
C#: Fix parsing of class full name when the base has generics
...
Also we no longer ignore base classes with generics, since we don't really care about that.
2019-03-01 00:23:23 +01:00
Ignacio Etcheverry
22b41ab2fe
Mono: Fail on script instance creation if constructor was not found
...
Previously this would result in NULL dereferencing. Now we fail with an error.
2019-02-28 23:22:46 +01:00
Ignacio Etcheverry
5a4475fce3
Mono: Make sure the generated RootNamespace is a valid identifier
2019-02-28 22:26:15 +01:00
Ignacio Etcheverry
b69569415f
Merge pull request #26411 from neikeq/issue-26195
...
C#: Add Array.Resize(int) method
2019-02-28 18:53:14 +01:00
Ignacio Etcheverry
32cd8ba9bd
C#: Add Array.Resize(int) method
2019-02-28 18:33:42 +01:00
Rémi Verschelde
b09f3f93af
opus: Better sync sources list with upstream buildsystem
2019-02-28 14:27:56 +01:00
Rémi Verschelde
f2003b1a7e
Merge pull request #26034 from QbieShay/issue_25596
...
Inheriting from virtual class no longer causes the engine to crash.
2019-02-28 11:00:20 +01:00
QbieShay
8f22c2684f
Inheriting from virtual class no longer causes the engine to crash, it prints an error instead.
...
Co-authored-by: Hein-Pieter van Braam <hp@tmm.cx>
2019-02-27 20:42:20 +01:00
Rémi Verschelde
372152220b
Merge pull request #26159 from marxin/fix-Wsuggest-attribute=format
...
Fix -Wsuggest-attribute=format warnings.
2019-02-27 09:23:26 +01:00
Rémi Verschelde
426a6fdc17
Merge pull request #26134 from marxin/fix-Wsign-compare
...
Fix -Wsign-compare warnings.
2019-02-27 09:22:47 +01:00
marxin
e5f665c718
Fix -Wsign-compare warnings.
...
I decided to modify code in a defensive way. Ideally functions
like size() or length() should return an unsigned type.
2019-02-27 07:45:57 +01:00
marxin
aff84ec55d
Fix -Wsuggest-attribute=format warnings.
2019-02-27 06:56:50 +01:00
Ignacio Etcheverry
df7541d2f9
Merge pull request #26333 from neikeq/ayaya
...
Mono: Some editor usability improvements
2019-02-27 03:16:02 +01:00
Ignacio Etcheverry
3e0846e65b
Mono: Some editor usability improvements
...
- Move "Mono" popup menu from the top right corner to `Projects -> Tools` as a submenu.
- Add "Build solution" button to the top right corner. Makes it more visible and quicker to access.
- Fix build list in the bottom panel unselect an item when clicking on empty space. Previously it would hide the issues panel but the item would remain selected, making it impossible to display the issues panel again if there was only one item.
2019-02-27 02:45:21 +01:00
Ignacio Etcheverry
823fb59e10
Remove problematic VS Code hint path on Windows
2019-02-27 02:43:53 +01:00
Rémi Verschelde
28a57c2c29
Merge pull request #26304 from bojidar-bg/26066-fix-exported-poolarray
...
Fix GDScript exports having the wrong type of default value by converting it
2019-02-27 00:16:02 +01:00
Juan Linietsky
f669ebeeaf
-Properly handle missing ETC support on export
...
-Added ability for resource importers to save metadata
-Added ability for resource importers to validate depending on project settings
2019-02-26 18:45:06 -03:00
Eric Rybicki
c9de8a6e68
Fix "No loader found for resource: res://" spam when NativeScript script_class_name is not empty.
...
fixes #26275
2019-02-26 17:07:53 +01:00
Bojidar Marinov
db7864c1fd
Fix GDScript exports having the wrong type of default value by converting it
...
Also, initialize elements of PoolArrays when resizing them in the editor.
Fixes #26066 .
2019-02-26 14:58:39 +02:00
Fabio Alessandrelli
f112f5785b
Fixing C compatiblity for GDNative NET module
...
Also add net interfaces to gdnative_api.json
2019-02-24 21:23:23 +01:00
George Marques
755c690252
Merge pull request #25018 from AllanDaemon/#24895
...
Fix support for optional parameters in setters
2019-02-24 10:45:50 -03:00
Ignacio Etcheverry
da3776a40a
C#: Fix Vector2.AngleToPoint
...
Fixes #26209
2019-02-23 23:28:31 +01:00
Rémi Verschelde
07fbc34195
Merge pull request #26203 from neikeq/csharp-basis
...
C#: Basis fixes and cleanup
2019-02-23 20:53:03 +01:00
Ignacio Etcheverry
2c26e7f174
C#: Basis fixes and cleanup
...
Fix Basis operator[int]. Now it returns columns instead of rows.
Fix Transform2D.AfficeInverse() mutating rather than returning a new Transform2D.
2019-02-23 18:22:30 +01:00
Rémi Verschelde
e22f6e9ace
Revert "Optimized area check"
2019-02-22 12:46:54 +01:00
Rémi Verschelde
0c7c800880
Merge pull request #26133 from YeldhamDev/ttr_undoredo_actions
...
Make translatable some undo/redo operations in the editor
2019-02-22 09:58:51 +01:00
Rémi Verschelde
726f31e992
Merge pull request #26132 from marxin/fix-Wignored-qualifiers
...
Fix warnings seen with -Wignored-qualifiers.
2019-02-22 09:55:27 +01:00
Rémi Verschelde
c700d714bb
Merge pull request #26130 from karroffel/gdnative-dictionary-fix
...
added godot_dictionary_get_with_default to GDNative
2019-02-22 09:54:20 +01:00
Rémi Verschelde
60fe9321ac
Merge pull request #26099 from marxin/fix-Wtype-limits-warnings
...
Fix all -Wtype-limits warnings.
2019-02-22 09:44:59 +01:00
Juan Linietsky
d13ac2a413
Request to use load when cyclic reference is found, closes #26119
2019-02-21 17:27:07 -03:00
Michael Alexsander Silva Dias
3ef8238c1c
Make translatable some undo/redo operations in the editor
2019-02-21 16:41:01 -03:00
marxin
c11e7ffd0e
Fix warnings seen with -Wignored-qualifiers.
2019-02-21 20:24:29 +01:00
karroffel
56bb22c988
added godot_dictionary_get_with_default to GDNative
...
Recently, Dictionary::get() was introduced, which acts like a index
operator but allows the caller to specify a default value to return
instead of issuing an error.
This commit adds a new GDNative function that includes the default value.
2019-02-21 20:12:57 +01:00
marxin
7de7f0ef17
Fix all -Wtype-limits warnings.
2019-02-21 19:34:35 +01:00
Rémi Verschelde
ced77db950
Merge pull request #26111 from AndreaCatania/areaopti
...
Optimized area check
2019-02-21 13:58:38 +01:00
Andrea Catania
b1934cfd0d
Optimized area check
2019-02-21 08:41:31 +01:00
marxin
8d51618949
Add -Wshadow=local to warnings and fix reported issues.
...
Fixes #25316 .
2019-02-20 19:44:12 +01:00
Rémi Verschelde
643af210b1
Merge pull request #26096 from Faless/net/enet_id_check
...
Add check to validate client IDs in ENet.
2019-02-20 17:49:12 +01:00
Rémi Verschelde
6d0ec870e3
Merge pull request #26090 from aqnuep/ray_shape_fix2
...
Fix RayShape collision jitter when used with a RigidBody
2019-02-20 17:28:31 +01:00
Fabio Alessandrelli
dc583a6225
Add check to validate client IDs in ENet.
...
Server now checks that the ID received from the client is not already
used by someone else and is a valid ID (>=2)
2019-02-20 16:28:53 +01:00
Rémi Verschelde
1a36141481
Merge pull request #26048 from akien-mga/free-switch-for-everyone
...
GDScript: Remove unused `switch`, `case` and `do` CF keywords
2019-02-20 15:26:46 +01:00
Daniel Rakos
6587024207
Fix RayShape collision jitter when used with a RigidBody
...
Scaling the depth was the wrong solution for the KinematicBody jitter
because it causes jitter with RigidBody. Instead scale the margin that
is ignored to allow KinematicBody to still pick up the ray shape in the
kinematic test when the shape is just at margin distance from another
one. This solution does not cause jitter with either KinematicBody or
RigidBody.
2019-02-20 15:06:08 +01:00
Rémi Verschelde
d35003d92a
GDScript: Remove unused `switch`, `case` and `do` CF keywords
...
They had been reserved for future implementation, but we now have the
`match` CF keyword which does the same and more.
According to @reduz `do` was even added by mistake when copying from
the shader language parser, it was never intended to add support for
`do`... `while` loops, as the syntax would be awkward in GDScript,
and the added sugar is not worth it.
Fixes #25787 .
2019-02-20 14:05:08 +01:00
Rémi Verschelde
7376cbdc94
Merge pull request #26072 from Faless/net/mbedtls_1.16
...
Update mbedtls to 2.16.0 (LTS release) + ubsan hack
2019-02-20 10:47:44 +01:00
Fabio Alessandrelli
2b8b738391
Small hack to avoid runtime error when using ubsan
...
mbedtls_ssl_read cannot be called with a NULL buffer even if len is 0,
as those are passed to memcpy and compilers doesn't like that.
Always pass a single byte (still len 0 so nothing is actually copied)
2019-02-20 01:49:47 +01:00
Ignacio Etcheverry
9421da57ad
C#: Add 'Singleton' property to singleton wrapper class
...
This property returns an instance of the singleton.
The purpose of this is to allow using methods from the base class like 'Connect'.
Since all Godot singletons inherit Object, the type of the returned instance is Godot.Object.
2019-02-19 22:38:22 +01:00
Ignacio Etcheverry
aa5b99821b
Merge pull request #26065 from neikeq/csharp-fix-gd-range
...
C#: Make GD.Range return IEnumerable instead of array
2019-02-19 19:27:37 +01:00
Ignacio Etcheverry
0826b79035
C#: Make GD.Range return IEnumerable instead of array
...
- Make NodePath and RID sealed classes.
- Renamed rand_range to RandRange.
2019-02-19 18:46:18 +01:00
Ignacio Etcheverry
1174d10e3c
Merge pull request #25890 from neikeq/issue-25818
...
Fix Godot.Reference marshalling from MonoObject* to Variant
2019-02-19 15:05:05 +01:00