git commit: Close view compaction file when compaction is canceled

2012-01-22 Thread fdmanana
Updated Branches: refs/heads/1.2.x c43fbc921 - 12a593c61 Close view compaction file when compaction is canceled Closes COUCHDB-1384 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/12a593c6 Tree:

git commit: Remove dead _all_docs code

2012-01-22 Thread rnewson
Updated Branches: refs/heads/master 6dba2e911 - d59cdd71b Remove dead _all_docs code Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/d59cdd71 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/d59cdd71 Diff:

git commit: Fix SpiderMonkey header detection

2012-01-22 Thread davisp
Updated Branches: refs/heads/master d59cdd71b - 572b561ad 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. Project:

git commit: Fix SpiderMonkey header detection

2012-01-22 Thread davisp
Updated Branches: refs/heads/1.2.x 12a593c61 - 9d2c0e44f 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. Project:

[3/50] git commit: Fix test test/etap/075-auth-cache.t

2012-01-22 Thread fdmanana
Fix test test/etap/075-auth-cache.t Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/0ea61035 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/0ea61035 Diff:

[1/50] git commit: Merge remote-tracking branch 'asf-write/master' into COUCHDB-1342

2012-01-22 Thread fdmanana
Updated Branches: refs/heads/COUCHDB-1342 4f7336ed3 - 209e65ef1 Merge remote-tracking branch 'asf-write/master' into COUCHDB-1342 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/209e65ef Tree:

[4/50] git commit: Remove dead _all_docs code

2012-01-22 Thread fdmanana
Remove dead _all_docs code Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/d59cdd71 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/d59cdd71 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/d59cdd71

[5/50] git commit: Merge remote-tracking branch 'asf-write/master' into COUCHDB-1342

2012-01-22 Thread fdmanana
Merge remote-tracking branch 'asf-write/master' into COUCHDB-1342 Conflicts: src/couchdb/couch_db.erl Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/62ce6101 Tree:

[8/50] git commit: updated INSTALL.Unix instructions for homebrew on Mac OS X

2012-01-22 Thread fdmanana
updated INSTALL.Unix instructions for homebrew on Mac OS X Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/d7cbddc4 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/d7cbddc4 Diff:

[6/50] git commit: Propagate file read errors to callers

2012-01-22 Thread fdmanana
Propagate file read errors to callers Instead of having the file reader process crash with a badmatch after a file:pread/3, send the result to to the caller, which will in turn get a badmatch error. The advantage of this is to get a much more meaningful stack trace (relative to the client).

[9/50] git commit: Fix SpiderMonkey version detection

2012-01-22 Thread fdmanana
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

[11/50] git commit: Fix ets lookup case_clause error after ddoc is updated

2012-01-22 Thread fdmanana
Fix ets lookup case_clause error after ddoc is updated This happens if the ddoc_updated event is received after a client opens the new view group or if a design document is updated several times in a row and there are still clients streaming views from 2 or more view groups that match old

[12/50] git commit: Fixes for COUCHDB-188 fix

2012-01-22 Thread fdmanana
Fixes for COUCHDB-188 fix On conflict, keep using the current revision tree. Issue noticed by Paul Davis. Thanks. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/ca51333f Tree:

[13/50] git commit: COUCHDB-1380 Revert Better logger performance

2012-01-22 Thread fdmanana
COUCHDB-1380 Revert Better logger performance This reverts commit 9f2398faef3936a844caffbaf3eef8675383ccfd which switched couch_log to use disk_log. Unfortunately that module performs positioned writes which prevents the usual logrotation strategy from working correctly. Project:

[15/50] git commit: fix couch_httpd:host_for_request/1 for ssl

2012-01-22 Thread fdmanana
fix couch_httpd:host_for_request/1 for ssl Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/1e284b97 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/1e284b97 Diff:

[10/50] git commit: Allow persistent cookies

2012-01-22 Thread fdmanana
Allow persistent cookies COUCHDB-1304 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/da33e344 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/da33e344 Diff:

[14/50] git commit: Move myself from THANKS to AUTHORS with new spiffy @apache.org email

2012-01-22 Thread fdmanana
Move myself from THANKS to AUTHORS with new spiffy @apache.org email Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/ef368d7c Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/ef368d7c Diff:

