Commits on Jan 9, 2013
  1. Bump fabric to 2.0.5

    Robert Newson
    Robert Newson committed Jan 9, 2013
Commits on Mar 20, 2012
  1. Invoke couch_view_updater with the proper arguments

    kocolosk committed Mar 20, 2012
    This fixes stale=update_after.
Commits on Jan 31, 2012
  1. Fix previous commit

    Robert Newson
    Robert Newson committed Jan 31, 2012
  2. Fix bug in replicator request piplining

    davisp committed Jan 31, 2012
    A replication with both an HTTP source and target on the same host and
    port could end up in a dead lock due to ibrowse replication pipelining
    when attachments are present on the source. The ibrowse http worker
    would end up forming a multipart/mime body using anonymous reader
    functions for attachment stubs. When the attachment stub functions are
    executed it is possible that they end up assigned to the same ibrowse
    This is a bit of a long path but then end result is equivalent to
    calling gen_server:call(self(), Args, infinity) from a gen_server
    A quick work around for users is to set up a DNA alias (possibly in
    /etc/hosts) or to use a combination of hostname and ip address so that
    ibrowse assigns the requests to different pools.
Commits on Jan 24, 2012
Commits on Jan 21, 2012
  1. Bump dependencies for pre7 release

    Robert Newson
    Robert Newson committed Jan 20, 2012
Commits on Jan 18, 2012
  1. Revert use of spawn_monitor

    Robert Newson
    Robert Newson committed Jan 18, 2012
    As Filipe correctly points out, we want the parent to die if the child dies.
Commits on Jan 17, 2012
  1. Bump to chttpd 1.4.2

    Robert Newson
    Robert Newson committed Jan 17, 2012
  2. Merge pull request #91 from cloudant/13133-attachment-replication

    Robert Newson
    Robert Newson committed Jan 17, 2012
    Fix attachment replication
    BugzID: 13133
Commits on Jan 16, 2012
  1. Only set the process dictionary if exit was ok

    Robert Newson
    Robert Newson committed Jan 16, 2012
  2. Use spawn_monitor to await process completion

    Robert Newson
    Robert Newson committed Jan 16, 2012
    BugzID: 13133
Commits on Jan 10, 2012
  1. Remove unused URLs

    kocolosk committed Jan 10, 2012
  2. Bump fabric and chttpd versions

    kocolosk committed Jan 10, 2012
    The fabric bump fixes some corner cases for read repair.  The chttpd
    bump improves error handling for delayed responses.
Commits on Dec 23, 2011
  1. Make cURL a soft dependency

    davisp authored and Robert Newson committed Nov 22, 2011
    This makes sure that we only optionally require the same version of cURL
    that CouchDB does.
Commits on Dec 12, 2011
  1. Set the stack size for sub contexts

    davisp committed Dec 1, 2011
    I was forgetting to pass the args through to evalcx so that it could use
    the stack size specified on the command line.
Commits on Nov 9, 2011
  1. Conditionally apply JSON encoding to update_seq values

    Robert Newson authored and kocolosk committed Nov 9, 2011
    BigCouch 0.3 cannot parse requests of the form /db/_changes?since="123-foo" so
    the recent ?JSON_ENCODE addition to Since in two places causes 0.3 <-> 0.4
    replication to fail with json_encode/badterm errors.
    This patch applies JSON encoding only when the Since value is not already a
    binary (i.e, when it's a [integer(), binary()]) and interop is restored.
    BugzID: 12833
Commits on Nov 8, 2011
  1. Simplify README

    kocolosk committed Nov 8, 2011
Commits on Nov 4, 2011
  1. Add a script to create a source tarball

    Robert Newson
    Robert Newson committed Nov 2, 2011
Commits on Oct 31, 2011
  1. Merge commit '1.1.1' into 0.4.x

    Robert Newson
    Robert Newson committed Oct 31, 2011
  2. Fix retrieval of headers larger than 4k

    kocolosk authored and Robert Newson committed Oct 26, 2011
    Our headers start with a <<1>> and then four bytes indicating the length
    of the header and its checksum. When the header is larger than 4090
    bytes it will be split across multiple blocks in the file and will need
    to be reassembled on read. The reassembly consists of stripping out
    <<0>> from the beginning of each subsequent block in the
    remove_block_prefixes/2 function. The bug here is that we tell
    remove_block_prefixes that we're starting 1 byte into the current block
    instead of 5, so it ends up removing one good byte from the header and
    injecting one or more random <<0>>s.
    Headers larger than 4k are very rare and generally require a view group
    with a huge number of indexes or indexes with fairly large reductions,
    which explains why this bug has gone undetected until now.
    Closes COUCHDB-1319.
Commits on Oct 24, 2011
  1. Fix SpiderMonkey source evaluation

    davisp committed Oct 24, 2011
    Looks like we had a couple commits get crossed over during the merges.
    This removes the original version of the patch that wrapped JS functions
    with parens.
Commits on Oct 23, 2011
  1. Hardcode couchjs binary name

    davisp committed Oct 23, 2011
    Windows doesn't have the libgen.h header or an easily identified
    basename function. Instead of playing games we just configure the name
    with autoconf and run with that.
Commits on Oct 20, 2011
  1. Fix object sealing with spidermonkey 1.7.0

    Robert Newson
    Robert Newson committed Oct 20, 2011
  2. Fix JavaScript CLI test runner.

    davisp committed Oct 20, 2011
    Accidentally inverted the logic of a test when patching for newer
    versions of SpiderMonkey.
Commits on Oct 19, 2011
  1. Revert "Build couchjs with C, not C++. Fixes libm error on CentOS."

    kocolosk committed Oct 19, 2011
    This reverts commit 6b26f47.
    Turns out the 'libm' error is a very obscure way of reporting a lack
    of a C++ compiler.
Commits on Oct 18, 2011
  1. Minor fixes to link agianst SpiderMonkey trunk

    davisp committed Oct 18, 2011
    This patch allows couchjs to link against the SpiderMonkey as it existed
    in the mercurial hash 59c1e6bdb11 from [1]. This does *not* ensure
    compatibility with CouchDB as there are other things that will also need
    to be fixed. Specifically, the anonymous function issue for builtin JS
  2. Prevent linking against too new of a SpiderMonkey

    davisp committed Oct 18, 2011
    Versions of SpiderMonkey newer than js185-1.0.0 have removed the
    JSOPTION_ANONFUNFIX which basically invalidates all CouchDB JavaScript
    functions ever written.
    This configure patch prevents the accidental linking to a library that
    has this new behavior while allowing people to forcefully override the