Commits on Oct 13, 2014
  1. Merge pull request #79 from mattbond/master

    Incorrect flag passed
    snej committed Oct 13, 2014
  2. NSJSONReadingOptions constant instead of NSJSONWritingOptions constan…

    …t was being passed to methods. NSJSONWritingOptions only include NSJSONWritingPrettyPrinted or Zero.
    mattbond committed Oct 13, 2014
Commits on Aug 9, 2013
  1. Merge pull request #75 from monowerker/leakplug

    Plug mutableCopy leak.
    snej committed Aug 9, 2013
Commits on Aug 6, 2013
  1. Plug mutableCopy leak.

    monowerker committed Aug 6, 2013
Commits on Aug 5, 2013
  1. Merge pull request #73 from martijnwalraven/master

    Don't try to decode the old NSData or NSDate values when the property has been set to nil
    snej committed Aug 5, 2013
  2. Don't try to decode the old NSData or NSDate values when the property…

    … has been set to nil
    The same conditions are used in getValueOfProperty:
    martijnwalraven committed Aug 5, 2013
Commits on Apr 17, 2013
  1. -[CouchTouchDBServer init] should create the db directory

    Fixes a regression from a recent commit.
    snej committed Apr 17, 2013
Commits on Apr 15, 2013
  1. Updated README.

    snej committed Apr 15, 2013
  2. Support for using TouchDB on multiple threads

    * CouchServer is now copyable. Call -copy to make a new instance to use on a different thread.
    * +[CouchTouchDBServer sharedInstance] should only be called from one thread since it returns only one instance. Added an assertion to enforce this.
    * Fixed implementation of -init to simplify it and prevent problems if there are multiple TouchDB instances open.
    snej committed Apr 15, 2013
Commits on Mar 29, 2013
  1. Added -[CouchDocument refresh] for use with remote servers without tr…

    It will validate the cached currentRevision, if any, against the server and update it if it changed.
    snej committed Mar 29, 2013
Commits on Mar 25, 2013
  1. Added API for creating persistent replication even if one already exists

    This allows for multiple replications with different filters, between
    the same databases.
    snej committed Mar 25, 2013
  2. Added -installCannedDatabase:withAttachments: method

    Allows you to ship a database file with an app and then install it on
    the first launch.
    snej committed Mar 8, 2013
Commits on Feb 14, 2013
  1. Fixed a race condition with doc update notifications

    If changes happened quickly enough, it was possible for the onCompletion block of a document save operation
    to be called _after_ the document got an external-change notification of a _later_ revision. (This occurred with
    CouchPersistentReplication on its initial save -- the replicator manager immediately updates the document with
    a task ID and "triggered" state, and this change was arriving before the model was told it had finished saving,
    so it wasn't ready to respond to external changes yet.
    Fixes , I think.
    snej committed Feb 14, 2013
Commits on Jan 24, 2013
  1. Return better error when RESTOperation fails auth

    If using RESTOperation to talk to a remote server (not TouchDB), if no credential can be found for an auth challenge
    it should call -continueWithoutCredentialForAuthenticationChallenge: instead of cancelAuthenticationChallenge:.
    This will ensure that the error seen by the client is an HTTP 401 instead of "NSURLErrorDomain error -1012".
    snej committed Jan 24, 2013
Commits on Jan 11, 2013
  1. Work around an NSCache deadlock.

    Defer the NSCache release in RESTCache's dealloc, in case the NSCache is already in
    the midst of flushing itself (in which case deallocing it will cause a deadlock.)
    snej committed Jan 11, 2013
Commits on Jan 3, 2013
  1. Merge pull request #62 from ntodd/patch-1

    Add EOF newline to RESTResource.h
    snej committed Jan 3, 2013
  2. Add EOF newline to RESTResource.h

    Adds missing newline at EOF
    ntodd committed Jan 3, 2013
Commits on Dec 11, 2012
  1. Issue #194 Ability to delete a document while preserving some propert…

    …ies (feature request)
    tleyden committed with snej Dec 8, 2012
Commits on Nov 8, 2012
  1. Update class names from TouchDB that were renamed

    TouchDB renamed classes from TD* to TD_* in commit 677ba7c.
    snej committed Nov 8, 2012
Commits on Nov 6, 2012
  1. Merge pull request #55 from stuffmc/patch-1

    snej committed Nov 6, 2012
  2. Update

    stuffmc committed Nov 6, 2012
Commits on Nov 2, 2012
  1. Fix 32-bit Mac build failure

    Previous commit used an undeclared ivar in an @synthesize.
    This is legal in the new runtime but not the old (32-bit Mac) one.
    snej committed Nov 2, 2012
  2. Merge pull request #53 from dlvenable/map-only-view-queries

    Ability to query map-only on a view
    snej committed Nov 2, 2012
Commits on Oct 31, 2012
  1. Added the mapOnly property to CouchQuery, which allows performing a m…

    …ap query on a view with a reduce function.
    dlvenable committed Oct 31, 2012
Commits on Oct 24, 2012
  1. Merge pull request #52 from martijnwalraven/master

    Attempt to fix #28
    snej committed Oct 24, 2012
Commits on Oct 16, 2012
  1. Avoid redundant KVO notifications of Couch*Replication.error

    Fixes TouchDB 176
    snej committed Oct 16, 2012
Commits on Oct 15, 2012
  1. Fixed incorrect class name in CouchEmbeddedServer.m

    This only affects clients that still use the old/deprecated Couchbase Mobile framework.
    snej committed Oct 15, 2012
  2. For bulkSave, update _rev in properties from save response.

    [Tweaked by snej to simplify the code]
    lambmj committed with snej Oct 10, 2012
Commits on Oct 9, 2012
  1. Add more #imports to CouchCocoa.h

    snej committed Oct 9, 2012
Commits on Sep 20, 2012
  1. Fix iOS link error with Xcode 4.5

    Reset architectures setting to default in iOS targets to avoid lack of ARM7s build,
    which causes linker error when building an app.
    snej committed Sep 20, 2012
Commits on Sep 10, 2012