Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: modeshape-1.2.…
Commits on May 20, 2010
  1. @rhauch
Commits on May 19, 2010
  1. @rhauch

    Changed version in Getting Started and Reference Guide.

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

    MODE-733 Added documentation on the JCR-SQL support, including docume…

    rhauch authored
    …nting the (extended) grammar. Technically, the JCR-SQL parser supports more than what was documented, but the documented grammar is based upon that specified in JCR 1.0.1 (with our extensions). Hopefully, users will choose to use JCR-SQL2 instead.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1836 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @rhauch

    Corrected the MapTransaction to prevent an assertion in certain situa…

    rhauch authored
    …tions. All unit and integration tests pass.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1835 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on May 18, 2010
  1. @rhauch

    MODE-733 Fixed a number of issues that were identified by the query-r…

    rhauch authored
    …elated JCR TCK unit tests, which are all passing at this point except for:
    
    - those tests that expect the '/jcr:system' node to be found by search/query (see MODE-760);
    - those tests using the 'text()' JCR-SQL function in criteria (not supported at this time; see MODE-759); and
    - those (few) tests that produce invalid join criteria in their test queries (e.g., 'SELECT * FROM nt:base, test:queryable WHERE test:queryable.jcr:path = mix:referenceable.jcr:path' in SQLJoinTest.testJoinNtBase)
    
    The repository content used in the tests needed to be modified quite a bit, primarily because several of the test cases would fail when running the entire suite, but would succeed when running just the query tests. I concluded that these tests were expecting data that was being messed up in the tearDown methods of prior tests, so the easiest way to fix this was to just use separate branches in the content for these tests.
    
    At this point, all of the included JCR TCK tests are running, and we only have 6 errors and 3 failures when running the complete TCK. Two of these failures are from outstanding observation issues, while the remainder are due to the three conditions outlined above.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1834 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @vhalbert

    MODE-681 - Committed fix to JcrResultSet regarding swallowing excepti…

    vhalbert authored
    …ons and changes to getObject to covert to JDBC types based on JcrType mappings.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1833 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @bcarothers-xx

    MODE-755 Convert File System Connector to new Connector Architecture

    bcarothers-xx authored
    Added support for an exclusion pattern in FileUtil.copy.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1832 76366958-4244-0410-ad5e-bbfabb93f86b
  4. @bcarothers-xx

    MODE-755 Convert File System Connector to new Connector Architecture

    bcarothers-xx authored
    Added the exclusion pattern to the correct test this time.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1831 76366958-4244-0410-ad5e-bbfabb93f86b
  5. @bcarothers-xx

    MODE-755 Convert File System Connector to new Connector Architecture

    bcarothers-xx authored
    Quick attempt at a workaround for the CI failure.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1830 76366958-4244-0410-ad5e-bbfabb93f86b
  6. @vhalbert

    MODE-681 - Committed JcrResultSet and related testcase changes. This …

    vhalbert authored
    …added support for getDates and refactoring so that currentvalue to support wasNull can be managed.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1829 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on May 17, 2010
  1. @bcarothers-xx

    MODE-755 Convert File System Connector to new Connector Architecture

    bcarothers-xx authored
    Applied patch that makes the new file build more defensive.  This should fix the problem in the CI test, although it already worked correctly for me on OS X.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1828 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @vhalbert

    MODE-681 - Committed JcrResultSet and related changes. This is the fi…

    vhalbert authored
    …rst of (probably several) checkins as the JcrResultSet functionality is being added. It also includes testcases to cover related functionality.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1827 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @bcarothers-xx

    MODE-756 Convert SVN Connector to new Connector Architecture

    bcarothers-xx authored
    Applied patch that converts the SVN connector to the new path-based repository architecture.  All of the old tests pass, as do a few new ones, including a test of all-or-nothing behavior.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1826 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on May 16, 2010
  1. @bcarothers-xx

    MODE-754 Convert JDBC Metadata Connector to new Connector Architecture

    bcarothers-xx authored
    Applied patch that converts the JDBC metadata connector over to the new path-based connector architecture.  The only change required to the connector architecture was an optimization in how nodes are accessed when the repository has no changes between the root and the node.  All tests (incl. integration tests) pass.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1825 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @bcarothers-xx

    MODE-755 Convert File System Connector to new Connector Architecture

    bcarothers-xx authored
    Applied patch that adds a new path-based connector architecture and then ported the file system connector over to the new architecture.  It would have been preferable in the abstract to split this into two patches, but it would have been hard to tell if the new connector architecture really worked without trying it with a "real" connector.
    
    The new path-based connector liberally plagiarizes code from the new map-based connector, including the concept of a connector-specific Transaction object that encapsulates all uncommitted changes from the session and commits all changes at once.  This also adds atomicity to transactions, at least to the extent possible in Java6 under normal circumstances.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1824 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on May 14, 2010
  1. @rhauch

    MODE-699 Upgraded Hibernate to 3.5.2-Final, which was just released y…

    rhauch authored
    …esterday and includes several fixes to the 3.5.0-Final version that was being used prior to this commit.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1823 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on May 13, 2010
  1. @rhauch

    MODE-714 Corrected constructor in JBoss Cache connector.

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1822 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on May 12, 2010
  1. @rhauch

    MODE-714 Changed the base connector classes a bit to make it easier t…

    rhauch authored
    …o subclass and use a different RequestProcessor. This resulted in a bit of minor refactoring to clean up constructor and method arguments.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1821 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on May 11, 2010
  1. @rhauch

    MODE-749 Changed the JBoss Cache connector over to use the new Map-ba…

    rhauch authored
    …sed connector. This required some minor modifications to the Map-based connector (since JBoss Cache doesn't expose a java.util.Map interface, and the Map-based connector was requiring one), but this was easy to fix. All unit tests and integration tests pass.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1820 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on May 10, 2010
  1. @rhauch

    Merge branch 'patches'

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

    MODE-729 Committed the change to use 1.5.11, after all unit and integ…

    rhauch authored
    …ration tests pass.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1818 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @rhauch

    MODE-744 Suppressed the deprecation warnings on the classes that have…

    rhauch authored
    … deprecated methods. This does not change the warnings on classes that _use_ the deprecated methods, but it does get rid of the warnings in these ModeShape classes.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1817 76366958-4244-0410-ad5e-bbfabb93f86b
  4. @rhauch

    MODE-752 Made the set of standard descriptor names immutable, and add…

    rhauch authored
    …ed more documentation to the other (existing) interfaces and packages.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1816 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on May 9, 2010
  1. @bcarothers-xx

    MODE-757 InMemoryRepositorySource Can't Create Predefined Workspace N…

    bcarothers-xx authored
    …ames
    
    Applied patch that creates and passes a non-null transaction into the repository.createWorkspace call in the predefined workspace initialization section.  Added a test case to verify this behavior as well.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1815 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @bcarothers-xx

    MODE-744 Complete Support for JCR2 Node Type Features

    bcarothers-xx authored
    Applied patch that implements almost all of the remainder of the JCR2 node type features.  Fixing MODE-752 enabled several tests that had previously been skipped that exposed more bugs.  At this point, the node type code is about as consistent as it can be with the JCR2 implementation.
    
    The remaining piece to implement is validation of names in the template setters.  Unfortunately, to make this truly compatible would require the signature of the templates to be modified to throw ConstraintViolationExceptions, and I am trying not to modify methods or classes in ways that would break previously working code.  A separate defect for this will be opened.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1814 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @bcarothers-xx

    MODE-752 Enhance Repository Descriptors

    bcarothers-xx authored
    Applied patch that adds JCR 2.0 descriptors (and enhanced descriptor access methods) to the JcrRepository class.  The patch adds a new modeshape-jcr-api class to hold the 30+ additional constants for the Repository that represent descriptor keys that don't exist in JCR 1.0.  All 1.0 tests still pass.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1813 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on May 8, 2010
  1. @bcarothers-xx

    MODE-711 Allow InfinispanConnector(s) to create configurable Infinisp…

    bcarothers-xx authored
    …an cachemanagers
    
    Applied patch that will try to initialize a DefaultCacheManager from the given configuration name if the cacheConfigurationName property is present.  The InfinispanSource will first try to treat the cacheConfigurationName property as a pointer to a resource that can be loaded by the classloader.  If this fails, the cacheConfigurationName will be assumed to be a path to a file.  The patch also adds tests to verify this behavior.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1812 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on May 7, 2010
  1. @rhauch

    MODE-714 Changed the version of the org.codehaus.cargo:cargo-maven2-p…

    rhauch authored
    …lugin from 1.0.1-SNAPSHOT to 1.0.1-alpha2 after build problems with a POM in the plugin (or one of its dependencies). The 'alpha-2' version is the latest at this time, and all integration and unit tests pass.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1811 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @rhauch

    MODE-714 Committed a new base connector for map-oriented repositories…

    rhauch authored
    …, and changed the InMemory and Infinispan connectors to make use of it. This new approach uses a transactional (i.e., 'all or nothing') technique to either commit all changes or to commit no changes if there are any errors in any of the requests. Plus, this approach uses a correct serialization technique, as none of the serialized nodes contain any information for a node other than its properties and list of UUIDs for its children.
    
    New unit tests were added to use Infinispan with file-based persistence. These tests failed when running against the original Infinispan connector, but pass with the new version of the Infinispan connector that uses corrected serialization.
    
    The JBoss Cache connector needs to be converted, as does the JPA Simple model. We also probably want to create a path-oriented base class and use it in the path-oriented connectors (e.g., FileSystem, SVN, etc.).
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1810 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @rhauch

    MODE-714 Completed the base connector and new map connector implement…

    rhauch authored
    …ations, and converted the InMemoryRepositorySource to use the new map connector implementation. All existing unit tests pass, including all of the TCK tests run against the IMR.
    
    At this point, the Infinispan and JBoss Cache connectors have not yet been converted.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1809 76366958-4244-0410-ad5e-bbfabb93f86b
  4. @rhauch
  5. @rhauch

    MODE-714 Create a first-cut at the Map-based version of this. Rather …

    rhauch authored
    …than replace the existing connectors, this prototype was added in a new package, allowing it to be developed and tested side-by-side with the existing connectors. This also means that individual connectors can be migrated one-by-one, and eventually the old map connector (and path connector) can be deprecated and/or removed. Indeed, a new In Memory Repository implementation was added and currently passes most of the same unit tests as the older IMR, and this new IMR will eventually replace the older implementation.
    
    Note that this new implementation is not currently as fast as the older Map connector, because any navigation or determination of paths must involve accessing the (parent or child) UUID from the MapNode followed by looking up the corresponding MapNode object first in the transaction's state or (if not found) in the workspace's map. The old connectors don't need to do this, since each MapNode has a direct reference to the parent and children (which is the cause of serialization difficulties). Additionally, the changes made within the transaction are pushed into the workspace's map only upon commit, so this is extra work the old connector is not performing.
    
    The new design, however, should allow the new IMR, Infinispan, and JBoss Cache connectors to all be extremely simple, since the only difference really is how the Map<UUID,MapNode> is obtained/created. (There may be other differences as well, but only if the new connectors take advantage of additional Infinispan and JBC features currently not used by the old connectors.)
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1807 76366958-4244-0410-ad5e-bbfabb93f86b
  6. @elvisisking
  7. @bcarothers-xx

    MODE-748 Documentation Errors for SVN Connector

    bcarothers-xx authored
    Applied patch that corrects two documentation errors (missing quotes in example code and bad link to SvnRepository Javadoc).  The patch also makes the SVN connector tolerate URLs that don't end in a slash.  All tests pass.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1805 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on May 5, 2010
  1. @rhauch

    MODE-746 Discovered that the section of code in the JcrRepository con…

    rhauch authored
    …structor that's initializing the anonymousUserContext field is actually using the options supplied as a parameter to the constructor, rather than the options field initialized (with the defaults) earlier in the constructor body. Changing this code to simply referenced the instance's options makes this functionality now work.
    
    One existing unit test assumed login() would never work, so this test was changed to disable anonymous authentication. A new test was added to ensure that login() worked with the default value for ANONYMOUS_USER_ROLES. Finally, the recently-added AnonymousAccessTest was changed to no longer explicitly set the ANONYMOUS_USER_ROLES option.
    
    All unit and integration tests pass (including the new ones verifying the desired behavior).
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1804 76366958-4244-0410-ad5e-bbfabb93f86b
Something went wrong with that request. Please try again.