svn commit: r826097 - in /couchdb/trunk: bench/ bench/Makefile.am bench/bench_lib.js bench/benchbulk.sh bench/benches.js bench/out.file bench/runner.sh share/www/script/couch.js

2009-10-16 Thread jchris
Author: jchris Date: Fri Oct 16 21:38:11 2009 New Revision: 826097 URL: http://svn.apache.org/viewvc?rev=826097&view=rev Log: added bench/ directory to trunk, contains 2 benchmark suites. Added: couchdb/trunk/bench/ couchdb/trunk/bench/Makefile.am (with props) couchdb/trunk/b

svn commit: r825021 - /couchdb/trunk/share/www/script/couch_test_runner.js

2009-10-13 Thread jchris
Author: jchris Date: Wed Oct 14 06:35:13 2009 New Revision: 825021 URL: http://svn.apache.org/viewvc?rev=825021&view=rev Log: dont save so many test reports Modified: couchdb/trunk/share/www/script/couch_test_runner.js Modified: couchdb/trunk/share/www/script/couch_test_runner.js URL:

svn commit: r825020 - /couchdb/trunk/share/www/script/couch_test_runner.js

2009-10-13 Thread jchris
Author: jchris Date: Wed Oct 14 06:35:10 2009 New Revision: 825020 URL: http://svn.apache.org/viewvc?rev=825020&view=rev Log: save report with node version info Modified: couchdb/trunk/share/www/script/couch_test_runner.js Modified: couchdb/trunk/share/www/script/couch_test_runner.js

svn commit: r825019 - /couchdb/trunk/share/www/script/couch_test_runner.js

2009-10-13 Thread jchris
Author: jchris Date: Wed Oct 14 06:35:07 2009 New Revision: 825019 URL: http://svn.apache.org/viewvc?rev=825019&view=rev Log: test reports are saved proper Modified: couchdb/trunk/share/www/script/couch_test_runner.js Modified: couchdb/trunk/share/www/script/couch_test_runner.js URL:

svn commit: r825018 - in /couchdb/trunk/share/www: couch_tests.html script/couch_test_runner.js

2009-10-13 Thread jchris
Author: jchris Date: Wed Oct 14 06:35:04 2009 New Revision: 825018 URL: http://svn.apache.org/viewvc?rev=825018&view=rev Log: tests not loading Modified: couchdb/trunk/share/www/couch_tests.html couchdb/trunk/share/www/script/couch_test_runner.js Modified: couchdb/trunk/share

svn commit: r825017 - /couchdb/trunk/share/www/script/couch_test_runner.js

2009-10-13 Thread jchris
Author: jchris Date: Wed Oct 14 06:32:57 2009 New Revision: 825017 URL: http://svn.apache.org/viewvc?rev=825017&view=rev Log: save a test report Modified: couchdb/trunk/share/www/script/couch_test_runner.js Modified: couchdb/trunk/share/www/script/couch_test_runner.js URL:

svn commit: r824224 - /couchdb/trunk/share/www/script/couch_test_runner.js

2009-10-11 Thread jchris
Author: jchris Date: Mon Oct 12 04:59:58 2009 New Revision: 824224 URL: http://svn.apache.org/viewvc?rev=824224&view=rev Log: link to submit test failures to a google group Modified: couchdb/trunk/share/www/script/couch_test_runner.js Modified: couchdb/trunk/share/www/sc

svn commit: r821858 - /couchdb/trunk/etc/couchdb/default.ini.tpl.in

2009-10-05 Thread jchris
Author: jchris Date: Mon Oct 5 15:35:16 2009 New Revision: 821858 URL: http://svn.apache.org/viewvc?rev=821858&view=rev Log: set default value of delayed_commits to true for 0.11/trunk Modified: couchdb/trunk/etc/couchdb/default.ini.tpl.in Modified: couchdb/trunk/etc/cou

svn commit: r821856 - /couchdb/trunk/src/couchdb/couch_config_writer.erl

2009-10-05 Thread jchris
Author: jchris Date: Mon Oct 5 15:34:41 2009 New Revision: 821856 URL: http://svn.apache.org/viewvc?rev=821856&view=rev Log: friendlier error message on bad log config file permissions Modified: couchdb/trunk/src/couchdb/couch_config_writer.erl Modified: couchdb/trunk/src/cou

svn commit: r820495 - /couchdb/trunk/src/couchdb/couch_httpd_misc_handlers.erl

2009-09-30 Thread jchris
Author: jchris Date: Wed Sep 30 23:31:48 2009 New Revision: 820495 URL: http://svn.apache.org/viewvc?rev=820495&view=rev Log: _uuid ETags were coming out as random binary noise. fixes this so they are proper strings. Needs backporting to 0.10.x. Modified: couchdb/trunk/src/cou

svn commit: r815984 - in /couchdb/trunk: share/www/script/test/view_include_docs.js src/couchdb/couch_httpd_db.erl src/couchdb/couch_httpd_view.erl

2009-09-16 Thread jchris
Author: jchris Date: Wed Sep 16 22:04:18 2009 New Revision: 815984 URL: http://svn.apache.org/viewvc?rev=815984&view=rev Log: include_docs now take an _id (as well as a _rev) in the emitted value, to load docs other than the one doing the emitting. This means you can have one doc list a se

svn commit: r815629 - in /couchdb/trunk: share/www/script/test/changes.js src/couchdb/couch_httpd_db.erl

2009-09-15 Thread jchris
Author: jchris Date: Wed Sep 16 06:35:56 2009 New Revision: 815629 URL: http://svn.apache.org/viewvc?rev=815629&view=rev Log: add limit to _changes Modified: couchdb/trunk/share/www/script/test/changes.js couchdb/trunk/src/couchdb/couch_httpd_db.erl Modified: couchdb/trunk/share

svn commit: r815404 - /couchdb/branches/0.10.x/etc/couchdb/default.ini.tpl.in

2009-09-15 Thread jchris
Author: jchris Date: Tue Sep 15 17:09:22 2009 New Revision: 815404 URL: http://svn.apache.org/viewvc?rev=815404&view=rev Log: changed default for 0.10 to delayed_commits = true for fast out of box experience Modified: couchdb/branches/0.10.x/etc/couchdb/default.ini.tpl.in Modified: cou

