cql-java-moved-to-github.git
21 years agoAdd Ralph's new getResultSetName() method.
mike [Thu, 12 Dec 2002 10:24:25 +0000 (10:24 +0000)]
Add Ralph's new getResultSetName() method.

21 years agoremove qualifier.srw.resultSet from pqf.properties
mike [Thu, 12 Dec 2002 10:15:56 +0000 (10:15 +0000)]
remove qualifier.srw.resultSet from pqf.properties
It never worked properly, and is now unnecessary anyway, since the
rendering code deals with this specially.

21 years agoRename the toType1() method to the more explicit toType1BER()
mike [Wed, 11 Dec 2002 17:14:20 +0000 (17:14 +0000)]
Rename the toType1() method to the more explicit toType1BER()

21 years agoAdd Ralph's code into tyType1() to handle srw.resultSet
mike [Wed, 11 Dec 2002 00:30:02 +0000 (00:30 +0000)]
Add Ralph's code into tyType1() to handle srw.resultSet

21 years agoSupport srw.resultSet in toPQF(). NOT yet in toType1()
mike [Mon, 9 Dec 2002 17:01:03 +0000 (17:01 +0000)]
Support srw.resultSet in toPQF().  NOT yet in toType1()

21 years agoRolling
mike [Mon, 9 Dec 2002 16:56:07 +0000 (16:56 +0000)]
Rolling

21 years agoAdd back the last-in-field anchoring code.
mike [Mon, 9 Dec 2002 16:55:19 +0000 (16:55 +0000)]
Add back the last-in-field anchoring code.
Nasty hackery with term-tweaking: should refactor.

21 years agoChange project-name capitalisation from "cql-java" to "CQL-Java".
mike [Mon, 9 Dec 2002 16:29:44 +0000 (16:29 +0000)]
Change project-name capitalisation from "cql-java" to "CQL-Java".
Add a note to the effect, and a note on the changes to the anchoring
properties in etc/pqf.properties, to the Changes file.
Downgrade the VERSION file for the next release from 0.5 "proper" to
0.5-RC1, since I want to get Ralph to test it before release.

21 years agoJavadoc comment for toType1()
mike [Sun, 8 Dec 2002 00:37:54 +0000 (00:37 +0000)]
Javadoc comment for toType1()

21 years agoAdd back the changes to the position attributes.
mike [Fri, 6 Dec 2002 12:35:42 +0000 (12:35 +0000)]
Add back the changes to the position attributes.

21 years agoAdd BER tutorial ref.
mike [Fri, 6 Dec 2002 12:35:15 +0000 (12:35 +0000)]
Add BER tutorial ref.

21 years agoAdd stub toType1() that throws an exception.
mike [Fri, 6 Dec 2002 12:34:45 +0000 (12:34 +0000)]
Add stub toType1() that throws an exception.

21 years agoIntegrate Ralph's changes.
mike [Thu, 5 Dec 2002 17:14:52 +0000 (17:14 +0000)]
Integrate Ralph's changes.

21 years agoRemove all Ralph's files: I've integrated the changes now.
mike [Thu, 5 Dec 2002 17:14:31 +0000 (17:14 +0000)]
Remove all Ralph's files: I've integrated the changes now.

21 years agoIntegrate Ralph's changes.
mike [Wed, 4 Dec 2002 16:56:06 +0000 (16:56 +0000)]
Integrate Ralph's changes.

21 years agoAdd (premature) note about Ralph's changes.
mike [Wed, 4 Dec 2002 16:55:45 +0000 (16:55 +0000)]
Add (premature) note about Ralph's changes.

21 years agoTemporarily add Ralph's changes to the source, which can generate
mike [Wed, 4 Dec 2002 16:54:01 +0000 (16:54 +0000)]
Temporarily add Ralph's changes to the source, which can generate
BER packets.  I'll remove these as I integrate them into the master
source.

21 years agoSupport Adam's new position configuration elements
mike [Fri, 29 Nov 2002 16:43:23 +0000 (16:43 +0000)]
Support Adam's new position configuration elements

