Permalink
Switch branches/tags
modeshape-5.4.1.Final modeshape-5.4.0.Final modeshape-5.3.0.Final modeshape-5.2.0.Final modeshape-5.1.0.Final modeshape-5.0.0.Final modeshape-4.6.2.Final modeshape-4.6.1.Final modeshape-4.6.0.Final modeshape-4.5.0.Final modeshape-4.4.0.Final modeshape-4.3.0.Final modeshape-4.2.0.Final modeshape-4.1.0.Final modeshape-4.0.0.Final modeshape-4.0.0.Beta2 modeshape-4.0.0.Beta1 modeshape-4.0.0.Alpha4 modeshape-4.0.0.Alpha3 modeshape-4.0.0.Alpha2 modeshape-4.0.0.Alpha1 modeshape-3.8.1.Final modeshape-3.8.0.Final modeshape-3.7.4.Final modeshape-3.7.3.Final modeshape-3.7.2.Final modeshape-3.7.1.Final modeshape-3.7.0.Final modeshape-3.6.1.Final modeshape-3.6.0.Final modeshape-3.5.0.Final modeshape-3.4.0.Final modeshape-3.3.0.Final modeshape-3.2.0.Final modeshape-3.1.3.Final modeshape-3.1.2.Final modeshape-3.1.1.Final modeshape-3.1.0.Final modeshape-3.0.1.Final modeshape-3.0.0.Final modeshape-3.0.0.CR3 modeshape-3.0.0.CR2 modeshape-3.0.0.CR1 modeshape-3.0.0.Beta4 modeshape-3.0.0.Beta3 modeshape-3.0.0.Beta2 modeshape-3.0.0.Beta1 modeshape-3.0.0.Alpha6 modeshape-3.0.0.Alpha5 modeshape-3.0.0.Alpha4 modeshape-3.0.0.Alpha3 modeshape-3.0.0.Alpha2 modeshape-3.0.0.Alpha1 modeshape-2.8.3.Final modeshape-2.8.2.Final modeshape-2.8.1.GA modeshape-2.8.1.Final modeshape-2.8.0.Final modeshape-2.7.0.Final modeshape-2.6.0.Final modeshape-2.6.0.Beta2 modeshape-2.6.0.Beta1 modeshape-2.5.0.Final modeshape-2.5.0.Beta2 modeshape-2.5.0.Beta1 modeshape-2.4.0.Final modeshape-2.3.0.Final modeshape-2.2.0.Final modeshape-2.1.0.Final modeshape-2.0.0.Final modeshape-1.2.0.Final modeshape-1.1.0.Final modeshape-1.0.0.Final modeshape-1.0.0.Beta1 dna-0.7 dna-0.6 dna-0.5 dna-0.4 dna-0.3 dna-0.2 dna-0.1 EDS_5.3.1_2_2014 3.8.x-prod-ip6.1-ER1
Nothing to show
Commits on Feb 27, 2012
Commits on Feb 24, 2012
  1. MODE-1252 Added repository name constant in RepositoryFactory

    rhauch committed Feb 24, 2012
    Moved the URL an REPOSITORY_NAME constants from the JcrRepositoryFactory implementation
    class into the existing org.modeshape.jcr.api.RepositoryFactory interface. These
    constants can be used when programmatically defining the parameters to pass to the
    RepositoryFactory.getRepository(Map) method.
    
    Also added more JavaDoc, and deprecated the constants in the JcrRepositoryFactory class.
    
    All unit and integration tests pass with these changes.
  2. MODE-1403 Added separate profile for testing with Infinispan 4 and 5 …

    Horia Chiorean
    Horia Chiorean committed Feb 24, 2012
    …connectors
    
    ISPN 5 uses a newer version of jboss-logging, therefore when this connector is used, some transitive dependencies need to be disabled
  3. MODE-1235 Extended a try/finally scope to make sure the composite req…

    Horia Chiorean
    Horia Chiorean committed Feb 23, 2012
    …uest is always frozen
  4. MODE-1235 Fixed missing exception handling which could cause indefini…

    Horia Chiorean
    Horia Chiorean committed Feb 23, 2012
    …te hangs when repository starts up.
    
    Also, added a test case which reproduces the steps in MODE-1235
Commits on Feb 23, 2012
  1. Fixed OSGI dependency for JBossAS - make sure the same version is used

    Horia Chiorean
    Horia Chiorean committed Feb 23, 2012
    Without this, the Java Sequencer and the JBoss AS assembly would bring in 2 different versions, causing the Ant script from JBossAS to fail when unsigning the jar.
Commits on Feb 21, 2012
  1. MODE-1238 Fixed indexing for federated connectors

    Horia Chiorean
    Horia Chiorean committed Feb 21, 2012
    The fix allows changes to be recorded & dispatch always (not only when the source and target of the projection are the same)
