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