Commit Graph

183 Commits

Author SHA1 Message Date
88f8bb1e29 _wip 2025-12-16 00:15:40 +02:00
dde07bac8d Fix mixed newline characters in generated bindings 2025-12-16 00:14:16 +02:00
Wojtek Figat
f9e9f26e97 Remove leftover debug log from bindings generator 2025-04-22 11:04:09 +02:00
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
Wojtek Figat
8e2f3ec0c0 Fix Version marshaling as parameter 2025-03-06 00:36:39 +01:00
Wojtek Figat
b2c8c4018c Fix scripting bindings codegen for SoftTypeReference and SceneReference
#2761
2025-02-26 22:43:30 +01:00
Wojtek Figat
12d9d94138 Add support for curves in C++ scripting api
#2546
2024-12-04 13:30:56 +01:00
Wojtek Figat
5a873ad606 Fix crash when boxing native non-POD structure into managed data 2024-10-25 13:25:47 +02:00
Chandler Cox
cc511453f5 Handle c# code gen when C++ field has default value with style type type{} 2024-10-21 21:24:59 -05:00
Chandler Cox
6c077a83bc Handle C++ bracket default values for code gen to C# 2024-10-21 21:01:48 -05:00
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
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
8d89b9efb0 Fix internal type name for nested blittable element types 2024-05-11 15:48:43 +03: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
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
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
15377acc25 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-28 12:01:34 +02:00
Wojtek Figat
77f962b33d Fix soft refs in bindings to match C# version that is not generic 2023-09-28 11:47:16 +02:00
Wojtek Figat
2f9c601678 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-27 17:32:47 +02:00
Wojtek Figat
934457ac0b Merge branch 'unsub_event_nothrow' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-unsub_event_nothrow 2023-09-27 13:21:12 +02:00
Wojtek Figat
523a14af56 Fix missing Variant marshalling for scripting structures bindings
#1395
2023-09-27 13:04:14 +02:00
Wojtek Figat
6621e70ae7 Add objects replication and RPC stats table to Network Profiler 2023-09-26 10:33:12 +02:00