svn commit: r814895 - /couchdb/trunk/share/Makefile.am

2009-09-14 Thread jchris
Author: jchris Date: Mon Sep 14 22:38:19 2009 New Revision: 814895 URL: http://svn.apache.org/viewvc?rev=814895&view=rev Log: add new test to Makefile Modified: couchdb/trunk/share/Makefile.am Modified: couchdb/trunk/share/Makefile.am URL: http://svn.apache.org/viewvc/couchdb/trunk/s

svn commit: r814851 - in /couchdb/branches/0.10.x/src/couchdb: couch_httpd_db.erl couch_rep_changes_feed.erl

2009-09-14 Thread jchris
Author: jchris Date: Mon Sep 14 20:57:03 2009 New Revision: 814851 URL: http://svn.apache.org/viewvc?rev=814851&view=rev Log: backported deleted info on _changes for 0.10.x Modified: couchdb/branches/0.10.x/src/couchdb/couch_httpd_db.erl couchdb/branches/0.10.x/src/cou

svn commit: r814828 - in /couchdb/trunk: share/www/script/test/ src/couchdb/

2009-09-14 Thread jchris
Author: jchris Date: Mon Sep 14 20:20:50 2009 New Revision: 814828 URL: http://svn.apache.org/viewvc?rev=814828&view=rev Log: finish committing my changes adventure. pardon the dust. Modified: couchdb/trunk/share/www/script/test/all_docs.js couchdb/trunk/share/www/script/

svn commit: r814803 - in /couchdb/trunk: share/www/script/test/all_docs.js share/www/script/test/replication.js src/couchdb/couch_httpd_db.erl

2009-09-14 Thread jchris
Author: jchris Date: Mon Sep 14 19:40:41 2009 New Revision: 814803 URL: http://svn.apache.org/viewvc?rev=814803&view=rev Log: rollback mixed up commit, builds now Modified: couchdb/trunk/share/www/script/test/all_docs.js couchdb/trunk/share/www/script/test/replication.js cou

svn commit: r814787 - in /couchdb/trunk: share/www/script/test/all_docs.js share/www/script/test/replication.js src/couchdb/couch_httpd_db.erl

2009-09-14 Thread jchris
Author: jchris Date: Mon Sep 14 19:17:28 2009 New Revision: 814787 URL: http://svn.apache.org/viewvc?rev=814787&view=rev Log: support for deletions in changes feed Modified: couchdb/trunk/share/www/script/test/all_docs.js couchdb/trunk/share/www/script/test/replication.js cou

svn commit: r814778 - in /couchdb/trunk: share/www/script/ share/www/script/test/ src/couchdb/

2009-09-14 Thread jchris
Author: jchris Date: Mon Sep 14 19:03:36 2009 New Revision: 814778 URL: http://svn.apache.org/viewvc?rev=814778&view=rev Log: removed _all_docs_by_seq in favor of _changes Modified: couchdb/trunk/share/www/script/couch.js couchdb/trunk/share/www/script/test/all_docs.js couchdb/t

svn commit: r804094 - in /couchdb/trunk/src/couchdb: couch_httpd.erl couch_httpd_db.erl

2009-08-13 Thread jchris
Author: jchris Date: Fri Aug 14 06:58:30 2009 New Revision: 804094 URL: http://svn.apache.org/viewvc?rev=804094&view=rev Log: benoitc's attachment PUT patch passes tests for me. Closes COUCHDB-461 Modified: couchdb/trunk/src/couchdb/couch_httpd.erl couchdb/trunk/sr

svn commit: r804087 - in /couchdb/trunk/src/couchdb: couch_httpd.erl couch_httpd_db.erl

2009-08-13 Thread jchris
Author: jchris Date: Fri Aug 14 06:10:16 2009 New Revision: 804087 URL: http://svn.apache.org/viewvc?rev=804087&view=rev Log: apply Benoit's patch fixing attachment content-length handling for GET from COUCHDB-461 Modified: couchdb/trunk/src/couchdb/couch_httpd.erl couchdb/

svn commit: r803685 - in /couchdb/trunk: share/www/script/ share/www/script/test/ src/couchdb/ test/

2009-08-12 Thread jchris
Author: jchris Date: Wed Aug 12 19:58:14 2009 New Revision: 803685 URL: http://svn.apache.org/viewvc?rev=803685&view=rev Log: Introduces native Erlang query servers. Closes COUCHDB-377 Thanks Mark Hammond and Paul Davis for doing most of the work, and Michael McDaniel for the inspira

svn commit: r803358 - in /couchdb/trunk: share/www/script/test/etags_views.js src/couchdb/couch_httpd_db.erl src/couchdb/couch_httpd_show.erl src/couchdb/couch_httpd_view.erl

2009-08-11 Thread jchris
Author: jchris Date: Wed Aug 12 03:20:21 2009 New Revision: 803358 URL: http://svn.apache.org/viewvc?rev=803358&view=rev Log: recloses COUCHDB-4 (view etags) thanks to Matt Goodall for the tests. keep 'em coming! Modified: couchdb/trunk/share/www/script/test/etags_views.js couc

svn commit: r803246 - /couchdb/trunk/share/www/script/test/update_documents.js

2009-08-11 Thread jchris
Author: jchris Date: Tue Aug 11 19:11:01 2009 New Revision: 803246 URL: http://svn.apache.org/viewvc?rev=803246&view=rev Log: and the test file itself :) Added: couchdb/trunk/share/www/script/test/update_documents.js (with props) Added: couchdb/trunk/share/www/script/

svn commit: r803245 - in /couchdb/trunk: etc/couchdb/ share/ share/server/ share/www/script/ src/couchdb/ test/

2009-08-11 Thread jchris
Author: jchris Date: Tue Aug 11 18:50:08 2009 New Revision: 803245 URL: http://svn.apache.org/viewvc?rev=803245&view=rev Log: Initial commit of _update handler. Thanks to Paul Davis, Jason Davies for code and others for discussion. The _update handler accepts POSTs to paths like: /db/_de

