Permalink
Commits on Jan 24, 2013
  1. Updated README to make it clear this is obsolete

    Change-Id: I90624b88ad6a058b7d9f76ec9165c25f217fed22
    Reviewed-on: http://review.couchbase.org/24187
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Jan 24, 2013
Commits on Mar 30, 2012
  1. Redirect stdout to a file, to work around a hang in iOS 5.1.

    Change-Id: If28a5c60f1f1366600701efb3544cc2125daa244
    http://www.couchbase.com/issues/browse/CBMI-72
    Reviewed-on: http://review.couchbase.org/13924
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Mar 13, 2012
Commits on Feb 1, 2012
  1. Added 'Getting Started.pdf' file that gets built into the release arc…

    …hive.
    
    Change-Id: Ifd5c2dc51fc9dd264a947b54cef0d23388af9721
    Reviewed-on: http://review.couchbase.org/12896
    Tested-by: Farshid Ghods <farshid.ghods@gmail.com>
    Reviewed-by: Farshid Ghods <farshid.ghods@gmail.com>
    snej committed with farshidce Feb 1, 2012
Commits on Nov 21, 2011
  1. Adds an admin account/password for better security.

    - On first launch, create an admin account with a randomly 
    generated password.
    - Disable all anonymous access (even reads).
    - New CouchbaseMobile.adminCredential to get the username/
    password.
    
    Change-Id: Ibbdd62ce4d5aaafd025a4e4a744486a669a463d8
    Reviewed-on: http://review.couchbase.org/10826
    Tested-by: Farshid Ghods <farshid.ghods@gmail.com>
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    snej committed Nov 11, 2011
  2. Eliminate delay in restarting CouchDB when app resumes

    * Instead of restarting the entire Erlang VM, just restart the couch_httpd server, which is very fast.
    * On wake, check whether the listener socket is still alive, and only restart if it's not.
    
    Change-Id: I00dcd8cf23ca5d9895c07f7f61e698926df1315a
    Reviewed-on: http://review.couchbase.org/11017
    Tested-by: Farshid Ghods <farshid.ghods@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    snej committed Nov 18, 2011
Commits on Nov 9, 2011
  1. Added CouchbaseMobile.logLevel property

    Logging defaults to level 0, i.e. none. Higher values enable various Erlang and CouchDB logs.
    Currently level 0 doesn't disable all logging, because there are various log messages in our Erlang patches
     that just write to stderr without going through any log facility. We should fix those later.
    
    Change-Id: I886e03e90dac6338da39cce6e42581893cb4dea8
    Reviewed-on: http://review.couchbase.org/10594
    Tested-by: Farshid Ghods <farshid.ghods@gmail.com>
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    snej committed Nov 3, 2011
Commits on Nov 2, 2011
  1. Updated SSL, with cert verification

    * Upgraded the Erlang SSL and public-key apps to R14B4
    from R14A. There are a number of changes including better
    cert validation, which is what we want.
    * Enabled verify_ssl_certificates by default in
    default_ios.ini.
    * Set the ssl_trusted_certificates_file to point to a file
    "CouchbaseTrustedCerts.pem" in the root of the app bundle.
    Developers can put their upstream server's root cert(s)
    there.
    * EmptyApp now includes such a cert file containing the
    root cert used by iriscouch.com, so that the SSL test will
    pass.
    
    Change-Id: I71c8230c9406f1ac9f5040eb60a2bb414529539a
    Reviewed-on: http://review.couchbase.org/10540
    Tested-by: Farshid Ghods <farshid.ghods@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    snej committed Nov 1, 2011
  2. Installed new Erlang SSL impl

    Upgraded ssl and publickey apps from Erlang R14A1 distribution.
    Added minimal SSL replication test case to EmptyAppTests.
    
    Change-Id: I7d2e2066b7e171ed6ac6327df80bd057e7da0691
    Reviewed-on: http://review.couchbase.org/10512
    Tested-by: Farshid Ghods <farshid.ghods@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    snej committed Oct 26, 2011
Commits on Oct 28, 2011
  1. Don't copy CouchbaseMobile.h into /usr/include

    There was some bogus build phase that was copying this...
    
    Change-Id: If2c5f8e497704015a97fe6339f6aec0234e8e430
    Reviewed-on: http://review.couchbase.org/10354
    Tested-by: Farshid Ghods <farshid.ghods@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    snej committed Oct 25, 2011
