RoosterDragon
b58c1ea5bc
Provide names and pools when creating MiniYaml.
...
- Rename the filename parameter to name and make it mandatory. Review all callers and ensure a useful string is provided as input, to ensure sufficient context is included for logging and debugging. This can be a filename, url, or any arbitrary text so include whatever context seems reasonable.
- When several MiniYamls are created that have similar content, provide a shared string pool. This allows strings that are common between all the yaml to be shared, reducing long term memory usage. We also change the pool from a dictionary to a set. Originally a Dictionary had to be used so we could call TryGetValue to get a reference to the pooled string. Now that more recent versions of dotnet provide a TryGetValue on HashSet, we can use a set directly without the memory wasted by having to store both keys and values in a dictionary.
2024-01-21 12:39:10 +02:00
RoosterDragon
8a285f9b19
Fix IDE0090
2023-04-08 16:51:51 +03:00
abcdefg30
5bf7fe852c
Remove the copyright year numbers
2023-01-11 11:58:54 +02:00
Gustas
858d782af1
Simplify 'default' expression (IDE0034)
2022-10-11 17:40:05 +02:00
abcdefg30
6a31b1f9f3
Update the copyright header year
2022-05-28 00:35:10 -05:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
b4d1517d0d
Set yaml filename when loading from FileSystem.
2016-06-04 15:23:44 +01:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
Paul Chote
9341055f50
Use IReadOnlyFileSystem in UI code.
2016-02-18 18:12:31 +00:00
Paul Chote
4a12e7bafc
Load mod yaml via the virtual filesystem.
2016-02-06 16:30:23 +00:00
Paul Chote
ab921682c4
Rewrite yaml merger.
2016-01-30 15:03:56 +00:00
Paul Chote
c7249e6fa6
Move yaml removals to the end of the merge.
2015-11-28 17:20:32 +01:00
Paul Chote
a074bb1d4b
Rename MiniYaml MergeLiberal -> MergePartial, MergeStrict -> Merge.
2015-11-28 17:20:21 +01:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
Hellhake
5a97a4b63b
Fix StyleCop warnings in OpenRA.Game
2015-01-02 12:11:01 +01:00
ScottNZ
c4110bad45
Add country definitions
2014-12-19 18:05:28 +13:00
Taryn Hill
b8f5786bdb
Clean up some chars.
2014-10-30 20:34:56 -06:00
Paul Chote
4f44cc1969
Load assets using absolute paths. Fixes #6717 .
2014-10-11 11:02:30 +13:00
Alexander Fast
070d00c678
Fixes year numbers in license text in file headers.
2014-08-21 11:27:52 +02:00
ScottNZ
dbffce81a6
Remove unused usings
2014-06-15 22:16:40 +12:00
Paul Chote
fd660c7fa0
Make ChromeMetrics accessible from mod dlls.
2013-06-29 12:58:48 +12:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Chris Forbes
60a3f170ab
clean up remaining non-generic GetValue uses
2011-07-14 20:29:09 +12:00
Chris Forbes
3409d8f046
remove type-specific functions for ChromeMetrics.Get; use FieldLoader
2011-06-20 14:39:03 +12:00
Paul Chote
d043f4807f
Make the checkbox depressed state optional, and disabled in ra.
2011-06-20 14:34:29 +12:00
Chris Forbes
b183366d54
add ChromeMetrics for values we dont want to duplicate everywhere
2011-05-21 16:27:06 +12:00