Permalink
Commits on May 3, 2011
  1. Added missing static qualifier, and inline hint, to internal functions

    fdmanana committed May 3, 2011
    g++ 4.4.5 with -Winline says that only make_error is not inlined since calls to it
    are unlikely.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1099030 13f79535-47bb-0310-9956-ffa450edef68
Commits on May 2, 2011
  1. Fix compatibility with R13B04

    davisp committed May 2, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1098719 13f79535-47bb-0310-9956-ffa450edef68
  2. Refactored snappy NIF.

    davisp committed May 2, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1098691 13f79535-47bb-0310-9956-ffa450edef68
  3. Updated svn:ignore properties.

    davisp committed May 2, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1098687 13f79535-47bb-0310-9956-ffa450edef68
  4. Fix `make distcheck`

    fdmanana committed May 2, 2011
    Thanks Randall Leeds for finding out that the backslash was missing.
    This is related to COUCHDB-1120.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1098670 13f79535-47bb-0310-9956-ffa450edef68
  5. Add configurable file compression (snappy, deflate or none)

    fdmanana committed May 2, 2011
    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: https://svn.apache.org/repos/asf/couchdb/trunk@1098558 13f79535-47bb-0310-9956-ffa450edef68
Commits on Apr 29, 2011
Commits on Apr 28, 2011
  1. svn:ignore for test_cfg_register

    davisp committed Apr 28, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1097640 13f79535-47bb-0310-9956-ffa450edef68
  2. Silence more compiler warnings.

    davisp committed Apr 28, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1097604 13f79535-47bb-0310-9956-ffa450edef68
  3. Silence compiler warning.

    davisp committed Apr 28, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1097603 13f79535-47bb-0310-9956-ffa450edef68
  4. Use correct block offset when loading header

    fdmanana committed Apr 28, 2011
    So far this was not a problem since our headers are always
    smaller then 4091 bytes.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1097593 13f79535-47bb-0310-9956-ffa450edef68
  5. Make test count deterministic.

    davisp committed Apr 28, 2011
    The checks for the HTTP status code in the view compaction were
    causing the number of tests to be no deterministic.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1097300 13f79535-47bb-0310-9956-ffa450edef68
  6. make test case executable

    janl committed Apr 28, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1097293 13f79535-47bb-0310-9956-ffa450edef68
Commits on Apr 27, 2011
  1. revert COUCHDB-1141 pending dev discussion.

    rnewson committed Apr 27, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1097082 13f79535-47bb-0310-9956-ffa450edef68
  2. COUCHDB-1141 - drop body if document is deleted.

    rnewson committed Apr 27, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1097048 13f79535-47bb-0310-9956-ffa450edef68
Commits on Apr 25, 2011
  1. Fix vhosts for https and fix vhost dependence on sorting of

    janl committed Apr 25, 2011
    values in the config system which isn't guaranteed.
    
    Make vhost test cases more robust.
    
    Closes COUCHDB-1103
    
    Source patch by Benoit and tests patch by me.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1096635 13f79535-47bb-0310-9956-ffa450edef68
Commits on Apr 23, 2011
  1. View groups: only open the databases when needed

    fdmanana committed Apr 23, 2011
    View groups keep the databases open all the time. This is a problem
    once the server reaches max_dbs_open open databases, as it prevents
    the server from closing inactive databases via the LRU system.
    
    Closes COUCHDB-1138.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1096252 13f79535-47bb-0310-9956-ffa450edef68
  2. Ignore pre 1.2 non leaf rev values without size information

    fdmanana committed Apr 23, 2011
    These are not necessary for the calculation of the data size and, in some
    cases by ignoring them, it can lead to a non nil database data size value
    without requiring a full compaction in advance.
    
    --This line, and those below, will be ignoed--
    
    M    trunk/src/couchdb/couch_db_updater.erl
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1096151 13f79535-47bb-0310-9956-ffa450edef68
  3. Add missing guard for leaf data size computation

    fdmanana committed Apr 23, 2011
    This is necessary when dealing with pre 1.2 database files.
    This could be reproduced by adding a conflict revision to an existing pre 1.2
    database.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1096132 13f79535-47bb-0310-9956-ffa450edef68
  4. Fix random errors in 173-os-daemon-cfg-register.t

    davisp committed Apr 23, 2011
    The daemon script this test used previously was an escript which
    would occasionally cause errors if the Erlang VM took too long
    to boot up.
    
    This fixes the issue by replacing the escript with a trivial C
    program.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1096098 13f79535-47bb-0310-9956-ffa450edef68
Commits on Apr 21, 2011
  1. print https address if enabled. add to URI file also.

    rnewson committed Apr 21, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1095676 13f79535-47bb-0310-9956-ffa450edef68
  2. stop module if httpd/bind_address is changed.

    rnewson committed Apr 21, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1095641 13f79535-47bb-0310-9956-ffa450edef68
  3. default SSL port is 6984.

    rnewson committed Apr 21, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1095640 13f79535-47bb-0310-9956-ffa450edef68
  4. Add missing clause to deal with old databases when computing the data…

    fdmanana committed Apr 21, 2011
    … size
    
    Closes COUCHDB-1134.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1095639 13f79535-47bb-0310-9956-ffa450edef68
  5. Make local_dev.ini the last file in the config chain.

    davisp committed Apr 21, 2011
    Having random_port.ini last in the chain causes etap tests
    to fail because its in the tarball section which is readonly
    in a VPATH build.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1095581 13f79535-47bb-0310-9956-ffa450edef68
  6. Fix ejson build system.

    davisp committed Apr 21, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1095580 13f79535-47bb-0310-9956-ffa450edef68
  7. Fix build system to include new files.

    davisp committed Apr 21, 2011
    Forgot to update the build system after I remembered to svn add them.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1095569 13f79535-47bb-0310-9956-ffa450edef68
Commits on Apr 20, 2011
  1. Fix glitch in progress spinner gif.

    davisp committed Apr 20, 2011
    Thanks to Nathan Vander Wilt for the updated gifs.
    
    Closes COUCHDB-984
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1095557 13f79535-47bb-0310-9956-ffa450edef68
  2. Replace replication destination db UI element.

    davisp committed Apr 20, 2011
    This changes the replicator's destination db from a drop down list
    to a text input with autocomplete. This allows people to replicate
    into a database that doesn't exist more easily. The autocomplete
    maintains the usability of finding an existing database.
    
    Thanks to Sam Bisbee for the patch.
    
    Fixes COUCHDB-1131
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1095523 13f79535-47bb-0310-9956-ffa450edef68
  3. Track used space for database and view index files

    fdmanana committed Apr 20, 2011
    The database and view group info URIs now expose a new field, named "data_size",
    which corresponds to the number of bytes used by the current data snapshot.
    Users can now use this value, compare it to the "disk_size" value (total file size)
    and decide whether or not to trigger a compaction based on this comparison.
    This new value is an approximation and therefore not 100% accurate (but close enough).
    
    Closes COUCHDB-1132.
    
    Special thanks to Adam Kocoloski and Robert Dionne for they're good work on this
    feature as well.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1095477 13f79535-47bb-0310-9956-ffa450edef68
  4. Avoid replicator_db.js test failures due to timing issues

    fdmanana committed Apr 20, 2011
    These happen sometimes on slower machines.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1095386 13f79535-47bb-0310-9956-ffa450edef68