Commit Graph

238 Commits

Author SHA1 Message Date
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
Sebastian Szturo
0694b77318 Update package.exs
That's yamerl and not poolboy!
2015-01-31 21:36:06 +09:00
Jean-Sébastien Pédron
9186f9a5a1 Merge pull request #9 from RichMorin/patch-1
fix minor nits
2015-01-16 10:20:02 +01:00
Rich Morin
041c58991b fix minor nits 2015-01-15 20:23:53 -08:00
Jean-Sébastien Pédron
1dfd503501 yamerl_parser: Don't build with HiPE by default 2014-11-27 14:04:20 +01:00
Jean-Sébastien Pédron
526a251eae AUTHORS: Add Josh Toft to the contributors 2014-11-03 12:08:12 +01:00
Jean-Sébastien Pédron
ae4163dac1 AUTHORS: Add Jon Gretar to the contributors 2014-11-03 12:07:19 +01:00
Jean-Sébastien Pédron
ee98e7f25c Merge pull request #7 from JonGretar/master
Elixir/hex.pm support
2014-11-03 12:03:40 +01:00
Jon Gretar
b2178057b8 Elixir/hex.pm support 2014-10-20 17:28:57 +00:00
Jean-Sébastien Pédron
a974d31325 Fix generation of yamerl.app with nawk(1) 2014-08-06 11:27:29 +02:00
Jean-Sébastien Pédron
debe9f7d57 Merge pull request #6 from seryl/fix_dict_R18
Fix dict warnings for R18

The warning is the following:
    yamerl_types.hrl:56: Warning: type dict/0 is deprecated and will be
    removed in OTP 18.0; use use dict:dict/0 or preferably dict:dict/2
2014-08-06 11:13:33 +02:00
Josh Toft
916431e0ac fix dict warnings for R18 2014-08-05 19:56:44 -07:00
Jean-Sébastien Pédron
6d57c3945a configure.ac: Fix --enable-warnings description
Now, the documented default value matches the real default value.
2014-07-23 10:19:47 +02:00
Jean-Sébastien Pédron
9770e4bb64 Forgot to update the changelog for the release 2014-07-22 16:53:04 +02:00
Jean-Sébastien Pédron
7f4be94f62 Prepare release 0.3.1-1 2014-07-22 16:47:43 +02:00
Jean-Sébastien Pédron
5ca6dc46cc Reorganize .gitignore 2014-07-16 17:24:42 +02:00
Jean-Sébastien Pédron
03b7b95e1c Document how to run the testsuite
Also, mention Perl as a required dependency to run the testsuite.
2014-07-15 16:41:26 +02:00
Jean-Sébastien Pédron
48cd7e1f22 installation.md now fits in 80 columns 2014-07-15 16:41:08 +02:00
Jean-Sébastien Pédron
80b6d41a0d README.md: Add build status from Travis CI 2014-07-15 14:56:12 +02:00
Jean-Sébastien Pédron
9d5c03a790 README.md now fits in 80 columns 2014-07-15 14:37:34 +02:00
Jean-Sébastien Pédron
821870e293 Configure Travis continuous integration 2014-07-15 14:24:40 +02:00
Jean-Sébastien Pédron
0e6c4ac9e8 rebar: Support "rebar eunit" to run the testsuite 2014-07-15 14:13:13 +02:00
Jean-Sébastien Pédron
fd064b0ee2 Reset node_mods parameter after test
This avoids pollution of other tests, when they all run in the same
Erlang instance.
2014-07-15 12:28:10 +02:00
Jean-Sébastien Pédron
98e134cb5c yamerl_constr: Ensure the node module is loaded
... before checking exported functions.
2014-07-15 12:27:11 +02:00
Jean-Sébastien Pédron
e087f57374 Fix links in README.md's 2014-06-27 17:26:32 +02:00
Jean-Sébastien Pédron
174e823779 Prepare for future release 0.3.1 2014-06-24 17:09:31 +02:00
Jean-Sébastien Pédron
f3f7b5e218 Pass 'unicode' to re:run/3
Otherwise the application crash if the input string contains multibyte
characters. Here's the backtrace:
  2> yamerl_constr:string("いろは").
  ** exception error: bad argument
       in function  re:run/3
          called as re:run([12356,12429,12399],
                           "^(\\.[0-9]+|[0-9]+(\\.[0-9]*)?)([eE][-+]?[0-9]+)?$",
                           [{capture,none}])
       in call from yamerl_node_float:string_to_float2/1 (src/yamerl_node_float.erl, line 145)
       in call from yamerl_node_float:construct_token/3 (src/yamerl_node_float.erl, line 64)
       in call from yamerl_node_float:try_construct_token/3 (src/yamerl_node_float.erl, line 54)
       in call from yamerl_constr:try_construct/3 (src/yamerl_constr.erl, line 371)
       in call from yamerl_constr:construct/2 (src/yamerl_constr.erl, line 315)
       in call from yamerl_constr:string/2 (src/yamerl_constr.erl, line 203)

PR:		#5
Reported by:	Eric Sagnes (ericsagnes on GitHub)
2014-06-24 16:56:22 +02:00
Jean-Sébastien Pédron
3955c235c3 yamerl_app.erl: Remove ?APPLICATION macro and hard-code "yamerl" 2014-04-17 15:46:21 +02:00
Jean-Sébastien Pédron
af554c3147 Update copyright year to 2014 2014-04-17 15:05:53 +02:00
Jean-Sébastien Pédron
22df4c55dd debian/rules: Remove $(WORKDIR) and $(DESTDIR) variables
They are unused.
2014-04-17 15:03:10 +02:00
Jean-Sébastien Pédron
9dd8c67b5c Prepare release 0.3.0-1 2014-03-26 11:08:55 +01:00