Commits on Feb 18, 2012
  1. MODE-1298 Added test case for cloning binary content across workspace…

    Horia Chiorean authored and rhauch committed Feb 17, 2012
    …s in a disk store
Commits on Feb 17, 2012
  1. MODE-949 Added integration test for text sequencer, so that any repor…

    Horia Chiorean
    Horia Chiorean committed Feb 17, 2012
    …ted issues may be easily verified
Commits on Feb 16, 2012
  1. MODE-1307 Added Content-Type HTTP header to REST examples

    rhauch committed Feb 16, 2012
    The examples in the RESTful Service chapter did not show including the "Content-Type" HTTP
    header. The service will correctly return JSON if this header or "Content-Type" header is
    supplied in the request. However, an error will result if a different content-Type header
    is provided.
    
    This change only affects the Reference Guide.
Commits on Feb 14, 2012
  1. MODE-1401 Corrections to behaviors when nodes are checked in

    rhauch committed Feb 14, 2012
    Corrected several behaviors of what is allowed and not allowed for modifying nodes
    that are checked in, per Section 15.2.2 of the JCR specification. Several new unit
    tests were added that verify these behaviors. These new tests all failed prior to
    these fixes, but they all pass now. (Note this clearly shows the incomplete coverage
    of the TCK versioning tests.)
    
    All unit and integration tests pass with these changes.
  2. MODE-1400 Added error/warning checks when registering node types via …

    rhauch committed Feb 14, 2012
    …CND files
    
    Previously, the CND files were being read but any problems during the reading were not reported and were simply
    ignored. Some errors cause the reader to abort reading and to have successfully read in no node types, so
    registration appeared to do nothing while hiding the errors. With these changes, the errors and warnings
    are included in a thrown exception; if there are no errors and only warnings, the warnings are simply logged.
    
    All unit and integration tests pass.
  3. MODE-1279 Removed styling changes and moved NoMoreFederatedRequest in…

    Horia Chiorean authored and rhauch committed Feb 14, 2012
    …side finally construct
  4. MODE-1279 - Fixed repository blocking after performing a full-text se…

    Horia Chiorean authored and rhauch committed Feb 13, 2012
    …arch multiple times
    
    The fix was part of the #207 pull request, which basically removed explicit synchronization around the LuceneSearchProcessor and Engine.
    
    In addition:
    - the lucene version was updated from 3.1.0 to 3.4.0
    - the LuceneSearchSession was updated to avoid the possible loss of content when indexing the same content in the same workspace from multiple threads
  5. Merge branch 'MODE-1302' of https://github.com/hchiorean/modeshape in…

    rhauch committed Feb 14, 2012
    …to hchiorean-MODE-1302
  6. MODE-1398 Added new connector for Infinispan 5

    rhauch committed Feb 14, 2012
    Made additional changes/fixes to the Infinispan 4 and 5 connectors and tests.
  7. MODE-1302 Fixed session.refresh algorithm

    Horia Chiorean
    Horia Chiorean committed Feb 14, 2012
    Two issues fixed:
    - refresh phase 1 - determining which nodes should be left and which should be discarded
    - LinkedListMultimap clear method, which cause refresh phase 2 to incorrectly duplicate existing nodes under a parent, as SNS.
Commits on Feb 11, 2012
  1. MODE-1398 Added new connector for Infinispan 5

    rhauch committed Feb 11, 2012
    Added a new connector that uses Infinispan 5.x caches for storage. The existing
    Infinispan 4.x connector is still usable, and basically users would choose between
    the two. Note that Infinispan 5.1.1.Final is likely to be used by JBoss AS 7.1.0.Final.
    
    All unit and integration tests pass.
Commits on Feb 10, 2012
  1. Corrected compilation errors

    rhauch committed Feb 10, 2012
Commits on Jan 27, 2012
  1. MODE-1326 Fixed Oracle DDL exception when parsing CREATE UNIQUE INDEX…

    Horia Chiorean
    Horia Chiorean committed Jan 27, 2012
    … statements
    
     The fix was to implement minimal support for unique index in the Oracle parser and to make sure that only "legal" token are delegated to the standard parser.
Commits on Jan 26, 2012
  1. MODE-1377 Fixed webdav repository path parsing with trailing slash.

    Horia Chiorean
    Horia Chiorean committed Jan 26, 2012
    - changed request path parsing so that multiple empty '/' characters are collapsed into one.
    - updated pom.xml so that log4j dependency is runtime (this is not ideal, but until slf4j dependencies are changed, this should be there)
Commits on Jan 19, 2012
  1. MODE-1373 Fixed mismatch between ms office cnd and code

    Horia Chiorean
    Horia Chiorean committed Jan 19, 2012
  2. MODE-1373 Moved code which validates sequenced nodes to AbstractSeque…

    Horia Chiorean
    Horia Chiorean committed Jan 18, 2012
    …ncerTest
