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