svn commit: r801345 - in /couchdb/trunk: share/server/render.js share/www/script/test/show_documents.js src/couchdb/couch_httpd.erl

2009-08-05 Thread jchris
Author: jchris Date: Wed Aug 5 18:11:45 2009 New Revision: 801345 URL: http://svn.apache.org/viewvc?rev=801345&view=rev Log: proper handling of 406 Not Acceptable errors in list and show functions Modified: couchdb/trunk/share/server/render.js couchdb/trunk/share/www/script/

svn commit: r801273 - /couchdb/trunk/license.skip

2009-08-05 Thread jchris
Author: jchris Date: Wed Aug 5 15:48:08 2009 New Revision: 801273 URL: http://svn.apache.org/viewvc?rev=801273&view=rev Log: add mimeparse.js to license.skip Modified: couchdb/trunk/license.skip Modified: couchdb/trunk/license.skip URL: http://svn.apache.org/viewvc/couchdb/t

svn commit: r801056 - in /couchdb/trunk/share: server/loop.js server/render.js www/script/test/list_views.js www/script/test/show_documents.js

2009-08-04 Thread jchris
Author: jchris Date: Wed Aug 5 04:09:11 2009 New Revision: 801056 URL: http://svn.apache.org/viewvc?rev=801056&view=rev Log: Upgraded JavaScript Accept header handling to make it useful. After user@ thread with Adam Jacob [1] http://tinyurl.com/kuhl2j I realized that giving users the optio

svn commit: r801018 - in /couchdb/trunk: NOTICE share/Makefile.am share/server/mimeparse.js share/server/render.js

2009-08-04 Thread jchris
Author: jchris Date: Tue Aug 4 23:29:25 2009 New Revision: 801018 URL: http://svn.apache.org/viewvc?rev=801018&view=rev Log: Move mimeparse.js to it's own file, add to NOTICE as an external library. Added: couchdb/trunk/share/server/mimeparse.js (with props) Modified: couc

svn commit: r795687 - in /couchdb/trunk: share/ share/server/ share/www/script/test/ src/couchdb/ test/

2009-07-19 Thread jchris
Author: jchris Date: Mon Jul 20 04:11:36 2009 New Revision: 795687 URL: http://svn.apache.org/viewvc?rev=795687&view=rev Log: Initial checkin of _changes filters. The prime weak-spot for this approach is that it maintains an OS-process per connected filtered _changes consumer. I'm pr

svn commit: r793363 - /couchdb/trunk/src/couchdb/couch_httpd_db.erl

2009-07-12 Thread jchris
Author: jchris Date: Sun Jul 12 15:01:40 2009 New Revision: 793363 URL: http://svn.apache.org/viewvc?rev=793363&view=rev Log: removed some unnecessary logging Modified: couchdb/trunk/src/couchdb/couch_httpd_db.erl Modified: couchdb/trunk/src/couchdb/couch_httpd_db.erl URL:

svn commit: r792774 - in /couchdb/trunk: share/www/script/test/attachments.js src/couchdb/couch_httpd_db.erl

2009-07-09 Thread jchris
Author: jchris Date: Fri Jul 10 01:17:15 2009 New Revision: 792774 URL: http://svn.apache.org/viewvc?rev=792774&view=rev Log: fix attachment etags, thanks Mark Hammond for the test case. closes COUCHDB-386 Modified: couchdb/trunk/share/www/script/test/attachments.js couchdb/trunk

svn commit: r792771 - in /couchdb/trunk: etc/couchdb/ share/www/script/test/ src/couchdb/

2009-07-09 Thread jchris
Author: jchris Date: Fri Jul 10 00:59:36 2009 New Revision: 792771 URL: http://svn.apache.org/viewvc?rev=792771&view=rev Log: Apply patch from Benoit Chesneau's COUCHDB-404 Restores 0.8-style /db/_view view urls and adds an option to render views and documents as other formats like:

svn commit: r791145 - in /couchdb/trunk: share/server/render.js share/www/script/test/list_views.js share/www/script/test/show_documents.js src/couchdb/couch_httpd_external.erl

2009-07-04 Thread jchris
Author: jchris Date: Sat Jul 4 16:19:23 2009 New Revision: 791145 URL: http://svn.apache.org/viewvc?rev=791145&view=rev Log: send utf-8 hearders with list and show responses. closes COUCHDB-392 Modified: couchdb/trunk/share/server/render.js couchdb/trunk/share/www/script/

svn commit: r791140 - in /couchdb/trunk: etc/couchdb/ share/www/script/ share/www/script/test/ src/couchdb/

2009-07-04 Thread jchris
Author: jchris Date: Sat Jul 4 15:47:47 2009 New Revision: 791140 URL: http://svn.apache.org/viewvc?rev=791140&view=rev Log: Name view index files by their function hashes for no downtime deploys. Closes COUCHDB-218 Adds ability to switch view indexes on the fly by building the index fr

svn commit: r791136 - in /couchdb/trunk/src/couchdb: couch_btree.erl couch_key_tree.erl couch_view_updater.erl

2009-07-04 Thread jchris
Author: jchris Date: Sat Jul 4 15:17:44 2009 New Revision: 791136 URL: http://svn.apache.org/viewvc?rev=791136&view=rev Log: last three dialyzer recommended cleanups Modified: couchdb/trunk/src/couchdb/couch_btree.erl couchdb/trunk/src/couchdb/couch_key_tree.erl couchdb/trunk

svn commit: r788979 - in /couchdb/trunk/src/couchdb: couch_config_writer.erl couch_httpd_db.erl couch_key_tree.erl

2009-06-27 Thread jchris
Author: jchris Date: Sat Jun 27 14:32:36 2009 New Revision: 788979 URL: http://svn.apache.org/viewvc?rev=788979&view=rev Log: removed some dead code found by Dialyzer, more to come Modified: couchdb/trunk/src/couchdb/couch_config_writer.erl couchdb/trunk/src/couchdb/couch_httpd_db

svn commit: r788971 - in /couchdb/trunk: etc/couchdb/default.ini.tpl.in share/www/script/test/security_validation.js src/couchdb/couch_httpd_misc_handlers.erl

