Commit Graph

107 Commits

Author SHA1 Message Date
Wojciech Figat
31bbd586db Add scripting enums as ScriptingType 2021-11-19 16:43:02 +01:00
Wojciech Figat
6357cc6245 Fix typos 2021-11-15 16:39:13 +01:00
Wojciech Figat
3648f8bef2 Add Hidden attribute to scripting fields/properties/methods/events 2021-11-15 16:39:13 +01:00
Wojtek Figat
a37103af4a Fix regression from 5bd3032f78 2021-11-05 12:38:29 +01:00
Wojtek Figat
5bd3032f78 Add support for passing the object reference as scripting function output result 2021-11-05 11:46:40 +01:00
Wojtek Figat
67f0056121 Fix generated DefaultValue attribute to match the field value type 2021-11-03 19:25:44 +01:00
Wojtek Figat
7a0e2c01d4 Add support for parsing negation in scripting api preprocessor 2021-10-23 16:43:16 +02:00
Wojtek Figat
8938f13a0b Add support for compiling and running engine without C# scripting
(configurable via `EngineConfiguration.UseCSharp` in Flax.Build)
2021-10-23 16:43:15 +02:00
Wojtek Figat
5dbbfed654 PS5 support progress 2021-10-20 15:35:12 +02:00
Wojtek Figat
8bdf417b17 Fix using object reference in Scripting API with PersistentScriptingObject 2021-10-18 11:02:37 +02:00
Wojtek Figat
05ebf60dba Add PRAGMA_DISABLE_DEPRECATION_WARNINGS and PRAGMA_ENABLE_DEPRECATION_WARNINGS macros 2021-10-14 11:07:12 +02:00
Wojtek Figat
3bb7f83729 Fix parsing DEPRECATED specifier on enums in scripting api 2021-10-14 11:06:37 +02:00
Wojtek Figat
4e6fa25877 Add support for using DEPRECATED to mark scripting API as obsolete 2021-10-12 23:48:47 +02:00
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
fc629ff5d9 Fix restriction if using I as prefix for interface names 2021-10-04 13:31:41 +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
5d321c8c0c Add check to prevent inheriting from static or sealed class in scripting 2021-08-30 16:15:05 +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
92b1e067b1 Improve tooltips generation for scripting types 2021-07-29 14:30:13 +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
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
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
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
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
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