You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jr...@apache.org on 2013/08/05 13:21:55 UTC

svn commit: r1510430 - in /qpid/site: ./ docs/ docs/components/cpp-broker/ docs/components/dispatch-router/ docs/components/java-broker/ docs/components/messaging-api/ docs/components/messenger/ docs/components/protocol-engine/ docs/components/qmf/ doc...

Author: jross
Date: Mon Aug  5 11:21:54 2013
New Revision: 1510430

URL: http://svn.apache.org/r1510430
Log:
QPID-4990: Javascript and content improvements

 - Improve input handling in jira goto and search boxes
 - Add (disabled) logging to javascript code
 - Simplify event handling
 - Add a force-render mode to override timestamp checks
 - Add more Qpid JMS links to developer central
 - Make issues and source code pages aware of modules other than
   qpid/trunk

Modified:
    qpid/site/Makefile
    qpid/site/TODO
    qpid/site/docs/components/cpp-broker/index.html
    qpid/site/docs/components/dispatch-router/index.html
    qpid/site/docs/components/java-broker/index.html
    qpid/site/docs/components/messaging-api/index.html
    qpid/site/docs/components/messenger/index.html
    qpid/site/docs/components/protocol-engine/index.html
    qpid/site/docs/components/qmf/index.html
    qpid/site/docs/components/qpid-jca/index.html
    qpid/site/docs/components/qpid-jms/index.html
    qpid/site/docs/components/qpid-wcf/index.html
    qpid/site/docs/developer.html
    qpid/site/docs/issues.html
    qpid/site/docs/proton/index.html
    qpid/site/docs/site.js
    qpid/site/docs/source-code.html
    qpid/site/input/components/cpp-broker/index.md
    qpid/site/input/components/dispatch-router/index.md
    qpid/site/input/components/java-broker/index.md
    qpid/site/input/components/messaging-api/index.md
    qpid/site/input/components/messenger/index.md
    qpid/site/input/components/protocol-engine/index.md
    qpid/site/input/components/qmf/index.md
    qpid/site/input/components/qpid-jca/index.md
    qpid/site/input/components/qpid-jms/index.md
    qpid/site/input/components/qpid-wcf/index.md
    qpid/site/input/developer.md
    qpid/site/input/issues.md
    qpid/site/input/proton/index.md
    qpid/site/input/site.js
    qpid/site/input/source-code.md
    qpid/site/python/transom/site.py
    qpid/site/scripts/render

Modified: qpid/site/Makefile
URL: http://svn.apache.org/viewvc/qpid/site/Makefile?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/Makefile (original)
+++ qpid/site/Makefile Mon Aug  5 11:21:54 2013
@@ -20,15 +20,17 @@ help:
 	@echo "gen-proton-release RELEASE=\$$VERSION [CURRENT=0]"
 	@echo "                Generate Proton release content"
 
+render: FORCE := 0
 render: devel-render
-	scripts/render http://qpid.apache.org input docs
+	scripts/render http://qpid.apache.org input docs ${FORCE}
 	@echo "See the output in your browser at ${SITE_URL}/index.html"
 
+devel-render: FORCE := 0
 devel-render:
-	scripts/render ${SITE_URL} input ${OUTPUT_DIR}
+	scripts/render ${SITE_URL} input ${OUTPUT_DIR} ${FORCE}
 
 devel-publish: TAG := "head"
-devel-publish: OUTPUT_DIR := $(shell mktemp -d)
+devel-publish: OUTPUT_DIR := $(shell mktemp -d --dry-run)
 devel-publish: SITE_URL := /~jross/transom/${TAG}
 devel-publish: devel-render
 	chmod 755 ${OUTPUT_DIR}

Modified: qpid/site/TODO
URL: http://svn.apache.org/viewvc/qpid/site/TODO?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/TODO (original)
+++ qpid/site/TODO Mon Aug  5 11:21:54 2013
@@ -4,6 +4,7 @@
 
 ## Medium
 
+ - wiki style
  - set up git access for qpid-site
  - add checklist for periodic updates
  - commits search in developer center

Modified: qpid/site/docs/components/cpp-broker/index.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/components/cpp-broker/index.html?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/docs/components/cpp-broker/index.html (original)
+++ qpid/site/docs/components/cpp-broker/index.html Mon Aug  5 11:21:54 2013
@@ -114,7 +114,7 @@ find previous versions with our
 <a href="http://qpid.apache.org/issues.html">Qpid issues</a>.</p>
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = QPID and component in ('C++ Broker', 'Python Tools') and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/docs/components/dispatch-router/index.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/components/dispatch-router/index.html?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/docs/components/dispatch-router/index.html (original)
+++ qpid/site/docs/components/dispatch-router/index.html Mon Aug  5 11:21:54 2013
@@ -117,7 +117,7 @@ involving a broker at all.</p>
 <a href="http://qpid.apache.org/issues.html">Qpid issues</a>.</p>
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = QPID and component = 'Qpid Dispatch' and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/docs/components/java-broker/index.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/components/java-broker/index.html?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/docs/components/java-broker/index.html (original)
+++ qpid/site/docs/components/java-broker/index.html Mon Aug  5 11:21:54 2013
@@ -115,7 +115,7 @@ find previous versions with our
 <a href="http://qpid.apache.org/issues.html">Qpid issues</a>.</p>
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = QPID and component = 'Java Broker' and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/docs/components/messaging-api/index.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/components/messaging-api/index.html?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/docs/components/messaging-api/index.html (original)
+++ qpid/site/docs/components/messaging-api/index.html Mon Aug  5 11:21:54 2013
@@ -108,7 +108,7 @@ find previous versions with our
 <a href="http://qpid.apache.org/issues.html">Qpid issues</a>.</p>
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = QPID and component in ('C++ Client', 'Dot Net Client', 'Perl Client', 'Python Client', 'Ruby Client') and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/docs/components/messenger/index.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/components/messenger/index.html?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/docs/components/messenger/index.html (original)
+++ qpid/site/docs/components/messenger/index.html Mon Aug  5 11:21:54 2013
@@ -110,7 +110,7 @@ find previous versions with our
 <a href="http://qpid.apache.org/issues.html">Qpid issues</a>.</p>
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = PROTON and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/docs/components/protocol-engine/index.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/components/protocol-engine/index.html?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/docs/components/protocol-engine/index.html (original)
+++ qpid/site/docs/components/protocol-engine/index.html Mon Aug  5 11:21:54 2013
@@ -102,7 +102,7 @@ find previous versions with our
 <a href="http://qpid.apache.org/issues.html">Qpid issues</a>.</p>
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = PROTON and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/docs/components/qmf/index.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/components/qmf/index.html?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/docs/components/qmf/index.html (original)
+++ qpid/site/docs/components/qmf/index.html Mon Aug  5 11:21:54 2013
@@ -90,7 +90,7 @@ find previous versions with our
 <a href="http://qpid.apache.org/issues.html">Qpid issues</a>.</p>
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = QPID and component = 'Qpid Managment Framework' and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/docs/components/qpid-jca/index.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/components/qpid-jca/index.html?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/docs/components/qpid-jca/index.html (original)
+++ qpid/site/docs/components/qpid-jca/index.html Mon Aug  5 11:21:54 2013
@@ -102,7 +102,7 @@ find previous versions with our
 <a href="http://qpid.apache.org/issues.html">Qpid issues</a>.</p>
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = QPID and component = JCA and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/docs/components/qpid-jms/index.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/components/qpid-jms/index.html?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/docs/components/qpid-jms/index.html (original)
+++ qpid/site/docs/components/qpid-jms/index.html Mon Aug  5 11:21:54 2013
@@ -108,7 +108,7 @@ find previous versions with our
 <a href="http://qpid.apache.org/issues.html">Qpid issues</a>.</p>
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = QPID and component = 'Java Client' and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/docs/components/qpid-wcf/index.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/components/qpid-wcf/index.html?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/docs/components/qpid-wcf/index.html (original)
+++ qpid/site/docs/components/qpid-wcf/index.html Mon Aug  5 11:21:54 2013
@@ -102,7 +102,7 @@ find previous versions with our
 <a href="http://qpid.apache.org/issues.html">Qpid issues</a>.</p>
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = QPID and component = 'WCF/C++ Client' and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/docs/developer.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/developer.html?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/docs/developer.html (original)
+++ qpid/site/docs/developer.html Mon Aug  5 11:21:54 2013
@@ -50,11 +50,11 @@
         <h1 id="developer-central">Developer Central</h1>
 
 <div id="developer-forms">
