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