21 years agoupdate documentation
mike [Fri, 29 Nov 2002 16:42:54 +0000 (16:42 +0000)]
update documentation

21 years agoMore or less identical to Adam's file
mike [Fri, 29 Nov 2002 16:42:08 +0000 (16:42 +0000)]
More or less identical to Adam's file

21 years agoChange name of Adam's parser's front-end
mike [Thu, 28 Nov 2002 11:56:55 +0000 (11:56 +0000)]
Change name of Adam's parser's front-end

21 years agoRefer to Adam's "cqlshell" rather than the old "cqlparse3"
mike [Tue, 26 Nov 2002 15:51:48 +0000 (15:51 +0000)]
Refer to Adam's "cqlshell" rather than the old "cqlparse3"

21 years agoFix minor mistake in comment.
mike [Tue, 26 Nov 2002 15:51:18 +0000 (15:51 +0000)]
Fix minor mistake in comment.

21 years agoMove away from release 0.4 -- VERSION to 0.5 and tweak Changes todo
mike [Sun, 24 Nov 2002 17:42:26 +0000 (17:42 +0000)]
Move away from release 0.4 -- VERSION to 0.5 and tweak Changes todo

21 years agoFix date of release 0.4 (actually a subtle re-release) in Changes
mike [Thu, 21 Nov 2002 10:11:08 +0000 (10:11 +0000)]
Fix date of release 0.4 (actually a subtle re-release) in Changes
Tweak the way "mkdist" generates documentations.

21 years agoNail down test suite to use the CQLParser script from ../../bin
mike [Thu, 21 Nov 2002 09:57:28 +0000 (09:57 +0000)]
Nail down test suite to use the CQLParser script from ../../bin
and the cql-java.jar library from ../../lib

22 years agodate
mike [Wed, 20 Nov 2002 23:11:15 +0000 (23:11 +0000)]
date

22 years agoLoathesome hacks to skip section 10 explicitly, since CVS keep
mike [Wed, 20 Nov 2002 23:10:17 +0000 (23:10 +0000)]
Loathesome hacks to skip section 10 explicitly, since CVS keep
popping the empty directory back up again, no matter how much
"cvs rm 10; rm -rf 10" and removing the "10" line from CVS/Entries
I do.  Die, damn you, *DIE*!

22 years agoRemove the vacuous failed-test XCQL files.
mike [Wed, 20 Nov 2002 22:53:55 +0000 (22:53 +0000)]
Remove the vacuous failed-test XCQL files.

22 years agoVarious tweaks to improve test suite.
mike [Wed, 20 Nov 2002 22:50:45 +0000 (22:50 +0000)]
Various tweaks to improve test suite.

22 years agotweak
mike [Wed, 20 Nov 2002 22:50:18 +0000 (22:50 +0000)]
tweak

22 years agoOops. Forgot the .cvsignore files.
mike [Wed, 20 Nov 2002 18:00:53 +0000 (18:00 +0000)]
Oops.  Forgot the .cvsignore files.

