./textproc/jansson, C library for encoding, decoding and manipulating JSON data

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 2.14, Package name: jansson-2.14, Maintainer: pkgsrc-users

Jansson is a C library for encoding, decoding and manipulating JSON
data. It features:

* Simple and intuitive API and data model
* Comprehensive documentation
* No dependencies on other libraries
* Full Unicode support (UTF-8)
* Extensive test suite

Master sites:

Filesize: 523.064 KB

Version history: (Expand)

CVS history: (Expand)

   2023-04-28 20:13:52 by Nikita | Files touched by this commit (2) | Package updated
Log message:
jansson: update to version 2.14

upstream location of releases moved.


Version 2.14

Released 2021-09-09

* New Features:

  - Add `json_object_getn`, `json_object_setn`, `json_object_deln`, and the
    corresponding `nocheck` functions. (#520, by Maxim Zhukov)

* Fixes:

  - Handle `sprintf` corner cases (#537, by Tobias Stoeckmann)

* Build:

  - Symbol versioning for all exported symbols (#540, by Simon McVittie)
  - Fix compiler warnings (#555, by Kelvin Lee)

* Documentation:

  - Small fixes (#544, #546, by @i-ky)
  - Sphinx 3 compatibility (#543, by Pierce Lopez)
   2022-07-25 13:12:30 by Thomas Klausner | Files touched by this commit (102)
Log message:
*: remove pkg-config from tools where no buildlink3.mk file is included

Bulk build on NetBSD of these packages had the same result as before
(build succeeds, no PLIST change).
   2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161)
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
   2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162)
Log message:
textproc: Remove SHA1 hashes for distfiles
   2020-05-08 15:54:07 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
jansson: updated to 2.13.1

Version 2.13.1
* Build:
  - Include `jansson_version_str()` and `jansson_version_cmp()` in
    shared library.
  - Include `scripts/` in tarball.
   2020-05-07 11:20:13 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
jansson: updated to 2.13

Version 2.13

* New Features:
  - Add `jansson_version_str()` and `jansson_version_cmp()` for runtime
    version checking
  - Add `json_object_update_new()`, `json_object_update_existing_new()`
    and `json_object_update_missing_new()` functions
  - Add `json_object_update_recursive()`

* Build:
  - Add ``-Wno-format-truncation`` to suppress format truncation warnings

* Bug fixes:
  - Remove ``strtod`` macro definition for MinGW
  - Add infinite loop check in `json_deep_copy()`
  - Add ``pipe`` macro definition for MinGW
  - Enhance ``JANSSON_ATTRS`` macro to support earlier C standard(C89)
  - Update version detection for sphinx-build

* Documentation:
  - Fix typos
  - Document that call the custom free function to free the return value
    of `json_dumps()` if you have a custom malloc/free
  - Add vcpkg installation instructions
  - Document that non-blocking file descriptor is not supported on
   2018-12-09 21:33:12 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
jansson: updated to 2.12

Version 2.12

* Bug fixes:
  - Fix error message in `json_pack()` for NULL object.
  - Avoid invalid memory read in `json_pack()`.
  - Call va_end after va_copy in `json_vsprintf()`.
  - Improve handling of formats with '?' and '*' in `json_pack()`.
  - Remove inappropriate `jsonp_free()` which caused segmentation fault in
    error handling.

* Build:
  - Add function attributes for GCC and CLANG to provide warnings on improper
    use of jansson routines.
  - Many CMake fixes.
  - Enable -Bsymbolic-functions linker flag whenever possible.
  - Resolve various compiler warnings.
  - Fix code coverage ignored paths.

* Other:
  - Test coverage improvements.
  - Add VS 2017 to appveyor, update Visual Studio documentation.
  - Update copyright for 2018.
  - Update install instructions in README
   2018-10-04 14:53:07 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
jansson: updated to 2.11

Version 2.11

* New features:
  - Add json_pack() format specifiers s*, o* and O* for values that
    can be omitted if null
  - Add json_error_code() to retrieve numeric error codes
  - Enable thread safety for json_dump() on all systems.  Enable thread
    safe json_decref() and json_incref() for modern compilers
  - Add json_sprintf() and json_vsprintf()
* Bug Fixes:
  - Fix incorrect report of success from json_dump_file() when an error
    is returned by fclose()
  - Make json_equal() const-correct
  - Fix incomplete stealing of references by json_pack()
* Build:
  - Work around gcc's -Wimplicit-fallthrough.
  - Fix CMake detection of sys/types.h header
  - Fix jansson.pc generated by CMake to be more consistent with the one
    generated using GNU Autotools
* Other:
  - Miscellaneous documentation fixes
  - Remove unnecessary reference actions from parsers

Version 2.10

* New features:
  - Add JSON_EMBED encoding flag allowing arrays and objects to be encoded
    into existing streams
  - Add json_dumpb() function for dumping to a pre-allocated buffer
  - Add json_dumpfd() and json_loadfd() functions for dumping to streaming
    file descriptors
  - Add support for parsing buffers larger than 2GB
* Build:
  - Fix CMake build when LONG_LONG_INT is defined as ""
* Other:
  - Internal code cleanup

Version 2.9

* New features:
  - Add json_auto_t to automatically decref a value that goes out
    of scope. Available only on GCC and Clang.
* Build:
  - Fix CMake build (at least on Linux) by removing conflicting
    jansson_config.h from the distribution
  - Change CMake install target generation to be optional
* Documentation:
  - Small documentation fixes.

Version 2.8

* New features:
  - Always preserve insertion order of object items.
    json_object_iter() and friends, json_object_foreach() and
    json_dumps() and friends now always work in the insertion order of
    object items
  - Add json_object_foreach_safe() macro that allows
    json_object_del() calls during iteration
  - Add json_get_alloc_funcs() to allow reading the allocation
    functions set by json_set_alloc_funcs()
  - Add json_pack() format specifiers s?, o? and O? for values that
    can be null
* Bug fixes:
  - Fix a crash when parsing inputs consisting of very deeply nested
    arrays or objects
  - Never convert numbers to integers in the parser when
    JSON_DECODE_INT_AS_REAL is set. This fixes error messages for
    overflowing numbers when JSON_DECODE_INT_AS_REAL is set
  - Fix a use-after-free in json_pack() error handling.
  - Fix subnormal number parsing on mingw32.
  - Handle out-of-memory situations gracefully in the hashtable
* Build:
  - Fix build with CMake on all versions of Visual Studio up to 2015
  - Fix pkgconfig libdir when using CMake
  - Fix CMake config for static CRT builds on Windows
  - Fix warnings on LLVM 6.0 targeting iOS arm64
  - Add coverlls.io support via Travis for a nice test coverage badge
  - Don't expect jansson_config.h to be in the compiler's include
  - Add a build-time option to set initial hashtable size
  - Use snprintf and strncpy in place of sprintf and strcpy to silence
    linker warnings on OpenBSD
* Documentation:
  - Fix various typos in documentation, and a broken link
  - Add an example program in examples/
  - Fix building of documentation man pages
  - Document the fact that copying objects doesn't preserve the
    insertion order of keys
* Tests:
  - Don't use the nonstandard __FUNCTION__ macro in tests.
  - Use expr instead of $((...)) in shell scripts for Solaris 10
  - Disable Visual Studio warning C4756 when triggered deliberately in
  - Other minor fixes
* Other changes:
  - List all unrecognized object keys when strict unpacking fails
  - Alter the order of the members of the hashtable_pair struct for
    easier debugging.
  - Minor performance improvement to json_dump() and friends
  - Minor style fixes