2009-06-27 Thread jchris
Author: jchris Date: Sat Jun 27 13:36:29 2009 New Revision: 788971 URL: http://svn.apache.org/viewvc?rev=788971&view=rev Log: A /_whoami handler to provide client apps with access to the active userCtx for their session. Thanks to the CouchDB University students and janl for helping to imple

svn commit: r784506 - in /couchdb/branches/list-iterator: share/server/render.js test/query_server_spec.rb

2009-06-13 Thread jchris
Author: jchris Date: Sun Jun 14 04:18:52 2009 New Revision: 784506 URL: http://svn.apache.org/viewvc?rev=784506&view=rev Log: Warn users of old style list functions when they are run against the new API. Modified: couchdb/branches/list-iterator/share/server/render.js couchdb/bran

svn commit: r782429 - in /couchdb/branches/list-iterator: share/server/render.js share/www/script/test/list_views.js src/couchdb/couch_httpd_show.erl src/couchdb/couch_os_process.erl src/couchdb/couch

2009-06-07 Thread jchris
Author: jchris Date: Sun Jun 7 19:03:05 2009 New Revision: 782429 URL: http://svn.apache.org/viewvc?rev=782429&view=rev Log: refactor and cleanup of couch_httpd_show. all tests passing again. Modified: couchdb/branches/list-iterator/share/server/render.js couchdb/branches/list-iter

svn commit: r782332 - in /couchdb/branches/list-iterator: share/server/render.js share/www/script/test/list_views.js src/couchdb/couch_httpd_show.erl

2009-06-06 Thread jchris
Author: jchris Date: Sun Jun 7 06:05:32 2009 New Revision: 782332 URL: http://svn.apache.org/viewvc?rev=782332&view=rev Log: a few more tests pass, refactoring Modified: couchdb/branches/list-iterator/share/server/render.js couchdb/branches/list-iterator/share/www/script/

svn commit: r782318 - in /couchdb/branches/list-iterator: share/server/render.js share/www/script/test/list_views.js src/couchdb/couch_httpd_show.erl src/couchdb/couch_query_servers.erl test/query_ser

2009-06-06 Thread jchris
Author: jchris Date: Sat Jun 6 22:55:22 2009 New Revision: 782318 URL: http://svn.apache.org/viewvc?rev=782318&view=rev Log: more list api tests passing Modified: couchdb/branches/list-iterator/share/server/render.js couchdb/branches/list-iterator/share/www/script/test/list_view

svn commit: r782294 - in /couchdb/branches/list-iterator: ./ share/server/ share/www/script/test/ src/couchdb/ test/

2009-06-06 Thread jchris
Author: jchris Date: Sat Jun 6 18:18:37 2009 New Revision: 782294 URL: http://svn.apache.org/viewvc?rev=782294&view=rev Log: new API for _list function. See test suite for examples. Modified: couchdb/branches/list-iterator/.gitignore couchdb/branches/list-iterator/share/server/loo

svn commit: r782292 - /couchdb/branches/list-iterator/

2009-06-06 Thread jchris
Author: jchris Date: Sat Jun 6 18:05:54 2009 New Revision: 782292 URL: http://svn.apache.org/viewvc?rev=782292&view=rev Log: branch for previwing the list iterator patch Added: couchdb/branches/list-iterator/ (props changed) - copied from r782291, couchdb/trunk/ Propchange: cou

svn commit: r782290 - /couchdb/trunk/share/server/views.js

2009-06-06 Thread jchris
Author: jchris Date: Sat Jun 6 18:01:23 2009 New Revision: 782290 URL: http://svn.apache.org/viewvc?rev=782290&view=rev Log: truncate giant reduce overflow error output Modified: couchdb/trunk/share/server/views.js Modified: couchdb/trunk/share/server/views.js URL: http://svn.apache

svn commit: r781830 - in /couchdb/trunk/share/www/script/test: basics.js design_options.js

2009-06-04 Thread jchris
Author: jchris Date: Thu Jun 4 19:10:28 2009 New Revision: 781830 URL: http://svn.apache.org/viewvc?rev=781830&view=rev Log: doh. remove console.log Modified: couchdb/trunk/share/www/script/test/basics.js couchdb/trunk/share/www/script/test/design_options.js Modified: couchdb/t

svn commit: r781151 - /couchdb/branches/0.9.x/share/www/script/test/show_documents.js

2009-06-02 Thread jchris
Author: jchris Date: Tue Jun 2 20:26:20 2009 New Revision: 781151 URL: http://svn.apache.org/viewvc?rev=781151&view=rev Log: fix up diff breakage in js test case, backported error message test that passed Modified: couchdb/branches/0.9.x/share/www/script/test/show_documents.js Modi

svn commit: r780812 - /couchdb/trunk/test/query_server_spec.rb

2009-06-01 Thread jchris
Author: jchris Date: Mon Jun 1 20:25:39 2009 New Revision: 780812 URL: http://svn.apache.org/viewvc?rev=780812&view=rev Log: add an rspec/ruby test suite for the javascript query server Added: couchdb/trunk/test/query_server_spec.rb (with props) Added: couchdb/trunk/

svn commit: r778890 - /couchdb/trunk/src/couchdb/couch_doc.erl

2009-05-26 Thread jchris
Author: jchris Date: Tue May 26 21:22:22 2009 New Revision: 778890 URL: http://svn.apache.org/viewvc?rev=778890&view=rev Log: ignore _local_seq when included in a saved document Modified: couchdb/trunk/src/couchdb/couch_doc.erl Modified: couchdb/trunk/src/couchdb/couch_doc.erl URL:

svn commit: r777975 - /couchdb/trunk/src/couchdb/couch_view_updater.erl

2009-05-23 Thread jchris
Author: jchris Date: Sat May 23 17:45:26 2009 New Revision: 777975 URL: http://svn.apache.org/viewvc?rev=777975&view=rev Log: remove leftover trace logging Modified: couchdb/trunk/src/couchdb/couch_view_updater.erl Modified: couchdb/trunk/src/couchdb/couch_view_updater.erl URL:

