forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gmcdon...@apache.org
Subject svn commit: r564997 - in /forrest/trunk/tools/forrestbar/xpi/chrome/content: forrestbarOverlay.js forrestbarOverlay.xul
Date Sun, 12 Aug 2007 02:21:18 GMT
Author: gmcdonald
Date: Sat Aug 11 19:21:16 2007
New Revision: 564997

URL: http://svn.apache.org/viewvc?view=rev&rev=564997
Log:
marc is now .info not .theaimsgroup , remove references to aims. Add new marc archives for
user, svn, site-svn

Modified:
    forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js
    forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul

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=564997&r1=564996&r2=564997
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js (original)
+++ forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js Sat Aug 11 19:21:16
2007
@@ -47,14 +47,14 @@
 
 function search(searchID)
 {
-  searchDev('aims', searchID);
+  searchDev('marc', searchID);
 }
 
 function searchDev(engine, searchID)
 {
   var searchItem = document.getElementById(searchID);
-  if (engine == 'aims') {
-    navigate('http://marc.theaimsgroup.com/?l=forrest-dev&w=2&r=1&q=b&s='
+ searchItem.value);
+  if (engine == 'marc') {
+    navigate('http://marc.info/?l=forrest-dev&w=2&r=1&q=b&s=' + searchItem.value);
   } else if (engine == 'gmane') {
     navigate('http://search.gmane.org/?group=gmane.text.xml.forrest.devel&sort=date&query='
+ searchItem.value);
   } else {
@@ -65,7 +65,9 @@
 function searchUser(engine, searchID)
 {
   var searchItem = document.getElementById(searchID);
-  if (engine == 'gmane') {
+  if (engine == 'marc') {
+    navigate('http://marc.info/?l=forrest-user&r=1&w=2&q=b&s=' + searchItem.value);
+  } else if (engine == 'gmane') {
     navigate('http://search.gmane.org/?group=gmane.text.xml.forrest.user&sort=date&query='
+ searchItem.value);
   } else {
     navigate('http://www.mail-archive.com/search?l=user@forrest.apache.org&q=' + searchItem.value);
@@ -75,7 +77,9 @@
 function searchCommits(engine, searchID)
 {
   var searchItem = document.getElementById(searchID);
-  if (engine == 'gmane') {
+  if (engine == 'marc') {
+    navigate('http://marc.info/?l=forrest-svn&r=1&w=2&q=b&s=' + searchItem.value);
+  } else if (engine == 'gmane') {
     navigate('http://search.gmane.org/?group=gmane.text.xml.forrest.cvs&sort=date&query='
+ searchItem.value);
   } else {
     navigate('http://www.mail-archive.com/search?l=svn@forrest.apache.org&q=' + searchItem.value);
@@ -85,7 +89,11 @@
 function searchSiteCommits(engine, searchID)
 {
   var searchItem = document.getElementById(searchID);
+  if(engine == 'marc') {
+  navigate('http://marc.info/?l=forrest-site-svn&r=1&w=2&q=b&s=' + searchItem.value);
+  } else {
   navigate('http://www.mail-archive.com/search?l=site-svn@forrest.apache.org&q=' + searchItem.value);
+  }
 }
 
 function searchIssue(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=564997&r1=564996&r2=564997
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul (original)
+++ forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul Sat Aug 11 19:21:16
2007
@@ -108,16 +108,19 @@
       <toolbarseparator/>
       <toolbaritem class="forrestbar" id="forrestbar-search">
         <label value="Search:"/>
-        <textbox id="forrestbar-input" onkeydown="if (event.which == 13) {searchDev('aims',
'forrestbar-input');}" hidden="false"/>
+        <textbox id="forrestbar-input" onkeydown="if (event.which == 13) {searchDev('marc',
'forrestbar-input');}" hidden="false"/>
         <toolbarbutton label="Search" hidden="false" type="menu">
           <menupopup>
-            <menuitem label="Dev (MARC)" onclick="searchDev('aims', 'forrestbar-input');"
hidden="false"/>
+            <menuitem label="Dev (MARC)" onclick="searchDev('marc', 'forrestbar-input');"
hidden="false"/>
             <menuitem label="Dev (Gmane)" onclick="searchDev('gmane', 'forrestbar-input');"
hidden="false"/>
             <menuitem label="Dev (The Mail Archive)" onclick="searchDev('mailArchive',
'forrestbar-input');" hidden="false"/>
+            <menuitem label="User (MARC)" onclick="searchUser('marc', 'forrestbar-input');"
hidden="false"/>
             <menuitem label="User (Gmane)" onclick="searchUser('gmane', 'forrestbar-input');"
hidden="false"/>
             <menuitem label="User (The Mail Archive)" onclick="searchUser('mailArchive',
'forrestbar-input');" hidden="false"/>
+            <menuitem label="Commits (MARC)" onclick="searchCommits('marc', '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 (MARC)" onclick="searchSiteCommits('marc', '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"/>



Mime
View raw message