Invert test for errcode before copying scan terms (duh!)
[simpleserver-moved-to-github.git] / Changes
1 $Id: Changes,v 1.38 2007-08-16 15:12:10 mike Exp $
2
3 Revision history for Perl extension Net::Z3950::SimpleServer
4
5 1.07  (IN PROGRESS)
6         - When the scan-handler callback returns, do not attempt to
7           copy the terms from Perl structures if the error-code is
8           non-zero (i.e. if an error has occurred).  This protects
9           against a segmentation fault when the Perl callback does not
10           explicitly set $args->{NUMBER} = 0 on error.
11         - Some clarifications to documentation.
12
13 1.06  Fri Aug 10 23:30:00 BST 2007
14         - New global-handle element can be specified when creating a
15           simple-server object and will be passed to all callback
16           functions.  This allows global state to be eliminated from
17           SimpleServer applications ... finally!
18         - Search handler now deals correctly with undefined addinfo:
19           previously a (harmless) error message was emitted.
20         - Add Perl API to yaz_diag_srw_to_bib1(), which SimpleServer
21           applications will need if they access SRU/SRW back-end
22           databases and need to report errors.
23         - Add Perl API to yaz_diag_bib1_to_srw(), because it would
24           seem churlish not to.
25
26 1.05  Wed Dec 27 13:19:13 CET 2006
27         - Taking new naming convention for YAZ constants into account.
28
29 1.04  Fri Dec  1 10:48:32 CET 2006
30         - Build such that SimpleServer links to new yaz shared object.
31
32 1.03  Tue Aug  8 17:27:16 BST 2006
33         - Rely on version 2.1.14 or later of YAZ; this is the first
34           version that reliably passes through the additional
35           information associated with errors generated while serving
36           SRU/W requests.  No functional differences since 1.02.
37
38 1.02  Wed Jul 26 12:09:50 BST 2006
39         - Better support for Open and User/Password authentication.
40         - SimpleServer.xs's rpn2pquery() is now discarded, and YAZ's
41           yaz_rpnquery_to_wrbuf() used instead.  This is more robust
42           in dealing with unusual cases such as string-valued
43           attributes.
44         - Support for SCHEMA element when fetching records.
45
46 1.01  Fri Mar 24 12:09:32 GMT 2006
47         - Documentation of release 1.00's SRU/SRW facilities.
48         - Makefile.PL now fails if YAZ version is earlier than 2.0.0,
49           which was the first with SRU/SRW support.
50
51 1.00  Fri Mar 24 01:20:24 GMT 2006
52         - Support for SRU and SRW.  Mostly this is provided by the YAZ
53           GFS, but changes are needed to allow for the case where
54           there is no RPN query (due to absent on invalid <cql2rpn>
55           element in GFS configuration) so that CQL is passed through
56           natively; and also to fake up an {REQ_FORM} and {REP_FORM}
57           parameters set to the "text/xml" OID when this information
58           is not specified by the GFS.
59           (The jump in version number is due to the SRU/W support.)
60         - Include "logging-server.pl" in the distribution: the
61           simplest possible SimpleServer application, which merely
62           logs the client-request data structures.
63         - Makefile.PL is more helpful if yaz-config isn't found.
64         - Explicitly disable prototypes in SimpleServer.xs: makes no
65           difference but suppresses an error message for a cleaner
66           build.
67
68 0.08  Mon Jun 14 14:51:01 2004
69         - SimpleServer is now perl 5.8 thread proof 
70         - Support for IMP_ID parameter in Init responses.  This was
71           actually written a long time ago, but left commented out as
72           the underlying YAZ back-end server didn't support
73           implementation-ID setting.  Now that it does (and has done
74           for eighteen months -- since YAZ release 1.8.6 of
75           2002/03/25!), I've finally removed the comments.
76         - Init handler now understands the setting of {ERR_CODE} as
77           more than a boolean success indicator, and also {ERR_STR}.
78           They are now passed back to the client (thanks to recent
79           changes to the YAZ generic front-end server) in accordance
80           with Z39.50 Implementor Agreement 5, found at
81                 http://lcweb.loc.gov/z3950/agency/agree/initdiag.html
82
83 0.07  Fri Jan 03 10:12:15 2003
84         - Applied Dave Mitchell's (davem@fdgroup.com) GRS-1 parsing patch.
85           Thanks Dave, and sorry it didn't find its way to release 0.06,
86           completely my fault.
87
88 0.06  Thu Jan 02 11:15:01 2003
89         - Added support for authentication
90         - Add documentation for the object tree passed as the RPN
91           member of the search-handler's argument hash.
92         - We actually removed the vacuous Changelog and TODO files
93           back in 0.05.  They should never have been here :-)
94
95 0.05  Tue Feb 05 21:54:30 2002
96         - Add brief documentation of the new handling
97           of RPN.
98
99 0.04  Tue Feb 05 21:49:56 2002
100         - Add Changelog (Why?  We already have this file!)
101         - Add TODO file (although it's empty!)
102         - Change interface to constructor, and fix test.pl script to
103           use the new interface.
104         - Add support for Scan.
105         - Add support for building GRS-1 records.
106         - Add grs_test.pl test suite for new GRS-1 code.
107         - Add RPN structure to search-handler argument hash.
108         - Add PID element to init, search, fetch and present-handler
109           argument hashes (but not the sort, scan and close-handlers,
110           for some reason.)
111         - Fix typos in documentation.
112
113 0.03  Thu Nov 09 16:22:00 2000
114         - Add the INSTALL file.
115         - Add support for a present-handler (distinct from fetch).
116         - Remove `$args->{LEN} = length($record)' from the example
117           fetch-handler in the documentation.
118         - Minor corrections to documentation, e.g. add commas after
119           elements in anonymous hash of arguments.
120         - Record syntaxes (formats) are now specified as ASCII OIDs
121           (e.g. "1.2.840.10003.5.10") rather than human-readable
122           strings (e.g. "usmarc")
123         - Add some XS code to support sorting, though it doesn't seem
124           to be finished yet, and is not wired out.
125         - Use symbolic constants (e.g. Z_ElementSetNames_generic
126           instead of hard-wired magic number 1).
127         - Add PEER_NAME element to init-handler argument hash.
128         - Minor changes to ztest.pl.
129
130 0.02  Mon Sep 11 12:32:00 2000
131         - First released versions
132
133 0.01  Wed Aug 30 14:54:01 2000
134         - original version; created by h2xs 1.19
135