[17/50] git commit: Use enif_is_number on OTP R15B or higher

2012-01-22 Thread fdmanana
Use enif_is_number on OTP R15B or higher The NIF API in OTP R15B introduced the enif_is_number function. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/fcd7f804 Tree:

[21/50] git commit: COUCHDB-1339 - stop couchdb on js cli exits

2012-01-22 Thread fdmanana
COUCHDB-1339 - stop couchdb on js cli exits Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/2921c786 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/2921c786 Diff:

[20/50] git commit: improve the startup delay for js test harness

2012-01-22 Thread fdmanana
improve the startup delay for js test harness Change waitForSuccess to catch errors in the sync request that's used to hand control back to the JS engine. Then, use waitForSuccess to see if CouchDB has started and remove the 1 second sleep before the tests start. Project:

[22/50] git commit: Don't send Content-Type in GET/HEAD requests

2012-01-22 Thread fdmanana
Don't send Content-Type in GET/HEAD requests This partially reverts 55d2c9e390cf06a76ff6715a60b85f8f4ca26f97, adding only a Content-Type of application/json to post requests against _revs_diff. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit:

[24/50] git commit: Set COUCHDB_NO_START=1 to not start CouchDB during JavaScript tests

2012-01-22 Thread fdmanana
Set COUCHDB_NO_START=1 to not start CouchDB during JavaScript tests This restores the previous default behaviour. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/eedf901f Tree:

[25/50] git commit: Cache-bust every attachment range GET

2012-01-22 Thread fdmanana
Cache-bust every attachment range GET This appears to expose a bug in Chrome for an edge case. There's a test that sends Range: bytes=0-29 for an item that is one byte shorter than the requested range. Curl, Firefox and Safari correctly returns; Content-Range: bytes 0-28/29 Content-Length: 29

[23/50] git commit: Break out JavaScript test suite into separate make target `check-js`.

2012-01-22 Thread fdmanana
Break out JavaScript test suite into separate make target `check-js`. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/4d8a8668 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/4d8a8668 Diff:

[27/50] git commit: Use default content-type application/json

2012-01-22 Thread fdmanana
Use default content-type application/json Some requests made by the replicator were missing a Content-Type header. By default now all requests have a Content-Type of application/json. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit:

[29/50] git commit: Update CHANGES NEWS to reflect COUCHDB-188

2012-01-22 Thread fdmanana
Update CHANGES NEWS to reflect COUCHDB-188 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/975ea08c Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/975ea08c Diff:

[26/50] git commit: Add a cache buster for Chrome to attachment_ranges test

2012-01-22 Thread fdmanana
Add a cache buster for Chrome to attachment_ranges test Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/07c78bf4 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/07c78bf4 Diff:

[28/50] git commit: Add heartbeat parameter to all _changes requests

2012-01-22 Thread fdmanana
Add heartbeat parameter to all _changes requests Even non-continuous _changes requests, particularly filtered ones, can cause long periods of inactivity. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/a2d57c8b Tree:

[31/50] git commit: Fix check of conflicts for replication tests

2012-01-22 Thread fdmanana
Fix check of conflicts for replication tests The conflicts option belongs to couch_db:open_doc/3 and not to couch_doc:to_json_obj/2. Also added the deleted_conflicts option. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit:

[30/50] git commit: Fix document deletion followed by creation

2012-01-22 Thread fdmanana
Fix document deletion followed by creation If the updater collects 2 updates for the same document where the first deletes it and the second creates it, it would send a conflict error to the client of the create request. This wouldn't happen if the 2 requests were collected in 2 different batches

[32/50] git commit: COUCHDB-1152 remove icu version dependency (win)

2012-01-22 Thread fdmanana
COUCHDB-1152 remove icu version dependency (win) Patch by Dave Cottlehuber. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/1054f949 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/1054f949 Diff:

[35/50] git commit: COUCHDB-1042 - restore libcurl as soft dependency

2012-01-22 Thread fdmanana
COUCHDB-1042 - restore libcurl as soft dependency Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/bf7c74ed Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/bf7c74ed Diff:

