Commit Graph

339 Commits

Author SHA1 Message Date
Wojtek Figat
18dc475f40 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/UI/GUI/Common/Button.cs
2024-09-23 14:11:05 +02:00
Wojtek Figat
ed7f190778 Revert partially 075c224022 2024-09-20 00:08:49 +02:00
Wojtek Figat
075c224022 Fix C# structures memory packing to match C++ better
#2709
2024-09-19 19:35:45 +02:00
Wojtek Figat
0a22d5ab4d Fix managed arrays interop bug when passed via generic object parameter
#2613
2024-09-17 00:15:04 +02:00
Wojtek Figat
49eeb7bf9a Fix parsing forward enum declaration in scripting api 2024-09-12 22:37:36 +02:00
Wojtek Figat
9daddccbed Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Editor/Modules/ContentDatabaseModule.cs
#	Source/Editor/Surface/SurfaceUtils.cs
#	Source/Editor/Windows/Assets/MaterialInstanceWindow.cs
#	Source/Engine/Foliage/Foliage.cpp
#	Source/Engine/Graphics/Models/MeshBase.h
#	Source/Engine/Tools/MaterialGenerator/MaterialGenerator.Textures.cpp
2024-09-12 13:38:20 +02:00
Wojtek Figat
e834f2ec94 Hide internal codegen variable from debugger 2024-09-12 12:40:50 +02:00
Chandler Cox
c452ffec8b Add aadditional check for allocation args generic arg count. 2024-09-10 13:08:44 -05:00
Chandler Cox
09b3640116 Add code gen for FixedAllocation arrays to generate Collection attribute with accolation count. 2024-09-10 13:04:33 -05:00
Chandler Cox
f7ea45b14d Fix interface bindings clashing namespace and class name if class has same name as namespace. 2024-09-06 16:10:35 -05:00
Wojtek Figat
20456d95e8 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-22 17:33:20 +02:00
Chandler Cox
b7b23dce5f Fix bug with usedMax not only setting zero after max. 2024-08-21 08:48:35 -05:00
Chandler Cox
a69a3812c2 Add Bindings for handling MAX c++ defines and converting them to c#. 2024-08-20 18:30:02 -05:00
Wojtek Figat
21b4c7c916 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-16 14:52:57 +02:00
Wojtek Figat
824d6701d8 Add improved default value detection for scripting object references in bindings generator 2024-08-12 15:34:39 +02:00
Chandler Cox
443bc347ef Fix vector type floats from .f to .0 2024-08-06 17:37:04 -05:00
Chandler Cox
08f286253c Handle cpp .f in bindings generator. 2024-08-06 12:30:59 -05:00
6c8288f38a Fix deprecation warnings in generated bindings code 2024-06-17 20:43:15 +03:00
e08b57e814 Support custom deprecation messages in bindings generator 2024-06-17 20:43:14 +03:00
7ba97f3c32 Fix freeing managed Object references in marshalled arrays 2024-06-08 21:16:57 +03:00
Wojtek Figat
50c29f6a9b Fix #2388 namespaces overlap in some plugins 2024-06-08 12:47:15 +02:00
adbe43c2c2 Move generated marshallers into separate namespace
Avoid polluting the `FlaxEngine` namespace with interop related
marshallers, move those to nested namespace called `Interop` where most
of the common marshallers are placed already.
2024-06-01 23:20:32 +03:00
974e3e192b Include original type of the fields in blittable struct in comments 2024-06-01 23:17:07 +03:00
2283a15172 Refactor struct custom marshalling generation 2024-06-01 23:17:07 +03:00
Wojtek Figat
1cd2f6a070 Fix compilation when using non-strongly typed enum as default value 2024-05-15 13:23:30 +02:00
Wojtek Figat
fd871ce830 Merge branch 'nested_type_fixes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-nested_type_fixes 2024-05-15 12:50:44 +02:00
77e29109ee Fix native internal type name for deeply nested types 2024-05-11 15:48:49 +03:00
8d89b9efb0 Fix internal type name for nested blittable element types 2024-05-11 15:48:43 +03:00
Wojtek Figat
68653fa91f Add small code optimizations 2024-05-10 12:27:28 +02:00
Wojtek Figat
6b35c0a161 Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-03-19 20:23:34 +01:00
ed21876bb8 Fix duplicate generation of native variant conversion helpers 2024-03-18 17:34:49 +02:00
Wojtek Figat
161773a8be Fix serialization bug when compiling with Clang 2024-02-29 01:41:53 +01:00
Wojtek Figat
14902dc29e Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-02-26 19:49:39 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
10180de9c6 Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Source/Editor/Utilities/EditorUtilities.cpp
#	Source/Editor/Utilities/EditorUtilities.h
2024-02-19 22:26:16 +01:00
Wojtek Figat
c7a449fe1c Fix marshaling custom type array to C# with MarshalAs used 2024-02-15 18:28:51 +01:00
Wojtek Figat
43f344ee13 Simplify bindings code for object refs 2024-02-15 10:54:33 +01:00
Wojtek Figat
f730657518 Add support for using pointer in MarshalAs in scripting types 2024-02-15 10:47:45 +01:00
Wojtek Figat
2042525e92 Add pooling to some StringBuilder objects in build tool 2024-02-07 18:53:09 +01:00
Wojtek Figat
8441726da7 Improve support for fixed-arrays in api fields 2024-02-07 18:43:48 +01:00
Wojtek Figat
6cd9895427 Merge remote-tracking branch 'origin/master' into 1.8 2024-02-07 09:40:45 +01:00
Wojtek Figat
5a50ec592f Add clickable parsing errors in build tool 2024-02-06 16:01:49 +01:00
Wojtek Figat
b2621ff799 Codestyle fix for #2214 2024-02-06 11:13:00 +01:00
Wojtek Figat
756a991c2c Merge branch 'BugFixes' of https://github.com/NoriteSC/FlaxEngineFork into NoriteSC-BugFixes 2024-02-06 11:10:30 +01:00
NoriteSC
af8e1e527f Update BindingsGenerator.Cpp.cs 2024-01-29 15:33:14 +01:00
z1dev
ee19bca7e4 Fixing skipped static and other fields generating "else if" without "if" first. 2024-01-26 09:07:02 +01:00
Wojtek Figat
2f11f5f5ab Fix 3e0496122c for ref parameters 2023-12-08 14:48:45 +01:00
Wojtek Figat
3e0496122c Fix c# compilation warning in generated glue code 2023-12-08 12:50:57 +01:00
Wojtek Figat
d3a77c7a55 Fix regressions 2023-11-28 17:38:06 +01:00
Wojtek Figat
17dca8c5c7 Fix invalid codegen for array reference passed as output parameter in scripting interface method 2023-11-28 11:21:29 +01:00