forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r326790 - in /forrest/trunk/tools/forrestbar: ./ xpi/ xpi/chrome/content/ xpi/chrome/forrestbar/
Date Thu, 20 Oct 2005 03:37:47 GMT
Author: crossley
Date: Wed Oct 19 20:37:39 2005
New Revision: 326790

URL: http://svn.apache.org/viewcvs?rev=326790&view=rev
Log:
The rest of the update.
Issue FOR-180
Submitted by: Addison Berry

Added:
    forrest/trunk/tools/forrestbar/xpi/chrome/content/
      - copied from r326782, forrest/trunk/tools/forrestbar/xpi/chrome/forrestbar/
Removed:
    forrest/trunk/tools/forrestbar/xpi/chrome/forrestbar/
Modified:
    forrest/trunk/tools/forrestbar/build.xml
    forrest/trunk/tools/forrestbar/xpi/chrome/content/contents.rdf
    forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbar.css
    forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js
    forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul
    forrest/trunk/tools/forrestbar/xpi/install.js

Modified: forrest/trunk/tools/forrestbar/build.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/tools/forrestbar/build.xml?rev=326790&r1=326789&r2=326790&view=diff
==============================================================================
--- forrest/trunk/tools/forrestbar/build.xml (original)
+++ forrest/trunk/tools/forrestbar/build.xml Wed Oct 19 20:37:39 2005
@@ -17,32 +17,39 @@
 -->
 <project default="forrestbar" basedir="." name="forrestbar">
 
-  <description>Build script for the forrestbar</description>
-  
+  <description>Build script for the ForrestBar</description>
+
   <!-- Default init values-->
   <target name="init">
     <property name="build.dir" location="build"/>
-    <xmlproperty file="properties.xml"                   keeproot="false" collapseAttributes="true"
/>
+    <xmlproperty file="properties.xml" keeproot="false" collapseAttributes="true" />
   </target>
-    
+
   <!-- =================================================================== -->
-  <!-- ForrestBar for Mozilla and MozillaFirebird                          -->
+  <!-- ForrestBar 0.7 for Mozilla 1.x and Firefox 0.9-1.5                  -->
   <!-- =================================================================== -->
   <target name="forrestbar" depends="init">
-    <property name="xpi.dir" location="xpi"/>  
+    <property name="xpi.dir" location="xpi"/>
     <mkdir dir="${build.dir}" />
     <mkdir dir="${build.dir}/work/forrestbar" />
+    <mkdir dir="${build.dir}/work/forrestbar/chrome" />
     <mkdir dir="${build.dir}/work/forrestbar-jar" />
     <copy todir="${build.dir}/work/forrestbar-jar" overwrite="true">
       <fileset dir="${xpi.dir}" />
     </copy>
-    <jar jarfile="${build.dir}/work/forrestbar/forrestbar.jar">
-      <fileset dir="${build.dir}/work/forrestbar-jar" includes="content/**/*" />
+    <jar jarfile="${build.dir}/work/forrestbar/chrome/forrestbar.jar">
+      <fileset dir="${build.dir}/work/forrestbar-jar/chrome" includes="content/**/*" />
     </jar>
-    <copy file="${xpi.dir}/install.js" 
+    <copy file="${xpi.dir}/install.js"
           todir="${build.dir}/work/forrestbar" overwrite="true">
     </copy>
-    <zip zipfile="${build.dir}/forrestbar.xpi" 
+    <copy file="${xpi.dir}/install.rdf"
+          todir="${build.dir}/work/forrestbar" overwrite="true">
+    </copy>
+    <copy file="${xpi.dir}/chrome.manifest"
+          todir="${build.dir}/work/forrestbar" overwrite="true">
+    </copy>
+    <zip zipfile="${build.dir}/forrestbar.xpi"
       basedir="${build.dir}/work/forrestbar" />
   </target>
 

Modified: forrest/trunk/tools/forrestbar/xpi/chrome/content/contents.rdf
URL: http://svn.apache.org/viewcvs/forrest/trunk/tools/forrestbar/xpi/chrome/content/contents.rdf?rev=326790&r1=326782&r2=326790&view=diff
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/chrome/content/contents.rdf (original)
+++ forrest/trunk/tools/forrestbar/xpi/chrome/content/contents.rdf Wed Oct 19 20:37:39 2005
@@ -1,45 +1,44 @@
 <?xml version="1.0"?>
 <!--
