cql-java-moved-to-github.git
16 years agoNew constructor that takes a "compat" argument indicating whether to
mike [Fri, 29 Jun 2007 15:24:26 +0000 (15:24 +0000)]
New constructor that takes a "compat" argument indicating whether to
implement v1.1, v1.2 (the default) or v1.1 with sorting.
Default relation generated is "=" under v1.2.
Add new "-1" command-line argument to test-harness for v1.1.

16 years agoTowards v1.2
mike [Fri, 29 Jun 2007 15:22:52 +0000 (15:22 +0000)]
Towards v1.2

16 years agoExpect = as default relation rather than scr
mike [Fri, 29 Jun 2007 15:22:27 +0000 (15:22 +0000)]
Expect = as default relation rather than scr

16 years agoExpect cql.serverChoice instead of srw.serverChoice
mike [Fri, 29 Jun 2007 15:10:16 +0000 (15:10 +0000)]
Expect cql.serverChoice instead of srw.serverChoice

16 years agoNew
mike [Fri, 29 Jun 2007 13:19:28 +0000 (13:19 +0000)]
New

16 years agoRemove archive directory
mike [Fri, 29 Jun 2007 13:17:04 +0000 (13:17 +0000)]
Remove archive directory

16 years agoRelease 1.0
mike [Fri, 29 Jun 2007 13:10:58 +0000 (13:10 +0000)]
Release 1.0

16 years agoDescribe runcanon
mike [Fri, 29 Jun 2007 13:06:07 +0000 (13:06 +0000)]
Describe runcanon

16 years agoNew
mike [Fri, 29 Jun 2007 13:05:12 +0000 (13:05 +0000)]
New

16 years agoRemove obsolete keywords! Whoop!
mike [Fri, 29 Jun 2007 12:54:05 +0000 (12:54 +0000)]
Remove obsolete keywords!  Whoop!

16 years agoRemove op() method.
mike [Fri, 29 Jun 2007 12:53:03 +0000 (12:53 +0000)]
Remove op() method.

16 years agoRemove op() method, use ms.toCQL()
mike [Fri, 29 Jun 2007 12:52:45 +0000 (12:52 +0000)]
Remove op() method, use ms.toCQL()

16 years agoRemove op()
mike [Fri, 29 Jun 2007 12:48:21 +0000 (12:48 +0000)]
Remove op()

16 years agoRemove old proximity-specific parsing code.
mike [Fri, 29 Jun 2007 12:27:08 +0000 (12:27 +0000)]
Remove old proximity-specific parsing code.

16 years agoRemove extraneous import.
mike [Fri, 29 Jun 2007 12:26:44 +0000 (12:26 +0000)]
Remove extraneous import.

16 years agoThrow away a lot of special-case code -- hurrah! :-)
mike [Fri, 29 Jun 2007 12:15:05 +0000 (12:15 +0000)]
Throw away a lot of special-case code -- hurrah! :-)
The base BooleanNode code covers pretty much everything now.

16 years agoTreat PROX the same as AND, OR and NOT. Nice.
mike [Fri, 29 Jun 2007 11:56:47 +0000 (11:56 +0000)]
Treat PROX the same as AND, OR and NOT.  Nice.
gatherModifiers() now uses matchSymbol() instead of duplicating code.

16 years agoPass-through constructor.
mike [Fri, 29 Jun 2007 11:56:06 +0000 (11:56 +0000)]
Pass-through constructor.

16 years agoTemporarily change the token "ordered" to "xordered" so that the word
mike [Fri, 29 Jun 2007 11:55:45 +0000 (11:55 +0000)]
Temporarily change the token "ordered" to "xordered" so that the word
is not recognised as special.  Soon, nearly all keywords (including
this one) will be removed.

16 years agoComments
mike [Fri, 29 Jun 2007 11:54:56 +0000 (11:54 +0000)]
Comments

16 years agoAdd "make test" rule.
mike [Fri, 29 Jun 2007 11:48:04 +0000 (11:48 +0000)]
Add "make test" rule.

16 years agov1.1 XCQL for proximity modifiers
mike [Fri, 29 Jun 2007 11:47:44 +0000 (11:47 +0000)]
v1.1 XCQL for proximity modifiers

16 years agoClearer diagnostics when output differs.
mike [Fri, 29 Jun 2007 11:47:25 +0000 (11:47 +0000)]
Clearer diagnostics when output differs.

16 years agoNew gatherModifiers() method, used to implement boolean modifiers.
mike [Fri, 29 Jun 2007 10:25:38 +0000 (10:25 +0000)]
New gatherModifiers() method, used to implement boolean modifiers.
parseTerm() modified to use gatherModifiers() for relation modifiers.

16 years agoUse new three-argument forms of boolean-node constructors.
mike [Fri, 29 Jun 2007 10:24:24 +0000 (10:24 +0000)]
Use new three-argument forms of boolean-node constructors.