-  <form id="jira-search-form" action="?" method="post" style="float: right;">
+  <form id="jira-search-form" style="float: right;">
     <span class="accesskey">S</span>earch issues <input name="text" type="text" accesskey="s" tabindex="3"/>
   </form>
 
-  <form id="jira-goto-form" action="?" method="get">
+  <form id="jira-goto-form">
     Go to <span class="accesskey">i</span>ssue <input name="jira" accesskey="i" autofocus="autofocus" tabindex="1"/>
   </form>
 
@@ -76,7 +76,7 @@
 <tr><td>Java</td><td><a href="https://issues.apache.org/jira/issues/?jql=project%20%3D%20QPID%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20in%20(%22Java%20Broker%22%2C%20%22Java%20Client%22%2C%20%22Java%20Common%22%2C%20%22Java%20Management%20%3A%20JMX%20Console%22%2C%20%22Java%20Performance%20Tests%22%2C%20%22Java%20Tests%22%2C%20%22Java%20Tools%22%2C%20JCA)%20ORDER%20BY%20priority%20DESC">Open issues</a></td><td><a href="https://issues.apache.org/jira/secure/CreateIssueDetails!init.jspa?pid=12310520&amp;issuetype=1&amp;components=12311388&amp;components=12311389&amp;summary=[Enter%20a%20brief%20description]&amp;priority=3">Report bug</a></td><td><a href="https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Java-Java-Test-JDK1.7/">Build status</a></td><td><a href="https://svn.apache.org/repos/asf/qpid/trunk/qpid/java">Source</a></td></tr>
 <tr><td>Python</td><td><a href="https://issues.apache.org/jira/issues/?jql=project%20%3D%20QPID%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20in%20(%22Python%20Client%22%2C%20%22Python%20Test%20Suite%22)%20ORDER%20BY%20priority%20DESC">Open issues</a></td><td><a href="https://issues.apache.org/jira/secure/CreateIssueDetails!init.jspa?pid=12310520&amp;issuetype=1&amp;components=12311544&amp;summary=[Enter%20a%20brief%20description]&amp;priority=3">Report bug</a></td><td><a href="https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Python-Cpp-Test/">Build status</a></td><td><a href="https://svn.apache.org/repos/asf/qpid/trunk/qpid/python">Source</a></td></tr>
 <tr><td>Dispatch</td><td><a href="https://issues.apache.org/jira/issues/?jql=project%20%3D%20QPID%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20%3D%20%22Qpid%20Dispatch%22%20ORDER%20BY%20priority%20DESC">Open issues</a></td><td><a href="https://issues.apache.org/jira/secure/CreateIssueDetails!init.jspa?pid=12310520&amp;issuetype=1&amp;components=12320398&amp;summary=[Enter%20a%20brief%20description]&amp;priority=3">Report bug</a></td><td>-</td><td><a href="https://svn.apache.org/repos/asf/qpid/trunk/qpid/extras/dispatch">Source</a></td></tr>
-<tr><td><a href="http://qpid.apache.org/components/qpid-jms/index.html">JMS</a></td><td>-</td><td>-</td><td>-</td><td><a href="https://svn.apache.org/repos/asf/qpid/jms/trunk">Source</a></td></tr>
+<tr><td><a href="http://qpid.apache.org/components/qpid-jms/index.html">JMS</a></td><td><a href="https://issues.apache.org/jira/issues/?jql=project%20%3D%20QPIDJMS%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20priority%20DESC">Open issues</a></td><td><a href="https://issues.apache.org/jira/secure/CreateIssueDetails!init.jspa?pid=12314524&amp;issuetype=1&amp;summary=[Enter%20a%20brief%20description]&amp;priority=3">Report bug</a></td><td>-</td><td><a href="https://svn.apache.org/repos/asf/qpid/jms/trunk">Source</a></td></tr>
 <tr><td><a href="http://qpid.apache.org/proton/index.html">Proton</a></td><td><a href="https://issues.apache.org/jira/issues/?jql=project%20%3D%20PROTON%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20priority%20DESC">Open issues</a></td><td><a href="https://issues.apache.org/jira/secure/CreateIssueDetails!init.jspa?pid=12313720&amp;issuetype=1&amp;summary=[Enter%20a%20brief%20description]&amp;priority=3">Report bug</a></td><td><a href="https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-proton-jni/">Build status</a></td><td><a href="https://svn.apache.org/repos/asf/qpid/proton/trunk">Source</a></td></tr>
 </tbody>
 </table>

Modified: qpid/site/docs/issues.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/issues.html?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/docs/issues.html (original)
+++ qpid/site/docs/issues.html Mon Aug  5 11:21:54 2013
@@ -59,7 +59,7 @@ system.</p>
 <h2 id="search-issues">Search issues</h2>
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input name="text" type="text"/>
     <button type="submit">Search</button>
   </form>
