Switch branches/tags
Nothing to show
Commits on Dec 27, 2011
  1. Code cleanup: splitting up TDDatabase.m

    Broke out two more categories: Insertion and Replication.
    Just to keep the file size down; no code changes.
    snej committed Dec 27, 2011
  2. Miscellaneous fixes

    * Factored out repeated code that reconstitutes revision bodies, to make sure all the virtual properties like _id get added consistently.
    * Add _deleted key to returned bodies of deleted revisions.
    * A PUT of a document containing a _deleted property deletes it.
    * Keep multiple conflicting revisions from showing up in _all_docs and view results.
    * Optimized and fixed bugs in the code that removes obsolete emitted rows when updating a view.
    snej committed Dec 27, 2011
  3. Checkpoint: More attachment-pulling work

    * Correctly copy unchanged attachment row when pulling in a revision whose parent isn't locally known.
    * Added attachments.revpos column.
    snej committed Dec 27, 2011
Commits on Dec 26, 2011
Commits on Dec 23, 2011
  1. Fix iOS apps by adding -ObjC linker flag

    ..otherwise the categories on TDDatabase and FMDatabase get
    left out of the app, causing runtime exceptions. :-p
    snej committed Dec 23, 2011
Commits on Dec 21, 2011
  1. A couple of changes for ARC

    Fixed an error when importing TDView.h in an ARC-enabled source file.
    Tweaked a few other things for ARC compatibility of TouchDB source itself,
    but it's by no means ready to build with ARC.
    snej committed Dec 21, 2011
  2. TDPusher now sends attachments, non-optimally

    It always sends all attachments whether or not they've changed.
    It always sends them inline base64'd.
    These things should be optimized later...
    snej committed Dec 21, 2011
Commits on Dec 20, 2011
  1. Added image attachments to Mac shopping demo

    The UI is awful but it does demonstrate attachments in real use!
    snej committed Dec 20, 2011
  2. Misc improvements (compaction, deletion, versioning)

    - Compaction vacuums the SQLite database.
    - Deleting a database also deletes its attachment store directory.
    - Using SQLite user_version property to track schema of the database
    so we can refuse to open it if it's too old or new.
    snej committed Dec 20, 2011
  3. Checkpoint: More attachment work

    snej committed Dec 19, 2011
  4. Demo apps now use CouchTouchDBServer.

    Also added +[TDURLProtocol rootURL].
    snej committed Dec 20, 2011
Commits on Dec 19, 2011
Commits on Dec 18, 2011
  1. Bug-fixes to Mac demo app

    - Fill in URL field of sync sheet when it opens
    - Unregister as observer when removing replications
    - Copy CouchCocoa.framework into app bundle
    snej committed Dec 18, 2011
  2. Set Location: response header after POST to database

    CouchCocoa expects this (it gets the document ID from it.)
    snej committed Dec 18, 2011
Commits on Dec 17, 2011
  1. Cleanup

    - Updated README.
    - Added Apache license comment to .m files.
    - Fixed Mac demo target to look for CouchCocoa.framework in 'Frameworks' subdirectory.
    snej committed Dec 17, 2011
  2. Limit number of HTTP connections used by TDPuller

    Also added autorelease pools to reduce memory usage.
    snej committed Dec 17, 2011
Commits on Dec 16, 2011
  1. Replicator progress notification

    * TDReplicator tracks progress.
    * Support for CouchDB _active_tasks API.
    * NSNotification posted when replicator progress changes.
    * Demo apps use the notification instead of polling.
    snej committed Dec 16, 2011
  2. Fixed a TDView regression

    The lastSequence column wasn't always being updated to a high enough number.
    snej committed Dec 16, 2011
Commits on Dec 14, 2011
  1. Oops, bug-fix for replication.

    snej committed Dec 14, 2011
  2. Document update validation.

    Also a few bug fixes.
    snej committed Dec 14, 2011
Commits on Dec 13, 2011
  1. More replication work. It's working in the iOS demo now!

    * Persistent storage of last sequence number pulled/pushed.
    * HTTP _replicate endpoint supported.
    * Fixed bugs in replicator code.
    * Pusher ignores local changes pulled from the same remote database.
    snej committed Dec 13, 2011
Commits on Dec 12, 2011
  1. Make iOS demos installable on real devices

    Needed to tweak the bundle IDs and entitlements.
    snej committed Dec 12, 2011
  2. Made Demo-iOS be a clone of GrocerySync

    Basically runs. I didn't copy over all the assets so it doesn't look right.
    Sync not implemented yet.
    snej committed Dec 12, 2011