Permalink
Commits on Aug 7, 2012
Commits on Aug 16, 2011
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
Commits on Jul 22, 2011
  1. Refactor/simplify replicator

    fdmanana committed Jul 22, 2011
    For each worker (doc copier) process there used to be
    a rev finder process. A rev finder dequeues from the
    _changes rows queue, finds which document IDs and revisions
    are missing in the target and queues the IDs and revisions
    of those that are missing into a second queue. Finally
    worker processes dequeue up to N elements from this queue.
    
    This model was reduced to have the workers dequeing directly
    from the _changes rows queue and find which document IDs and
    revisions are missing in the target. This makes the model
    simpler without suffering any performance penalty - there's
    still enough parallelism to continue to be as efficient as
    before.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1149412 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jul 21, 2011
  1. Revert r1149077 "Don't falsly warn about empty result ranges with raw…

    janl committed Jul 21, 2011
    … collation views."
    
    This reverts commit 0a207bd4c4465ffcd7e287503606efef0f074fdc.
    
    There are issues with this patch, backing out and trying again.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1149083 13f79535-47bb-0310-9956-ffa450edef68
  2. Don't falsly warn about empty result ranges with raw collation views.

    janl committed Jul 21, 2011
    In the process of fixing 1228, couch_view:less_raw/2 and
    couch_view:get_less_fun/1 are introduced to give access to the
    respective data inside the couch_httpd_view  where the warning occurs
    as well as couch_view_group where the actual view updating is defined.
    
    Closes COUCHDB-1228.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1149077 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jul 19, 2011
  1. update year in NOTICE

    janl committed Jul 19, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1148456 13f79535-47bb-0310-9956-ffa450edef68
  2. Update jQuery to 1.6.2.

    janl committed Jul 19, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1148455 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jul 18, 2011
  1. Add a "Verify Installation" page to Futon.

    janl committed Jul 18, 2011
    The "verify install" procedure replaces	the full JS test suite for users
    to see if they installation is correct. The tests run check for CouchDB's
    basic feature set and should notify users of the most common installation
    issues.
    
    The full test suite is demoted to be "for Developers" in the sidebar, so
    that core CouchDB developers can keep using this for development and
    release testing, but end-users won't have to deal with the various
    browser and runtime issues on different hardware.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1147832 13f79535-47bb-0310-9956-ffa450edef68
  2. couch.js: move protocol detection into couch.js

    janl committed Jul 18, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1147831 13f79535-47bb-0310-9956-ffa450edef68
  3. remove extra double quotes from message

    janl committed Jul 18, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1147821 13f79535-47bb-0310-9956-ffa450edef68
  4. make copy_doc.js tests more expressive

    janl committed Jul 18, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1147820 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jul 15, 2011
  1. Fix COUCHDB-1197 - NIFs, .dll fixes for Windows

    tilgovi committed Jul 15, 2011
    Many thanks, Dave Cottlehuber.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1147001 13f79535-47bb-0310-9956-ffa450edef68
  2. Bump Windows ICU requirement to v4.4.*

    tilgovi committed Jul 15, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1147000 13f79535-47bb-0310-9956-ffa450edef68
  3. more portability for build search paths

    tilgovi committed Jul 15, 2011
    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: https://svn.apache.org/repos/asf/couchdb/trunk@1146999 13f79535-47bb-0310-9956-ffa450edef68