Commits on Aug 19, 2011
  1. @snej

    Added unit test for view-fn exception handling

    Change-Id: I13824def6d4aa194d49f3fc687b43c3a3553bd08
    Reviewed-on: http://review.couchbase.org/8975
    Tested-by: Jens Alfke <jens@couchbase.com>
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    snej committed Aug 15, 2011
  2. @snej

    Delete database before running each unit test

    Unit tests were broken because deleting the database failed with a 404 if this was the first run. Fixed this by adding a -forciblyDeleteDatabase method that deletes it and ignores errors.
    
    Change-Id: Ieb5b555e424fa3b2c90fe51e04ffe99af7a4a35c
    Reviewed-on: http://review.couchbase.org/9131
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Aug 19, 2011
  3. @snej

    Respond to couchStarted notification instead of polling

    Change-Id: I48fbcd1026dd36f7f764b8981c493293a408a957
    Reviewed-on: http://review.couchbase.org/8930
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Aug 12, 2011
Commits on Aug 12, 2011
  1. @snej

    Suppress Erlang "progress report" logging

    Change-Id: I6fa03fcf549edc3d2227067a1619f338251ab5f5
    Reviewed-on: http://review.couchbase.org/8934
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    snej committed Aug 12, 2011
  2. @snej @jchris

    Don't copy the app .ini file; we don't use it

    The app's .ini file is read from its original location so there's no need to copy it. This code was leftover from when it used to work.
    
    Change-Id: Ia2ad120bfa79872e9687ff493045812eb93e7f7e
    Reviewed-on: http://review.couchbase.org/8932
    Tested-by: Chris Anderson <jchris@couchbase.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    snej committed with jchris Aug 12, 2011
  3. @snej @jchris

    Added some logging to EmptyApp

    Log the notifications of fg/bg switches.
    
    Change-Id: Ib098f277be4438e7a2fce9b3c61f45b7ebb3797d
    Reviewed-on: http://review.couchbase.org/8918
    Tested-by: Chris Anderson <jchris@couchbase.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    snej committed with jchris Aug 12, 2011
  4. @jchris @snej

    remove pre generated secret from default_ios.ini

    Change-Id: Icff3bb1fb1f1b94a1d625b78c387110acea52e4b
    Reviewed-on: http://review.couchbase.org/8890
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    jchris committed with snej Aug 11, 2011
Commits on Aug 11, 2011
  1. @apage43 @snej

    Changes for resuming from background.

    Change-Id: Ie06fd9f5f9cb981fb797cf57e1a6212c86e9d7a4
    Reviewed-on: http://review.couchbase.org/8809
    Tested-by: Aaron Miller <apage43@ninjawhale.com>
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    apage43 committed with snej Aug 10, 2011
Commits on Aug 10, 2011
  1. @snej @jchris

    Fix listener address to avoid external connections

    We were telling the server to bind to 0.0.0.0, but it should really be 127.0.0.1 (the loopback interface) to prevent external incoming TCP connections.
    Bug: http://www.couchbase.org/issues/browse/CBMI-27
    
    Change-Id: I495ff7eb6e85f792027b9356cb555ae81b9bbe9d
    Reviewed-on: http://review.couchbase.org/8817
    Tested-by: Chris Anderson <jchris@couchbase.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    snej committed with jchris Aug 10, 2011
Commits on Aug 8, 2011
  1. @snej @jchris

    Oops, the Empty App scheme wasn't checked in

    Change-Id: I7eb33b2ba4bde56859b9649c2530ceaa573a8455
    Reviewed-on: http://review.couchbase.org/8741
    Tested-by: Chris Anderson <jchris@couchbase.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    snej committed with jchris Aug 8, 2011
Commits on Aug 7, 2011
  1. @snej

    Fixed emonk_*.js file paths in .ini file

    Change-Id: I4c2f5885f911646b3f63245fc1a9835ff52bb741
    Reviewed-on: http://review.couchbase.org/8693
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Aug 6, 2011
  2. @snej

    Got unit tests working in the Empty App.

    Also renamed "Couchbase Empty App" to just "Empty App".
    
    Change-Id: I48171a49bdc68f4dad362daebaf8dc98c5cca7fe
    Reviewed-on: http://review.couchbase.org/8650
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Aug 4, 2011
Commits on Aug 3, 2011
  1. @snej

    Make build work when Erlang is installed in nonstandard location

    Scripts run from Xcode builds don't have $PATH set to look in /usr/local or /opt, where package managers install erlc. Fixed this by manually extending the path.
    
    Change-Id: Ia308051c06475a1822e2dc32fc61fdc0a3a277e7
    snej committed Aug 3, 2011
