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