Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 24, 2013
  1. @snej

    Updated README to make it clear this is obsolete

    snej authored
    Change-Id: I90624b88ad6a058b7d9f76ec9165c25f217fed22
    Reviewed-on: http://review.couchbase.org/24187
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
Commits on Mar 30, 2012
  1. @snej

    Redirect stdout to a file, to work around a hang in iOS 5.1.

    snej authored
    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>
Commits on Feb 1, 2012
  1. @snej @farshidce

    Added 'Getting Started.pdf' file that gets built into the release arc…

    snej authored farshidce committed
    …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>
Commits on Nov 21, 2011
  1. @snej

    Adds an admin account/password for better security.

    snej authored
    - 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>
  2. @snej

    Eliminate delay in restarting CouchDB when app resumes

    snej authored
    * 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>
Commits on Nov 9, 2011
  1. @snej

    Added CouchbaseMobile.logLevel property

    snej authored
    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>
Commits on Nov 2, 2011
  1. @snej

    Updated SSL, with cert verification

    snej authored
    * 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>
  2. @snej

    Installed new Erlang SSL impl

    snej authored
    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>
Commits on Oct 28, 2011
  1. @snej

    Don't copy CouchbaseMobile.h into /usr/include

    snej authored
    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>
Commits on Oct 25, 2011
  1. @snej

    Don't store our data in ~/Documents

    snej authored
    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>
  2. @snej

    Objective-C view support for Couchbase Mobile iOS

    snej authored
    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>
  3. @snej

    Fixed quoting problems in Erlang packaging scripts

    snej authored
    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>
  4. @snej

    Revert "Pack Erlang files into a zip archive"

    snej authored
    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>
Commits on Oct 4, 2011
  1. @jchris

    update the version to 2.0.0-beta in the correct config file

    jchris authored
    Change-Id: I7b33882fc14018bc100d7cac344fb5dd679c0e22
    Reviewed-on: http://review.couchbase.org/9932
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Chris Anderson <jchris@couchbase.com>
Commits on Sep 30, 2011
  1. @jchris

    change timeout to 30 seconds to give a fighting chance to older devices

    jchris authored
    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>
Commits on Sep 27, 2011
  1. @daleharvey

    Build and configure Geocouch

    daleharvey authored Dale Harvey committed
    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>
Commits on Sep 22, 2011
  1. @snej

    Added test for string collation in views

    snej authored
    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>
  2. @snej

    Add version numbering support to framework

    snej authored
    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>
Commits on Sep 21, 2011
  1. @snej @apage43

    Pack Erlang files into a zip archive

    snej authored apage43 committed
    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>
  2. @apage43

    Concatenate util.js before emonk_app.js and emonk_mapred.js

    apage43 authored
    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>
Commits on Sep 19, 2011
  1. @snej

    Link against libz.dylib

    snej authored
    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>
Commits on Sep 15, 2011
  1. @snej

    Fixed dir path (again) for cmd-line builds

    snej authored
    Change-Id: I5658aa82e7089c376bc627228964f0338ed83188
    Reviewed-on: http://review.couchbase.org/9506
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
  2. @snej

    Stop using OpenSSL

    snej authored
    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>
Commits on Sep 10, 2011
  1. @apage43 @snej

    Allow to not use auto restart, and to manually restart.

    apage43 authored snej committed
    Change-Id: I03d58b2cbd1906a7347b411495600bf1bd201617
    Reviewed-on: http://review.couchbase.org/9485
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
Commits on Sep 2, 2011
  1. @snej

    Make EmptyApp itself run the unit tests, then exit

    snej authored
    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>
  2. @snej @apage43

    Add Doxygen config file

    snej authored apage43 committed
    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>
Commits on Aug 30, 2011
  1. @snej

    Fix command-line build of Listener app

    snej authored
    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>
Commits on Aug 26, 2011
  1. @snej

    Fix DSTROOT references, to make installs work

    snej authored
    Change-Id: Ida501b9ba8b8776eb48ad01750329105b4ce49a8
    Reviewed-on: http://review.couchbase.org/9247
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Jens Alfke <jens@couchbase.com>
Commits on Aug 25, 2011
  1. @snej

    Added unit test for bignums in views

    snej authored
    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>
Commits on Aug 24, 2011
  1. @snej

    Some more build-flag tweaks

    snej authored
    - 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>
  2. @snej

    Fix ETag header access to work in iOS 4

    snej authored
    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>
  3. @snej

    Create "Listener" app target/scheme

    snej authored
    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>
Commits on Aug 23, 2011
  1. @snej

    Renamed CouchbaseEmbeddedServer->CouchbaseMobile

    snej authored
    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>
  2. @snej @jchris

    Added test case test2_UpdateViews

    snej authored jchris committed
    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>
  3. @snej @jchris

    Use latest iOS SDK but target iOS 4.

    snej authored jchris committed
    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>
Something went wrong with that request. Please try again.