Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Dec 11, 2012

  1. Noah Slater

    Integrate Sphinx into autotools

    Integrate Sphinx into autotools
    - Remove M4 macros and require as external dependencies instead
    - Skip help2man generation if help2man is not installed
    - ensure THANKS file is only updated during make distcheck
    - Add TexInfo, PDF, HTML doc targets via Sphinx
    - Add licenses and header compliance checking
    - support optional builds of PDF, HTML, texinfo via Sphinx and pdflatex
    - support skipping docs or compiler tests for happy developers
    Travis: clean up package dependencies
    - include sphinx via aptitude
    - use spidermonkey 1.8.5 instead of default libmozjs
    - include latex components for building PDFs
    nslater authored dch committed

Dec 05, 2012

  1. Jan Lehnardt

    Require Erlang R13B04 or later

    janl authored

Jan 22, 2012

  1. Paul J. Davis

    Fix SpiderMonkey header detection

    My last commit broke because the header detection wasn't using the
    JS_CPPFLAGS that includes the search paths. Fix is simply to move that
    variable assignment to before the header check.
    davisp authored

Jan 21, 2012

  1. Paul J. Davis

    Fix SpiderMonkey version detection

    Randall's last patch to only test for JSOPTION_ANONFUNFIX ended up
    reordering the test before the headers were located. This ran into
    errors in version detection. This patch reorders the header location as
    well as adds a few more default search paths when no --with-js-include
    option is specified to account for newer SpiderMonkeys that puth their
    headers into $PREFIX/include/js.
    davisp authored

Jan 06, 2012

  1. Randall Leeds


    As of 32fb9f8 this should no longer be
    This reverts commit 2d90a12.
    tilgovi authored

Jan 03, 2012

  1. Randall Leeds

    Use ICU_CPPFLAGS instead of _CFLAGS

    This removes the need for c4f6ff9
    which was made in response to -ansi coming from icu-config on my
    system. Instead, it's more sensible to use the preprocessor flags from
    icu-config which provides the -I header locations and -D definitions
    but doesn't add a bunch of excessive warning flags or ansi conformance.
    This reverts commit c4f6ff9.
    tilgovi authored

Dec 29, 2011

  1. Randall Leeds

    Minor doc and configure fixes for old JS engines

    Old, 1.7 series, versions of SpiderMonkey don't have the symbol
    JSOPTION_ANONFUNFIX so don't perform the check for it unless building
    with a newer version (1.8.5+).
    And as long as 1.7 is still supported, don't say that 1.8 is required
    in the INSTALL docs.
    Fixes COUCHDB-1371
    tilgovi authored

Dec 14, 2011

  1. Randall Leeds


    Reported to fix homebrew builds under jenkins (cc daleharvey)
    tilgovi authored

Dec 05, 2011

  1. create couch_replicator application.

    First step, move files in couch_replicator application & add them
    benoitc authored

Oct 30, 2011

  1. Trond Norbye

    Try to determine the location of erl_driver.h at configure time

    Use the existence of erl in path to try to figure out where the
    file should be located unless the user specified it.
    Patch by Trond Norbye.
    Closes COUCHDB-162
    trondn authored janl committed

Oct 23, 2011

  1. Paul J. Davis

    Hardcode couchjs binary name

    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.
    davisp authored

Oct 18, 2011

  1. Paul J. Davis

    Minor fixes to link agianst SpiderMonkey trunk

    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
    davisp authored
  2. Paul J. Davis

    Prevent linking against too new of a SpiderMonkey

    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
    davisp authored

Oct 02, 2011

  1. Randall Leeds

    improve argument parsing in couchjs

    This change makes argument parsing in couchjs more robust:
      * Removes the need for couchjs script
      * Adds long options
      * Makes all the options to couchjs available (fix COUCHDB-893)
    tilgovi authored

Sep 15, 2011

  1. Paul J. Davis

    Create the couch_mrview application.

    The couch_mrview application is the implementation of the current
    couchdb map/reduce views. This implementation is 100% compatible with
    trunk and serves as a reference implementation for other indexers.
    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    davisp authored
  2. Paul J. Davis

    Create the couch_index application.

    The couch_index application is responsible for managing all of the
    different types of indexers. This manages the process handling for
    keeping track of the index state as well as managing the updater and
    compactor handling.
    New indexers can be added by creating a new application that provides a
    callback module that exports the required API. This module combined with
    a db and design doc make up the definition of an index.
    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    davisp authored

Sep 12, 2011

  1. Randall Leeds

    Insane libtool hackery for windows (COUCHDB-1197)

    Patch by Dave Cottlehuber
    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    tilgovi authored

