pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/yaz



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Feb  4 11:17:06 UTC 2010

Modified Files:
        pkgsrc/net/yaz: Makefile PLIST buildlink3.mk distinfo

Log Message:
Update to 4.0.1, bump ABI depends for shlib major change.

--- 4.0.1 2010/01/26

New glob file pattern utility. Like POSIX glob. For Windows too. Refer to
yaz/file_glob.h.

New simple local-file XML include facility which allows file glob-patterns.
Refer to yaz/xml_include.h.

Utility yaz-json-parse which parses JSON and demonstrates the JSON parser
API.

ZOOM_record_get supports new parameter "format" which makes it format XML
record content.

Fix JSON parser WRT start symbol. The start grammar symbol (referred to as
JSONText in ECMA-262) is JSONValue, not JSONObject.

--- 4.0.0 2010/01/20

Windows binaries for YAZ now compiled with Visual Studio 2008 (VC9).
Older versions of YAZ was compiled with Visual Studio 6.0 (1998).

Update so/DLL to version 4. Windows version builds YAZ4.DLL.
POSIX/Unix builds .so with major version 4.

Remove old LOG_-defines from log.h. They have been obsolete and
undefined by default for the last 5 years.

Odr_int is now of type 'long long'. Used to be 'int' in YAZ 3 series.

GFS: Remove socket (int *fd) from search_rr handler. The socket
descriptor ptr is a facility that allowed a search handler to supply
a socket which would serve as a callback - when search was complete.
This facility has now been in use for years.

COMSTACK API changes: cs_stackerr, cs_addrstr. COMSTACK method cs_stackerr
removed. It is not implemented by tcpip or unix COMSTACK, perhaps for ISO
SR which was removed 7 years ago. COMSTACK macro / method cs_addrstr now
returns 'const char *' rather than 'char *. The returned string is
read-only and should not be modified by applications. COMSTACK cs_close is
now a void function - it no longer returns int. No applications check for
the value and the implementations has always returned 0.

ZOOM: use size_t for scan hit counts and str size. Functions
ZOOM_scanset_term and ZOOM_scanset_display_term have changed, so that
occ (hit count) and len (string length) are now of type size_t pointer
rather than int pointer. This is to be able to represent large hit counts
and to also just to use the proper type for string length (strlen result).

New JSON parser. Refer to include/yaz/json.h .

WRBUF API changes.. For size parameters for WRBUF size_t is now used ..
Used to be int in some cases. Many wrbuf_-functions used to return an int
indicating some length.. These return values were never used. And so they
are now void.

ODR: odr_malloc, odr_total now takes size_t for size.

clone_z_type: fix leak; occurred for encoding failures.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/net/yaz/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/net/yaz/PLIST
cvs rdiff -u -r1.16 -r1.17 pkgsrc/net/yaz/buildlink3.mk
cvs rdiff -u -r1.15 -r1.16 pkgsrc/net/yaz/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index