Commits on Aug 2, 2011
  1. @snej

    Strip the .beam files to make them much smaller

    Change-Id: I6a1617295f7a4e4adc33695ef49d6f8170719f44
    snej committed Aug 2, 2011
  2. @snej

    Compile Erlang into destination dirs, not into src

    The build script to compile CouchDB and its dependencies was writing the .beam files into the erlang directory in the source tree. Mixing up source and generated files is a bad idea; in particular, it meant that Xcode's "Clean" command didn't actually clean out those files.
    
    I've modified the build scripts so they now compile the .beam files directly into the generated 'erlang' folder in the framework. Also cleaned up the code and added better error handling ("set -e").
    
    Change-Id: I24342198672e4af3243ed2fc8ca0600aab71633f
    snej committed Aug 2, 2011
  3. @snej

    Got it to build in its new repo-ized home.

    Change-Id: I7f7f4b83cb74dbb9e6cc5aee7b8e72c96b8cbf35
    snej committed Aug 1, 2011
Commits on Aug 1, 2011
  1. @snej
  2. @snej

    Updated the README

    snej committed Aug 1, 2011
  3. @snej
  4. @snej

    Added snappy to .gitignore

    snej committed Aug 1, 2011
  5. @snej

    Merge branch 'from_source_preview' of github.com:couchbaselabs/iOS-Co…

    …uchbase into from_source_preview
    
    Conflicts:
    	MobileCouchbase/Couchbase.xcodeproj/project.pbxproj
    snej committed Aug 1, 2011
  6. @snej

    Misc. optimizations

    * Strip symbols from Release config of EmptyApp, to reduce its size.
    * Archive action of Couchbase.framework scheme uses Release config.
    * Erlang compiler outputs compressed .beam files.
    * Test more HTTP calls in EmptyApp: create a database and a document.
    * Added CouchDB source dirs to .gitignore since generated .beam files get added to them at build time.
    * Added CouchDB source files to the Couchbase project's file list, for easier reference (they're not in any target though).
    * In iErl14 and iMonkey, enable full optimizations.
    snej committed Aug 1, 2011
Commits on Jul 30, 2011
  1. @snej

    Merge branch 'master' into from_source_preview

    Conflicts:
    	MobileCouchbase/Classes/CouchbaseEmbeddedServer.m
    	MobileCouchbase/default.ini
    snej committed Jul 30, 2011
  2. @snej

    Add .beam files to .gitignore since the Couch build creates a ton of …

    …them inside the source folders.
    snej committed Jul 30, 2011
  3. @snej

    Fix compile issue in EmptyApp; reduce warnings

    * Some of the Xcode 4.2-generated boilerplate in EmptyAppDelegate.h wouldn't compile in Xcode 4.0. Fixed it.
    * Update to a new commit of iMonkey that fixes build settings to greatly reduce the number of compiler warnings.
    snej committed Jul 15, 2011
Commits on Jul 29, 2011
  1. @snej

    Avoid changing current directory

    Do some simple template substitution in the default_ios.ini file, to customize the database directory and the path to the .js files. This avoids having to change the app's current directory, or copying those .js files into Documents.
    snej committed Jul 29, 2011
  2. @snej

    Server class updates out of date files on startup

    The -install method in CouchbaseEmbeddedServer would only install the file if it didn't exist at the destination. That meant that those installed files would never get updated ever after the first app launch, which is very bad for upgrades.
    Fixed it so that the installed file will be replaced if the source is newer.
    snej committed Jul 29, 2011
Commits on Jul 27, 2011
  1. @apage43

    Update iErl

    apage43 committed Jul 27, 2011
  2. @apage43

    Support new NIFs

    apage43 committed Jul 27, 2011
  3. @apage43

    Universal armv6/armv7 support

    apage43 committed Jul 26, 2011
Commits on Jul 25, 2011
  1. @apage43

    Fixes for updated couch

    Specific for iOS:
      Set default compression to none (Snappy NIF unavailable).
      Disabled compaction daemon (can't use erlang disksup on iOS)
    apage43 committed Jul 25, 2011
Commits on Jul 23, 2011
  1. @jchris
Commits on Jul 21, 2011
  1. @snej

    Fix broken build script in README

    The build script given in the README had a curly-quote in it instead of an ASCII quote, which causes the shell to barf when the script runs. Fixed (sorry, Dale!)
    snej committed Jul 21, 2011
Commits on Jul 19, 2011
  1. @snej

    Allow developer to provide app-specific INI file

    New 'iniFilePath' property can be set by the developer at launch time to specify a CouchDB .ini file that modifies the default configuration.
    
    A separate, and writeable, local.ini file is also created for runtime configuration changes.
    snej committed Jul 18, 2011
Commits on Jul 18, 2011
  1. @apage43

    Build couch beams from source

    apage43 committed Jul 18, 2011