svn commit: r732528 - /couchdb/trunk/src/couchdb/Makefile.am

2009-01-07 Thread jan
Author: jan
Date: Wed Jan  7 14:02:11 2009
New Revision: 732528

URL: http://svn.apache.org/viewvc?rev=732528&view=rev
Log:
Rebuild all .erl files when couch_db.hrl has been modified. Closes COUCHDB-199.

Modified:
couchdb/trunk/src/couchdb/Makefile.am

Modified: couchdb/trunk/src/couchdb/Makefile.am
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/Makefile.am?rev=732528&r1=732527&r2=732528&view=diff
==
--- couchdb/trunk/src/couchdb/Makefile.am (original)
+++ couchdb/trunk/src/couchdb/Makefile.am Wed Jan  7 14:02:11 2009
@@ -147,7 +147,7 @@
 
 # $(ERL) -noshell -run edoc_run files [\"$<\"]
 
-%.beam: %.erl
+%.beam: %.erl couch_db.hrl
$(ERLC) $<
 
 install-data-hook:




svn commit: r732519 - in /couchdb/trunk: NOTICE share/Makefile.am

2009-01-07 Thread jchris
Author: jchris
Date: Wed Jan  7 13:51:15 2009
New Revision: 732519

URL: http://svn.apache.org/viewvc?rev=732519&view=rev
Log:
reverted 732492, part of rolling out the Futon history

Modified:
couchdb/trunk/NOTICE
couchdb/trunk/share/Makefile.am

Modified: couchdb/trunk/NOTICE
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/NOTICE?rev=732519&r1=732518&r2=732519&view=diff
==
--- couchdb/trunk/NOTICE (original)
+++ couchdb/trunk/NOTICE Wed Jan  7 13:51:15 2009
@@ -14,10 +14,6 @@
 
Copyright 2008, John Resig
 