Sep 10, 2011

  1. Filipe Manana

    Use EJSON compare NIF only if OTP version > R14B03

    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana authored

Sep 07, 2011

  1. Randall Leeds

    additional libtool lubrication for windows build

    This is related to COUCHDB-1197
    Thanks Dave Cottlehuber for the patch
    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    tilgovi authored

Sep 02, 2011

  1. Paul J. Davis

    Fix CouchJS compatibility with older Spidermonkey.

    The recent patch to enable support for SM 1.8.5 broke support for
    1.7.0. This patch updates couchjs to work with all of the major
    variants of Spidermonkey.
    Versions tested:
        1.9.2.something (XULRunner)
    Various combinations have been tested on OS X, Ubuntu, FreeBSD and
    Fixes COUCHDB-1260
    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    davisp authored

Aug 25, 2011

  1. add couch-config file used to ease the build of plugin. close ticket

    #COUCHDB-1012 .
    Usage :
        $ ./bin/couch-config
        Usage: couch-config [OPTION]
        The couch-config command runs the Apache CouchDB configuration
          --erl-libs-dir    Erlang library directory
          --config-dir      configuration directory
          --db-dir          database dirrectory
          --view-dir        view index directory
          --static-dir      static asset directory
          --doc-dir         documentation directory
          --log-dir         log directory
          --uri-file        daemon sockets file
          --couch-version   version of Apache CouchDB
          --version         version of couch-config_dev
          --help            Print usage
        If you want to add an option in couch-config or report bugs please
    do it
        at <>.
    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    Benoit Chesneau authored

Jul 15, 2011

  1. Randall Leeds

    Fix COUCHDB-1197 - NIFs, .dll fixes for Windows

    Many thanks, Dave Cottlehuber.
    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    tilgovi authored
  2. Randall Leeds

    more portability for build search paths

    With this change, the default search paths for headers and libraries
    are appended so that they do not override any environment variables
    either exported or set on the command line, as per ./configure --help.
    Also, don't add these paths for windows builds. It can confuse the
    selection of the proper ssl libs.
    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    tilgovi authored

Jul 10, 2011

  1. Filipe Manana

    Add NIF version for the less_json function

    This is a NIF implementation of the existing less_json
    function used for view collation. It speeds up the view
    collation process. It fallbacks to the pure Erlang
    implementation when running on OTP R13B04 or older.
    This is part of COUCHDB-1186 and closes it.
    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana authored

Jun 19, 2011

  1. Randall Leeds

    Fix COUCHDB-1078 - Port couchjs to newest libmozjs

    As usually, please test and report any build system problems as I
    cannot test every configuration.
    Thanks to Chris Coulson for the original patch.
    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    tilgovi authored

Jun 17, 2011

  1. Filipe Manana

    Upgrade snappy to version 1.0.3

    This new version slightly improves decompression speed.
    Release notes at:
    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana authored

Jun 13, 2011

  1. Randall Leeds

    restore default include paths from pre-1033 patch

    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    tilgovi authored

Jun 08, 2011

  1. Randall Leeds

    typo (sorry/thanks bitdiddle)

    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    tilgovi authored
  2. Randall Leeds

    let icu decide how to link itself

    icu-config on my Ubuntu 11.04 system gives back -ansi.
    I changed the comments to conform and icu driver compiles.
    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    tilgovi authored
  3. Randall Leeds

    prevent excessive linking of mozjs - COUCHDB-1033

    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    tilgovi authored
  4. Randall Leeds

    link couchjs w mozjs (COUCHDB-562)

    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    tilgovi authored
  5. Randall Leeds

    include pkg-config macros

    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    tilgovi authored

May 02, 2011

  1. Filipe Manana

    Add configurable file compression (snappy, deflate or none)

    Not only this makes database and view index files smaller it also increases
    database read/write performance, view index generation (specially for large
    documents and/or documents with nested JSON structures) and compaction.
    Closes COUCHDB-1120.
    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana authored

Apr 05, 2011

  1. Filipe Manana

    Added ejson application

    This is a NIF based JSON decoder/encoder based on Paul Davis' eep0018
    implementation (, with some modifications
    from Damien (big number support and optimizations) on top, plus a few fixes
    from my side and Benoît on top of Damien's fork.
    This module fallbacks to mochijson2 when the NIF is not loaded or compiled.
    The NIF is only compiled and used if we're using an OTP release >= R13B04.
    Thanks everyone. Closes COUCHDB-1118.
    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana authored

Mar 30, 2011

  1. Paul J. Davis

    Avoid -lcurl when libcurl is not found.

    Closes COUCHDB-1042
    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
    davisp authored
Something went wrong with that request. Please try again.