16 years agoRemoved ModifierSet, since base class now has this.
mike [Fri, 29 Jun 2007 10:24:03 +0000 (10:24 +0000)]
Removed ModifierSet, since base class now has this.
Removed opXCQL() method, as base class does this for us.

16 years agoRemove addModifier() methods with setModifiers().
mike [Fri, 29 Jun 2007 10:23:02 +0000 (10:23 +0000)]
Remove addModifier() methods with setModifiers().
Client code should directly build a ModifierSet, then set it.

16 years agoConstructor accepts a ModifierSet
mike [Fri, 29 Jun 2007 10:22:12 +0000 (10:22 +0000)]
Constructor accepts a ModifierSet

16 years agoBoolean node now carries a ModifierSet.
mike [Fri, 29 Jun 2007 10:21:30 +0000 (10:21 +0000)]
Boolean node now carries a ModifierSet.
Base constructor provided for subclasses to invoke.

16 years agoAdd single-argument addModifier.
mike [Fri, 29 Jun 2007 10:20:41 +0000 (10:20 +0000)]
Add single-argument addModifier.

16 years agoFix single-argument constructorm, which no-opped.
mike [Fri, 29 Jun 2007 10:20:09 +0000 (10:20 +0000)]
Fix single-argument constructorm, which no-opped.

16 years agoNew
mike [Thu, 28 Jun 2007 17:33:56 +0000 (17:33 +0000)]
New

16 years agoParse complex relation modifiers.
mike [Thu, 28 Jun 2007 00:24:48 +0000 (00:24 +0000)]
Parse complex relation modifiers.

(Getting the lexeme out of the lexer involves sticking my fingers down
its throat, which is now done in two places.  Should be refactored
into the lexer itself.)

16 years agoThree-parameter version of addModifier()
mike [Thu, 28 Jun 2007 00:23:43 +0000 (00:23 +0000)]
Three-parameter version of addModifier()

16 years agotoXCL() emits modifiers with "comparison" rather than "relation"
mike [Thu, 28 Jun 2007 00:23:17 +0000 (00:23 +0000)]
toXCL() emits modifiers with "comparison" rather than "relation"

16 years agonew
mike [Thu, 28 Jun 2007 00:22:29 +0000 (00:22 +0000)]
new

16 years agoNew
mike [Thu, 28 Jun 2007 00:22:18 +0000 (00:22 +0000)]
New

16 years agoRemove relation keywords TT_ANY, TT_ALL, and TT_EXACT.
mike [Thu, 28 Jun 2007 00:00:53 +0000 (00:00 +0000)]
Remove relation keywords TT_ANY, TT_ALL, and TT_EXACT.
Remove relation-modifier keywords TT_RELEVANT, TT_FUZZY, TT_STEM,
TT_SCR and TT_PHONETIC.
Remove unnecessary fascistic checks.
I feel so free!

16 years agoRemove relation keywords TT_ANY, TT_ALL, and TT_EXACT.
mike [Thu, 28 Jun 2007 00:00:31 +0000 (00:00 +0000)]
Remove relation keywords TT_ANY, TT_ALL, and TT_EXACT.
Remove relation-modifier keywords TT_RELEVANT, TT_FUZZY, TT_STEM,
TT_SCR and TT_PHONETIC.
I feel so free!

16 years agoNew
mike [Wed, 27 Jun 2007 23:36:19 +0000 (23:36 +0000)]
New

16 years agoUnknownQualifierException becomes UnknownIndexException
mike [Wed, 27 Jun 2007 22:44:40 +0000 (22:44 +0000)]
UnknownQualifierException becomes UnknownIndexException

16 years agoRolling
mike [Wed, 27 Jun 2007 22:44:13 +0000 (22:44 +0000)]
Rolling

16 years agoRenamemv UnknownQualifierException.java to UnknownIndexException.java
mike [Wed, 27 Jun 2007 22:41:41 +0000 (22:41 +0000)]
Renamemv UnknownQualifierException.java to UnknownIndexException.java

16 years ago'qualifier' replaced by 'index' throughout
mike [Wed, 27 Jun 2007 22:39:55 +0000 (22:39 +0000)]
'qualifier' replaced by 'index' throughout

16 years agoRolling
mike [Wed, 27 Jun 2007 22:16:08 +0000 (22:16 +0000)]
Rolling

16 years agoaddModifier() now uses broader ModifierSet API.
mike [Wed, 27 Jun 2007 22:14:46 +0000 (22:14 +0000)]
addModifier() now uses broader ModifierSet API.

16 years agoaddModifier() now accepts comparison as well as type and value.
mike [Wed, 27 Jun 2007 22:14:03 +0000 (22:14 +0000)]
addModifier() now accepts comparison as well as type and value.