svn commit: r777757 - in /couchdb/trunk: share/www/script/test/ src/couchdb/

2009-05-22 Thread jchris
Author: jchris Date: Sat May 23 01:14:13 2009 New Revision: 57 URL: http://svn.apache.org/viewvc?rev=57&view=rev Log: added an design doc option so that doc._local_seq can be available in the map view. Closes COUCHDB-346 Modified: couchdb/trunk/share/www/script/test/basic

svn commit: r776182 - /couchdb/trunk/.gitignore

2009-05-18 Thread jchris
Author: jchris Date: Tue May 19 04:50:52 2009 New Revision: 776182 URL: http://svn.apache.org/viewvc?rev=776182&view=rev Log: add a basic .gitignore file - enjoy! Added: couchdb/trunk/.gitignore Added: couchdb/trunk/.gitignore URL: http://svn.apache.org/viewvc/couchdb/trunk/.gitignore

svn commit: r774101 - in /couchdb/trunk: share/www/script/couch_tests.js share/www/script/test/reduce_builtin.js src/couchdb/couch_query_servers.erl

2009-05-12 Thread jchris
Author: jchris Date: Tue May 12 21:38:43 2009 New Revision: 774101 URL: http://svn.apache.org/viewvc?rev=774101&view=rev Log: You can now specify either "_sum" or "_count" as the source code for 2 built-in Erlang reduce functions. The framework is ready for YOU to add m

svn commit: r773401 - /couchdb/trunk/src/couchdb/couch_httpd_db.erl

2009-05-10 Thread jchris
Author: jchris Date: Sun May 10 20:19:04 2009 New Revision: 773401 URL: http://svn.apache.org/viewvc?rev=773401&view=rev Log: export a method Modified: couchdb/trunk/src/couchdb/couch_httpd_db.erl Modified: couchdb/trunk/src/couchdb/couch_httpd_db.erl URL: http://svn.apache.org/vi

svn commit: r773387 - in /couchdb/trunk: share/www/script/test/basics.js share/www/script/test/view_errors.js src/couchdb/couch_httpd.erl src/couchdb/couch_httpd_db.erl src/couchdb/couch_httpd_misc_ha

2009-05-10 Thread jchris
Author: jchris Date: Sun May 10 19:20:23 2009 New Revision: 773387 URL: http://svn.apache.org/viewvc?rev=773387&view=rev Log: refactor JSON body error handling, also consolidate update_docs JSON response generation. Modified: couchdb/trunk/share/www/script/test/basics.js couchdb/t

svn commit: r773319 - in /couchdb/trunk: etc/couchdb/local_dev.ini share/www/script/test/list_views.js src/couchdb/couch_httpd_db.erl src/couchdb/couch_httpd_show.erl src/couchdb/couch_httpd_view.erl

2009-05-10 Thread jchris
Author: jchris Date: Sun May 10 09:11:52 2009 New Revision: 773319 URL: http://svn.apache.org/viewvc?rev=773319&view=rev Log: Refactor the make_view_fold_function stuff. Added a proper Acc to both map and reduce view folds. Cleaned up some pattern matchers. Modified: couchdb/trunk

svn commit: r771476 - in /couchdb/branches/0.9.x: ./ etc/default/couchdb src/couchdb/couch_db.erl

2009-05-04 Thread jchris
Author: jchris Date: Mon May 4 22:26:23 2009 New Revision: 771476 URL: http://svn.apache.org/viewvc?rev=771476&view=rev Log: backport attachment sparseness fix (r771472) into 0.9.x branch Modified: couchdb/branches/0.9.x/ (props changed) couchdb/branches/0.9.x/etc/default/cou

svn commit: r771472 - /couchdb/trunk/src/couchdb/couch_db.erl

2009-05-04 Thread jchris
Author: jchris Date: Mon May 4 22:23:39 2009 New Revision: 771472 URL: http://svn.apache.org/viewvc?rev=771472&view=rev Log: hinting to reduce sparseness in chunked attachment puts Modified: couchdb/trunk/src/couchdb/couch_db.erl Modified: couchdb/trunk/src/couchdb/couch_db.erl URL:

svn commit: r771467 - /couchdb/trunk/etc/couchdb/default.ini.tpl.in

2009-05-04 Thread jchris
Author: jchris Date: Mon May 4 22:11:46 2009 New Revision: 771467 URL: http://svn.apache.org/viewvc?rev=771467&view=rev Log: helpful note about config setting Modified: couchdb/trunk/etc/couchdb/default.ini.tpl.in Modified: couchdb/trunk/etc/couchdb/default.ini.tpl.in URL:

svn commit: r771466 - in /couchdb/trunk: etc/couchdb/ share/server/ share/www/script/test/ src/couchdb/

2009-05-04 Thread jchris
Author: jchris Date: Mon May 4 22:06:01 2009 New Revision: 771466 URL: http://svn.apache.org/viewvc?rev=771466&view=rev Log: reduce_limit error is thrown when the reduce function output is not small enough compared to the input. Errors can be switched off using the config API. Modi

svn commit: r771418 - in /couchdb/trunk: etc/couchdb/ share/www/script/ share/www/script/test/ src/couchdb/

2009-05-04 Thread jchris
Author: jchris Date: Mon May 4 19:59:39 2009 New Revision: 771418 URL: http://svn.apache.org/viewvc?rev=771418&view=rev Log: Use batch=ok query param for document PUT and POST to defer index updates until a threshold of documents (or amount of time) has been passed. This option returns a

svn commit: r766388 - in /couchdb/branches/0.9.x: ./ etc/default/couchdb share/server/main.js src/couchdb/couch_js.c src/couchdb/couch_os_process.erl

2009-04-18 Thread jchris
Author: jchris Date: Sat Apr 18 20:42:19 2009 New Revision: 766388 URL: http://svn.apache.org/viewvc?rev=766388&view=rev Log: merge 765479 (better JS error handling) into 0.9.x branch Modified: couchdb/branches/0.9.x/ (props changed) couchdb/branches/0.9.x/etc/default/couchdb (p

svn commit: r766383 - in /couchdb/trunk: share/server/ share/www/script/test/ src/couchdb/

