cql-java-moved-to-github.git
17 years agoNew
mike [Fri, 29 Jun 2007 13:05:12 +0000 (13:05 +0000)]
New

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

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

17 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()

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

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

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

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

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

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

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

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

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

17 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

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

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

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

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

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

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

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

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

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

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

17 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.)

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

17 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"

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

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

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

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

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

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

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

17 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

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

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

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

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

17 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

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

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

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

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

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

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

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

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

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

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

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

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

17 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

17 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)

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

18 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>

18 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>

18 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>

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

19 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>

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

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

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

21 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

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.