Commit Graph

231 Commits

Author SHA1 Message Date
Jean-Sébastien Pédron
ea8bfddb00 installation.md: Rephrase tl;dr subsections' title 2012-12-21 16:28:42 +01:00
Jean-Sébastien Pédron
1884d896d7 Update documentation to note that rebar is now supported 2012-12-21 16:26:52 +01:00
Jean-Sébastien Pédron
f3e10de17f gitignore: Add "rebar", "yamerl.app" and all .beam files 2012-12-21 15:36:54 +01:00
Jean-Sébastien Pédron
b682790982 Move ebin/yamerl.app.in.in to src/yamerl.app.src
This is required by rebar(1). ebin/Makefile.am is updated to modify the
"{vsn, ...}" tuple while creating ebin/yamerl.app.

Submitted by:	Gleb Peregud (earlier version)
PR:		#2
2012-12-21 15:28:26 +01:00
Jean-Sébastien Pédron
981f944bf9 Define ?APPLICATION in yamerl_app.erl
No need to define it from the compiler: the application won't change
name often after all.
2012-12-21 15:26:56 +01:00
Jean-Sébastien Pédron
f7615484fc Add a yamerl wrapper to common functions
Currently, it has wrapper for:
    o  yamerl_constr:string/{1,2}
    o  yamerl_constr:file/{1,2}

Discussed with:	Gleb Peregud
PR:		#3
2012-12-20 14:51:08 +01:00
Jean-Sébastien Pédron
8f0d961ca0 features.md: Improve link to alternatives.md 2012-12-12 17:31:50 +01:00
Jean-Sébastien Pédron
3b272929d1 Installation: Automake 1.11 required (set in configure.ac) 2012-12-12 17:28:26 +01:00
Jean-Sébastien Pédron
c22b7b58ab Installation: Enter working copy after git clone 2012-12-12 17:28:02 +01:00
Jean-Sébastien Pédron
8787f08b82 Improve links to features & installation docs 2012-12-12 17:26:37 +01:00
Jean-Sébastien Pédron
79ea49d67c doc/README.md: links to subdir#$TITLE (hopefully, last try) 2012-12-12 17:24:20 +01:00
Jean-Sébastien Pédron
603f5a1b49 doc/README.md: links to subdir#readme 2012-12-12 17:22:35 +01:00
Jean-Sébastien Pédron
6cd74aec83 Use anchors created automatically by Github 2012-12-12 17:18:57 +01:00
Jean-Sébastien Pédron
547efccf43 Again, many Markdown indentation issues 2012-12-12 16:55:16 +01:00
Jean-Sébastien Pédron
e7d86b6e50 Typo in link: s/maunal/manual/ 2012-12-12 16:50:54 +01:00
Jean-Sébastien Pédron
253f734d32 doc/README.md: links to sundir, not subdir/README.md 2012-12-12 16:49:09 +01:00
Jean-Sébastien Pédron
6df17ac9fd installation.md: Same fixes than features.md 2012-12-12 16:44:01 +01:00
Jean-Sébastien Pédron
b6c9b97575 features.md: Still fixing code blocks... 2012-12-12 16:37:50 +01:00
Jean-Sébastien Pédron
257c62855a features.md: Work around behavior differences between Wiki and plain files 2012-12-12 16:33:33 +01:00
Jean-Sébastien Pédron
a7b7048d91 Work around relative link issues with Github 2012-12-12 16:29:20 +01:00
Jean-Sébastien Pédron
84985388c2 debian/control: Break too long lines 2012-12-12 16:19:18 +01:00
Jean-Sébastien Pédron
e6c3e42bfc debian/copyright: Use meaningful content with the proper format
See:
  http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

PR:	#840
2012-12-12 16:02:43 +01:00
Jean-Sébastien Pédron
3dd0b19c8a Include license of mochijson2.erl
This is mandatory, because I'm not the author of this file: it's taken
from the Mochiweb project, owned by Mochi Media, Inc:
  https://github.com/mochi/mochiweb

