My favorites | Sign in
Google
                
Details: Show all Hide all

Today

  • 95 min ago
    issue 3829 (inherited method implementation not found when called by imp...) reported by stefan.w...@gmx.de   -   Found in GWT Release (e.g. 1.6.4): The summary of this issue sounds more complicated than the situation is: I defined a custom interface MyHasValue<T> that is aligned with the well-known com.google.gwt.user.client.ui.HasValue<T> interface. Then I derived a custom text box that implements my custom interface. Now, when the method setValue(T aValue, boolean aFireEvents) is called via my custom interface the following JavaScript exception is raised: gwtBug_client_GwtBug_$onModuleLoad__LgwtBug_client_GwtBug_2_mhv_0.setValue__Ljava_lang_Object_2Z is not a function Maybe there is a missing bridge-method? Shortest code snippet which demonstrates issue (please indicate where actual result differs from expected result): public class GwtBug implements EntryPoint { private interface MyHasValue<T> { T getValue(); void setValue(T aValue, boolean aFireEvents); } private class MyTextBox extends TextBox implements MyHasValue<String> { } public void onModuleLoad() { MyTextBox mtb = new MyTextBox(); MyHasValue<String> mhv = mtb; mhv.setValue("123", true); RootPanel.get().add(mtb); } }
    Found in GWT Release (e.g. 1.6.4): The summary of this issue sounds more complicated than the situation is: I defined a custom interface MyHasValue<T> that is aligned with the well-known com.google.gwt.user.client.ui.HasValue<T> interface. Then I derived a custom text box that implements my custom interface. Now, when the method setValue(T aValue, boolean aFireEvents) is called via my custom interface the following JavaScript exception is raised: gwtBug_client_GwtBug_$onModuleLoad__LgwtBug_client_GwtBug_2_mhv_0.setValue__Ljava_lang_Object_2Z is not a function Maybe there is a missing bridge-method? Shortest code snippet which demonstrates issue (please indicate where actual result differs from expected result): public class GwtBug implements EntryPoint { private interface MyHasValue<T> { T getValue(); void setValue(T aValue, boolean aFireEvents); } private class MyTextBox extends TextBox implements MyHasValue<String> { } public void onModuleLoad() { MyTextBox mtb = new MyTextBox(); MyHasValue<String> mhv = mtb; mhv.setValue("123", true); RootPanel.get().add(mtb); } }
  • 107 min ago
    issue 3828 (Checkstyle error wtih Eclipse 3.3.x and 3.4.x) reported by amitman...@google.com   -   Found in GWT Release (e.g. 1.5.3, 1.6 RC): 1.6 versions Detailed description (please be as specific as possible): Running checkstyle with Eclipse after installing the checkstyle plugin throws the following error. Errors during build. Errors running builder 'Checkstyle Builder' on project 'gwt-user'. cannot initialize module TreeWalker - TreeWalker is not allowed as a parent of RegexpHeader cannot initialize module TreeWalker - TreeWalker is not allowed as a parent of RegexpHeader Workaround if you have one: The basic problem is that checkstyle 5 is incompatible with the previous version, checkstyle 4.4.2 (at the minimum, the package names have been renamed from com.atlassw.* to net.sf.*), gwt-checkstyle extensions require 4.4.2, and I had installed checkstyle 5. The workaround is to install checkstyle 4.4.2. The long term solution is to update the gwt-checkstyle code, per checkstyle 5.
    Found in GWT Release (e.g. 1.5.3, 1.6 RC): 1.6 versions Detailed description (please be as specific as possible): Running checkstyle with Eclipse after installing the checkstyle plugin throws the following error. Errors during build. Errors running builder 'Checkstyle Builder' on project 'gwt-user'. cannot initialize module TreeWalker - TreeWalker is not allowed as a parent of RegexpHeader cannot initialize module TreeWalker - TreeWalker is not allowed as a parent of RegexpHeader Workaround if you have one: The basic problem is that checkstyle 5 is incompatible with the previous version, checkstyle 4.4.2 (at the minimum, the package names have been renamed from com.atlassw.* to net.sf.*), gwt-checkstyle extensions require 4.4.2, and I had installed checkstyle 5. The workaround is to install checkstyle 4.4.2. The long term solution is to update the gwt-checkstyle code, per checkstyle 5.
  • 2 hours ago
    r5714 (Added warning that latest CheckStyle doesn't work for us. ) committed by rjrjr@google.com   -   Added warning that latest CheckStyle doesn't work for us.
    Added warning that latest CheckStyle doesn't work for us.
  • 2 hours ago
    issue 3827 (Linker execution order within a phase is not stable) reported by bobv@google.com   -   ModuleDef.getActiveLinkers() returns a Set, and not a List of the order in which Linkers are added. This means that the execution order cannot be predicted.
    ModuleDef.getActiveLinkers() returns a Set, and not a List of the order in which Linkers are added. This means that the execution order cannot be predicted.
  • 2 hours ago
    issue 3826 (ModuleDef.addLinker(String name) should lazily resolve linke...) reported by bobv@google.com   -   <define-linker name="foo" class="One" / > <add-linker name="foo"/> <define-linker name="foo" class="Two" / > Causes only One to be run. <define-linker name="foo" class="One" / > <add-linker name="foo"/> <define-linker name="foo" class="Two" / > <add-linker name="foo"/> Causes both One and Two to be run.
    <define-linker name="foo" class="One" / > <add-linker name="foo"/> <define-linker name="foo" class="Two" / > Causes only One to be run. <define-linker name="foo" class="One" / > <add-linker name="foo"/> <define-linker name="foo" class="Two" / > <add-linker name="foo"/> Causes both One and Two to be run.
  • 3 hours ago
    r5713 (Revert c5711 due to check style failures. ) committed by rjrjr@google.com   -   Revert c5711 due to check style failures.
    Revert c5711 due to check style failures.
  • 4 hours ago
    OophmForMacBasedGwtContributors (How to run Oophm if you're a GWT contributor using Eclipse o...) Wiki page commented on by tamplinjohn   -   Typo -- the correct target is dist-dev, not dev-dist. See eclipse/README.txt for setting up Eclipse for working with GWT. The Google Eclipse plugin doesn't have any support for using an Eclipse project for GWT currently (you have to point it at a GWT distribution directory), so I believe you will have to actually unjar gwt-dev-mac.jar, rm -rf org/eclipse/swt, and rejar it. I don't use a Mac so I haven't tested it.
    Typo -- the correct target is dist-dev, not dev-dist. See eclipse/README.txt for setting up Eclipse for working with GWT. The Google Eclipse plugin doesn't have any support for using an Eclipse project for GWT currently (you have to point it at a GWT distribution directory), so I believe you will have to actually unjar gwt-dev-mac.jar, rm -rf org/eclipse/swt, and rejar it. I don't use a Mac so I haven't tested it.
  • 4 hours ago
    OophmForMacBasedGwtContributors (How to run Oophm if you're a GWT contributor using Eclipse o...) Wiki page edited by tamplinjohn
  • 4 hours ago
    r5711 (HTMLPanel now allows an arbitrary element to be set as its r...) committed by rjrjr@google.com   -   HTMLPanel now allows an arbitrary element to be set as its root, new constructor HTMLPanel(String tag, String html) http://gwt-code-reviews.appspot.com/39802 Introduces FakeMessagesMaker, to allow JUnit (non-GWTTestCase) testing of objects that rely on generated Messages objects. http://gwt-code-reviews.appspot.com/48809
    HTMLPanel now allows an arbitrary element to be set as its root, new constructor HTMLPanel(String tag, String html) http://gwt-code-reviews.appspot.com/39802 Introduces FakeMessagesMaker, to allow JUnit (non-GWTTestCase) testing of objects that rely on generated Messages objects. http://gwt-code-reviews.appspot.com/48809
  • 5 hours ago
    issue 2610 (problems accessing gwt sites from behind a proxy) commented on by JDerrac   -   Same problem here, We use webwasher.
    Same problem here, We use webwasher.
  • 9 hours ago
    issue 3825 (Date Picker component's date parsing should be more robust) reported by martinst...@google.com   -   Found in GWT Release (e.g. 1.5.3, 1.6 RC): SVN trunk Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): FF3, Chrome Detailed description (please be as specific as possible): The DatePicker attempts to parse dates that are typed by the user into the text box. However this parsing is not very robust - for example, a missing year causes the parser to fail. (Original feedback: "Difficult date input, Dates that don't work Aug 2 August 2 Seems to need the year?  Can we just fallback to current year if none is provided?") Shortest code snippet which demonstrates issue (please indicate where actual result differs from expected result): box = new DateBox(); [type "Aug 2" into the date box, which calls:] box.updateDateFromTextBox() box.parseDate(true) expected result: box.parseDate() returns a Date object for 2009/8/2. actual result: box.parseDate() returns null and reports an error.
    Found in GWT Release (e.g. 1.5.3, 1.6 RC): SVN trunk Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): FF3, Chrome Detailed description (please be as specific as possible): The DatePicker attempts to parse dates that are typed by the user into the text box. However this parsing is not very robust - for example, a missing year causes the parser to fail. (Original feedback: "Difficult date input, Dates that don't work Aug 2 August 2 Seems to need the year?  Can we just fallback to current year if none is provided?") Shortest code snippet which demonstrates issue (please indicate where actual result differs from expected result): box = new DateBox(); [type "Aug 2" into the date box, which calls:] box.updateDateFromTextBox() box.parseDate(true) expected result: box.parseDate() returns a Date object for 2009/8/2. actual result: box.parseDate() returns null and reports an error.
  • 16 hours ago
    r5710 (Fixed to run the right runstyle/thread, refactoring. ) committed by tamplinjohn   -   Fixed to run the right runstyle/thread, refactoring.
    Fixed to run the right runstyle/thread, refactoring.
  • 17 hours ago
    r5709 (Initial work on getting HTMLUnit integrated into JUnitShell....) committed by tamplinjohn   -   Initial work on getting HTMLUnit integrated into JUnitShell.
    Initial work on getting HTMLUnit integrated into JUnitShell.
  • 17 hours ago
    r5708 (Create a branch for HTMLUnit integration for testing. ) committed by tamplinjohn   -   Create a branch for HTMLUnit integration for testing.
    Create a branch for HTMLUnit integration for testing.
  • 17 hours ago
    UsingOOPHM (How to use OOPHM in current trunk.) Wiki page edited by rjrjr@google.com
  • 17 hours ago
    OophmForMacBasedGwtContributors (How to run Oophm if you're a GWT contributor using Eclipse o...) Wiki page edited by rjrjr@google.com
  • 20 hours ago
    OophmForMacBasedGwtContributors (How to run Oophm if you're a GWT contributor using Eclipse o...) Wiki page edited by rjrjr@google.com
  • 20 hours ago
    OophmForMacBasedGwtContributors (How to run Oophm if you're a GWT contributor using Eclipse o...) Wiki page added by rjrjr@google.com
  • 20 hours ago
    UsingOOPHM (How to use OOPHM in current trunk.) Wiki page edited by rjrjr@google.com
  • 21 hours ago
    r5702 (Updated to include issue 3510) committed by br...@google.com   -   Updated to include issue 3510
    Updated to include issue 3510
  • 22 hours ago
    r5701 (Updated release notes for 1.7) committed by br...@google.com   -   Updated release notes for 1.7
    Updated release notes for 1.7
  • 22 hours ago
    issue 3824 (OOPHM and GWTCanvas) commented on by flemming.boller   -   seems the problem is that my ie8 is being detected as "non ie", which I think is because I have messed with the registry in windows. Sorry for the defect, you can close / delete it.
    seems the problem is that my ie8 is being detected as "non ie", which I think is because I have messed with the registry in windows. Sorry for the defect, you can close / delete it.
  • 22 hours ago
    issue 3764 (GWT on AppEngine tutorial results in a non working project) commented on by harapu   -   I fixed that issue by adding: autoGenerate="false" to <datastore-indexes xmlns="http://appengine.google.com/ns/datastore-indexes/1.0">. becoming <datastore-indexes xmlns="http://appengine.google.com/ns/datastore-indexes/1.0" autoGenerate="false"> autogenerate="true" will create another datastore-indexes type of file named datastore-indexes-auto.xml ignoring datastore-indexes.xml
    I fixed that issue by adding: autoGenerate="false" to <datastore-indexes xmlns="http://appengine.google.com/ns/datastore-indexes/1.0">. becoming <datastore-indexes xmlns="http://appengine.google.com/ns/datastore-indexes/1.0" autoGenerate="false"> autogenerate="true" will create another datastore-indexes type of file named datastore-indexes-auto.xml ignoring datastore-indexes.xml
  • 22 hours ago
    issue 1534 (Canvas Widget) commented on by flemming.boller   -   Hi I have used gwtcanvas in IE6+ and firefox to draw piecharts. It works very well for this purpose. /Flemming
    Hi I have used gwtcanvas in IE6+ and firefox to draw piecharts. It works very well for this purpose. /Flemming
  • 22 hours ago
    issue 3824 (OOPHM and GWTCanvas) commented on by flemming.boller   -   I forgot to paste in the stacktrace 00:12:55,313 [ERROR] Uncaught exception escaped com.google.gwt.core.client.JavaScriptException: (Error): Invalid property value. number: -2146827908 description: Invalid property value. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at com.google.gwt.dev.shell.ModuleSpace.createJavaScriptException(ModuleSpace.java:62) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:101) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:121) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:501) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:293) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107) at com.google.gwt.dom.client.Style$.setPropertyImpl$(Style.java) at com.google.gwt.dom.client.Style$.setProperty$(Style.java:1307) at com.google.gwt.user.client.DOM.setStyleAttribute(DOM.java:1208) at com.nordea.fpt.common.client.widgets.barchart.BarAndLegend.setData(BarAndLegend.java:62) at com.nordea.fpt.common.client.financialoverview.CurrentSituationView.drawBalanceAndFortune(CurrentSituationView.java:475) at com.nordea.fpt.common.client.financialoverview.CurrentSituationView.drawPiePanel(CurrentSituationView.java:392) at com.nordea.fpt.common.client.financialoverview.CurrentSituationView.drawPieArea(CurrentSituationView.java:366) at com.nordea.fpt.common.client.financialoverview.CurrentSituationView.draw(CurrentSituationView.java:209) at com.nordea.fpt.ui.client.Application$2.execute(Application.java:115) at com.google.gwt.user.client.CommandExecutor.doExecuteCommands(CommandExecutor.java:310) at com.google.gwt.user.client.CommandExecutor$2.run(CommandExecutor.java:205) at com.google.gwt.user.client.Timer.fireImpl(Timer.java:160) at com.google.gwt.user.client.Timer.fireAndCatch(Timer.java:146) at com.google.gwt.user.client.Timer.fire(Timer.java:138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:67) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:146) at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1235) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:153) at java.lang.Thread.run(Thread.java:595)
    I forgot to paste in the stacktrace 00:12:55,313 [ERROR] Uncaught exception escaped com.google.gwt.core.client.JavaScriptException: (Error): Invalid property value. number: -2146827908 description: Invalid property value. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at com.google.gwt.dev.shell.ModuleSpace.createJavaScriptException(ModuleSpace.java:62) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:101) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:121) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:501) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:293) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107) at com.google.gwt.dom.client.Style$.setPropertyImpl$(Style.java) at com.google.gwt.dom.client.Style$.setProperty$(Style.java:1307) at com.google.gwt.user.client.DOM.setStyleAttribute(DOM.java:1208) at com.nordea.fpt.common.client.widgets.barchart.BarAndLegend.setData(BarAndLegend.java:62) at com.nordea.fpt.common.client.financialoverview.CurrentSituationView.drawBalanceAndFortune(CurrentSituationView.java:475) at com.nordea.fpt.common.client.financialoverview.CurrentSituationView.drawPiePanel(CurrentSituationView.java:392) at com.nordea.fpt.common.client.financialoverview.CurrentSituationView.drawPieArea(CurrentSituationView.java:366) at com.nordea.fpt.common.client.financialoverview.CurrentSituationView.draw(CurrentSituationView.java:209) at com.nordea.fpt.ui.client.Application$2.execute(Application.java:115) at com.google.gwt.user.client.CommandExecutor.doExecuteCommands(CommandExecutor.java:310) at com.google.gwt.user.client.CommandExecutor$2.run(CommandExecutor.java:205) at com.google.gwt.user.client.Timer.fireImpl(Timer.java:160) at com.google.gwt.user.client.Timer.fireAndCatch(Timer.java:146) at com.google.gwt.user.client.Timer.fire(Timer.java:138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:67) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:146) at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1235) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:153) at java.lang.Thread.run(Thread.java:595)
  • 22 hours ago
    issue 3644 (Various native errors in Node.is() and Element.is()) commented on by jgw@google.com   -   @jerome: r5332 fixed the issues I was aware of, I as far as I can tell. If you're still having problems, please open a separate issue with the specific details of your problem, and code that reproduces it, if at all possible.
    @jerome: r5332 fixed the issues I was aware of, I as far as I can tell. If you're still having problems, please open a separate issue with the specific details of your problem, and code that reproduces it, if at all possible.
  • 22 hours ago
    issue 2374 (Generic Methods on RPC Async Interface result in invalid pro...) changed by mmendez@google.com   -   There is a problem but it depends on the bound of the type parameter as far as I can tell. For example, the following works public interface GreetingServiceAsync { <T extends Serializable> void greetServer(T input, AsyncCallback<String> callback); } However, this version does not: public interface GreetingServiceAsync { <T extends String> void greetServer(T input, AsyncCallback<String> callback); } I've attached a patch with the fix for this problem. Not sure if there might be others.
    Status: Accepted
    Cc: b...@google.com
    There is a problem but it depends on the bound of the type parameter as far as I can tell. For example, the following works public interface GreetingServiceAsync { <T extends Serializable> void greetServer(T input, AsyncCallback<String> callback); } However, this version does not: public interface GreetingServiceAsync { <T extends String> void greetServer(T input, AsyncCallback<String> callback); } I've attached a patch with the fix for this problem. Not sure if there might be others.
    Status: Accepted
    Cc: b...@google.com
  • 23 hours ago
    issue 3764 (GWT on AppEngine tutorial results in a non working project) commented on by harapu   -   I fixed that issue by adding: autoGenerate="true" to <datastore-indexes xmlns="http://appengine.google.com/ns/datastore-indexes/1.0">. becoming <datastore-indexes xmlns="http://appengine.google.com/ns/datastore-indexes/1.0" autoGenerate="true">
    I fixed that issue by adding: autoGenerate="true" to <datastore-indexes xmlns="http://appengine.google.com/ns/datastore-indexes/1.0">. becoming <datastore-indexes xmlns="http://appengine.google.com/ns/datastore-indexes/1.0" autoGenerate="true">