- * jQuery history plugin (http://www.mikage.to/jquery/jquery_history.html)
-
-   Copyright 2006, Taku Sano (Mikage Sawatari)
-
  * json2.js (http://www.json.org/)
 
In the public domain

Modified: couchdb/trunk/share/Makefile.am
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/share/Makefile.am?rev=732519&r1=732518&r2=732519&view=diff
==
--- couchdb/trunk/share/Makefile.am (original)
+++ couchdb/trunk/share/Makefile.am Wed Jan  7 13:51:15 2009
@@ -63,7 +63,6 @@
 www/script/jquery.couch.js \
 www/script/jquery.dialog.js \
 www/script/jquery.form.js \
-www/script/jquery.history.js \
 www/script/jquery.resizer.js \
 www/script/jquery.suggest.js \
 www/script/json2.js \




[Couchdb Wiki] Update of "How to contribute (for Non-Committers)" by NoahSlater

2009-01-07 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for 
change notification.

The following page has been changed by NoahSlater:
http://wiki.apache.org/couchdb/How_to_contribute_%28for_Non-Committers%29

--
- Thanks for your interest in growing Couchdb! This page will explain the 
process of submitting code to fix issues or add features.
+ Thanks for your interest in growing CouchDB! This page will explain the 
process of submitting code to fix issues or add features.
  
  In this document:
   * [#pre Prerequisites]
@@ -13, +13 @@

  == Prerequisites ==
  Ensure that you've
   * Installed from source: ["Installing from source"]
-  * Got your system running in Dev mode: ["Running Couchdb in Dev Mode"]
+  * Got your system running in Dev mode: ["Running CouchDB in Dev Mode"]
  
  [[Anchor(step1)]]
  == Step 1: See if your bug/feature exists in JIRA ==
-  * JIRA is the issue tracker that Couchdb uses to track items of work.
+  * JIRA is the issue tracker that CouchDB uses to track items of work.
   * Visit https://issues.apache.org/jira/browse/COUCHDB to see if your issue 
already exists. 
   * If it doesn't, you can open one by
* Registering for a JIRA account here: 
https://issues.apache.org/jira/secure/Signup!default.jspa
@@ -57, +57 @@

  
  [[Anchor(questions)]]
  == Asking Questions And Getting Feedback ==
- You can contact the couchdb developers to ask questions and propose ideas by:
+ You can contact the CouchDB developers to ask questions and propose ideas by:
   * Sending a mail to the Dev mailing list: 
http://wiki.apache.org/couchdb/Mailing_lists or,
   * Chatting on IRC: #couchdb on Freenode (irc.freenode.net)   
  


svn commit: r732511 - /couchdb/trunk/LICENSE

2009-01-07 Thread jchris
Author: jchris
Date: Wed Jan  7 13:38:46 2009
New Revision: 732511

URL: http://svn.apache.org/viewvc?rev=732511&view=rev
Log:
remove jquery.history.js LICENSE notice

Modified:
couchdb/trunk/LICENSE

Modified: couchdb/trunk/LICENSE
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/LICENSE?rev=732511&r1=732510&r2=732511&view=diff
==
--- couchdb/trunk/LICENSE (original)
+++ couchdb/trunk/LICENSE Wed Jan  7 13:38:46 2009
@@ -262,29 +262,6 @@
   OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
   WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
-For the share/www/script/jquery.history.js component:
-
-  http://www.mikage.to/jquery/jquery_history.html
-
-  Permission is hereby granted, free of charge, to any person obtaining
-  a copy of this software and associated documentation files (the
-  "Software"), to deal in the Software without restriction, including
-  without limitation the rights to use, copy, modify, merge, publish,
-  distribute, sublicense, and/or sell copies of the Software, and to
-  permit persons to whom the Software is furnished to do so, subject to
-  the following conditions:
-
-  The above copyright notice and this permission notice shall be
-  included in all copies or substantial portions of the Software.
-
-  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
 For the share/www/script/json2.js component:
 
   Public Domain




svn commit: r732510 - in /couchdb/trunk: THANKS share/www/browse/database.html share/www/browse/document.html share/www/index.html share/www/script/jquery.history.js

2009-01-07 Thread jchris
Author: jchris
Date: Wed Jan  7 13:37:38 2009
New Revision: 732510

URL: http://svn.apache.org/viewvc?rev=732510&view=rev
Log:
backing out r732413 - Futon browse history, due to Safari incompatibility

Removed:
couchdb/trunk/share/www/script/jquery.history.js
Modified:
couchdb/trunk/THANKS
couchdb/trunk/share/www/browse/database.html
couchdb/trunk/share/www/browse/document.html
couchdb/trunk/share/www/index.html

Modified: couchdb/trunk/THANKS
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/THANKS?rev=732510&r1=732509&r2=732510&view=diff
==
--- couchdb/trunk/THANKS (original)
+++ couchdb/trunk/THANKS Wed Jan  7 13:37:38 2009
@@ -12,7 +12,6 @@
  * Yoan Blanc 
  * Paul Carey 
  * Benoit Chesneau 
- * Jason Davies 
  * Paul Joseph Davis 
  * Michael Gottesman 
  * Michael Hendricks 
@@ -24,6 +23,5 @@
  * Sam Ruby 
  * Dirk Schalge 
  * Carlos Valiente 
- * Luke Venediger 
 
 For a list of authors see the `AUTHORS` file.

Modified: couchdb/trunk/share/www/browse/database.html
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/share/www/browse/database.html?rev=732510&r1=732509&r2=732510&view=diff
==
--- couchdb/trunk/share/www/browse/database.html [utf-8] (original)
+++ couchdb/trunk/share/www/browse/database.html [utf-8] Wed Jan  7 13:37:38 
2009
@@ -103,9 +103,6 @@
 $("#toolbar button.add").click(page.addDocument);
 $("#toolbar button.compact").click(page.compactDatabase);
 $("#toolbar button.delete").click(page.deleteDatabase);
-
-// Update title
-document.title = "Browse Database " + page.db.name;
   });
 
   

Modified: couchdb/trunk/share/www/browse/document.html
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/share/www/browse/document.html?rev=732510&r1=732509&r2=732510&view=diff
==
--- couchdb/trunk/share/www/browse/document.html [utf-8] (original)
+++ couchdb/trunk/share/www/browse/document.html [utf-8] Wed Jan  7 13:37:38 
2009
@@ -64,9 +64,6 @@
 $("#toolbar button.add").click(page.addField);
 $("#toolbar button.load").click(page.uploadAttachment);
 $("#toolbar button.delete").click(page.deleteDocument);
-
-// Update the title
-document.title = "View Document " + page.docId; 
   });
 
   

