alisdair sullivan
4f08d5355f
fix bug where escape characters were getting dropped when operating
...
under `dirty_strings'
2013-10-20 21:20:55 +00:00
alisdair sullivan
486fda2a74
refactor test suite for additional completeness and clarity
2013-10-20 21:06:51 +00:00
alisdair sullivan
f340e8dc22
refactor options to complete mission: more pragmatism
2013-10-20 03:28:22 +00:00
alisdair sullivan
99484ce4f2
minor refactor of jsx_decoder
2013-10-20 03:23:38 +00:00
alisdair sullivan
a83fa3598d
comments allowed by default. pragmatism 1 literalists 0
2013-10-20 03:20:36 +00:00
alisdair sullivan
f137ff484b
fix bad utf8 encodings by default (convert to u+FFFD)
...
this (temporarily, i hope) removes the fast path for handling
strings internally without escaping or replacing bad utf8
2013-10-20 03:16:56 +00:00
alisdair sullivan
7b05d0e1b7
remove deprecated option flags handling
2013-10-20 03:12:29 +00:00
alisdair sullivan
e4a401a3a6
incomplete input now results in an error when parsing json or jsx
...
internal form
streaming decoding is now only available when forced with the
`stream` option and no longer returns until forced to via the
token `end_stream`. this api is still subject to being replaced
with an even more explicit streaming mode
2013-10-20 03:10:18 +00:00
alisdair sullivan
6797bf3ed7
rename explicit_end
to stream
in prep for behavior change
2013-10-20 03:10:09 +00:00
alisdair sullivan
d77f23ec9a
merge jsx_strings and jsx_parser
2013-10-20 03:08:40 +00:00
alisdair sullivan
2d385c3342
delegate almost all responsibility of encoder to parser to simplify
...
internals
2013-10-20 03:07:42 +00:00
alisdair sullivan
3d1096f8f5
remove deprecated functions
2013-10-19 19:35:02 -07:00
alisdair sullivan
73b9032c99
remove superfluous parser states
2013-10-19 19:35:02 -07:00
alisdair sullivan
07d84e25d0
remove pre_encode support
2013-10-19 19:35:01 -07:00
alisdair sullivan
0238916472
remove post_decode support
2013-10-19 19:35:01 -07:00
alisdair sullivan
a39baa4efc
Merge pull request #39 from JosephCrowe/develop
...
Fix type json_term/0 to match reality.
2013-09-02 17:48:20 -07:00
Joseph Crowe
b623efe2e8
Fix type json_term/0 to match reality.
2013-09-02 08:54:10 +01:00
alisdair sullivan
e50af6e109
v1.4.3
2013-08-27 05:09:19 +00:00
alisdair sullivan
e57cc7cefc
update .gitignore
2013-08-27 05:03:29 +00:00
alisdair sullivan
0bbe56c700
check for incomplete valid input before checking for malformed utf8
2013-08-27 05:02:37 +00:00
alisdair sullivan
af11b97879
undo `optimized' ordering of string parsing clauses in decoder
2013-08-27 04:09:10 +00:00
alisdair sullivan
4cf557a848
remove unesscessary line from README
2013-07-10 05:26:19 +00:00
alisdair sullivan
f8aaac9779
Merge pull request #38 from patrickgombert/develop
...
Add empty rebar.config so that Mix in Elixir projects can build this project as a dependency
2013-07-08 17:44:15 -07:00
Patrick Gombert
e9cdeda7c8
Add empty rebar.config so that Mix in Elixir projects can build this project as a dependency
2013-07-08 10:27:02 -05:00
alisdair sullivan
fe2bd15184
rename 'sloppy_existing_atom' to 'attempt_atom'
2013-07-05 03:11:01 +00:00
alisdair sullivan
5dd62e27b5
Merge pull request #37 from macintux/friendlier-existing-atom
...
Add sloppy_existing_atom as a configuration option for labels
2013-07-04 20:05:51 -07:00
John Daily
1da0c567ba
Add sloppy_existing_atom as a configuration option for labels
2013-07-03 21:51:26 -04:00
alisdair sullivan
8487a2afc0
add proper error state to encoder object parsing
...
fixes #36
2013-06-24 11:32:03 -06:00
alisdair sullivan
352d6b21cb
v1.4.2
2013-06-04 01:19:39 +00:00
alisdair sullivan
41b6652e84
fix inaccurate example in README
2013-06-04 01:14:55 +00:00
alisdair sullivan
3df6a1dab6
swap badarg' error for
function_clause' error in jsx:format/x
2013-06-04 01:14:11 +00:00
alisdair sullivan
453d4078e0
remove erlang style comments from LICENSE
2013-04-18 14:47:51 -07:00
alisdair sullivan
15e7ec7130
add `{raw, <<"...">>}' handling to parser
...
this is an experimental feature to support the elixir wrapper for
jsx. interface may still change
2013-04-10 21:57:21 -07:00
alisdair sullivan
c84fe9345f
remove superfluous clause in encoder
2013-04-10 21:01:20 -07:00
alisdair sullivan
679ff24ad2
more README tweaks
2013-03-29 19:25:19 -07:00
alisdair sullivan
f63d464afb
juggle order of README intro
2013-03-29 19:23:45 -07:00
alisdair sullivan
d3a6c3fa90
hat tip to travis for integration testing
2013-03-29 19:20:32 -07:00
alisdair sullivan
6346f1ce88
reintroduce travis-ci build indicator
2013-03-29 19:18:20 -07:00
alisdair sullivan
5cab23bf61
rename jsx_bench.escript -> jsxbench
2013-03-29 19:12:14 -07:00
alisdair sullivan
495837441c
change extension on markdown files
...
rename README.markdown -> README.md and CHANGES.markdown -> CHANGES.md
2013-03-29 19:10:53 -07:00
alisdair sullivan
663b62c90c
simplify build process and configuration
...
remove largely irrelevent rebar config and provide alternate build
config for hipe compiler. update README to reflect changes
2013-03-29 19:06:19 -07:00
alisdair sullivan
95d392d12e
remove bin dir, move script to base dir
2013-03-21 00:33:13 -07:00
alisdair sullivan
bc65b6ce27
who likes manually wrapping their lines? this guy ^
2013-03-16 19:17:39 -07:00
alisdair sullivan
e851793664
minor content edits in README
2013-03-16 19:09:54 -07:00
alisdair sullivan
a3ab40aa88
add r16b to travis config
2013-03-12 22:13:48 -07:00
alisdair sullivan
f0f43c4aba
v1.4.1
2013-03-11 19:10:08 -07:00
alisdair sullivan
6cfe5d6661
Merge pull request #30 from macintux/macintux-readme-fix
...
Invert the description of encode
2013-03-11 00:51:58 -07:00
alisdair sullivan
0441224998
update license dates
2013-03-10 20:30:24 -07:00
alisdair sullivan
7f7d824116
fix edge case involving dirty_strings
2013-03-10 20:26:46 -07:00
alisdair sullivan
96ca5d4d63
coding style
2013-03-10 19:58:13 -07:00