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