@@ -75,9 +75,8 @@ account</a>.</p>
 to see if it has already been reported.  If it has, feel free to add a
 comment describing the case where you see it.</p>
 
-<p>If it hasn't, it's time to <a href="https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12310520&amp;issuetype=1&amp;priority=3">report a
-bug</a>.
-Two guidelines are essential.</p>
+<p>If it hasn't, it's time to report a bug.  Two guidelines are
+essential.</p>
 
 <ul>
 <li><p>Be specific.  What version of the software are you using?  What
@@ -95,20 +94,45 @@ important fields are <em>Summary</em>, <
 <p>Bug reports are highly useful contributions.  We appreciate the time
 you give to make Qpid better.</p>
 
+<div class="two-column">
+
+<div class="column">
+
+<h3 id="qpid">Qpid</h3>
+
+<ul>
+<li><a href="https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12310520&amp;issuetype=1&amp;priority=3">Report a bug</a></li>
+<li><a href="https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12310520">Create a new issue of another type</a></li>
+<li><a href="https://issues.apache.org/jira/browse/QPID">JIRA project page</a></li>
+</ul>
+
+</div>
+
+<div class="column">
+
+<h3 id="qpid-proton">Qpid Proton</h3>
+
+<ul>
+<li><a href="https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12313720&amp;issuetype=1&amp;priority=3">Report a bug</a></li>
+<li><a href="https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12313720">Create a new issue of another type</a></li>
+<li><a href="https://issues.apache.org/jira/browse/PROTON">JIRA project page</a></li>
+</ul>
+
+</div>
+
+</div>
+
 <h2 id="common-operations">Common operations</h2>
 
 <ul>
 <li><a href="https://issues.apache.org/jira/secure/Signup!default.jspa">Sign up for an account</a></li>
-<li><a href="https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12310520&amp;issuetype=1&amp;priority=3">Report a bug</a></li>
-<li><a href="https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12310520">Create a new issue</a> of another type</li>
-<li><form id="jira-goto-form" action="?" method="get">Go to issue <input name="jira" value="QPID-"/></form></li>
+<li><form id="jira-goto-form">Go to issue <input name="jira" value=""/></form></li>
 </ul>
 
 <h2 id="more-information">More information</h2>
 
 <ul>
 <li><a href="http://qpid.apache.org/resources.html#notifications">Subscribe to issue notifications</a></li>
-<li><a href="https://issues.apache.org/jira/browse/qpid">Qpid JIRA project page</a></li>
 <li><a href="http://www.atlassian.com/software/jira/overview">JIRA product page</a></li>
 <li><a href="http://www.atlassian.com/software/jira/docs/latest/">JIRA documentation</a></li>
 </ul>

Modified: qpid/site/docs/proton/index.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/proton/index.html?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/docs/proton/index.html (original)
+++ qpid/site/docs/proton/index.html Mon Aug  5 11:21:54 2013
@@ -98,7 +98,7 @@ address.</p>
 
 <ul>
 <li><a href="https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12313720&amp;issuetype=1&amp;priority=3">Report a bug</a></li>
-<li><form id="jira-goto-form" action="?" method="get">Go to issue <input name="jira" value="PROTON-"/></form></li>
+<li><form id="jira-goto-form">Go to issue <input name="jira" value="PROTON-"/></form></li>
 <li><a href="https://issues.apache.org/jira/browse/PROTON">Proton JIRA project page</a></li>
 </ul>
 

Modified: qpid/site/docs/site.js
URL: http://svn.apache.org/viewvc/qpid/site/docs/site.js?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/docs/site.js (original)
+++ qpid/site/docs/site.js Mon Aug  5 11:21:54 2013
@@ -21,6 +21,16 @@
 
 "use strict";
 