-  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
   as applicable.
-
+ 
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at
-
+ 
       http://www.apache.org/licenses/LICENSE-2.0
-
+ 
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
-   <RDF:Seq about="urn:mozilla:package:root">
-      <RDF:li resource="urn:mozilla:package:forrestbar" />
-   </RDF:Seq>
-
-   <RDF:Description about="urn:mozilla:package:forrestbar" 
-                    chrome:displayName="Forrest Toolbar" 
-                    chrome:author="Apache Forrest Project - xml.apache.org/forrest" 
-                    chrome:name="forrestbar"
-                    chrome:extension="true"
-	                chrome:description="This is a toolbar for Apache Projects and Apache Forrest.">
-   </RDF:Description>
-
-   <RDF:Seq about="urn:mozilla:overlays">
-      <RDF:li resource="chrome://navigator/content/navigator.xul" />
-      <RDF:li resource="chrome://browser/content/browser.xul"/>
-   </RDF:Seq>
-
-   <RDF:Seq about="chrome://navigator/content/navigator.xul">
-      <RDF:li>chrome://forrestbar/content/forrestbarOverlay.xul</RDF:li>
-   </RDF:Seq>
-   
+
+<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+     xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
+
+  <RDF:Seq about="urn:mozilla:package:root">
+    <RDF:li resource="urn:mozilla:package:forrestbar"/>
+  </RDF:Seq>
+
+  <RDF:Description about="urn:mozilla:package:forrestbar"
+    chrome:extension="true" chrome:name="forrestbar" chrome:displayName="ForrestBar 0.7"/>
+
+  <RDF:Seq about="urn:mozilla:overlays">
+    <RDF:li resource="chrome://browser/content/browser.xul"/>
+    <RDF:li resource="chrome://navigator/content/navigator.xul"/>
+  </RDF:Seq>
+
+  <!-- firefox overlays -->
   <RDF:Seq about="chrome://browser/content/browser.xul">
     <RDF:li>chrome://forrestbar/content/forrestbarOverlay.xul</RDF:li>
   </RDF:Seq>
-  
-</RDF:RDF>
 
+  <!-- mozilla overlays -->
+  <RDF:Seq about="chrome://navigator/content/navigator.xul">
+    <RDF:li>chrome://forrestbar/content/forrestbarOverlay.xul</RDF:li>
+  </RDF:Seq>
+
+</RDF:RDF>

Modified: forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbar.css
URL: http://svn.apache.org/viewcvs/forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbar.css?rev=326790&r1=326782&r2=326790&view=diff
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbar.css (original)
+++ forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbar.css Wed Oct 19 20:37:39 2005
@@ -1,5 +1,5 @@
 /*
-* Copyright 2002-2004 The Apache Software Foundation or its licensors,
+* Copyright 2002-2005 The Apache Software Foundation or its licensors,
 * as applicable.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,97 +15,96 @@
 * limitations under the License.
 */
 *.forrestbar {
-	font-family: tahoma,verdana;
-	font-size: 11px;
-    padding: 1px 0px 1px 6px;
-    margin: 0px 1px 0px 1px;
+  font-family: tahoma,verdana;
+  font-size: 11px;
+  padding: 1px 0px 1px 6px;
+  margin: 0px 1px 0px 1px;
 }
 
-
 textbox.forrestbar {
-	font-size: 11px;
-	padding: 2px;
+  font-size: 11px;
+  padding: 2px;
 }
 
 image.forrestbar {
-	border: 0px;
-	margin: 0px 0px 0px 0px;
+  border: 0px;
+  margin: 0px 0px 0px 0px;
 }
 
 image#forrestbar-logo {
- 	list-style-image: url("images/apache-down.png");
+  list-style-image: url("images/apache-down.png");
 }
 
 
 #forrestbar-community:hover  {
-	list-style-image: url("images/apache-down.png");
+  list-style-image: url("images/apache-down.png");
 }
 #forrestbar-community {