Commits on Jan 18, 2012
  1. MODE-1374 Corrected node type init errors in concurrent env

    rhauch committed Jan 18, 2012
    The JcrNodeDefinition is intended to be immutable and thread-safe, and although
    it is publicly immutable, internally it delays loading the references to the
    required primary types until needed. The 'ensureRequiredPrimaryTypesLoaded()' method
    is what lazily initializes the references, and this method is properly called in
    the right spots within JcrNodeDefinition. However, in a highly-concurrent environment
    a node type definition may be needed by multiple threads, and this can result
    in this method being called concurrently. Unfortunately this method is not thread-safe,
    and can cause a NullPointerException when used concurrently.
    
    The 'ensureRequiredPrimaryTypesLoaded()' method just iterates through the names of the
    required primary types (which were set in the constructor), and looks up the JcrNodeType
    instances for each primary type name. It then creates an immutable map to quickly find
    the JcrNodeType instances given the primary type name. Finally, it stores the map
    and the names, and when the array of JcrNodeType instances and map are available
    (non-null), it merely uses the values. But the creation of the JcrNodeType array and
    map keyed by name are not concurrent or atomic. In fact, a non-empty array is created
    (but not initialized, so it contains null references) and _immediately set_ on one of the
    JcrNodeDefinition fields, so when the method is called by other threads it is as if
    the JcrNodeType array is ready to be used. But the original thread hasn't yet set
    the JcrNodeType references in the array, so any other thread that uses the array
    gets a null reference instead, and using that causes the NullPointerException.
    
    The fix is relatively simple: ensure that the 'requiredPrimaryTypes' array of JcrNodeType
    and 'requiredPrimaryTypesByName' map are set in a synchronized way, ensuring they
    are only set to non-null with an array (or map) that are fully and correctly populated.
    This could be done by simply synchronizing the entire 'ensureRequiredPrimaryTypesLoaded()'
    method, but the method calls out to the RepositoryNodeTypeManager. And while the RNTM
    doesn't currently (directly or indirectly) result in a call to 'ensureRequiredPrimaryTypesLoaded()',
    it's possible it might in the future.  Therefore, we can simply create and fully-populate
    the array and map outside of the synchronization block, and only synchronize upon setting
    it (of course checking before we set it whether another thread snuck in and set it
    while we waited for the lock). So it is effectively the same as synchronizing the method
    (which the reporter says fixes the problem), but does it with smaller lock scope.
    
    With this change, all unit and integration tests pass.
Commits on Jan 17, 2012
  1. MODE-1370 Added additional observation tests

    rhauch committed Jan 17, 2012
    Added three unit tests that verified the ObservationManager.setUserData() is being
    set correctly. All tests pass, with no changes to the non-test code, proving the
    code is indeed working correctly.
Commits on Jan 13, 2012
  1. MODE-1367 Corrected copyright dates for 2012

    rhauch committed Jan 13, 2012
    Updated the two COPYRIGHT.txt files and also updated the two AUTHOR.txt files
    to reflect the contributors.
Commits on Jan 10, 2012
  1. MODE-1366 Error parsing JCR-SQL2 queries using square brackets for qu…

    rhauch committed Jan 10, 2012
    …oting
    
    The JCR-SQL2 grammar uses square brackets for quoting identifiers, node names
    and node paths. However, path literals may also have square brackets around
    the same-name-siblings. The JCR-SQL2 parser was not able to properly parse
    quoted paths with SNS indexes.
    
    The fix is to adjust the tokenizer to count the number of open and close
    square brackets, and to stop the quoted string token when the all of the opened
    square brackets were closed. Additional unit tests were added to verify the
    tokenizer and JCR-SQL2 parser behavior.
    
    All unit and integration tests pass with these changes.
  2. MODE-1362 Corrected integration tests

    rhauch committed Jan 10, 2012
    The JcrDriverIntegrationTest queries the output of the DDL sequencer, and so required
    changes to the expected results to mirror the updated output.
  3. MODE-1362 Fixed mismatch between cnds and actual produced nodes by th…

    Horia Chiorean
    Horia Chiorean committed Jan 10, 2012
    …e ddl sequencer
Commits on Jan 9, 2012
  1. MODE-1362 Cleaned-up ddl integration tests and added test method for …

    Horia Chiorean
    Horia Chiorean committed Jan 9, 2012
    …validating content
Commits on Jan 3, 2012
  1. MODE-1364 Corrected use of reference in join condition

    rhauch committed Jan 3, 2012
    The indexes were not storing the value of REFERENCE or WEAK REFERENCE properties, and thus
    null was returned in the tuples for these records. Consequently, the join could not be performed
    with null values.
    
    Added several test cases that replicated this problem and now verify the updated code
    exhibits the correct behavior.
Commits on Dec 22, 2011