Permalink
Commits on Aug 25, 2011
  1. Remove Style where we have no need for it

    kocolosk committed Aug 25, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1161698 13f79535-47bb-0310-9956-ffa450edef68
  2. Do not suppress old revisions from _changes

    kocolosk committed Aug 25, 2011
    Requests to '_changes?style=all_docs' with a 'since' parameter would
    suppress revisions of a document generated before the start of the
    feed.  The assumption may have been that those revisions were seen by
    the client in a previous request to _changes, but this is not
    necessarily true if the client is resuming the feed after a partial
    download.
    
    The safe thing to do is to include all leaf revisions for each document
    in the feed.
    
    Thanks Bob Dionne for the test code.
    
    Closes COUCHDB-1256
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1161697 13f79535-47bb-0310-9956-ffa450edef68
  3. add couch-config file used to ease the build of plugin. close ticket

    Benoit Chesneau committed Aug 25, 2011
    #COUCHDB-1012 .
    
    Usage :
    
        $ ./bin/couch-config
        Usage: couch-config [OPTION]
    
        The couch-config command runs the Apache CouchDB configuration
    helper
        script.
    
        Options:
    
          --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 <https://issues.apache.org/jira/browse/COUCHDB>.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1161695 13f79535-47bb-0310-9956-ffa450edef68
Commits on Aug 24, 2011
  1. Add after clause to receive expression

    fdmanana committed Aug 24, 2011
    When doing parallel view compaction, make sure the
    respective process terminates when it exceeds the
    allowed period window and strict_window is set to
    true.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1160966 13f79535-47bb-0310-9956-ffa450edef68
  2. Don't open database or view group if not needed

    fdmanana committed Aug 24, 2011
        
    If we're not in the allowed time window for a compaction,
    don't open the database or a view group because it will be
    pointless.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1160965 13f79535-47bb-0310-9956-ffa450edef68
Commits on Aug 23, 2011
  1. bring windows in line with r1001283 (COUCHDB-1197)

    tilgovi committed Aug 23, 2011
    Thanks to Dave Cottlehuber for the patch.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1160857 13f79535-47bb-0310-9956-ffa450edef68
Commits on Aug 22, 2011
  1. whitspace: tabs -> spaces

    janl committed Aug 22, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1160310 13f79535-47bb-0310-9956-ffa450edef68
  2. add verify_install.html to install targets

    janl committed Aug 22, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1160309 13f79535-47bb-0310-9956-ffa450edef68
Commits on Aug 20, 2011
  1. Add configurable automatic compaction

    fdmanana committed Aug 20, 2011
    A set of rules can now be defined in order to automatically
    trigger the compaction of databases and their views. This
    configuration can be global or overrided for specific
    databases. By default it's disabled. Enabling it can be
    done via the .ini configuration by simply adding global
    or database specific compaction rules.
    
    Closes COUCHDB-1153.
    Thanks everyone involved who gave feedback and suggestions
    for improvements.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1159922 13f79535-47bb-0310-9956-ffa450edef68
Commits on Aug 18, 2011
  1. COUCHDB-822 - maximum size of external body should follow the same ru…

    rnewson committed Aug 18, 2011
    …les as documents themselves.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1159300 13f79535-47bb-0310-9956-ffa450edef68
  2. Add missing assertions to test/etap/210-os-proc-pool.t

    fdmanana committed Aug 18, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1159058 13f79535-47bb-0310-9956-ffa450edef68
  3. Added executable bit to test/etap/210-os-proc-pool.t

    fdmanana committed Aug 18, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1159047 13f79535-47bb-0310-9956-ffa450edef68
  4. Fix dead lock case in the os process pool

    fdmanana committed Aug 18, 2011
    Part of this patch was done by Paul Davis.
    The patch also introduces a test case to validate that
    the os process pool (couch_query_servers) operates as it
    should.
    Closes COUCHDB-1246.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1159045 13f79535-47bb-0310-9956-ffa450edef68