2009-04-18 Thread jchris
Author: jchris Date: Sat Apr 18 20:15:44 2009 New Revision: 766383 URL: http://svn.apache.org/viewvc?rev=766383&view=rev Log: refactor main.js into many files and improve show/list error handling Added: couchdb/trunk/share/server/loop.js (with props) couchdb/trunk/share/se

svn commit: r765819 - in /couchdb/trunk: share/server/main.js src/couchdb/couch_httpd.erl src/couchdb/couch_httpd_view.erl

2009-04-16 Thread jchris
Author: jchris Date: Fri Apr 17 00:47:50 2009 New Revision: 765819 URL: http://svn.apache.org/viewvc?rev=765819&view=rev Log: output errors differently during chunked responses (view and list) Modified: couchdb/trunk/share/server/main.js couchdb/trunk/src/couchdb/couch_httpd

svn commit: r765479 - in /couchdb/trunk: share/server/main.js src/couchdb/couch_js.c src/couchdb/couch_os_process.erl

2009-04-15 Thread jchris
Author: jchris Date: Thu Apr 16 06:02:12 2009 New Revision: 765479 URL: http://svn.apache.org/viewvc?rev=765479&view=rev Log: Baby steps toward better reporting of os_process errors (and JavaScript syntax errors) Modified: couchdb/trunk/share/server/main.js couchdb/trunk/src/cou

svn commit: r765422 - in /couchdb/branches/0.9.x: ./ etc/default/couchdb src/couchdb/couch_config.erl

2009-04-15 Thread jchris
Author: jchris Date: Wed Apr 15 23:25:57 2009 New Revision: 765422 URL: http://svn.apache.org/viewvc?rev=765422&view=rev Log: merged revision 765420 from trunk Modified: couchdb/branches/0.9.x/ (props changed) couchdb/branches/0.9.x/etc/default/couchdb (props changed) cou

svn commit: r765420 - /couchdb/trunk/src/couchdb/couch_config.erl

2009-04-15 Thread jchris
Author: jchris Date: Wed Apr 15 23:21:07 2009 New Revision: 765420 URL: http://svn.apache.org/viewvc?rev=765420&view=rev Log: change error message from list to binary string Modified: couchdb/trunk/src/couchdb/couch_config.erl Modified: couchdb/trunk/src/couchdb/couch_config.erl URL:

svn commit: r765419 - /couchdb/trunk/share/www/script/jquery.couch.js

2009-04-15 Thread jchris
Author: jchris Date: Wed Apr 15 23:20:16 2009 New Revision: 765419 URL: http://svn.apache.org/viewvc?rev=765419&view=rev Log: add bulkSave method to jquery.couch.js Modified: couchdb/trunk/share/www/script/jquery.couch.js Modified: couchdb/trunk/share/www/script/jquery.couch.js URL:

svn commit: r764257 - /couchdb/trunk/src/couchdb/couch_db.erl

2009-04-11 Thread jchris
Author: jchris Date: Sat Apr 11 22:20:22 2009 New Revision: 764257 URL: http://svn.apache.org/viewvc?rev=764257&view=rev Log: refactor: extract method from doc_flush_binaries. add with_stream/2 to handle automatically opening and closing binary streams. Modified: couchdb/trunk/src/cou

svn commit: r757406 - in /couchdb/trunk: CHANGES NEWS

2009-03-23 Thread jchris
Author: jchris Date: Mon Mar 23 15:04:58 2009 New Revision: 757406 URL: http://svn.apache.org/viewvc?rev=757406&view=rev Log: NEWS and CHANGES for 0.9.0 release Modified: couchdb/trunk/CHANGES couchdb/trunk/NEWS Modified: couchdb/trunk/CHANGES URL: http://svn.apache.org/viewvc/cou

svn commit: r756953 - /couchdb/trunk/share/www/script/test/bulk_docs.js

2009-03-21 Thread jchris
Author: jchris Date: Sat Mar 21 14:42:44 2009 New Revision: 756953 URL: http://svn.apache.org/viewvc?rev=756953&view=rev Log: regression test for update/delete in one bulk_docs update closes COUCHDB-172 Modified: couchdb/trunk/share/www/script/test/bulk_docs.js Modified: couchdb/trunk/s

svn commit: r756948 - in /couchdb/trunk: share/www/script/test/basics.js src/couchdb/couch_httpd_db.erl

2009-03-21 Thread jchris
Author: jchris Date: Sat Mar 21 14:18:46 2009 New Revision: 756948 URL: http://svn.apache.org/viewvc?rev=756948&view=rev Log: provide a 404 response on deletion of non-existant docs closes COUCHDB-297 Modified: couchdb/trunk/share/www/script/test/basics.js couchdb/trunk/src/cou

svn commit: r756428 - /couchdb/trunk/share/www/script/futon.browse.js

2009-03-20 Thread jchris
Author: jchris Date: Fri Mar 20 12:18:11 2009 New Revision: 756428 URL: http://svn.apache.org/viewvc?rev=756428&view=rev Log: Futon reduce pagination. Fixes COUCHDB-172 Thanks Jason Davies. Modified: couchdb/trunk/share/www/script/futon.browse.js Modified: couchdb/trunk/share/www/sc

svn commit: r756413 - in /couchdb/trunk: share/www/script/futon.browse.js share/www/script/jquery.couch.js share/www/script/test/view_errors.js src/couchdb/couch_httpd_view.erl

2009-03-20 Thread jchris
Author: jchris Date: Fri Mar 20 10:58:52 2009 New Revision: 756413 URL: http://svn.apache.org/viewvc?rev=756413&view=rev Log: map queries with group=true query option will return an error. closes COUCHDB-185. changes to jquery.couch.js to support ajaxOptions may be useful for more than

svn commit: r755926 - in /couchdb/trunk: share/www/script/test/view_collation.js src/couchdb/couch_db.hrl src/couchdb/couch_httpd_view.erl

2009-03-19 Thread jchris
Author: jchris Date: Thu Mar 19 11:20:36 2009 New Revision: 755926 URL: http://svn.apache.org/viewvc?rev=755926&view=rev Log: inclusive_end query option for views, defaults to true (does not change current behavior). inclusive_end=false treats endkey as an open interval. this is progres

