Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
MODE-2615 Fixes the handling of multi-byte UTF-8 characters by the BSON reader

  1. … 1 more file in changeset.
MODE-2562 Fixes the parsing of backslash characters by the JsonReader

  1. … 10 more files in changeset.
MODE-2527 Renames the schematic package to org.modeshape and removes all ISPN related code.

    • -55
    • +0
    ./internal/SchematicExternalizer.java
    • -113
    • +0
    ./internal/delta/AddValueIfAbsentOperation.java
    • -121
    • +0
    ./internal/delta/ClearOperation.java
    • -136
    • +0
    ./internal/delta/PutIfAbsentOperation.java
    • -124
    • +0
    ./internal/delta/RemoveAtIndexOperation.java
    • -130
    • +0
    ./internal/delta/RemoveOperation.java
    • -125
    • +0
    ./internal/delta/RemoveValueOperation.java
  1. … 299 more files in changeset.
MODE-2528 Removes any ISPN specific SPI from the SchematicDB and LocalDocumentStore. Makes some changes to transactions processing, preparing for non ISPN storage.

    • -0
    • +41
    ./SchematicDbProvider.java
    • -0
    • +42
    ./TransactionListener.java
    • -142
    • +0
    ./internal/CacheSchematicDb.java
    • -191
    • +0
    ./internal/SchematicEntryLiteral.java
  1. … 36 more files in changeset.