-	list-style-image: url("images/apache.png");
+  list-style-image: url("images/apache.png");
 }
 
 #forrestbar-search:hover {
-	list-style-image: url("images/search-down.png");
+  list-style-image: url("images/search-down.png");
 }
 #forrestbar-search {
-	list-style-image: url("images/search.png");
+  list-style-image: url("images/search.png");
 }
 
 #forrestbar-news:hover {
-	list-style-image: url("images/news-down.png");
+  list-style-image: url("images/news-down.png");
 }
 #forrestbar-news {
-	list-style-image: url("images/news.png");
+  list-style-image: url("images/news.png");
 }
 
 #forrestbar-code:hover {
-	list-style-image: url("images/code-down.png");
+  list-style-image: url("images/code-down.png");
 }
 #forrestbar-code {
-	list-style-image: url("images/code.png");
+  list-style-image: url("images/code.png");
 }
 
 #forrestbar-download:hover {
-	list-style-image: url("images/download-down.png");
+  list-style-image: url("images/download-down.png");
 }
 #forrestbar-download {
-	list-style-image: url("images/download.png");
+  list-style-image: url("images/download.png");
 }
 
 #forrestbar-tools:hover {
-	list-style-image: url("images/tools-down.png");
+  list-style-image: url("images/tools-down.png");
 }
 #forrestbar-tools {
-	list-style-image: url("images/tools.png");
+  list-style-image: url("images/tools.png");
 }
 
 #forrestbar-faqs:hover {
-	list-style-image: url("images/faq-down.png");
+  list-style-image: url("images/faq-down.png");
 }
 #forrestbar-faqs {
-	list-style-image: url("images/faq.png");
+  list-style-image: url("images/faq.png");
 }
 
 #forrestbar-gump-nightly:hover {
-	list-style-image: url("images/gump-down.png");
+  list-style-image: url("images/gump-down.png");
 }
 #forrestbar-gump-nightly {
-	list-style-image: url("images/gump.png");
+  list-style-image: url("images/gump.png");
 }
 
 #forrestbar-local-forrest:hover {
-	list-style-image: url("images/forrest-down.png");
+  list-style-image: url("images/forrest-down.png");
 }
 
 #forrestbar-local-forrest {
-	list-style-image: url("images/forrest.png");
+  list-style-image: url("images/forrest.png");
 }
 
 #forrestbar-projects:hover {
-	list-style-image: url("images/projects-down.png");
+  list-style-image: url("images/projects-down.png");
 }
 #forrestbar-projects {
-	list-style-image: url("images/projects.png");
+  list-style-image: url("images/projects.png");
 }
 
 

