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