Modified: couchdb/trunk/share/www/index.html
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/share/www/index.html?rev=732510&r1=732509&r2=732510&view=diff
==
--- couchdb/trunk/share/www/index.html [utf-8] (original)
+++ couchdb/trunk/share/www/index.html [utf-8] Wed Jan  7 13:37:38 2009
@@ -30,8 +30,7 @@
 
 
 
-
-

[Couchdb Wiki] Update of "How to contribute (for Non-Committers)" by LukeVenediger

2009-01-07 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for 
change notification.

The following page has been changed by LukeVenediger:
http://wiki.apache.org/couchdb/How_to_contribute_%28for_Non-Committers%29

The comment on the change is:
Added a link to the coding standards

--
  
  [[Anchor(step2)]]
  == Step 2: Go forth and code! ==
+  * Take a look at the recommended coding standards here: 
http://couchdb.apache.org/community/standards.html
   * Before starting, make sure that your local copy is up to the latest version
   * For those using the command-line subversion tools, run this before 
starting:
   {{{


[Couchdb Wiki] Update of "How to contribute (for Non-Committers)" by LukeVenediger

2009-01-07 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for 
change notification.

The following page has been changed by LukeVenediger:
http://wiki.apache.org/couchdb/How_to_contribute_%28for_Non-Committers%29

The comment on the change is:
Adding a page describing how to submit a patch to Couchdb

New page:
Thanks for your interest in growing Couchdb! This page will explain the process 
of submitting code to fix issues or add features.

In this document:
 * [#pre Prerequisites]
 * [#step1 Step 1: See if your bug/feature exists in JIRA] 
 * [#step2 Step 2: Go forth and code!]
 * [#step3 Step 3: Create and Upload a Patch]
 * [#questions Asking Questions And Getting Feedback]

[[Anchor(pre)]]
== Prerequisites ==
Ensure that you've
 * Installed from source: ["Installing from source"]
 * Got your system running in Dev mode: ["Running Couchdb in Dev Mode"]

[[Anchor(step1)]]
== Step 1: See if your bug/feature exists in JIRA ==
 * JIRA is the issue tracker that Couchdb uses to track items of work.
 * Visit https://issues.apache.org/jira/browse/COUCHDB to see if your issue 
already exists. 
 * If it doesn't, you can open one by
  * Registering for a JIRA account here: 
https://issues.apache.org/jira/secure/Signup!default.jspa
  * Then opening a new issue here: 
https://issues.apache.org/jira/secure/CreateIssue!default.jspa
 * Either way, bookmark the link because you'll need it to comment or submit 
patches.

'''Note:''' You're still welcome to submit patches even if an issue has been 
assigned to someone else. In this case, it's probably better to add a comment 
before getting started. 

[[Anchor(step2)]]
== Step 2: Go forth and code! ==
 * Before starting, make sure that your local copy is up to the latest version
 * For those using the command-line subversion tools, run this before starting:
 {{{
$ cd YOUR-COUCHDB-CHECKOUT-DIR
$ svn update
 }}}
 * Don't forget to rebuild couchdb afterwards
 {{{
$ cd YOUR-COUCHDB-CHECKOUT-DIR
$ make dev
 }}}

[[Anchor(step3)]]
== Step 3: Create and Upload a Patch ==
 * Once you've completed the feature/fix you will need to create a patch
 * From the command line, call the following, giving your patch a name:
 {{{
$ cd YOUR-COUCHDB-CHECKOUT-DIR
$ svn diff > your_patch_file_name.diff
 }}}
 * Open up the issue link you found/created in Step 1
 * Click on '''Attach File''' under the '''Operations''' menu on the left
 * Add your file and add a comment about the change.

And you're done!

[[Anchor(questions)]]
== Asking Questions And Getting Feedback ==
You can contact the couchdb developers to ask questions and propose ideas by:
 * Sending a mail to the Dev mailing list: 
http://wiki.apache.org/couchdb/Mailing_lists or,
 * Chatting on IRC: #couchdb on Freenode (irc.freenode.net)   

All issues created in JIRA are mailed to the Dev mailing list.


svn commit: r732492 - in /couchdb/trunk: LICENSE NOTICE share/Makefile.am

2009-01-07 Thread cmlenz
Author: cmlenz
Date: Wed Jan  7 13:03:41 2009
New Revision: 732492

URL: http://svn.apache.org/viewvc?rev=732492&view=rev
Log:
Add jquery.history to the build and the LICENSE/NOTICE files.

Modified:
couchdb/trunk/LICENSE
couchdb/trunk/NOTICE
couchdb/trunk/share/Makefile.am

Modified: couchdb/trunk/LICENSE
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/LICENSE?rev=732492&r1=732491&r2=732492&view=diff
==
--- couchdb/trunk/LICENSE (original)
+++ couchdb/trunk/LICENSE Wed Jan  7 13:03:41 2009
@@ -262,15 +262,9 @@
   OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
   WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
-For the share/www/script/json2.js component:
-
-  Public Domain
-
-  No warranty expressed or implied. Use at your own risk.
-
-For the src/couchdb/cjson.erl component:
+For the share/www/script/jquery.history.js component:
 
-  Copyright (c) 2006 Mochi Media, Inc.
+  http://www.mikage.to/jquery/jquery_history.html
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
@@ -291,6 +285,12 @@
   OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
   WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
+For the share/www/script/json2.js component:
+
+  Public Domain
+
+  No warranty expressed or implied. Use at your own risk.
+
 For the src/mochiweb component:
 
   Copyright (c) 2007 Mochi Media, Inc.

Modified: couchdb/trunk/NOTICE
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/NOTICE?rev=732492&r1=732491&r2=732492&view=diff
==
--- couchdb/trunk/NOTICE (original)
+++ couchdb/trunk/NOTICE Wed Jan  7 13:03:41 2009
@@ -14,6 +14,10 @@
 
Copyright 2008, John Resig
 
+ * jQuery history plugin (http://www.mikage.to/jquery/jquery_history.html)
+
+   Copyright 2006, Taku Sano (Mikage Sawatari)
+
  * json2.js (http://www.json.org/)
 
In the public domain

Modified: couchdb/trunk/share/Makefile.am
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/share/Makefile.am?rev=732492&r1=732491&r2=732492&view=diff
==
--- couchdb/trunk/share/Makefile.am (original)
+++ couchdb/trunk/share/Makefile.am Wed Jan  7 13:03:41 2009
@@ -63,6 +63,7 @@
 www/script/jquery.couch.js \
 www/script/jquery.dialog.js \
 www/script/jquery.form.js \
+www/script/jquery.history.js \
 www/script/jquery.resizer.js \
 www/script/jquery.suggest.js \
 www/script/json2.js \




[Couchdb Wiki] Update of "Development" by LukeVenediger

2009-01-07 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for 
change notification.

The following page has been changed by LukeVenediger:
http://wiki.apache.org/couchdb/Development

The comment on the change is:
Organised the topics into headings.

--
+ === Overview ===
* ["Contributing"]
* ["Branch management"]
* ["Release procedure"]
* ["Open items"]
* ["One laptop per child"]
* ["Full text search"]
+ 
+ === Getting Started ===
* ["Running Couchdb in Dev Mode"]
-   * ["How to contribute for Non-Committers"]
+   * ["How to contribute (for Non-Committers)"]
  


[Couchdb Wiki] Update of "Development" by LukeVenediger

2009-01-07 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for 
change notification.

The following page has been changed by LukeVenediger:
http://wiki.apache.org/couchdb/Development

The comment on the change is:
Adding a page on how non-committers can submit patches

--
* ["One laptop per child"]
* ["Full text search"]
* ["Running Couchdb in Dev Mode"]
+   * ["How to contribute for Non-Committers"]
  


svn commit: r732420 - /couchdb/trunk/src/couchdb/couch_httpd_view.erl

2009-01-07 Thread jchris
Author: jchris
Date: Wed Jan  7 10:33:51 2009
New Revision: 732420

URL: http://svn.apache.org/viewvc?rev=732420&view=rev
Log:
friendly error message on use of count instead of limit

Modified:
couchdb/trunk/src/couchdb/couch_httpd_view.erl

Modified: couchdb/trunk/src/couchdb/couch_httpd_view.erl
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_httpd_view.erl?rev=732420&r1=732419&r2=732420&view=diff
==
--- couchdb/trunk/src/couchdb/couch_httpd_view.erl (original)
+++ couchdb/trunk/src/couchdb/couch_httpd_view.erl Wed Jan  7 10:33:51 2009
@@ -254,6 +254,8 @@
 Msg = io_lib:format("Bad URL query value, number expected: 
limit=~s", [Value]),
 throw({query_parse_error, Msg})
 end;
+{"count", Value} ->
+throw({query_parse_error, "URL query parameter 'count' has been 
changed to 'limit'."});
 {"update", "false"} ->
 Args#view_query_args{update=false};
 {"descending", "true"} ->




svn commit: r732413 - in /couchdb/trunk: THANKS share/www/browse/database.html share/www/browse/document.html share/www/index.html share/www/script/jquery.history.js

2009-01-07 Thread jchris
Author: jchris
Date: Wed Jan  7 10:21:23 2009
New Revision: 732413

URL: http://svn.apache.org/viewvc?rev=732413&view=rev
Log:
Futon history browsing - applied patch from COUCHDB-186

Added:
couchdb/trunk/share/www/script/jquery.history.js   (with props)
Modified:
couchdb/trunk/THANKS
couchdb/trunk/share/www/browse/database.html
couchdb/trunk/share/www/browse/document.html
couchdb/trunk/share/www/index.html

Modified: couchdb/trunk/THANKS
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/THANKS?rev=732413&r1=732412&r2=732413&view=diff
==
--- couchdb/trunk/THANKS (original)
+++ couchdb/trunk/THANKS Wed Jan  7 10:21:23 2009
@@ -12,6 +12,7 @@
  * Yoan Blanc 
  * Paul Carey 
  * Benoit Chesneau 
+ * Jason Davies 
  * Paul Joseph Davis 
  * Michael Gottesman 
  * Michael Hendricks 
@@ -23,5 +24,6 @@
  * Sam Ruby 
  * Dirk Schalge 
  * Carlos Valiente 
+ * Luke Venediger 
 
 For a list of authors see the `AUTHORS` file.

Modified: couchdb/trunk/share/www/browse/database.html
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/share/www/browse/database.html?rev=732413&r1=732412&r2=732413&view=diff
==
--- couchdb/trunk/share/www/browse/database.html [utf-8] (original)
+++ couchdb/trunk/share/www/browse/database.html [utf-8] Wed Jan  7 10:21:23 
2009
@@ -103,6 +103,9 @@
 $("#toolbar button.add").click(page.addDocument);
 $("#toolbar button.compact").click(page.compactDatabase);
 $("#toolbar button.delete").click(page.deleteDatabase);
+
+// Update title
+document.title = "Browse Database " + page.db.name;
   });
 
   

Modified: couchdb/trunk/share/www/browse/document.html
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/share/www/browse/document.html?rev=732413&r1=732412&r2=732413&view=diff
==
--- couchdb/trunk/share/www/browse/document.html [utf-8] (original)
+++ couchdb/trunk/share/www/browse/document.html [utf-8] Wed Jan  7 10:21:23 
2009
@@ -64,6 +64,9 @@
 $("#toolbar button.add").click(page.addField);
 $("#toolbar button.load").click(page.uploadAttachment);
 $("#toolbar button.delete").click(page.deleteDocument);
+
+// Update the title
+document.title = "View Document " + page.docId; 
   });
 
   

Modified: couchdb/trunk/share/www/index.html
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/share/www/index.html?rev=732413&r1=732412&r2=732413&view=diff
==
--- couchdb/trunk/share/www/index.html [utf-8] (original)
+++ couchdb/trunk/share/www/index.html [utf-8] Wed Jan  7 10:21:23 2009
@@ -30,7 +30,8 @@
 
 
 
-
+