Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: dna-0.3
Commits on Nov 17, 2008
  1. @rhauch

    Corrected section 2.2 of the Getting Started guide

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/tags/dna-0.3@637 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Nov 13, 2008
  1. @rhauch
  2. @rhauch

    Cleaned up pom.xml changes from previous steps.

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/tags/dna-0.3@632 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @rhauch

    Added option to the pom.xml that controls the profiles and goals duri…

    rhauch authored
    …ng the 'release:perform' step.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/tags/dna-0.3@631 76366958-4244-0410-ad5e-bbfabb93f86b
  4. @rhauch

    Added option to the pom.xml that controls the profiles and goals duri…

    rhauch authored
    …ng the 'release:perform' step.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/tags/dna-0.3@630 76366958-4244-0410-ad5e-bbfabb93f86b
  5. @rhauch

    [maven-release-plugin] copy for tag dna-0.3

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/tags/dna-0.3@628 76366958-4244-0410-ad5e-bbfabb93f86b
  6. @rhauch
  7. @rhauch

    DNA-251 Upgrade JBoss Cache to 2.2.1GA

    rhauch authored
    https://jira.jboss.org/jira/browse/DNA-251
    
    Changed to use JBoss Cache 2.2.1.GA in the JBoss Cache connector
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@625 76366958-4244-0410-ad5e-bbfabb93f86b
  8. @rhauch

    Minor corrections to the documentation

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@624 76366958-4244-0410-ad5e-bbfabb93f86b
  9. @rhauch

    DNA-249 - Document how to create a custom connector

    rhauch authored
    http://jira.jboss.com/jira/browse/DNA-249
    
    Added two new sections to the Reference Guide chapter on repositories: a new section on writing custom connectors and a new section on the new graph API.  Also changed some of the images, and edited the rest of the repositories chapter.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@623 76366958-4244-0410-ad5e-bbfabb93f86b
  10. @rhauch

    Changed RepositorySourceCapabilities from an interface to a concrete …

    rhauch authored
    …class, allowing connector to use (or extend) the capabilities so that future additions to this class are automatically inherited by connectors. Also changed all connector implementations and test classes.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@622 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Nov 12, 2008
  1. @rhauch

    Added a new Request that retrieves a block of children starting immed…

    rhauch authored
    …iately after a child that was found from a previous request.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@621 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @rhauch

    DNA-231 - org.jboss.dna.graph.xml.XmlSequencerTest failed with jdk 1.…

    rhauch authored
    …6 (not with jdk 1.5)
    
    
    http://jira.jboss.com/jira/browse/DNA-231
    
    Apparently the SAX parser in Java 1.6.0_07 (build 1.6.0_07-b06-153) on OS-X 10.5.5 does not call the handler methods in the proper order for entity references.  For example, in 1.5 (and in 1.6 on Fedora), this will result in calls to 'startEntity(...)', 'characters(...)', and 'endEntity(...)'. Java 1.6.0_07 on OS-X results in 'startEntity(...)', 'endEntity(...)', and , 'characters(...)' where the 'characters' method is called with character content representing the replaced entity reference PLUS the next characters that would normally be supplied in the subsequent call to 'characters'.
    
    This was addressed by changing how the flag used by these methods to record which entity reference is being processed, and by recording the replacement value when the entity declaration is processed (so that we can separate the entity replacement value from the 'extra' characters).  
    
    New test cases were added to properly verify this behavior, and to ensure that the changes work correctly.  Tests were run in both Java 1.5 and 1.6 on both OS-X and on Fedora.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@620 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @rhauch

    DNA-223 - XML sequencer does not properly handle namespaces of unqual…

    rhauch authored
    …ified attributes
    
    
    http://jira.jboss.com/jira/browse/DNA-223
    
    It is not really possible to correctly handle unqualified attributes in a general manner if we consider the XML Schema specification.  This is because an XML schema by default will require that unqualified attributes inherit the element's namespace, and because within any single XML schema it is possible to define one element that requires unqualified attributes inherit the element's namespace while other element definitions require that unqualified attributes use the default namespace.  In other words, a general-purpose sequencer cannot always do the "correct" thing without thoroughly understanding the XML Schema(s) used by an XML document.
    
    Therefore, this has been addressed by changing the XML sequencer to be configurable as to the desired behavior.  Note that this behavior is fixed for a particular document, and still won't properly handle an XML document that uses a schema with a mixture of qualified and unqualified attribute forms.  The default is to use the default namespace (at that position in the document), which is really the default for XML documents.  To make it easy to specify a sequencer by classname that inherits the element's namespace for unqualified attributes, there is also a new InheritingXmlSequencer, which extends XmlSequencer and simply overrides the default setting.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@619 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Nov 10, 2008
  1. @rhauch

    DNA-217 - Connector SPI should have protocol for cancelling operations

    rhauch authored
    http://jira.jboss.com/jira/browse/DNA-217
    
    Added to Request a method isCancelled():boolean to check whether the request was cancelled, and another method "cancel():void" to mark a request as cancelled.  Also added to the CompositeRequest the ability to mark the composite (or any contained request) as cancelled, but to have all other requests (including the composite) be also cancelled.  This is done through a single AtomicBoolean instance shared amongst the composite and contained requests.
    
    Also added tests to verify the desired behavior.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@618 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @rhauch

    DNA-248 - Simplify the ActivityMonitor framework

    rhauch authored
    http://jira.jboss.com/jira/browse/DNA-248
    
    Despite building the simplified Task framework (see attached patch file), and after several days of thinking about it and a long discussion with John, it seems like this ProgressMonitor/ActivityMonitor/Task framework is just overkill for what we need.  And it about 1900 LOC overkill.  (Really, it started small and grew as we tried to generalize.  Mostly it was me that was driving it.)
    
    Turns out that only the sequencing used this framework, and its arguable whether there's any benefit to monitoring the progress and/or tasks for a singular sequencing activity.  The connector framework doesn't really need the overhead either, especially when individual requests are so tiny and so many.  So there really isn't a lot of similarity between the two data points (sequencers and connectors).  Rather than try to force something to fit (really the purpose of this JIRA issue), it seems prudent to recognize that we don't really have a well-defined need with well-understood requirements, and that the best thing to do is to simply remove the ProgressMonitor/ActivityMonitor framework.
    
    In doing so, the sequencers became a little simpler.  The XML sequencer became a fair amount simpler.  The code base became quite a bit smaller (>2400 LOC smaller).  And we really didn't lose any functionality.  (Sure, we kind of lost cancellation of sequencers, but that's probably not really true, either - it's quite possible that the only way to REALLY cancel a sequencer that's been stuck reading from a stream is to interrupt the thread, and the cancellation status wouldn't do that anyway.)
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@617 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Nov 5, 2008
  1. @rhauch

    DNA-247 - Remove DateUtil class and StringUtil.readableString(...) me…

    rhauch authored
    …thods
    
    
    http://jira.jboss.com/jira/browse/DNA-247
    
    Removed the DateUtil class, since it provided a subset of the functionality that is already available in Joda Time, which is being used by 'dna-graph'.  Also deleted the StringUtil.readableString(...) methods, replacing them with calls to List.toString(), Set.toString(), Property.toString(), and Map.toString().  Since the toString() method on arrays is crappy, used "Arrays.asList(array).toString()".
    
    Ensured that Property.toString() returns a readable string, and that the Value classes all have readable toString() methods.  Most were find, but the InMemoryBinary value class had a poor toString() method, so this was changed to output the Base64 encoding of the binary content.  To do this, I added a Base64 utility class based on Federate's class (which was simplified from the public domain class at http://iharder.sourceforge.net/current/java/base64/).
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@616 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Nov 4, 2008
  1. @rhauch

    Updated JBoss DNA presentation zip file

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@615 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @rhauch

    Updated JBoss DNA presentation zip file

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@614 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @rhauch

    Updated JBoss DNA presentation zip file

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@613 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Nov 3, 2008
  1. @rhauch

    Updated JBoss DNA presentation zip file

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@612 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Oct 31, 2008
  1. DNA-244: Changed ActivityMonitor to now support capturing of informat…

    JPAV authored
    …ion, including markers, errors, and warnings, that can be later retrieved via the ActivityStatus.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@611 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @rhauch

    Changed to not add keynote folders

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@610 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @rhauch

    Changed to store the presentation via ZIP file.

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@609 76366958-4244-0410-ad5e-bbfabb93f86b
  4. @rhauch

    Changed to store the presentation via ZIP file.

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@608 76366958-4244-0410-ad5e-bbfabb93f86b
  5. @rhauch

    Attempt to fix the presentations folder

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@607 76366958-4244-0410-ad5e-bbfabb93f86b
  6. @rhauch

    Attempt to fix the presentations folder

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@606 76366958-4244-0410-ad5e-bbfabb93f86b
  7. @rhauch

    Added incomplete draft of a presentation of JCR and DNA

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@605 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Oct 30, 2008
  1. @rhauch

    Changed the location of the BasicExecutionContext and BasicExecutionC…

    rhauch authored
    …ontextFactory implementations. (Not sure why they were under the "connectors" package, so they're now under "org.jboss.dna.graph".)
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@604 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @rhauch

    DNA-242 - Change the XML importer code to no longer use XmlSequencer

    rhauch authored
    http://jira.jboss.com/jira/browse/DNA-242
    
    Enhanced the XmlHandler to provide a local NamespaceRegistry that mirrors the XML namespaces in the document, and various factories in the XmlHandler that use this local namespace registry.  The benefit is that XmlHandler (and subclasses) can simply just use the factories to process any names that use the XML namespace prefixes.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@603 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @rhauch

    Minor change.

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@602 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Oct 29, 2008
  1. Changed ExcecutionContext to provide ability to create a new activity…

    JPAV authored
    … monitor and updated related classes
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@601 76366958-4244-0410-ad5e-bbfabb93f86b
  2. Undid DNA-186 in lieu of better solution to come involving execution …

    JPAV authored
    …context progress monitor, and renamed ProgressMonitor and ProgressStatus to ActivityMonitor and ActivityStatus, respectively, since the monitor is about more than just progress (such as collecting problems that occur during an activity)
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@600 76366958-4244-0410-ad5e-bbfabb93f86b
  3. Undid DNA-186 in lieu of better solution to come involving execution …

    JPAV authored
    …context progress monitor, and renamed ProgressMonitor and ProgressStatus to ActivityMonitor and ActivityStatus, respectively, since the monitor is about more than just progress (such as collecting problems that occur during an activity)
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@599 76366958-4244-0410-ad5e-bbfabb93f86b
  4. @rhauch

    DNA-243 - Change (and move) XML Sequencer to use more general-purpose…

    rhauch authored
    … XML importer
    
    
    http://jira.jboss.com/jira/browse/DNA-243
    
    Moved the XmlSequencer into a separate extension project.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@598 76366958-4244-0410-ad5e-bbfabb93f86b
Something went wrong with that request. Please try again.