svn commit: r755023 - in /couchdb/trunk: etc/couchdb/local_dev.ini src/couchdb/couch_doc.erl

2009-03-16 Thread jchris
Author: jchris Date: Mon Mar 16 22:13:19 2009 New Revision: 755023 URL: http://svn.apache.org/viewvc?rev=755023&view=rev Log: sensible error message if doc._rev is null or a number Modified: couchdb/trunk/etc/couchdb/local_dev.ini couchdb/trunk/src/couchdb/couch_doc.erl Modi

svn commit: r754704 - in /couchdb/trunk: share/www/script/test/replication.js src/couchdb/couch_rep.erl

2009-03-15 Thread jchris
Author: jchris Date: Sun Mar 15 17:47:29 2009 New Revision: 754704 URL: http://svn.apache.org/viewvc?rev=754704&view=rev Log: Streaming attachment replication now follows redirects and checks for error codes. Includes tests that design doc attachments are replicated. Modified: couchdb/t

svn commit: r754578 - /couchdb/trunk/src/couchdb/couch_db.erl

2009-03-14 Thread jchris
Author: jchris Date: Sun Mar 15 01:30:07 2009 New Revision: 754578 URL: http://svn.apache.org/viewvc?rev=754578&view=rev Log: fix case-miss when prep_and_validate_update is called on doc with attachment stubs Modified: couchdb/trunk/src/couchdb/couch_db.erl Modified: couchdb/trunk

svn commit: r754577 - /couchdb/trunk/src/couchdb/couch_httpd.erl

2009-03-14 Thread jchris
Author: jchris Date: Sun Mar 15 01:27:28 2009 New Revision: 754577 URL: http://svn.apache.org/viewvc?rev=754577&view=rev Log: verbose error logging turned back on for http requests and log_level = debug Modified: couchdb/trunk/src/couchdb/couch_httpd.erl Modified: couchdb/trunk/src/cou

svn commit: r754563 - in /couchdb/trunk: share/www/script/test/replication.js src/couchdb/couch_doc.erl

2009-03-14 Thread jchris
Author: jchris Date: Sun Mar 15 00:15:40 2009 New Revision: 754563 URL: http://svn.apache.org/viewvc?rev=754563&view=rev Log: error message on invalid rev format. another replication test. Modified: couchdb/trunk/share/www/script/test/replication.js couchdb/trunk/src/cou

svn commit: r753441 - /couchdb/branches/rep_security/src/couchdb/couch_httpd_show.erl

2009-03-13 Thread jchris
Author: jchris Date: Fri Mar 13 21:51:56 2009 New Revision: 753441 URL: http://svn.apache.org/viewvc?rev=753441&view=rev Log: fix list_views with nil rev not [] Modified: couchdb/branches/rep_security/src/couchdb/couch_httpd_show.erl Modified: couchdb/branches/rep_security/src/cou

svn commit: r752675 - /couchdb/tags/bulk_transactions/

2009-03-11 Thread jchris
Author: jchris Date: Wed Mar 11 22:47:33 2009 New Revision: 752675 URL: http://svn.apache.org/viewvc?rev=752675&view=rev Log: tagging the last point of 0.9 development to feature the old bulk-docs semantics Added: couchdb/tags/bulk_transactions/ (props changed) - copied from r75

svn commit: r752194 - in /couchdb/trunk/src/couchdb: couch_external_server.erl couch_os_process.erl

2009-03-10 Thread jchris
Author: jchris Date: Tue Mar 10 17:59:50 2009 New Revision: 752194 URL: http://svn.apache.org/viewvc?rev=752194&view=rev Log: fix gen_server calls to honor os_process_timeout Modified: couchdb/trunk/src/couchdb/couch_external_server.erl couchdb/trunk/src/couchdb/couch_os_process

svn commit: r751813 - in /couchdb/trunk: ./ etc/couchdb/ etc/default/ share/www/script/ share/www/script/test/ src/couchdb/

2009-03-09 Thread jchris
Author: jchris Date: Mon Mar 9 19:52:54 2009 New Revision: 751813 URL: http://svn.apache.org/viewvc?rev=751813&view=rev Log: merge design doc resource branch. breaking changes to _view query paths. closes COUCHDB-280 Modified: couchdb/trunk/ (props changed) couchdb/trunk/CHA

svn commit: r751798 - /couchdb/branches/design_resources/CHANGES

2009-03-09 Thread jchris
Author: jchris Date: Mon Mar 9 19:26:45 2009 New Revision: 751798 URL: http://svn.apache.org/viewvc?rev=751798&view=rev Log: noted httpd_design_handlers in CHANGES Modified: couchdb/branches/design_resources/CHANGES Modified: couchdb/branches/design_resources/CHANGES URL:

svn commit: r751791 - in /couchdb/branches/design_resources: etc/couchdb/ share/www/script/ share/www/script/test/ src/couchdb/

2009-03-09 Thread jchris
Author: jchris Date: Mon Mar 9 18:59:30 2009 New Revision: 751791 URL: http://svn.apache.org/viewvc?rev=751791&view=rev Log: commit branch for design doc resource. this is ready for merge to trunk. Modified: couchdb/branches/design_resources/etc/couchdb/default.ini.tpl.in cou

svn commit: r751716 - /couchdb/branches/design_resources/

2009-03-09 Thread jchris
Author: jchris Date: Mon Mar 9 15:56:38 2009 New Revision: 751716 URL: http://svn.apache.org/viewvc?rev=751716&view=rev Log: create ddoc resources branch Added: couchdb/branches/design_resources/ (props changed) - copied from r751715, couchdb/trunk/ Propchange: couchdb/bran

svn commit: r751020 - in /couchdb/trunk: etc/couchdb/default.ini.tpl.in src/couchdb/couch_os_process.erl

2009-03-06 Thread jchris
Author: jchris Date: Fri Mar 6 18:20:09 2009 New Revision: 751020 URL: http://svn.apache.org/viewvc?rev=751020&view=rev Log: configure view and external server timeout in using ini variables. closes COUCHDB-246 Modified: couchdb/trunk/etc/couchdb/default.ini.tpl.in couchdb/trunk

