Commit Graph

178 Commits

Author SHA1 Message Date
Wojtek Figat
9fd62cf9aa Add support for using references in scripting API events 2021-06-10 10:26:57 +02:00
Wojtek Figat
05d095b35e Add support for using pointers in scripting API events 2021-06-09 17:15:32 +02:00
GoaLitiuM
f3652697ae Fix building UWP platform with Visual Studio 2019 2021-06-06 17:17:25 +03:00
Wojtek Figat
3a6b7ea80b Add support for Function<> as method parameter in scripting 2021-06-03 15:19:00 +02:00
Wojtek Figat
9629c48d99 Revert CSharp only project build optimization to fix game cooking
#539 #529
2021-06-03 12:53:18 +02:00
GoaLitiuM
5e8da3ba5f Include toolchain preprocessor definitions in binding generation 2021-05-31 16:58:38 +03:00
Wojtek Figat
a3f0f8ad8c Merge branch 'binding_generator_doc_fixes' of git://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-binding_generator_doc_fixes 2021-05-28 09:53:59 +02:00
Wojtek Figat
2db2d27f12 Merge branch 'build_csharp_bindings_only' of git://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-build_csharp_bindings_only 2021-05-28 09:35:03 +02:00
Wojtek Figat
a08e1576ce Merge remote-tracking branch 'origin/master' 2021-05-28 09:12:30 +02:00
Wojtek Figat
d5a129cb1b Add mono building for Switch 2021-05-28 09:12:15 +02:00
Wojtek Figat
810623be61 Add automatic namespoace usings collecting when generating scripting bindings glue code for csharp 2021-05-27 23:36:07 +02:00
Wojtek Figat
b3d9ec687d Refactor base types initialization to be done during API processing 2021-05-27 23:34:55 +02:00
GoaLitiuM
d1fbe42443 Use verbatim strings in tooltip descriptions
Additionally escapes backslashes in the tooltip string. Only character
that needs to be manually escaped is the double quotation marks.
2021-05-26 22:08:55 +03:00
GoaLitiuM
327ccec4cb Only build bindings for project references with C#-only projects 2021-05-24 18:57:05 +03:00
Wojtek Figat
c1f0fb750d Code style 2021-05-22 22:26:36 +02:00
GoaLitiuM
d401f57080 Use Roslyn C# compiler server to improve script compilation times 2021-05-22 16:43:40 +03:00
Wojtek Figat
b4533211a7 Tweak build for test 2021-05-20 22:53:10 +02:00
Wojtek Figat
9215ea4861 Add support for custom build configurations for engine deploy 2021-05-19 21:23:01 +02:00
Wojtek Figat
b25ba6b229 Add support for custom package output directory for engine deploy 2021-05-19 21:19:27 +02:00
Wojtek Figat
3540e91cc4 Add preserving package output directory across sequential package builds 2021-05-19 21:18:54 +02:00
Wojtek Figat
1a55e7c734 Fix copying missing dependency files for C#-only binary modules build 2021-05-19 16:55:35 +02:00
Wojtek Figat
9a617c630b Fix api error 2021-05-16 18:54:40 +02:00
Wojtek Figat
a89d5d1817 Add skipping generating structure fields accessors for private fields in scripting 2021-05-15 23:21:16 +02:00
Wojtek Figat
506df8c516 Fix using fixed array initializers in scripting API field 2021-05-15 23:20:34 +02:00
Wojtek Figat
67aa41afb1 Fix base method calls handling in scripting vtable overrides
#507
2021-05-14 16:07:46 +02:00
Wojtek Figat
12aa5f0b65 Fix bindings code issue 2021-05-14 15:37:05 +02:00
Wojtek Figat
e4de83f2ed Add automatic profiler events for C# methods invocation 2021-05-04 00:17:27 +02:00
Wojtek Figat
f6137831ee Fix POD structure check in scripting api if contains array field 2021-05-04 00:15:22 +02:00
Wojtek Figat
4e94c7c88c Optimize C# method invoke in bindings via direct Mono invoke 2021-05-03 19:24:48 +02:00
Wojtek Figat
c4fa30d39c Add sorting for used namespaces in bindings and include nested types checks
#477
2021-04-28 11:41:46 +02:00
Wojtek Figat
a02b5b8b57 Merge branch 'master' of git://github.com/MiheevN/FlaxEngine into MiheevN-master
# Conflicts:
#	Source/Tools/Flax.Build/Bindings/BindingsGenerator.CSharp.cs
2021-04-28 11:21:30 +02:00
Wojtek Figat
3ef41e1e23 Merge branch 'master' into localization 2021-04-27 16:54:49 +02:00
Wojtek Figat
b96f0efd9c Fix using Delegate<> in API event
(cherry picked from commit 7b2c034fba)
2021-04-27 16:52:48 +02:00
Wojtek Figat
b73ff9aaf6 Merge branch '1.1' into 1.2
# Conflicts:
#	Source/Platforms/DotNet/Newtonsoft.Json.dll
#	Source/Platforms/DotNet/Newtonsoft.Json.pdb
#	Source/Platforms/UWP/Binaries/Newtonsoft.Json.dll
#	Source/Platforms/XboxOne/Binaries/Newtonsoft.Json.dll
2021-04-24 12:32:17 +02:00
Николай Михеев
51a90dcd28 Adding the namespace of a field from another module. 2021-04-24 14:13:07 +07:00
Wojtek Figat
2b698ca8b0 Add support for fixed-array fields in scripting 2021-04-22 21:03:40 +02:00
Wojtek Figat
ace8295ab7 Merge remote-tracking branch 'origin/master' into localization
# Conflicts:
#	Source/Platforms/DotNet/Newtonsoft.Json.dll
#	Source/Platforms/DotNet/Newtonsoft.Json.pdb
#	Source/Platforms/UWP/Binaries/Newtonsoft.Json.dll
#	Source/Platforms/XboxOne/Binaries/Newtonsoft.Json.dll
2021-04-22 16:10:36 +02:00
Wojtek Figat
2f1aeb6897 Fix API_AUTO_SERIALZIATION usage if base type is not serializable 2021-04-22 10:58:01 +02:00
Wojtek Figat
28c0552e0a Fix diff-serialization and deserialization of C# lists
#347
2021-04-20 16:06:32 +02:00
Wojtek Figat
eabab8301d Fix compilation of bindings code with API_EVENT in some cases
#459
2021-04-20 10:35:09 +02:00
Wojtek Figat
3781228dd2 Add support for using generic class value types in scripting API bindings code 2021-04-19 16:24:51 +02:00
Wojtek Figat
cf0a16e875 Fix handling crash when loading scripting api bindings cache during build 2021-04-17 19:37:51 +02:00
Wojtek Figat
b2729e35c2 Fixes for UWP build 2021-04-17 19:36:38 +02:00
Wojtek Figat
69d3cb5b2b Add support for nesting Array inside Dictionary in scripting API 2021-04-16 10:13:15 +02:00
Wojtek Figat
7b2c034fba Fix using Delegate<> in API event 2021-04-14 12:23:50 +02:00
Wojtek Figat
7dd2a8fac9 Add Localization 2021-04-14 12:22:48 +02:00
Wojtek Figat
ac1eb8d58d Merge branch 'master' into 1.2 2021-04-13 09:52:03 +02:00
Wojtek Figat
3e080c44c6 Fix using curl lib on Linux (use self compiled static lib) 2021-04-08 22:12:55 +02:00
Wojtek Figat
9a90b2fa42 Add check for null ref 2021-04-08 13:10:03 +02:00
Wojtek Figat
7f482330ca Add support for Vector2/3/4 and Quaternion constants for default value attribute in C# scripting api 2021-04-08 10:43:51 +02:00