Revision: 7419
Author: [email protected]
Date: Fri Jan 15 13:51:49 2010
Log: tr...@7410 was merged into this branch
  New apps created with webAppCreator default to standards mode
svn merge --ignore-ancestry -c 7410 http://google-web-toolkit.googlecode.com/svn/trunk .


http://code.google.com/p/google-web-toolkit/source/detail?r=7419

Modified:
 /releases/2.0/branch-info.txt
 /releases/2.0/user/build.xml
 /releases/2.0/user/src/com/google/gwt/junit/JUnitShell.java
 /releases/2.0/user/src/com/google/gwt/junit/public/junit-standards.html
/releases/2.0/user/src/com/google/gwt/user/client/ui/DecoratedStackPanel.java
 /releases/2.0/user/src/com/google/gwt/user/client/ui/DecoratedTabPanel.java
 /releases/2.0/user/src/com/google/gwt/user/client/ui/DecoratorPanel.java
 /releases/2.0/user/src/com/google/gwt/user/client/ui/DockPanel.java
/releases/2.0/user/src/com/google/gwt/user/client/ui/HorizontalSplitPanel.java
 /releases/2.0/user/src/com/google/gwt/user/client/ui/StackPanel.java
 /releases/2.0/user/src/com/google/gwt/user/client/ui/TabPanel.java
/releases/2.0/user/src/com/google/gwt/user/client/ui/VerticalSplitPanel.java
 /releases/2.0/user/src/com/google/gwt/user/tools/AppHtml.htmlsrc
 /releases/2.0/user/src/com/google/gwt/user/tools/JUnit-dev.launchsrc
 /releases/2.0/user/src/com/google/gwt/user/tools/JUnit-prod.launchsrc
 /releases/2.0/user/src/com/google/gwt/user/tools/project.ant.xmlsrc
/releases/2.0/user/test/com/google/gwt/i18n/public_es_AR/junit-standards.html /releases/2.0/user/test/com/google/gwt/i18n/public_es_MX/junit-standards.html

=======================================
--- /releases/2.0/branch-info.txt       Fri Jan 15 13:50:17 2010
+++ /releases/2.0/branch-info.txt       Fri Jan 15 13:51:49 2010
@@ -1233,3 +1233,7 @@
 tr...@7391 was merged into this branch
Adds PopupPanel#setAutoHideOnHistoryEventsEnabled() to hide popup on history events svn merge --ignore-ancestry -c 7391 http://google-web-toolkit.googlecode.com/svn/trunk .
+
+tr...@7410 was merged into this branch
+  New apps created with webAppCreator default to standards mode
+ svn merge --ignore-ancestry -c 7410 http://google-web-toolkit.googlecode.com/svn/trunk .
=======================================
--- /releases/2.0/user/build.xml        Mon Nov 23 13:19:22 2009
+++ /releases/2.0/user/build.xml        Fri Jan 15 13:51:49 2010
@@ -416,7 +416,7 @@
         includes="${gwt.junit.testcase.standards.includes}"
         excludes="${gwt.junit.testcase.standards.excludes}" />
     <gwt.junit test.name="test.standards"
-        test.args="${test.args} -prod -XstandardsMode"
+        test.args="${test.args} -prod -standardsMode"
test.out="${junit.out}/standards" test.cases="test.standards.tests">
       <extraclasspaths>
         <path refid="test.extraclasspath" />
