1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02:00
Ryujinx/Ryujinx.Common/Utilities
Andrey Sukharev 4ce4299ca2
Use source generated json serializers in order to improve code trimming (#4094)
* 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

---------

Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
2023-03-21 19:41:19 -03: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 Use source generated json serializers in order to improve code trimming (#4094) 2023-03-21 19:41:19 -03: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 Use source generated json serializers in order to improve code trimming (#4094) 2023-03-21 19:41:19 -03: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 Use source generated json serializers in order to improve code trimming (#4094) 2023-03-21 19:41:19 -03:00
UInt128Utils.cs Optimize string memory usage. Use Spans and StringBuilders where possible (#3933) 2023-01-18 22:25:16 +00:00