Modified: forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js
URL: http://svn.apache.org/viewcvs/forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js?rev=326790&r1=326782&r2=326790&view=diff
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js (original)
+++ forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js Wed Oct 19 20:37:39
2005
@@ -1,5 +1,5 @@
 /*
-* Copyright 2002-2004 The Apache Software Foundation or its licensors,
+* Copyright 2002-2005 The Apache Software Foundation or its licensors,
 * as applicable.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
@@ -17,17 +17,17 @@
 
 function startforrestbar()
 {
-	//alert("function init");
-	if(document.getElementById("forrestbar").getAttribute("hidden") == "false")
-	{
-		removeEventListener ("load",startforrestbar, true); // Keep the event from firing a hundred
more times.
-	}
+  //alert("function init");
+  if(document.getElementById("forrestbar").getAttribute("hidden") == "false")
+  {
+    removeEventListener ("load",startforrestbar, true); // Keep the event from firing a hundred
more times.
+  }
 }
 
 addEventListener("load", startforrestbar, true); // Run the startup function when the window
loads
-	
+
 function navigate(url) {
-	window._content.document.location.href = url;
+  window._content.document.location.href = url;
 }
 
 
@@ -35,12 +35,12 @@
 
 function search(searchID)
 {
-	var searchItem = document.getElementById(searchID);
-	navigate('http://www.google.com/search?q=' + searchItem.value);
+  var searchItem = document.getElementById(searchID);
+  navigate('http://www.mail-archive.com/cgi-bin/htsearch?method=and&format=short&config=dev_forrest_apache_org&restrict=&exclude=&words='
+ searchItem.value);
 }
 
 function navProject(searchID) {
-	var searchItem = document.getElementById(searchID);
-	navigate(searchItem.selectedItem.value);
+  var searchItem = document.getElementById(searchID);
+  navigate(searchItem.selectedItem.value);
 }
 

Modified: forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul
URL: http://svn.apache.org/viewcvs/forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul?rev=326790&r1=326782&r2=326790&view=diff
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul (original)
+++ forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul Wed Oct 19 20:37:39
2005
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <!--
-  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
   as applicable.
 
   Licensed under the Apache License, Version 2.0 (the "License");
@@ -19,143 +19,122 @@
 
 <overlay id="forrestbarOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-<script type="text/javascript" src="forrestbarOverlay.js"/>
+  <script type="text/javascript" src="forrestbarOverlay.js"/>
 
-<menupopup id="view_toolbars_popup">
-	<menuitem id="viewforrestbar" position="4" checked="true" class="menuitem-iconic" type="checkbox"
label="Forrest Toolbar" oncommand="goToggleToolbar('forrestbar','viewforrestbar');startforrestbar();"/>
-</menupopup>
+<!--  <menupopup id="view_toolbars_popup">
+  <menuitem id="viewforrestbar" position="4" checked="true" class="menuitem-iconic" type="checkbox"
label="Forrest Toolbar" oncommand="goToggleToolbar('forrestbar','viewforrestbar');startforrestbar();"/>
+</menupopup> -->
 
-
-<toolbox id="navigator-toolbox">
-  <toolbar id="forrestbar" persist="hidden" hidden="false" grippytooltiptext="Forrestbar">
+  <toolbox id="navigator-toolbox">
+    <toolbar id="forrestbar" persist="hidden" hidden="false" grippytooltiptext="Forrestbar">
 
    <!-- <image class="forrestbar" id="forrestbar-logo"/> -->
-   
-   <toolbarbutton class="forrestbar" label="Community" type="menu" id="forrestbar-community"
hidden="false">
-    <menupopup>
-      <menuitem label="Who we are" onclick="navigate('http://www.apache.org/foundation/conferences.html');"
/>
-      <menuitem label="map: At a glance" onclick="navigate('http://cvs.apache.org/~sgala/map.html');"
/>
-      <menuitem label="map: Zoom on us" onclick="navigate('http://cvs.apache.org/~dirkx/sgala.html');"
/>   
-      <menuitem label="map: Day &amp; Night" onclick="navigate('http://cvs.apache.org/~sgala/nightmap.html');"
/>   
-       <menuseparator/>
-      <menuitem label="Community discussions" onclick="navigate('http://issues.apache.org/eyebrowse/BrowseList?listName=community@apache.org');"
/>
-      <menuitem label="PlanetApache Blogs" onclick="navigate('http://planetapache.org/');"
/>
-      <menuseparator/>
-      <menuitem label="Management" onclick="navigate('http://www.apache.org/foundation/roles.html');"
/>   
-      <menuitem label="Mailing lists" onclick="navigate('http://www.apache.org/foundation/mailinglists.html');"
/>   
-    </menupopup>
-   </toolbarbutton>
-   
-   <toolbarbutton class="forrestbar" label="Projects" type="menu" id="forrestbar-projects"
hidden="false">
-    <menupopup>
-      <menuitem label="Apache" onclick="navigate('http://www.apache.org/');" />
-      <menuseparator/>      
-      <menuitem label="Conferences" onclick="navigate('http://www.apache.org/foundation/conferences.html');"
/>
-      <menuitem label="Foundation" onclick="navigate('http://www.apache.org/foundation/');"
/>
-      <menuitem label="Incubator" onclick="navigate('http://incubator.apache.org/');"
/>   
-      <menuseparator/>
-      <menuitem label="HTTP Server" onclick="navigate('http://httpd.apache.org/');" />
-      <menuitem label="Ant" onclick="navigate('http://ant.apache.org/');" />
-      <menuitem label="APR" onclick="navigate('http://apr.apache.org/');" />
-      <menuitem label="Cocoon" onclick="navigate('http://cocoon.apache.org/');" />
-      <menu label="Jakarta">
-       <menupopup>
-         <menuitem label="Home" onclick="navigate('http://jakarta.apache.org/');"/>
 
-         <menuitem onclick="navigate('http://jakarta.apache.org/alexandria/index.html')"
label="Alexandria"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/ant/index.html')" label="Ant"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/avalon/index.html')" label="Avalon"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/bcel/index.html')" label="BCEL"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/bsf/index.html')" label="BSF"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/cactus/index.html')" label="Cactus"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/commons/index.html')"
label="Commons"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/ecs/index.html')" label="ECS"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/james/index.html')" label="James"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/jetspeed/index.html')"
label="Jetspeed"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/jmeter/index.html')" label="JMeter"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/log4j/index.html')" label="Log4J"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/lucene/index.html')" label="Lucene"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/ojb/index.html')" label="OJB"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/oro/index.html')" label="ORO"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/poi/index.html')" label="POI"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/regexp/index.html')" label="Regexp"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/slide/index.html')" label="Slide"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/struts/index.html')" label="Struts"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/taglibs/index.html')"
label="Taglibs"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/tomcat/index.html')" label="Tomcat"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/turbine/index.html')"
label="Turbine"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/velocity/index.html')"
label="Velocity"/>
-         <menuitem onclick="navigate('http://jakarta.apache.org/watchdog/index.html')"
label="Watchdog"/>
-       </menupopup>                
-      </menu>
-      <menuitem label="James" onclick="navigate('http://james.apache.org/');" />
-      <menuitem label="Maven" onclick="navigate('http://maven.apache.org/');" />
-      <menuitem label="PERL" onclick="navigate('http://perl.apache.org/');" />
-      <menuitem label="PHP" onclick="navigate('http://php.apache.org/');" />
-      <menuitem label="TCL" onclick="navigate('http://tcl.apache.org/');" />
-      <menuitem label="XML" onclick="navigate('http://xml.apache.org/');" />
-
-    </menupopup>
-   </toolbarbutton>
-       
-   <toolbarbutton class="forrestbar" id="forrestbar-news"     label="News" onclick="navigate('http://www.apache.org/foundation/news.html');"
hidden="false"/>
-   <toolbarbutton class="forrestbar" id="forrestbar-download" label="Downloads" onclick="navigate('http://issues.apache.org/dist/');"
hidden="false"/>
-   <toolbarbutton class="forrestbar" id="forrestbar-code"     label="Code"  onclick="navigate('http://cvs.apache.org/viewcvs/');"
hidden="false"/>
-
-   <toolbarbutton class="forrestbar" label="Tools" id="forrestbar-tools" hidden="false"
type="menu">
-    <menupopup>
-      <menuitem label="Home" onclick="navigate('http://issues.apache.org/');" />
-      <menuseparator/>      
-      <menuitem label="Bugzilla" onclick="navigate('http://issues.apache.org/bugzilla/index.html');"
/>
-      <menuitem label="Old Wiki" onclick="navigate('http://issues.apache.org/wiki/apachewiki.cgi');"
/>
-      <menuitem label="Wiki" onclick="navigate('http://wiki.apache.org/);" />
-      <menuitem label="Mail archive" onclick="navigate('http://issues.apache.org/eyebrowse/ViewLists');"
/>
-    </menupopup>
-   </toolbarbutton>   
-
-   <toolbarbutton class="forrestbar" id="forrestbar-local-forrest" label="Forrest" hidden="false"
type="menu">
-     <menupopup>
-       <menuitem label="Home" onclick="navigate('http://forrest.apache.org/');" />
-       <menuseparator />
-       <menuitem label="Local Forrest (embedded)" onclick="navigate('http://127.0.0.1:8888/');"
hidden="false" />
-       <menuitem label="Local Forrest (webapp)" onclick="navigate('http://127.0.0.1:8080/');"
hidden="false" />    
-     </menupopup>
-   </toolbarbutton>
-
-   
-   <toolbarbutton class="forrestbar" id="forrestbar-gump-nightly"  label="Gump"  hidden="false"
type="menu">
-    <menupopup>
-      <menuitem label="Home" onclick="navigate('http://jakarta.apache.org/gump/');" />
-      <!--
-      <menuseparator/>      
-      <menuitem label="Javadocs" onclick="navigate('http://issues.apache.org/~rubys/gump/javadoc.html');"
/>
-      <menuitem label="Binaries" onclick="navigate('http://gump.covalent.net/jars/');"
/>
-      -->
-      <menuseparator/>      
-      <menuitem label="Covalent" onclick="navigate('http://gump.covalent.net/log/');"
/>
-      <menuitem label="CocoonDed" onclick="navigate('http://gump.cocoondev.org/');" />
-      <menuitem label="LSD GumPy JDK1.4.2-b28" onclick="navigate('http://lsd.student.utwente.nl/gump/');"
/>
-      <menuitem label="DotNot GumPy 1.4.1_02-b06" onclick="navigate('http://gump.dotnot.org/');"
/>
-    </menupopup>
-   </toolbarbutton>   
-
-   <toolbarbutton class="forrestbar" label="FAQs" type="menu" id="forrestbar-faqs" hidden="false">
-    <menupopup>
-      <menuitem label="FAQ" onclick="navigate('http://www.apache.org/foundation/faq.html');"
/>
-      <menuitem label="Search" onclick="navigate('http://search.apache.org/');" />
-      <menuitem label="Apache Developer Resources" onclick="navigate('http://www.apache.org/dev/');"
/>
-      <menuseparator/>
-      <menuitem label="Java 1.4.2 API" onclick="navigate('http://java.sun.com/j2se/1.4.2/docs/api/');"
/>
-      <menuitem label="Ant manual" onclick="navigate('http://ant.apache.org/manual/index.html');"
/>      
-     </menupopup>
-   </toolbarbutton>
-
-   <!-- <text class="forrestbar" value="Search for "/> -->
-   <textbox class="forrestbar" id="forrestbar-input" onselect="search('forrestbar-input');"
hidden="false"/>
-   <toolbarbutton class="forrestbar" id="forrestbar-search" label="Search" onclick="search('forrestbar-input');"
hidden="false"/>
 
+      <toolbarbutton class="forrestbar" id="forrestbar-local-forrest" label="Forrest"
hidden="false" type="menu">
+        <menupopup>
+          <menuitem label="Forrest Home" onclick="navigate('http://forrest.apache.org/');"
/>
+          <menuitem label="Browse SVN" onclick="navigate('http://svn.apache.org/viewcvs.cgi/forrest/');"
/>
+          <menuitem label="JIRA" onclick="navigate('http://issues.apache.org/jira/secure/BrowseProject.jspa?id=12310000');"
/>
+          <menuitem label="Mail Lists" onclick="navigate('http://forrest.apache.org/mail-lists.html');"
/>
+          <menuitem label="Plugins" onclick="navigate('http://forrest.apache.org/pluginDocs/index.html');"
/>
+          <menuitem label="Current Docs (0.7)" onclick="navigate('http://forrest.apache.org/docs_0_70/index.html');"
/>
+          <menuseparator />
+          <menuitem label="Local Forrest (jetty)" onclick="navigate('http://127.0.0.1:8888/');"
hidden="false" />
+          <menuitem label="Local Forrest (webapp)" onclick="navigate('http://127.0.0.1:8080/');"
hidden="false" />
+        </menupopup>
+      </toolbarbutton>
+
+      <toolbarbutton class="forrestbar" label="Apache" type="menu" id="forrestbar-community"
hidden="false">
+        <menupopup>
+          <menuitem label="Apache Home" onclick="navigate('http://www.apache.org/');"
/>
+          <menuitem label="News" onclick="navigate('http://www.apache.org/foundation/news.html');"
/>
+          <menuitem label="Conferences" onclick="navigate('http://www.apache.org/foundation/conferences.html');"
/>
+          <menuitem label="Foundation" onclick="navigate('http://www.apache.org/foundation/');"
/>
+          <menuitem label="Incubator" onclick="navigate('http://incubator.apache.org/');"
/>
+          <menuitem label="PlanetApache Blogs" onclick="navigate('http://planetapache.org/');"
/>
+          <menuseparator/>
+          <menuitem label="Dev Resources" onclick="navigate('http://www.apache.org/dev/');"
/>
+          <menuitem label="Issues" onclick="navigate('http://issues.apache.org/');" />
+          <menuitem label="Mail Lists" onclick="navigate('http://www.apache.org/foundation/mailinglists.html');"
/>
+          <menuitem label="Search Apache" onclick="navigate('http://search.apache.org/');"
/>
+          <menuitem label="Server Status" onclick="navigate('http://monitoring.apache.org/status/');"
/>
+        </menupopup>
+      </toolbarbutton>
+
+      <toolbarbutton class="forrestbar" label="Projects" type="menu" id="forrestbar-projects"
hidden="false">
+        <menupopup>
+          <menuitem label="Browse All CVS" onclick="navigate('http://cvs.apache.org/viewcvs.cgi/');"
/>
+          <menuitem label="Browse All SVN" onclick="navigate('http://svn.apache.org/viewcvs.cgi/');"
/>
+          <menuseparator/>
+          <menuitem label="HTTP Server" onclick="navigate('http://httpd.apache.org/');"
/>
+          <menuitem label="Ant" onclick="navigate('http://ant.apache.org/');" />
+          <menuitem label="APR" onclick="navigate('http://apr.apache.org/');" />
+          <menuitem label="Cocoon" onclick="navigate('http://cocoon.apache.org/');" />
+          <menuitem label="DB" onclick="navigate('http://db.apache.org/');" />
+          <menuitem label="Directory" onclick="navigate('http://directory.apache.org/');"
/>
+          <menuitem label="Excalibur" onclick="navigate('http://excalibur.apache.org/');"
/>
+          <menuitem label="Geronimo" onclick="navigate('http://geronimo.apache.org/');"
/>
+          <menuitem label="Gump" onclick="navigate('http://gump.apache.org/');" />
+          <menu label="Jakarta">
+            <menupopup>
+              <menuitem label="Home" onclick="navigate('http://jakarta.apache.org/');"
/>
+              <menuitem label="Alexandria" onclick="navigate('http://jakarta.apache.org/alexandria/index.html');"
/>
+              <menuitem label="BCEL" onclick="navigate('http://jakarta.apache.org/bcel/index.html');"
/>
+              <menuitem label="BSF" onclick="navigate('http://jakarta.apache.org/bsf/index.html');"
/>
+              <menuitem label="Cactus" onclick="navigate('http://jakarta.apache.org/cactus/index.html');"
/>
+              <menuitem label="Commons" onclick="navigate('http://jakarta.apache.org/commons/index.html');"
/>
+              <menuitem label="ECS" onclick="navigate('http://jakarta.apache.org/ecs/index.html');"
/>
+              <menuitem label="HiveMind" onclick="navigate('http://jakarta.apache.org/hivemind/index.html');"
/>
+              <menuitem label="JCS" onclick="navigate('http://jakarta.apache.org/jcs/index.html');"
/>
+              <menuitem label="JMeter" onclick="navigate('http://jakarta.apache.org/jmeter/index.html');"
/>
+              <menuitem label="ORO" onclick="navigate('http://jakarta.apache.org/oro/index.html');"
/>
+              <menuitem label="POI" onclick="navigate('http://jakarta.apache.org/poi/index.html')"
/>
+              <menuitem label="Regexp" onclick="navigate('http://jakarta.apache.org/regexp/index.html');"
/>
+              <menuitem label="Slide" onclick="navigate('http://jakarta.apache.org/slide/index.html');"
/>
+              <menuitem label="Taglibs" onclick="navigate('http://jakarta.apache.org/taglibs/index.html');"
/>
+              <menuitem label="Tapestry" onclick="navigate('http://jakarta.apache.org/tapestry/index.html');"
/>
+              <menuitem label="Tomcat" onclick="navigate('http://jakarta.apache.org/tomcat/index.html');"
/>
+              <menuitem label="Turbine" onclick="navigate('http://jakarta.apache.org/turbine/index.html');"
/>
+              <menuitem label="Velocity" onclick="navigate('http://jakarta.apache.org/velocity/index.html');"
/>
+              <menuitem label="Watchdog" onclick="navigate('http://jakarta.apache.org/watchdog/index.html');"
/>
+            </menupopup>
+          </menu>
+          <menuitem label="James" onclick="navigate('http://james.apache.org/');" />
+          <menuitem label="Lenya" onclick="navigate('http://lenya.apache.org/');" />
+          <menuitem label="Logging" onclick="navigate('http://logging.apache.org/');"
/>
+          <menuitem label="Lucene" onclick="navigate('http://lucene.apache.org/');" />
+          <menuitem label="Maven" onclick="navigate('http://maven.apache.org/');" />
+          <menuitem label="MyFaces" onclick="navigate('http://myfaces.apache.org/');"
/>
+          <menuitem label="PERL" onclick="navigate('http://perl.apache.org/');" />
+          <menuitem label="Portals" onclick="navigate('http://portals.apache.org/');"
/>
+          <menuitem label="SpamAssassin" onclick="navigate('http://spamassassin.apache.org/');"
/>
+          <menuitem label="Struts" onclick="navigate('http://struts.apache.org/');" />
+          <menuitem label="TCL" onclick="navigate('http://tcl.apache.org/');" />
+          <menuitem label="Web Services" onclick="navigate('http://ws.apache.org/');"
/>
+          <menuitem label="XML" onclick="navigate('http://xml.apache.org/');" />
+          <menuitem label="XMLBeans" onclick="navigate('http://xmlbeans.apache.org/');"
/>
+          <menuitem label="XMLGraphics" onclick="navigate('http://xmlgraphics.apache.org/');"
/>
+        </menupopup>
+      </toolbarbutton>
+
+      <toolbarbutton class="forrestbar" label="References" id="forrestbar-tools" hidden="false"
type="menu">
+        <menupopup>
+          <menuitem label="Ant manual" onclick="navigate('http://ant.apache.org/manual/index.html');"
/>
+          <menuitem label="Cocoon 2.1 Docs" onclick="navigate('http://cocoon.apache.org/2.1/developing/index.html');"
/>
+          <menuitem label="SVN Book" onclick="navigate('http://svnbook.red-bean.com/');"
/>
+        </menupopup>
+      </toolbarbutton>
+
+      <toolbarseparator/>
+
+      <toolbaritem class="forrestbar" id="forrestbar-search">
+        <label value="Search Forrest dev-mail:"/>
+        <textbox id="forrestbar-input" hidden="false"/>
+        <toolbarbutton label="Go" onclick="search('forrestbar-input');" hidden="false"/>
+      </toolbaritem>
 
-  </toolbar>
-</toolbox>
+    </toolbar>
+  </toolbox>
 
 
 </overlay>

Modified: forrest/trunk/tools/forrestbar/xpi/install.js
URL: http://svn.apache.org/viewcvs/forrest/trunk/tools/forrestbar/xpi/install.js?rev=326790&r1=326789&r2=326790&view=diff
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/install.js (original)
+++ forrest/trunk/tools/forrestbar/xpi/install.js Wed Oct 19 20:37:39 2005
@@ -1,5 +1,5 @@
 /*
-* Copyright 2002-2004 The Apache Software Foundation or its licensors,
+* Copyright 2002-2005 The Apache Software Foundation or its licensors,
 * as applicable.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,15 +14,20 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-var err = initInstall("ForrestBar", "forrestbar", ""); 
-//alert("initInstall");
-addFile("forrestbar", "forrestbar.jar", getFolder("Chrome"),"");
-//alert("addFile");	
-registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","forrestbar.jar"), "content/forrestbar/");
-//alert("registerChrome");
-if (err==SUCCESS){  
-  //alert("SUCCESS");
+
+// Initialize Install
+var err = initInstall("ForrestBar", "forrestbar", "0.7");
+
+// Get the JAR
+addFile("forrestbar", "chrome/forrestbar.jar", getFolder("chrome"),"");
+
+// Register the content
+registerChrome(CONTENT | DELAYED_CHROME, getFolder("chrome","forrestbar.jar"), "content/");
+
+// Install it
+if (err == SUCCESS){
   performInstall();
+  alert('Please restart your browser to finish the installation.');
 } else {
   cancelInstall(err);
 }



Mime
View raw message