cql-java-moved-to-github.git
21 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.)

21 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.

21 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.

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

21 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.

21 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

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

21 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.

21 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.

21 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!

22 years agoMake classes public.
mike [Fri, 25 Oct 2002 16:01:26 +0000 (16:01 +0000)]
Make classes public.

22 years agoAdd initial version of most of the CQL*Node classes.
mike [Fri, 25 Oct 2002 07:38:16 +0000 (07:38 +0000)]
Add initial version of most of the CQL*Node classes.
Some little work towards fixing the parser.
Add documentation directory and javadoc build commands.

22 years agoUse $Id$ instead of $Header$.
mike [Thu, 24 Oct 2002 16:06:34 +0000 (16:06 +0000)]
Use $Id$ instead of $Header$.

22 years agoPull the ZOOM-java CCL compiler source into CQLParser.java and
mike [Thu, 24 Oct 2002 16:05:15 +0000 (16:05 +0000)]
Pull the ZOOM-java CCL compiler source into CQLParser.java and
global-replace "ccl" with "cql".  That's about it so far :-)

22 years agoInitial revision
mike [Thu, 24 Oct 2002 15:57:56 +0000 (15:57 +0000)]
Initial revision