août
2008
GWT 1.5 RC2 est disponible ici : http://code.google.com/p/google-web-toolkit/downloads/list
Quelques changement dans cette version peuvent affecter votre application, lisez donc bien les notes de version.
Release Notes for 1.5.1
Support for Standards Mode
GWT 1.5 adds significantly more support for standards mode applications, but some widgets (especially those with table based layouts) may not behave as expected. The low level standards mode bugs (such as with getAbsoluteLeft/Top()) have been addressed, but some of the constructs that our widgets rely on do not work in standards mode. For example, you cannot set the height and width of a widget relative to its parent if its parent is a table cell, and StackPanel takes up much more vertical space than it should in Internet Explorer. All of our samples have been reverted back to quirks mode, and the applicationCreator defaults to quirks mode when creating a new GWT app.
You can still use standards mode for your GWT app, but please be aware that you may notice some layout issues. If you are switching an app from quirks mode to standards mode, your CSS styles might be applied differently, which could also affect your application. We will continue to address standards mode support in future GWT releases.
Potentially breaking changes and fixes
* DOM.eventGetClientX/Y() now takes into account the margin and border of the body element
* In hosted mode, all DOM.eventGetAAA() methods now assert that the requested attribute is reliable across all supported browsers. This means that attempting to retrieve an attribute for an event that does not support that attribute will now throw an assertion error instead of returning a coerced value. Most notably, the click event throws an assertion error if you attempt to get the mouse button that was clicked.
* The return value of DOM.eventGetAAA() methods are now coerced to 0 instead of -1 in web mode. In hosted mode, an assertion error will be thrown if the attribute is not defined for the given event, as described in the previous bullet.
* Opera specific code has been upgraded to work with Opera 9.5, but may not work with older versions of Opera as we only support the most recent release. Specifically, some widgets may not be able to receive focus.
* Calls to History.newItem() now trigger an onHistoryChanged() event synchronously instead of asynchronously
General Enhancements
* Added support for the contextmenu event, which allows users to detect and override the browser’s default context menu
* Improved performance of NumberFormat
* Added support for altering the number of decimals in a currency in NumberFormat
* Improved performance of Animations
* Improved the appearance of the default GWT style themes
* Improved the Showcase sample with more robust examples and more language translations
* FormPanel can now wrap an existing form and still submit it to a hidden iframe
Fixed Issues
* DOM.getAbsoluteLeft/Top() and DOM.eventGetClientX/Y() no longer log an exception to the console in Firefox 3
* Fixed a memory leak in Internet Explorer
* DOM.getAbsoluteLeft/Top() now takes into account the margin and border of the target element in Safari 3
* Fixed some bugs associated with history support