summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Emitter: Output space after an alias mapping key (#185)Tina Müller (tinita)2020-06-011-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | Before: a: &b x *b: c Now: a: &b x *b : c Passing tests: * 26DV: Whitespace around colon in mappings * E76Z: Aliases in Implicit Block Mapping * X38W: Aliases in Flow Objects Test manually because `make test-suite` will overwrite changes in the skiplist: ./tests/run-parser-test-suite tests/run-test-suite/data/26DV/in.yaml | ./tests/run-emitter-test-suite ./tests/run-parser-test-suite tests/run-test-suite/data/E76Z/in.yaml | ./tests/run-emitter-test-suite ./tests/run-parser-test-suite tests/run-test-suite/data/X38W/in.yaml | ./tests/run-emitter-test-suite Or edit tests/run-test-suite/test/blacklist/libyaml-emitter and do: (cd tests/run-test-suite; prove -lv test) Also I added some newlines to yaml.h to help identifying states by number.
* Change dllexport controlling macro to use _WIN32Mark Sheahan2020-04-111-1/+1
| | | | | | | | (provided by msvc compiler) instead of WIN32 (which is user configurable, and omitted by default on some x64 builds); this fixes an issue with 64 bit windows static library builds (#66) Co-authored-by: Mark Sheahan <mark.sheahan@upguard.com>
* include/yaml.h: fix comments (#155)Junde Yhi2020-03-281-5/+5
| | | | | | | | | * include/yaml.h: fix indentation of comments * include/yaml.h: fix documentation style comment * include/yaml.h: fix doc command returns * include/yaml.h: fix typo
* Use pointer to const for strings that aren't/shouldn't be modifiedcriptych2019-06-061-8/+8
|
* Fix typo in comment林博仁(Buo-ren Lin)2019-06-061-1/+1
| | | | | s/intendation/indentation/ Signed-off-by: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
* fix C++-compat errorReini Urban2018-07-171-8/+13
| | | | | we cannot malloc to an anon struct in C++. typedef yaml_anchors_t
* Fix token name typos in commentsViktor Szakats2018-06-301-1/+1
|
* Fix two typos in header comments. (#120)Éric Thiébaut2018-06-251-2/+2
|
* Updates defs for MingGW support on WindowsAnthony Hendrickson2017-03-101-1/+3
| | | addresses issue #52
* Fix typoKevin Wojniak2016-12-281-1/+1
|
* Use AM_CPPFLAGS since autotools deprecated INCLUDEIan Cordasco2016-12-101-3/+3
| | | | | | | | autoconf deprecated INCLUDE around version 2.69. No other automake file in the project uses INCLUDE (instead they use AM_CPPFLAGS) and this warning prevents the bootstrap-configure-make process from working on OSX for me. Updating the variable name in the include/Makefile.am fixes this and allows me to move along with development on OSX.
* Use _WIN32 instead of WIN32 as the latter is not defined by Visual C.Kirill Simonov2011-05-291-1/+1
|
* 'make distclean' should not remove html docs, 'make maintainer-clean' should ↵Kirill Simonov2008-12-301-1/+1
| | | | (Thanks Anders Kaseorg).
* Fixed emitting folded scalars with trailing breaks; Forced emitting of a ↵Kirill Simonov2008-12-271-0/+2
| | | | document end indicator when there is a possibility of ambiguous parsing.
* Eliminate some warnings and add more doxygen definitions.Kirill Simonov2007-01-081-5/+125
|
* Add functions for constructing, parsing and emitting YAML documents.Kirill Simonov2007-01-071-213/+344
|
* Add `const` qualifier for `yaml_parser_set_input_string` parameter `input`.Kirill Simonov2006-12-111-6/+304
|
* Prepare the initial release.0.0.1Kirill Simonov2006-08-011-72/+75
|
* Add two examples and prepare the build system for distribution.Kirill Simonov2006-07-311-1/+2
|
* Implement everything except tag and scalar writers.Kirill Simonov2006-07-281-0/+42
|
* Implement Emitter state machine.Kirill Simonov2006-07-261-173/+170
|
* Add yaml_emitter_emit_* set of functions.Kirill Simonov2006-07-251-2/+2
|
* Add Emitter definitions and implement the Writer.Kirill Simonov2006-07-231-9/+544
|
* Refactor internal and external API.Kirill Simonov2006-07-211-551/+159
|
* Implement half of the parsers.Kirill Simonov2006-07-051-4/+4
|
* Start working on the parser.Kirill Simonov2006-07-041-0/+103
|
* Move yaml/yaml.h to yaml.h and merge version.c to api.c.Kirill Simonov2006-07-034-59/+1
|
* Add event constructors and destructors.Kirill Simonov2006-07-031-22/+255
|
* Implementing Scanner: macros and high-level functions.Kirill Simonov2006-06-071-5/+15
|
* Add scanner definitions.Kirill Simonov2006-06-061-3/+114
| | | | Add a basic description of all tokens produced by the scanner.
* Add token constructors and destructors.Kirill Simonov2006-06-021-51/+307
| | | | Add YAML_DECLARE to the API declarations (Thanks to Peter Murphy for suggestion).
* Complete buffering and encoding code.Kirill Simonov2006-06-011-0/+3
|
* Complete UTF-8 and UTF-16 decoders.Kirill Simonov2006-05-301-1/+20
| | | | Reader is mostly done (though untested).
* Working on the decoding code.Kirill Simonov2006-05-291-13/+40
|
* Implementing Reader: first tries.Kirill Simonov2006-05-271-16/+145
|
* Doxygenify the header file.Kirill Simonov2006-05-263-9/+154
| | | | | | Add basic reader fields to the parser structure. Start implementing basic parser functions.
* Add doxygen support.Kirill Simonov2006-05-213-4/+41
|
* Add the basic autoconf infrastructure.Kirill Simonov2006-05-204-39/+89
|
* Add yaml.h with prototypes for basic structures.Kirill Simonov2006-05-121-0/+186