You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by ml...@apache.org on 2013/06/20 11:37:18 UTC

svn commit: r866577 - in /websites/production/tapestry/content: 5.3.7/apidocs/index.html tapestry3/doc/api/index.html

Author: mlusetti
Date: Thu Jun 20 09:37:17 2013
New Revision: 866577

Log:
fix javadoc VU#225657

Modified:
    websites/production/tapestry/content/5.3.7/apidocs/index.html
    websites/production/tapestry/content/tapestry3/doc/api/index.html

Modified: websites/production/tapestry/content/5.3.7/apidocs/index.html
==============================================================================
--- websites/production/tapestry/content/5.3.7/apidocs/index.html (original)
+++ websites/production/tapestry/content/5.3.7/apidocs/index.html Thu Jun 20 09:37:17 2013
@@ -12,6 +12,42 @@ Tapestry API Documentation
         targetPage = targetPage.substring(1);
     if (targetPage.indexOf(":") != -1)
         targetPage = "undefined";
+    if (targetPage != "" && !validURL(targetPage))
+        targetPage = "undefined";
+    function validURL(url) {
+        var pos = url.indexOf(".html");
+        if (pos == -1 || pos != url.length - 5)
+            return false;
+        var allowNumber = false;
+        var allowSep = false;
+        var seenDot = false;
+        for (var i = 0; i < url.length - 5; i++) {
+            var ch = url.charAt(i);
+            if ('a' <= ch && ch <= 'z' ||
+                    'A' <= ch && ch <= 'Z' ||
+                    ch == '$' ||
+                    ch == '_') {
+                allowNumber = true;
+                allowSep = true;
+            } else if ('0' <= ch && ch <= '9'
+                    || ch == '-') {
+                if (!allowNumber)
+                     return false;
+            } else if (ch == '/' || ch == '.') {
+                if (!allowSep)
+                    return false;
+                allowNumber = false;
+                allowSep = false;
+                if (ch == '.')
+                     seenDot = true;
+                if (ch == '/' && seenDot)
+                     return false;
+            } else {
+                return false;
+            }
+        }
+        return true;
+    }
     function loadFrames() {
         if (targetPage != "" && targetPage != "undefined")
              top.classFrame.location = top.targetPage;

Modified: websites/production/tapestry/content/tapestry3/doc/api/index.html
==============================================================================
--- websites/production/tapestry/content/tapestry3/doc/api/index.html (original)
+++ websites/production/tapestry/content/tapestry3/doc/api/index.html Thu Jun 20 09:37:17 2013
@@ -1,37 +1,73 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Wed Apr 05 12:18:20 CDT 2006-->
-<TITLE>
-Tapestry API 3.0.4
-</TITLE>
-<SCRIPT type="text/javascript">
-    targetPage = "" + window.location.search;
-    if (targetPage != "" && targetPage != "undefined")
-       targetPage = targetPage.substring(1);
-    function loadFrames() {
-        if (targetPage != "" && targetPage != "undefined")
-             top.classFrame.location = top.targetPage;
-    }
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-</HEAD>
-<FRAMESET cols="20%,80%" title="" onLoad="top.loadFrames()">
-<FRAMESET rows="30%,70%" title="" onLoad="top.loadFrames()">
-<FRAME src="overview-frame.html" name="packageListFrame" title="All Packages">
-<FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
-</FRAMESET>
-<FRAME src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
-<NOFRAMES>
-<H2>
-Frame Alert</H2>
-
-<P>
-This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
-<BR>
-Link to<A HREF="overview-summary.html">Non-frame version.</A>
-</NOFRAMES>
-</FRAMESET>
-</HTML>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc on Wed Apr 05 12:18:20 CDT 2006-->
+<TITLE>
+Tapestry API 3.0.4
+</TITLE>
+<SCRIPT type="text/javascript">
+    targetPage = "" + window.location.search;
+    if (targetPage != "" && targetPage != "undefined")
+       targetPage = targetPage.substring(1);
+    if (targetPage != "" && !validURL(targetPage))
+        targetPage = "undefined";
+    function validURL(url) {
+        var pos = url.indexOf(".html");
+        if (pos == -1 || pos != url.length - 5)
+            return false;
+        var allowNumber = false;
+        var allowSep = false;
+        var seenDot = false;
+        for (var i = 0; i < url.length - 5; i++) {
+            var ch = url.charAt(i);
+            if ('a' <= ch && ch <= 'z' ||
+                    'A' <= ch && ch <= 'Z' ||
+                    ch == '$' ||
+                    ch == '_') {
+                allowNumber = true;
+                allowSep = true;
+            } else if ('0' <= ch && ch <= '9'
+                    || ch == '-') {
+                if (!allowNumber)
+                     return false;
+            } else if (ch == '/' || ch == '.') {
+                if (!allowSep)
+                    return false;
+                allowNumber = false;
+                allowSep = false;
+                if (ch == '.')
+                     seenDot = true;
+                if (ch == '/' && seenDot)
+                     return false;
+            } else {
+                return false;
+            }
+        }
+        return true;
+    }
+    function loadFrames() {
+        if (targetPage != "" && targetPage != "undefined")
+             top.classFrame.location = top.targetPage;
+    }
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+</HEAD>
+<FRAMESET cols="20%,80%" title="" onLoad="top.loadFrames()">
+<FRAMESET rows="30%,70%" title="" onLoad="top.loadFrames()">
+<FRAME src="overview-frame.html" name="packageListFrame" title="All Packages">
+<FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
+</FRAMESET>
+<FRAME src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
+<NOFRAMES>
+<H2>
+Frame Alert</H2>
+
+<P>
+This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
+<BR>
+Link to<A HREF="overview-summary.html">Non-frame version.</A>
+</NOFRAMES>
+</FRAMESET>
+</HTML>



Re: svn commit: r866577 - in /websites/production/tapestry/content: 5.3.7/apidocs/index.html tapestry3/doc/api/index.html

Posted by Massimo Lusetti <ml...@gmail.com>.
On Thu, Jun 20, 2013 at 3:32 PM, Ulrich Stärk <ul...@spielviel.de> wrote:


> Cool. Thanks for attending to it.
>

BTW should we remove tapestry3 javadocs from the online site as Bob
suggested?

-- 
Massimo Lusetti

Re: svn commit: r866577 - in /websites/production/tapestry/content: 5.3.7/apidocs/index.html tapestry3/doc/api/index.html

Posted by Ulrich Stärk <ul...@spielviel.de>.
On 20.06.2013 15:30, Massimo Lusetti wrote:
> On Thu, Jun 20, 2013 at 3:21 PM, Ulrich Stärk <ul...@spielviel.de> wrote:
> 
> Did you manually change this? Also, the report said we had 6 instances,
>> from your commit I can only
>> see 2. Any idea where the difference stems from?
>>
> 
> 
> I've used the official tool from Oracle to fix them up.
> The report said 6 cause we have a lot of symlink pointing to 5.3 javadocs
> but we have actually only two javadoc dirs.
> 

Cool. Thanks for attending to it.

Uli

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: svn commit: r866577 - in /websites/production/tapestry/content: 5.3.7/apidocs/index.html tapestry3/doc/api/index.html

Posted by Massimo Lusetti <ml...@gmail.com>.
On Thu, Jun 20, 2013 at 3:21 PM, Ulrich Stärk <ul...@spielviel.de> wrote:

Did you manually change this? Also, the report said we had 6 instances,
> from your commit I can only
> see 2. Any idea where the difference stems from?
>


I've used the official tool from Oracle to fix them up.
The report said 6 cause we have a lot of symlink pointing to 5.3 javadocs
but we have actually only two javadoc dirs.

-- 
Massimo Lusetti

Re: svn commit: r866577 - in /websites/production/tapestry/content: 5.3.7/apidocs/index.html tapestry3/doc/api/index.html

Posted by Ulrich Stärk <ul...@spielviel.de>.
Did you manually change this? Also, the report said we had 6 instances, from your commit I can only
see 2. Any idea where the difference stems from?

Uli

On 20.06.2013 11:37, mlusetti@apache.org wrote:
> Author: mlusetti
> Date: Thu Jun 20 09:37:17 2013
> New Revision: 866577
> 
> Log:
> fix javadoc VU#225657
> 
> Modified:
>     websites/production/tapestry/content/5.3.7/apidocs/index.html
>     websites/production/tapestry/content/tapestry3/doc/api/index.html
> 
> Modified: websites/production/tapestry/content/5.3.7/apidocs/index.html
> ==============================================================================
> --- websites/production/tapestry/content/5.3.7/apidocs/index.html (original)
> +++ websites/production/tapestry/content/5.3.7/apidocs/index.html Thu Jun 20 09:37:17 2013
> @@ -12,6 +12,42 @@ Tapestry API Documentation
>          targetPage = targetPage.substring(1);
>      if (targetPage.indexOf(":") != -1)
>          targetPage = "undefined";
> +    if (targetPage != "" && !validURL(targetPage))
> +        targetPage = "undefined";
> +    function validURL(url) {
> +        var pos = url.indexOf(".html");
> +        if (pos == -1 || pos != url.length - 5)
> +            return false;
> +        var allowNumber = false;
> +        var allowSep = false;
> +        var seenDot = false;
> +        for (var i = 0; i < url.length - 5; i++) {
> +            var ch = url.charAt(i);
> +            if ('a' <= ch && ch <= 'z' ||
> +                    'A' <= ch && ch <= 'Z' ||
> +                    ch == '$' ||
> +                    ch == '_') {
> +                allowNumber = true;
> +                allowSep = true;
> +            } else if ('0' <= ch && ch <= '9'
> +                    || ch == '-') {
> +                if (!allowNumber)
> +                     return false;
> +            } else if (ch == '/' || ch == '.') {
> +                if (!allowSep)
> +                    return false;
> +                allowNumber = false;
> +                allowSep = false;
> +                if (ch == '.')
> +                     seenDot = true;
> +                if (ch == '/' && seenDot)
> +                     return false;
> +            } else {
> +                return false;
> +            }
> +        }
> +        return true;
> +    }
>      function loadFrames() {
>          if (targetPage != "" && targetPage != "undefined")
>               top.classFrame.location = top.targetPage;
> 
> Modified: websites/production/tapestry/content/tapestry3/doc/api/index.html
> ==============================================================================
> --- websites/production/tapestry/content/tapestry3/doc/api/index.html (original)
> +++ websites/production/tapestry/content/tapestry3/doc/api/index.html Thu Jun 20 09:37:17 2013
> @@ -1,37 +1,73 @@
> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
> -<!--NewPage-->
> -<HTML>
> -<HEAD>
> -<!-- Generated by javadoc on Wed Apr 05 12:18:20 CDT 2006-->
> -<TITLE>
> -Tapestry API 3.0.4
> -</TITLE>
> -<SCRIPT type="text/javascript">
> -    targetPage = "" + window.location.search;
> -    if (targetPage != "" && targetPage != "undefined")
> -       targetPage = targetPage.substring(1);
> -    function loadFrames() {
> -        if (targetPage != "" && targetPage != "undefined")
> -             top.classFrame.location = top.targetPage;
> -    }
> -</SCRIPT>
> -<NOSCRIPT>
> -</NOSCRIPT>
> -</HEAD>
> -<FRAMESET cols="20%,80%" title="" onLoad="top.loadFrames()">
> -<FRAMESET rows="30%,70%" title="" onLoad="top.loadFrames()">
> -<FRAME src="overview-frame.html" name="packageListFrame" title="All Packages">
> -<FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
> -</FRAMESET>
> -<FRAME src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
> -<NOFRAMES>
> -<H2>
> -Frame Alert</H2>
> -
> -<P>
> -This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
> -<BR>
> -Link to<A HREF="overview-summary.html">Non-frame version.</A>
> -</NOFRAMES>
> -</FRAMESET>
> -</HTML>
> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
> +<!--NewPage-->
> +<HTML>
> +<HEAD>
> +<!-- Generated by javadoc on Wed Apr 05 12:18:20 CDT 2006-->
> +<TITLE>
> +Tapestry API 3.0.4
> +</TITLE>
> +<SCRIPT type="text/javascript">
> +    targetPage = "" + window.location.search;
> +    if (targetPage != "" && targetPage != "undefined")
> +       targetPage = targetPage.substring(1);
> +    if (targetPage != "" && !validURL(targetPage))
> +        targetPage = "undefined";
> +    function validURL(url) {
> +        var pos = url.indexOf(".html");
> +        if (pos == -1 || pos != url.length - 5)
> +            return false;
> +        var allowNumber = false;
> +        var allowSep = false;
> +        var seenDot = false;
> +        for (var i = 0; i < url.length - 5; i++) {
> +            var ch = url.charAt(i);
> +            if ('a' <= ch && ch <= 'z' ||
> +                    'A' <= ch && ch <= 'Z' ||
> +                    ch == '$' ||
> +                    ch == '_') {
> +                allowNumber = true;
> +                allowSep = true;
> +            } else if ('0' <= ch && ch <= '9'
> +                    || ch == '-') {
> +                if (!allowNumber)
> +                     return false;
> +            } else if (ch == '/' || ch == '.') {
> +                if (!allowSep)
> +                    return false;
> +                allowNumber = false;
> +                allowSep = false;
> +                if (ch == '.')
> +                     seenDot = true;
> +                if (ch == '/' && seenDot)
> +                     return false;
> +            } else {
> +                return false;
> +            }
> +        }
> +        return true;
> +    }
> +    function loadFrames() {
> +        if (targetPage != "" && targetPage != "undefined")
> +             top.classFrame.location = top.targetPage;
> +    }
> +</SCRIPT>
> +<NOSCRIPT>
> +</NOSCRIPT>
> +</HEAD>
> +<FRAMESET cols="20%,80%" title="" onLoad="top.loadFrames()">
> +<FRAMESET rows="30%,70%" title="" onLoad="top.loadFrames()">
> +<FRAME src="overview-frame.html" name="packageListFrame" title="All Packages">
> +<FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
> +</FRAMESET>
> +<FRAME src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
> +<NOFRAMES>
> +<H2>
> +Frame Alert</H2>
> +
> +<P>
> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
> +<BR>
> +Link to<A HREF="overview-summary.html">Non-frame version.</A>
> +</NOFRAMES>
> +</FRAMESET>
> +</HTML>
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org