Commit Graph

82 Commits

Author SHA1 Message Date
mafiesto4 497cd19fe5 Fix managed interop bug 2024-10-03 17:11:15 +02:00
mafiesto4 aba46cb2c6 Fix naming convention in scripting backend for klass 2024-09-22 12:30:34 +02:00
GoaLitiuM d2d2297dc7 Support ARM64 architecture under Windows 2024-06-01 23:23:24 +03:00
GoaLitiuM e77ae12b9b Fix unboxing of array type Variants 2024-05-05 13:15:54 +03:00
mafiesto4 14902dc29e Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-02-26 19:49:39 +01:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 9bad65e359 Add better logging for mono messages 2024-01-30 10:04:10 +01:00
mafiesto4 69b7a10c1f Add Stopwatch for accurate duration measuring 2024-01-28 20:31:03 +01:00
mafiesto4 c60058758b Minor fixes 2024-01-28 01:15:29 +01:00
mafiesto4 a0e127b9cc Various porting patches 2024-01-22 21:17:58 +01:00
mafiesto4 6d6b678b29 Minor changes from porting 2024-01-18 16:03:27 +01:00
mafiesto4 74f5d14ec9 Merge remote-tracking branch 'origin/master' into 1.8 2023-12-08 11:23:06 +01:00
mafiesto4 8faaaaaf54 Fix incorrect structure usage for hostfxr params siize
#2037
2023-12-06 11:20:32 +01:00
mafiesto4 35ebdb0ffe Refactor INetworkDriver::PopEvent to use network event as output parameter rather than raw pointer
#1992
2023-11-28 11:24:17 +01:00
mafiesto4 06ad316f94 Update to .NET 8 2023-11-26 15:09:46 +01:00
mafiesto4 76f5712c79 Merge remote-tracking branch 'origin/1.7' into 1.8
# Conflicts:
#	Flax.flaxproj
2023-11-25 23:36:56 +01:00
mafiesto4 2cef368282 Update missing unmanaged function callback error message 2023-11-24 21:45:59 +01:00
mafiesto4 1bb68f2c0c Merge remote-tracking branch 'origin/master' into 1.8 2023-11-16 10:31:13 +01:00
mafiesto4 ee6a311406 Add support for building engine target as shared library on all platforms 2023-11-15 22:56:23 +01:00
GoaLitiuM 3f5c92e2fa Improve .NET 8 runtime and SDK detection
Setting the environment variable `DOTNET_ROLL_FORWARD_TO_PRERELEASE=1`
is required to enable runtime support for release candidate builds of
future major .NET releases.
2023-11-14 17:00:51 +02:00
mafiesto4 97a28d4431 Add security lockers for managed typeinfo access 2023-11-13 15:48:12 +01:00
mafiesto4 a7bb236344 Fix Mono GC threads suspend to not deadlock when attaching native threads to managed runtime
#1864
2023-11-05 14:07:05 +01:00
mafiesto4 b0fe99f1ec Disable mono thread attach to fix current freeze on GC STW event 2023-10-31 16:11:09 +01:00
mafiesto4 1567c1c8d6 Fix Mono AOT on iOS to not freeze during GC stop-the-world event on memory collection 2023-10-31 14:15:35 +01:00
mafiesto4 fdd6b171bb Stability fixes 2023-10-12 23:12:53 +02:00
mafiesto4 74a69b8f13 Fix running game in non-ANSI path
#480
2023-10-12 22:29:48 +02:00
mafiesto4 af468ee6ae Fix scripting interop in AOT mode to use reflection-based field access 2023-10-11 15:18:28 +02:00
mafiesto4 b92345c3ef Fix crash when running async C# code with Mono 2023-10-11 12:36:49 +02:00
mafiesto4 d10d52ec0c Add thread-safety to various scripting methods 2023-10-01 10:57:51 +02:00
mafiesto4 f77198c7ca Fixes for iOS #1312 2023-09-29 00:00:21 +02:00
mafiesto4 82b2f46b48 Post-merge tweaks for #1312 2023-09-28 19:21:06 +02:00
mafiesto4 279528a30d Merge branch 'marshalling_scriptingobject_changes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-marshalling_scriptingobject_changes
# Conflicts:
#	Source/Engine/Engine/NativeInterop.Unmanaged.cs
#	Source/Engine/Scripting/Runtime/DotNet.cpp
2023-09-28 18:41:20 +02:00
GoaLitiuM e8088f42ac Fix string use-after-free while loading managed assemblies 2023-09-26 17:37:53 +03:00
mafiesto4 c374127de1 Fix error when loading project on non-ASCII path
#1439
2023-09-25 16:34:01 +02:00
mafiesto4 96b6313acb Fix crash when loading C# assembly from non-ASNSI path
#1439
2023-09-25 16:30:24 +02:00
mafiesto4 8bd6649510 Refactor managed array unboxing to handle case of C# array passes as object
#1415
2023-09-20 14:17:11 +02:00
mafiesto4 0083ebd887 Fix missing C# static fields in native scripting api 2023-09-19 09:32:37 +02:00
mafiesto4 3381751c54 Merge branch 'hostfxr_msg' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-hostfxr_msg 2023-09-18 17:24:57 +02:00
mafiesto4 502af0b67a Merge branch 'editor_module_lookup_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-editor_module_lookup_fix 2023-09-18 15:16:07 +02:00
Andrew Spiering bdd182f3da Fixing x64 editor/runtime on arm64 macs
* This allows for a much more broader check for the dotnet sdk runtime to support running x64 binaries on arm64
2023-09-16 18:23:27 -07:00
GoaLitiuM f114301e97 Improve hostfxr error messages 2023-09-16 15:03:09 +03:00
GoaLitiuM 2d2bfd9cd1 Include EditorModules in Assembly lookup paths 2023-09-16 14:15:09 +03:00
GoaLitiuM afec6afe4c Fix managed UTF-8 string allocation not using correct encoding 2023-09-03 14:05:21 +03:00
GoaLitiuM 42ab218a8e Merge branch 'master' into marshalling_scriptingobject_changes
# Conflicts:
#	Source/Engine/Engine/NativeInterop.Invoker.cs
#	Source/Engine/Engine/NativeInterop.Unmanaged.cs
2023-08-20 20:24:41 +03:00
GoaLitiuM 53b1d0dd85 Optimize ScriptingObject managed initialization 2023-08-13 23:56:27 +03:00
GoaLitiuM 27e1401fc7 Slightly improve MClass::GetMethod method iteration
Check the number of parameters first before expensive string comparison
2023-08-13 21:54:44 +03:00
GoaLitiuM 9d8105e3f3 Separate managed assembly unloading and scripting ALC reinitialization
Fixes an issue with multiple managed assemblies unloading and releasing
all cached data before native resources were fully released in other
assemblies.
2023-08-08 17:39:31 +03:00
mafiesto4 c79952a4d6 Implement missing dotnet7 interop for field and stabilize interop 2023-07-04 17:57:59 +02:00
mafiesto4 890248edf2 Fix MClass::HasInterface in .NET 7 2023-06-28 15:13:33 +02:00
GoaLitiuM 87e96a9017 Fix native library lookup after hot reload 2023-06-20 16:29:04 +03:00