74 Commits (60107b242370b8d85d2a9dcd84248e53604516be)

Author SHA1 Message Date
  John Högberg 60107b2423 fixup! Replace sprintf with a dedicated integer print routine 6 years ago
  John Högberg 61d506d851 Move all atom checks under enif_is_atom 6 years ago
  John Högberg bef23c975e Use the result map for key dedupe 6 years ago
  John Högberg 68dbb69961 Refactor trapping and trap more often during decode 6 years ago
  John Högberg e0b0e5896a Skip erroneous UTF-8 validation for atoms 6 years ago
  John Högberg 79536af5b4 Use enif_is_identical for equality checks 6 years ago
  John Högberg f645f254a4 Replace sprintf with a dedicated integer print routine 6 years ago
  John Högberg 3888eb9710 Skip redundant enif_is_empty_list checks during encode 6 years ago
  John Högberg 5144fa96fc Use realloc instead of doing it manually 6 years ago
  John Högberg ae14731f72 Walk through strings once when encoding 6 years ago
  John Högberg 3334bb8903 Use an array for the position stack rather than an Erlang list 6 years ago
  John Högberg c2588c76a0 sizeof(char) == 1 by definition 6 years ago
  David Hull 5c29452a1e Fix decoding of "\uDBFF\uDFFF" surrogate pair. 6 years ago
  Lynn Gabbay 323568e9d5 fixed issue 162 regarding duplicate keys in objects 7 years ago
  Paul J. Davis dddb392f88 Add `copy_strings` feature 7 years ago
  Paul J. Davis 128811a7cf Add `dedupe_keys` option 7 years ago
  David Hull df791ef638 Tighten string buffer size calculation in enc_string. 7 years ago
  Paul J. Davis 4c0bfbc0fa Fix enc_long for 64-bit Windows 8 years ago
  Paul J. Davis e43ea64ae0 Remove old debug printing 9 years ago
  Jon Parise fa825b6fd6 Destroy map iterators once we're done with them. 9 years ago
  Paul J. Davis e008c0c3ff Fix compiler warning on gcc 5.1.0 9 years ago
  Paul J. Davis 454928ff34 Revamp yields back to Erlang 10 years ago
  Paul J. Davis 6d2278e906 Add new return_trailer option 10 years ago
  Paul J. Davis 5d6b2651c9 Update double-conversion to latest master 10 years ago
  Jeremie Lasalle Ratelle 1784ca2ab5 Add an option to escape forward slashes 10 years ago
  Jeremie Lasalle Ratelle cd1b263208 Add an option to control null value decoding atom 10 years ago
  Emil Falk 587f143e27 Changed pos to unsigned int to prevent warning from happening. 10 years ago
  Paul J. Davis 137d3d94b6 Account for char possibly being unsigned 10 years ago
  Paul J. Davis 6318efa798 Fix memory leak when encoding bare bignums 10 years ago
  Paul J. Davis 5cd89c1eda Persist the `val` register across yield 10 years ago
  Paul J. Davis f9095c5258 Improved encoder errors 10 years ago
  Paul J. Davis 5eb499d73e Tweak the nil encoding logic 10 years ago
  Stanislav Vishnevskiy 2dbf89f51c Improved Elixir compatibility 10 years ago
  Paul J. Davis 99867af6e9 Avoid uint64 for 32bit compatibility 11 years ago
  Paul J. Davis b96de951a2 Initial support for the new map type 11 years ago
  Paul J. Davis bda503527d Yield back to Erlang while encoding JSON 11 years ago
  Paul J. Davis e9a102af7d Yield back to Erlang while decoding JSON 11 years ago
  Paul J. Davis 5ccff57ade Use a resource for the encoder structure 11 years ago
  Paul J. Davis 79d24e9639 Use a resource for the decoder structure 11 years ago
  Paul Guyot 1e95a84b0c Noncharacters U+FFFF and U+FFFE are not invalid. 11 years ago
  Nobuhiro Iwamatsu d16a4fd968 Add check for below array bounds 12 years ago
  Nobuhiro Iwamatsu 2f984efb23 __GNUC__ is a better choice than __GCC__ 12 years ago
  Nobuhiro Iwamatsu e25768b021 Fix typo in utils.h 12 years ago
  Paul J. Davis e8121ad5ad Prevent segfaults on unterminated strings 12 years ago
  Paul J. Davis bf8276155d Fix compilation on GCC 4.8 12 years ago
  Paul J. Davis 90b28c68e6 Bug fix for large doubles with a fraction 12 years ago
  Paul J. Davis ea5f8060ea Check in the double-conversion dependency 12 years ago
  Volker Mische d0f1ea00fc Encode floating point numbers as short as possible 12 years ago
  Paul J. Davis e2b2c3a919 No longer escape forward slashes 12 years ago
  Paul J. Davis 97d8269aec Remove stray while loop 12 years ago