1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-18 07:26:43 +00:00
Ryujinx/Ryujinx.Common/Utilities
Andrey Sukharev 3249f8ff41
Source generated json serializers (#4582)
* Use source generated json serializers in order to improve code trimming

* Use strongly typed github releases model to fetch updates instead of raw Newtonsoft.Json parsing

* Use separate model for LogEventArgs serialization

* Make dynamic object formatter static. Fix string builder pooling.

* Do not inherit json version of LogEventArgs from EventArgs

* Fix extra space in object formatting

* Write log json directly to stream instead of using buffer writer

* Rebase fixes

* Rebase fixes

* Rebase fixes

* Enforce block-scoped namespaces in the solution. Convert style for existing code

* Apply suggestions from code review

Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>

* Rebase indent fix

* Fix indent

* Delete unnecessary json properties

* Rebase fix

* Remove overridden json property names as they are handled in the options

* Apply suggestions from code review

Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>

* Use default json options in github api calls

* Indentation and spacing fixes

* Fix json serialization

* Fix missing JsonConverter for config enums

* Add double \n\n after the whole string, not inside join

---------

Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
2023-04-03 10:14:19 +00:00
..
BitfieldExtensions.cs IPC refactor part 3+4: New server HIPC message processor (#4188) 2023-01-04 23:15:45 +01:00
BitUtils.cs Added Generic Math to BitUtils (#3929) 2022-12-26 14:11:05 +00:00
Buffers.cs ASTC optimizations (#845) 2020-01-09 02:13:00 +01:00
CommonJsonContext.cs Source generated json serializers (#4582) 2023-04-03 10:14:19 +00:00
EmbeddedResources.cs Reducing memory allocations (#4537) 2023-03-17 13:14:50 +01:00
HexUtils.cs Logger and Configuration Refactoring (#573) 2019-02-11 09:00:32 -03:00
JsonHelper.cs Source generated json serializers (#4582) 2023-04-03 10:14:19 +00:00
MessagePackObjectFormatter.cs prepo: Add a MessagePack object formatter (#1034) 2020-03-26 08:33:18 +11:00
SpanHelpers.cs infra: Migrate to .NET 7 (#3795) 2022-11-09 20:22:43 +01:00
StreamUtils.cs Reducing memory allocations (#4537) 2023-03-17 13:14:50 +01:00
TypedStringEnumConverter.cs Source generated json serializers (#4582) 2023-04-03 10:14:19 +00:00
UInt128Utils.cs Optimize string memory usage. Use Spans and StringBuilders where possible (#3933) 2023-01-18 22:25:16 +00:00