22 years agoAdd all the reference XCQL output files, along with the .cvsignore
mike [Wed, 20 Nov 2002 18:00:11 +0000 (18:00 +0000)]
Add all the reference XCQL output files, along with the .cvsignore
files that prevent the CQL files from being redundantly stored.
(I _think_ that's right.)

22 years agoRemove .cvsignore, as we no longer want to ignore the test suite's
mike [Wed, 20 Nov 2002 17:57:24 +0000 (17:57 +0000)]
Remove .cvsignore, as we no longer want to ignore the test suite's
reference answers.

22 years agoRemove debugging printf()s. (Oh alright then, println()s :-)
mike [Wed, 20 Nov 2002 17:56:22 +0000 (17:56 +0000)]
Remove debugging printf()s.  (Oh alright then, println()s :-)

22 years agoTweaks to test suite. I think it's ready for serious use now.
mike [Wed, 20 Nov 2002 17:55:46 +0000 (17:55 +0000)]
Tweaks to test suite.  I think it's ready for serious use now.

22 years agoFix a silly bug, recently introduced, which prevented prox modifiers
mike [Wed, 20 Nov 2002 17:26:42 +0000 (17:26 +0000)]
Fix a silly bug, recently introduced, which prevented prox modifiers
from being properly emitted as XCQL.  I'd wrongly added the new argument,
Vector prefixes, to CQLProxNode.opXCQL(), so that its type signature
was different from that of CQLBooleanNode.opXCQL() and it didn't
override the base class's functionality.

Also, fix a minor typo: renamed opXQL() to opCXQL(), which is what I
intended all along.  Just a slip of the finger.

22 years agoUse test/regression rather than test/random
mike [Wed, 20 Nov 2002 17:20:11 +0000 (17:20 +0000)]
Use test/regression rather than test/random

22 years agoRemove spurious extra indent (was introduced so I could check for
mike [Wed, 20 Nov 2002 15:38:27 +0000 (15:38 +0000)]
Remove spurious extra indent (was introduced so I could check for
XML equivalence against Adam's output, rather than the boring old
check for character-by-character identity.)

22 years ago- Remove the redundant and misleading etc/Grammar file.
mike [Wed, 20 Nov 2002 09:49:28 +0000 (09:49 +0000)]
- Remove the redundant and misleading etc/Grammar file.
- Fix up various Maintenance Agency web addresses that have
  moved in the great ZING-release shake-up.

22 years ago - Change the XCQL output to include the nasty and redundant
mike [Wed, 20 Nov 2002 01:15:14 +0000 (01:15 +0000)]
- Change the XCQL output to include the nasty and redundant
  (but official) <leftOperand> and <rightOperand> wrapper
  elements.
- Change the XCQL output to use the nasty (but official)
  rendition of prefix-mapping: a <prefixes> element,
  containing one of more <prefix>es may appear at the top
  level of either a <searchClause> or a <triple>.
Also, improve the text/regression scaffolding somewhat.

22 years agoNote xmlpp
mike [Tue, 19 Nov 2002 17:23:26 +0000 (17:23 +0000)]
Note xmlpp

22 years agoAdd xmlpp.pl from http://software.decisionsoft.com/tools.html
mike [Tue, 19 Nov 2002 12:11:48 +0000 (12:11 +0000)]
Add xmlpp.pl from software.decisionsoft.com/tools.html
Include a note to that effect in the README.
Work required to integrate it into the tests.

22 years agoResync with Rob's sample query list: mostly prefix-mapping
mike [Tue, 19 Nov 2002 12:11:04 +0000 (12:11 +0000)]
Resync with Rob's sample query list: mostly prefix-mapping

22 years agoClarify text
mike [Mon, 18 Nov 2002 15:05:49 +0000 (15:05 +0000)]
Clarify text

22 years agoSort out the licence: I've settled on the LGPL.
mike [Mon, 18 Nov 2002 14:41:02 +0000 (14:41 +0000)]
Sort out the licence: I've settled on the LGPL.

22 years ago - Change build process so that javadoc documentation is built
mike [Sun, 17 Nov 2002 23:29:54 +0000 (23:29 +0000)]
- Change build process so that javadoc documentation is built
  by "make" in the "docs" directory.

22 years ago - Add support for the new "phonetic" relation modifier,
mike [Sun, 17 Nov 2002 23:29:02 +0000 (23:29 +0000)]
- Add support for the new "phonetic" relation modifier,
  including its mapping in "etc/pqf.properties".
- Make prefix-maps bind loosely, so that ``>dc=x a and b''
  applies the dc=x binding to both the ``a'' and ``b''
  sub-queries.
- Write javadoc comments for CQLRelation and ModifierSet.
- Other improvements to javadoc comments (e.g. describe the
  `config' parameter to the toPQF() method.)

22 years agoMove away from v0.3 (post-release)
mike [Fri, 15 Nov 2002 15:28:03 +0000 (15:28 +0000)]
Move away from v0.3 (post-release)

22 years agoFix javadoc comments
mike [Fri, 15 Nov 2002 12:08:56 +0000 (12:08 +0000)]
Fix javadoc comments

22 years agofix date
mike [Fri, 15 Nov 2002 12:03:00 +0000 (12:03 +0000)]
fix date

22 years agoMake members public
mike [Fri, 15 Nov 2002 12:02:29 +0000 (12:02 +0000)]
Make members public

22 years agoRemove "-IN-PROGRESS" suffix from VERSION number: we're ready to release.
mike [Fri, 15 Nov 2002 11:42:06 +0000 (11:42 +0000)]
Remove "-IN-PROGRESS" suffix from VERSION number: we're ready to release.

22 years agoadd note
mike [Fri, 15 Nov 2002 11:35:53 +0000 (11:35 +0000)]
add note

22 years agoChange description of prefix XCQL output: same as Adam's.
mike [Thu, 14 Nov 2002 22:12:19 +0000 (22:12 +0000)]
Change description of prefix XCQL output: same as Adam's.

22 years agofix typo
mike [Thu, 14 Nov 2002 22:07:32 +0000 (22:07 +0000)]
fix typo

22 years ago - Allow keywords to be used unquoted as search terms.
mike [Thu, 14 Nov 2002 22:04:16 +0000 (22:04 +0000)]
- Allow keywords to be used unquoted as search terms.
- Add support for serverChoiceRelation (scr).
- Add support for prefix-mapping, as in
>dc="http://dublincore.org/ dc.title=fish
  and
>"http://dublincore.org/ title=fish
  ### But the XCQL output may need to be changed depending on
      the result of the ZNG list's deliberations.
- Move the README file's old "THINGS TO DO" section to the end
  of this file, the new "Still to do" section.

22 years agoremove -classpath bits
mike [Tue, 12 Nov 2002 22:38:35 +0000 (22:38 +0000)]
remove -classpath bits

22 years agorolling
mike [Tue, 12 Nov 2002 22:37:48 +0000 (22:37 +0000)]
rolling

22 years agoNote previous change.
mike [Fri, 8 Nov 2002 16:40:04 +0000 (16:40 +0000)]
Note previous change.

22 years agoNormalise relation modifiers to lower-case.
mike [Fri, 8 Nov 2002 16:38:47 +0000 (16:38 +0000)]
Normalise relation modifiers to lower-case.

22 years agoFix PQF documentation to reference online YAZ manual. Remove BNF.
mike [Fri, 8 Nov 2002 16:32:01 +0000 (16:32 +0000)]
Fix PQF documentation to reference online YAZ manual.  Remove BNF.

22 years agoMake "make distclean" into "make clean"
mike [Fri, 8 Nov 2002 16:31:24 +0000 (16:31 +0000)]
Make "make distclean" into "make clean"

22 years agoDocument changes so far
mike [Fri, 8 Nov 2002 16:30:52 +0000 (16:30 +0000)]
Document changes so far

22 years agoChange rules to specify -classpath ../../../..
mike [Fri, 8 Nov 2002 13:50:17 +0000 (13:50 +0000)]
Change rules to specify -classpath ../../../..

22 years agotypo
mike [Fri, 8 Nov 2002 13:49:48 +0000 (13:49 +0000)]
typo

22 years agotweak
mike [Fri, 8 Nov 2002 09:50:58 +0000 (09:50 +0000)]
tweak

22 years agoRemove extraneous blank line from end of XCQL output in test harness.
mike [Fri, 8 Nov 2002 01:10:55 +0000 (01:10 +0000)]
Remove extraneous blank line from end of XCQL output in test harness.
(Was only there so my output would diff with Rob's!)

22 years agoRelease 0.2
mike [Wed, 6 Nov 2002 22:07:51 +0000 (22:07 +0000)]
Release 0.2

22 years ago*** empty log message ***
mike [Wed, 6 Nov 2002 22:03:58 +0000 (22:03 +0000)]
*** empty log message ***

22 years agoFinish (more or less) to CQL-to-PQF translator.
mike [Wed, 6 Nov 2002 20:13:45 +0000 (20:13 +0000)]
Finish (more or less) to CQL-to-PQF translator.
Add new exceptions arising from PQF translation.
Substantially rework the PQF-translation configuration properties.
Add new javadoc comments for various classes.
Fix visibility of some methods.

22 years agoAdd ref. to MA mapping page into pqf.properties
mike [Wed, 6 Nov 2002 10:37:06 +0000 (10:37 +0000)]
Add ref. to MA mapping page into pqf.properties

22 years agoTweak.
mike [Wed, 6 Nov 2002 00:14:32 +0000 (00:14 +0000)]
Tweak.

22 years agoTowards 0.2 --
mike [Wed, 6 Nov 2002 00:05:57 +0000 (00:05 +0000)]
Towards 0.2 --
- Fix the order of proximity parameters in accordance with the
  updated official grammar, which now specifies proximity
  operators of the form
prox/<relation>/<distance>/<unit>/<ordering>
  as in ``foo prox/<=/3/sentence bar''.
- Make the necessary parts of the CQLNode class and its
  subclasses public.  This means that client code can now walk
  through parse-trees and so implement its own back-end
  (e.g. to build BER-friendly data structures using whatever
  Z39.50 toolkit is preferred.)
- Add javadoc comments for CQLNode and subclasses.
- Add the toPQF(Properties p) method to CQLNode and subclasses.
(### NOT YET FINISHED)
- Add UnknownQualifierException and UnknownRelationException.
- Add "-p <props-file>" option to the CQLParser test-harness,
  indicating that the parsed tree is to be rendered to PQF.
- Add etc/pqf.properties to configure to toPQF() method.
- Rename ParameterMissingException to MissingParameterException.

22 years agoMake abstract to*() methods public.
mike [Tue, 5 Nov 2002 17:21:30 +0000 (17:21 +0000)]
Make abstract to*() methods public.

22 years agoAdd note on unquoted keywords
mike [Tue, 5 Nov 2002 17:20:30 +0000 (17:20 +0000)]
Add note on unquoted keywords

22 years agoAdd note to README
mike [Mon, 4 Nov 2002 23:42:30 +0000 (23:42 +0000)]
Add note to README

22 years agoAdd comment on needing the source directory to be on the CLASSPATH.
mike [Mon, 4 Nov 2002 12:55:23 +0000 (12:55 +0000)]
Add comment on needing the source directory to be on the CLASSPATH.
Abstract out the name of the documentation directory.

22 years agoAdd VERSION and mkdist -- now ready for first release!
mike [Sun, 3 Nov 2002 17:37:14 +0000 (17:37 +0000)]
Add VERSION and mkdist -- now ready for first release!

22 years agoFix some outdated Makefile rules.
mike [Sun, 3 Nov 2002 17:02:48 +0000 (17:02 +0000)]
Fix some outdated Makefile rules.
iAdd some CVS Ids.

22 years agoMove the top-level "test" directory into "test/regression"
mike [Sun, 3 Nov 2002 16:53:04 +0000 (16:53 +0000)]
Move the top-level "test" directory into "test/regression"

22 years agoLots of changes, mostly to documentation, towards initial release.
mike [Sun, 3 Nov 2002 16:49:37 +0000 (16:49 +0000)]
Lots of changes, mostly to documentation, towards initial release.
Also, add the random testing script.

22 years agoREADME tweaks; added CQLGenerator script
mike [Sat, 2 Nov 2002 01:24:41 +0000 (01:24 +0000)]
README tweaks; added CQLGenerator script

22 years agoRecognise number tokens as terms, as well as words and strings.
mike [Sat, 2 Nov 2002 01:24:14 +0000 (01:24 +0000)]
Recognise number tokens as terms, as well as words and strings.
Don't emit extraneous blank line at end of XCQL output.
Temporarily parse prox parameters in the MA's silly order.

22 years agoTweak which characters are in which class. In particular, most
mike [Sat, 2 Nov 2002 01:21:35 +0000 (01:21 +0000)]
Tweak which characters are in which class.  In particular, most
visible ASCIIs ("!", "%", etc.) are now word-constituent.

22 years agoTweak whitespace in generated XML. No good reason, but I wanted
mike [Sat, 2 Nov 2002 01:20:42 +0000 (01:20 +0000)]
Tweak whitespace in generated XML.  No good reason, but I wanted
to be byte-for-byte identical with Adam so I can diff our output.

22 years agoFirst more or less functional version of the test suite
mike [Sat, 2 Nov 2002 01:19:23 +0000 (01:19 +0000)]
First more or less functional version of the test suite
(Although it's pretty badly hampered by my lack of a half-decent
XML normalisation utility.)

22 years agoImprove test-harnesses and their associated scripts.
mike [Fri, 1 Nov 2002 23:45:28 +0000 (23:45 +0000)]
Improve test-harnesses and their associated scripts.
Add first chunk of work towards generic test harness.

22 years agoOops -- forgot to add Utils.java. Now added.
mike [Thu, 31 Oct 2002 22:23:19 +0000 (22:23 +0000)]
Oops -- forgot to add Utils.java.  Now added.

22 years agoAll sorts of changes. Generally moving towards first release.
mike [Thu, 31 Oct 2002 22:22:01 +0000 (22:22 +0000)]
All sorts of changes.  Generally moving towards first release.

22 years agoFix test-harnesses and generator to work with new relation structure.
mike [Wed, 30 Oct 2002 11:13:18 +0000 (11:13 +0000)]
Fix test-harnesses and generator to work with new relation structure.

22 years agoLOTS of changes. Biggies include proper support for relations, including
mike [Wed, 30 Oct 2002 09:19:26 +0000 (09:19 +0000)]
LOTS of changes.  Biggies include proper support for relations, including
multi-characters symbolics, word relations and relation modifiers.
Also added the new CQLGenerator class, which generates a random CQL
tree to be used in testing, most likely.  Various changes involved in
all this include moving CQLLexer and CQLParseException into their own
source files (the former just for neatness, the latter for application
visibility)

22 years agoHandle relations, improve XML rendering (wow, was that hard.
mike [Tue, 29 Oct 2002 10:15:58 +0000 (10:15 +0000)]
Handle relations, improve XML rendering (wow, was that hard.
The Java class library can be really sucky!)

22 years agocvsignore
mike [Sun, 27 Oct 2002 00:48:17 +0000 (00:48 +0000)]
cvsignore

22 years agoFirst more-or-less working version: does terms, booleans, qualifiers
mike [Sun, 27 Oct 2002 00:46:25 +0000 (00:46 +0000)]
First more-or-less working version: does terms, booleans, qualifiers
and relations.  Doesn't do multi-char relations (<= etc., "all" etc.),
proximity,
Quoting for XML not yet done.
Rendering tree back down to CQL is incomplete/untested.
Class documentation is all but non-existant.

22 years agoAdd .cvsignore for javadoc-generated files.
mike [Fri, 25 Oct 2002 19:52:36 +0000 (19:52 +0000)]
Add .cvsignore for javadoc-generated files.

22 years agoTweak spacing.
mike [Fri, 25 Oct 2002 19:44:31 +0000 (19:44 +0000)]
Tweak spacing.

22 years agoFirst semi-working version.
mike [Fri, 25 Oct 2002 16:56:43 +0000 (16:56 +0000)]
First semi-working version.
Can parse: foo or (bar and "baz")
No qualifiers, no relations, no modifiers, no proximity :-)

22 years agoFix inheritance
mike [Fri, 25 Oct 2002 16:11:05 +0000 (16:11 +0000)]
Fix inheritance

22 years agoAdded CQLBooleanNode (where had it gone?!)
mike [Fri, 25 Oct 2002 16:04:44 +0000 (16:04 +0000)]
Added CQLBooleanNode (where had it gone?!)
Uncommented the test-harness in CQLNode -- it _should_ work!