16 years agoUpdated to new relation-modifier format
mike [Wed, 27 Jun 2007 17:24:04 +0000 (17:24 +0000)]
Updated to new relation-modifier format

16 years agoSingle-argument constructor sets type rather than value.
mike [Wed, 27 Jun 2007 17:18:54 +0000 (17:18 +0000)]
Single-argument constructor sets type rather than value.

16 years agoaddModifier() correctly calls changed ModifierSet API.
mike [Wed, 27 Jun 2007 17:18:00 +0000 (17:18 +0000)]
addModifier() correctly calls changed ModifierSet API.

16 years agoUse new Modifier objects for PQF translation rather than the old
mike [Wed, 27 Jun 2007 17:05:05 +0000 (17:05 +0000)]
Use new Modifier objects for PQF translation rather than the old
Vector hack.

16 years agoSimplify getModifiers.
mike [Wed, 27 Jun 2007 17:02:01 +0000 (17:02 +0000)]
Simplify getModifiers.

16 years agoBuild Modifier.java
mike [Wed, 27 Jun 2007 17:01:47 +0000 (17:01 +0000)]
Build Modifier.java

16 years agoUse new Modifier class instead of two-element Vector hack.
mike [Wed, 27 Jun 2007 17:01:38 +0000 (17:01 +0000)]
Use new Modifier class instead of two-element Vector hack.

16 years agoNew
mike [Wed, 27 Jun 2007 17:01:23 +0000 (17:01 +0000)]
New

16 years agoAdd new -d option to test-harness to turn on debugging.
mike [Tue, 26 Jun 2007 16:43:41 +0000 (16:43 +0000)]
Add new -d option to test-harness to turn on debugging.

16 years agoFix rendering of default-context nodes with no named prefix.
mike [Tue, 26 Jun 2007 16:36:50 +0000 (16:36 +0000)]
Fix rendering of default-context nodes with no named prefix.

16 years agoFailure to compile a query counts as a failed test!
mike [Thu, 21 Jun 2007 14:54:32 +0000 (14:54 +0000)]
Failure to compile a query counts as a failed test!

16 years agoFixed for modified query.
mike [Thu, 21 Jun 2007 10:15:58 +0000 (10:15 +0000)]
Fixed for modified query.

16 years agoEmit "=== end ===" after comparison.
mike [Thu, 21 Jun 2007 10:10:32 +0000 (10:10 +0000)]
Emit "=== end ===" after comparison.

16 years agoChanged proximity syntax for v1.1/1.2
mike [Thu, 21 Jun 2007 10:00:24 +0000 (10:00 +0000)]
Changed proximity syntax for v1.1/1.2
Added other queries with boolean modifiers
Tweak comments and context-set URIs

16 years agoNew, downloaded from LC
mike [Tue, 19 Jun 2007 08:47:25 +0000 (08:47 +0000)]
New, downloaded from LC

16 years agoFinal report of success count and percentage.
mike [Thu, 7 Jun 2007 16:17:28 +0000 (16:17 +0000)]
Final report of success count and percentage.

16 years agoNew "no thinking" introduction.
mike [Thu, 7 Jun 2007 16:17:04 +0000 (16:17 +0000)]
New "no thinking" introduction.
Note on shared code in runtests/mkanswers.
Describe showtest.

16 years agoPATH and CLASSPATH settings so that no installation is needed.
mike [Thu, 7 Jun 2007 16:16:15 +0000 (16:16 +0000)]
PATH and CLASSPATH settings so that no installation is needed.

16 years agoRevert the previous change, because it broke the regression test.
mike [Thu, 7 Jun 2007 16:15:22 +0000 (16:15 +0000)]
Revert the previous change, because it broke the regression test.
This means that terms like "3d" will, as before, be incorrectly lexed
as the number "3" followed by the word "d", but that's how every
release until now has been, so we can obviously live with that.

The regression test was also broken by the previous change supporting
floating-point numbers, but I fixed that by having render() return
only the integer part when that's numerically equal to the full
banana.  A similar lexical hack might be the way forward with the
other reverted change, but right now just making everything work the
way it ought to top priority.

16 years agoUp to date description.
mike [Thu, 7 Jun 2007 16:04:50 +0000 (16:04 +0000)]
Up to date description.

16 years agoComment.
mike [Wed, 6 Jun 2007 15:13:41 +0000 (15:13 +0000)]
Comment.

16 years agoMany changes for v1.2
mike [Wed, 6 Jun 2007 14:42:53 +0000 (14:42 +0000)]
Many changes for v1.2

16 years agoRemove more junk from distribution.
mike [Wed, 6 Jun 2007 14:39:11 +0000 (14:39 +0000)]
Remove more junk from distribution.

16 years agoTypo.
mike [Wed, 6 Jun 2007 14:38:25 +0000 (14:38 +0000)]
Typo.

