Commit Graph

65 Commits

Author SHA1 Message Date
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
729bfcb941 Fix build 2022-01-09 18:05:52 +01:00
Wojtek Figat
892723c501 Fix build 2022-01-09 17:46:37 +01:00
Wojtek Figat
fa83869430 Add minor changes 2022-01-08 15:06:18 +01:00
Wojtek Figat
32c7d36fcd Tweaks 2022-01-08 15:06:17 +01:00
Wojtek Figat
0f9f3905ed Add json serialization utils for objects to save/load from raw bytes 2022-01-08 15:06:15 +01:00
Wojtek Figat
32a73727b0 Optimize Stream includes to Array 2022-01-08 15:06:14 +01: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
53022ff013 Fix code quality issues detected by PVS-Studio 2021-09-21 18:23:31 +02:00
Wojtek Figat
e4cb87ea9e Fix loading null as Guid for object refs in C++ Json parser 2021-08-27 16:06:23 +02:00
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
70c729b171 Fix LocalizedString undo bug 2021-08-12 11:48:51 +02:00
Wojtek Figat
916c2733f0 Fix some problems with LocalizedString serialization in C# 2021-08-12 11:48:50 +02:00
Wojtek Figat
0e76bf22ed Fix crash when reading empty string from stream 2021-08-01 23:17:55 +02:00
Wojtek Figat
d8f555e8dc Add support for using structures as Visual Script and Anim Graph parameters 2021-07-29 23:35:30 +02:00
Wojtek Figat
22d547e87b Refactor Variant type ManagedObject serialization to be usable for Visual Scripting 2021-07-29 22:56:11 +02:00
Wojtek Figat
f42d2b8a18 Tweaks and improvements 2021-07-29 15:41:58 +02:00
Wojtek Figat
88902bdb5d Add JsonSerializer.ParseID with return value 2021-07-20 16:29:34 +02:00
Wojtek Figat
7fc3e65849 Fix changing prefab root
#488 #544 #489
2021-07-09 17:17:21 +02:00
Wojtek Figat
4765e1af12 Add support for allocator type in Dictionary 2021-07-08 00:34:50 +02:00
Wojtek Figat
64501a8645 Fix enum deserialization from string 2021-06-17 14:22:08 +02:00
Wojtek Figat
b510e3fcc5 Add support for loading C# dictionaries in native json reader 2021-06-17 14:17:04 +02:00
Wojtek Figat
aa83af477a Add GetStringAnsiView to json value 2021-06-17 14:14:10 +02:00
Wojtek Figat
9c66ac4656 Add MemoryCompare, MemoryClear and MemoryCopy for direct memory access in C# 2021-05-30 14:11:25 +02:00
Wojtek Figat
e6074149e5 Fix Margin loading 2021-05-29 13:48:38 +02:00
Wojtek Figat
bf32034d91 Fix Margin serialization 2021-05-29 10:14:17 +02:00
Wojtek Figat
2a6f1df76e Fix undo errors in editor on Margin property serialization 2021-05-26 23:26:41 +02:00
Wojtek Figat
7edf3e5b36 Merge branch 'scripting-int16-support' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-scripting-int16-support 2021-05-19 19:50:06 +02:00
Wojtek Figat
0509f9710f Fix crashes during deserialization of invalid data
#514
2021-05-12 13:42:07 +02:00
Wojtek Figat
ba95ae5191 Merge branch 'master' of git://github.com/Vizepi/FlaxEngine into Vizepi-master 2021-05-12 13:14:51 +02:00
Jean-Baptiste Perrier
7506142dbb Uint16 & Int16 CPP serialization. 2021-05-10 22:57:49 +02:00
Wojtek Figat
0e75dba142 Optimize C++ compilation time 2021-04-30 16:27:57 +02:00
Vizepi
2f07b11bb6 [CLEAN] Add missing include and undef redefined macro
The missing include defined the inline macro used in the class
2021-04-30 10:16:58 +02:00
Wojtek Figat
ed4eeee647 Fix undo for custom serialized objects (eg. LocalizedString) 2021-04-27 10:14:19 +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
64b6b4ebc9 Fix byte array deserialization from base64 encoded string 2021-04-22 10:58:25 +02:00
Wojtek Figat
983190b9a0 Add LocalizedString 2021-04-19 16:24:14 +02:00
Wojtek Figat
c5dd3674c1 Optimize WriteStream::WriteText 2021-04-17 19:38:23 +02:00
Wojtek Figat
f9c6166b46 Minor tweak 2021-04-15 16:57:16 +02:00
Jean-Baptiste Perrier
274dde0a7e Add IntX support De/Serialize. 2021-04-08 18:57:05 +02:00
Jean-Baptiste Perrier
7a5e5a63e1 Add IntX support Deserialize. 2021-04-08 18:56:36 +02:00
Jean-Baptiste Perrier
e55dd16b72 Add IntX support Serialize. 2021-04-08 18:56:20 +02:00
Jean-Baptiste Perrier
054b2cb9c7 Add C++ Serialization IntX support. Header. 2021-04-08 18:55:48 +02:00
Jean-Baptiste Perrier
fa82555149 Add IntX support for JsonWriter. 2021-04-08 18:39:08 +02:00
Wojtek Figat
25a9dcad8a Move JsonConverters to a separate file 2021-04-07 14:46:49 +02:00
Wojtek Figat
6982997a2b Fixes for serialization problems with custom structures 2021-03-24 22:08:40 +01:00
Wojtek Figat
b5e324673e Fixes for serialization problems with custom structures 2021-03-23 12:29:25 +01:00
Wojtek Figat
c4d457d7b7 Fix control Offsets margin diff deserialziation 2021-03-17 17:01:10 +01:00
Wojtek Figat
a479f1daf6 Fix preserving objects order in prefab instances on apply (based on the prefab)
Fixes #346
2021-03-17 00:24:29 +01:00
Wojtek Figat
a2be4bb74a Fix deserialization of UTF-8 string for C# object properties
Closes #320
2021-03-12 13:50:03 +01:00