Commits on Oct 25, 2011
  1. Don't store our data in ~/Documents

    The Documents directory is potentially user-visible if the app
    enables iTunes file sharing.
    Instead, put our data files in ~/Library/Application Support/
    CouchbaseMobile/.
    Even better, make this configurable as a rootDirectory property
    of the CouchbaseMobile object.
    
    Change-Id: Ia40d22ea3341b3c892d00afde4ea5309587d8841
    Reviewed-on: http://review.couchbase.org/10316
    Tested-by: Farshid Ghods <farshid.ghods@gmail.com>
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    snej committed Oct 24, 2011
  2. Objective-C view support for Couchbase Mobile iOS

    This is a squashed commit of all the work done on other
    branches by Jonathon Mah & me.
    
    This commit adds source files to the Xcode project and Erlang
    build script; modifies some .ini and .app files;
    and adds unit tests.
    
    Change-Id: Idd8e6ef87efbeb9ade62868467b822dff8fbf357
    Reviewed-on: http://review.couchbase.org/10021
    Tested-by: Farshid Ghods <farshid.ghods@gmail.com>
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    snej committed Oct 9, 2011
  3. Fixed quoting problems in Erlang packaging scripts

    Conflicts:
    
    	Framework/Scripts/compile_erlang_dir.sh
    
    Change-Id: I740bb93c5a4aeedae6f139ddf3b201e7d88e6419
    Reviewed-on: http://review.couchbase.org/10020
    Tested-by: Farshid Ghods <farshid.ghods@gmail.com>
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    snej committed Oct 7, 2011
  4. Revert "Pack Erlang files into a zip archive"

    Turns out the Erlang zip-directory-reading code is so slow that
    this change doubled launch time.  :(
    
    This reverts commit 5741c00.
    
    Change-Id: I24c6a794f9cdebd22fa06e470a2ec832067130f6
    Reviewed-on: http://review.couchbase.org/10257
    Tested-by: Farshid Ghods <farshid.ghods@gmail.com>
    Reviewed-by: Marty Schoch <marty.schoch@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    snej committed Oct 20, 2011
Commits on Oct 4, 2011
  1. update the version to 2.0.0-beta in the correct config file

    Change-Id: I7b33882fc14018bc100d7cac344fb5dd679c0e22
    Reviewed-on: http://review.couchbase.org/9932
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Chris Anderson <jchris@couchbase.com>
    jchris committed Oct 4, 2011
Commits on Sep 30, 2011
  1. change timeout to 30 seconds to give a fighting chance to older devices

    Change-Id: Iaa3bf7c25e40983f71c99b7e84588409d6f7a8a2
    Reviewed-on: http://review.couchbase.org/9878
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Chris Anderson <jchris@couchbase.com>
    jchris committed Sep 30, 2011
Commits on Sep 27, 2011
  1. Build and configure Geocouch

    Change-Id: I1b91a94894cc5ef93a840d1191cb6d07b3dbdbcd
    Reviewed-on: http://review.couchbase.org/9756
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    Reviewed-by: Dale Harvey <daleharvey@arandomurl.com>
    Tested-by: Dale Harvey <daleharvey@arandomurl.com>
    daleharvey committed with Dale Harvey Sep 26, 2011
Commits on Sep 22, 2011
  1. Added test for string collation in views

    We have a custom string collation routine based on
    CFString (in couch_icu_driver.m) and it wasn't sorting
    strings the way CouchDB expects.
    This new test case will fail until the corresponding
    patch to iErl14 that fixes the bug is committed.
    
    Change-Id: I32141934bc51b43963c9343f239635b0b9098e34
    Reviewed-on: http://review.couchbase.org/9724
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Sep 22, 2011
  2. Add version numbering support to framework

    Enabled "Apple generic versioning" system.
    Initial build number is 23, in Info.plist.
    Use 'agvtool next-version' to bump it (and then commit
    the change to the project file.)
    
    Change-Id: I4f23c79a436607a0fa673875e23a3ed652ecc49a
    Reviewed-on: http://review.couchbase.org/9721
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Sep 22, 2011
Commits on Sep 21, 2011
  1. Pack Erlang files into a zip archive

    Reduces the total number of files in CouchbaseResources from 500+ to 5.
    Speeds up installs and saves about 900k of disk space (though total data size is unchanged.)
    
    Change-Id: Id404aeeefa7758c820116ebff3259d328ff65bd4
    Reviewed-on: http://review.couchbase.org/9677
    Reviewed-by: Aaron Miller <apage43@ninjawhale.com>
    Tested-by: Aaron Miller <apage43@ninjawhale.com>
    snej committed with apage43 Sep 20, 2011
  2. Concatenate util.js before emonk_app.js and emonk_mapred.js

    Change-Id: Ia8dbca7b5bd45a2bb5d3a025ae7537ee82c7167c
    Reviewed-on: http://review.couchbase.org/9344
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    Tested-by: Aaron Miller <apage43@ninjawhale.com>
    apage43 committed Sep 1, 2011
Commits on Sep 19, 2011
  1. Link against libz.dylib

    because iErl no longer includes the zlib sources.
    
    Change-Id: I01ae34112e075b8027a525495a547277c50ea0f8
    Reviewed-on: http://review.couchbase.org/9609
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Sep 15, 2011
Commits on Sep 15, 2011
  1. Fixed dir path (again) for cmd-line builds

    Change-Id: I5658aa82e7089c376bc627228964f0338ed83188
    Reviewed-on: http://review.couchbase.org/9506
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Sep 10, 2011
  2. Stop using OpenSSL

    Don't link libcrypto*.a into the library; instead link the
    EmptyApp against Security.framework.
    
    Change-Id: Iaddf6a723e38fcec1f6a9920f7df22d21a8ce8ea
    Reviewed-on: http://review.couchbase.org/9589
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Sep 14, 2011
Commits on Sep 10, 2011
  1. Allow to not use auto restart, and to manually restart.

    Change-Id: I03d58b2cbd1906a7347b411495600bf1bd201617
    Reviewed-on: http://review.couchbase.org/9485
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    apage43 committed with snej Sep 9, 2011
Commits on Sep 2, 2011
  1. Make EmptyApp itself run the unit tests, then exit

    This is for automated testing, since we can run apps
    in the simulator but not test bundles.
    
    Change-Id: I85b495955b394c835b62d89d424dba1333541bee
    Reviewed-on: http://review.couchbase.org/9354
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Sep 2, 2011
  2. Add Doxygen config file

    Change-Id: Ic93ad2cc359f61d7ce2385dcec6e6a6aced534a4
    Reviewed-on: http://review.couchbase.org/9310
    Reviewed-by: Marty Schoch <marty.schoch@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Reviewed-by: Aaron Miller <apage43@ninjawhale.com>
    Tested-by: Aaron Miller <apage43@ninjawhale.com>
    snej committed with apage43 Aug 31, 2011
Commits on Aug 30, 2011
  1. Fix command-line build of Listener app

    The script that installs CouchbaseResources got fixed for
    the EmptyApp target, but not the nearly identical Listener
    app target.
    In the spirit of DRY, I've factored the correct script out
    into a shared file installResources.sh that gets run by
    both targets.
    
    Change-Id: I2beefe347f53954fe4979be51e3890fc1d00fe97
    Reviewed-on: http://review.couchbase.org/9297
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Aug 30, 2011
Commits on Aug 26, 2011
  1. Fix DSTROOT references, to make installs work

    Change-Id: Ida501b9ba8b8776eb48ad01750329105b4ce49a8
    Reviewed-on: http://review.couchbase.org/9247
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Aug 26, 2011
Commits on Aug 25, 2011
  1. Added unit test for bignums in views

    This tests the fix for issue CBMI-34.
    
    Change-Id: I3e2012e64323c6ab3d182ea3eb0c6fd49ec36e83
    Reviewed-on: http://review.couchbase.org/9230
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Aug 25, 2011
Commits on Aug 24, 2011
  1. Some more build-flag tweaks

    - Prelink before building the static library (makes it a little smaller)
    - Turn on warnings-are-errors in EmptyApp
    - Turn off NS_BLOCK_ASSERTIONS because we always want assertions enabled.
    
    Change-Id: Iafb9fa8af5cf5384983f2dd457a9fa0e5d653932
    Reviewed-on: http://review.couchbase.org/9176
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Aug 23, 2011
  2. Fix ETag header access to work in iOS 4

    NSURLResponse's header dictionary is case-sensitive in iOS 4, but not in iOS 5.
    
    Change-Id: If262b09fc157487c391cbd9e32deda1c301344ec
    Reviewed-on: http://review.couchbase.org/9213
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Aug 24, 2011
  3. Create "Listener" app target/scheme

    A slight variant of the EmptyApp that listens on all network interfaces at the regular port 5984. This allows another host to talk to the database to test it.
    
    Change-Id: I9cfec4d9eb0d23a81a9ef221b5261f742fecf099
    Reviewed-on: http://review.couchbase.org/9214
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Aug 24, 2011
Commits on Aug 23, 2011
  1. Renamed CouchbaseEmbeddedServer->CouchbaseMobile

    And some other namesmithing too.
    
    Change-Id: I934d2abee130380702b432f011269690decd29d2
    Reviewed-on: http://review.couchbase.org/9133
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
    snej committed Aug 19, 2011
  2. Added test case test2_UpdateViews

    Test that the ETag in a view response changes after the view contents change.
    
    Change-Id: Ibe829b6a540e6f851f7215c85bdd2606903bc5e6
    Reviewed-on: http://review.couchbase.org/9057
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Reviewed-by: Aaron Miller <apage43@ninjawhale.com>
    Tested-by: Aaron Miller <apage43@ninjawhale.com>
    snej committed with jchris Aug 17, 2011
  3. Use latest iOS SDK but target iOS 4.

    Also fixed some settings that caused it to always link against the debug builds of iErl.
    
    Change-Id: I94f2634f015c6d24fd9c52e5a6433bd7b576d049
    Reviewed-on: http://review.couchbase.org/9170
    Tested-by: Chris Anderson <jchris@couchbase.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    snej committed with jchris Aug 22, 2011