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