forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r1058395 - in /forrest/trunk: site-author/ site-author/content/xdocs/tools/ tools/forrestbar/xpi/chrome/content/
Date Thu, 13 Jan 2011 02:48:20 GMT
Author: crossley
Date: Thu Jan 13 02:48:19 2011
New Revision: 1058395

URL: http://svn.apache.org/viewvc?rev=1058395&view=rev
Log:
Enabled access to some more intermediate processing data via the "Dev" menu.
Issue: FOR-1012

Modified:
    forrest/trunk/site-author/content/xdocs/tools/forrestbar.xml
    forrest/trunk/site-author/content/xdocs/tools/forrestbar.xpi
    forrest/trunk/site-author/status.xml
    forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js
    forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul

Modified: forrest/trunk/site-author/content/xdocs/tools/forrestbar.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/tools/forrestbar.xml?rev=1058395&r1=1058394&r2=1058395&view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/tools/forrestbar.xml (original)
+++ forrest/trunk/site-author/content/xdocs/tools/forrestbar.xml Thu Jan 13 02:48:19 2011
@@ -123,9 +123,6 @@
             See configuration <link href="site:debug-cocoon-profiler">notes</link>.
           </li>
         </ul>
-        <fixme author="open">
-          Need to re-enable access to localhost:8888/foo/bar.xml and localhost:8888/foo/bar.fo
internal formats.
-        </fixme>
       </section>
       <section>
         <title>Dispatcher Dev menu</title>

Modified: forrest/trunk/site-author/content/xdocs/tools/forrestbar.xpi
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/tools/forrestbar.xpi?rev=1058395&r1=1058394&r2=1058395&view=diff
==============================================================================
Binary files - no diff available.

Modified: forrest/trunk/site-author/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/status.xml?rev=1058395&r1=1058394&r2=1058395&view=diff
==============================================================================
--- forrest/trunk/site-author/status.xml (original)
+++ forrest/trunk/site-author/status.xml Thu Jan 13 02:48:19 2011
@@ -154,6 +154,10 @@
         <link href="site:upgrading_09">upgrading to v0.9</link>
       </action>
 <!-- 2011-01 -->
+      <action context="code" type="fix" dev="DC" fixes-bug="FOR-1012">
+        ForrestBar: Enabled access to some more intermediate processing data
+        via the "Dev" menu.
+      </action>
       <action context="docs" type="update" dev="DC" importance="high">
         Improved the FAQ about "version and properties" and linked to the
         documentation of the new <link href="site:properties">Properties</link>
system.
@@ -491,6 +495,10 @@
         <link href="site:procedures/forrest-dev">How to do development with Apache
Forrest</link>
         as a way to easily view the internal processing steps.
       </action>
+      <action context="code" type="fix" dev="GM" fixes-bug="FOR-1012">
+        ForrestBar: Re-instated access to some intermediate processing data
+        via the "Dev" menu (**/*.xml and **/*.fo)
+      </action>
       <action dev="CD" type="update" context="docs">
         Add explanation of <link href="site:forrestbar">ForrestBar</link> menu
items.
       </action>

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?rev=1058395&r1=1058394&r2=1058395&view=diff
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js (original)
+++ forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js Thu Jan 13 02:48:19
2011
@@ -152,6 +152,7 @@ function navProject(searchID) {
 
 function viewXML(xmltype)
 {
+  // View an aspect of the internal data of the current page.
   var href = gBrowser.currentURI.spec;
   if( isLocalUrlOrWarnMe() )
   {
@@ -159,6 +160,16 @@ function viewXML(xmltype)
   }
 }
 
+function getXML(xmltype)
+{
+  // Get an aspect of the internal data.
+  var href = gBrowser.currentURI.spec;
+  if( isLocalUrlOrWarnMe() )
+  {
+    navigate(getLocalWebServerUrl()+xmltype);
+  }
+}
+
 function isLocalUrl ()
 {
   var href = gBrowser.currentURI.spec;

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?rev=1058395&r1=1058394&r2=1058395&view=diff
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul (original)
+++ forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul Thu Jan 13 02:48:19
2011
@@ -70,16 +70,21 @@
 
       <toolbarbutton class="forrestbar" label="Dev" id="forrestbar-devs" hidden="false"
type="menu" tooltiptext="Show internal Forrest data (needs localhost 'forrest run')">
         <menupopup>
+          <menuitem label="Properties" onclick="getXML('module.properties.properties');"
/>
+          <menuitem label="Skinconf" onclick="getXML('skinconf.xml');" />
+          <menuseparator/>
           <menuitem label="View *.xml" onclick="viewXML('.xml');" />
           <menuitem label="View *.fo" onclick="viewXML('.fo');" />
-          <menuitem label="abs-menulinks" onclick="navigate('http://localhost:8888/abs-menulinks');"
/>
+          <menuseparator/>
+          <menuitem label="abs-menulinks" onclick="getXML('abs-menulinks');" />
+          <menuitem label="abs-linkmap" onclick="getXML('abs-linkmap');" />
+          <menuitem label="build-info" onclick="getXML('build-info');" />
           <menuseparator/>
           <menuitem label="Cocoon Profiler howto" onclick="navigate('http://forrest.apache.org/howto-dev.html#debug');"
/>
-          <menuitem label="Cocoon Profiler access" onclick="navigate('http://localhost:8888/cprofile.html');"
/>
+          <menuitem label="Cocoon Profiler access" onclick="navigate('cprofile.html');"
/>
         </menupopup>
       </toolbarbutton>
         <!-- Following is dispatcher trunk specific 
-          Comment for 0.7 builds
           START
           -->
       <toolbarseparator/>
@@ -137,7 +142,6 @@
         </toolbarbutton>
         <toolbarseparator/>
         <!-- Following is dispatcher trunk specific 
-          Comment for 0.7 builds
           START
           -->
         <toolbarbutton label="Dispatcher" hidden="false" type="menu" tooltiptext="Choose
the Dispatcher Contracts to be searched (needs localhost 'forrest run' and Dispatcher-enabled)">



Mime
View raw message