Permalink
Switch branches/tags
Nothing to show
Commits on May 17, 2014
Commits on Sep 4, 2012
Commits on Jan 25, 2012
  1. rebar binary removed from the repository

    Enrique Enrique
    Enrique authored and Enrique committed Jan 25, 2012
  2. Version number delegated to git

    Enrique Enrique
    Enrique authored and Enrique committed Jan 25, 2012
Commits on Apr 1, 2011
  1. fix encoding.

    b3no committed Apr 1, 2011
Commits on Mar 31, 2011
  1. Use yajl error messages

    fdmanana committed Mar 31, 2011
  2. White space cleanup only

    fdmanana committed Mar 31, 2011
  3. Ensure R13B04 compatibility

    fdmanana committed Mar 31, 2011
    enif_is_tuple was introduced in R14, so use enif_get_tuple to check
    whether the term is a tuple or not.
Commits on Mar 29, 2011
  1. Use compatibility macros

    fdmanana committed Mar 29, 2011
    To ensure compatibility with at least R13B04
  2. Fix encoding of property lists

    fdmanana committed Mar 29, 2011
    Keys and values were swapped.
  3. Fix the arrays test

    fdmanana committed Mar 29, 2011
  4. Fix the numbers test

    fdmanana committed Mar 29, 2011
  5. On encode and decode, return a tagged tuples

    fdmanana committed Mar 29, 2011
    This is mostly to comply to the previous API and make the
    tests pass.
  6. Fix decoding of floats

    fdmanana committed Mar 29, 2011
    For some odd reason, Erlang's list_to_float needs a list that contains a '.'.
    For example, list_to_float("1e2") fails - it must be invoked as
    list_to_float("1.0e2")
    
    Conflicts:
    
    	src/json.erl
  7. Re-added old error return values

    fdmanana committed Mar 29, 2011
    Mostly to avoid the test failures. Also because they add a little bit
    of extra useful information (number of bytes consumed until the parsing
    error occurred).
  8. A more flexible erl_nif_compat.h version

    fdmanana committed Mar 29, 2011
    Ensure that future otp releases get the same compatibility macros as those defined
    for OTP R14A/B (the minor and major version macro values for R14B02 changed).
    Also added a few more compat macros:
    
    * enif_realloc_binary_compat
    * enif_release_binary_compat
    * enif_priv_data_compat
    * enif_make_string_compat
    * enif_make_uint_compat
  9. Fix encoding of integers and floats

    fdmanana committed Mar 29, 2011
    Fixes both the incorrect codes and the badarg errors since the
    inputs to list_to_float and list_to_integer are binaries and not
    lists.
Commits on Mar 27, 2011
  1. Remove trailing ws and fix comment.

    Damien Katz Damien Katz
    Damien Katz authored and Damien Katz committed Mar 27, 2011
  2. Better error handling, fixed leaking of binary under error conditions…

    Damien Katz Damien Katz
    Damien Katz authored and Damien Katz committed Mar 27, 2011
    … when encoding.
Commits on Mar 26, 2011
  1. changed json encoding to generate the final binary in a single a call…

    Damien Katz Damien Katz
    Damien Katz authored and Damien Katz committed Mar 26, 2011
    … for optmization purposes.
  2. Fit for number digits being reversed when encoded.

    Damien Katz Damien Katz
    Damien Katz authored and Damien Katz committed Mar 26, 2011
Commits on Mar 25, 2011
  1. optimize json encoding to use one nif call perf encoding instead of many

    Damien Katz Damien Katz
    Damien Katz authored and Damien Katz committed Mar 25, 2011
  2. Added nif call to convert double to text for performance reasons

    Damien Katz Damien Katz
    Damien Katz authored and Damien Katz committed Mar 25, 2011
Commits on Mar 24, 2011
  1. Changed JSON encoding to to use for strings only

    Damien Katz Damien Katz
    Damien Katz authored and Damien Katz committed Mar 24, 2011
  2. Added support for parsing big nums by spitting out the token token in…

    Damien Katz Damien Katz
    Damien Katz authored and Damien Katz committed Mar 24, 2011
    … reverse via and and converting to the final ejson value inside erlang, doing the numberparsing inside erlang.
Commits on Mar 11, 2011
  1. Fix error for upgrades and reloads.

    davisp committed Mar 11, 2011
    If the reload and upgrade functions are NULL they will cause any
    attempt at reloading or upgrading the NIF to fail. We don't have
    any sort of state that needs to be managed so simple definitions
    that simply return 0 should be all that's required.
Commits on Feb 16, 2011
Commits on Feb 15, 2011
  1. Use src/json.app.src instead of ebin/json.app

    davisp committed Feb 15, 2011
    This was requested to allow rebar to use eep0018 as a depdency.
  2. Updating rebar.

    davisp committed Feb 15, 2011
Commits on Sep 15, 2010
  1. Added Basho's compatibility header.

    davisp committed Sep 15, 2010
    This should now compile on both R13 and R14. I haven't got an R13 vm
    handy so if someone wants to spot check, that'd be cool.
Commits on May 28, 2010
  1. Fix search for priv directory.

    davisp committed May 28, 2010
Commits on Apr 8, 2010
Commits on Apr 7, 2010
  1. Adding a JSON fuzzer.

    davisp committed Apr 7, 2010