Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 13, 2014
  1. Jens Alfke

    Merge pull request #79 from mattbond/master

    snej authored
    Incorrect flag passed
  2. mattbond

    NSJSONReadingOptions constant instead of NSJSONWritingOptions constan…

    mattbond authored
    …t was being passed to methods. NSJSONWritingOptions only include NSJSONWritingPrettyPrinted or Zero.
Commits on Aug 9, 2013
  1. Jens Alfke

    Merge pull request #75 from monowerker/leakplug

    snej authored
    Plug mutableCopy leak.
Commits on Aug 6, 2013
  1. Daniel Ericsson

    Plug mutableCopy leak.

    monowerker authored
Commits on Aug 5, 2013
  1. Jens Alfke

    Merge pull request #73 from martijnwalraven/master

    snej authored
    Don't try to decode the old NSData or NSDate values when the property has been set to nil
  2. Martijn Walraven

    Don't try to decode the old NSData or NSDate values when the property…

    martijnwalraven authored
    … has been set to nil
    
    The same conditions are used in getValueOfProperty:
Commits on Apr 17, 2013
  1. Jens Alfke

    -[CouchTouchDBServer init] should create the db directory

    snej authored
    Fixes a regression from a recent commit.
Commits on Apr 15, 2013
  1. Jens Alfke

    Updated README.

    snej authored
  2. Jens Alfke

    Support for using TouchDB on multiple threads

    snej authored
    * 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.
Commits on Mar 29, 2013
  1. Jens Alfke

    Added -[CouchDocument refresh] for use with remote servers without tr…

    snej authored
    …acksChanges
    
    It will validate the cached currentRevision, if any, against the server and update it if it changed.
Commits on Mar 25, 2013
  1. Jens Alfke

    Added API for creating persistent replication even if one already exists

    snej authored
    This allows for multiple replications with different filters, between
    the same databases.
  2. Jens Alfke

    Added -installCannedDatabase:withAttachments: method

    snej authored
    Allows you to ship a database file with an app and then install it on
    the first launch.
Commits on Feb 14, 2013
  1. Jens Alfke

    Fixed a race condition with doc update notifications

    snej authored
    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 couchbaselabs/TouchDB-iOS#187 , I think.
Commits on Jan 24, 2013
  1. Jens Alfke

    Return better error when RESTOperation fails auth

    snej authored
    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".
Commits on Jan 11, 2013
  1. Jens Alfke

    Work around an NSCache deadlock.

    snej authored
    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.)
    Fixes couchbaselabs/TouchDB-iOS#216
Commits on Jan 3, 2013
  1. Jens Alfke

    Merge pull request #62 from ntodd/patch-1

    snej authored
    Add EOF newline to RESTResource.h
  2. Nate Todd

    Add EOF newline to RESTResource.h

    ntodd authored
    Adds missing newline at EOF
Commits on Dec 11, 2012
  1. Traun Leyden Jens Alfke

    Issue #194 Ability to delete a document while preserving some propert…

    tleyden authored snej committed
    …ies (feature request)
Commits on Nov 8, 2012
  1. Jens Alfke

    Update class names from TouchDB that were renamed

    snej authored
    TouchDB renamed classes from TD* to TD_* in commit 677ba7c.
Commits on Nov 6, 2012
  1. Jens Alfke

    Merge pull request #55 from stuffmc/patch-1

    snej authored
    Update README.md
  2. StuFF mc

    Update README.md

    stuffmc authored
Commits on Nov 2, 2012
  1. Jens Alfke

    Fix 32-bit Mac build failure

    snej authored
    Previous commit used an undeclared ivar in an @synthesize.
    This is legal in the new runtime but not the old (32-bit Mac) one.
  2. Jens Alfke

    Merge pull request #53 from dlvenable/map-only-view-queries

    snej authored
    Ability to query map-only on a view
  3. David Venable
Commits on Oct 31, 2012
  1. David Venable

    Added the mapOnly property to CouchQuery, which allows performing a m…

    dlvenable authored
    …ap query on a view with a reduce function.
Commits on Oct 24, 2012
  1. Jens Alfke

    Merge pull request #52 from martijnwalraven/master

    snej authored
    Attempt to fix #28
  2. Martijn Walraven
Commits on Oct 16, 2012
  1. Jens Alfke
Commits on Oct 15, 2012
  1. Jens Alfke

    Fixed incorrect class name in CouchEmbeddedServer.m

    snej authored
    This only affects clients that still use the old/deprecated Couchbase Mobile framework.
  2. lambmj Jens Alfke

    For bulkSave, update _rev in properties from save response.

    lambmj authored snej committed
    [Tweaked by snej to simplify the code]
Commits on Oct 9, 2012
  1. Jens Alfke
  2. Jens Alfke
  3. Jens Alfke
Commits on Sep 20, 2012
  1. Jens Alfke

    Fix iOS link error with Xcode 4.5

    snej authored
    Reset architectures setting to default in iOS targets to avoid lack of ARM7s build,
    which causes linker error when building an app.
Commits on Sep 10, 2012
  1. Jens Alfke
Something went wrong with that request. Please try again.