Summary Period: 2005-01-31 to 2005-05-03

Total Lines Of Code:
1866 (2005-05-13 02:48)
| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| Totals | 74 (100.0%) | 2674 (100.0%) | 36.1 |
| u1ah3 | 62 (83.8%) | 2417 (90.4%) | 38.9 |
| m4rb | 12 (16.2%) | 257 (9.6%) | 21.4 |
Adding my wizard class and changing the cast in RDFHandler
1 lines of code changed in:
2005-04-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
* docs/api/.cvsignore:
Ignore html directory and create_html marker.
* lib/.cvsignore:
Ignore new jar files.
* src/nongnu/cashews/commons/Pair.java:
(hashCode()): Removed dumb use of superclass hashCode as this
is java.lang.Object.
* src/nongnu/cashews/commons/PairStack.java:
Stack class to handle maps containing pairs.
(PairStack()): New constructor.
(peek()): New method.
(pop()): New method.
(push(A,B)): New method.
(search(A,B)): New method.
* src/nongnu/cashews/rdf/RDFHandler.java:
(subjectURI): New field.
(PairStack<Subject,Predicate>): New field.
(Set<String>): New field.
(RDFHandler(java.util.logging.Handler)): Initialize new variables.
(startElement(String,String,String,org.xml.sax.Attributes)):
Handle maintaining subjectURI and nested subjects.
(handleAttributes(PairMap<String,String,String>)):
Remove attributes from set when parsed, generate blank node ids
when not present, and add triples for property attributes.
(setSubjectType(String)): Documented.
(generateBlankID()): New method to generate a blank node ID.
(endSubject()): Handle the end of a subject node, including
nested nodes.
* src/nongnu/cashews/rdf/XMLParser.java:
(main(String[])): Expect URIs rather than files at command line.
* src/nongnu/cashews/rdf/Parser.java:
(man(String[])): Likewise.
128 lines of code changed in:
2005-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
* src/nongnu/cashews/commons/Pair.java:
Now serializable, along with some doc. fixes.
(serialVersionUID): Added.
(toString()): New method.
* src/nongnu/cashews/commons/PairMap.java:
New class to handle maps with a Pair as the key.
(serialVersionUID): For serialization.
(PairMap()): New constructor.
(PairMap(int)): Likewise.
(PairMap(int,float)): Likewise.
(PairMap(PairMap<A,B,? extends V>)): Likewise.
(containsKey(A,B)): Shortcut for pair handling.
(get(A,B)): Likewise.
(put(A,B,V)): Likewise.
(remove(A,B)): Likewise.
* src/nongnu/cashews/commons/PairSet.java:
New class to handle sets of Pairs.
(serialVersionUID): For serialization.
(PairSet()): New constructor.
(PairSet(int)): Likewise.
(PairSet(int,float)): Likewise.
(PairSet(PairSet<A,B)): Likewise.
(contains(A,B)): Shortcut for pair handling.
(add(A,B)): Likewise.
(remove(A,B)): Likewise.
* src/nongnu/cashews/rdf/Blank.java:
Now properly extends Node.
(toString()): Modified for subclass status.
(clone()): Likewise.
* src/nongnu/cashews/rdf/Node.java:
Turned into a class which implements Subject and RDFObject.
(type): New field holding the type of the node.
(clone()): New method.
(setType(URI)): New method.
(getType()): New method.
(toString()): New method.
(setType(String)): New method.
* src/nongnu/cashews/rdf/RDFHandler.java:
Moved from XMLParser to a separate class.
(RDF_NAMESPACE): Moved from XMLParser.
(graph): Moved from XMLParser.
(getGraph()): New accessor.
(parseAttributes(org.xml.sax.Attributes)): Convert attributes
to a PairMap.
(handleAttributes(PairMap<String,String,String>): Handle RDF attribs
in a central location.
(setSubjectType(String)): Central place for setting node type.
* src/nongnu/cashews/rdf/RDFObject.java:
Now a implemented interface of Node.
* src/nongnu/cashews/rdf/RDFURI.java:
(toString()): Modified for subclass status.
(clone()): Likewise.
* src/nongnu/cashews/rdf/XMLParser.java:
Now a small subclass to Parser.
(RDF_NAMESPACE): Moved to RDFHandler.
(reader): Moved to Parser.
(graph): Moved to RDFHandler.
(rdfHandler): Generic version in Parser.
(XMLParser(java.util.logging.Handler)): Shortcut for an RDF parse.
(parse(String)): Moved to Parser.
(parse(org.xml.sax.InputSource)): Moved to Parser.
(parse(java.io.File)): Moved to Parser.
(RDFHandler): Moved to its own class.
* src/nongnu/cashews/xml/Parser.java:
New class for a basic XML parser.
(reader): Field from rdf.XMLParser.
(xmlHandler): New field.
(Parser(java.util.logging.Handler)): Shortcut for a basic parse.
(Parser(java.util.logging.Handler,nongnu.cashews.xml.XmlBaseHandler)):
Central constructor.
(parse(String)): Moved from rdf.XMLParser.
(parse(org.xml.sax.InputSource)): Moved from rdf.XMLParser.
(parse(java.io.File)): Moved from rdf.XMLParser.
(getHandler()): New accessor.
(main(String[])): Test harness.
532 lines of code changed in:
2005-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
* lib/Makefile.am:
Added creation of commons.jar, and re-enabled GCJ
native creation for owls.jar and eclipse.jar.
* src/nongnu/cashews/commons/Pair.java:
(equals(Object)): New method.
(hashCode()): New method.
* src/nongnu/cashews/rdf/XMLParser.java:
(ids): A set of base URI and ID pairs.
(startElement(String,String,String,org.xml.sax.Attributes)):
Handle nodeID, ensuring uniqueness using the ids set.
35 lines of code changed in:
2005-04-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
* lib/Makefile.am:
Added creation of xml.jar.
* src/nongnu/cashews/commons/Pair.java:
Free heterogenous pair type at no extra cost...
(left): New field.
(right): New field.
(Pair(A,B)): New constructor.
(setLeft(A)): New method.
(setRight(B)): New method.
(getLeft()): New method.
(getRight()): New method.
* src/nongnu/cashews/rdf/XMLParser.java:
(rdfHandler): New field.
(XMLParser(java.util.logging.Handler)):
Retain a reference to the handler.
(parse(String)): Links to parse(org.xml.sax.InputSource).
(parse(org.xml.sax.InputSource): Set the base URI from the system ID.
(RDFHandler): Use XmlBaseHandler as superclass.
(RDFHandler.rdfLogger): Renamed from logger.
(RDFHandler.RDFHandler(java.util.logging.Handler)): Call superclass.
(RDFHandler.startDocument()): Likewise.
(RDFHandler.startElement(String,String,String,org.xml.sax.Attributes)):
Likewise.
(RDFHandler.characters(char[],int,int)): Likewise.
(RDFHandler.endElement(String,String,String)): Likewise.
* src/nongnu/cashews/xml/XmlBaseHandler.java:
New class.
(XML_NAMESPACE): New constant.
(uris): New field.
(xmlBaseLogger): New field.
(level): New field.
(lastElement): New field.
(lastLevel): New field.
(XmlBaseHandler(java.util.logging.Handler)): New method.
(setBaseURI(String)): New method.
(startDocument()): New method.
(startElement(String,String,String,org.xml.sax.Attributes)):
New method.
(endElement(String,String,String)): New method.
(pushURI(String)): New method.
(popURI()): New method.
(getBaseURI()): New method.
(getHierarchicalLevel()): New method.
(logAttributes(org.xml.sax.Attributes)): New method.
41 lines of code changed in:
2005-04-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
* src/nongnu/cashews/rdf/Literal.java:
(Literal(String,Type)): New constructor.
* src/nongnu/cashews/rdf/Type.java:
Extends the Cloneable interface.
* src/nongnu/cashews/rdf/TypeFactory.java:
New class.
(typeClasses): New field mapping URIs to type classes.
(static): Static initializer for the map.
(TypeFactory): New constructor.
(getInstance(String)): New method.
* src/nongnu/cashews/rdf/UnknownType.java:
New class.
(uri): New field.
(UnknownType(String)): New constructor.
(toString()): New method.
(clone()): New method.
(getValue(String)): New method.
* src/nongnu/cashews/rdf/XMLParser.java:
(RDFHandler.type): New field.
(RDFHandler(java.util.logging.Handler)): Initialise new field.
(startElement(String,String,String,org.xml.sax.Attributes)):
Capture use of rdf:datatype.
(characters(char[],int,int)): Create typed literals.
(endElement(String,String,String)): Clear new field on predicate end.
233 lines of code changed in:
2005-04-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
* src/nongnu/cashews/rdf/RDFURI.java:
Documentation correction.
* src/nongnu/cashews/rdf/XMLParser.java:
(startDocument(String,String,String,org.xml.sax.Attributes)):
Added handling of blank nodes for the subject and object.
* src/nongnu/cashews/rdf/Blank.java:
New class.
(id): New field.
(Blank(String)): New constructor.
(toString()): New method.
(clone()): New method.
(setIdentifier(String)): New method.
131 lines of code changed in:
2005-04-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
* src/nongnu/cashews/rdf/Graph.java:
(Graph()): New constructor.
(getGraph()): Returns a clone.
(addTriple(Triple)): New method.
(toString()): New method.
* src/nongnu/cashews/rdf/Literal.java:
(clone()): New method.
(setType(Type)): New method.
* src/nongnu/cashews/rdf/Predicate.java:
(clone()): New method.
* src/nongnu/cashews/rdf/RDFObject.java:
(clone()): New method.
* src/nongnu/cashews/rdf/RDFURI.java:
(RDFURI(java.net.URI)): Call setURI.
(setURI(java.net.URI)): New method.
(clone()): New method.
* src/nongnu/cashews/rdf/Subject.java:
(clone()): New method.
* src/nongnu/cashews/rdf/Triple.java:
(clone()): New method.
(setSubject(Subject)): New method.
(setPredicate(Predicate)): New method.
(setObject(Object)): New method.
(equals(Object)): New method.
(hashCode()): New method.
(getSubject()): New method.
(getPredicate()): New method.
(getObject()): New method.
* src/nongnu/cashews/rdf/Type.java:
(clone()): New method.
* src/nongnu/cashews/rdf/XMLParser.java:
(graph): New field.
(parse(String)): Return a graph.
(parse(java.io.InputSource)): Likewise.
(parse(java.io.File)): Likewise.
(main(String[])): Print out result.
(startElement(String,String,String,org.xml.sax.Attributes)):
Added RDF URI object handling.
(endElement(String,String,String)): Moved triple creation to
post-predicate rather than post-subject.
281 lines of code changed in:
2005-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
* src/nongnu/cashews/rdf/Literal.java:
(Literal(String)): New constructor.
(toString()): New method.
* src/nongnu/cashews/rdf/RDFURI.java:
(RDFURI(java.net.URI)): New constructor.
(toString()): New method.
(getURI()): New method.
* src/nongnu/cashews/rdf/Triple.java:
(Triple(Subject,Predicate,RDFObject)): New constructor.
(toString()): New method.
* src/nongnu/cashews/rdf/XMLParser.java:
(RDF_NAMESPACE): New constant.
(reader): New field.
(XMLParser(java.util.logging.Handler)): New constructor.
(parse(String)): New method.
(parse(java.io.InputSource)): New method.
(parse(java.io.File)): New method.
(main(String[])): New method.
(RDFHandler): New inner class.
(RDFHandler.logger): New field.
(RDFHandler.inRDF): New field.
(RDFHandler.inSubject): New field.
(RDFHandler.inPredicate): New field.
(RDFHandler.object): New field.
(RDFHandler.predicateURI): New field.
(RDFHandler.RDFHandler(java.util.logging.Handler)): New constructor.
(startDocument()): New method.
(startElement(String,String,String,org.xml.sax.Attributes)):
New method.
(parseRDFURI(String)): New method.
(characters(char[],int,int)): New method.
(endElement(String,String,String)): New method.
433 lines of code changed in:
2005-03-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
* lib/.cvsignore:
Add owls.jar to ignore list.
* src/nongnu/cashews/eclipse/composer/MyEllipseEditorPlugin.java:
Expanded incorrect * imports.
* src/nongnu/cashews/eclipse/composer/commands/DeleteNodeCommand.java:
(index): Removed as never read.
(execute()): Unneeded this qualification removed.
(undo()): Likewise.
(redo()): Likewise.
* src/nongnu/cashews/eclipse/composer/model/Diagram.java:
(NODES): Made final.
* src/nongnu/cashews/eclipse/composer/model/EllipseNode.java:
(descriptors): Made package-private and final.
(getPropertyDescriptors()): Removed as redundant.
* src/nongnu/cashews/eclipse/composer/model/Node.java:
(descriptors): Made package-private and final.
(getPropertyDescriptors()): Returns a clone.
* src/nongnu/cashews/eclipse/composer/model/RectangleNode.java:
(descriptors): Made package-private and final.
(getPropertyDescriptors()): Removed as redundant.
* src/nongnu/cashews/eclipse/composer/parts/EllipseNodePart.java:
Removed duplicate content already present in superclass.
* src/nongnu/cashews/eclipse/composer/parts/RectangleNodePart.java:
Likewise.
* src/nongnu/cashews/eclipse/composer/tools/EllipseNodeDirectEditManager.java:
Expanded incorrect * imports.
* src/nongnu/cashews/eclipse/composer/tools/RectangleNodeDirectEditManager.java:
Expanded incorrect * imports.
* src/nongnu/cashews/rdf/Graph.java: Serial UID added.
* src/nongnu/cashews/rdf/Triple.java: Likewise.
10 lines of code changed in:
2005-03-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
* doc/api/Makefile.am:
Added removal of HTML files on distclean, and fixed
build.
* src/nongnu/cashews/owls/process/Binding.java: Implemented.
* src/nongnu/cashews/owls/process/InputBinding.java: Likewise.
* src/nongnu/cashews/owls/process/OutputBinding.java: Likewise
* src/nongnu/cashews/owls/process/Result.java:
Added output bindings.
* src/nongnu/cashews/owls/process/ValueData.java: Implemented.
* src/nongnu/cashews/owls/process/ValueDescriptor.java: Implemented.
* src/nongnu/cashews/owls/process/ValueForm.java: Implemented.
* src/nongnu/cashews/owls/process/ValueFunction.java: Implemented.
* src/nongnu/cashews/owls/process/ValueOf.java: Implemented.
* src/nongnu/cashews/owls/process/ValueSource.java: Implemented.
* src/nongnu/cashews/owls/process/ValueSpecifier.java: Implemented.
* src/nongnu/cashews/rdf/Triple.java: Fixed documentation typo.
1 lines of code changed in:
2005-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
* acinclude.m4:
Changed GCC version required to 4.0 (which still won't be enough...)
* doc/api/Makefile.am:
Make documentation compile.
* lib/Makefile.am:
Require GCJ for native compilation.
* src/nongnu/cashews/owls/expression/Condition.java:
Extended documentation.
* src/nongnu/cashews/owls/expression/DRSCondition.java,
* src/nongnu/cashews/owls/expression/DRSExpression.java,
* src/nongnu/cashews/owls/expression/KIFCondition.java,
* src/nongnu/cashews/owls/expression/KIFExpression.java,
* src/nongnu/cashews/owls/expression/SWRLCondition.java:
Implemented.
* src/nongnu/cashews/rdf/Graph.java: Added parametric typing.
2 lines of code changed in:
2005-03-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
* src/nongnu/cashews/eclipse/composer/actions/DiagramActionBarContributor.java:
Formatting fixes.
* src/nongnu/cashews/owls/expression/Condition.java: Likewise.
* src/nongnu/cashews/owls/expression/Expression.java: Likewise.
* src/nongnu/cashews/owls/expression/LogicLanguage.java: Likewise.
* src/nongnu/cashews/owls/expression/SWRLExpression.java: Likewise.
* src/nongnu/cashews/owls/process/Input.java: Likewise.
* src/nongnu/cashews/owls/process/Local.java: Likewise.
* src/nongnu/cashews/owls/process/Output.java: Likewise.
* src/nongnu/cashews/owls/process/Parameter.java: Likewise.
* src/nongnu/cashews/owls/process/Result.java: Likewise.
* src/nongnu/cashews/owls/process/ResultVar.java: Likewise.
* src/nongnu/cashews/rdf/Graph.java: Likewise.
* src/nongnu/cashews/rdf/Literal.java: Likewise.
* src/nongnu/cashews/rdf/Node.java: Likewise.
* src/nongnu/cashews/rdf/Predicate.java: Likewise.
* src/nongnu/cashews/rdf/RDFObject.java: Likewise.
* src/nongnu/cashews/rdf/RDFURI.java: Likewise.
* src/nongnu/cashews/rdf/Subject.java: Likewise.
* src/nongnu/cashews/rdf/Triple.java: Likewise.
* src/nongnu/cashews/rdf/Type.java: Likewise.
* src/nongnu/cashews/rdf/XMLLiteral.java: Likewise.
* src/nongnu/cashews/rdf/XMLParser.java: Likewise.
35 lines of code changed in:
Applying to standard formatting to all the files on CVS (no code changed)
256 lines of code changed in:
2005-03-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
* src/nongnu/cashews/rdf/XMLLiteral.java:
Initial implementation.
31 lines of code changed in:
2005-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
* AUTHORS:
Added e-mail addresses for Ravish and Xian.
* src/nongnu/cashews/rdf/Graph.java:
Added implementation of hashCode() to complement
equals().
* scripts/eclipse-gnu.xml:
GNU Coding Style for Eclipse (leeched from
GNU Classpath generics branch)
11 lines of code changed in:
2005-02-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
* acinclude.m4:
(CASHEWS_WITH_ECLIPSE): New function to handle
--with-eclipse.
* configure.ac: Added inclusion of above macro.
* lib/gen-classpath.sh.in: Filter out paths
containing 'eclipse' if --with-eclipse is not
specified.
* src/nongnu/cashews/eclipse/bin/nongnu/cashews/
eclipse/servicecomposer/ServiceComposer.class:
Removed.
* src/nongnu/cashews/eclipse/bin/nongnu/cashews/
eclipse/servicecomposer/ServiceComposerPlugin.class:
Likewise.
* src/nongnu/cashews/rdf/Literal.java:
Added better description, and lexical, language
and type variables.
* src/nongnu/cashews/rdf/Type.java:
New interface to represent an RDF type.
77 lines of code changed in:
2005-02-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
* src/nongnu/cashews/rdf/Graph.java:
(equals(Object)): Implemented to compare graphs.
(getGraph()): Implemented.
* src/nongnu/cashews/rdf/Literal.java: New class.
* src/nongnu/cashews/rdf/RDFURI.java: Likewise.
112 lines of code changed in:
2005-02-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* acinclude.m4, lib/Makefile.am:
Added support for building with ecj.
* src/nongnu/cashews/rdf/Graph.java:
Replaced Object with RDFObject.
* src/nongnu/cashews/rdr/Node.java,
src/nongnu/cashews/rdf/Predicate.java,
src/nongnu/cashews/rdf/RDFObject.java,
src/nongnu/cashews/rdf/Subject.java,
src/nongnu/cashews/rdf/Triple.java:
New element representation classes.
232 lines of code changed in:
2005-01-31 Andrew John Hughes <gnu_andrew@member.fsf.org>
* .cvsignore, AUTHORS, BUGS, COPYING,
COPYING.plugin, ChangeLog, HACKING, LICENSE,
Makefile.am, NEWS, README, THANKYOU, TODO,
acinclude.m4, autogen.sh, configure.ac,
doc/Makefile.am, doc/api/Makefile.am,
doc/api/.cvsignore, doc/.cvsignore, lib/Makefile.am,
lib/gen-classlist.sh.in, lib/standard.omit,
resource/.cvsignore, resource/Makefile.am,
scripts/.cvsignore, scripts/Makefile.am,
examples/Makefile.am, examples/.cvsignore:
Addition of build system and project
paraphernalia.
* src/HaskellEditorFrame.jave,
src/RavishHelloWorld.java,
src/RogerHelloWorld.java:
Test files removed.
* src/nongnu/cashews/rdf/Graph.java:
Initial representation of an RDF graph.
* src/nongnu/cashews/rdf/XMLParser.java:
Start of a RDF parser (empty so far).
92 lines of code changed in:
Generated by StatCVS @VERSION@