svn commit: r750969 - in /couchdb/trunk: share/www/script/test/list_views.js src/couchdb/couch_httpd.erl src/couchdb/couch_httpd_show.erl

2009-03-06 Thread jchris
Author: jchris Date: Fri Mar 6 16:45:45 2009 New Revision: 750969 URL: http://svn.apache.org/viewvc?rev=750969&view=rev Log: validate reduce view list queries, make query_parse_error response code 400 thanks Jan, thanks Jason Davies. closes COUCHDB-283 Modified: couchdb/trunk/share

svn commit: r750769 - in /couchdb/trunk/share/www: index.html script/futon.browse.js style/layout.css

2009-03-05 Thread jchris
Author: jchris Date: Fri Mar 6 04:50:58 2009 New Revision: 750769 URL: http://svn.apache.org/viewvc?rev=750769&view=rev Log: roll Applications tab out of Futon index page Modified: couchdb/trunk/share/www/index.html couchdb/trunk/share/www/script/futon.browse.js couchdb/trunk/s

svn commit: r750699 - /couchdb/trunk/src/couchdb/couch_httpd_db.erl

2009-03-05 Thread jchris
Author: jchris Date: Fri Mar 6 00:20:53 2009 New Revision: 750699 URL: http://svn.apache.org/viewvc?rev=750699&view=rev Log: tiny refactor of validate_attachment_name for pattern matching Modified: couchdb/trunk/src/couchdb/couch_httpd_db.erl Modified: couchdb/trunk/src/cou

svn commit: r750683 - /couchdb/trunk/share/server/main.js

2009-03-05 Thread jchris
Author: jchris Date: Thu Mar 5 23:33:06 2009 New Revision: 750683 URL: http://svn.apache.org/viewvc?rev=750683&view=rev Log: make row_info.prev_key available on 2nd row Modified: couchdb/trunk/share/server/main.js Modified: couchdb/trunk/share/server/main.js URL: http://svn.apache

svn commit: r750565 - in /couchdb/trunk: share/www/script/test/list_views.js src/couchdb/couch_db.hrl src/couchdb/couch_httpd_external.erl src/couchdb/couch_httpd_show.erl

2009-03-05 Thread jchris
Author: jchris Date: Thu Mar 5 19:47:25 2009 New Revision: 750565 URL: http://svn.apache.org/viewvc?rev=750565&view=rev Log: allow multi-key POST requests for _list. closes COUCHDB-269. thanks Jason Davies Modified: couchdb/trunk/share/www/script/test/list_views.js couchdb/trunk

svn commit: r750305 [4/4] - in /couchdb/branches/rep_security/share/www/script: ./ test/

2009-03-04 Thread jchris
Added: couchdb/branches/rep_security/share/www/script/test/security_validation.js URL: http://svn.apache.org/viewvc/couchdb/branches/rep_security/share/www/script/test/security_validation.js?rev=750305&view=auto == --- co

svn commit: r750305 [1/4] - in /couchdb/branches/rep_security/share/www/script: ./ test/

2009-03-04 Thread jchris
Author: jchris Date: Thu Mar 5 03:24:42 2009 New Revision: 750305 URL: http://svn.apache.org/viewvc?rev=750305&view=rev Log: split tests out like in trunk -- working toward trunk merge Added: couchdb/branches/rep_security/share/www/script/test/ couchdb/branches/rep_security/share

svn commit: r749902 - in /couchdb/trunk/src/couchdb: couch_httpd_db.erl couch_httpd_show.erl

2009-03-03 Thread jchris
Author: jchris Date: Wed Mar 4 04:45:10 2009 New Revision: 749902 URL: http://svn.apache.org/viewvc?rev=749902&view=rev Log: refactor show 404 handling doc-loading special case out of couch_httpd_db.erl Modified: couchdb/trunk/src/couchdb/couch_httpd_db.erl couchdb/trunk/src/cou

svn commit: r748754 - in /couchdb/trunk: share/www/script/test/list_views.js src/couchdb/couch_httpd_show.erl

2009-02-27 Thread jchris
Author: jchris Date: Sat Feb 28 00:04:10 2009 New Revision: 748754 URL: http://svn.apache.org/viewvc?rev=748754&view=rev Log: supply etags for reduce view lists Modified: couchdb/trunk/share/www/script/test/list_views.js couchdb/trunk/src/couchdb/couch_httpd_show.erl Modified: cou

svn commit: r747679 - in /couchdb/trunk: share/www/script/test/list_views.js src/couchdb/couch_db.hrl src/couchdb/couch_httpd_show.erl src/couchdb/couch_httpd_view.erl src/couchdb/couch_query_servers.

2009-02-24 Thread jchris
Author: jchris Date: Wed Feb 25 06:34:03 2009 New Revision: 747679 URL: http://svn.apache.org/viewvc?rev=747679&view=rev Log: Support for reduce views in _list. closes COUCHDB-260. Thanks Jason Davies. Modified: couchdb/trunk/share/www/script/test/list_views.js couchdb/trunk/src/cou

svn commit: r746798 - /couchdb/trunk/share/www/script/jquery.couch.js

2009-02-22 Thread jchris
Author: jchris Date: Sun Feb 22 18:44:26 2009 New Revision: 746798 URL: http://svn.apache.org/viewvc?rev=746798&view=rev Log: undefined protection for design doc attachments in futon Modified: couchdb/trunk/share/www/script/jquery.couch.js Modified: couchdb/trunk/share/www/sc

svn commit: r746644 - in /couchdb/trunk/share/www: index.html script/couch.js script/futon.browse.js script/jquery.couch.js style/layout.css

2009-02-21 Thread jchris
Author: jchris Date: Sun Feb 22 07:31:26 2009 New Revision: 746644 URL: http://svn.apache.org/viewvc?rev=746644&view=rev Log: Link to design docs that have ddoc.couchapp.index or index.html, from Futon database index. Modified: couchdb/trunk/share/www/index.html couchdb/trunk/share

<    1   2   3   4   >