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