Commit Graph

204 Commits

Author SHA1 Message Date
Wojtek Figat
a8c7705c3b Fix null values handling in C# Json serialization
It didn't replace prefab object reference if replaced with null in the prefab instance.
2021-08-19 13:06:18 +02:00
Wojtek Figat
d68189ae3d Tweaks for native engine tests
#601
2021-08-16 12:18:11 +02:00
Zbigniew Skowron
294a4d5477 Added LinkEnvironment.LinkAsConsoleProgram flag. 2021-08-15 20:32:58 +02:00
Wojtek Figat
151f551bc9 Merge branch 'fixing-strigview-gettext-uses' of git://github.com/Zbyl/FlaxEngine into Zbyl-fixing-strigview-gettext-uses 2021-08-13 13:57:02 +02:00
Wojtek Figat
bc634e9d37 Refactor Tracy source locations to be static
#597
2021-08-13 13:44:29 +02:00
Wojtek Figat
d65a85e30c Add check to prevent double-free from native event in C# 2021-08-11 19:28:53 +02:00
Zbigniew Skowron
bd70e53806 Fixed StringView::GetText() related issued pointed out in review. 2021-08-09 22:21:38 +02:00
Zbigniew Skowron
aecc81f5e5 Fixed many invalid uses of StringView::GetText(), where a null-terminated string was required.
Renamed GetText() to GetNonTerminatedText() to reduce chance of same bugs appearing in the future.
2021-08-09 00:29:19 +02:00
Wojtek Figat
054def3d13 Fix crash in build tool if there is no valid project to pick 2021-08-07 16:46:39 +02:00
Wojtek Figat
c4102ba884 Fix compiling C#-only game scripts without native platform tools installed 2021-08-06 13:17:23 +02:00
Wojtek Figat
92b1e067b1 Improve tooltips generation for scripting types 2021-07-29 14:30:13 +02:00
Wojtek Figat
09c7642819 Add warning log in build tool when target is missing 2021-07-19 15:30:45 +02:00
Wojtek Figat
d0eed29f31 Fix rare crash when passing array to managed world with object refs inside structures 2021-07-16 11:02:49 +02:00
Wojtek Figat
7c96961e92 Fix build tool clean command execution on Linux 2021-07-13 18:29:34 +02:00
Wojtek Figat
121b08801a Fix calling base class of overridden scripting object via vtable entry for method that has multiple parameters 2021-07-12 16:38:39 +02:00
Wojtek Figat
1561eba6fb Add support for using library-style includes for build tool includes cache 2021-07-09 22:23:23 +02:00
Wojtek Figat
2783eb07b2 Add intermediate data folder removing on build tool clean command 2021-07-09 22:22:49 +02:00
Damian Korczowski
f41e4c5fe1 Allow unsafe code in FlaxEngine.Tests project 2021-07-07 17:27:15 +02:00
Damian Korczowski
d9fe1b257f Fix monolithic build linking 2021-07-03 19:14:08 +02:00
Wojtek Figat
bf1a30c5c6 Attempt to fix build tool running on system with different locales
#554
2021-06-18 21:54:31 +02:00
Wojtek Figat
4de3d134c9 Fix generating includes list in c++ glue code for script (non-pod and variant wrappers can produce additional includes) 2021-06-16 17:40:00 +02:00
Wojtek Figat
e8348f2c7a Fix default value generation for numbers and enums in scripting api 2021-06-16 12:06:39 +02:00
Wojtek Figat
1e08ed177b Fix parsing doc comments in scripting api with inlined summary tag 2021-06-16 12:05:56 +02:00
Wojtek Figat
2068a58414 Fix using custom allocator on array field in scripting class 2021-06-16 11:23:12 +02:00
Wojtek Figat
23709a1b11 Merge branch 'perf-buildtool' of git://github.com/stefnotch/FlaxEngine into stefnotch-perf-buildtool 2021-06-12 23:20:24 +02:00
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
stefnotch
3c48484870 Use Stopwatch instead of DateTime.Now for increased accuracy
DateTime.Now is decent, but not accurate enough for timings involving only a few milliseconds.
2021-06-06 21:52:29 +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