[gwt-contrib] Re: Add WebSocket API (issue646803)

2010-07-02 Thread Thomas Broyer
On Fri, Jul 2, 2010 at 2:37 AM, j...@google.com wrote: http://gwt-code-reviews.appspot.com/646803/show All in all, it really feels over-engineered to me. Sorry to be harsh, but let me explain: What's the purpose of RawWebSocketImpl vs. WebSocket? that you could do a new WebSocket() instead of

[gwt-contrib] Re: Add WebSocket API (issue646803)

2010-07-02 Thread markovuksanovic
Here's what I think... What's the purpose of RawWebSocketImpl vs. WebSocket? that you could do a new WebSocket() instead of WebSocket.newInstance() ? (I don't dispute the interface+implementation, which is more-than-useful for mockability). Different browsers might have a slightly different

[gwt-contrib] Re: Inserting TreeItems into the logical list in the same spot that they are inserted into the physi... (issue645802)

2010-07-02 Thread jlabanca
@rice - Do you mind taking another look at the updated Patch Set? http://gwt-code-reviews.appspot.com/645802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] UiBinder tweaks for GWT Designer

2010-07-02 Thread Ray Ryan
On Thu, Jul 1, 2010 at 3:55 PM, Konstantin Scheglov konstantin.scheg...@gmail.com wrote: What does WBP stand for? WBP is acronym for WindowBuilder Prohttp://www.instantiations.com/windowbuilder/ - set of plugins for Eclipse for WYSIWYG development of GUI for Swing, SWT, RCP, XWT and

[gwt-contrib] Re: Add support for creating Grid elements using UiBinder. (issue154810)

2010-07-02 Thread rjrjr
Remember this? It's really close, I think just one more change is needed (below). http://gwt-code-reviews.appspot.com/154810/diff/22003/54004 File user/test/com/google/gwt/uibinder/elementparsers/GridParserTest.java (right):

[gwt-contrib] Re: Add support for creating Grid elements using UiBinder. (issue154810)

2010-07-02 Thread markovuksanovic
Yeah, I do remember. I will make the change later today. On 2010/07/02 14:40:57, Ray Ryan wrote: Remember this? It's really close, I think just one more change is needed (below). http://gwt-code-reviews.appspot.com/154810/diff/22003/54004 File

[gwt-contrib] Re: Fix issue 4781: allow HTML= in UiBinder for setHTML() (issue642801)

2010-07-02 Thread rjrjr
Thanks for the patch, Thomas. Yeah, I hate to say this but could you make the fix backward compatible? http://gwt-code-reviews.appspot.com/642801/diff/1/3 File user/test/com/google/gwt/uibinder/rebind/model/OwnerFieldClassTest.java (right):

[gwt-contrib] [google-web-toolkit] r8347 committed - Adds parser for TextAlignConstant, which accepts both friendly names...

2010-07-02 Thread codesite-noreply
Revision: 8347 Author: rj...@google.com Date: Fri Jul 2 04:56:18 2010 Log: Adds parser for TextAlignConstant, which accepts both friendly names and the UGLY_ONES used in code. Horiz and Vert constant parsers retrofitted with the same friendliness. Patch by konstantin.scheg...@gmail.com Review

[gwt-contrib] Adds EventTarget, add/removeEventListener() et al to gwt dom. (issue623803)

2010-07-02 Thread jgw
Reviewers: tbroyer, Description: Adds EventTarget, add/removeEventListener() et al to gwt dom. Note: This is not remotely finished, nor is the API certain. Please review this at http://gwt-code-reviews.appspot.com/623803/show Affected files: M user/src/com/google/gwt/dom/client/DOMImpl.java

[gwt-contrib] Adds Event.sinkEvent() to make it possible to sink custom events in gwt-user. Reimplements (issue635802)

2010-07-02 Thread jgw
Reviewers: tbroyer, Description: Adds Event.sinkEvent() to make it possible to sink custom events in gwt-user. Reimplements gwt-user event handling in terms of standard dom EventTarget methods. Note: This is not remotely finished, nor the API certain. Please review this at

[gwt-contrib] Adding microbenchmark for event sinking (using gwt-user Event.sinkEvents()). (issue668802)

2010-07-02 Thread jgw
Reviewers: tbroyer, Description: Adding microbenchmark for event sinking (using gwt-user Event.sinkEvents()). Please review this at http://gwt-code-reviews.appspot.com/668802/show Affected files: M

[gwt-contrib] Re: Fix issue 4781: allow HTML= in UiBinder for setHTML() (issue642801)

2010-07-02 Thread t . broyer
http://gwt-code-reviews.appspot.com/642801/diff/1/3 File user/test/com/google/gwt/uibinder/rebind/model/OwnerFieldClassTest.java (right): http://gwt-code-reviews.appspot.com/642801/diff/1/3#newcode62 user/test/com/google/gwt/uibinder/rebind/model/OwnerFieldClassTest.java:62:

[gwt-contrib] Re: Adds EventTarget, add/removeEventListener() et al to gwt dom. (issue623803)

2010-07-02 Thread jat
http://gwt-code-reviews.appspot.com/623803/diff/1/3 File user/src/com/google/gwt/dom/client/DOMImplStandard.java (right): http://gwt-code-reviews.appspot.com/623803/diff/1/3#newcode115 user/src/com/google/gwt/dom/client/DOMImplStandard.java:115: public native void addEventListener(EventTarget

[gwt-contrib] [google-web-toolkit] r8348 committed - Inserting TreeItems into the logical list in the same spot that they a...

2010-07-02 Thread codesite-noreply
Revision: 8348 Author: jlaba...@google.com Date: Fri Jul 2 05:43:30 2010 Log: Inserting TreeItems into the logical list in the same spot that they are inserted into the physical DOM. This fixes a bug where keyboard navigation occurs out of order, and generally makes the logical and

[gwt-contrib] Re: Inserting TreeItems into the logical list in the same spot that they are inserted into the physi... (issue645802)

2010-07-02 Thread jlabanca
committed as r8348 http://gwt-code-reviews.appspot.com/645802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Adds Event.sinkEvent() to make it possible to sink custom events in gwt-user. Reimplements (issue635802)

2010-07-02 Thread jgw
http://gwt-code-reviews.appspot.com/635802/diff/1/3 File user/src/com/google/gwt/user/client/Event.java (right): http://gwt-code-reviews.appspot.com/635802/diff/1/3#newcode556 user/src/com/google/gwt/user/client/Event.java:556: DOM.sinkEvent((com.google.gwt.user.client.Element) elem, type,

[gwt-contrib] Re: Adds EventTarget, add/removeEventListener() et al to gwt dom. (issue623803)

2010-07-02 Thread jgw
http://gwt-code-reviews.appspot.com/623803/diff/1/3 File user/src/com/google/gwt/dom/client/DOMImplStandard.java (right): http://gwt-code-reviews.appspot.com/623803/diff/1/3#newcode115 user/src/com/google/gwt/dom/client/DOMImplStandard.java:115: public native void addEventListener(EventTarget

[gwt-contrib] Re: Adds EventTarget, add/removeEventListener() et al to gwt dom. (issue623803)

2010-07-02 Thread jat
http://gwt-code-reviews.appspot.com/623803/diff/1/3 File user/src/com/google/gwt/dom/client/DOMImplStandard.java (right): http://gwt-code-reviews.appspot.com/623803/diff/1/3#newcode115 user/src/com/google/gwt/dom/client/DOMImplStandard.java:115: public native void addEventListener(EventTarget

[gwt-contrib] Re: Add WebSocket API (issue646803)

2010-07-02 Thread jgw
I don't have a particularly strong opinion on the RawWebSocket vs. RawWebSocketImpl dichotomy, but it might be a bit more abstracted that necessary. I'm perfectly fine with the WebSocket vs. RawWebSocket difference, though, because one's a native browser class, while the other provides a more

[gwt-contrib] Re: Add support for creating Grid elements using UiBinder. (issue154810)

2010-07-02 Thread markovuksanovic
Ok, I had a look and just remembered why I used more calls to resize methods. The GridParser walks through the Grid and on the fly calculates the size. So if it comes to an element that doesn't fit into the current grid element it expands it (either by number of columns, or rows - depends which

[gwt-contrib] Re: Adds EventTarget, add/removeEventListener() et al to gwt dom. (issue623803)

2010-07-02 Thread jgw
http://gwt-code-reviews.appspot.com/623803/diff/1/3 File user/src/com/google/gwt/dom/client/DOMImplStandard.java (right): http://gwt-code-reviews.appspot.com/623803/diff/1/3#newcode115 user/src/com/google/gwt/dom/client/DOMImplStandard.java:115: public native void addEventListener(EventTarget

[gwt-contrib] Re: Adds EventTarget, add/removeEventListener() et al to gwt dom. (issue623803)

2010-07-02 Thread t . broyer
LGTM overall. As a side note, where is the c.g.g.dom.client.EventListener defined? Could it be made generic? I like how the WebSocket proposal added a base Event class mimicking the DOM Event interface, with NativeEvent (and other WebSocket-specific events) extending it. EventListener could

[gwt-contrib] Re: Adds EventTarget, add/removeEventListener() et al to gwt dom. (issue623803)

2010-07-02 Thread jat
http://gwt-code-reviews.appspot.com/623803/diff/1/3 File user/src/com/google/gwt/dom/client/DOMImplStandard.java (right): http://gwt-code-reviews.appspot.com/623803/diff/1/3#newcode119 user/src/com/google/gwt/dom/client/DOMImplStandard.java:119:

[gwt-contrib] Re: Add support for creating Grid elements using UiBinder. (issue154810)

2010-07-02 Thread Ray Ryan
You're trading off compile time simplicity at the expense of runtime efficiency, and it's a bad trade. Rather than emitting java lines as you walk the XML, you can build a model of what you want to write. Once you're done with your traversal, you can write out a single call to resize(int, int),

[gwt-contrib] Re: Adds EventTarget, add/removeEventListener() et al to gwt dom. (issue623803)

2010-07-02 Thread jgw
http://gwt-code-reviews.appspot.com/623803/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Adds EventTarget, add/removeEventListener() et al to gwt dom. (issue623803)

2010-07-02 Thread jgw
http://gwt-code-reviews.appspot.com/623803/diff/1/4 File user/src/com/google/gwt/dom/client/DOMImplTrident.java (right): http://gwt-code-reviews.appspot.com/623803/diff/1/4#newcode161 user/src/com/google/gwt/dom/client/DOMImplTrident.java:161: // TODO: Hang on to enough information to implement

[gwt-contrib] Re: Adds EventTarget, add/removeEventListener() et al to gwt dom. (issue623803)

2010-07-02 Thread jgw
On 2010/07/02 16:26:08, tbroyer wrote: LGTM overall. As a side note, where is the c.g.g.dom.client.EventListener defined? Could it be made generic? I like how the WebSocket proposal added a base Event class mimicking the DOM Event interface, with NativeEvent (and other WebSocket-specific

[gwt-contrib] [google-web-toolkit] r8349 committed - Create top-level directory for GWT 2.1 M2/GPE 1.4 M2.

2010-07-02 Thread codesite-noreply
Revision: 8349 Author: jasonpar...@google.com Date: Fri Jul 2 09:53:04 2010 Log: Create top-level directory for GWT 2.1 M2/GPE 1.4 M2. http://code.google.com/p/google-web-toolkit/source/detail?r=8349 Added: /2.1.0.M2 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] [google-web-toolkit] r8350 committed - Populate gwt-maven-plugin and GAE 1.3.5 into Maven repo.

2010-07-02 Thread codesite-noreply
Revision: 8350 Author: jasonpar...@google.com Date: Fri Jul 2 10:26:43 2010 Log: Populate gwt-maven-plugin and GAE 1.3.5 into Maven repo. http://code.google.com/p/google-web-toolkit/source/detail?r=8350 Added: /2.1.0.M2/gwt /2.1.0.M2/gwt/maven /2.1.0.M2/gwt/maven/com

[gwt-contrib] [google-web-toolkit] r8351 committed - Populate GWT 2.1 M2 into Maven repo.

2010-07-02 Thread codesite-noreply
Revision: 8351 Author: jasonpar...@google.com Date: Fri Jul 2 10:29:54 2010 Log: Populate GWT 2.1 M2 into Maven repo. http://code.google.com/p/google-web-toolkit/source/detail?r=8351 Added: /2.1.0.M2/gwt/maven/com/google/gwt /2.1.0.M2/gwt/maven/com/google/gwt/gwt-dev

[gwt-contrib] Re: Replacing PagingListView.setPageStart/Size with PagingListView.setRange. Replacing CellListImpl... (issue614803)

2010-07-02 Thread jgw
LGTM overall. Some minor comments that shouldn't stop you from committing. And let me just add w00t, tests! http://gwt-code-reviews.appspot.com/614803/diff/3001/4013 File user/src/com/google/gwt/user/cellview/client/CellTable.java (right):

[gwt-contrib] [google-web-toolkit] r8352 committed - Populate GPE 1.4 M2 for Eclipse 3.5 into Maven repo.

2010-07-02 Thread codesite-noreply
Revision: 8352 Author: jasonpar...@google.com Date: Fri Jul 2 10:51:10 2010 Log: Populate GPE 1.4 M2 for Eclipse 3.5 into Maven repo. http://code.google.com/p/google-web-toolkit/source/detail?r=8352 Added: /2.1.0.M2/eclipse /2.1.0.M2/eclipse/plugin /2.1.0.M2/eclipse/plugin/3.5

[gwt-contrib] Re: Adding NoSelectionModel, which allows selection without saving the selection state. (issue667801)

2010-07-02 Thread jgw
On 2010/06/28 17:44:06, jlabanca wrote: LGTM. http://gwt-code-reviews.appspot.com/667801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] [google-web-toolkit] r8353 committed - Added the artifacts for Eclipse 3.6...

2010-07-02 Thread codesite-noreply
Revision: 8353 Author: amitman...@google.com Date: Fri Jul 2 11:12:19 2010 Log: Added the artifacts for Eclipse 3.6 Patch by: jasonparekh Commit by: amitmanjhi http://code.google.com/p/google-web-toolkit/source/detail?r=8353 Added: /2.1.0.M2/eclipse/plugin/3.6

[gwt-contrib] [google-web-toolkit] r8354 committed - Added the artifacts for Eclipse 3.4...

2010-07-02 Thread codesite-noreply
Revision: 8354 Author: amitman...@google.com Date: Fri Jul 2 11:15:16 2010 Log: Added the artifacts for Eclipse 3.4 Patch by: jasonparekh Commit by: amitmanjhi http://code.google.com/p/google-web-toolkit/source/detail?r=8354 Added: /2.1.0.M2/eclipse/plugin/3.4

[gwt-contrib] [google-web-toolkit] r8356 committed - UiBinderWriter#escapeTextForJavaStringLiteral correctly escapes \n and...

2010-07-02 Thread codesite-noreply
Revision: 8356 Author: rj...@google.com Date: Fri Jul 2 08:22:57 2010 Log: UiBinderWriter#escapeTextForJavaStringLiteral correctly escapes \n and , but forgets \. Also, I couldn't see a reason for using replaceAll instead of replace. Patch by tbro...@gmail.com Review by rj...@google.com

[gwt-contrib] Re: Replacing PagingListView.setPageStart/Size with PagingListView.setRange. Replacing CellListImpl... (issue614803)

2010-07-02 Thread jlabanca
committed as r8357 http://gwt-code-reviews.appspot.com/614803/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] UiBinder tweaks for GWT Designer

2010-07-02 Thread Konstantin Scheglov
On Fri, Jul 2, 2010 at 6:20 PM, Ray Ryan rj...@google.com wrote: This is absolutely not related to databinding, we just want to produce GUI builder for UiBinder. I think that tooling was specified as one of the reasons to use XML for GWT UI. So, this is on what I work now. :-) Well

[gwt-contrib] Revert the ListBoxCell changes that slipped into MailRecipe from another change that hasn't been... (issue650802)

2010-07-02 Thread jlabanca
Reviewers: Dan Rice, Description: Revert the ListBoxCell changes that slipped into MailRecipe from another change that hasn't been submitted yet. Please review this at http://gwt-code-reviews.appspot.com/650802/show Affected files: M

[gwt-contrib] Custom UiBinder attribute parsers

2010-07-02 Thread Daniel Bell
Hello, I've been investigating UiBinder with a view to creating a custom attribute parser. I was hoping to be able to add my own attributes to existing Widgets' elements in a similar way to the ui:field attribute. From the discussions I've seen, it seems that the only way to do it at the moment

Re: [gwt-contrib] Re: Add WebSocket API (issue646803)

2010-07-02 Thread gustav trede
On 2 July 2010 15:37, markovuksano...@gmail.com wrote: Here's what I think... What's the purpose of RawWebSocketImpl vs. WebSocket? that you could do a new WebSocket() instead of WebSocket.newInstance() ? (I don't dispute the interface+implementation, which is more-than-useful for

[gwt-contrib] History token encoding issues

2010-07-02 Thread Andy
I considered logging an issue about this, but I think I'm advocating a different, incompatible history encoding strategy (don't encode/ decode) and it will likely cause issues for some people if the change were made. As I understand the history of history encoding, originally it was encoded using

[gwt-contrib] [google-web-toolkit] r8358 committed - Revert the ListBoxCell changes that slipped into MailRecipe from anoth...

2010-07-02 Thread codesite-noreply
Revision: 8358 Author: jlaba...@google.com Date: Fri Jul 2 10:03:45 2010 Log: Revert the ListBoxCell changes that slipped into MailRecipe from another change that hasn't been submitted yet. Review at http://gwt-code-reviews.appspot.com/650802

[gwt-contrib] Re: Revert the ListBoxCell changes that slipped into MailRecipe from another change that hasn't been... (issue650802)

2010-07-02 Thread jlabanca
comitted as r8358 http://gwt-code-reviews.appspot.com/650802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix for issue 516 (issue612802)

2010-07-02 Thread markovuksanovic
Here's the reverted patch set. http://gwt-code-reviews.appspot.com/612802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix issue 5061: backslashes are not escaped by UiBinder in HasHTML and HasText (issue620804)

2010-07-02 Thread Ray Ryan
Submitted r8356 On Fri, Jul 2, 2010 at 10:52 AM, rj...@google.com wrote: LGTM Thanks! I'll try to get this in today. http://gwt-code-reviews.appspot.com/620804/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Add numeric types required for autoboxing support to INDEX_TYPES_SET. (issue658803)

2010-07-02 Thread tobyr
Reviewers: scottb, Description: Add numeric types required for autoboxing support to INDEX_TYPES_SET. Please review this at http://gwt-code-reviews.appspot.com/658803/show Affected files: M dev/core/src/com/google/gwt/dev/jjs/ast/JProgram.java Index:

[gwt-contrib] CSS obfuscation weirdness when using CellList.Resource

2010-07-02 Thread Paul Schwarz
In my app I have 2 CellLists. During the construction of each I initialise each using a DIFFERENT CellList.Resource (each having a different CSS file). Because both of these resource files extend CellList.Resource they obviously both have the same CSS class names, namely: .evenItem .oddItem

[gwt-contrib] Add UiFieldMapper to allow dynamic access to UiFields to support data-driven UIs. (issue619806)

2010-07-02 Thread bobv
Reviewers: Ray Ryan, Description: Add UiFieldMapper to allow dynamic access to UiFields to support data-driven UIs. Patch by: bobv Review by: rjrjr Please review this at http://gwt-code-reviews.appspot.com/619806/show Affected files: M user/src/com/google/gwt/uibinder/UiBinder.gwt.xml A

[gwt-contrib] Re: Add numeric wrappers to JavaResourceBase. (issue673801)

2010-07-02 Thread scottb
LGTM http://gwt-code-reviews.appspot.com/673801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add numeric types required for autoboxing support to INDEX_TYPES_SET. (issue658803)

2010-07-02 Thread scottb
LGTM http://gwt-code-reviews.appspot.com/658803/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors