Ignacio Etcheverry
995a40e8ef
Move modules/mono/glue/cs_files to modules/mono/glue/Managed/Files
...
Added dummy MSBuild project and solution to get tooling help when editing these files.
2018-09-12 22:03:36 +02:00
Ignacio Etcheverry
5e57beebb1
Mono: Fix build regression due to wrong return type
2018-09-12 21:08:18 +02:00
Ignacio Etcheverry
6ae47ff19b
C#: Fix explicit enum values when exporting member
2018-09-12 18:54:20 +02:00
Rémi Verschelde
277b24dfb7
Make core/ includes absolute, remove subfolders from include path
...
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
2018-09-12 09:52:22 +02:00
Ignacio Etcheverry
d21c64cc3b
C#: Fix cs_files glue mismatch bug
2018-09-12 03:24:08 +02:00
Ignacio Etcheverry
e558e1ec09
Fix/workaround for issue #21667
...
When a Reference managed instance is garbage collected and its finalizer is called, it could happen that the native instance is referenced once again before the finalizer can unreference and memdelete it. The workaround is to create a new managed instance when this happens (at least for now).
2018-09-12 03:24:08 +02:00
Ignacio Etcheverry
61426464ea
Add some mono root hint dirs for OSX
...
Fixes #13355
2018-09-12 03:24:08 +02:00
Ignacio Etcheverry
691d4e3835
Allow special characters in C# glue files
...
Fixes #21139
- Surround the generated file modules/mono/glue/cs_compressed.gen.h with ifdef TOOLS_ENABLED
2018-09-12 03:24:08 +02:00
Ignacio Etcheverry
b1356a3590
Cleanup of c# api files and bindings generator
...
- We no longer generate RID and NodePath C# classes. Both will be maintained manually.
- We no longer generate C# declarations and runtime registration of internal calls for the following classes: RID, NodePath, String, GD, SignalAwaiter and Godot.Object (partial base).
- We no longer auto-generate the base members of Godot.Object. They will be maintained manually as a partial class.
This makes it easier to maintain these C# classes and their internal calls, as well as the bindings generator which no longer generates C# classes that don't derive from Godot Object, and it no longer generates the Godot.Object base members (which where unreadable in the bindings generator code).
- Added missing 'RID(Object from)' constructor to the RID C# class.
- Replaced MONO_GLUE_DISABLED constant macro with MONO_GLUE_ENABLED.
- Add sources in module/mono/glue even if glue is disabled, but surround glue files with ifdef MONO_GLUE_ENABLED.
2018-09-12 03:23:45 +02:00
Rémi Verschelde
0d04fb76e1
Fix mistake in previous commit
2018-09-11 18:12:40 +02:00
Rémi Verschelde
af57515775
UPnP: Fix includes of thirdparty headers
2018-09-11 18:09:12 +02:00
Ignacio Etcheverry
8366da5bc6
Merge pull request #21822 from aaronfranke/mono-pascal
...
[Mono] Various style changes and naming standardization
2018-09-10 23:52:00 +02:00
Aaron Franke
627ed98ed1
[Mono] Various style changes and naming standardization
2018-09-10 15:22:10 -04:00
Aaron Franke
4743852466
[Mono] Tabs -> Spaces
2018-09-10 15:12:49 -04:00
Rémi Verschelde
0faafa6f4d
Fix crash when extending non-existing GDScript file
...
Fixes #21682 with a partial revert of #21411 .
The ~Ref() destructor (from 'scriptres') already takes care
of freeing the 'script' resource.
2018-09-10 20:46:20 +02:00
Rémi Verschelde
d9a96878f2
Merge pull request #21921 from AndreaCatania/bugfix2
...
Fix bullet crashes
2018-09-10 08:20:15 +02:00
Andrea Catania
b252e66414
Fiex bullet crash
2018-09-10 07:55:11 +02:00
Poommetee Ketson
bb0e8d260c
Fix indentation in bullet SCsub
2018-09-10 12:22:23 +07:00
George Marques
af290f7b7d
Merge pull request #21866 from Paulb23/fix_scientific_notation_highlight_issue_21435
...
Fixed scientific notation not highlighting correctly, issue 21435
2018-09-09 18:21:33 -03:00
Juan Linietsky
ffe158ae85
Merge pull request #21861 from fire/visual_script_18024
...
Change the default variable Visual Script constructor to use EditorInspector and etc
2018-09-08 17:05:03 -03:00
Paulb23
f051f5110e
Fixed scientific notaion not highlighting correctly, issue 21435
2018-09-08 13:42:11 +01:00
K. S. Ernest (iFire) Lee
7ce9e67355
Change the default variable constructor to use EditorInspector and updated property hints that were changed.
2018-09-08 02:51:23 -07:00
Andrea Catania
3eaaf712db
Fixed crash during raycast and CCD radius calculation
2018-09-07 20:38:30 +02:00
Juan Linietsky
fc50728d45
Merge pull request #21808 from AndreaCatania/optitri
...
Optimized bullet trimesh collision
2018-09-07 15:09:26 -03:00
Andrea Catania
6142448417
Update bullet to Master 12409f1118a7c7a266f9071350c70789dfe73bb9
2018-09-07 16:11:04 +02:00
Andrea Catania
88967e4001
Fixing trimesh precision
2018-09-06 18:53:03 +02:00
Andrea Catania
9b446f1cc3
Optimized in case is used just 1 shape with no transform
2018-09-06 18:19:05 +02:00
Rémi Verschelde
3a8f8381f2
Merge pull request #21771 from WiggleWizard/get-stack-fix
...
Fixed return type for get_stack() function call
2018-09-05 19:46:12 +02:00
Andrea Catania
ce138d3449
Fixed bullet area vs Trimesh shape overlap
2018-09-05 13:43:02 +02:00
WiggleWizard
d227a9ae12
Fixed return type for get_stack() function call
2018-09-05 11:29:06 +01:00
Will Nations
fadf2d2afd
Fix invalid deref in NativeScript script classes
2018-09-04 08:35:28 -05:00
Max Hilbrunner
21ea1d89ef
Merge pull request #21605 from Faless/ws_no_proto
...
Allow WebSocket connect with no sub-protocols.
2018-08-31 13:15:46 +02:00
Fabio Alessandrelli
6bc97cc7cc
Allow WebSocket connect with no sub-protocols.
2018-08-30 20:23:16 +02:00
Thomas Herzog
917bd5b2c2
[NativeScript] implement refcount instance binding funcs
2018-08-30 19:55:04 +02:00
Thomas Herzog
492b4cf837
[GDNative] add initial core 1.1 extension
2018-08-30 19:18:55 +02:00
Rémi Verschelde
cb63cc86e5
Merge pull request #21575 from YeldhamDev/gridmap_deprecated_fix
...
Small change on how GridMap's "theme" is deprecated
2018-08-30 09:03:11 +02:00
Rémi Verschelde
5267099a87
doc: Sync classref with current source
2018-08-29 22:25:11 +02:00
Michael Alexsander Silva Dias
8ede2647ed
Small change on how GridMap's "theme" is deprecated
2018-08-29 17:14:06 -03:00
Andrea Catania
9a67a07a2c
Fixed crash if convex has 0 vertices
2018-08-29 17:34:26 +02:00
Rémi Verschelde
907b7a3897
Merge pull request #21538 from jmf/master
...
Fix CSGBox size
2018-08-29 15:03:01 +02:00
Ibrahn Sahir
2a823a38ac
Initialise rays_found count in test_ray_separation.
...
Prevents branch on uninit that could result in crashes with
move_and_slide.
2018-08-29 13:23:14 +01:00
Yuri Chornoivan
06e73522dc
Fix vformat(), minor typos and word puzzles
2018-08-29 11:50:39 +03:00
jmf
11c90b0bb3
Fix to make CSGBox the size that is entered in Width, Height and Depth instead of twice those lengths.
2018-08-28 14:41:41 -03:00
Rémi Verschelde
57ba7caa6d
Merge pull request #21511 from eska014/webm-nomt
...
Fix WebM and Theora video in HTML5 export
2018-08-28 07:56:52 +02:00
Ignacio Etcheverry
6b10e3750e
Merge pull request #21497 from neikeq/hm
...
C# generated classes ignore warning CS1591 and cleanup
2018-08-27 21:43:46 +02:00
Ignacio Etcheverry
aa2bcf3dfc
C# generated classes ignore warning CS1591 and cleanup
2018-08-27 20:39:51 +02:00
Rémi Verschelde
66778eae71
Merge pull request #21420 from elasota/fix-last-mipmap
...
Fix uninitialized mipmap levels
2018-08-27 17:48:41 +02:00
Rémi Verschelde
f06b7d40c8
Merge pull request #21449 from vnen/gdscript-builtin-is
...
Allow `is` operator to test built-in types
2018-08-27 17:48:11 +02:00
Rémi Verschelde
5b87864385
Merge pull request #21369 from Noshyaar/exportflag
...
Deprecating bit flags export with no hint text
2018-08-27 17:47:21 +02:00
Ignacio Etcheverry
78bb53f85d
Merge pull request #21205 from KellyThomas/c-sharp-feature-parity-quat
...
[Mono] Quat - add some missing constructors and methods
2018-08-27 16:18:09 +02:00