summaryrefslogtreecommitdiffstats
path: root/org/madore/damlengine/DamlEngine.java
Commit message (Collapse)AuthorAgeFilesLines
* Commit a self-note (forgotten to commit earlier).David A. Madore2014-11-071-0/+4
|
* Add a "dynamic context" global state, and make WeblogSummary stale when too old.David A. Madore2014-10-091-5/+19
|
* Introduce at least a semblance of thread-safety.David A. Madore2014-10-051-1/+4
|
* Start writing a servlet version. NOT USABLE YET.David A. Madore2014-10-031-0/+1
|
* Essentially cosmetic changes.David A. Madore2014-10-031-3/+2
|
* Use the Java7 java.nio.file interfaces, make output atomic.David A. Madore2014-10-031-84/+108
|
* Remove all templates from damlengine; introduce config variables instead.David A. Madore2014-10-031-2/+42
| | | | | Location of template files should now be specified by the DAMLENGINE_TEMPLATE_PATH environment variable.
* Allow selecting a single entry.David A. Madore2011-11-121-0/+10
|
* Try to produce HTML5/XHTML5 (polyglot) output.David A. Madore2011-09-071-1/+1
|
* Eliminate use of DocumentBuilder (use DOM LS everywhere) + use validation to ↵David A. Madore2011-09-041-21/+49
| | | | | | | | | catch undefined entities. There seems to be no way to catch the undefined entity error (when it is considered a validation error, e.g., when the document has an external subset) other than by turning on validation. So we register an error handler to throw away useless validation errors.
* Add an "echo" command for synchronization. Close output files.David A. Madore2011-09-021-0/+20
|
* Print commands as they are processed.David A. Madore2011-08-311-1/+2
|
* Wrap it all in a single command handler.David A. Madore2011-08-311-6/+64
|
* RSS feed generator.David A. Madore2011-08-311-0/+4
|
* Use resources for template streams.David A. Madore2011-08-311-5/+7
|
* Avoid pollution by redundant xmlns attributes.David A. Madore2011-08-281-0/+1
|
* (Preliminary) handling of weblog entry selection and summary.David A. Madore2011-08-281-6/+18
|
* Quiet gcj warnings.David A. Madore2011-08-281-1/+1
|
* Prepare for weblog selection (and mess everything up).David A. Madore2011-08-281-10/+29
|
* Preliminary code to populate a PostgreSQL database with weblog entries.David A. Madore2011-08-281-1/+27
|
* Quiet gcj warnings.David A. Madore2011-08-261-1/+1
|
* Irrelevant changes to avoid some warnings by gcj.David A. Madore2011-04-271-1/+1
|
* Allow doctype overriding in unparser.David A. Madore2010-10-101-1/+2
|
* Various "stylistic" improvements suggested by Joshua Bloch's book.David A. Madore2010-04-221-1/+3
| | | | | | Use @Override annotation. Limit accessibility of fields. Make final what can be. Use complex enums. Don't ignore exceptions. Some more changes on exceptions thrown.
* Rather than an ad hoc "Options" class, use caller todo directly.David A. Madore2010-04-191-5/+11
|
* Force encoding on unparsing.David A. Madore2010-04-181-1/+2
|
* Rename TodoContext class to Context. Usually call "ctx" its instances.David A. Madore2010-04-181-2/+2
|
* Preliminary handler for <daml> element.David A. Madore2010-04-181-0/+1
|
* Helper class for xml:lang handling.David A. Madore2010-04-181-0/+1
|
* Use ad hoc classes rather than hashes for context and options.David A. Madore2010-04-171-12/+11
|
* Change dispatching approach: handlers are now part of todoItems.David A. Madore2010-04-151-3/+3
| | | | | | | Instead of dispatching the todo item in function of the DAML node's local name at todo-handling time, the appropriate todo handler subclass is now instantiated in the todo deque by dispatching the creation of the todo item to the appropriate constructor.
* Instantiate TodoDeque rather than using static variables.David A. Madore2010-04-151-2/+3
| | | | Unfortunately, processing is now rather significantly slower.
* Handle d:xempty attribute, as proof of concept.David A. Madore2010-04-131-1/+1
|
* Framework for handling attributes.David A. Madore2010-04-131-3/+3
|
* Create a todo deque class, and use it.David A. Madore2010-04-131-6/+4
|
* Start writing a todo item handling framework.David A. Madore2010-04-131-0/+3
|
* Start writing code for a todo stack.David A. Madore2010-04-121-0/+8
|
* Purge unnecessary import.David A. Madore2010-04-121-1/+1
|
* Write a semi-decent unparser(=serializer).David A. Madore2010-04-121-0/+1
| | | | Still a bit rough at the edges, but this basically does what I want.
* Move ad hoc serializer to an "Unparser" class (ugly and unfinished).David A. Madore2010-04-121-47/+4
|
* Implement a toy serializer of my own (just the structure).David A. Madore2010-04-111-15/+48
| | | | This should go into a separate class, of course.
* Another attempt at output formatting, this time with serializers. Still sucks.David A. Madore2010-04-111-13/+8
|
* Alternate version using javax interfaces rather than the W3C DOM Load&Save.David A. Madore2010-04-111-19/+25
| | | | | | I was rather hoping this would pretty-print XHTML as required (e.g., put a space before the final slash on empty tags), but alas, such is not the case.
* Start a Java version of a daml engine. So far, just the identity transform.David A. Madore2010-04-111-0/+53
Even for something so completely trivial, this was a pain to write, because some stupid XML catalog was distributed with a DOCTYPE referencing a broken URL which could not be replaced by a local file because the catalog engine was bootstrapping; nor did Xerces provide a way, in org.apache.xerces.util.XMLCatalogResolver, to provide a bootstrap resolver: so I had to partially rewrite XMLCatalogResolver.