Commit Graph

53 Commits

Author SHA1 Message Date
Wojtek Figat
cc29e97fa3 Fix automatic properties serialization bug 2021-10-07 09:29:50 +02:00
Wojtek Figat
32794f89c7 Fix auto-serialization for interfaces to skip it (not supported to save interface pointer) 2021-10-04 14:22:09 +02:00
Wojtek Figat
c3c0a4ef0d Add support for interfaces in scripting API (cross language support C++/C#/VS) 2021-10-04 12:26:08 +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
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
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
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
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
2068a58414 Fix using custom allocator on array field in scripting class 2021-06-16 11:23:12 +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
Wojtek Figat
3a6b7ea80b Add support for Function<> as method parameter in scripting 2021-06-03 15:19:00 +02:00
Wojtek Figat
b3d9ec687d Refactor base types initialization to be done during API processing 2021-05-27 23:34:55 +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
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
4e94c7c88c Optimize C# method invoke in bindings via direct Mono invoke 2021-05-03 19:24:48 +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
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
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
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
44fc1f9d05 Fix using nested types in scripting api 2021-03-24 22:08:49 +01:00
Wojtek Figat
e2f9646b8f Fix using nested types in scripting api 2021-03-23 12:31:30 +01:00
Wojtek Figat
93541b6ed5 Merge branch 'master' into 1.1 2021-02-27 16:42:53 +01:00
Wojtek Figat
cdf66372e6 Add write barriers for Mono GC in bindings glue code 2021-02-27 00:38:42 +01:00
Wojtek Figat
86c1823d4a Fix typo 2021-02-27 00:00:02 +01:00
Wojtek Figat
6f12dc8567 Add improved dll import/export attributes injection when building binary modules 2021-02-25 13:02:13 +01:00
Wojtek Figat
b193a7abc4 Add support for binary modules with native-code only 2021-02-25 13:01:15 +01:00
Wojtek Figat
fc4dc8cb50 Merge remote-tracking branch 'origin/1.1' into linux-editor
# Conflicts:
#	Source/FlaxEngine.Gen.cs
#	Source/Tools/Flax.Build/Utilities/Utilities.cs
2021-02-16 18:54:25 +01:00
Wojtek Figat
fa332a3785 Optimize scripting API bindings generation if loaded API from valid cache 2021-02-16 10:42:56 +01:00
Wojtek Figat
f11686a7b7 Add support for caching scripting API bindings during build 2021-02-16 09:42:11 +01:00
Wojtek Figat
191694725a Add SoftObjectReference for lazy references to assets and objects 2021-02-10 11:12:05 +01:00
Wojtek Figat
cbbfb16628 Add scripting API events in Visual Script 2021-01-22 10:55:13 +01:00
Wojtek Figat
45211fa61c Merge remote-tracking branch 'origin/master' into navigation-features 2021-01-12 12:04:20 +01:00
mafiesto4
ee1b7bad56 Fix Editor build on Linux 2021-01-10 09:46:37 +01:00
Wojtek Figat
0e768694b5 Add using additional temporary temp param in scripting bindings glue code for array parameters using BytesContainer 2021-01-07 00:01:53 +01:00
Wojtek Figat
be319c446d Refactor settings types to use scripting API 2021-01-05 14:14:34 +01:00
Wojtek Figat
8dc5b11f51 Add API_INTERFACE to scripting API bindings for implementing interfaces 2021-01-04 14:18:59 +01:00
Wojtek Figat
ce6c360d29 Add proper typeInfo generation for non-scripting API classes 2020-12-23 12:55:53 +01:00
Wojtek Figat
4665e8fbdb Add support for basic classes to Scripting Type (without scripting object as a base) 2020-12-22 12:55:57 +01:00