=======================================
--- /releases/2.0/user/src/com/google/gwt/junit/JUnitShell.java Sun Nov 29 20:24:51 2009 +++ /releases/2.0/user/src/com/google/gwt/junit/JUnitShell.java Fri Jan 15 13:51:49 2010
@@ -362,17 +362,12 @@
       registerHandler(new ArgHandlerFlag() {
         @Override
         public String getPurpose() {
- return "EXPERIMENTAL: Use CSS standards mode (rather than quirks mode) for the hosting page"; + return "Use CSS standards mode (rather than quirks mode) for the hosting page";
         }

         @Override
         public String getTag() {
-          return "-XstandardsMode";
-        }
-
-        @Override
-        public boolean isUndocumented() {
-          return true;
+          return "-standardsMode";
         }

         @Override
=======================================
--- /releases/2.0/user/src/com/google/gwt/junit/public/junit-standards.html Tue Nov 3 13:26:55 2009 +++ /releases/2.0/user/src/com/google/gwt/junit/public/junit-standards.html Fri Jan 15 13:51:49 2010
@@ -1,5 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
-"http://www.w3.org/TR/html4/DTD/strict.dtd";>
+<!doctype html>
 <!--
 Copyright 2008 Google Inc.

=======================================
--- /releases/2.0/user/src/com/google/gwt/user/client/ui/DecoratedStackPanel.java Wed May 14 14:17:50 2008 +++ /releases/2.0/user/src/com/google/gwt/user/client/ui/DecoratedStackPanel.java Fri Jan 15 13:51:49 2010
@@ -23,6 +23,13 @@
  * A {...@link StackPanel} that wraps each item in a 2x3 grid (six box), which
  * allows users to add rounded corners.
  * </p>
+ *
+ * <p>
+ * This widget will <em>only</em> work in quirks mode. If your application is in
+ * Standards Mode, use {...@link StackLayoutPanel} instead.
+ * </p>
+ *
+ * <p>
  * <h3>CSS Style Rules</h3>
  * <ul class='css'>
  * <li>.gwt-DecoratedStackPanel { the panel itself }</li>
@@ -52,6 +59,9 @@
* <li>.gwt-DecoratedStackPanel .stackItemMiddleRightInner { the inner element
  * of the cell}</li>
  * </ul>
+ * </p>
+ *
+ * @see StackLayoutPanel
  */
 public class DecoratedStackPanel extends StackPanel {
   public static final String DEFAULT_STYLENAME = "gwt-DecoratedStackPanel";
=======================================
--- /releases/2.0/user/src/com/google/gwt/user/client/ui/DecoratedTabPanel.java Mon Nov 2 12:44:54 2009 +++ /releases/2.0/user/src/com/google/gwt/user/client/ui/DecoratedTabPanel.java Fri Jan 15 13:51:49 2010
@@ -18,17 +18,26 @@
 /**
* A {...@link TabPanel} that uses a {...@link DecoratedTabBar} with rounded corners.
  *
+ * <p>
+ * This widget will <em>only</em> work in quirks mode. If your application is in
+ * Standards Mode, use {...@link TabLayoutPanel} instead.
+ * </p>
+ *
+ * <p>
  * <h3>CSS Style Rules</h3>
  * <ul class='css'>
  * <li>.gwt-DecoratedTabPanel { the tab panel itself }</li>
  * <li>.gwt-TabPanelBottom { the bottom section of the tab panel (the deck
  * containing the widget) }</li>
  * </ul>
+ * </p>
  *
  * <p>
  * <h3>Example</h3>
  * {...@example com.google.gwt.examples.TabPanelExample}
  * </p>
+ *
+ * @see TabLayoutPanel
  */
 public class DecoratedTabPanel extends TabPanel {
   private static final String DEFAULT_STYLENAME = "gwt-DecoratedTabPanel";
=======================================
--- /releases/2.0/user/src/com/google/gwt/user/client/ui/DecoratorPanel.java Wed Jul 30 17:13:39 2008 +++ /releases/2.0/user/src/com/google/gwt/user/client/ui/DecoratorPanel.java Fri Jan 15 13:51:49 2010
@@ -25,6 +25,11 @@
  * used to add rounded corners to a {...@link Widget}.
  * </p>
  * <p>
+ * This widget will <em>only</em> work in quirks mode in most cases.
+ * Specifically, setting the height or width of the DecoratorPanel will result
+ * in rendering issues.
+ * </p>
+ * <p>
* Wrapping a {...@link Widget} in a "9-box" allows users to specify images in each * of the corners and along the four borders. This method allows the content * within the {...@link DecoratorPanel} to resize without disrupting the look of
=======================================
--- /releases/2.0/user/src/com/google/gwt/user/client/ui/DockPanel.java Mon May 18 11:47:32 2009 +++ /releases/2.0/user/src/com/google/gwt/user/client/ui/DockPanel.java Fri Jan 15 13:51:49 2010
@@ -27,6 +27,12 @@
  * A panel that lays its child widgets out "docked" at its outer edges, and
  * allows its last widget to take up the remaining space in its center.
  *
+ * <p>
+ * This widget will <em>only</em> work in quirks mode. If your application is in
+ * Standards Mode, use {...@link DockLayoutPanel} instead.
+ * </p>
+ *
+ * @see DockLayoutPanel
  */
 public class DockPanel extends CellPanel implements HasAlignment {

=======================================
--- /releases/2.0/user/src/com/google/gwt/user/client/ui/HorizontalSplitPanel.java Wed Nov 4 06:59:39 2009 +++ /releases/2.0/user/src/com/google/gwt/user/client/ui/HorizontalSplitPanel.java Fri Jan 15 13:51:49 2010
@@ -31,6 +31,11 @@
* the two widgets. Widgets contained within a <code>HorizontalSplitPanel</code>
  * will be automatically decorated with scrollbars when necessary.
  *
+ * <p>
+ * This widget will <em>only</em> work in quirks mode. If your application is in
+ * Standards Mode, use {...@link SplitLayoutPanel} instead.
+ * </p>
+ *
  * <p>
  * <img class='gallery' src='HorizontalSplitPanel.png'/>
  * </p>
@@ -40,6 +45,8 @@
  * <li>.gwt-HorizontalSplitPanel { the panel itself }</li>
  * <li>.gwt-HorizontalSplitPanel hsplitter { the splitter }</li>
  * </ul>
+ *
+ * @see SplitLayoutPanel
  */
 public final class HorizontalSplitPanel extends SplitPanel {
   /**
=======================================
--- /releases/2.0/user/src/com/google/gwt/user/client/ui/StackPanel.java Tue Sep 1 19:11:26 2009 +++ /releases/2.0/user/src/com/google/gwt/user/client/ui/StackPanel.java Fri Jan 15 13:51:49 2010
@@ -22,6 +22,12 @@
 /**
* A panel that stacks its children vertically, displaying only one at a time,
  * with a header for each child which the user can click to display.
+ *
+ * <p>
+ * This widget will <em>only</em> work in quirks mode. If your application is in
+ * Standards Mode, use {...@link StackLayoutPanel} instead.
+ * </p>
+ *
  * <p>
  * <img class='gallery' src='StackPanel.png'/>
  * </p>
@@ -37,6 +43,8 @@
  * <h3>Example</h3>
  * {...@example com.google.gwt.examples.StackPanelExample}
  * </p>
+ *
+ * @see StackLayoutPanel
  */
 public class StackPanel extends ComplexPanel implements InsertPanel {
   private static final String DEFAULT_STYLENAME = "gwt-StackPanel";
=======================================
--- /releases/2.0/user/src/com/google/gwt/user/client/ui/TabPanel.java Fri Mar 20 11:33:42 2009 +++ /releases/2.0/user/src/com/google/gwt/user/client/ui/TabPanel.java Fri Jan 15 13:51:49 2010
@@ -30,6 +30,11 @@
  * widget. Its child widgets are shown as the user selects the various tabs
  * associated with them. The tabs can contain arbitrary HTML.
  *
+ * <p>
+ * This widget will <em>only</em> work in quirks mode. If your application is in
+ * Standards Mode, use {...@link TabLayoutPanel} instead.
+ * </p>
+ *
  * <p>
  * <img class='gallery' src='TabPanel.png'/>
  * </p>
@@ -53,6 +58,8 @@
  * <h3>Example</h3>
  * {...@example com.google.gwt.examples.TabPanelExample}
  * </p>
+ *
+ * @see TabLayoutPanel
  */

//Cannot do anything about tab panel implementing TabListener until next release.
=======================================
--- /releases/2.0/user/src/com/google/gwt/user/client/ui/VerticalSplitPanel.java Wed Nov 4 06:59:39 2009 +++ /releases/2.0/user/src/com/google/gwt/user/client/ui/VerticalSplitPanel.java Fri Jan 15 13:51:49 2010
@@ -31,6 +31,11 @@
  * <code>VerticalSplitterPanel</code> will be automatically decorated with
  * scrollbars when necessary.
  *
+ * <p>
+ * This widget will <em>only</em> work in quirks mode. If your application is in
+ * Standards Mode, use {...@link SplitLayoutPanel} instead.
+ * </p>
+ *
  * <p>
  * <img class='gallery' src='VerticalSplitPanel.png'/>
  * </p>
@@ -40,6 +45,8 @@
  * <li>.gwt-VerticalSplitPanel { the panel itself }</li>
  * <li>.gwt-VerticalSplitPanel vsplitter { the splitter }</li>
  * </ul>
+ *
+ * @see SplitLayoutPanel
  */
 public final class VerticalSplitPanel extends SplitPanel {
   /**
=======================================
--- /releases/2.0/user/src/com/google/gwt/user/tools/AppHtml.htmlsrc Fri Jan 15 13:43:11 2010 +++ /releases/2.0/user/src/com/google/gwt/user/tools/AppHtml.htmlsrc Fri Jan 15 13:51:49 2010
@@ -1,10 +1,9 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<!-- The HTML 4.01 Transitional DOCTYPE declaration-->
-<!-- above set at the top of the file will set     -->
-<!-- the browser's rendering engine into           -->
-<!-- "Quirks Mode". Replacing this declaration     -->
-<!-- with a "Standards Mode" doctype is supported, -->
-<!-- but may lead to some differences in layout.   -->
+<!doctype html>
+<!-- The DOCTYPE declaration above will set the    -->
+<!-- browser's rendering engine into               -->
+<!-- "Standards Mode". Replacing this declaration  -->
+<!-- with a "Quirks Mode" doctype may lead to some -->
+<!-- differences in layout.                        -->

 <html>
   <head>
=======================================
--- /releases/2.0/user/src/com/google/gwt/user/tools/JUnit-dev.launchsrc Wed Nov 18 18:11:58 2009 +++ /releases/2.0/user/src/com/google/gwt/user/tools/JUnit-dev.launchsrc Fri Jan 15 13:51:49 2010
@@ -12,6 +12,6 @@
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry externalArchive=&quot;@gwtDevPath&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
 </listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="@moduleShortName"/> -<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dgwt.args=&quot;-logLevel WARN&quot; -Xmx256M"/> +<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dgwt.args=&quot;-standardsMode -logLevel WARN&quot; -Xmx256M"/> <booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
 </launchConfiguration>
=======================================
--- /releases/2.0/user/src/com/google/gwt/user/tools/JUnit-prod.launchsrc Mon Nov 23 13:19:22 2009 +++ /releases/2.0/user/src/com/google/gwt/user/tools/JUnit-prod.launchsrc Fri Jan 15 13:51:49 2010
@@ -12,6 +12,6 @@
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry externalArchive=&quot;@gwtDevPath&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
 </listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="@moduleShortName"/> -<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dgwt.args=&quot;-prod -logLevel WARN -out www-test&quot; -Xmx256M"/> +<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dgwt.args=&quot;-prod -standardsMode -logLevel WARN -out www-test&quot; -Xmx256M"/> <booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
 </launchConfiguration>
=======================================
--- /releases/2.0/user/src/com/google/gwt/user/tools/project.ant.xmlsrc Thu Dec 3 14:43:23 2009 +++ /releases/2.0/user/src/com/google/gwt/user/tools/project.ant.xmlsrc Fri Jan 15 13:51:49 2010
@@ -70,7 +70,7 @@
     <mkdir dir="reports/htmlunit.dev" />
     <junit fork="yes" printsummary="yes" haltonfailure="yes">
       <jvmarg line="-Xmx256m" />
-      <sysproperty key="gwt.args" value="-logLevel WARN" />
+      <sysproperty key="gwt.args" value="-standardsMode -logLevel WARN" />
       <sysproperty key="java.awt.headless" value="true" />
       <classpath>
         <pathelement location="src" />
@@ -92,7 +92,7 @@
     <mkdir dir="reports/htmlunit.prod" />
     <junit fork="yes" printsummary="yes" haltonfailure="yes">
       <jvmarg line="-Xmx256m" />
- <sysproperty key="gwt.args" value="-prod -logLevel WARN -out www-test" /> + <sysproperty key="gwt.args" value="-prod -standardsMode -logLevel WARN -standardsMode -out www-test" />
       <sysproperty key="java.awt.headless" value="true" />
       <classpath>
         <pathelement location="src" />
=======================================
--- /releases/2.0/user/test/com/google/gwt/i18n/public_es_AR/junit-standards.html Tue Nov 3 13:26:55 2009 +++ /releases/2.0/user/test/com/google/gwt/i18n/public_es_AR/junit-standards.html Fri Jan 15 13:51:49 2010
@@ -1,3 +1,4 @@
+<!doctype html>
 <!--
 Copyright 2008 Google Inc.

=======================================
--- /releases/2.0/user/test/com/google/gwt/i18n/public_es_MX/junit-standards.html Tue Nov 3 13:26:55 2009 +++ /releases/2.0/user/test/com/google/gwt/i18n/public_es_MX/junit-standards.html Fri Jan 15 13:51:49 2010
@@ -1,3 +1,4 @@
+<!doctype html>
 <!--
 Copyright 2008 Google Inc.

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to