You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by gm...@apache.org on 2007/06/15 14:46:14 UTC
svn commit: r547661 - in /forrest/trunk/tools/forrestbar/xpi:
chrome/content/forrestbarOverlay.js chrome/content/forrestbarOverlay.xul
install.rdf
Author: gmcdonald
Date: Fri Jun 15 05:46:13 2007
New Revision: 547661
URL: http://svn.apache.org/viewvc?view=rev&rev=547661
Log:
Add site-svn search function
Modified:
forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js
forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul
forrest/trunk/tools/forrestbar/xpi/install.rdf
Modified: forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js
URL: http://svn.apache.org/viewvc/forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js?view=diff&rev=547661&r1=547660&r2=547661
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js (original)
+++ forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js Fri Jun 15 05:46:13 2007
@@ -82,6 +82,12 @@
}
}
+function searchSiteCommits(engine, searchID)
+{
+ var searchItem = document.getElementById(searchID);
+ navigate('http://www.mail-archive.com/search?l=site-svn@forrest.apache.org&q=' + searchItem.value);
+}
+
function searchIssue(searchID)
{
var searchItem = document.getElementById(searchID);
Modified: forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul
URL: http://svn.apache.org/viewvc/forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul?view=diff&rev=547661&r1=547660&r2=547661
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul (original)
+++ forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul Fri Jun 15 05:46:13 2007
@@ -116,6 +116,7 @@
<menuitem label="User (The Mail Archive)" onclick="searchUser('mailArchive', 'forrestbar-input');" hidden="false"/>
<menuitem label="Commits (Gmane)" onclick="searchCommits('gmane', 'forrestbar-input');" hidden="false"/>
<menuitem label="Commits (The Mail Archive)" onclick="searchCommits('mailArchive', 'forrestbar-input');" hidden="false"/>
+ <menuitem label="Site Commits (The Mail Archive)" onclick="searchSiteCommits('mailArchive', 'forrestbar-input');" hidden="false"/>
<menuitem label="Forrest Site" onclick="searchSite('forrestbar-input');" hidden="false"/>
<menuitem label="JIRA Issues" onclick="searchIssue('forrestbar-input');" hidden="false"/>
<menuitem label="SVN Revision" onclick="searchSVN('forrestbar-input');" hidden="false"/>
Modified: forrest/trunk/tools/forrestbar/xpi/install.rdf
URL: http://svn.apache.org/viewvc/forrest/trunk/tools/forrestbar/xpi/install.rdf?view=diff&rev=547661&r1=547660&r2=547661
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/install.rdf (original)
+++ forrest/trunk/tools/forrestbar/xpi/install.rdf Fri Jun 15 05:46:13 2007
@@ -27,6 +27,7 @@
<em:contributor>Cyriaque Dupoirieux</em:contributor>
<em:contributor>Ross Gardler</em:contributor>
<em:contributor>Thorsten Scherler</em:contributor>
+ <em:contributer>Gavin McDonald</em:contributer>
<!-- <em:type>2</em:type> only used in 1.5 and not needed for extensions. -->
<!-- Target Applications with minimum and maximum supported versions. -->
<!-- FIREFOX -->