Hi again everybody,
GWT 1.5 Milestone 2 (build 0.0.2415) is now available:
If you haven't already, please take a look at the notes for Milestone 1 (linked below) for some background information on changes coming in GWT 1.5:
It bears repeating that for milestone builds like this, there are still many known problems, and it is use-at-your-own-risk. It *definitely* isn't ready for production use. For example, this milestone build is missing release notes, and it doesn't include the developer guide documentation. Please expect that it will require some trial and error getting everything to work.
What's new in Milestone 2? Here are some highlights:
- There is a new DOM API package. Using the new ability to subclass JavaScriptObject, GWT 1.5 M2 includes bindings for nearly the entire W3C HTML DOM spec. See the javadoc for the package com.google.gwt.dom.client for details. The widgets will be retrofitted to use the new DOM classes in the upcoming release candidate.
- Some widgets now have animation effects. Popups, trees, etc. have subtle animation effects to provide visual cues when hidden and shown.
- The addition of a "Showcase" sample. This sample combines features from several other samples and demonstrates the new, nicer-looking GWT default stylesheet and widget animations. Note that the default style is still in flux and is likely to change.
- Keyboard support has been added where previously absent in UI classes, including in menus and tab panels.
- ARIA support for enhanced accessibility is now present in most widgets, including menus, trees, tabs, and button variants.
- Bi-di. Widgets and panels have built-in support for bi-directional layout.
- "long" emulation. The Java language defines "long" types to be 64-bit signed integers, whereas JavaScript only supports 64-bit floating point numbers, which cannot accurately represent the same whole-number range as a true "long" type. GWT 1.5 M2 transparently emulates long types properly to more faithfully maintain Java semantics in web mode.
- There is a single Mac OS X distribution that works on both Leopard (10.5) and Tiger (10.4).
Now, some known bugs and caveats:
- Change from Milestone 1: No more "std/" directory in the compiler output. The GWT compiler output directory structure has been reverted to match its behavior in GWT 1.4. If auxiliary linker output is generated, additional files are placed in a sibling subdirectory whose name is "<module>-aux/". In most existing projects, this output directory won't be created, so the behavior should match GWT 1.4.
- The DOM structure for some widgets has changed to accommodate new CSS styling options. See the CSS rules used in GWT-default.css and Showcase.css (both in the Showcase project) for examples of how to use the new styles.
- Not all widgets work perfectly in standards mode. There are several minor known layout bugs that still need to be fixed for the release candidate.
- "long" and JSNI. The new long emulation support adds a new prohibition against the accidental use of "long" types within JSNI code. If you experience this error, the hosted mode tree logger will provide a "More Info" link that you can double-click for details on how to resolve the issue.
We really hope you'll try it out, and we 're eager to see what you think so far. Please report bugs in the issue tracker<http://code.google.com/p/google-web-toolkit/issues/entry>, and discuss it in the contributors forum<http://groups.google.com/group/Google-Web-Toolkit-Contributors>.
Enjoy!
-- Bruce, on behalf of the GWT team