PR:	#840
2012-12-12 16:02:26 +01:00
Jean-Sébastien Pédron
74bb0e0d18 Distribute README.md, AUTHORS and COPYING 2012-12-12 15:38:35 +01:00
Jean-Sébastien Pédron
511f7928e6 Use yamerl_constr:new({file, ...}), like yamerl_constr:file/{1, 2} 2012-12-12 11:46:05 +01:00
Jean-Sébastien Pédron
7d38065b3c Remove extension from script filenames in testsuite/ 2012-12-12 11:43:06 +01:00
Jean-Sébastien Pédron
cb3de9a16c Use "set -e" instead of "#!/bin/sh -e"
This permits to always set "-e", event if executed with an explicit
shell (for instance, "/bin/sh cover_to_html.sh").
2012-12-12 11:36:33 +01:00
Jean-Sébastien Pédron
608d7f7559 Add license: 2-clause BSD license
PR:	#840
2012-12-12 11:35:10 +01:00
Jean-Sébastien Pédron
15096b6053 User Guide: Add basic parsing and error handling recipes
PR:	#837
2012-12-11 19:05:23 +01:00
Jean-Sébastien Pédron
89053f1f63 Testsuite: Add test for streaming API 2012-12-11 16:19:08 +01:00
Jean-Sébastien Pédron
25506d4208 Reference manual: Add yamerl_constr documentation
PR:	#22
2012-12-11 16:18:47 +01:00
Jean-Sébastien Pédron
7abb388eef yamerl_constr: Rename main argument from Parser to Constr
This is to "undocument" the fact that the state is a yamerl_parser
state.
2012-12-11 16:16:26 +01:00
Jean-Sébastien Pédron
510aa11954 Improve specs and fix a bug in yamerl_constr:next_chunk/3
PR:	#849
2012-12-11 14:19:59 +01:00
Jean-Sébastien Pédron
0a47c486f7 Add small testsuite for anchors & aliases
PR:	#865
2012-12-11 10:23:18 +01:00
Jean-Sébastien Pédron
4e68c490b6 Add doc/README.md
This "index" file needs more content.

PR:	#837
2012-12-10 18:45:28 +01:00
Jean-Sébastien Pédron
8f8a054547 Documentation: List alternatives to yamerl
PR:	#837
2012-12-10 18:45:00 +01:00
Jean-Sébastien Pédron
401417431a Documentation: Add features list + examples
PR:	#837
2012-12-10 18:44:36 +01:00
Jean-Sébastien Pédron
a6cda1fc08 Documentation: Add installation instructions
PR:	#837
2012-12-10 18:22:46 +01:00
Jean-Sébastien Pédron
3470ee7553 Forgot to rename option simple_structs in README.md... 2012-12-10 16:03:49 +01:00
Jean-Sébastien Pédron
b20f08ae28 Add Quick start (README.md)
PR:	#837
2012-12-10 15:30:11 +01:00
Jean-Sébastien Pédron
372bab960e Rename option "simple_structs" to "detailed_constr"
CAUTION: the meaning is reversed! Though, the default behavior
({detailed_constr, false}) remains the same.
2012-12-10 15:28:28 +01:00
Jean-Sébastien Pédron
345ef4a63e Add -spec for next_fun/2 in yamerl_parser and yamerl_constr
PR:	#849
2012-12-10 11:29:23 +01:00
Jean-Sébastien Pédron
7b770b7b7c yamerl_constr: Support anchors and aliases
A new test is included, "examples", filled with the YAML snippets from
the YAML 1.2 specification, §2.5 Full Length Example.

PR:	#865
2012-12-07 16:40:05 +01:00
Jean-Sébastien Pédron
00dc3c11f6 Add -spec to yamler compatibility module
PR:	#849
2012-12-05 18:02:08 +01:00
Jean-Sébastien Pédron
40489699c4 Export yamerl_doc() and yamerl_simple_doc() types
PR:	#849
2012-12-05 18:01:41 +01:00
Jean-Sébastien Pédron
9579174cc5 Fix testsuite, now that plain scalar are rejected with JSON schema
PR:	#864
2012-12-05 18:00:46 +01:00
Jean-Sébastien Pédron
1d6d695c07 Add "yamler" compatibility module, called yamerl_yamler_compat
PR:	#844
2012-12-05 17:15:09 +01:00
Jean-Sébastien Pédron
6f50916322 Add a "yaml11" schema: use "_ext" node modules by default 2012-12-05 17:10:07 +01:00
Jean-Sébastien Pédron
fed169a059 configure: Detect if yamler is present 2012-12-05 17:07:38 +01:00
Jean-Sébastien Pédron
6c4cc2d11d .gitignore: Ignore Vim swap files for read-only buffers 2012-12-05 17:06:53 +01:00