1 $Id: Changes,v 1.35 2007-06-27 22:16:08 mike Exp $
3 Revision history for the CQL-Java package.
4 See the bottom of this file for a list of things still to do.
7 - Support for CQL version 1.2 as described at
8 http://www.loc.gov/standards/sru/next-version.html
9 based on support for version 1.1 as described at
10 http://www.loc.gov/standards/sru/cql/
11 Since this is a significant leap forward, the version
12 numbering increases to the next major version.
13 - "Qualifiers" renamed as "indexes" throughout, to match what
14 is now universal CQL terminology.
16 0.7 Thu Sep 4 22:51:11 2003
17 - Support for profiled relations and relation modifiers:
18 recognise any non-key word as a relation or modifier,
19 rejecting those that are not of the form <prefix>.<name>
20 since these must be explicitly tied to a "context" (what
21 used to be called a qualifier-set or index-set).
23 0.6 Tue Jul 29 23:33:56 2003
24 - Include Ralph's fix for CQLTermNode::toType1BER() to prevent
25 it surrounding multi-word terms in quotes when encoded into
28 0.5 Wed Feb 5 15:50:57 2003
29 - Add an extra back-end method,
30 byte[] toType1BER(Properties config)
31 which generates an opaque BER-encoded PDU suitable for
32 forwarding to Z39.50 server as a pasrt of a searchRequest
33 APDU. This was contributed by Ralph Levan <levan@oclc.org>
34 - Add srw.resultSet support to the toPFQ() method.
35 - Add new resultSetName() method to CQLNode and its
36 subclasses, returning the name of the referenced result-set
37 for a node that is just a result-set reference, and null for
39 - Change regression-test rules for Adam's compiler to use his
40 new front-end cql2xcql instead of the old cqlparse3.
41 - Change the names of the anchoring properties in
42 etc/pqf.properties and the CQLTermNode code that examines
43 them, in accordance with Adam's PQF-renderer's behaviour.
44 This gives more flexibility in terms of generating
45 attributes for end-of-field anchoring. Various other minor
46 tweaks to the pqf.properties file, mostly to the comments.
47 - Change the capitalisation of the project name from
48 "cql-java" to "CQL-Java". That doesn't really make any
49 difference to anything: in particular, file-names such as
50 "cql-java.jar" remain the same.
52 0.4 Thu Nov 21 10:09:26 2002
53 - Add support for the new "phonetic" relation modifier,
54 including its mapping in "etc/pqf.properties".
55 - Make prefix-maps bind loosely, so that ``>dc=x a and b''
56 applies the dc=x binding to both the ``a'' and ``b''
58 - Change the XCQL output to include the nasty (but official)
59 <leftOperand> and <rightOperand> wrapper elements.
60 - Change the XCQL output to use the nasty (but official)
61 rendition of prefix-mapping: a <prefixes> element,
62 containing one of more <prefix>es may appear at the top
63 of either a <searchClause> or a <triple>.
64 - Include test/regression/xmlpp.pl in the distribution: this
65 may now be used for testing whether a CQL compiler produces
66 _equivalent_ XCQL to what's in the regression test, rather
67 than requiring byte-identical output.
68 - Include the reference XCQL output in the distribution, for
69 the regression test suite to run against.
70 - Change build process so that javadoc documentation is built
71 by "make" in the "docs" directory. There's now a top-level
72 makefile that builds the source, runs the test suite and
73 creates the documentation.
74 - Write javadoc comments for CQLRelation and ModifierSet.
75 - Other improvements to javadoc comments (e.g. describe the
76 `config' parameter to the toPQF() method.)
77 - Sort out the licence: I've settled on the LGPL.
78 - Remove the redundant and misleading etc/Grammar file.
79 - Fix up various Maintenance Agency web addresses that have
80 moved in the great ZING-release shake-up.
82 0.3 Fri Nov 15 12:04:04 2002
83 - Allow keywords to be used unquoted as search terms.
84 - Add support for serverChoiceRelation (scr).
85 - Add support for prefix-mapping, as in
86 >dc="http://www.loc.gov/zing/cql/dc-indexes/" dc.title=fish
88 >"http://www.loc.gov/zing/cql/dc-indexes/" dc.title=fish
89 The XCQL generated corresponds to Adam's suggested format
90 rather than Rob's, not so much because I prefer it (although
91 I do) as because it's what fell out when I just Coded What
92 Comes Natur'ly. That may need to change, depending on the
93 result of the ZNG list's deliberations.
94 - Fix the parser to normalise relation modifiers to lower case.
95 - Fix the CQLParser test harness not to emit an extraneous
96 blank line at end of XCQL output.
97 - Fix CQLNode documentation to contain a link to YAZ's
98 documentation of Prefix Query Format (PQF) rather than
99 containing a rather unhelpful chunk of BNF.
100 - Change the test/regression Makefile so that "make clean" now
101 does what "make distclean" used to do - the distinction
102 between them is pointless.
103 - Fix a few typos in the documentation.
104 - Move the README file's old "THINGS TO DO" section to the end
105 of this file, the new "Still to do" section.
107 0.2 Wed Nov 6 23:05:54 2002
108 - Fix the order of proximity parameters in accordance with the
109 updated official grammar, which now specifies proximity
110 operators of the form
111 prox/<relation>/<distance>/<unit>/<ordering>
112 as in ``foo prox/<=/3/sentence bar''.
113 - Make the necessary parts of the CQLNode class and its
114 subclasses public. This means that client code can now walk
115 through parse-trees and so implement its own back-end
116 (e.g. to build BER-friendly data structures using whatever
117 Z39.50 toolkit is preferred.)
118 - Add the toPQF(Properties p) method to CQLNode and its
119 subclasses. This produces a query in YAZ-style Prefix Query
120 Format, which can be trivially translated into a Z39.50
121 Type-1 query (see, for example, JZKit's code to do so).
122 - Add etc/pqf.properties to configure the toPQF() method.
123 - Add "-p <props-file>" option to the CQLParser test-harness,
124 indicating that the parsed tree is to be rendered to PQF.
125 - Add PQFTranslationException and its subclasses
126 UnknownQualifierException, UnknownRelationException,
127 UnknownRelationModifierException and
128 UnknownPositionException.
129 - Rename ParameterMissingException to MissingParameterException.
130 - Add javadoc comments for CQLNode and its subclasses.
132 0.1 Sun Nov 3 20:58:27 2002
133 - First public release.
138 - Test-harness option to use Type1 BER back-end.
139 - Case-insensitive matching for serverChoice and any other
140 special-case qualifiers. (Are the configured qualifiers
141 matched case-insensitively? They should be.)
142 - Prefix-aware matching for serverChoice, so that
143 >x="http://www.loc.gov/zing/srw/dc-indexes/v1.0/" x.resultSet=foo
144 does the right thing.
145 - Extend test-suite for PQF and BER renderers.
146 - Additional test-suite entries for things like
148 - Add a new configuration file that allows arbitrary new
149 relations and relation modifiers to be defined.
150 - Fix the bug where "9x" is parsed as two tokens, a TT_NUMBER
151 followed by a TT_WORD. The problem here is that I don't
152 think it's actually possible to fix this without throwing
153 out StreamTokenizer and rolling our own, which we absolutely
154 - Fix term-to-PQF translation to omit empty properties
155 (for the broken Korean server)
156 - Write "package.html" file for the javadoc documentation.
157 - Some niceties for the cql-decompiling back-end:
158 * Don't emit redundant parentheses.
159 * Don't put spaces around relations that don't need them.
160 - Many refinements to the random query generator:
161 * Generate relation modifiers
163 * Don't always generate qualifier/relation for terms
164 * Better selection of qualifier (configurable?)
165 * Better selection of terms (from a dictionary file?)
166 * Introduce wildcard characters into generated terms
167 * Generate multi-word terms
168 * Generate prefix-mappings