Permalink
Commits on Jan 22, 2016
  1. Create CODE_OF_CONDUCT.md

    paulcbetts committed Jan 22, 2016
Commits on Dec 22, 2015
  1. Merge pull request #259 from flagbug/remove-unused-code

    paulcbetts committed Dec 22, 2015
    Remove some unused code
  2. Merge pull request #260 from flagbug/lazy-operation-initialization

    paulcbetts committed Dec 22, 2015
    Lazily initialize the various SQLite operations
  3. Lazily initialize the various SQLite operations

    flagbug committed Dec 22, 2015
    This makes initial calls to e.g BlobCache.Get faster, because it doesn't
    have to construct the SQLite operations that aren't even used when
    selecting from the database
  4. Remove some unused code

    flagbug committed Dec 22, 2015
    This is especially important when using Akavache on iOS or Android, to
    keep the package size down
Commits on Dec 17, 2015
  1. Merge pull request #258 from BeeINSIGHT/fix219

    paulcbetts committed Dec 17, 2015
    InsertAllObjects self recursion
Commits on Dec 16, 2015
  1. Fix infinite recursion.

    ncruces committed Dec 16, 2015
Commits on Oct 27, 2015
  1. Version bump to 4.1.2

    paulcbetts committed Oct 27, 2015
  2. Merge pull request #255 from kentcb/BsonDateTimeRoundTripping

    paulcbetts committed Oct 27, 2015
    Allow UTC DateTimes to be forced.
  3. Allow UTC DateTimes to be forced.

    Kent Boogaart committed Oct 27, 2015
    JSON.NET's BSON infrastructure writes DateTimes as UTC and reads them back as Local. There is a configuration property for this, but it exists only on the reader and writer - JsonSerializerSettings does not affect it. This PR adds the ability for client code to force a particular setting on JsonReader.DateTimeKindHandling.
  4. Merge pull request #254 from akavache/fix-deadlock-in-flush-and-vacuum

    paulcbetts committed Oct 27, 2015
    Fix deadlock in flush and vacuum
Commits on Oct 23, 2015
  1. Claim the lock when shutting down.

    niik committed Oct 23, 2015
    This is in place to cover a pretty narrow scenario where someone calls
    Vacuum on one thread and then immediately calls shutdown on another.
    Like if you have a periodically scheduled vacuum operation. If we don't
    do this then vacuum could slip past the shouldQuit CTS and run BEGIN
    TRANSACTION by the time we flush, causing a 'cannot start a transaction
    within a transaction' error.
  2. Simplify flush

    niik committed Oct 23, 2015
    @paulcbetts This is the thing we discussed in chat. I believe that even
    with the coalescing this version will hold up to the guarantee that
    
    "Flush ​_should_​ guarantee that, "All operations ​_issued_​ before the
    Flush was called will be processed by the time Flush returns"
    
    It can do so because while MarshalCompletion signals on the AsyncSubject
    as soon as it has run the expression it will use the multicast of the
    commitSubject to signal completion. So when the CompletionAsUnit
    completes you can be sure that every operation queued up until the point
    Flush was called has been performed.
  3. Have DoNothing signal completion

    niik committed Oct 23, 2015
    Just like all the other operations.
  4. 🎨 remove redundant old comment

    niik committed Oct 23, 2015
  5. Make sure we don't deadlock in Vacuum

    niik committed Oct 23, 2015
    There's a race condition in Vacuum where in it attempts to pre-empt the
    main queue by scheduling a DoNothing operation but does so before
    waiting on the lock and the lock itself has no guarantees on ordering.
    To demonstrate, add a delay between the scheduling and the lock wait.
    
    This. Fixes. That. (hopefully)
  6. Tentative fix for cancellation in AsyncLock

    niik committed Oct 23, 2015
    Before this a cancelled LockAsync call would still report a successful
    lock and return the inner Release disposable which in turn could lead to
    SemaphoreFullException as a lock not held was being released.
  7. 🎨 unused variables

    niik committed Oct 23, 2015
  8. Remove duplicated code

    niik committed Oct 23, 2015
  9. Add a happy path in coalesce

    niik committed Oct 23, 2015
    One-offs comprise the majority of our akavache operations.
Commits on Sep 8, 2015
  1. Merge pull request #243 from jcomtois/jcomtois/shutdown-issue-192

    paulcbetts committed Sep 8, 2015
    Prevents caches that were never used being created as side effect of BlobCache.Shutdown()
Commits on Aug 28, 2015
  1. Fix property body warning.

    jcomtois committed Aug 28, 2015
  2. Adding a null "ShutdownBlobCache" that can be used to prevent caches …

    jcomtois committed Aug 28, 2015
    …that were never used from being created upon BlobCache.Shutdown()
Commits on Jun 14, 2015
  1. Merge pull request #229 from PureWeen/sqlite-initialization-deadlock

    paulcbetts committed Jun 14, 2015
    added SubscribeOn for the blocking Wait call that Recursively creates…
Commits on Jun 13, 2015
  1. added SubscribeOn for the blocking Wait call that Recursively creates…

    ShaneN committed Jun 13, 2015
    … the directory tree
Commits on Mar 26, 2015
  1. Version bump to 4.1.1

    paulcbetts committed Mar 26, 2015
  2. Merge pull request #214 from akavache/fix-vacuum

    paulcbetts committed Mar 26, 2015
    Fix vacuum
  3. 📖

    niik committed Mar 26, 2015