Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix (and test) AbstractMultimap.WrappedCollection retainAll bug

  1. … 1 more file in changeset.
distinguish between empty value collection and emptied value collection

AbstractMultimap state management/NPE hardening

  1. … 1 more file in changeset.
correct iteration bug introduced with MODE-2743 fix

  1. … 1 more file in changeset.
MODE-2743: AbstractMultimap susceptible to size invalidation via collection iterators

  1. … 1 more file 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-1903 Changes the journal to expose iterators of changed nodes, instead of collections This should ensure (if MapDB works correctly) that if there are lots of node being reindexed, the memory will not be filled up. This commit also changes the default reindexing mode from 'full' to 'if_missing' and fixes a minor validation of the TimeBasedKeys, to ensure overflow doesn't happen.

  1. … 10 more files in changeset.
MODE-2195 Makes the event bus size configurable

  1. … 18 more files in changeset.
Support German Scharfes 'S' symbol when tokenising This symbol is weird because the so-called 'capital' version (as determined by the JVM) is 'SS'. i.e. longer than the lower-case version. This sends the indexes out of kilter within the TokenStream class when using case insensitive tokenising.

The solution is to override the match method in the CaseInsensitiveToken to convert the current token to upper-case, rather than storing an upper-case version of the entire input string, which may not have the same indexes as the lower-case version.

(cherry picked from commit 9a8ac56)

    • -0
    • +49
    ./org/modeshape/common/text/TokenStreamTest.java
  1. … 1 more file in changeset.
MODE-2413 Fixed the Base64 encoder to be able to handle SelfClosingInputStream (and in general any wrapped stream which might be closed independently)

  1. … 3 more files in changeset.
MODE-2322 Fixed the formatting of exception messages which contain primitive array arguments and added some additional checks around "minStringSize" for various binary stores.

Conflicts:

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

    • -0
    • +11
    ./org/modeshape/common/util/StringUtilTest.java
  1. … 4 more files in changeset.
MODE-2322 Fixed the formatting of exception messages which contain primitive array arguments and added some additional checks around "minStringSize" for various binary stores.

    • -0
    • +11
    ./org/modeshape/common/util/StringUtilTest.java
  1. … 4 more files in changeset.
MODE-2299 Upgraded the HttpClient artifact to 4.3.5.

  1. … 4 more files in changeset.
MODE-2258 Fixed the URL encoder/decoder code to handle non reserved, non ASCII characters.

    • -0
    • +8
    ./org/modeshape/common/text/UrlEncoderTest.java
  1. … 1 more file in changeset.
MODE-2258 Fixed the URL encoder/decoder code to handle non reserved, non ASCII characters.

    • -0
    • +8
    ./org/modeshape/common/text/UrlEncoderTest.java
  1. … 1 more file in changeset.
MODE-2258 Fixed the URL encoder/decoder code to handle non reserved, non ASCII characters.

    • -0
    • +8
    ./org/modeshape/common/text/UrlEncoderTest.java
  1. … 1 more file in changeset.
MODE-2097, MODE-2169, MODE-2197 Integrated the latest version of the jboss-integration BOM. This commit includes changes for multiple different issues that snowballed: - packaging Javadocs in a zip - updating Apache POI In addition, after integrating the BOM a number of unit tests had to be updated to reflect changes in dependencies both from a functionality perspective and from a deprecation perspective. The most significant change there was the rewriting of the ConnectorTestCase (modeshape-jca) because the new versions of Arquillian + IronJacamar hold filelocks on Windows: https://issues.jboss.org/browse/JBJCA-1027

    • -1
    • +1
    ./org/modeshape/common/util/StringUtilTest.java
  1. … 90 more files in changeset.
MODE-2088 Eliminated the ring buffer's ability to submit entries in the same thread, which simplifies the consumers and makes them not need to be concurrent. Also changed the WorkspaceCache to register its own listeners that are better optimized for what they do. Kept the ability for the RepositoryChangeBus to have in-thread listeners (notified in the caller's thread), but these listeners only receive events via this route. Changed the JcrRepository to register various listeners directly on the bus rather than via the RepositoryCache (which was a listener and just delegated the register and unregister methods to the change bus). At this point, all tests pass successfully (multiple build passes).

  1. … 28 more files in changeset.
MODE-2088 RepositoryChangeBus actually requires producers to be on multiple threads, and this was causing problems for the 'single-thread-producer' initial implementation. Added simple locking in the RingBuffer.add(...) methods, and verified that this fixes the sequencer problems.

Interestingly, the time for my build is approximately 30-40 seconds slower (repeatedly) with the locking enabled, so we probably do want to consider getting rid of the locking but still supporting multiple producers.

  1. … 3 more files in changeset.
MODE-2088 Updated the RingBuffer implementation and finished the CircularChangeBus which is now used by the repository.

  1. … 32 more files in changeset.
MODE-2088 Created RingBufferBuilder utility that can handle more options, and added garbage collection to the ring buffer. The latter is a thread that follows all other consumers, nulling out the entries that have already been processed. This will reduce the overall footprint, even when the entry objects may be large. Garbage collection is optional and disabled by default.

  1. … 10 more files in changeset.
MODE-2088 Added support for dynamically removing consumers, added more tests, and improved resiliency.

  1. … 9 more files in changeset.
MODE-2088 Ring buffer implementation, suitable for evaluation and trial.

    • -0
    • +165
    ./org/modeshape/common/collection/ring/RingBufferTest.java
  1. … 12 more files in changeset.
MODE-2065 Updated kit to Wildfly 8.0.0.Final

  1. … 7 more files in changeset.
MODE-2148 Added checkstyle to our build, and corrected numerous potential problems or issues in the code. Also removed lots of meaningless JavaDoc

    • -0
    • +3
    ./org/modeshape/common/i18n/MockI18n.java
    • -54
    • +52
    ./org/modeshape/common/text/PositionTest.java
    • -4
    • +1
    ./org/modeshape/common/text/SampleSqlParser.java
    • -43
    • +37
    ./org/modeshape/common/text/TokenStreamTest.java
    • -124
    • +0
    ./org/modeshape/common/util/MimeTypeUtilTest.java
    • -1
    • +1
    ./org/modeshape/common/util/StringUtilTest.java
  1. … 357 more files in changeset.
MODE-2145 Upgraded JUnit to 4.11 and hamcrest to 1.3. Fixed additional issues caused by the upgrade.

  1. … 20 more files in changeset.
MODE-2041 Corrected numerous compiler warninings, JavaDoc errors and warnings, and removed quite a few JavaDoc comments that are inherited via @Override.

  1. … 78 more files in changeset.
MODE-2081 Changed the license for ModeShape code to ASL 2.0.

    • -17
    • +9
    ./org/modeshape/common/AbstractI18nTest.java
    • -17
    • +9
    ./org/modeshape/common/CommonI18nTest.java
    • -18
    • +10
    ./org/modeshape/common/FixFor.java
  1. … 145 more files in changeset.
MODE-1683 Created a time-based sequence

Added a time-based, non-monotonically increasing unique sequence of long values that

can be used in the journal as primary keys for JournalRecord instances so that:

1. they are ordered based upon the sequence in which they arrive

2. we can find the JournalRecords that were added within some time range

    • -0
    • +139
    ./org/modeshape/common/util/TimeBasedKeysTest.java
  1. … 1 more file in changeset.
MODE-2035 Fixed the mode:lock node type which caused the reported problem. Also, this exposed another problem with the XmlNameEncoder - the fact that XML names cannot start with certain characters.

  1. … 8 more files in changeset.