abcdefg30
6a31b1f9f3
Update the copyright header year
2022-05-28 00:35:10 -05:00
RoosterDragon
727084c5fc
Run spell check over solution
2021-12-05 19:23:43 +01:00
RoosterDragon
1d23c23d06
Adjust span comparisons for clarity and add some test cases.
2021-11-15 13:20:34 +01:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Paul Chote
0b8a367867
Fix MiniYaml parsing of empty comments
2019-12-28 19:15:36 +01:00
Paul Chote
2a085945df
Add terminating newline to yaml strings.
2019-05-02 13:40:22 +02:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
abcdefg30
e83f5a9d59
Replace "\r\n" by "\n" in unit tests
2018-05-20 22:44:34 +02:00
Paul Chote
ba9d1c3182
Improve MiniYaml nunit tests:
...
- Fixes incorrectly used variable.
- Adds additional tests for node positions.
2018-05-20 22:44:34 +02:00
Paul Chote
df31690332
Extend MiniYaml parser with new features:
...
- Add support for escaping '#' inside values
- Add support for escaping leading and trailing whitespace
And when discardCommentsAndWhitespace is set to false:
- Add proper support for comments
- Persist empty lines
Whitespace and comment support requires an explicit opt-in because
they produce MiniYamlNodes with null keys. Supporting these through
the entire game engine would require changing all yaml enumerations
to explicitly check and account for these keys with no benefit.
Comments and whitespace are now treated as real nodes during parsing,
which means that the yaml parser will throw errors if they have
incorrect indentation, even if these nodes will be discarded.
2018-05-12 16:42:54 +02:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Paul Chote
18f6317560
Add a unit test for merging duplicated yaml nodes.
2017-10-06 17:54:11 +02:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Taryn Hill
ee50276c7a
Add a new MiniYaml test regarding line numbers
2016-06-17 11:20:43 -05: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
ab921682c4
Rewrite yaml merger.
2016-01-30 15:03:56 +00:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
Paul Chote
a074bb1d4b
Rename MiniYaml MergeLiberal -> MergePartial, MergeStrict -> Merge.
2015-11-28 17:20:21 +01:00
RoosterDragon
bfe1804bf6
Fix some spellings.
2015-11-27 16:19:59 +00:00
Paul Chote
7dd51663b6
Fix the MiniYaml unit tests. Fixes #7999 .
2015-04-22 19:58:10 +12:00
Oliver Brakmann
7267a3afdb
Merge pull request #6984 from DeadlySurprise/yamlFix
...
Fixed yaml bug with leading spaces
2015-01-20 21:42:22 +01:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
DeadlySurprise
fbe6ab7f4e
Fixed yaml bug with leading spaces
2015-01-07 22:16:15 +01:00
Matthias Mailänder
cddb956fee
Merge pull request #7245 from Hellhake/stylecop-rest
...
Fix StyleCop warnings in Editor, Renderer.Sdl2, Utility, Test
2015-01-02 16:53:22 +01:00
Hellhake
311d154bd6
Fix StyleCop warnings in OpenRA.Test
2015-01-02 16:08:07 +01:00
Hellhake
fa72e04042
Remove BOM
2015-01-01 22:51:12 +01:00
Matthias Mailänder
b0181b6d7b
don't run tests that will fail due to known issues
2014-12-22 10:18:44 +01:00
huwpascoe
dfc6ebd3ba
Introduced NUnit and some tests.
2014-11-02 20:18:04 +00:00