16 years agoTowards 1.0
mike [Wed, 6 Jun 2007 13:26:11 +0000 (13:26 +0000)]
Towards 1.0

16 years agoMore for "make clean" to remove.
mike [Wed, 6 Jun 2007 13:20:44 +0000 (13:20 +0000)]
More for "make clean" to remove.

16 years agoFix javadoc typo.
mike [Wed, 6 Jun 2007 13:19:28 +0000 (13:19 +0000)]
Fix javadoc typo.

16 years agoIgnore generated "resources" directory.
mike [Wed, 6 Jun 2007 13:19:15 +0000 (13:19 +0000)]
Ignore generated "resources" directory.

16 years agoUse generics (what C++ programmers call templates)
mike [Wed, 6 Jun 2007 12:22:01 +0000 (12:22 +0000)]
Use generics (what C++ programmers call templates)

16 years agoCompile all files at once.
mike [Wed, 6 Jun 2007 12:21:46 +0000 (12:21 +0000)]
Compile all files at once.

17 years agoBugfixes for decomiling underspecified terms
mike [Wed, 14 Jun 2006 14:36:36 +0000 (14:36 +0000)]
Bugfixes for decomiling underspecified terms
Thanks to Rudie Ekkelenkamp <r.ekkelenkamp@kennisnet.org>

17 years agoCorrectly lex numericalpha sequences such as "3d" as single tokens.
mike [Fri, 19 May 2006 17:45:36 +0000 (17:45 +0000)]
Correctly lex numericalpha sequences such as "3d" as single tokens.
Patch from Erik Hetzner <erik.hetzner@ucop.edu>

17 years agoPatch sent by Rafe Rosen <rr236@cornell.edu>
mike [Fri, 5 May 2006 21:39:14 +0000 (21:39 +0000)]
Patch sent by Rafe Rosen <rr236@cornell.edu>

18 years agoNew
mike [Mon, 29 Aug 2005 15:45:53 +0000 (15:45 +0000)]
New

18 years agoNew
mike [Mon, 29 Aug 2005 15:15:02 +0000 (15:15 +0000)]
New

19 years agoNew from Hedzer Westra <hedzer@NL.ADLIBSOFT.COM>
mike [Mon, 13 Dec 2004 16:35:11 +0000 (16:35 +0000)]
New from Hedzer Westra <hedzer@NL.ADLIBSOFT.COM>

19 years agoSupport new command-line option, -l <number>, to indicate the number
mike [Tue, 14 Sep 2004 12:28:23 +0000 (12:28 +0000)]
Support new command-line option, -l <number>, to indicate the number
of spaces to be used in indenting each level.

20 years agoVery, very basic support for Bath profile.
mike [Thu, 18 Dec 2003 13:17:16 +0000 (13:17 +0000)]
Very, very basic support for Bath profile.

20 years agoRelease 0.7 -- understands profiles relations and modifiers.
mike [Thu, 4 Sep 2003 21:56:46 +0000 (21:56 +0000)]
Release 0.7 -- understands profiles relations and modifiers.

20 years agoRelease 0.6, fixes Ralph's term-quoting bug in BER serialiser.
mike [Tue, 29 Jul 2003 22:53:02 +0000 (22:53 +0000)]
Release 0.6, fixes Ralph's term-quoting bug in BER serialiser.

20 years agoTweak to ignore two new files created by the javadoc implementation
mike [Tue, 29 Jul 2003 22:52:42 +0000 (22:52 +0000)]
Tweak to ignore two new files created by the javadoc implementation
included in IBM's JDK 1.4.1 --
allclasses-noframe.html
constant-values.html

21 years agoRemove a line of debugging. (Thanks to Ralph who spotted it)
mike [Tue, 4 Mar 2003 18:06:11 +0000 (18:06 +0000)]
Remove a line of debugging.  (Thanks to Ralph who spotted it)

21 years agoRelease 0.5
mike [Wed, 5 Feb 2003 15:54:30 +0000 (15:54 +0000)]
Release 0.5

21 years agoRalph's tweaks to generated BER-encoded query packet.
mike [Mon, 13 Jan 2003 13:08:59 +0000 (13:08 +0000)]
Ralph's tweaks to generated BER-encoded query packet.
Generalise result-set qualifier indentification.

21 years agoprepare for 0.5-RC3
mike [Mon, 13 Jan 2003 12:56:18 +0000 (12:56 +0000)]
prepare for 0.5-RC3

21 years agoUpdate TODO list.
mike [Fri, 13 Dec 2002 17:46:52 +0000 (17:46 +0000)]
Update TODO list.

21 years agoChanges files etc. for recent tweaks.
mike [Thu, 12 Dec 2002 15:03:50 +0000 (15:03 +0000)]
Changes files etc. for recent tweaks.

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