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