Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
wiz ecfb3023af Update to 2.7:
Version 2.7
===========

Released 2014-10-02

* New features:

  - `json_pack()` and friends: Add format specifiers ``s%`` and ``+%``
    for a size_t string length (#141).

  - `json_unpack()` and friends: Add format specifier ``s%`` for
    unpacking the string length along with the string itself (#141).

  - Add length-aware string constructors `json_stringn()` and
    `json_stringn_nocheck()`, length-aware string mutators
    `json_string_setn()` and `json_string_setn_nocheck()`, and a
    function for getting string's length `json_string_length()` (#141,
    #143).

  - Support ``\u0000`` escapes in the decoder. The support can be
    enabled by using the ``JSON_ALLOW_NUL`` decoding flag (#141).

  - Add `json_boolean_value()` as an alias for `json_is_true()`
    (#146).

  - Add JSON_REAL_PRECISION encoding flag/macro for controlling real
    number precision (#178).

  - Define the maximum indentation as JSON_MAX_INDENT (#191).

* Bug fixes:

  - Some malformed ``\uNNNN`` escapes could crash the decoder with an
    assertion failure.

  - Avoid integer overflows with very long strings in UTF-8 decoder and
    hashtable.

  - Check for *NULL* key in `json_object_get()` and
    `json_object_del()` (#151).

  - Enhance hashtable seeding on Windows (#162).

  - `json_unpack()`: Allow mixing JSON_STRICT with optional keys
    (#162, #163).

  - Fix int/int32 mismatch (#142).

  - Parse subnormal numbers correctly (#202).

* Build:

  - Remove VS2010 build files. CMake should be used on Windows instead
    (#165).

  - Fix CMake build flags for MinGW (#193).

  - Add CMake config files for find_package. Rename config.h to
    jansson_private_config.h (#157, #159).

  - Make Valgrind checks work with CMake (#160).

  - Fix feature checks to use correct __ATOMIC flags.

  - Fix CMake checks for uint16_t and uint8_t support (#177).

  - Make Jansson build on SmartOS/Solaris (#171).

  - Work around a GCC bug on Solaris (#175).

  - Fix autoreconf on Debian (#182).

  - Don't use GNU make specific export for global AM_CFLAGS (#203,
    #204).

  - Fix building on Android using the supplied Android.mk (#166,
    #174).

  - Android.mk: Add -DHAVE_STDINT_H to LOCAL_CFLAGS (#200).

* Documentation:

  - Document JANSSON_BUILD_SHARED_LIBS CMake option (#187).

* Tests:

  - Close file handles correctly (#198).

* Other changes:

  - ``\uNNNN`` escapes are now encoded in upper case for better
    readability.

  - Enable usage of AddressSanitizer (#180).


Version 2.6
===========

Released 2014-02-11

* Security:

  - CVE-2013-6401: The hash function used by the hashtable
    implementation has been changed, and is automatically seeded with
    random data when the first JSON object is created. This prevents
    an attacker from causing large JSON objects with specially crafted
    keys perform poorly.

* New features:

  - `json_object_seed()`: Set the seed value of the hash function.

* Bug fixes:

  - Include CMake specific files in the release tarball.

* Documentation:

  - Fix tutorial source to send a User-Agent header, which is now
    required by the GitHub API.

  - Set all memory to zero in secure_free() example.


Version 2.5
===========

Released 2013-09-19

* New features:

  - `json_pack()` and friends: Add format specifiers ``s#``, ``+`` and
    ``+#``.

  - Add ``JSON_DECODE_INT_AS_REAL`` decoding flag to treat all numbers
    as real in the decoder (#123).

  - Add `json_array_foreach()`, paralleling `json_object_foreach()`
    (#118).

* Bug fixes:

  - `json_dumps()` and friends: Don't crash if json is *NULL* and
    ``JSON_ENCODE_ANY`` is set.

  - Fix a theoretical integer overflow in `jsonp_strdup()`.

  - Fix `l_isxdigit()` macro (#97).

  - Fix an off-by-one error in `json_array_remove()`.

* Build:

  - Support CMake in addition to GNU Autotools (#106, #107, #112,
    #115, #120, #127).

  - Support building for Android (#109).

  - Don't use ``-Werror`` by default.

  - Support building and testing with VPATH (#93).

  - Fix compilation when ``NDEBUG`` is defined (#128)

* Tests:

  - Fix a refleak in ``test/bin/json_process.c``.

* Documentation:

  - Clarify the return value of `json_load_callback_t`.

  - Document how to circumvent problems with separate heaps on Windows.

  - Fix memory leaks and warnings in ``github_commits.c``.

  - Use `json_decref()` properly in tutorial.

* Other:

  - Make it possible to forward declare ``struct json_t``.
2015-01-16 11:50:28 +00:00
archivers Update to 1.42 2015-01-12 12:32:01 +00:00
audio Update to 1.2rc2: 2015-01-16 08:50:47 +00:00
benchmarks Patch out use of sys/disklabel.h and sys/ioctl.h (neither is actually used) 2015-01-01 09:22:23 +00:00
biology Update HOMEPAGE, was Host Unknown. But the link to download still gets 404. 2014-12-20 12:02:28 +00:00
bootstrap Don't build the cwrappers package during bootstrap, it is pulled in 2014-12-04 10:36:02 +00:00
cad (pkgsrc) 2015-01-04 02:51:44 +00:00
chat Update to 0.10.3: 2015-01-16 08:57:46 +00:00
comms Fix typo, s/GEM_CLEANBUOLD_EXTENSIONS/GEM_CLEANBUILD_EXTENSIONS/. 2015-01-16 09:18:47 +00:00
converters Update to 1.09: 2015-01-16 09:10:24 +00:00
cross List extra files installed on MacOS. It is probable that they don't only 2014-12-26 21:29:18 +00:00
databases Changes 1.3.4: 2015-01-16 09:31:33 +00:00
devel Update to 3.19: 2015-01-16 09:30:51 +00:00
distfiles
doc Updated textproc/diction to 1.13 2015-01-16 11:49:14 +00:00
editors editors/lyx: update to 2.1.2.2 2015-01-10 18:13:22 +00:00
emulators openSUSE Security Update: Security update for jasper 2015-01-15 09:37:05 +00:00
filesystems On systems with MMX support, additional files are installed. 2015-01-11 23:07:01 +00:00
finance Update to 2.6.5, switch to yelp3 since it has a higher chance of 2015-01-06 15:03:01 +00:00
fonts Update to 0.468 2015-01-01 20:11:12 +00:00
games Try making this parallel jobs safe for joerg. 2015-01-10 20:25:57 +00:00
geography + py-google-maps-services-python 2015-01-12 10:28:01 +00:00
graphics Update to 0.99.9: 2015-01-16 09:50:47 +00:00
ham Udate 3.1 to 3.2 2015-01-14 14:18:27 +00:00
inputmethod Update ibus-table-others to 1.3.7. 2015-01-14 09:24:42 +00:00
lang Update to 1.4.1: 2015-01-16 11:27:03 +00:00
licenses skype21-license: Arise from your grave! and be used by wip/skype4. 2014-12-04 19:59:58 +00:00
mail Update to 1.607: 2015-01-16 09:56:27 +00:00
math Fix typo, s/GEM_CLEANBUOLD_EXTENSIONS/GEM_CLEANBUILD_EXTENSIONS/. 2015-01-16 09:18:47 +00:00
mbone Re-do the get_timestamp() patch to instead of calling times() use 2015-01-13 20:25:13 +00:00
meta-pkgs Don't use plain "throw;", it breaks clang -fno-exceptions build. Bump 2015-01-15 13:01:44 +00:00
misc Update to 7.2.1. Switch to qt5. 2015-01-16 10:46:00 +00:00
mk PostgreSQL 9.4.0: 2015-01-14 21:01:18 +00:00
multimedia Improve minidlna rc files 2015-01-15 20:53:18 +00:00
net Update to 0.10: 2015-01-16 11:28:08 +00:00
news Use BROKEN_EXCEPT_ON_PLATFORM for where configs have to be created manually. 2015-01-01 11:19:28 +00:00
packages
parallel Fold PLIST.Linux into PLIST using more plist vars, and add more files 2015-01-15 20:51:11 +00:00
pkgtools Fix example, noted by htodd. 2015-01-11 22:53:44 +00:00
print print/okular: add missing dependency + update PLIST 2015-01-15 18:17:16 +00:00
regress Do not use a naked "make", instead use TEST_MAKE. Now it fails differently. 2014-06-21 16:34:13 +00:00
security Update to 1.0.1: 2015-01-16 11:39:32 +00:00
shells Mark this ONLY_FOR_PLATFORM and list the platforms where tcsh is *not* 2015-01-11 02:15:51 +00:00
sysutils Update to 2.07: 2015-01-16 11:41:00 +00:00
templates
textproc Update to 2.7: 2015-01-16 11:50:28 +00:00
time Update to 2.4.0: 2015-01-11 21:05:30 +00:00
wm Reset maintainer on his request. 2015-01-14 08:30:41 +00:00
www Changes 3.4.11: 2015-01-16 11:41:11 +00:00
x11 x11/kde-workspace4: fix build on fbsd 2015-01-15 17:59:10 +00:00
Makefile
pkglocate
README

$NetBSD: README,v 1.18 2005/05/07 22:18:28 wiz Exp $

Please see doc/pkgsrc.txt for information.