Mail Archives: djgpp/2019/08/18/17:13:21
This is a port of Jansson 2.12 to MSDOS/DJGPP.
Jansson is a C library for encoding, decoding and manipulating JSON data.
Its main features and design principles are:
Simple and intuitive API and data model
Comprehensive documentation
No dependencies on other libraries
Full Unicode support (UTF-8)
Extensive test suite
Jansson is licensed under the MIT license; see LICENSE in the source
distribution for details.
DJGPP specific changes.
=======================
- The library requires an entropy source to seed the hash function.
This can either be a driver or a random data file. On plain DOS
one such driver, NOISE.SYS, can be obtained from:
http://www.rahul.net/dkaufman/index.html
as:
http://www.rahul.net/dkaufman/noise063a2.zip
Please read the instructions carefully. This driver works on DOS
and may be on some versions of Windows but it does not work for all
versions of Windows. For XP it does not work and I have found no
replacement. Alternatively a random data file can be used.
It will be found by the library at run-time by evaluating the
RANDFILE environment variable.
- There are no user visible changes. Only small changes have been
done to get the library compiled.
- The port has been configured and compiled on WinXP SP3 and Win98SE.
There is no guarantee that this may be possible with any other DOS-
like OS. Due to the use of long file names it will not be possible
to configure and compile without LFN support. The port has been
compiled using gcc346 and bnu232b.
As usual, all djgpp specific files (diffs, README files, etc.) are stored
in the "djgpp" directory. The sources have been configured to be build
in the "_build" directory. If for some reason it does not work for you,
delete its contents and configure from scratch again.
Please read the docs to become familiar with this product.
Here is an extract of the NEWS file showing the user visible changes
from the last port (Jansson 2.11) to this one:
-------------------------------------------------------------------------------
Version 2.12
Released 2018-11-25
* Bug fixes:
- Fix error message in `json_pack()` for NULL object (#409).
- Avoid invalid memory read in `json_pack()` (#421).
- Call va_end after va_copy in `json_vsprintf()` (#427).
- Improve handling of formats with '?' and '*' in `json_pack()` (#438).
- Remove inappropriate `jsonp_free()` which caused segmentation fault in
error handling (#444).
* Build:
- Add function attributes for GCC and CLANG to provide warnings on improper
use of jansson routines (#404).
- Many CMake fixes (#408, #412, #415).
- Enable -Bsymbolic-functions linker flag whenever possible.
- Resolve various compiler warnings (#423, #430, #435, #436).
- Fix code coverage ignored paths (#439).
* Other:
- Test coverage improvements (#398, #400).
- Add VS 2017 to appveyor, update Visual Studio documentation (#417).
- Update copyright for 2018 (#424).
- Update install instructions in README (#401).
-------------------------------------------------------------------------------
The port consists of the usual three packages that have been produced using
djdev205 (CVS repository code) and can be downloaded from ftp.delorie.com
and mirrors as (time stamp 2019-07-28):
Jansson 2.12 headers, library and html format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2tk/jsn212b.zip
Jansson 2.12 pdf format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2tk/jsn212d.zip
Jansson 2.12 source:
ftp://ftp.delorie.com/pub/djgpp/current/v2tk/jsn212s.zip
Send Jansson specific bug reports to
<https://groups.google.com/forum/#!forum/jansson-users>.
Send suggestions and bug reports concerning the DJGPP port
to comp.os.msdos.djgpp or <djgpp AT delorie DOT com>.
Enjoy.
Guerrero, Juan Manuel <juan DOT guerrero AT igd DOT fhg DOT de>
- Raw text -