[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit
Comment by rj...@google.com: @revoltcss, it's much simpler than that, updated the example For more information: http://code.google.com/p/google-web-toolkit/wiki/UiBinder -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r7268 committed - How to use HelloWorld
Revision: 7268 Author: rj...@google.com Date: Tue Dec 8 05:58:37 2009 Log: How to use HelloWorld http://code.google.com/p/google-web-toolkit/source/detail?r=7268 Modified: /wiki/UiBinder.wiki === --- /wiki/UiBinder.wiki Mon Nov 16 13:42:23 2009 +++ /wiki/UiBinder.wiki Tue Dec 8 05:58:37 2009 @@ -87,7 +87,8 @@ // Use: -Element helloWorld = new HelloWorld(World).getElement(); +HelloWorld helloWorld = new HelloWorld(World); +Document.get().getBody().appendChild(helloWorld.getElement()); }}} = Hello Composite World = -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Remove excess calls to foreign collections
http://gwt-code-reviews.appspot.com/118810/diff/1/3 File user/super/com/google/gwt/emul/java/util/ArrayList.java (right): http://gwt-code-reviews.appspot.com/118810/diff/1/3#newcode110 Line 110: Object[] cArray = c.toArray(); if (cArray.length == 0) { return false; } http://gwt-code-reviews.appspot.com/118810/diff/1/3#newcode120 Line 120: Object[] cArray = c.toArray(); int len = cArray.length; if (len == 0) { return false; } http://gwt-code-reviews.appspot.com/118810/diff/1/3#newcode122 Line 122: size += cArray.length; You can use len from above instead of cArray.length http://gwt-code-reviews.appspot.com/118810 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r7269 committed - Creating a spur branch off the 10.23 snapshot to help diagnose a ...
Revision: 7269 Author: fabb...@google.com Date: Tue Dec 8 10:28:17 2009 Log: Creating a spur branch off the 10.23 snapshot to help diagnose a prodiction anomaly. http://code.google.com/p/google-web-toolkit/source/detail?r=7269 Added: /branches/snapshot-2009.10.23-r7029 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r7270 committed - Update Chrome plugin version number....
Revision: 7270 Author: j...@google.com Date: Tue Dec 8 10:41:45 2009 Log: Update Chrome plugin version number. Patch by: jat Unreviewed http://code.google.com/p/google-web-toolkit/source/detail?r=7270 Modified: /trunk/plugins/npapi/prebuilt/gwt-dev-plugin/manifest.json === --- /trunk/plugins/npapi/prebuilt/gwt-dev-plugin/manifest.json Mon Nov 23 16:38:01 2009 +++ /trunk/plugins/npapi/prebuilt/gwt-dev-plugin/manifest.json Tue Dec 8 10:41:45 2009 @@ -1,6 +1,6 @@ { name: GWT Developer Plugin, - version: 0.9.7135, + version: 1.0.7263, description: A plugin to enable debugging with GWT's Development Mode, update_url: https://dl-ssl.google.com/gwt/plugins/chrome/updates.xml;, icons: { -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r7271 committed - Updating branch-info with correct data for this stub-of-a-snapshot bra...
Revision: 7271 Author: fabb...@google.com Date: Tue Dec 8 10:45:53 2009 Log: Updating branch-info with correct data for this stub-of-a-snapshot branch. http://code.google.com/p/google-web-toolkit/source/detail?r=7271 Modified: /branches/snapshot-2009.10.23-r7029/branch-info.txt === --- /branches/snapshot-2009.10.23-r7029/branch-info.txt Thu Nov 19 12:33:51 2009 +++ /branches/snapshot-2009.10.23-r7029/branch-info.txt Tue Dec 8 10:45:53 2009 @@ -1,9 +1,10 @@ -branch-info.txt for the 2009.10.23-r6446 snapshot branch. +branch-info.txt for the 2009.10.23-r7029 snapshot branch. Tracks interactions between this branch and other branches. See: http://code.google.com/p/google-web-toolkit/wiki/ManagingMerges Copies: -/branches/snapshot-2009.10.23-r6446 was created (r6447) as a straight copy from /trunk/@6446 +/branches/snapshot-2009.10.23-r7029 was created (r7269) as a straight copy from +/branches/snapshot-2009.10.23-r6...@7029. Merges: Cherrypicked c6451 with: -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r7272 committed - Merge of runasync retries from r7267 of snapshot-2009.10.23-r6446.
Revision: 7272 Author: fabb...@google.com Date: Tue Dec 8 10:51:10 2009 Log: Merge of runasync retries from r7267 of snapshot-2009.10.23-r6446. http://code.google.com/p/google-web-toolkit/source/detail?r=7272 Added: /branches/snapshot-2009.10.23-r7029/user/src/com/google/gwt/core/AsyncFragmentLoader.gwt.xml /branches/snapshot-2009.10.23-r7029/user/src/com/google/gwt/core/client/impl/XhrLoadingStrategy.java /branches/snapshot-2009.10.23-r7029/user/test/com/google/gwt/core/client/impl/XhrLoadingStrategyTest.java Modified: /branches/snapshot-2009.10.23-r7029/branch-info.txt /branches/snapshot-2009.10.23-r7029/user/src/com/google/gwt/core/Core.gwt.xml /branches/snapshot-2009.10.23-r7029/user/src/com/google/gwt/core/client/impl/AsyncFragmentLoader.java /branches/snapshot-2009.10.23-r7029/user/test/com/google/gwt/core/CoreSuite.java === --- /dev/null +++ /branches/snapshot-2009.10.23-r7029/user/src/com/google/gwt/core/AsyncFragmentLoader.gwt.xml Tue Dec 8 10:51:10 2009 @@ -0,0 +1,29 @@ +!-- -- +!-- Copyright 2008 Google Inc. -- +!-- Licensed under the Apache License, Version 2.0 (the License); you-- +!-- may not use this file except in compliance with the License. You may -- +!-- may obtain a copy of the License at-- +!-- -- +!-- http://www.apache.org/licenses/LICENSE-2.0 -- +!-- -- +!-- Unless required by applicable law or agreed to in writing, software-- +!-- distributed under the License is distributed on an AS IS BASIS, -- +!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or-- +!-- implied. License for the specific language governing permissions and -- +!-- limitations under the License. -- + +!-- Types associated with GWT.runAsync() and its fragment loader -- +module + + replace-with class=com.google.gwt.core.client.impl.XhrLoadingStrategy +when-type-is + class=com.google.gwt.core.client.impl.AsyncFragmentLoader.LoadingStrategy/ + /replace-with + + replace-with + class=com.google.gwt.core.client.impl.AsyncFragmentLoader.StandardLogger +when-type-is + class=com.google.gwt.core.client.impl.AsyncFragmentLoader.Logger/ + /replace-with + +/module === --- /dev/null +++ /branches/snapshot-2009.10.23-r7029/user/src/com/google/gwt/core/client/impl/XhrLoadingStrategy.java Tue Dec 8 10:51:10 2009 @@ -0,0 +1,240 @@ +/* + * Copyright 2009 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the License); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.google.gwt.core.client.impl; + +import com.google.gwt.core.client.impl.AsyncFragmentLoader.HttpDownloadFailure; +import com.google.gwt.core.client.impl.AsyncFragmentLoader.HttpInstallFailure; +import com.google.gwt.core.client.impl.AsyncFragmentLoader.LoadErrorHandler; +import com.google.gwt.core.client.impl.AsyncFragmentLoader.LoadingStrategy; +import com.google.gwt.xhr.client.ReadyStateChangeHandler; +import com.google.gwt.xhr.client.XMLHttpRequest; + +/** + * The standard loading strategy used in a web browser. + */ +public class XhrLoadingStrategy implements LoadingStrategy { + + /** + * A {...@link MockableXMLHttpRequest} that is really just a vanilla + * XMLHttpRequest. This wrapper (and thus {...@code MockableXMLHttpRequest) is + * needed because so much of {...@link XMLHttpRequest} is final, which in turn + * is because it extends {...@code JavaScriptObject} and is subject to its + * restrictions. + * + * It is important that these methods be simple enough to be inlined away. + */ + class DelegatingXMLHttpRequest implements MockableXMLHttpRequest { +private final XMLHttpRequest delegate; + +public DelegatingXMLHttpRequest(XMLHttpRequest xmlHttpRequest) { + delegate = xmlHttpRequest; +} + +public void clearOnReadyStateChange() { + delegate.clearOnReadyStateChange(); +} + +public int getReadyState() { + return delegate.getReadyState(); +} + +public String getResponseText() { + return delegate.getResponseText(); +} + +
[gwt-contrib] Re: Remove excess calls to foreign collections
Good call. Hmm, my mistakes should have made us fail a unit test, but they didn't. Guess I need to add better unit tests of this. http://gwt-code-reviews.appspot.com/118810 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r7273 committed - Update IE plugin version....
Revision: 7273 Author: j...@google.com Date: Tue Dec 8 12:51:47 2009 Log: Update IE plugin version. Patch by: jat Review by: jlabanca (TBR) http://code.google.com/p/google-web-toolkit/source/detail?r=7273 Modified: /trunk/plugins/ie/oophm/oophm/oophm.aps /trunk/plugins/ie/oophm/oophm/oophm.rc /trunk/plugins/ie/prebuilt/oophm.dll === --- /trunk/plugins/ie/oophm/oophm/oophm.aps Fri Sep 4 15:16:50 2009 +++ /trunk/plugins/ie/oophm/oophm/oophm.aps Tue Dec 8 12:51:47 2009 Binary file, no diff available. === --- /trunk/plugins/ie/oophm/oophm/oophm.rc Tue Oct 13 14:01:24 2009 +++ /trunk/plugins/ie/oophm/oophm/oophm.rc Tue Dec 8 12:51:47 2009 @@ -59,8 +59,8 @@ // VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 + FILEVERSION 1,0,7263,0 + PRODUCTVERSION 1,0,7263,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -76,13 +76,13 @@ BLOCK 040904e4 BEGIN VALUE CompanyName, Google Inc. -VALUE FileDescription, Google Web Toolkit Out-of-Process Hosted Mode Plugin -VALUE FileVersion, 1.0.0.1 +VALUE FileDescription, Google Web Toolkit Developer Plugin +VALUE FileVersion, 1.0.7263.0 VALUE InternalName, oophm.dll VALUE LegalCopyright, Copyright 2008 Google Inc. Licensed under the Apache 2.0 license. VALUE OriginalFilename, oophm.dll VALUE ProductName, Google Web Toolkit -VALUE ProductVersion, 1.0.0.1 +VALUE ProductVersion, 1.0.7263.0 END END BLOCK VarFileInfo === --- /trunk/plugins/ie/prebuilt/oophm.dllMon Nov 23 14:00:51 2009 +++ /trunk/plugins/ie/prebuilt/oophm.dllTue Dec 8 12:51:47 2009 Binary file, no diff available. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r7274 committed - Updating IE Plugin to use latest oophm.dll....
Revision: 7274 Author: jlaba...@google.com Date: Tue Dec 8 13:04:35 2009 Log: Updating IE Plugin to use latest oophm.dll. Patch by: jlabanca http://code.google.com/p/google-web-toolkit/source/detail?r=7274 Modified: /trunk/plugins/ie/prebuilt/gwt-dev-plugin.msi === --- /trunk/plugins/ie/prebuilt/gwt-dev-plugin.msi Mon Nov 23 16:38:01 2009 +++ /trunk/plugins/ie/prebuilt/gwt-dev-plugin.msi Tue Dec 8 13:04:35 2009 Binary file, no diff available. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: GWT RC2: TabPanelLayout -- no supporting CSS?
@jgw, Morten makes a good observation (which I wasn't worrying about for now as I just chalked it up to pre-release fuzzies). Any ideas why the rendering in FF is so poor? It seems we might be heading back to the land where web developers need a PhD in browser quirks (albeit CSS instead of JS) sfm On Tue, Dec 8, 2009 at 4:10 PM, Morten Holm mohoh...@gmail.com wrote: On 3 Dec., 21:53, Stuart Moffatt stuartmoff...@gmail.com wrote: And here is what it should look like: http://tablayoutpanel.latest.emcode-dev.appspot.com This looks great in Safari, but not so good in FireFox. Any idea why? Morten -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Re: GWT RC2: TabPanelLayout -- no supporting CSS?
That should be fixed in the final release. Turns out I had made the mistake of writing style.setProperty(float, left), rather than style.setProperty(cssFloat, left). The latter is correct, but WebKit accepts either. (Yes, there should be a style.setFloat() method, but that will have to come later, once I have time to write a script to generate the bazillion CSS property setters!) On Tue, Dec 8, 2009 at 4:17 PM, Stuart Moffatt stuartmoff...@gmail.comwrote: @jgw, Morten makes a good observation (which I wasn't worrying about for now as I just chalked it up to pre-release fuzzies). Any ideas why the rendering in FF is so poor? It seems we might be heading back to the land where web developers need a PhD in browser quirks (albeit CSS instead of JS) sfm On Tue, Dec 8, 2009 at 4:10 PM, Morten Holm mohoh...@gmail.com wrote: On 3 Dec., 21:53, Stuart Moffatt stuartmoff...@gmail.com wrote: And here is what it should look like: http://tablayoutpanel.latest.emcode-dev.appspot.com This looks great in Safari, but not so good in FireFox. Any idea why? Morten -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Re: GWT RC2: TabPanelLayout -- no supporting CSS?
Figured something along those lines. Thanks Joel. sfm On Tue, Dec 8, 2009 at 4:22 PM, Joel Webber j...@google.com wrote: That should be fixed in the final release. Turns out I had made the mistake of writing style.setProperty(float, left), rather than style.setProperty(cssFloat, left). The latter is correct, but WebKit accepts either. (Yes, there should be a style.setFloat() method, but that will have to come later, once I have time to write a script to generate the bazillion CSS property setters!) On Tue, Dec 8, 2009 at 4:17 PM, Stuart Moffatt stuartmoff...@gmail.comwrote: @jgw, Morten makes a good observation (which I wasn't worrying about for now as I just chalked it up to pre-release fuzzies). Any ideas why the rendering in FF is so poor? It seems we might be heading back to the land where web developers need a PhD in browser quirks (albeit CSS instead of JS) sfm On Tue, Dec 8, 2009 at 4:10 PM, Morten Holm mohoh...@gmail.com wrote: On 3 Dec., 21:53, Stuart Moffatt stuartmoff...@gmail.com wrote: And here is what it should look like: http://tablayoutpanel.latest.emcode-dev.appspot.com This looks great in Safari, but not so good in FireFox. Any idea why? Morten -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r7276 committed - Merge trunk r7275 into this branch...
Revision: 7276 Author: j...@google.com Date: Tue Dec 8 13:43:24 2009 Log: Merge trunk r7275 into this branch Javadoc fixes for JSONP. svn merge --ignore-ancestry -c7275 \ https://google-web-toolkit.googlecode.com/svn/trunk/ . http://code.google.com/p/google-web-toolkit/source/detail?r=7276 Modified: /releases/2.0/branch-info.txt /releases/2.0/doc/build.xml === --- /releases/2.0/branch-info.txt Mon Dec 7 15:50:49 2009 +++ /releases/2.0/branch-info.txt Tue Dec 8 13:43:24 2009 @@ -1204,3 +1204,8 @@ Javadoc fixes for deRPC. svn merge --ignore-ancestry -c7264 \ https://google-web-toolkit.googlecode.com/svn/trunk/ . + +tr...@7275 was merged into this branch + Javadoc fixes for JSONP. +svn merge --ignore-ancestry -c7275 \ + https://google-web-toolkit.googlecode.com/svn/trunk/ . === --- /releases/2.0/doc/build.xml Mon Dec 7 15:50:49 2009 +++ /releases/2.0/doc/build.xml Tue Dec 8 13:43:24 2009 @@ -10,7 +10,7 @@ property.ensure name=gwt.dev.jar location=${gwt.build.lib}/gwt-dev.jar / property name=USER_PKGS - value=com.google.gwt.animation.client;com.google.gwt.benchmarks.client;com.google.gwt.core.client;com.google.gwt.core.ext;com.google.gwt.core.ext.soyc;com.google.gwt.core.ext.linker;com.google.gwt.core.ext.typeinfo;com.google.gwt.core.linker;com.google.gwt.debug.client;com.google.gwt.dom.client;com.google.gwt.event.dom.client;com.google.gwt.event.logical.shared;com.google.gwt.event.shared;com.google.gwt.http.client;com.google.gwt.i18n.client;com.google.gwt.i18n.shared;com.google.gwt.i18n.client.constants;com.google.gwt.i18n.rebind.format;com.google.gwt.i18n.rebind.keygen;com.google.gwt.json.client;com.google.gwt.junit.client;com.google.gwt.benchmarks.client;com.google.gwt.resources.client;com.google.gwt.resources.ext;com.google.gwt.user.client;com.google.gwt.user.client.rpc;com.google.gwt.user.client.ui;com.google.gwt.user.datepicker.client;com.google.gwt.user.server.rpc;com.google.gwt.xml.client;com.google.gwt.uibinder.client;com.google.gwt.rpc.client;com.google.gwt.rpc.server/ + value=com.google.gwt.animation.client;com.google.gwt.benchmarks.client;com.google.gwt.core.client;com.google.gwt.core.ext;com.google.gwt.core.ext.soyc;com.google.gwt.core.ext.linker;com.google.gwt.core.ext.typeinfo;com.google.gwt.core.linker;com.google.gwt.debug.client;com.google.gwt.dom.client;com.google.gwt.event.dom.client;com.google.gwt.event.logical.shared;com.google.gwt.event.shared;com.google.gwt.http.client;com.google.gwt.i18n.client;com.google.gwt.i18n.shared;com.google.gwt.i18n.client.constants;com.google.gwt.i18n.rebind.format;com.google.gwt.i18n.rebind.keygen;com.google.gwt.json.client;com.google.gwt.junit.client;com.google.gwt.benchmarks.client;com.google.gwt.resources.client;com.google.gwt.resources.ext;com.google.gwt.user.client;com.google.gwt.user.client.rpc;com.google.gwt.user.client.ui;com.google.gwt.user.datepicker.client;com.google.gwt.user.server.rpc;com.google.gwt.xml.client;com.google.gwt.uibinder.client;com.google.gwt.rpc.client;com.google.gwt.rpc.server;com.google.gwt.jsonp.client/ property name=LANG_PKGS value=java.lang;java.lang.annotation;java.util;java.io;java.sql / !--Individual classes to include when we don't want to -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Announcing GWT 2.0 and much, much more...
Hi Folks! We have some very exciting announcements today. Please check out the following blog post that covers the GWT 2.0 SDK, Google Plugin for Eclipse, and -- brand new in GWT 2.0 -- a performance analysis tool called Speed Tracer. I think that you will find it pretty interesting... http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-toolkit-20-now.html -- Miguel on behalf of the GWT team -- http://groups.google.com/group/Google-Web-Toolkit-Contributors