Commits on Aug 15, 2011
  1. Fix C pointer cast to the right type

    fdmanana committed Aug 15, 2011
    This was making init:restart() crash the Erlang VM on a
    Mac OS X Lion 64 bits machine.
    
    References:
    http://www.erlang.org/doc/man/erl_driver.html#driver_free
    http://erlang.org/pipermail/erlang-bugs/2011-August/002549.html
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1157693 13f79535-47bb-0310-9956-ffa450edef68
Commits on Aug 13, 2011
  1. Better logger performance

    fdmanana committed Aug 13, 2011
        
    Logging to file now uses OTP's specialized disk_log module.
    Writes to the log file are no longer done inside the gen_event
    handler but instead forwarded to disk_log.
        
    For debug and info level messages, we use disk_log's
    asynchronous API, while for error messages we use the
    synchronous API (we want to avoid losing error messages if
    the server is killed/crashes, as they provide useful
    information about what went wrong before a crash).
        
    Closes COUCHDB-1218.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1157434 13f79535-47bb-0310-9956-ffa450edef68
  2. Doc validation functions from deleted ddocs must be ignored

    fdmanana committed Aug 13, 2011
    If a design document is deleted by updating it with a "_deleted"
    field set to the boolean value true, its validate_doc_update function
    should be ignored for subsequent document insertions/updates.
    
    This closes COUCHDB-1227.
    
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1157428 13f79535-47bb-0310-9956-ffa450edef68
Commits on Aug 12, 2011
  1. Fix function_clause error when using externals

    fdmanana committed Aug 12, 2011
        
    This was introduced by revision 1144844.
    Closes COUCHDB-1241.
    
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1157262 13f79535-47bb-0310-9956-ffa450edef68
  2. consolidate Replicator sections in CHANGES.

    rnewson committed Aug 12, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1157255 13f79535-47bb-0310-9956-ffa450edef68
  3. COUCHDB-1242 - validate that query_params are strings.

    rnewson committed Aug 12, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1157195 13f79535-47bb-0310-9956-ffa450edef68
Commits on Aug 11, 2011
  1. small fix to all_docs.js for style.

    rnewson committed Aug 11, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1156610 13f79535-47bb-0310-9956-ffa450edef68
  2. Fix empty range check for raw collation.

    davisp committed Aug 11, 2011
    The check for empty ranges was not taking into account the
    view option for raw collation. This fixes that by passing
    the couch_btree:less/2 function into the check.
    
    Patch by: Jason Smith
    Re: COUCHDB-1228 4/4
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1156509 13f79535-47bb-0310-9956-ffa450edef68
  3. Whitespace and comment clarification.

    davisp committed Aug 11, 2011
    Patch by: Jason Smith
    Re: COUCHDB-1228 3/4
    
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1156508 13f79535-47bb-0310-9956-ffa450edef68
  4. Parse temp view parameters after the view is created

    davisp committed Aug 11, 2011
    Patch by: Jason Smith
    Re: COUCHDB-1228 2/4
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1156507 13f79535-47bb-0310-9956-ffa450edef68
  5. Export the official is-less-than btree predictate

    davisp committed Aug 11, 2011
    Patch by: Jason Smith
    Re: COUCHDB-1228 1/4
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1156506 13f79535-47bb-0310-9956-ffa450edef68
Commits on Aug 10, 2011
  1. Revert couch_server changes added in revision 1156360

    fdmanana committed Aug 10, 2011
    Leaving the tests however since it doesn't hurt.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1156381 13f79535-47bb-0310-9956-ffa450edef68
  2. COUCHDB-1245 - enforce maximum chunk size for _log call to better man…

    rnewson committed Aug 10, 2011
    …age memory.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1156370 13f79535-47bb-0310-9956-ffa450edef68
  3. Prevent data loss on db creation request

    fdmanana committed Aug 10, 2011
        
    1) Create and populate a database
    2) Restart the server
    3) Send a PUT request to create the database - the server
       will override the existing file, making all previous
       documents no longer accessible nor recoverable
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1156360 13f79535-47bb-0310-9956-ffa450edef68
  4. Allow by "doc ids" pull replications from a 1.0 server

    fdmanana committed Aug 10, 2011
    CouchDB 1.0 and older releases don't have the builtin _changes
    feed filter "_doc_ids" (neither support POSTs against _changes).
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1156324 13f79535-47bb-0310-9956-ffa450edef68
Commits on Aug 9, 2011
  1. Allow "versioned" names of the auto-tools to be used.

    janl committed Aug 9, 2011
    Previously bootstrap required aclocal/automake to be available as
    "aclocal" and "automake", but some platforms allows multiple versions
    of these tools to be installed and makes them available as
    "aclocal-<version>".
    
    This patch extends the bootstrap script to try to search for various
    names for the tools.
    
    Patch by Trond Norbye.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1155352 13f79535-47bb-0310-9956-ffa450edef68
Commits on Aug 2, 2011
  1. Return HTTP code 202 for continuous replications

    fdmanana committed Aug 2, 2011
    This was the behaviour of the previous replicator's
    implementation. Issue identified by Dale Harvey.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1153250 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jul 30, 2011
  1. add an etap test for btree traversal callbacks

    tilgovi committed Jul 30, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1152399 13f79535-47bb-0310-9956-ffa450edef68
  2. Fix COUCHDB-1076 - views skip empty btree branches

    tilgovi committed Jul 30, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1152398 13f79535-47bb-0310-9956-ffa450edef68
  3. Call traversal handlers in btree folds

    tilgovi committed Jul 30, 2011
    Previously the fold function was only invoked for leafs.
    With this change it's possible to define a fold function which is called
    for inner nodes and can return a tuple {skip, Acc} in order to skip
    exploration of the branch.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1152397 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jul 25, 2011
  1. assert that calls to file functions actually succeed.

    rnewson committed Jul 25, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1150915 13f79535-47bb-0310-9956-ffa450edef68