RoosterDragon
f4af5c1764
Fix CA1852
2023-06-06 11:51:47 +03:00
Gustas
ade27ad8b9
Fail CI on lint warnings
2023-05-19 17:25:03 +02:00
Gustas
1ac6912c2a
Fix lint error formatting
2023-05-19 17:25:03 +02:00
RoosterDragon
a167f9680f
Fix SA1316
2023-04-08 16:51:51 +03:00
Paul Chote
f0cf728825
Dispose SequenceSet when we're done with it.
...
Utility rules that do something on a map and exit
are left without explicit disposing, as they will
be cleaned up immediately anyway.
2023-03-10 20:11:33 +02:00
Paul Chote
c35ab081ff
Rewrite sequence loading logic.
...
Multiple layers of Lazy<T>ness are replaced with
an explicit two-part loading scheme.
Sequences are parsed immediately, without the need
for the sprite assets, and tell the SpriteCache
which frames they need. Use-cases that want the
actual sprites can then tell the SpriteCache to
load the frames and the sequences to resolve the
sprites.
2023-03-10 20:11:33 +02:00
Paul Chote
b7cdcf419f
Add ILintSequencesPass.
2023-03-10 20:11:33 +02:00
abcdefg30
5bf7fe852c
Remove the copyright year numbers
2023-01-11 11:58:54 +02:00
Matthias Mailänder
5d118e2634
Inline variables.
2022-11-17 22:28:07 +02:00
abcdefg30
6a31b1f9f3
Update the copyright header year
2022-05-28 00:35:10 -05:00
Matthias Mailänder
0e7ad43425
Remove unused parameters.
2022-04-01 23:30:26 +02:00
Matthias Mailänder
6997b973ee
Fix a null reference exception.
2021-12-17 14:11:19 +01:00
darkademic
c51327c4cc
Make yaml check utility load each map separately to reduce memory usage.
2021-12-04 20:07:19 +01:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
teinarss
10676be377
Replace F extension with string interpolation
2021-05-08 22:20:59 +02:00
teinarss
4a1e4f3e16
Use expression body syntax
2021-03-07 13:00:52 +00:00
Paul Chote
1cc1f93fb0
Rename Platform.GameDir to Platform.EngineDir.
2020-11-24 17:53:48 +01:00
Paul Chote
888915b53b
Use Platform.GameDir explicitly in hardcoded paths.
2020-11-22 16:42:46 +01:00
Paul Chote
b985edbc29
Add ModData to ILintRulesPass.Run.
2020-09-12 17:52:46 +02: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
Paul Chote
d46278ab0e
Add ModData parameter to ILintMapPass.
2018-06-30 17:12:19 +01:00
Paul Chote
4d664d4f74
Report custom map rule errors in the lint output.
2018-06-15 23:39:48 +02:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
abcdefg30
0727f7e9ff
Only lint system maps
2017-10-08 18:23:25 +01:00
abcdefg30
27345c1f6a
Fix map linting crashing for not existing directories
2017-10-08 18:23:25 +01:00
Matthias Mailänder
d7323e07cc
Avoid modData.MapCache during lint checks
2017-10-07 10:08:53 +02:00
Paul Chote
e54cf9acc3
Move linter interfaces to Mods.Common.
2017-09-10 18:36:39 +02:00
Paul Chote
e5222f95f6
Remove ambiguity from FileSystem references.
2017-05-29 12:41:28 +02:00
Paul Chote
8321d1f3e3
Remove legacy FileSystem.OpenPackage(string, IReadOnlyPackage).
2017-05-29 12:27:24 +02:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
8a1987eb5c
Fix explicit oramap path lint checking.
2016-09-14 21:25:44 +01:00
Paul Chote
bf4867909f
Rename Manifest.Mod -> Metadata.
2016-08-08 22:36:07 +01:00
Paul Chote
45a596953e
Add a Utility class and update command interface.
2016-08-08 22:23:16 +01:00
Paul Chote
1e5065e06a
Remove lazy loading of map rules.
2016-03-18 20:23:52 +00:00
Paul Chote
82a9d69a51
Remove RulesetCache and push rule parsing to background thread.
2016-03-11 21:18:32 +00:00
Paul Chote
20e8bc249d
Restore support for inline map rules.
2016-03-10 19:27:50 +00:00
Paul Chote
e313ce62f0
Mount the map filesystem for yaml checks.
2016-03-08 20:54:51 +00:00
Oliver Brakmann
4f1fa3acec
Merge pull request #10786 from pchote/mappreview-packages
...
Remove internal use of map paths.
2016-02-23 22:52:54 +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
8a9bce45ec
Remove map loading shim.
2016-02-21 16:11:36 +00:00
Paul Chote
d492c23a6d
Store map packages in MapPreview.
2016-02-21 16:11:36 +00:00
Paul Chote
7106d7ecdf
Pass ModData to ILintPass.
2016-02-18 18:12:33 +00:00
Paul Chote
b347fade71
Use IReadOnlyFileSystem in artwork loaders.
2016-02-18 18:12:31 +00:00
Paul Chote
7b00da04ca
Remove MapPreview.Map.
2016-02-06 22:30:50 +00:00
Herve-M
1485dd1675
Add basic arguments validation
2015-10-03 17:21:21 +02:00
Matthias Mailänder
0b8d7708ef
add more lint interfaces to reduce boiler plate
2015-08-30 13:12:25 +02:00
Matthias Mailänder
fb22c9a1e5
test unchanged miniyaml rules only once
2015-08-04 14:20:52 +02:00
Matthias Mailänder
d1db675af5
fix the linter not printing any helpful stacktraces (doh!)
2015-07-19 19:24:18 +02:00