MODE-2546 Implements locking at a repository level The repository in ModeShape 5 will be responsible to locking all changed nodes within a transaction and then making sure it unlocks them when the transaction completes. This is contrast to ModeShape 3 and 4 who relied on the ISPN to handle this aspect. This commit also removes all locking from ISPN in order to validate that the new approach work. One consequence of the new approach is that user-transactions crossing over multiple threads will not work anymore (see https://issues.jboss.org/browse/MODE-2495).

    • -31
    • +10
    ./internal/CacheSchematicDb.java
    • -10
    • +4
    ./internal/SchematicEntryLiteral.java
  1. … 41 more files in changeset.
MODE-2545 Removes XA support for JcrSession and refactors a bunch of transaction-related code

  1. … 27 more files in changeset.
MODE-2516 Updates JDK to 1.8 and jboss-parent to the latest version (19) This is the first significant commit of the 5.x series and contains a number of significant changes: - the naming of Maven version properties changed to adopt the standard pattern: 'version.<groupId>.<artifactId>' - build system and dependency updates so that the latest Maven plugin versions function correctly - updating source code to avoid compiler and javadoc warnings

  1. … 153 more files in changeset.
MODE-2484 Changed the code to be able to keep track of all the binary keys which are modified in any given session. This is required because binary reference documents are stored in IPSN and they need to be locked as well together with all the nodes, before saving the changes of a session. Also, made sure that whenever a document is edited via the #edit method and locking is requested, the potential LockTimeoutException is thrown.

  1. … 15 more files in changeset.
MODE-1460 Changed the code (as per ISPN-1987) to use a decorated cache which suppresses return values for the put & replace methods for which the ModeShape code doesn't care about the return value.

    • -24
    • +23
    ./internal/CacheSchematicDb.java
    • -10
    • +0
    ./internal/SchematicEntryLiteral.java
  1. … 3 more files in changeset.
MODE-2437 Cleaned up some more dependencies.

  1. … 1 more file in changeset.
MODE-2437 Removed Infinispan test-jar dependencies and reduced as much as possible the regular ISPN API dependencies throughout the code.

    • -2
    • +2
    ./internal/delta/AddValueIfAbsentOperation.java
    • -2
    • +2
    ./internal/delta/AddValueOperation.java
    • -2
    • +2
    ./internal/delta/PutIfAbsentOperation.java
  1. … 45 more files in changeset.
MODE-2430 Fixed BsonDataInput stream truncating strings.

  1. … 3 more files in changeset.
MODE-2418 Fixed a potential ConcurrentModificationException which could result because of changes being done to a node leaking (prior to being committed) into the shared workspace cache. This was because it was incorrectly assumed that a transactional workspace cache should be used only when user-transactions are active.

    • -27
    • +1
    ./internal/SchematicEntryLiteral.java
  1. … 3 more files in changeset.
MODE-2323 Cleaned up previous commit, removed unused classes, enabled use of OPTIMISTIC or PESSIMISTIC locking

    • -206
    • +0
    ./internal/CacheSchemaLibrary.java
    • -58
    • +0
    ./internal/DocumentValidationReducer.java
    • -55
    • +0
    ./internal/ImmutableSchematicValue.java
  1. … 13 more files in changeset.
MODE-2323 Removed the proxy layer and delta write functionality in Schematic

ModeShape's is no longer using Infinispan in ways where these pieces of functionality are useful.

Removing them should simplify the logic to represent more of what we're actually doing.

    • -298
    • +42
    ./internal/CacheSchematicDb.java
    • -96
    • +0
    ./internal/DocumentValidationMapper.java
    • -57
    • +22
    ./internal/ImmutableSchematicValue.java
    • -149
    • +0
    ./internal/SchematicEntryDelta.java
    • -170
    • +33
    ./internal/SchematicEntryLiteral.java
    • -94
    • +0
    ./internal/SchematicEntryLookup.java
    • -289
    • +0
    ./internal/SchematicEntryProxy.java
    • -133
    • +0
    ./internal/SchematicEntryWholeDelta.java
  1. … 36 more files in changeset.
MODE-2317 Updated the JsonReader to support regular character sequences, even if they begin with \u.

    • -5
    • +12
    ./internal/document/JsonReader.java
  1. … 3 more files in changeset.
MODE-2317 Updated the JsonReader to support regular character sequences, even if they begin with \u.

Conflicts:

modeshape-schematic/src/test/java/org/infinispan/schematic/internal/document/JsonReaderTest.java

    • -5
    • +12
    ./internal/document/JsonReader.java
  1. … 3 more files in changeset.
MODE-2309 Corrected handling of non-ASCII characters when reading and writing JSON via binary streams by enforcing UTF-8

    • -1
    • +2
    ./internal/document/CompactJsonWriter.java
  1. … 1 more file in changeset.
MODE-2309 Corrected handling of non-ASCII characters when reading and writing JSON via binary streams by enforcing UTF-8

    • -1
    • +2
    ./internal/document/CompactJsonWriter.java
  1. … 1 more file in changeset.
MODE-2309 Added a comment to clarify JSON read/write logic.

    • -0
    • +3
    ./internal/document/CompactJsonWriter.java
MODE-2309 Added a comment to clarify JSON read/write logic.

    • -0
    • +3
    ./internal/document/CompactJsonWriter.java
MODE-2309 Corrected reading and writing JSON files when escaped characters are used.

This fixes the backup and restore issue. Note that ModeShape uses BSON when storing nodes in Infinispan, so this

should not affect persistent storage in a cache store. ModeShape uses JSON for the file connector (extra properties)

and for the REST service; neither of these should be impacted negatively by this change, though like the backup

and restore this change should fix any as-of-yet unseen issues related to escaped characters.

Note that it is not possible to just update the Restore functionality, so with this change new backups will have

to be created. This change does need to be applied to the 3.x branch as well.

    • -25
    • +34
    ./internal/document/CompactJsonWriter.java
    • -6
    • +64
    ./internal/document/JsonReader.java
  1. … 7 more files in changeset.
MODE-2309 Corrected reading and writing JSON files when escaped characters are used.

This fixes the backup and restore issue. Note that ModeShape uses BSON when storing nodes in Infinispan, so this

should not affect persistent storage in a cache store. ModeShape uses JSON for the file connector (extra properties)

and for the REST service; neither of these should be impacted negatively by this change, though like the backup

and restore this change should fix any as-of-yet unseen issues related to escaped characters.

Note that it is not possible to just update the Restore functionality, so with this change new backups will have

to be created. This change does need to be applied to the 3.x branch as well.

Conflicts:

modeshape-jcr/src/test/java/org/modeshape/jcr/RepositoryBackupAndRestoreTest.java

modeshape-schematic/src/test/java/org/infinispan/schematic/internal/document/JsonReaderTest.java

    • -25
    • +34
    ./internal/document/CompactJsonWriter.java
    • -6
    • +64
    ./internal/document/JsonReader.java
  1. … 7 more files in changeset.
MODE-2254 Changed the JsonSidecarExtraPropertiesStore to avoid trying to interpret string properties as dates by default and also fixed a potential StringIndexOutOfBounds exception when converting ISO 8601 strings to dates.

Conflicts:

modeshape-jcr/src/test/java/org/modeshape/connector/filesystem/FileSystemConnectorTest.java

  1. … 2 more files in changeset.
MODE-2254 Changed the JsonSidecarExtraPropertiesStore to avoid trying to interpret string properties as dates by default and also fixed a potential StringIndexOutOfBounds exception when converting ISO 8601 strings to dates.

  1. … 2 more files in changeset.
MODE-2254 Changed the JsonSidecarExtraPropertiesStore to avoid trying to interpret string properties as dates by default and also fixed a potential StringIndexOutOfBounds exception when converting ISO 8601 strings to dates.

Conflicts:

modeshape-jcr/src/test/java/org/modeshape/connector/filesystem/FileSystemConnectorTest.java

  1. … 2 more files in changeset.
MODE-2214 Fixed JSON array parsing and corrected invalid files use throughout our tests.

  1. … 5 more files in changeset.
Corrected compiler and JavaDoc warnings

    • -73
    • +0
    ./internal/InMemoryDocumentLibrary.java
    • -37
    • +0
    ./internal/InMemorySchemaLibrary.java
    • -12
    • +13
    ./internal/SchematicExternalizer.java
  1. … 18 more files in changeset.
MODE-2164 Added test to validate System.env() properties are substituted.

    • -2
    • +1
    ./internal/schema/DocumentTransformer.java
  1. … 1 more file in changeset.
MODE-2082 Added support for single-line comments in JSON files.

    • -1
    • +14
    ./internal/document/JsonReader.java
  1. … 5 more files in changeset.