Commit Graph

268 Commits

Author SHA1 Message Date
Petr Kozorezov
573199f422 remove obsolate type 'unicode:unicode_char' from specs 2017-07-06 16:08:48 +03:00
Jean-Sébastien Pédron
296b399f99 Merge pull request #19 from martide/travis-matrix
Add OTP 20.0 to Travis matrix
2017-06-26 10:11:00 +02:00
Sam Hamilton
87f299c62f Add OTP 20.0 to Travis matrix 2017-06-22 17:39:59 +08:00
Jean-Sébastien Pédron
77aa488445
src/yamerl.app.src: Bump version to 0.5.0
The minor version is bumped instead of the patch version because some
API, even though not made for public use, were removed.
2017-06-06 00:18:11 +02:00
Jean-Sébastien Pédron
4bc4fa0278
yamerl_parser: Fix an infinite loop
... with document/directive end markers not terminated by a whitespace
or a newline.

Thanks to Barry Allard for the bug report and testcases.

Fixes #18.
2017-06-06 00:11:15 +02:00
Jean-Sébastien Pédron
a12e146d8c
Bump copyright year to 2017 everywhere 2017-06-06 00:10:42 +02:00
Jean-Sébastien Pédron
999680710b Merge pull request #17 from martide/travis-matrix
Bump Travis OTP version
2017-05-16 10:41:52 +02:00
Sam Hamilton
56277c6884 Bump Travis OTP version 2017-05-13 12:38:32 +08:00
Jean-Sébastien Pédron
57c050ec7a
README.md: Unify simple/detailed examples presentation 2016-11-13 17:48:28 +01:00
Jean-Sébastien Pédron
88af398735
README.md: Attempt to fix example indentation 2016-11-13 17:47:06 +01:00
Jean-Sébastien Pédron
f9321f7844
README.md: Use Elixir syntax hilighting in examples 2016-11-13 17:43:19 +01:00
Jean-Sébastien Pédron
eab734da37
README.md: Add a full Elixir example 2016-11-13 17:40:00 +01:00
Jean-Sébastien Pédron
b9ec051b12
test/construction/str.erl: Add tests for JSON strings 2016-11-13 16:54:10 +01:00
Jean-Sébastien Pédron
3d13c91ebc
yamerl_node_int_ext: base*_to_integer() are not part of the public API 2016-11-13 16:53:36 +01:00
Jean-Sébastien Pédron
91c75e33a3
yamerl_node_int: Remove base2_to_integer/2 and base16_to_integer/3
This node type doesn't support base 2 or base 60 integers.
2016-11-13 16:52:19 +01:00
Jean-Sébastien Pédron
4454551bfc
README.md: Link coveralls.io badge to the main project page 2016-11-13 15:06:27 +01:00
Jean-Sébastien Pédron
dd895dc73b
Export testsuite coverage resutls to coveralls.io 2016-11-13 15:02:39 +01:00
Jean-Sébastien Pédron
03dda063ea
README.md: s/COPYING/LICENSE/ 2016-11-13 13:38:05 +01:00
Jean-Sébastien Pédron
3506c1bb09
README.md: Add a badge for Hex.pm 2016-11-13 13:36:35 +01:00
Jean-Sébastien Pédron
6fee1fe493
README.md: Indicate it parses YAML 1.2 and JSON 2016-11-13 13:35:34 +01:00
Jean-Sébastien Pédron
bf948d0dcc
README.md: Be explicit that yamerl can be used in Elixir projects 2016-11-13 13:34:21 +01:00
Jean-Sébastien Pédron
1539ce3cdc
yamerl.app.src: Use "GitHub", not "Github" 2016-11-13 13:20:33 +01:00
Jean-Sébastien Pédron
e8b0169501
yamerl.app.src: Indicate it parses YAML 1.2 and JSON 2016-11-13 12:56:57 +01:00
Jean-Sébastien Pédron
875a3d955d
Merge branch 'switch-to-rebar3' 2016-11-13 05:06:16 +01:00
Jean-Sébastien Pédron
a59be95dd8
Remove mix.exs
References #15.
2016-11-13 05:05:49 +01:00
Jean-Sébastien Pédron
db0793aa22
Travis CI: Enable dialyzer
References #15.
2016-11-13 04:51:34 +01:00
Jean-Sébastien Pédron
c4996e9d29
Dialyzer: Fix warnings with uninitialized record fields
See OTP-12719 in Erlang 19.0 release notes for an explanation.