[34/50] git commit: Revert Add ICU_CPPFLAGS to ICU_C|_CXXFLAGS

2012-01-22 Thread fdmanana
Revert Add ICU_CPPFLAGS to ICU_C|_CXXFLAGS As of 32fb9f8e0416910a2431227b5fbdeef93ccd94bc this should no longer be necessary. This reverts commit 2d90a1249dea1d02d46266d52a0d269f0a33dbb0. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit:

[33/50] git commit: don't ln the couchjs install target on windows

2012-01-22 Thread fdmanana
don't ln the couchjs install target on windows On windows we install binaries directly into $(prefix)/bin rather than a local bin directory hidden away in the erlang module. Therefore, when building this way, don't try to create a symbolic link into the final location since the final location has

[36/50] git commit: Happy New Year

2012-01-22 Thread fdmanana
Happy New Year Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/39d81d5a Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/39d81d5a Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/39d81d5a Branch:

[37/50] git commit: Remove console.log() statements from test

2012-01-22 Thread fdmanana
Remove console.log() statements from test Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/99c3467a Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/99c3467a Diff:

[38/50] git commit: Update CHANGES NEWS to reflect COUCHDB-1238

2012-01-22 Thread fdmanana
Update CHANGES NEWS to reflect COUCHDB-1238 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/6cf3e095 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/6cf3e095 Diff:

[40/50] git commit: Improve test 05-replication-many-leaves.t

2012-01-22 Thread fdmanana
Improve test 05-replication-many-leaves.t The test now includes attachments to verify that the incremental attachment replication code path succeeds when there are many leaf revisions of a document with attachments. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit:

[43/50] git commit: Update etap tests for System Database Security

2012-01-22 Thread fdmanana
Update etap tests for System Database Security Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/5408c68b Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/5408c68b Diff:

[45/50] git commit: remove trailing whitespace

2012-01-22 Thread fdmanana
remove trailing whitespace Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/ee19fd94 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/ee19fd94 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/ee19fd94

[39/50] git commit: Allow OAuth credentials to be stored in user documents

2012-01-22 Thread fdmanana
Allow OAuth credentials to be stored in user documents If the ini configuration parameter `use_users_db` (section `couch_httpd_oauth`) is set to true, OAuth credentials can be stored in user documents (system database _users) instead. The credentials are stored in a top level propery of user

[46/50] git commit: fix whitespace

2012-01-22 Thread fdmanana
fix whitespace Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/e2e7e15e Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/e2e7e15e Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/e2e7e15e Branch:

[42/50] git commit: JavaScript tests for System Database Security

2012-01-22 Thread fdmanana
JavaScript tests for System Database Security Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/b184aa13 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/b184aa13 Diff:

[44/50] git commit: Fix admin users creation and user password change in futon.

2012-01-22 Thread fdmanana
Fix admin users creation and user password change in futon. main patch from jan, reviewed updated by me. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/3f2537fc Tree:

[49/50] git commit: CouchDB-1367 - Fix function_clause in _stats when no rows are emitted

2012-01-22 Thread fdmanana
CouchDB-1367 - Fix function_clause in _stats when no rows are emitted Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/389142e0 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/389142e0 Diff:

[50/50] git commit: Minor doc and configure fixes for old JS engines

2012-01-22 Thread fdmanana
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

[2/2] git commit: fix show/list/external requested_path for rewrites

2012-01-22 Thread randall
fix show/list/external requested_path for rewrites Since we're using the x-couchdb-requested-path header to track the requested path we should expose it in the request object we pass to the view server. Currently this object has a `requested_path` key which has the pre-vhost path. However, when

[1/2] git commit: fix show/list/external requested_path for rewrites

2012-01-22 Thread randall
Updated Branches: refs/heads/1.2.x 0fcb84463 - 384a75b65 refs/heads/master 572b561ad - 879a1bc19 fix show/list/external requested_path for rewrites Since we're using the x-couchdb-requested-path header to track the requested path we should expose it in the request object we pass to the view

git commit: Use the correct utility function to get the index directory path

2012-01-22 Thread randall
Updated Branches: refs/heads/master 879a1bc19 - 50ae62f71 Use the correct utility function to get the index directory path Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/50ae62f7 Tree: