Permalink
Commits on Sep 29, 2011
  1. Remove usage of http module from etap tests

    This module is deprecated in OTP R15, which is going to
    be released by the end of this year.
    The etap tests now use ibrowse instead.
    
    This is a backport of revision 1177459 from trunk.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1177463 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Sep 29, 2011
Commits on Sep 28, 2011
  1. handle bigcouch sequences in futon.browse.js

    Robert Newson committed Sep 28, 2011
  2. Merge 1.1.x because Paul Davis kept his important bug fix super secre…

    …t while I was slaving away on this merge for two days.
    Robert Newson committed Sep 28, 2011
  3. remove bad new tests. evil tests, I keel you.

    Robert Newson committed Sep 28, 2011
  4. Merge 1.1.x changes

    Conflicts:
    	apps/couch/include/couch_db.hrl
    	apps/couch/src/couch_db.erl
    	apps/couch/src/couch_os_process.erl
    	apps/couch/src/couch_query_servers.erl
    	apps/couch/src/couch_rep.erl
    	apps/couch/src/couch_replication_manager.erl
    	apps/couch/src/couch_view_compactor.erl
    	apps/couch/src/couch_view_group.erl
    	apps/couch/src/couch_view_updater.erl
    	configure.ac
    	couchjs/c_src/http.c
    	couchjs/c_src/main.c
    	couchjs/c_src/utf8.c
    	etc/windows/couchdb.iss.tpl
    	src/couchdb/priv/Makefile.am
    	src/couchdb/priv/couch_js/main.c
    	test/etap/160-vhosts.t
    	test/etap/200-view-group-no-db-leaks.t
    	test/etap/Makefile.am
    
    BugzID: 12645
    Robert Newson committed Sep 28, 2011
  5. Rest of the fix for COUCHDB-1265

    As a follow up to COUCHDB-1265 I was missing the fact that after the
    insertion of a new update_seq into an internal node it is quite possible
    that a compaction runs before the doc is updated again. This is
    important because compaction removes information of the largest update
    seq from the tree itself.
    
    The fix is simple to include the update_seq from the #full_doc_info{}
    record when calculating #doc_info.high_seq. The way to think of this
    is that it's the maximum value from all known values for the update
    sequence which can be defined as all values known in the tree or in the
    full_doc_info record.
    
    Backport of r1176701 from trunk
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1176704 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed Sep 28, 2011
  6. Allow CommonJS modules to be an empty string.

    We were making a typical JavaScript mistake testing a module for
    truthiness instead of checking that it was undefined.
    
    Fixes COUCHDB-1223
    Backport of r1176677 from trunk
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1176679 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed Sep 28, 2011
Commits on Sep 27, 2011
  1. Fix function evaluation by newer SpiderMonkey's.

    Found this error using the Debian package for SM 1.8.5 and have since
    had reports of users seeing it as well. The basic error is that some
    versions of SpiderMonkey appear to dislike this call to eval:
    
        eval("function(){}");
    
    The fix is simply to wrap the function source in parenthesis so that
    SM is convinced that it knows how to evaluate a function.
    
    Backport of r1176666 from trunk.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1176667 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed Sep 27, 2011
  2. Fixes COUCHDB-1152 - Update ICU on Windows.

    Thanks to Dave Cottlehuber for the patch.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1176651 13f79535-47bb-0310-9956-ffa450edef68
    rnewson committed Sep 27, 2011
  3. Merge commit '34ba230324bb329ce5ed54d703dcb4d84a65ab86'

    Robert Newson committed Sep 27, 2011
  4. set cluster_ssl correctly, and tidy chttps section.

    Robert Newson committed Sep 13, 2011
Commits on Sep 26, 2011
  1. add https support.

    benoitc committed with Robert Newson Sep 13, 2011
Commits on Sep 23, 2011
  1. Write header before handing over compacted group

    Writing the header first ensures that the index will not be reset if
    the server crashes in between the handoff and the next delayed_commit.
    
    See COUCHDB-994
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1174979 13f79535-47bb-0310-9956-ffa450edef68
    kocolosk committed Sep 23, 2011
Commits on Sep 22, 2011
  1. Updated CouchJS to support SpiderMonkey 1.8.5

    This is tested against the 1.7.0, 1.8.0rc1, and 1.8.5 tarballs from
    Mozilla's FTP directory. It's mostly the same code from trunk minus a
    few tweaks to get it past a couple type errors using c++ instead of cc.
    davisp committed Sep 6, 2011
  2. fix port conversion in vhost

    fix port conversion, don't forget to use substr function. spotted by
    @rnewson on irc, again. thanks. patch by benoitc.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1174358 13f79535-47bb-0310-9956-ffa450edef68
    rnewson committed Sep 22, 2011
Commits on Sep 15, 2011
  1. Make sure view compaction terminates

    If a view group is compacting and the corresponding database
    is shutdown by the LRU system, then the view compaction is
    aborted because its couch view group process shutdowns.
    This could lead to situations where the number of active
    databases is much higher than max_dbs_open and making it
    impossible to compact view groups.
    
    Issue reported and patch tested by Mike Leddy. Thanks.
    
    COUCHDB-1283
    
    This is a backport of revision 1171328 from branch 1.2.x
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1171329 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Sep 15, 2011
  2. remove trailing comma

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1171170 13f79535-47bb-0310-9956-ffa450edef68
    janl committed Sep 15, 2011
Commits on Sep 13, 2011
  1. Allow slashes in doc ids in URLs to _update handlers.

    This mirrors the behaviour of the _show API.
    
    Patch by Christopher Bonhage.
    
    Closes COUCHDB-1229
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1170299 13f79535-47bb-0310-9956-ffa450edef68
    janl committed Sep 13, 2011
Commits on Sep 12, 2011
  1. Add missing database 'created' event.

    The `created` event is emitted on apache couchdb when a database is
    created. This patch re-add it to bigcouch.
    benoitc committed Sep 10, 2011
  2. Insane libtool hackery for windows (COUCHDB-1197)

    Patch by Dave Cottlehuber
    
    Backport of r1169920
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1169921 13f79535-47bb-0310-9956-ffa450edef68
    tilgovi committed Sep 12, 2011
Commits on Sep 8, 2011
  1. COUCHDB-1274 - Use text/javascript content-type for jsonp responses.

    Backported from trunk @1166618
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1166627 13f79535-47bb-0310-9956-ffa450edef68
    rnewson committed Sep 8, 2011
  2. Fix list-style send() API in show functions when using provides()

    Also fix ignoring the return value when the send() API isnused.
    
    Patch by Alexander Shorin.
    
    Closes COUCHDB-1272
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1166625 13f79535-47bb-0310-9956-ffa450edef68
    janl committed Sep 8, 2011
  3. And the rest of the commit/

    SVN != Git. Forgot to check svn status before committing.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1166526 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed Sep 8, 2011
  4. Fix CouchJS compatibility with older SpiderMonkey.

    This is a backport of the work to make CouchJS build against all of the
    major versions of SpiderMonkey. Thanks to Randall Leeds and Chris
    Coulson for the original patches.
    
    Backport based on r1137464 and r1164346
    Fixes COUCHDB-1078
    Fixes COUCHDB-1260
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1166525 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed Sep 8, 2011
Commits on Sep 7, 2011
  1. additional libtool lubrication for windows build

    This is related to COUCHDB-1197
    Thanks Dave Cottlehuber for the patch
    
    Backport of r1166438
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1166439 13f79535-47bb-0310-9956-ffa450edef68
    tilgovi committed Sep 7, 2011
Commits on Sep 2, 2011
  1. Fixes COUCHDB-1265

    Backport of 1164350 from trunk. Slightly modified for an export 
    declaration conflict and removing a clause that only applies to
    trunk.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1164351 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed Sep 2, 2011
Commits on Aug 31, 2011
  1. Fix order of parameters in log message

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1163747 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Aug 31, 2011
Commits on Aug 27, 2011
  1. Remove unnecessary call after revision 1162306

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1162307 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Aug 27, 2011
  2. Fix replication crash on database compaction

    There were race conditions that made replications crash
    when a local endpoint database is compacted.
    Patch tested by Joan Touzet.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1162306 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Aug 27, 2011
Commits on Aug 25, 2011
  1. Remove Style where we have no need for it

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

    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/branches/1.1.x@1161702 13f79535-47bb-0310-9956-ffa450edef68
    kocolosk committed Aug 25, 2011
Commits on Aug 23, 2011
  1. bring windows in line with r1001283 (COUCHDB-1197)

    Thanks to Dave Cottlehuber for the patch.
    This is a backport of r1160857 from trunk
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1160859 13f79535-47bb-0310-9956-ffa450edef68
    tilgovi committed Aug 23, 2011