Commit Graph

718 Commits

Author SHA1 Message Date
Wojtek Figat
1948a84301 Add crash to soft-return if managed event bind target object native instance is gone
#1278
2023-08-14 18:40:03 +02:00
5e3018817c Fix marshalling issue with PostFxMaterialSettings Materials 2023-08-14 18:25:48 +03:00
Wojtek Figat
5ae27a0e92 Code style fix 2023-08-14 15:25:12 +02:00
Wojtek Figat
22a1f433a1 Merge branch 'intellisense_stdcpp' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-intellisense_stdcpp 2023-08-14 15:09:00 +02:00
e6878942f9 Fix missing C++ standard version in VC++ projects intellisense options 2023-08-13 21:33:17 +03:00
3df044d07b Add build option to change code optimization level in C# modules 2023-08-13 21:29:38 +03:00
735b2e30f0 Output generated .NET source generator files to Intermediate folder
Mostly useful for debugging source generators, VS doesn't seem to
utilize these files in any way.
2023-07-30 21:58:16 +03:00
13e11091fc Support user defined .NET analyzers/source generators in Flax.Build 2023-07-30 21:58:11 +03:00
c2fffbcfdb Fix API_INJECT_CODE injecting duplicated code 2023-07-25 20:49:20 +03:00
d1a6bdceed Add params tag to API_PARAM for C# variadic parameters support 2023-07-23 12:47:00 +03:00
Wojtek Figat
7b88569e73 Add sealed tag to virtual functions in API bindings to block inheritance in C#/VS 2023-07-14 11:57:38 +02:00
Wojtek Figat
c2da48c49f Fix dotnet installation selection on Linux to favor lib over share 2023-07-08 21:05:20 +02:00
Wojtek Figat
5f756a6ceb Add TargetFrameworkAttribute to compiled C# assembly 2023-07-03 22:00:38 +02:00
Wojtek Figat
5d9e6b7364 Fix C# building to properly use reference assemblies for .NET 7 2023-07-03 22:00:23 +02:00
4f78f79201 Support line-breaks in API_INJECT_CODE macro 2023-07-02 22:13:04 +03:00
Wojtek Figat
d5100373be Fix bugs in C# codegen for network data serialization 2023-06-30 10:38:08 +02:00
Wojtek Figat
04c1cf469d Fix codegen for C++ RPS with Array ParameterDefinition
#1209
2023-06-28 20:08:35 +02:00
Wojtek Figat
7997d2bc4e Merge branch 'intellisense_reference_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-intellisense_reference_fix 2023-06-28 15:27:11 +02:00
bf6daed6d2 Fix Intellisense errors with referenced binary module structures 2023-06-28 15:57:25 +03:00
Wojtek Figat
864f5f77f5 Add output binaries folder cleanp to build clear command 2023-06-28 14:53:23 +02:00
Wojtek Figat
b16a6199d0 Fix invoking Client RPC on Host client when it's not included in targetIds list 2023-06-28 14:52:58 +02:00
Wojtek Figat
fb6bc75e3a Fix launchSettings.json generation bug 2023-06-28 13:42:18 +02:00
Wojtek Figat
9282bcfbbf Fix crash due to invalid RPC codegen for enum value type variable 2023-06-25 21:24:30 +02:00
b82f19a0df Support changing C# nullable references context build option 2023-06-19 19:33:13 +03:00
Wojtek Figat
228ef4e130 Add objects ID inverse mapping from client to server for proper C# networking codegen 2023-06-18 19:27:46 +02:00
Wojtek Figat
16159a9d98 Merge branch 'master' of https://github.com/Withaust/FlaxEngine into Withaust-master 2023-06-18 18:31:13 +02:00
Wojtek Figat
c87b315fef Fixes for network codegen 2023-06-18 18:28:41 +02:00
Wojtek Figat
b07528d9ce Refactor Network RPC C# codegen to share code with data serializer 2023-06-18 17:11:15 +02:00
Wojtek Figat
9e2e6759bd Implement proper POD types check in C# network replication codegen 2023-06-18 15:33:57 +02:00
Wiktor Kocielski
2485987901 Fix binding generation for interfaces 2023-06-18 10:48:46 +03:00
Wojtek Figat
1a6e706e57 Minor fixes 2023-06-17 17:51:14 +02:00
Wojtek Figat
21a3081b9f Fix 6b8d8b7913 from using filename into namespaces 2023-06-17 17:34:48 +02:00
Wojtek Figat
8f9989dc65 Additional fix for cc85450ed5 2023-06-17 16:41:48 +02:00
Wojtek Figat
cc85450ed5 Change macOS editor deploy to build only current platform arch 2023-06-17 11:28:39 +02:00
Wojtek Figat
f995d12686 Fix editor deployment 2023-06-17 11:08:51 +02:00
Wojtek Figat
5f019dc79f Improve Visual Studio solution generation with nested C# project cross-references to properly place projects in group folders 2023-06-16 13:45:54 +02:00
Wojtek Figat
ee9627bc15 Add launchSettings.json generation for Visual Studio 2022 with .NET 7 2023-06-14 13:14:16 +02:00
Wojtek Figat
b0134ab1ce Fix missing MConverter codegen for array and generic types used in non-POD struct fields 2023-06-13 16:38:08 +02:00
Wojtek Figat
6b8d8b7913 Various fixes and improvements to auto-generated bindings usability 2023-06-12 14:35:11 +02:00
Wojtek Figat
979168e82c Refactor various Editor APIs to use auto-generated bindings instead of manual code 2023-06-12 14:34:07 +02:00
Wojtek Figat
621d408078 Add iOS app exporting 2023-06-10 23:05:52 +02:00
Wojtek Figat
3953e6ddc0 Merge commit 'f2ecefb7ee9b9e6c5daac9f44fe40ebdccbb1c76' into 1.6 2023-06-01 01:06:14 +02:00
Wojtek Figat
d0bf176178 Fix dylib rpath id on macOS 2023-05-29 17:11:51 +02:00
Wojtek Figat
81ae687238 Merge remote-tracking branch 'origin/master' into 1.6 2023-05-28 16:34:38 +02:00
Wojtek Figat
9572073eda Add CustomArgs to compile and link environment in build tool for customization 2023-05-26 13:43:20 +02:00
Wojtek Figat
c2cd3b64ff Improve generated bindings code usability in Editor 2023-05-24 23:50:51 +02:00
Wojtek Figat
48b18bf84e Fix regression from 7c0d1ab977 when using different access level to property getter/setter 2023-05-24 23:40:40 +02:00
Wojtek Figat
694980160b Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Editor/CustomEditors/CustomEditorsUtil.cs
#	Source/Engine/Networking/NetworkReplicator.cpp
#	Source/Engine/Scripting/ManagedCLR/MUtils.cpp
#	Source/Tools/Flax.Build/Bindings/BindingsGenerator.Cpp.cs
2023-05-24 23:28:38 +02:00
Wojtek Figat
914f7b842e Optimize interface method lookup to eliminate strlen 2023-05-23 18:22:23 +02:00
Wojtek Figat
2881ca17a0 Fix bindings code instance object param obj to __obj to prevent name collisions 2023-05-22 18:06:08 +02:00