Yesterday

  • 26 hours ago
    r5700 (Updating branch-info.txt. ) committed by jgw@google.com   -   Updating branch-info.txt.
    Updating branch-info.txt.
  • 26 hours ago
    r5699 (Merging /trunk c5691, c5696 into this branch. ) committed by jgw@google.com   -   Merging /trunk c5691, c5696 into this branch.
    Merging /trunk c5691, c5696 into this branch.
  • 26 hours ago
    r5698 (Updating branch-info.txt. ) committed by jgw@google.com   -   Updating branch-info.txt.
    Updating branch-info.txt.
  • 26 hours ago
    r5697 (Merging /trunk c5691, c5696 into this branch. ) committed by jgw@google.com   -   Merging /trunk c5691, c5696 into this branch.
    Merging /trunk c5691, c5696 into this branch.
  • 26 hours ago
    issue 3824 (OOPHM and GWTCanvas) reported by flemming.boller   -   (If this is your first time submitting an issue report to the GWT Issue Tracker, please see the sample issue report linked below for an example of a well reported issue) Sample issue report: http://code.google.com/p/google-web-toolkit/wiki/IssueReportSample Found in GWT Release (e.g. 1.5.3, 1.6 RC): 2.0 trunk with oophm.jar included Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): Windows XP SP2, IE8 and IE6 Detailed description (please be as specific as possible): When adding gwtcanvas component to the page the oophm "console" throws and exception about the returned javascript object being invalid. Shortest code snippet which demonstrates issue (please indicate where actual result differs from expected result): Workaround if you have one: Links to relevant GWT Developer Forum posts:
    (If this is your first time submitting an issue report to the GWT Issue Tracker, please see the sample issue report linked below for an example of a well reported issue) Sample issue report: http://code.google.com/p/google-web-toolkit/wiki/IssueReportSample Found in GWT Release (e.g. 1.5.3, 1.6 RC): 2.0 trunk with oophm.jar included Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): Windows XP SP2, IE8 and IE6 Detailed description (please be as specific as possible): When adding gwtcanvas component to the page the oophm "console" throws and exception about the returned javascript object being invalid. Shortest code snippet which demonstrates issue (please indicate where actual result differs from expected result): Workaround if you have one: Links to relevant GWT Developer Forum posts:
  • 26 hours ago
    r5696 (Deprecating the travesty known as HistoryImpl.setUpdateHashO...) committed by jgw@google.com   -   Deprecating the travesty known as HistoryImpl.setUpdateHashOnIE6(). It's no longer necessary now that we've solved the underlying IE performance problem. TBR: scottb
    Deprecating the travesty known as HistoryImpl.setUpdateHashOnIE6(). It's no longer necessary now that we've solved the underlying IE performance problem. TBR: scottb
  • 26 hours ago
    issue 3823 (update to JDT 3.5) reported by tfreitas   -   The current version of the JDT used in GWT is version 3.4.2
    The current version of the JDT used in GWT is version 3.4.2
  • 27 hours ago
    issue 3822 (TextBox.getselectedText() : bug on IE) reported by amandine.sebe   -   Found in GWT Release (e.g. 1.5.3, 1.6 RC): GWT 1.6.4, also tested on release r5631 Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): IE 6-8 Detailed description (please be as specific as possible): On a TextBox, if the cursor is completely on the left and if no text is selected, when I called getSelectedText(), I have an "HostedModeException: Expected primitive type int; actual value was undefined" in hosted mode. More generally, there is a script that stop IE and we must kill it to continue. You can reproduce this issue by adding the code bellow in a panel, the textBox must be empty, you click on the textBox. On the MouseUpEvent, getSelectedText is called and IE stops . Shortest code snippet which demonstrates issue (please indicate where actual result differs from expected result): TextBox text = new TextBox(); text.addMouseUpHandler(new MouseUpHandler() { private void onMouseUp(MouseUpEvent event) { getSelectedText(); } }); Workaround if you have one: Links to relevant GWT Developer Forum posts:
    Found in GWT Release (e.g. 1.5.3, 1.6 RC): GWT 1.6.4, also tested on release r5631 Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): IE 6-8 Detailed description (please be as specific as possible): On a TextBox, if the cursor is completely on the left and if no text is selected, when I called getSelectedText(), I have an "HostedModeException: Expected primitive type int; actual value was undefined" in hosted mode. More generally, there is a script that stop IE and we must kill it to continue. You can reproduce this issue by adding the code bellow in a panel, the textBox must be empty, you click on the textBox. On the MouseUpEvent, getSelectedText is called and IE stops . Shortest code snippet which demonstrates issue (please indicate where actual result differs from expected result): TextBox text = new TextBox(); text.addMouseUpHandler(new MouseUpHandler() { private void onMouseUp(MouseUpEvent event) { getSelectedText(); } }); Workaround if you have one: Links to relevant GWT Developer Forum posts:
  • 28 hours ago
    issue 3789 (Add support for eclipse 3.5 galileo) commented on by rdayal@google.com   -   We're working on this issue right now, and we will have a Eclipse 3.5-compatible release within the next couple of weeks.
    We're working on this issue right now, and we will have a Eclipse 3.5-compatible release within the next couple of weeks.
  • 28 hours ago
    issue 3296 (SerializationException >> type 'org.hibernate.collection.Per...) commented on by federico.ferri.it   -   I'm having this issue too (gwt can't serialize hibernate's PersistentSet/List) I'm using gilead too, so, I wonder wether I am misusing it, cause it's not solving my need of sharing by DataObject beans with the client.... any update on this?
    I'm having this issue too (gwt can't serialize hibernate's PersistentSet/List) I'm using gilead too, so, I wonder wether I am misusing it, cause it's not solving my need of sharing by DataObject beans with the client.... any update on this?
  • 29 hours ago
    issue 3793 (input inside panel that has mouse events causes exception on...) commented on by chuckG19   -   Ok. Our bad. This was related to r5641. This can be closed.
    Ok. Our bad. This was related to r5641. This can be closed.
  • 29 hours ago
    r5695 (Rolling back c5694, due to test failure: junit.framework.As...) committed by rjrjr@google.com   -   Rolling back c5694, due to test failure: junit.framework.AssertionFailedError: expected=table actual=tbody at com.google.gwt.user.client.ui.HTMLPanelTest.testCustomRootTag(HTMLPanelTest.java:137) at com.google.gwt.user.client.ui.__HTMLPanelTest_unitTestImpl.doRunTest(transient source for com.google.gwt.user.client.ui.__HTMLPanelTest_unitTestImpl:28)
    Rolling back c5694, due to test failure: junit.framework.AssertionFailedError: expected=table actual=tbody at com.google.gwt.user.client.ui.HTMLPanelTest.testCustomRootTag(HTMLPanelTest.java:137) at com.google.gwt.user.client.ui.__HTMLPanelTest_unitTestImpl.doRunTest(transient source for com.google.gwt.user.client.ui.__HTMLPanelTest_unitTestImpl:28)
  • 33 hours ago
    issue 3821 (RootPanel.getWidgetCount() doesn't work when it is gotten fr...) reported by ngovankhoa   -   Found in GWT Release (e.g. 1.5.3, 1.6 RC): GWT 1.6.4 Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): Win7, FF3.5 Detailed description (please be as specific as possible): I included two generated JavaScript code from two different modules into a HTML page. My attention is to share a Panel between two modules. In the HTML page, I put a div tag: <div id="uniqueDivID"> In the first module, I added a Panel to RootPanel by using the code below: RootPanel.get("uniqueDivID").add(new MyPanel()); In the second module, I try to count the child widget: RootPanel.get("uniqueDivID").getWidgetCount() The getWidgetCount() return 0. I checked and the first module is loaded and MyPanel is already added. The method RootPanel.get("uniqueDivID").getElement().getFirstChildElement().getInnerHTML() returns "<table cellspacing="0" cellpadding="0"...". It means that MyPanel is already loaded. But getWidgetCount() returns 0. Shortest code snippet which demonstrates issue (please indicate where actual result differs from expected result): Workaround if you have one: Links to relevant GWT Developer Forum posts:
    Found in GWT Release (e.g. 1.5.3, 1.6 RC): GWT 1.6.4 Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): Win7, FF3.5 Detailed description (please be as specific as possible): I included two generated JavaScript code from two different modules into a HTML page. My attention is to share a Panel between two modules. In the HTML page, I put a div tag: <div id="uniqueDivID"> In the first module, I added a Panel to RootPanel by using the code below: RootPanel.get("uniqueDivID").add(new MyPanel()); In the second module, I try to count the child widget: RootPanel.get("uniqueDivID").getWidgetCount() The getWidgetCount() return 0. I checked and the first module is loaded and MyPanel is already added. The method RootPanel.get("uniqueDivID").getElement().getFirstChildElement().getInnerHTML() returns "<table cellspacing="0" cellpadding="0"...". It means that MyPanel is already loaded. But getWidgetCount() returns 0. Shortest code snippet which demonstrates issue (please indicate where actual result differs from expected result): Workaround if you have one: Links to relevant GWT Developer Forum posts:
  • 35 hours ago
    issue 3820 (NullPointerException RPCRequest.java:102) reported by levi.mail.levi   -   java.lang.NullPointerException at com.google.gwt.user.server.rpc.RPCRequest.toString(RPCRequest.java:102) This is due to an RPC call with null as value for an argument. Found in GWT Release (e.g. 1.5.3, 1.6 RC): GWT 1.6.4 Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): WinXP hosted mode Detailed description (please be as specific as possible): I am overwriting the empty method protected void onAfterRequestDeserialized(RPCRequest rpcRequest) from RemoteServiceServlet and call rpcRequest.toString(). This results in a NullPointerException for RPC requests where one of the arguments is null. Shortest code snippet which demonstrates issue (please indicate where actual result differs from expected result): RPCRequest.java:102: // We assume that anyone who wants to use this method will implement // toString on his serializable objects. callSignature.append(param.toString()); //<== NullPointerException since param == null Workaround if you have one: Don't write the debug info ;)
    java.lang.NullPointerException at com.google.gwt.user.server.rpc.RPCRequest.toString(RPCRequest.java:102) This is due to an RPC call with null as value for an argument. Found in GWT Release (e.g. 1.5.3, 1.6 RC): GWT 1.6.4 Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): WinXP hosted mode Detailed description (please be as specific as possible): I am overwriting the empty method protected void onAfterRequestDeserialized(RPCRequest rpcRequest) from RemoteServiceServlet and call rpcRequest.toString(). This results in a NullPointerException for RPC requests where one of the arguments is null. Shortest code snippet which demonstrates issue (please indicate where actual result differs from expected result): RPCRequest.java:102: // We assume that anyone who wants to use this method will implement // toString on his serializable objects. callSignature.append(param.toString()); //<== NullPointerException since param == null Workaround if you have one: Don't write the debug info ;)
  • 40 hours ago
    issue 3819 (DialogBox.center() - causes code corruption in certain cas...) reported by brianoh9999   -   Found in GWT Release 1.6.4: Encountered on OS / Browser :- WinXP dev environment. Detailed description (please be as specific as possible): -------------------------------------------------------- When using DialogBox.center() in a way that is not possibly usage as intended, there appears to be code corruption. Using a simple RPC test program, after the first instance of DialogBox.center(), the Class used for OnClick etc, (similar to the example created by GWT on a new project), never reacts again to OnClick etc., as it appears to be corrupted. IE. the program no longer works. I am not saying that DialogBox has been implemented as intended, however the results from using it in this way should not cause corruption of code. Shortest code snippet which demonstrates issue (please indicate where actual result differs from expected result): ###################### Code extracts ######################## public void onModuleLoad() { final DialogBox dlbResponse = new DialogBox(); ..... dlbResponse.setText("Remote Procedure Call"); dlbResponse.setAnimationEnabled(true); vpnMain.add(dlbResponse); .... public void sendDataToServer(String sName, String sAddress) { ///// @@@@@@@ Note : if "center" is entered in the name field, the DialogBox will be ///// @@@@@@@ centered, and this in turn corrupts the code. helloService.sayHello(sName +" at " +sAddress, new AsyncCallback<String>() { public void onFailure(Throwable caught) { blnSending = false; // re-set flag dlbResponse.setText("Remote Procedure Call FAILED : successful = " +iSuccess+" of "+iAttempts); Window.alert(caught.getMessage()); } public void onSuccess(String sResult) { blnSending = false; // re-set flag iSuccess++; dlbResponse.setText("Remote Procedure Call completed OK: successful = " +iSuccess+" of "+iAttempts); ///// @@@@@@@ This is what triggers the corruption @@@@@@@@@@@@ ////// dlbResponse.center(); // @@@@ when this is activated, code is corrupted @@@@ lblResponse.setText(new String(sResult)); } }); } ##################################################################### When "center" is entered in the name field (test purposes) , the DialogBox will be centered, and this triggers the code corruption. This allows easy testing of the problem. Example is attached. Workaround if you have one: Don't use DialogBox.center() in this way. However, there appears to be a bug in DialogBox.
    Found in GWT Release 1.6.4: Encountered on OS / Browser :- WinXP dev environment. Detailed description (please be as specific as possible): -------------------------------------------------------- When using DialogBox.center() in a way that is not possibly usage as intended, there appears to be code corruption. Using a simple RPC test program, after the first instance of DialogBox.center(), the Class used for OnClick etc, (similar to the example created by GWT on a new project), never reacts again to OnClick etc., as it appears to be corrupted. IE. the program no longer works. I am not saying that DialogBox has been implemented as intended, however the results from using it in this way should not cause corruption of code. Shortest code snippet which demonstrates issue (please indicate where actual result differs from expected result): ###################### Code extracts ######################## public void onModuleLoad() { final DialogBox dlbResponse = new DialogBox(); ..... dlbResponse.setText("Remote Procedure Call"); dlbResponse.setAnimationEnabled(true); vpnMain.add(dlbResponse); .... public void sendDataToServer(String sName, String sAddress) { ///// @@@@@@@ Note : if "center" is entered in the name field, the DialogBox will be ///// @@@@@@@ centered, and this in turn corrupts the code. helloService.sayHello(sName +" at " +sAddress, new AsyncCallback<String>() { public void onFailure(Throwable caught) { blnSending = false; // re-set flag dlbResponse.setText("Remote Procedure Call FAILED : successful = " +iSuccess+" of "+iAttempts); Window.alert(caught.getMessage()); } public void onSuccess(String sResult) { blnSending = false; // re-set flag iSuccess++; dlbResponse.setText("Remote Procedure Call completed OK: successful = " +iSuccess+" of "+iAttempts); ///// @@@@@@@ This is what triggers the corruption @@@@@@@@@@@@ ////// dlbResponse.center(); // @@@@ when this is activated, code is corrupted @@@@ lblResponse.setText(new String(sResult)); } }); } ##################################################################### When "center" is entered in the name field (test purposes) , the DialogBox will be centered, and this triggers the code corruption. This allows easy testing of the problem. Example is attached. Workaround if you have one: Don't use DialogBox.center() in this way. However, there appears to be a bug in DialogBox.
  • 42 hours ago
    r5694 (Allow flexibilty on root tag of HTMLPanel Reviewed by: jgw ...) committed by rjrjr@google.com   -   Allow flexibilty on root tag of HTMLPanel Reviewed by: jgw
    Allow flexibilty on root tag of HTMLPanel Reviewed by: jgw
  • 43 hours ago
    issue 3818 (HorizontalSplitPanel Publicize Splitting) reported by theclassconnection   -   Found in GWT Release (e.g. 1.5.3, 1.6 RC): 1.6+ Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): All Detailed description (please be as specific as possible): Please open up methods that allow us to tell when the HorizontalSplitPanel is resizing (i.e. onResizeListener). Also, open up a method to get the width of the two panels. Thx. Workaround if you have one: none Links to relevant GWT Developer Forum posts:
    Found in GWT Release (e.g. 1.5.3, 1.6 RC): 1.6+ Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): All Detailed description (please be as specific as possible): Please open up methods that allow us to tell when the HorizontalSplitPanel is resizing (i.e. onResizeListener). Also, open up a method to get the width of the two panels. Thx. Workaround if you have one: none Links to relevant GWT Developer Forum posts:
  • 43 hours ago
    r5693 (Fix resource filter, promote type references implementation ...) committed by tamplinjohn   -   Fix resource filter, promote type references implementation to superclass, handle null superclass in ASM visitor (for Object), fix handling of class literals in type reference computation, additional tests. Review by: amitmanjhi (pair programming)
    Fix resource filter, promote type references implementation to superclass, handle null superclass in ASM visitor (for Object), fix handling of class literals in type reference computation, additional tests. Review by: amitmanjhi (pair programming)
  • 44 hours ago
    issue 1052 (RichTextArea needs default styling capability.) commented on by ste3ls   -   Thanks to amitkasher, comment #8, I finally managed to import css. The following function will return false if there's no document element. Otherwise it will attempt to import the stylesheet in different ways for each browser. I call it with a timer like a.revolution.ultra.blue: new Timer() { public void run() { try { if (importStyleSheet(textArea.getElement(), "iframe.css")) { cancel(); GWT.log("Stylesheet imported successfully", null); } } catch (Exception e) { GWT.log("Error while inserting stylesheet", e); } finally { cancel(); } } }.scheduleRepeating(111); Because I call it form a Composite, but I guess there's an onAttach event or something if you extend RichTextarea. private static native boolean importStyleSheet(Element elem, String importUrl) /*-{ if (!elem.contentWindow) { return false; } var doc = elem.contentWindow.document; if (doc == null || typeof doc == 'undefined') { return false; } // Now we have the iframe's document element // IE - document.createStyleSheet available (tested w/ IE7) if (doc && typeof doc.createStyleSheet != 'undefined') { doc.createStyleSheet(importUrl); return true; } // Webkit - doesn't create HEAD tag (tested w/ Chrome) if (!doc.getElementsByTagName('head')[0] || typeof doc.getElementsByTagName('head')[0] == 'undefined') { var head = doc.createElement('head'); var root = doc.getElementsByTagName('html')[0]; if (root && typeof root != 'undefined') { root.insertBefore(head, doc.getElementsByTagName('body')[0]); } } else { var head = doc.getElementsByTagName('head')[0]; if (head == null || typeof head == 'undefined') { return false; // mozilla? } } // Gecko - insert STYLE tag, then access document.styleSheets as W3C says // (tested w/Firefox 3.5) var styleElement = doc.createElement('style'); styleElement.type = 'text/css'; head.appendChild(styleElement); if (doc.styleSheets) { var lastSheet = doc.styleSheets[doc.styleSheets.length - 1]; if (lastSheet && typeof lastSheet.insertRule != 'undefined') { lastSheet.insertRule('@import url("' + importUrl + '");', 0); return true; } } // Other browsers - I doubt this works... styleElement.appendChild(doc.createTextNode('@import url(\""+importUrl+"\")')); return true; }-*/;
    Thanks to amitkasher, comment #8, I finally managed to import css. The following function will return false if there's no document element. Otherwise it will attempt to import the stylesheet in different ways for each browser. I call it with a timer like a.revolution.ultra.blue: new Timer() { public void run() { try { if (importStyleSheet(textArea.getElement(), "iframe.css")) { cancel(); GWT.log("Stylesheet imported successfully", null); } } catch (Exception e) { GWT.log("Error while inserting stylesheet", e); } finally { cancel(); } } }.scheduleRepeating(111); Because I call it form a Composite, but I guess there's an onAttach event or something if you extend RichTextarea. private static native boolean importStyleSheet(Element elem, String importUrl) /*-{ if (!elem.contentWindow) { return false; } var doc = elem.contentWindow.document; if (doc == null || typeof doc == 'undefined') { return false; } // Now we have the iframe's document element // IE - document.createStyleSheet available (tested w/ IE7) if (doc && typeof doc.createStyleSheet != 'undefined') { doc.createStyleSheet(importUrl); return true; } // Webkit - doesn't create HEAD tag (tested w/ Chrome) if (!doc.getElementsByTagName('head')[0] || typeof doc.getElementsByTagName('head')[0] == 'undefined') { var head = doc.createElement('head'); var root = doc.getElementsByTagName('html')[0]; if (root && typeof root != 'undefined') { root.insertBefore(head, doc.getElementsByTagName('body')[0]); } } else { var head = doc.getElementsByTagName('head')[0]; if (head == null || typeof head == 'undefined') { return false; // mozilla? } } // Gecko - insert STYLE tag, then access document.styleSheets as W3C says // (tested w/Firefox 3.5) var styleElement = doc.createElement('style'); styleElement.type = 'text/css'; head.appendChild(styleElement); if (doc.styleSheets) { var lastSheet = doc.styleSheets[doc.styleSheets.length - 1]; if (lastSheet && typeof lastSheet.insertRule != 'undefined') { lastSheet.insertRule('@import url("' + importUrl + '");', 0); return true; } } // Other browsers - I doubt this works... styleElement.appendChild(doc.createTextNode('@import url(\""+importUrl+"\")')); return true; }-*/;
  • 44 hours ago
    r5692 (Made a couple of public methods package-protected.) committed by scottb@google.com   -   Made a couple of public methods package-protected.
    Made a couple of public methods package-protected.
  • 45 hours ago
    r5691 (Reverting XHR changes to the std (iframe) linker. This patc...) committed by jgw@google.com   -   Reverting XHR changes to the std (iframe) linker. This patch effectively reverts r5538, r5530, r5523, r5517, r5393 and preserves r5605. Code review: http://gwt-code-reviews.appspot.com/48808/show
    Reverting XHR changes to the std (iframe) linker. This patch effectively reverts r5538, r5530, r5523, r5517, r5393 and preserves r5605. Code review: http://gwt-code-reviews.appspot.com/48808/show
  • 45 hours ago
    issue 3817 (Problem with naming rules of elements in IE6-7, other browse...) reported by shellum   -   Found in GWT Release (e.g. 1.5.3, 1.6 RC): GWT 1.6.4 Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): WinXP IE6-7 Detailed description (please be as specific as possible): When using eclipse(3.4) and the gwt plugin for 1.6.4, if you happen to give the id attribute of your .html file and the RootPanel.get() method the same string as your Eclipse project name, when you compile the GWT project: IE6-7 will fail and Chrome, Firefox, and Safari will work fine. By fail, I mean you will get a Javascript error: Error: 'undefined' is null or not an object Shortest code snippet which demonstrates issue: Project name: mytest File mytest.html: <div id="mytest"></div> File MyTest.java(in onModuleLoad(): RootPanel.get("mytest").add(somePanel); Workaround if you have one: Modify the string slightly so that it is not the same as the project name. It's not a big deal.. if you know not to name these things the same. Workaround example: Project name: mytest File mytest.html: <div id="mytest1"></div> File MyTest.java(in onModuleLoad(): RootPanel.get("mytest1").add(somePanel);
    Found in GWT Release (e.g. 1.5.3, 1.6 RC): GWT 1.6.4 Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): WinXP IE6-7 Detailed description (please be as specific as possible): When using eclipse(3.4) and the gwt plugin for 1.6.4, if you happen to give the id attribute of your .html file and the RootPanel.get() method the same string as your Eclipse project name, when you compile the GWT project: IE6-7 will fail and Chrome, Firefox, and Safari will work fine. By fail, I mean you will get a Javascript error: Error: 'undefined' is null or not an object Shortest code snippet which demonstrates issue: Project name: mytest File mytest.html: <div id="mytest"></div> File MyTest.java(in onModuleLoad(): RootPanel.get("mytest").add(somePanel); Workaround if you have one: Modify the string slightly so that it is not the same as the project name. It's not a big deal.. if you know not to name these things the same. Workaround example: Project name: mytest File mytest.html: <div id="mytest1"></div> File MyTest.java(in onModuleLoad(): RootPanel.get("mytest1").add(somePanel);