OAK-593: Segment-based MK

Add a special "diff" map record type for more efficient handling of the
common case where just a single entry that already exists in the base map
gets modified.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1550530 13f79535-47bb-0310-9956-ffa450edef68
OAK-795: OSGi init issues

Remove the 64-bit default value of the tarmk.mode property.
If the property is unspecified, the system should auto-detect
the TarMK mode instead of always using a hardcoded default.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1550532 13f79535-47bb-0310-9956-ffa450edef68
OAK-98 - fix svn:eol-style

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1550679 13f79535-47bb-0310-9956-ffa450edef68
revert r1550453

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1550700 13f79535-47bb-0310-9956-ffa450edef68
OAK-1266 - work in progress SQL/JDBC DocumentStore implementation - refactoring

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1550737 13f79535-47bb-0310-9956-ffa450edef68
OAK-1133: Observation listener PLUS
Add FilterBuilder for building observation filters

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1550754 13f79535-47bb-0310-9956-ffa450edef68
OAK-1133: Observation listener PLUS
Replace JcrFilterProvider by using the new FilterBuilder

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1550755 13f79535-47bb-0310-9956-ffa450edef68
OAK-1133: Observation listener PLUS
Add new method to ObservationListenerImpl for adding observation listeners based on a FilterProvider

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1550756 13f79535-47bb-0310-9956-ffa450edef68
OAK-1133: Observation listener PLUS
Push permission evaluation down to ChangeProcessor so it applies to all events being dispatch regardless on how the listener was registered

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1550757 13f79535-47bb-0310-9956-ffa450edef68
OAK-1282: Clean up RepositoryStub classes
- re-applied my changes again and updated LuceneOakRepositoryStub accordingly

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1551139 13f79535-47bb-0310-9956-ffa450edef68
OAK-1289: Range check fails with IllegalArgumentException

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1551163 13f79535-47bb-0310-9956-ffa450edef68
OAK-1290: ObservationManager#removeEventListener prone to deadlocks
Remove synchronisation to prevent deadlocks until we have consensus on how to solve this

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1551176 13f79535-47bb-0310-9956-ffa450edef68
OAK-1274: Wrong comparison for old Revisions

Making the fields as final and minor code cleanup

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1551192 13f79535-47bb-0310-9956-ffa450edef68
OAK-938 incomplete: session refresh must also be reflected on derived interfaces
Wrap Authorizable, User, Group and Impersonation into respective delegator instances

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1551208 13f79535-47bb-0310-9956-ffa450edef68
OAK-938 incomplete: session refresh must also be reflected on derived interfaces
Reverting changes from r1551208 until test failures are sorted out

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1551214 13f79535-47bb-0310-9956-ffa450edef68
OAK-1291: RandomizedReadTest fails with OutOfMemoryError: PermGen space
@Ignore RandomizedReadTest until this is sorted out

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1551215 13f79535-47bb-0310-9956-ffa450edef68
OAK-1251 - fix typo in method name, remove trailing WS, add support for logging the thread name

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1551227 13f79535-47bb-0310-9956-ffa450edef68
OAK-1251 - add a synchronized wrapper for debugging purposes

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1551245 13f79535-47bb-0310-9956-ffa450edef68
OAK-1284: Root.commit(String, CommitHook) : CommitHook is not part of oak-api
Pass path of the target sub tree of the commit to Root.commit instead of a CommitHook

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1551250 13f79535-47bb-0310-9956-ffa450edef68
OAK-1287: java.lang.IllegalArgumentException when running FlatTreeWithAceForSamePrincipalTest

Fix handling of long lists of values

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1551426 13f79535-47bb-0310-9956-ffa450edef68