Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ANNOUNCE: Release 2 of the DJGPP port of Jansson 2.14 uploaded

12 views
Skip to first unread message

Juan Manuel Guerrero (juan.guerrero@gmx.de) [via djgpp-announce@delorie.com]

unread,
May 18, 2022, 12:41:39 PM5/18/22
to djgpp-a...@delorie.com
This is a port of Jansson 2.14 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.


This second release replaces the previous one. The files of the first
release have been deleted and will no longer be available. Thus the
name will remain the same. Identify this one by checking its time
stamp. It will use rand() if no noise source is available.



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://web.archive.org/web/20051124224824/http://www.rahul.net/dkaufman/
as:
http://web.archive.org/web/20051124224824/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.
If neither a noise driver nor a random data file is found at
run-time then the random data will be created by calling rand()
using rawclock() to generate the required seed for srand().

- 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 bnu2351b.

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 "0build" 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 CHANGES file showing the user visible
changes from the last port (Jansson 2.13.1) to this one:

-------------------------------------------------------------------------------

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)


-------------------------------------------------------------------------------




The port consists of the usual two packages that have been produced
using djdev205 (CVS repository code) and can be downloaded from
ftp.delorie.com and mirrors as (time stamp 2022-05-17):


Jansson 2.14 headers, library and html format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2tk/jsn214br2.zip

Jansson 2.14 source:
ftp://ftp.delorie.com/pub/djgpp/current/v2tk/jsn214sr2.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 <dj...@delorie.com>.


Enjoy.

Guerrero, Juan Manuel <juan.g...@igd.fhg.de>

Frank Sapone (emoaddict15@gmail.com) [via djgpp@delorie.com]

unread,
May 18, 2022, 8:51:12 PM5/18/22
to dj...@delorie.com
On 5/18/2022 12:23 PM, Juan Manuel Guerrero (juan.g...@gmx.de) [via
Hi Juan,

Thank you for implementing my requests.  I'll give this some
experimentation some time soon.

Thanks,
Frank

Frank Sapone (emoaddict15@gmail.com) [via djgpp@delorie.com]

unread,
May 28, 2022, 9:12:55 PM5/28/22
to dj...@delorie.com

On 5/18/2022 12:23 PM, Juan Manuel Guerrero (juan.g...@gmx.de) [via
djgpp-a...@delorie.com] wrote:
> Jansson 2.14 headers, library and html format documentation:
> ftp://ftp.delorie.com/pub/djgpp/current/v2tk/jsn214br2.zip
>
> Jansson 2.14 source:
> ftp://ftp.delorie.com/pub/djgpp/current/v2tk/jsn214sr2.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 <dj...@delorie.com>.

Hi Juan,

I tried to download this but it looks like the main FTP has a
configuration issue?  I can establish a connection, but dir/get/etc
fail.  I tried on my personal PC and even out on an instance hosted
server.  The commands just end up timing out. Connecting to the server
is OK though.

In either case, jsn214br2.zip is not on the mirrors or the HTTP site. 
Do you have it hosted elsewhere for me to try it out?

Thanks,
Frank

DJ Delorie

unread,
May 28, 2022, 9:21:42 PM5/28/22
to dj...@delorie.com
"Frank Sapone (emoad...@gmail.com) [via dj...@delorie.com]"
<dj...@delorie.com> writes:
> I tried to download this but it looks like the main FTP has a
> configuration issue?  I can establish a connection, but dir/get/etc

Use http:// instead of ftp://

Same url otherwise.

0 new messages