Added support for extended handlers in backend server interface.
[yaz-moved-to-github.git] / CHANGELOG
1 Possible compatibility problems with earlier versions marked with '*'.
2
3 Added command "refid" to client which specifies referenceId for
4 the following requests.
5
6 Implemented "extended" service handling for server. See ztest.c
7 for an example as well as backend.h. New handlers are registerd
8 in the Init handler.
9
10 * Changed interface for sort in server.
11
12 Added new members to statserv_options_block. It allows a server
13 to read options from another source than just the command line.
14
15 * Changed definition of Z_Triple in file prt-grs.h - member boolean
16 renamed to zboolean. Some C++ compilers complained about the name.
17
18 Minor changes to gils.abs. Added index 's' (sort) on title
19 and date/time-last-modified.
20
21 --- 1.4pl2 1998/1/30
22
23 Fixed bug in server library regarding inetd mode (-i). This bug
24 was introduced by release 1.4.
25
26 --- 1.4pl1 1998/1/29
27
28 Added sort facility in client and backend server interface.
29
30 Fixed problem with dependencies in Makefile(s).
31
32 Fixed bugs for encoders/decoders of extended services and 
33 SearchInfoReport.
34
35 Implemented sub-tree feature for schemas. Sub-trees are
36 referenced in *.abs-files. See explain.abs for an example
37 of the use of this feature.
38
39 Modified bib1.att; local attributes for ANY didn't include
40 ANY itself (only affects use of the retrieval module).
41
42 Fixed bug in plain SGML reader in function data1_read_node:
43 tags with prefix "var" was incorrectly interpreted as variants.
44
45 Added feature "sub-schemas" to enable references to - and definitions
46 of - group of elements.
47
48 * Removed member parent from type data1_element (in data1.h).
49
50 Implemented function odr_nullval() that returns the value of
51 ODR_NULLVAL.
52
53 * Removed member num_children from data1_node (in data1.h).
54
55 Made NT service interface part of the server library. The
56 function statserv_main uses the NT service when required and
57 calls the statserv_start / statserv_close routines.
58
59 Routine zget_SearchRequest and zget_PresentRequest fills
60 resultSetName/Id member with "default" instead of "Default".
61
62 Fixed memory leak in server. Request queue member wasn't freed.
63
64 Fixed nmem_exit so that memory is freed.
65
66 --- 1.4 1997/10/2
67
68 Revised the CCL parser utility to be thread safe.
69
70 Added function, oid_ent_to_oid, to replace the function 
71 oid_getoidbyent, which is not thread safe.
72
73 * Added nmem_init and nmem_exit to initialize and release
74 NMEM resources. Function nmem_init should be called once in the
75 initial thread before NMEM/ODR is used. statserv.c and client.c
76 have been changed accordingly. The change was necessary to make
77 NMEM thread safe. The NMEM memory pool is shared amongst threads
78 in a process. Unix-based applications will still work fine without
79 calling this.
80
81 Added NT Services interface for the the Z39.50 (statserv) Server. 
82 Refer to the ztest.c source on the usage.
83
84 Windows 95/NT port using MSVC5.0. Project files are included in the
85 distribution.
86
87 * Defined new 'global' handle for the retrieval (data1) system. The
88 new handled, data1_handle, describes the state of the data1 system.
89 This handle is passed as first argument to virtually all
90 data1 related routines. The functions data1_create and data1_destroy
91 creates and destroys a data1 handle respectively.
92
93 Added ODR encode stream member to all backend request structures
94 init, search, scan etc. This stream should be used to allocate all
95 memory used for the response when thread safe operation is needed.
96
97 Changed the comstack utility, cs_addstr, to be thread safe. The
98 returned hostname string returned by the function is now part the
99 COMSTACK instance.
100
101 Added comstack utility, cs_straddr, which replaces the tcpip_strtoaddr
102 function. The cs_straddr takes a COMSTACK handle as argument, so this
103 function must be used after cs_create and before bind/connect.
104 This function is thread safe.
105
106 Moved test server to 'ztest' directory - generic server code still
107 in 'server' directory.
108
109 Made prefix query (pquery.c) utility thread safe.
110
111 Added new function modifier YAZ_EXPORT to 'export' public DLL
112 functions when using windows (see include/yconfig.h).
113
114 Added definitions to the OID database (util/oid.c) (RVDM).
115
116 Added new BIB-1 diagnostic messages to the handler diagbib1_str.
117
118 Added call to ccl_rpn_delete in client program.
119
120 Added ODR argument to ccl_rpn_query and ccl_scan_query to provide
121 release of RPN structure.
122
123 Added support for C++, headers uses extern "C" for public definitions.
124 With input from RVDM.
125
126 In handling of SEQUENCE OF: Counter set to zero when SEQUENCE OF is absent.
127 Thanks to Ronald van der Meer (RVDM).
128
129 Added initializers (zget_ routines) for a number of PDUs. Thanks to RVDM.
130
131 Added support for private extensions to the OID database
132 (oid_setprivateoids()). Thanks to RVDM.
133     
134 Added optional, physical ANY (key replication)
135
136 Fixed null-reference problem in GRS-1 output filter.
137
138 Proximity operator added to Prefix Query Format (PQF).
139
140 In test client command "base" accepts multiple databases.
141
142 Fixed bug in cs_close stack that caused trouble with WINSOCK.
143
144 --- 1.3 1996/10/11
145
146 Fixed tagging bug in ResourceReportResponse PDU encoder/decode.
147
148 Smallish bug-fixes in the new encoders/decoders (explain).
149
150 Bug fixed in DeleteRequest.
151
152 Fixed tagging bug of type 101 query in SearchRequest-Query PDU encoder/decoder.
153
154 Fixed tagging bug in ResourceReportResponse PDU encoder/decode.
155
156 Added SOIF syntax (using private OID for now) to retrieval module and client.
157
158 Added Update extended service.
159
160 Added SearchResult-1 additional info structure.
161
162 Added optional CCL (ISO8777) interpreter as separate module. Available
163 in linemode client.
164
165 --- 1.2 1996/6/10 (1st anniversary release)
166
167 Added Summary record syntax. Lightly tested.
168
169 Added OPAC record syntax. Untested.
170
171 Added ResourceReport service encoders/decoders. Untested.
172
173 Fixed bug in z_Unit - wrong tagging on unitSystem.
174
175 Fixed bug in the DiagRecs decoder.
176
177 Added options for max PDU size and session timeout to frontend-server.
178
179 Added documentation of query-language parsers and other supporting utilities.
180
181 [frontend-server] Added Attribute set to the bend_scanrequest API.
182
183 [frontend-server] NextResultSetPosition was sometimes set incorrectly when
184 surrogate diagnostics were generated.
185
186 [retrieval] Allow multiple local values for attribute.
187
188 [retrieval] Allow multiple attributes per element in .abs files. index type.
189
190 [retrieval] Added Summary tagset, abstract syntax, and d1-node/ASN filter.
191
192 --- 1.1pl2  1996/4/10
193
194 Minor changes, mostly specific to Zebra's requirements (retrieval)
195
196 --- 1.1  1996/2/20
197
198 Repaired bug in frontend server when running multiple listening
199 endpoints in dynamic mode.
200
201 z_External() now won't break if a known, ASN.1 value comes encapsulated
202 in an octet-string. The value will pass through unmodified in an Odr_oct.
203
204 Added a bit of code to the demo client to decode & display
205 ASN.1-structured records represented in the octet-aligned branch of
206 the EXTERNAL CHOICE. Thanks to CAS for prodding us to finally do this.
207
208 Added z_ext_getentbyref() to the ASN module. Doc updated.
209
210 * Completed the SCAN definition in the ASN module. This may break SCAN
211 code based on older YAZ-versions at compile-time. The fix is easy -
212 look in proto.h.
213
214 * Added 'displayTerm' and OtherInformation to the TermInfo structure
215 under the SCAN definition. Remember to initialize this, server-people.
216
217 Comstack should now support the WAIS protocol in TCP/IP mode. Note
218 that this does not extend to ODR and ASN.
219
220 Comstack allows insertion of established socket (primarily for
221 inetd-operation of servers). Doc updated.
222
223 Front-end server can now start from the inetd in TCP mode. Doc
224 updated.
225
226 --- 1.0pl4 1996/1/24
227
228 Added Sort PDU.
229
230 Fixed small problem in SUTRS-filter. A newline was sometimes inserted before
231 the rank and record number.
232
233 Adjustments to the frontend server.
234
235 Fixed diagnostic BER dumper. It ignored the file argument.
236
237 --- 1.0pl3 1996/1/2
238
239 Various changes to retrieval module.
240
241 Changed the union discriminators of the protocol files from enums to
242 ints paired with #defines.
243
244 *Changed oident.class to oident.oclass to avoid a reserved word in C++
245  compilers.
246
247 *Changed operator in the RPN structure to 'roperator', again to avoid a
248  conflict with C++.
249
250 Fixed problems in Explain decoders/encoders.
251
252 --- 1.0pl2 1995/12/6
253
254 Memory bug in log module fixed.
255
256 --- 1.0pl1 1995/12/5
257
258 Occasional malloc() of 0 bytes fixed in d1_espec.c.
259
260 Bug in Explain DatabaseInfo module fixed.
261
262 Some '\r' snuck into one or two of the ret'l config tables. A curse on Windows.
263
264 --- 1.0 1995/11/28
265
266 The shift to v1.0 signals that we now consider the *core* functionality
267 of YAZ reasonably stable (the core being more or less equivalent to
268 Z39.50-1992). Some of the really nifty v3 stuff is still not heavily
269 tested (Explain not at all - though that will happen soonish).
270
271 Minor changes to code to support Windows port.
272
273 Various minor changes after we're getting to use GRS-1 & co. more.
274
275 Added Espec-1 format.
276
277 Added VisibleString field body type to GRS-1. It is illegal acc. to my copy
278 of the protocol and it cannot be selected when encoding (maps into 'string'
279 when decoding). Needed to talk to some servers.
280
281 Demo client can request simple element set names.
282
283 Added Diagnostic Format encoders/decoders.
284
285 Added simple Close handling to frontend server (no hooks for resource
286 reporting yet), and demonstration client.
287
288 Added cs_addrstr() command to COMSTACK to retrieve peer hostname/address.
289
290 --- 1.0b3 1995/08/24
291
292 Fixed bug in the frontend-server. The numberOfRecordsReturned field was
293 handled incorrectly when records were requested in the searchResponse. This
294 will only affect you if you use the frontend-server.
295
296 Added GRS-1 encoders/decoders to the service-level API. Lightly tested.
297 Test-client will ask for and print GRS1. Ztest will return dummy records
298 on request.
299
300 Added Explain encoders/decoders to the service-level API. Untested.
301
302 Added Extended Services: Item Order encoders and decoders to the Service-
303 level API. Untested. We could use a recent copy of the pertinent bits
304 of the ILL protocol to add those bits.
305
306 Added diagnostic format 1 encoders/decoders to the service-level API.
307 Untested.
308
309 Moved pretty-printing of structure-wrappers ({..}) from odr_seq.c to
310 odr_cons.c, which causes a more correct output.
311
312 Fixed handling of searchRequest in frontend server. NextResultSetPosition
313 was always set to 0 when no records were requested in the searchRequest.
314
315 * Added better external-handling. This shouldn't harm old code that
316 *encodes* externals. It can break code that looks for a
317 'single-ASN1-type' representation, since those types that are known
318 are now decoded immediately. Look at the SUTRS sample code in
319 seshigh.c and client.c. Documentation updated.
320
321 Handling of structured records in bend_fetchresponse. Length -1 marks
322 structured record, type is deduced from format field.
323
324 --- 1.0b2 1995/06/27
325 Fairly quick maintenance release to add SUTRS support.
326
327 Fixed handling of SUTRS records in the demonstration client.
328
329 * Added format field to the bend_fetchrequest and bend_fetchresponce
330 structures of the backend API (frontend server). When the record is
331 returned, the value of the format field is mapped to an OID. The
332 value VAL_SUTRS will also cause a slightly different ASN.1 packaging
333 of the record. The special value VAL_NONE in the bend_request means
334 that no specific format was requested by the client. Documentation
335 updated accordingly. Test server (ztest) will return a fixed dummy
336 SUTRS record if your client requests SUTRS.
337
338 Documentation updated accordingly.
339
340 You can now set external libraries and RANLIB support in the top-level
341 Makefile.
342
343 --- 1.0b 1995/06/19
344 First public release.