Commits on Feb 23, 2012
  1. Filter-function API in CouchDesignDocument

    snej committed Feb 23, 2012
    Not tested yet!
Commits on Feb 22, 2012
  1. Avoid hard link-time dependency on CouchbaseMobile framework

    snej committed Feb 22, 2012
    CouchEmbeddedServer shouldn't reference the CouchbaseMobile class directly.
Commits on Feb 13, 2012
  1. Fixed a typo in the README's contributor list.

    snej committed Feb 13, 2012
    Change-Id: Icc98b392816a65e83656b209a9a2e56e80b1d010
  2. Updated API doc-comments and README

    snej committed Feb 13, 2012
    * CouchModel wasn't in the API docs because Doxygen wasn't configured to look in the Model/ subfolder.
    * Fixed some syntax errors with '@' signs in some class's doc-comments.
    * Fixed some other parameter-name mismatches in doc-comments.
    * Updated list of contributors in the README.
    Change-Id: Ic85e94ceeff88ad99240ab745d7602ac906a18f3
  3. Fixed a leak and a build error

    snej committed Jan 19, 2012
    * Added a necessary -dealloc method in CouchQueryRow.
    * Changed debug symbol style to avoid an annoying error the 2nd time building the iOS framework.
    Change-Id: Iff9ebc2e6384a5a444d36c1c0a5df1a0b9394c07
Commits on Feb 8, 2012
  1. Added RESTResource delegate methods.

    snej committed Feb 8, 2012
    These will allow apps to customize HTTP handling, for example by doing custom cookie management.
    Change-Id: I4cca47be40571141932a10863d0162a1ad8b53be
  2. Fixed: CouchChangeTracker broke with URLs that don't specify a port n…

    snej committed Feb 8, 2012
    It wasn't explicitly defaulting to 80, so it ended up trying to connect to port 0, which results in a connect error.
    (This is the equivalent fix to f8452bd on the 'touchdb' branch.)
    Change-Id: I97da0acb99322da7d7944139004efd7a4f59fb8b
Commits on Feb 7, 2012
  1. Merge pull request #12 from kaalita/patch-2

    snej committed Feb 7, 2012
    Missing argument when raising warning in CouchChangeTracker
  2. Merge pull request #11 from kaalita/patch-1

    snej committed Feb 7, 2012
    Fix for memory leak in CouchChangeTracker
Commits on Feb 1, 2012
  1. Add declaration of NSJSONWritingPrettyPrinted, to build with old SDKs

    snej committed Feb 1, 2012
    Fixes regression from a recent commit, oops!
    Change-Id: I2dfdd4e5991e88150561dbd908476b6d1cc384b3
Commits on Jan 30, 2012
  1. CouchReplication now supports filters

    snej committed Jan 30, 2012
    Also changed the CouchDatabase API for creating it -- the options are no longer passed in; instead you set them as properties afterwards.
    To make this work I had to delay the call to -start so that the caller would have a chance to make these changes first.
    Change-Id: I54ee42e6224607fb1be912dd4b18297d4ddb4aaf
  2. +[CouchModel modelForDocument:] now uses the CouchModelFactory

    snej committed Jan 26, 2012
    but only if called on CouchModel itself; if the receiver is a subclass it still always instantiates that subclass.
    Also added CouchModelFactory to public headers.
    Change-Id: I629db515a0bfdfb797e495a0f42f810c976b3f75
  3. Added model -databaseForModelProperty: hook for subclasses

    snej committed Jan 26, 2012
    This allows for model-valued properties that refer to documents in a different database. Override this method and return the database to look up the named property in.
    Change-Id: I651492a344e3f0c92132f79b7d088b945e8d8e95
  4. Prevent models from being dealloced while they have KVO observers

    snej committed Jan 26, 2012
    Observing an object doesn't retain it. But CouchModels have only weak references from the database, so they can get dealloced if not used. That leads to dangling KVO references, which leads to crashes. Worked around this by overriding add/removeObserver to retain/release the receiver.
    Change-Id: I66e44e30e783e6af9a8dfdac475828e6a713c66b
  5. Added -[RESTBody prettyStringWithJSONObject:]

    snej committed Jan 26, 2012
    Change-Id: I595a55e9b467fb5367cfe300fa4f8c3b50d0fdc9
Commits on Jan 20, 2012
  1. Merge pull request #8 from dlvenable/master

    snej committed Jan 20, 2012
    Support replication's doc_ids property
Commits on Jan 18, 2012
Commits on Jan 16, 2012
  1. Extended CouchUITableDelegate to allow overriding of tableView:cellFo…

    Sven A. Schmidt authored and snej committed Dec 12, 2011
    This allows clients of the library to provide their own UITableViewCell
    for customization purposes.
  2. View params: startkey_docid, endkey_docid, stale

    pimetrai authored and snej committed Nov 29, 2011
    [Tweaked by snej, including adding a long-needed -dealloc method to CouchView.]
  3. Post KVO for all properties when doc is changed

    jmah authored and snej committed Sep 6, 2011
    Previously some properties would be missed, i.e. ones that had been deleted locally.
    [Tweaked by snej]
  4. Added +propertyNames returning persisted property names

    jmah authored and snej committed Sep 6, 2011
    All declared properties below CouchModel are assumed to be persisted,
    and are included in the returned set.
    (Tweaked by snej)
Commits on Jan 14, 2012
  1. Added doc-comment about auth (401) problems with CouchDB.

    snej committed Jan 14, 2012
    I don't know of a good solution that CouchCocoa can implement, so I'm recommending changing CouchDB's config to send the proper auth header.
Commits on Jan 13, 2012
  1. Fixed caching bug. If a path map is provided then use the relative pa…

    dlvenable committed Jan 13, 2012
    …th to load the documents from the cache.
  2. Introduce the documentPathMap block to provide a path which varies fr…

    dlvenable committed Jan 13, 2012
    …om the typical document path.
Commits on Jan 11, 2012
  1. URL query params containing an "&" weren't properly escaped.

    snej committed Jan 9, 2012
    Change-Id: I752c4ae2b4a540fe44dc1a41b2d4a863a5c67cdb
  2. Don't stop a replication when its CouchReplication is dealloced

    snej committed Jan 7, 2012
    Change-Id: I6f74582d24412a22ecc9bc71cf8344aea8fd1a89
  3. Switch Mac framework to use latest SDK

    snej committed Dec 29, 2011
    And fixed a compiler issue with RESTBody using the 10.7 SDK.
    Change-Id: Id22c4d7cada0e6f6911771b94f4dc1d2465018f5
  4. Fixed a leak in connection:didReceiveAuthenticationChallenge:.

    snej committed Dec 18, 2011
    Change-Id: I4dd6747778d8622ed0185a312b227a66efa30849
  5. Some random fixes/improvements

    snej committed Dec 16, 2011
    * Added -[CouchServer checkActiveTasks].
    * Optimization and leak-fix for CouchQuery.
    * Fix for CouchReplication
    Change-Id: I2e1b1a4aa1d56fafb9ed08c2affcc43fb085a07f