Reviewers: jgw,

Description:
webAppCreator currently creates new projects in quirks mode with a
warning at the top of the hosted.html page that using quirks mode may
not work.  Since we (Joel) did a bunch of work on the LayoutPanels
(which only work in standards mode), we should default to standards
mode.

Fix:
====
With this patch, new apps are created in standards mode.  Of course,
some of our widgets only work in quirks mode, so they have been
appropriately updated with warnings.

In addition, unit tests need to run in standards mode for new projects.
I've unexperimented the -standardsMode option and made the generated
Eclipse and ant test targets use it.

Testing:
========
I manually verified that new apps run in standards mode on all browsers.
 I also verified that unit tests are running in standards mode.

Please review this at http://gwt-code-reviews.appspot.com/130809

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


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

Reply via email to