Commit Graph

512 Commits

Author SHA1 Message Date
Felix Krause 7942e0a650 Fixed a bug in uint deserialization.
* fixes #123
2022-09-07 16:50:45 +02:00
Felix Krause 4ca3239e14 Fixed error handling for previous feature
* ref #117
2022-09-07 16:38:11 +02:00
Felix Krause 7bd562e37e Fixes and improvements to DOM API.
* added loadFlattened. Fixes #117
 * fixed an error where recursive nodes were not loaded
   properly into YamlNodes.
 * made dump with asNone raise an error when a cycle is
   encountered, instead of running into an endless loop.
2022-09-07 16:23:50 +02:00
Felix Krause 5f7677d914 Improved presenter.
* added maxLineLength to PresentationOptions. Fixes #119
 * write a newline to the end of the document.
   required for the output files to be POSIX-compliant text files.
   also improves QoL when dumping to stdout.
2022-09-07 15:15:55 +02:00
xflywind a5552a1a18 replace shallowCopy for ARC/ORC 2022-08-29 16:30:26 +02:00
metagn c7d8aa6467 Change deprecated type pragma syntax
Sorry that this messes with the style here, but it would be nice to have this syntax removed given how long it's been deprecated (https://github.com/nim-lang/Nim/pull/20199).
2022-08-11 09:14:42 +02:00
Felix Krause 947207dd02 added marks and styles to YamlNode 2022-08-02 19:46:58 +02:00
Felix Krause be18033461 updated changelog & readme, v1.0.0 2022-07-10 23:24:25 +02:00
quantimnot 5a3aab9389
Change logic to prevent early doc end state (#115)
fixes #114

Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
2022-07-10 18:14:07 +02:00
Felix Krause 741fd18047 Deprecated DOM API, YamlNode now supported by serialization API
* implements #48
 * also fixes #108
 * updated docs
2022-06-05 12:27:19 +02:00
Felix Krause 8993f928d4 properly handle comment after block scalars. fixes #106 2022-06-04 23:14:28 +02:00
Felix Krause 5aa39aa0f1 webdocs: have code always on left side in quickstart 2022-06-04 13:03:49 +02:00
Felix Krause 1fe5991337 typo3 2022-06-04 12:55:06 +02:00
Felix Krause 674c64bc82 typo2 2022-06-04 12:08:18 +02:00
Felix Krause 3cb4c5910e typo 2022-06-04 12:07:18 +02:00
Felix Krause d80b6fb52e improved webdocs; added nix flake for webdocs 2022-06-04 01:45:41 +02:00
flyx 89e18cebfa
fix #105
fixed an off-by-one error when presenting folded scalars
2022-01-22 01:18:11 +01:00
Felix Krause e33c448783 up Readme, +funding, v0.16.0 2021-10-22 18:36:29 +02:00
quantimnot 75ed8e5be4
Change serialization to omit `none(T)` fields of sparse objects (#100)
* Change serialization to omit `none(T)` fields of sparse objects

Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
2021-10-22 17:54:40 +02:00
Felix Krause d704a8c6d7 fixed compiler warnings 2021-10-22 17:46:05 +02:00
Felix Krause c681498701 updated tests, fixed problems 2021-10-22 17:42:48 +02:00
Felix Krause c1cc0be3f3 fixed lexer errors discovered by new parser tests 2021-10-22 17:22:43 +02:00
Felix Krause 386d516770 updated yaml-test-suite 2021-10-21 17:37:51 +02:00
flywind 8d15e6a79e Update .github/workflows/action.yml 2021-09-24 10:51:16 +02:00
flywind 05a71993ed Update action.yml 2021-09-24 10:51:16 +02:00
flywind 509862b88f Update action.yml 2021-09-24 10:51:16 +02:00
flywind 4bb18907c3 Update action.yml 2021-09-24 10:51:16 +02:00
flywind 4dfd00257e test 2021-09-24 10:51:16 +02:00
flywind c701ea56f9 ci 2021-09-24 10:51:16 +02:00
flywind ff5bc442de fix windows 2021-09-24 10:51:16 +02:00
flywind d333d20ffb add ci 2021-09-24 10:51:16 +02:00
Felix Krause 10cc4d3026 repaired raise annotations in serialization. Fixes #99 2021-09-06 12:37:19 +02:00
Felix Krause 9916c340c1 made docs compile again 2021-05-18 01:01:30 +02:00
Felix Krause 450e7f3e45 updated changelog & readme, removed travis, v0.15.0 2021-05-18 00:57:01 +02:00
Felix Krause d20707c4e4 disable DOM API when using ARC (ref #85) 2021-05-18 00:42:58 +02:00
Felix Krause 1346467b42 fixes #93 2021-05-18 00:31:47 +02:00
Felix Krause a72966374f fixes #90 2021-05-18 00:28:24 +02:00
Felix Krause f123924d32 fix for --gc:orc; some memory improvements 2021-05-17 23:51:35 +02:00
Felix Krause a053947f53 server output fix 2021-05-17 20:33:05 +02:00
Felix Krause 2b0e20abd0 fixed server to compile with current Nim 2021-05-17 19:50:10 +02:00
Felix Krause 329e18e44c removed obsolete TagLibrary type. control tag directives when dumping. fixes #95 2021-03-23 18:51:05 +01:00
flyx 03ecab0075
fix bool serialization
output `true` or `false` instead of `y` and `n` to comply with the YAML 1.2 spec.
2021-03-23 13:20:48 +01:00
Timothee Cour fcae534148 support -d:yamlDebug at CT 2020-11-14 21:58:31 +01:00
Felix Krause 45321cad13 fixes #39 2020-11-10 22:12:09 +01:00
Felix Krause f79774e766 updated raises annotations 2020-11-10 21:28:56 +01:00
Felix Krause e3e810fce0 all tests green again 2020-11-10 19:07:46 +01:00
Felix Krause 9d92e8a2c5 all serialization tests green again 2020-11-10 15:40:01 +01:00
Felix Krause 4305bccbf0 made anchor resolution during deserialization safer 2020-11-10 14:48:19 +01:00
Felix Krause aa65c066d5 changed TagId to Tag. removed JS stuff that wasn't working anyway. 2020-11-10 13:55:22 +01:00
Felix Krause 6238104622 started making serializationTests green again 2020-11-06 21:39:50 +01:00