+var loggingEnabled = false;
+
+function _log(message) {
+    if (!loggingEnabled) {
+        return;
+    }
+
+    console.log(message);
+}
+
 /* IE lte 8 */
 if (!("trim" in String.prototype)) {
     String.prototype.trim = function() {
@@ -28,7 +38,7 @@ if (!("trim" in String.prototype)) {
     }
 }
 
-function getDescendant(elem, path) {
+function _getDescendant(elem, path) {
     var names = path.split(".");
     var node = elem;
 
@@ -45,7 +55,7 @@ function getDescendant(elem, path) {
     return node;
 }
 
-function getText(elem) {
+function _getText(elem) {
     var child = elem.firstChild;
 
     while (child) {
@@ -59,31 +69,68 @@ function getText(elem) {
     return null;
 }
 
-function gotoJira() {
-    var form = document.getElementById("jira-goto-form");
+function _addEventListener(elem, type, listener) {
+    _log("Adding event listener: " + elem + ", " + type + ", " + listener.name);
+
+    if (typeof elem === "string") {
+        elem = document.getElementById(elem);
+    }
 
-    if (!form) {
+    if (!elem) {
+        _log("No element: " + elem);
         return;
     }
 
-    form.jira.value = form.jira.value.trim();
+    if ("addEventListener" in elem) {
+        elem.addEventListener(type, listener, false);
+    } else if ("attachEvent" in elem) {
+        /* IE lte 8 */
+        elem.attachEvent("on" + type, listener);
+    }
+}
 
-    var jira = form.jira.value;
-    var uri = "https://issues.apache.org/jira/browse/" + encodeURIComponent(jira);
+function _getEventTarget(event) {
+    if ("target" in event) {
+        return event.target;
+    } else {
+        /* IE lte 8 */
+        return event.srcElement;
+    }
+}
 
-    form.action = uri;
+function _preventDefault(event) {
+    if ("preventDefault" in event) {
+        event.preventDefault();
+    } else {
+        /* IE lte 8 */
+        event.returnValue = false;
+    }
 }
 
-function searchJiras() {
-    var form = document.getElementById("jira-search-form");
+function _gotoJira() {
+    var form = _getEventTarget(event);
+    var jira = form.jira.value;
 
-    if (!form) {
-        return;
+    jira = jira.trim();
+
+    if (jira.search(/^[A-z]+-/) === -1) {
+        jira = "QPID-" + jira;
     }
 
+    var uri = "https://issues.apache.org/jira/browse/" + encodeURIComponent(jira);
+
+    window.location.href = uri;
+
+    _preventDefault(event);
+}
+
+function _searchJiras() {
+    var form = _getEventTarget(event);
     var text = form.text.value;
     var jql = "project in (QPID, PROTON) and text ~ '{}' order by updatedDate desc";
 
+    text = text.trim();
+
     if (form.jql) {
         jql = form.jql.value;
     }
@@ -92,46 +139,18 @@ function searchJiras() {
 
     var uri = "https://issues.apache.org/jira/issues/?jql=" + encodeURIComponent(jql);
 
-    form.action = uri;
+    window.location.href = uri;
+
+    _preventDefault(event);
 }
 
-function normalizeRevision() {
+function _normalizeRevision() {
     var form = document.getElementById("viewvc-goto-form");
 
     form.revision.value = form.revision.value.trim();
 }
 
-function registerEventListeners() {
-    var jiraGotoForm = document.getElementById("jira-goto-form");
-    var jiraSearchForm = document.getElementById("jira-search-form");
-    var viewvcGotoForm = document.getElementById("viewvc-goto-form");
-
-    if (jiraGotoForm) {
-        if ("addEventListener" in jiraGotoForm) {
-            jiraGotoForm.addEventListener("submit", gotoJira, false);
-        } else if ("attachEvent" in jiraGotoForm) {
-            jiraGotoForm.attachEvent("onsubmit", gotoJira);
-        }
-    }
-
-    if (jiraSearchForm) {
-        if ("addEventListener" in jiraSearchForm) {
-            jiraSearchForm.addEventListener("submit", searchJiras, false);
-        } else if ("attachEvent" in jiraSearchForm) {
-            jiraSearchForm.attachEvent("onsubmit", searchJiras);
-        }
-    }
-
-    if (viewvcGotoForm) {
-        if ("addEventListener" in viewvcGotoForm) {
-            viewvcGotoForm.addEventListener("submit", normalizeRevision, false);
-        } else if ("attachEvent" in viewvcGotoForm) {
-            viewvcGotoForm.attachEvent("onsubmit", normalizeRevision);
-        }
-    }
-}
-
-function focusJiraSearchForm() {
+function _focusJiraSearchForm() {
     var hash = window.location.hash;
 
     if (hash === "#search-issues") {
@@ -143,7 +162,7 @@ function focusJiraSearchForm() {
     }
 }
 
-function updateGlobalNavigation() {
+function _updateGlobalNavigation() {
     var elem = document.getElementById("global-navigation");
     var pageTitleElems = document.getElementsByTagName("h1");
 
@@ -151,7 +170,7 @@ function updateGlobalNavigation() {
         return;
     }
 
-    var pageTitle = getText(pageTitleElems[0]);
+    var pageTitle = _getText(pageTitleElems[0]);
 
     if (!pageTitle) {
         return;
@@ -162,9 +181,9 @@ function updateGlobalNavigation() {
 
     while (child) {
         if (child.nodeType === 1) {
-            var desc = getDescendant(child, "a");
+            var desc = _getDescendant(child, "a");
 
-            if (getText(desc).trim() === pageTitle) {
+            if (_getText(desc).trim() === pageTitle) {
                 child.className = "selected";
                 break;
             }
@@ -179,7 +198,7 @@ function updateGlobalNavigation() {
     }
 }
 
-function updatePathNavigation() {
+function _updatePathNavigation() {
     var elem = document.getElementById("path-navigation");
 
     if (!elem) {
@@ -202,7 +221,7 @@ function updatePathNavigation() {
     }
 }
 
-function updateHeadingSelection() {
+function _updateHeadingSelection() {
     var hash = window.location.hash;
 
     if (!hash) {
@@ -218,24 +237,17 @@ function updateHeadingSelection() {
     elem.className = "selected";
 }
 
-if ("addEventListener" in window) {
-    window.addEventListener("load", registerEventListeners, false);
-    window.addEventListener("load", focusJiraSearchForm, false);
-    window.addEventListener("load", updateGlobalNavigation, false);
-    window.addEventListener("load", updatePathNavigation, false);
-    window.addEventListener("load", updateHeadingSelection, false);
-
-    window.addEventListener("hashchange", focusJiraSearchForm, false);
-    window.addEventListener("hashchange", updateHeadingSelection, false);
-} else if ("attachEvent" in window) {
-    /* IE lte 8 */
-
-    window.attachEvent("onload", registerEventListeners);
-    window.attachEvent("onload", focusJiraSearchForm);
-    window.attachEvent("onload", updateGlobalNavigation);
-    window.attachEvent("onload", updatePathNavigation);
-    window.attachEvent("onload", updateHeadingSelection);
-
-    window.attachEvent("onhashchange", focusJiraSearchForm);
-    window.attachEvent("onhashchange", updateHeadingSelection);
+function _registerEventHandlers() {
+    _addEventListener("jira-goto-form", "submit", _gotoJira);
+    _addEventListener("jira-search-form", "submit", _searchJiras);
+    _addEventListener("viewvc-goto-form", "submit", _normalizeRevision);
 }
+
+_addEventListener(window, "load", _registerEventHandlers);
+_addEventListener(window, "load", _focusJiraSearchForm);
+_addEventListener(window, "load", _updateGlobalNavigation);
+_addEventListener(window, "load", _updatePathNavigation);
+_addEventListener(window, "load", _updateHeadingSelection);
+
+_addEventListener(window, "hashchange", _focusJiraSearchForm);
+_addEventListener(window, "hashchange", _updateHeadingSelection);

Modified: qpid/site/docs/source-code.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/source-code.html?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/docs/source-code.html (original)
+++ qpid/site/docs/source-code.html Mon Aug  5 11:21:54 2013
@@ -57,22 +57,19 @@ track and manage changes to its source c
 <h2 id="browse-the-code">Browse the code</h2>
 
 <ul>
-<li><a href="http://svn.apache.org/viewvc/qpid/trunk/qpid">Browse via ViewVC</a></li>
-<li><a href="https://svn.apache.org/repos/asf/qpid/trunk/qpid">Browse the source tree directly</a></li>
+<li><a href="http://svn.apache.org/viewvc/qpid">Browse via ViewVC</a></li>
+<li><a href="https://svn.apache.org/repos/asf/qpid">Browse the source tree directly</a></li>
 <li><form id="viewvc-goto-form" action="http://svn.apache.org/viewvc" method="get"><input type="hidden" name="view" value="revision"/>Go to revision <input type="text" name="revision"/></form></li>
 </ul>
 
 <h2 id="check-out-the-code">Check out the code</h2>
 
 <p>To access the repository anonymously, use the <code>svn checkout</code> command
-with the following URL:</p>
+with one of the Subversion URLs below.</p>
 
-<pre><code>% svn checkout http://svn.apache.org/repos/asf/qpid/trunk/qpid
-</code></pre>
-
-<p>To access the repository as a committer (note the use of <em><code>https</code></em>):</p>
+<pre><code>% svn checkout http://svn.apache.org/repos/asf/qpid/trunk/qpid qpid
 
-<pre><code>% svn checkout https://svn.apache.org/repos/asf/qpid/trunk/qpid
+% svn checkout http://svn.apache.org/repos/asf/qpid/proton/trunk proton
 </code></pre>
 
 <p>When adding files to Subversion, it's important that the appropriate
@@ -80,6 +77,34 @@ Subversion properties are set. The clien
 modifying the <code>auto-props</code> section of the Subversion config file.  Use
 the contents of <a href="http://svn.apache.org/repos/asf/qpid/trunk/qpid/etc/svn-auto-props">qpid/etc/svn-auto-props</a>.</p>
 
+<div class="two-column">
+
+<div class="column">
+
+<h3 id="qpid">Qpid</h3>
+
+<ul>
+<li><a href="http://svn.apache.org/repos/asf/qpid/trunk/qpid/">Anonymous Subversion URL</a></li>
+<li><a href="https://svn.apache.org/repos/asf/qpid/trunk/qpid/">Committer Subversion URL</a></li>
+<li><a href="http://svn.apache.org/viewvc/qpid/trunk/qpid/">Browse via ViewVC</a></li>
+</ul>
+
+</div>
+
+<div class="column">
+
+<h3 id="qpid-proton">Qpid Proton</h3>
+
+<ul>
+<li><a href="http://svn.apache.org/repos/asf/qpid/proton/trunk/">Anonymous Subversion URL</a></li>
+<li><a href="https://svn.apache.org/repos/asf/qpid/proton/trunk/">Committer Subversion URL</a></li>
+<li><a href="http://svn.apache.org/viewvc/qpid/proton/trunk/">Browse via ViewVC</a></li>
+</ul>
+
+</div>
+
+</div>
+
 <h2 id="install-the-code">Install the code</h2>
 
 <p>Consult the install documentation below.</p>

Modified: qpid/site/input/components/cpp-broker/index.md
URL: http://svn.apache.org/viewvc/qpid/site/input/components/cpp-broker/index.md?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/input/components/cpp-broker/index.md (original)
+++ qpid/site/input/components/cpp-broker/index.md Mon Aug  5 11:21:54 2013
@@ -76,7 +76,7 @@ For more information about finding and r
 [Qpid issues](@site-url@/issues.html).
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = QPID and component in ('C++ Broker', 'Python Tools') and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/input/components/dispatch-router/index.md
URL: http://svn.apache.org/viewvc/qpid/site/input/components/dispatch-router/index.md?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/input/components/dispatch-router/index.md (original)
+++ qpid/site/input/components/dispatch-router/index.md Mon Aug  5 11:21:54 2013
@@ -86,7 +86,7 @@ For more information about finding and r
 [Qpid issues](@site-url@/issues.html).
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = QPID and component = 'Qpid Dispatch' and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/input/components/java-broker/index.md
URL: http://svn.apache.org/viewvc/qpid/site/input/components/java-broker/index.md?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/input/components/java-broker/index.md (original)
+++ qpid/site/input/components/java-broker/index.md Mon Aug  5 11:21:54 2013
@@ -77,7 +77,7 @@ For more information about finding and r
 [Qpid issues](@site-url@/issues.html).
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = QPID and component = 'Java Broker' and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/input/components/messaging-api/index.md
URL: http://svn.apache.org/viewvc/qpid/site/input/components/messaging-api/index.md?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/input/components/messaging-api/index.md (original)
+++ qpid/site/input/components/messaging-api/index.md Mon Aug  5 11:21:54 2013
@@ -68,7 +68,7 @@ For more information about finding and r
 [Qpid issues](@site-url@/issues.html).
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = QPID and component in ('C++ Client', 'Dot Net Client', 'Perl Client', 'Python Client', 'Ruby Client') and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/input/components/messenger/index.md
URL: http://svn.apache.org/viewvc/qpid/site/input/components/messenger/index.md?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/input/components/messenger/index.md (original)
+++ qpid/site/input/components/messenger/index.md Mon Aug  5 11:21:54 2013
@@ -72,7 +72,7 @@ For more information about finding and r
 [Qpid issues](@site-url@/issues.html).
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = PROTON and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/input/components/protocol-engine/index.md
URL: http://svn.apache.org/viewvc/qpid/site/input/components/protocol-engine/index.md?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/input/components/protocol-engine/index.md (original)
+++ qpid/site/input/components/protocol-engine/index.md Mon Aug  5 11:21:54 2013
@@ -64,7 +64,7 @@ For more information about finding and r
 [Qpid issues](@site-url@/issues.html).
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = PROTON and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/input/components/qmf/index.md
URL: http://svn.apache.org/viewvc/qpid/site/input/components/qmf/index.md?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/input/components/qmf/index.md (original)
+++ qpid/site/input/components/qmf/index.md Mon Aug  5 11:21:54 2013
@@ -54,7 +54,7 @@ For more information about finding and r
 [Qpid issues](@site-url@/issues.html).
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = QPID and component = 'Qpid Managment Framework' and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/input/components/qpid-jca/index.md
URL: http://svn.apache.org/viewvc/qpid/site/input/components/qpid-jca/index.md?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/input/components/qpid-jca/index.md (original)
+++ qpid/site/input/components/qpid-jca/index.md Mon Aug  5 11:21:54 2013
@@ -64,7 +64,7 @@ For more information about finding and r
 [Qpid issues](@site-url@/issues.html).
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = QPID and component = JCA and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/input/components/qpid-jms/index.md
URL: http://svn.apache.org/viewvc/qpid/site/input/components/qpid-jms/index.md?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/input/components/qpid-jms/index.md (original)
+++ qpid/site/input/components/qpid-jms/index.md Mon Aug  5 11:21:54 2013
@@ -70,7 +70,7 @@ For more information about finding and r
 [Qpid issues](@site-url@/issues.html).
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = QPID and component = 'Java Client' and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/input/components/qpid-wcf/index.md
URL: http://svn.apache.org/viewvc/qpid/site/input/components/qpid-wcf/index.md?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/input/components/qpid-wcf/index.md (original)
+++ qpid/site/input/components/qpid-wcf/index.md Mon Aug  5 11:21:54 2013
@@ -64,7 +64,7 @@ For more information about finding and r
 [Qpid issues](@site-url@/issues.html).
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input type="hidden" name="jql" value="project = QPID and component = 'WCF/C++ Client' and text ~ '{}' order by updatedDate desc"/>
     <input type="text" name="text"/>
     <button type="submit">Search</button>

Modified: qpid/site/input/developer.md
URL: http://svn.apache.org/viewvc/qpid/site/input/developer.md?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/input/developer.md (original)
+++ qpid/site/input/developer.md Mon Aug  5 11:21:54 2013
@@ -1,11 +1,11 @@
 # Developer Central
 
 <div id="developer-forms">
-  <form id="jira-search-form" action="?" method="post" style="float: right;">
+  <form id="jira-search-form" style="float: right;">
     <span class="accesskey">S</span>earch issues <input name="text" type="text" accesskey="s" tabindex="3"/>
   </form>
 
-  <form id="jira-goto-form" action="?" method="get">
+  <form id="jira-goto-form">
     Go to <span class="accesskey">i</span>ssue <input name="jira" accesskey="i" autofocus="autofocus" tabindex="1"/>
   </form>
 
@@ -25,7 +25,7 @@
  || Java || [Open issues](https://issues.apache.org/jira/issues/?jql=project%20%3D%20QPID%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20in%20\(%22Java%20Broker%22%2C%20%22Java%20Client%22%2C%20%22Java%20Common%22%2C%20%22Java%20Management%20%3A%20JMX%20Console%22%2C%20%22Java%20Performance%20Tests%22%2C%20%22Java%20Tests%22%2C%20%22Java%20Tools%22%2C%20JCA\)%20ORDER%20BY%20priority%20DESC) || [Report bug](https://issues.apache.org/jira/secure/CreateIssueDetails!init.jspa?pid=12310520&issuetype=1&components=12311388&components=12311389&summary=[Enter%20a%20brief%20description]&priority=3)  || [Build status](https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Java-Java-Test-JDK1.7/) || [Source](https://svn.apache.org/repos/asf/qpid/trunk/qpid/java) ||
  || Python || [Open issues](https://issues.apache.org/jira/issues/?jql=project%20%3D%20QPID%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20in%20\(%22Python%20Client%22%2C%20%22Python%20Test%20Suite%22\)%20ORDER%20BY%20priority%20DESC) || [Report bug](https://issues.apache.org/jira/secure/CreateIssueDetails!init.jspa?pid=12310520&issuetype=1&components=12311544&summary=[Enter%20a%20brief%20description]&priority=3) || [Build status](https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Python-Cpp-Test/) || [Source](https://svn.apache.org/repos/asf/qpid/trunk/qpid/python) ||
  || Dispatch || [Open issues](https://issues.apache.org/jira/issues/?jql=project%20%3D%20QPID%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20%3D%20%22Qpid%20Dispatch%22%20ORDER%20BY%20priority%20DESC) || [Report bug](https://issues.apache.org/jira/secure/CreateIssueDetails!init.jspa?pid=12310520&issuetype=1&components=12320398&summary=[Enter%20a%20brief%20description]&priority=3) || - || [Source](https://svn.apache.org/repos/asf/qpid/trunk/qpid/extras/dispatch) ||
- || [JMS](@site-url@/components/qpid-jms/index.html) || - || - || - || [Source](https://svn.apache.org/repos/asf/qpid/jms/trunk) ||
+ || [JMS](@site-url@/components/qpid-jms/index.html) || [Open issues](https://issues.apache.org/jira/issues/?jql=project%20%3D%20QPIDJMS%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20priority%20DESC) || [Report bug](https://issues.apache.org/jira/secure/CreateIssueDetails!init.jspa?pid=12314524&issuetype=1&summary=[Enter%20a%20brief%20description]&priority=3) || - || [Source](https://svn.apache.org/repos/asf/qpid/jms/trunk) ||
  || [Proton](@site-url@/proton/index.html) || [Open issues](https://issues.apache.org/jira/issues/?jql=project%20%3D%20PROTON%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20priority%20DESC) || [Report bug](https://issues.apache.org/jira/secure/CreateIssueDetails!init.jspa?pid=12313720&issuetype=1&summary=[Enter%20a%20brief%20description]&priority=3) || [Build status](https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-proton-jni/) || [Source](https://svn.apache.org/repos/asf/qpid/proton/trunk) ||
 
 </div>

Modified: qpid/site/input/issues.md
URL: http://svn.apache.org/viewvc/qpid/site/input/issues.md?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/input/issues.md (original)
+++ qpid/site/input/issues.md Mon Aug  5 11:21:54 2013
@@ -29,7 +29,7 @@ system.
 ## Search issues
 
 <div class="indent">
-  <form id="jira-search-form" action="?" method="post">
+  <form id="jira-search-form">
     <input name="text" type="text"/>
     <button type="submit">Search</button>
   </form>
@@ -45,9 +45,8 @@ Before reporting a bug, [search the exis
 to see if it has already been reported.  If it has, feel free to add a
 comment describing the case where you see it.
 
-If it hasn't, it's time to [report a
-bug](https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12310520&amp;issuetype=1&amp;priority=3).
-Two guidelines are essential.
+If it hasn't, it's time to report a bug.  Two guidelines are
+essential.
 
  - Be specific.  What version of the software are you using?  What
    component?  What OS are you running it on?  What are you trying to
@@ -64,16 +63,43 @@ important fields are *Summary*, *Environ
 Bug reports are highly useful contributions.  We appreciate the time
 you give to make Qpid better.
 
+<div class="two-column" markdown="1">
+<div class="column" markdown="1">
+
+### Qpid
+
+ - [Report a bug](https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12310520&amp;issuetype=1&amp;priority=3)
+ - [Create a new issue of another type](https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12310520)
+ - [JIRA project page](https://issues.apache.org/jira/browse/QPID)
+
+</div>
+;;<div class="column" markdown="1">
+;;
+;;### Qpid JMS
+;;
+;; - [Report a bug](https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12314524&amp;issuetype=1&amp;priority=3)
+;; - [Create a new issue of another type](https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12314524)
+;; - [JIRA project page](https://issues.apache.org/jira/browse/QPIDJMS)
+;;
+;;</div>
+<div class="column" markdown="1">
+
+### Qpid Proton
+
+ - [Report a bug](https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12313720&amp;issuetype=1&amp;priority=3)
+ - [Create a new issue of another type](https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12313720)
+ - [JIRA project page](https://issues.apache.org/jira/browse/PROTON)
+
+</div>
+</div>
+
 ## Common operations
 
  - [Sign up for an account](https://issues.apache.org/jira/secure/Signup!default.jspa)
- - [Report a bug](https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12310520&amp;issuetype=1&amp;priority=3)
- - [Create a new issue](https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12310520) of another type
- - <form id="jira-goto-form" action="?" method="get">Go to issue <input name="jira" value="QPID-"/></form>
+ - <form id="jira-goto-form">Go to issue <input name="jira" value=""/></form>
 
 ## More information
 
  - [Subscribe to issue notifications](@site-url@/resources.html#notifications)
- - [Qpid JIRA project page](https://issues.apache.org/jira/browse/qpid)
  - [JIRA product page](http://www.atlassian.com/software/jira/overview)
  - [JIRA documentation](http://www.atlassian.com/software/jira/docs/latest/)

Modified: qpid/site/input/proton/index.md
URL: http://svn.apache.org/viewvc/qpid/site/input/proton/index.md?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/input/proton/index.md (original)
+++ qpid/site/input/proton/index.md Mon Aug  5 11:21:54 2013
@@ -60,7 +60,7 @@ address.
 ## Issues
 
  - [Report a bug](https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12313720&issuetype=1&priority=3)
- - <form id="jira-goto-form" action="?" method="get">Go to issue <input name="jira" value="PROTON-"/></form>
+ - <form id="jira-goto-form">Go to issue <input name="jira" value="PROTON-"/></form>
  - [Proton JIRA project page](https://issues.apache.org/jira/browse/PROTON)
 
 ## Source code

Modified: qpid/site/input/site.js
URL: http://svn.apache.org/viewvc/qpid/site/input/site.js?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/input/site.js (original)
+++ qpid/site/input/site.js Mon Aug  5 11:21:54 2013
@@ -21,6 +21,16 @@
 
 "use strict";
 
+var loggingEnabled = false;
+
+function _log(message) {
+    if (!loggingEnabled) {
+        return;
+    }
+
+    console.log(message);
+}
+
 /* IE lte 8 */
 if (!("trim" in String.prototype)) {
     String.prototype.trim = function() {
@@ -28,7 +38,7 @@ if (!("trim" in String.prototype)) {
     }
 }
 
-function getDescendant(elem, path) {
+function _getDescendant(elem, path) {
     var names = path.split(".");
     var node = elem;
 
@@ -45,7 +55,7 @@ function getDescendant(elem, path) {
     return node;
 }
 
-function getText(elem) {
+function _getText(elem) {
     var child = elem.firstChild;
 
     while (child) {
@@ -59,31 +69,68 @@ function getText(elem) {
     return null;
 }
 
-function gotoJira() {
-    var form = document.getElementById("jira-goto-form");
+function _addEventListener(elem, type, listener) {
+    _log("Adding event listener: " + elem + ", " + type + ", " + listener.name);
+
+    if (typeof elem === "string") {
+        elem = document.getElementById(elem);
+    }
 
-    if (!form) {
+    if (!elem) {
+        _log("No element: " + elem);
         return;
     }
 
-    form.jira.value = form.jira.value.trim();
+    if ("addEventListener" in elem) {
+        elem.addEventListener(type, listener, false);
+    } else if ("attachEvent" in elem) {
+        /* IE lte 8 */
+        elem.attachEvent("on" + type, listener);
+    }
+}
 
-    var jira = form.jira.value;
-    var uri = "https://issues.apache.org/jira/browse/" + encodeURIComponent(jira);
+function _getEventTarget(event) {
+    if ("target" in event) {
+        return event.target;
+    } else {
+        /* IE lte 8 */
+        return event.srcElement;
+    }
+}
 
-    form.action = uri;
+function _preventDefault(event) {
+    if ("preventDefault" in event) {
+        event.preventDefault();
+    } else {
+        /* IE lte 8 */
+        event.returnValue = false;
+    }
 }
 
-function searchJiras() {
-    var form = document.getElementById("jira-search-form");
+function _gotoJira() {
+    var form = _getEventTarget(event);
+    var jira = form.jira.value;
 
-    if (!form) {
-        return;
+    jira = jira.trim();
+
+    if (jira.search(/^[A-z]+-/) === -1) {
+        jira = "QPID-" + jira;
     }
 
+    var uri = "https://issues.apache.org/jira/browse/" + encodeURIComponent(jira);
+
+    window.location.href = uri;
+
+    _preventDefault(event);
+}
+
+function _searchJiras() {
+    var form = _getEventTarget(event);
     var text = form.text.value;
     var jql = "project in (QPID, PROTON) and text ~ '{}' order by updatedDate desc";
 
+    text = text.trim();
+
     if (form.jql) {
         jql = form.jql.value;
     }
@@ -92,46 +139,18 @@ function searchJiras() {
 
     var uri = "https://issues.apache.org/jira/issues/?jql=" + encodeURIComponent(jql);
 
-    form.action = uri;
+    window.location.href = uri;
+
+    _preventDefault(event);
 }
 
-function normalizeRevision() {
+function _normalizeRevision() {
     var form = document.getElementById("viewvc-goto-form");
 
     form.revision.value = form.revision.value.trim();
 }
 
-function registerEventListeners() {
-    var jiraGotoForm = document.getElementById("jira-goto-form");
-    var jiraSearchForm = document.getElementById("jira-search-form");
-    var viewvcGotoForm = document.getElementById("viewvc-goto-form");
-
-    if (jiraGotoForm) {
-        if ("addEventListener" in jiraGotoForm) {
-            jiraGotoForm.addEventListener("submit", gotoJira, false);
-        } else if ("attachEvent" in jiraGotoForm) {
-            jiraGotoForm.attachEvent("onsubmit", gotoJira);
-        }
-    }
-
-    if (jiraSearchForm) {
-        if ("addEventListener" in jiraSearchForm) {
-            jiraSearchForm.addEventListener("submit", searchJiras, false);
-        } else if ("attachEvent" in jiraSearchForm) {
-            jiraSearchForm.attachEvent("onsubmit", searchJiras);
-        }
-    }
-
-    if (viewvcGotoForm) {
-        if ("addEventListener" in viewvcGotoForm) {
-            viewvcGotoForm.addEventListener("submit", normalizeRevision, false);
-        } else if ("attachEvent" in viewvcGotoForm) {
-            viewvcGotoForm.attachEvent("onsubmit", normalizeRevision);
-        }
-    }
-}
-
-function focusJiraSearchForm() {
+function _focusJiraSearchForm() {
     var hash = window.location.hash;
 
     if (hash === "#search-issues") {
@@ -143,7 +162,7 @@ function focusJiraSearchForm() {
     }
 }
 
-function updateGlobalNavigation() {
+function _updateGlobalNavigation() {
     var elem = document.getElementById("global-navigation");
     var pageTitleElems = document.getElementsByTagName("h1");
 
@@ -151,7 +170,7 @@ function updateGlobalNavigation() {
         return;
     }
 
-    var pageTitle = getText(pageTitleElems[0]);
+    var pageTitle = _getText(pageTitleElems[0]);
 
     if (!pageTitle) {
         return;
@@ -162,9 +181,9 @@ function updateGlobalNavigation() {
 
     while (child) {
         if (child.nodeType === 1) {
-            var desc = getDescendant(child, "a");
+            var desc = _getDescendant(child, "a");
 
-            if (getText(desc).trim() === pageTitle) {
+            if (_getText(desc).trim() === pageTitle) {
                 child.className = "selected";
                 break;
             }
@@ -179,7 +198,7 @@ function updateGlobalNavigation() {
     }
 }
 
-function updatePathNavigation() {
+function _updatePathNavigation() {
     var elem = document.getElementById("path-navigation");
 
     if (!elem) {
@@ -202,7 +221,7 @@ function updatePathNavigation() {
     }
 }
 
-function updateHeadingSelection() {
+function _updateHeadingSelection() {
     var hash = window.location.hash;
 
     if (!hash) {
@@ -218,24 +237,17 @@ function updateHeadingSelection() {
     elem.className = "selected";
 }
 
-if ("addEventListener" in window) {
-    window.addEventListener("load", registerEventListeners, false);
-    window.addEventListener("load", focusJiraSearchForm, false);
-    window.addEventListener("load", updateGlobalNavigation, false);
-    window.addEventListener("load", updatePathNavigation, false);
-    window.addEventListener("load", updateHeadingSelection, false);
-
-    window.addEventListener("hashchange", focusJiraSearchForm, false);
-    window.addEventListener("hashchange", updateHeadingSelection, false);
-} else if ("attachEvent" in window) {
-    /* IE lte 8 */
-
-    window.attachEvent("onload", registerEventListeners);
-    window.attachEvent("onload", focusJiraSearchForm);
-    window.attachEvent("onload", updateGlobalNavigation);
-    window.attachEvent("onload", updatePathNavigation);
-    window.attachEvent("onload", updateHeadingSelection);
-
-    window.attachEvent("onhashchange", focusJiraSearchForm);
-    window.attachEvent("onhashchange", updateHeadingSelection);
+function _registerEventHandlers() {
+    _addEventListener("jira-goto-form", "submit", _gotoJira);
+    _addEventListener("jira-search-form", "submit", _searchJiras);
+    _addEventListener("viewvc-goto-form", "submit", _normalizeRevision);
 }
+
+_addEventListener(window, "load", _registerEventHandlers);
+_addEventListener(window, "load", _focusJiraSearchForm);
+_addEventListener(window, "load", _updateGlobalNavigation);
+_addEventListener(window, "load", _updatePathNavigation);
+_addEventListener(window, "load", _updateHeadingSelection);
+
+_addEventListener(window, "hashchange", _focusJiraSearchForm);
+_addEventListener(window, "hashchange", _updateHeadingSelection);

Modified: qpid/site/input/source-code.md
URL: http://svn.apache.org/viewvc/qpid/site/input/source-code.md?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/input/source-code.md (original)
+++ qpid/site/input/source-code.md Mon Aug  5 11:21:54 2013
@@ -26,26 +26,56 @@ track and manage changes to its source c
 
 ## Browse the code
 
- - [Browse via ViewVC](http://svn.apache.org/viewvc/qpid/trunk/qpid)
- - [Browse the source tree directly](https://svn.apache.org/repos/asf/qpid/trunk/qpid)
+ - [Browse via ViewVC](http://svn.apache.org/viewvc/qpid)
+ - [Browse the source tree directly](https://svn.apache.org/repos/asf/qpid)
  - <form id="viewvc-goto-form" action="http://svn.apache.org/viewvc" method="get"><input type="hidden" name="view" value="revision"/>Go to revision <input type="text" name="revision"/></form>
 
 ## Check out the code
 
 To access the repository anonymously, use the `svn checkout` command
-with the following URL:
+with one of the Subversion URLs below.
 
-    % svn checkout http://svn.apache.org/repos/asf/qpid/trunk/qpid
-
-To access the repository as a committer (note the use of *`https`*):
-
-    % svn checkout https://svn.apache.org/repos/asf/qpid/trunk/qpid
+    % svn checkout http://svn.apache.org/repos/asf/qpid/trunk/qpid qpid
+    
+;;    % svn checkout http://svn.apache.org/repos/asf/qpid/jms/trunk jms
+;;    
+    % svn checkout http://svn.apache.org/repos/asf/qpid/proton/trunk proton
 
 When adding files to Subversion, it's important that the appropriate
 Subversion properties are set. The client can do it automatically by
 modifying the `auto-props` section of the Subversion config file.  Use
 the contents of [qpid/etc/svn-auto-props](http://svn.apache.org/repos/asf/qpid/trunk/qpid/etc/svn-auto-props).
 
+<div class="two-column" markdown="1">
+<div class="column" markdown="1">
+
+### Qpid
+
+ - [Anonymous Subversion URL](http://svn.apache.org/repos/asf/qpid/trunk/qpid/)
+ - [Committer Subversion URL](https://svn.apache.org/repos/asf/qpid/trunk/qpid/)
+ - [Browse via ViewVC](http://svn.apache.org/viewvc/qpid/trunk/qpid/)
+
+</div>
+;;<div class="column" markdown="1">
+;;
+;;### Qpid JMS
+;;
+;; - [Anonymous Subversion URL](http://svn.apache.org/repos/asf/qpid/jms/trunk/)
+;; - [Committer Subversion URL](https://svn.apache.org/repos/asf/qpid/jms/trunk/)
+;; - [Browse via ViewVC](http://svn.apache.org/viewvc/qpid/jms/trunk/)
+;;
+;;</div>
+<div class="column" markdown="1">
+
+### Qpid Proton
+
+ - [Anonymous Subversion URL](http://svn.apache.org/repos/asf/qpid/proton/trunk/)
+ - [Committer Subversion URL](https://svn.apache.org/repos/asf/qpid/proton/trunk/)
+ - [Browse via ViewVC](http://svn.apache.org/viewvc/qpid/proton/trunk/)
+
+</div>
+</div>
+
 ## Install the code
 
 Consult the install documentation below.

Modified: qpid/site/python/transom/site.py
URL: http://svn.apache.org/viewvc/qpid/site/python/transom/site.py?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/python/transom/site.py (original)
+++ qpid/site/python/transom/site.py Mon Aug  5 11:21:54 2013
@@ -72,9 +72,12 @@ class Site(object):
         for file in self.files:
             file.init()
 
-    def render(self):
+    def render(self, force=False):
         self.last_rendered = self.update_render_timestamp()
 
+        if force:
+            self.last_rendered = None
+
         modified_pages = [x for x in self.pages if x.is_modified()]
         modified_resources = [x for x in self.resources if x.is_modified()]
 

Modified: qpid/site/scripts/render
URL: http://svn.apache.org/viewvc/qpid/site/scripts/render?rev=1510430&r1=1510429&r2=1510430&view=diff
==============================================================================
--- qpid/site/scripts/render (original)
+++ qpid/site/scripts/render Mon Aug  5 11:21:54 2013
@@ -20,8 +20,9 @@
 
 from transom.site import *
 
-site_url, input_dir, output_dir = sys.argv[1:4]
+site_url, input_dir, output_dir, force = sys.argv[1:5]
+force = bool(int(force))
 
 site = Site(site_url, input_dir, output_dir)
 site.init()
-site.render()
+site.render(force=force)



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org