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