References #15.
2016-11-13 04:50:07 +01:00
Jean-Sébastien Pédron
0b8940d835
README.md: Update usage instructions
References #15.
2016-11-13 03:24:28 +01:00
Jean-Sébastien Pédron
c19aab0228
Switch to EDoc documentation
References #15.
2016-11-13 03:02:17 +01:00
Jean-Sébastien Pédron
1f39cf3455
Travis CI: Fetch rebar3 and use it
Also, only test with the latest Erlang minor release of each major
branch. And do not test on Erlang R15B and older anymore.

References #15.
2016-11-12 23:10:58 +01:00
Jean-Sébastien Pédron
5292225bcb
Move build system to rebar3
References #15.
2016-11-10 09:57:41 +01:00
Jean-Sébastien Pédron
31e0453f04
Move testsuite to plain EUnit
References #15.
2016-11-10 09:23:35 +01:00
Jean-Sébastien Pédron
18fe0651df
Fix documentation generation with mix
This makes mix hex.publish happy.
2016-10-30 01:22:47 +02:00
Jean-Sébastien Pédron
6abef85012
mix.exs: Declare maintainers 2016-10-30 00:50:34 +02:00
Jean-Sébastien Pédron
ad57ab35c4
Rename package.exs to mix.exs 2016-10-30 00:48:35 +02:00
Jean-Sébastien Pédron
277ae7e080
Prepare release 0.3.3 2016-10-30 00:40:39 +02:00
Jean-Sébastien Pédron
7026adbd85
yamerl_parser: Fix an infinite loop with "key:"
The determine_token_type() function expected something after ':' to
distinguish a block mapping key from something else. And because it was
the end of the document, the parser tried again, leading to an infinite
loop.

Fixes #14.
2016-10-30 00:30:33 +02:00
Jean-Sébastien Pédron
e4f205ad8e
testsuite/gen-test-erlang-module: Perl might not be in /usr/bin
Use env(1) to find it in the $PATH.
2016-10-30 00:29:18 +02:00
Jean-Sébastien Pédron
3f46bf06b9
yamerl.app.src: Only publish required files to Hex.pm
Files used only during yamerl development are not needed.
2016-07-20 09:59:42 +02:00
Jean-Sébastien Pédron
9d54432344
yamerl.app.src: Do not use non-US-ASCII characters...
It breaks publishing to Hex.pm.
2016-07-20 09:49:20 +02:00
Jean-Sébastien Pédron
5b031e046b
Git: Ignore rebar.lock 2016-07-20 09:25:12 +02:00
Jean-Sébastien Pédron
7b2acb2668
Update Hex metadata 2016-07-20 09:23:59 +02:00
Jean-Sébastien Pédron
e1f286861e
Update copyright everywhere 2016-07-20 09:10:22 +02:00
Jean-Sébastien Pédron
f4b8dec630
Travis CI: Drop Erlang R14B 2016-07-20 08:52:35 +02:00
Jean-Sébastien Pédron
5775ba2b2b
Travis CI: Enable tests on Erlang 18.0 and 19.0 2016-07-20 08:46:31 +02:00
Jean-Sébastien Pédron
ae810a8088 AUTHORS: Add Eric sagnes 2015-03-28 01:51:02 +01:00
Jean-Sébastien Pédron
b5eca9f34c Prepare release 0.3.2-1 2015-03-28 01:46:59 +01:00
Jean-Sébastien Pédron
d3d14a47f9 AUTHORS: Add Gabriel Malkas, Rich Morin and Sebastian Szturo
While here, replace my email address with a working one.
2015-03-28 01:28:10 +01:00
Jean-Sébastien Pédron
dd7311581f package.exs: Add "configure.ac" to the required files 2015-03-06 09:44:11 +01:00
Jean-Sébastien Pédron
46e31dcc19 Merge pull request #10 from SebastianSzturo/patch-1
Update package.exs
2015-02-03 11:39:14 +01:00