[gwt-contrib] SafeHtml on the server/vm

2014-06-09 Thread Colin Alworth
Currently SafeHtml co live in gwt-user, though they are for the most part listed in a shared package, implying that a server can use them. However, gwt-user.jar also includes javax packages as well as hibernate, w3c, etc, so can't reasonably be imported to a server which already uses any of

Re: [gwt-contrib] SafeHtml on the server/vm

2014-06-09 Thread Colin Alworth
AutoBeanFactorySource also made it in there) - does that seem like a reasonable step? On Mon, Jun 9, 2014 at 6:22 PM, John A. Tamplin j...@jaet.org wrote: On Mon, Jun 9, 2014 at 6:33 PM, Colin Alworth niloc...@gmail.com wrote: Currently SafeHtml co live in gwt-user, though they are for the most part

[gwt-contrib] Re: Officially deprecating Opera permutation

2014-06-03 Thread Colin Alworth
I've just opened https://gwt-review.googlesource.com/7780 to make it possible to specify a fallback for any/all useragents that don't match one of the built-in rules, via a rule like: set-property-fallback name=user.agent value=webkit/ This example rule treats any unknown useragent as if

[gwt-contrib] Re: Officially deprecating Opera permutation

2014-06-03 Thread Colin Alworth
Sorry, that first line should say 'safari' (or any other valid user.agent value), not 'webkit'. Wishful thinking perhaps... set-property-fallback name=user.agent value=*safari*/ -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe

[gwt-contrib] Re: Native Authorization in GWT

2014-05-25 Thread Colin Alworth
This seems to be a pretty quiet discussion so far, with mostly Zied responding to himself and Thomas’s one initial reply, but it is a holiday weekend here in the US, so that might be contributing to the lack of additional responses. I haven’t had the chance to even look at the initial proposal

[gwt-contrib] Re: Can we move the code to GitHub?

2014-03-29 Thread Colin Alworth
Only note to add here is that the AngularJS project does require a CLA also (see https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#cla) - it looks like they either have a bot which complains about missing CLAs on file (and so some associated between username and real name), or a

Re: [ERROR] Line XX: Unexpected exception while processing element 'property-provider'... shell failed in doStartup method

2014-02-13 Thread Colin Alworth
Jens is dead on - several API changes from 2.4/2.5 to 2.6 make it difficult for a library to stradle that divide. We'll be shipping a GXT 3.1 beta Real Soon Now to enable users to switch to GWT 2.6. Breaking changes include: - Changing permutations (ie6 and opera are gone, ie10 was added,

Re: SuperDevMode not so super

2014-02-13 Thread Colin Alworth
There is a prototype project enabling Eclipse to debug the JS running in the browser with sourcemaps - check it out at http://github.com/sdbg/sdbg. On Thursday, November 15, 2012 8:46:26 AM UTC-8, Clint Gilbert wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If I could hook Eclipse

[gwt-contrib] Re: bug in permutations.js?

2014-02-13 Thread Colin Alworth
In CrossSiteIframeTemplate.js this is handled by assigning __MODULE_FUNC__.__softPermutationId to 0 to begin with, and then only change that value if : was present in the permutation string. I'm not seeing any other js files that init __softPermutationId to 0, and only permutations.js assigns

Re: gwt 2.6 SuperDevMode and injected css problem

2014-02-10 Thread Colin Alworth
would expect that site would be working with the version of software currently deployed for all browsers and not only chrome. Right now I am getting blank pages in firefox and IE. Vassilis On 02/08/14 03:07, Colin Alworth wrote: Can you confirm that you are hitting the Compile button

[gwt-contrib] ModuleDefLoader changes and CompilerContext

2014-02-10 Thread Colin Alworth
Just watched https://gwt-review.googlesource.com/#/c/6342/ wander by, but I've also seen this trying to understand the general compiler changes that are happening in trunk gwt - is the CompilerContext really an essential part of ModuleDefLoader in general? From what I can see it is tracked as a

Re: [gwt-contrib] ModuleDefLoader changes and CompilerContext

2014-02-10 Thread Colin Alworth
: On Mon, Feb 10, 2014 at 2:57 PM, Colin Alworth nilo...@gmail.comjavascript: wrote: Just watched https://gwt-review.googlesource.com/#/c/6342/ wander by, but I've also seen this trying to understand the general compiler changes that are happening in trunk gwt - is the CompilerContext really

Re: gwt 2.6 SuperDevMode and injected css problem

2014-02-07 Thread Colin Alworth
Can you confirm that you are hitting the Compile button in each browser and that the SDM console is indicating that it is recompiling for each other user agent? It sounds as though you might be compiling when you start up one browser, then just turning dev mode on without recompiling in other

Re: asm.js support?

2014-02-07 Thread Colin Alworth
There have been a few quick discussions about this in ##gwt on irc, and while I think we probably need to both move this to -contrib before much longer but also get some of the compiler experts involved, I suspect this is going to end up being a specific tool to optimize sufficiently c-like

[gwt-contrib] Re: GWT + Maven - Using gwt-dev package as dependency

2014-02-07 Thread Colin Alworth
If you know enough to start writing generators, it almost certainly is not a concern - you are probably also careful with which GWT version you are using as well as which gwt-m-p version. A problem can occur if more than one version of gwt-dev is present on the classpath, such as a mistakenly

[gwt-contrib] Re: XSS in GWT

2014-02-01 Thread Colin Alworth
For JSON, you'd have go pretty far out of your way to get attacked, like loading something untrusted via JSONP, or manually parsing your own json with eval (rather than any of the safe built-in tools), or, ya know, forgetting to run SSL and having someone intercept your server communication.

Re: [gwt-contrib] Re: Quarterly Hangouts On Air

2014-01-28 Thread Colin Alworth
The concern I've heard expressed during in-person discussions about how to do this is that a written document of answers 'feels' more real and concrete than a group of people answer questions live, since they clearly have no chance to vet their answers from their own organization or with each

[gwt-contrib] Re: XSS in GWT

2014-01-28 Thread Colin Alworth
Another set of dangerous code to look for would be any SafeHtmlUtils or SafeHtmlBuilder (and their uri/style conterparts) call that should take 'constant' or 'trusted' but instead takes untrusted user data. Custom implementions of SafeHtml should also be treated as suspect. These all fall

[gwt-contrib] gwtproject.org link tree broken

2014-01-23 Thread Colin Alworth
Something funny has happened to the dont-reload-the-page code on gwtproject.org, but I'm not seeing any obvious commit that should have done this. Steps to repro: 1) visit http://gwtproject.org/, or any *top level* document 2) observe that any link you hover looks to be correct, and visiting

Re: [gwt-contrib] Re: Questions remain for the GWT.create Steering Committee members

2014-01-02 Thread Colin Alworth
Another thought: Christian Sedilek, Dan Kurka, and myself can also be found pretty frequently in ##gwt on irc.freenode.net for a more informal discussion - I'd love to see more steering committee members hang out there, even if just idling most of the time, and chatting once in a while.

Re: [gwt-contrib] Re: 2.6.0-rc3

2013-12-09 Thread Colin Alworth
This system property isn't listed when either dev mode or the compiler runs because it is a system property, not a program arg. It should be provided with the other VM args when you start Java. These aren't listed as part of the normal properties, but are documented here:

Re: [gwt-contrib] Re: 2.6.0-rc3

2013-12-06 Thread Colin Alworth
: It seems that we need to build the release with -sourceLevel 6 for it to work with Java 6. On Thu, Dec 5, 2013 at 10:43 PM, Colin Alworth nilo...@gmail.comjavascript: wrote: Sorry for being unclear - I'm building/testing an application that makes use of GWT while still on Java6, not building

[gwt-contrib] Re: 2.6.0-rc3

2013-12-05 Thread Colin Alworth
I'm still running into trouble with the major version of the compiled classes being 51, so I'm unable to gwt 2.6.0-rc3 to work under jdk 1.6. As before, I was able to confirm that the actual .class files are compiled correctly, but yet I get fatal errors in attempting to run dev mode. Testing

Re: [gwt-contrib] Re: 2.6.0-rc3

2013-12-05 Thread Colin Alworth
(and in that case probably is consistent that the version is 51.0). I build from scratch in my laptop (only has java 1.6) and builds and tests run fine. Is there a specific application that you are trying to build? On Thu, Dec 5, 2013 at 9:23 PM, Colin Alworth nilo...@gmail.comjavascript: wrote

Re: PieChart stays in detached DOM tree when removed from parent widget

2013-12-04 Thread Colin Alworth
Good to know - that makes it seem rather likely that this leak is entirely within the core visualization code, rather than anything specific to gwt. I would look at plain JS examples of how to use the library, and make sure that a step isn't being missed either by virtue of writing in GWT or by

Re: PieChart stays in detached DOM tree when removed from parent widget

2013-12-03 Thread Colin Alworth
Can you try compiling in PRETTY? This will make the retaining tree graph in chrome's inspector easier to tell where things are coming from and what is tracking them. But at a glance, something registered something with google.visualization, and didn't unregister it. Knowing what gD, iv, and fv

[gwt-contrib] Re: 2.6.0-rc2

2013-12-03 Thread Colin Alworth
What's the current thinking on removing ImageResource.isStandalone from 2.6.0 final, as in the https://gwt-review.googlesource.com/#/c/5504/ review? It isn't in GWT 2.5.x, and isn't in master, but is present in both 2.6.0-rc1 and 2. If it was an oversight to add this the first time around,

Re: [gwt-contrib] Officially deprecating Opera permutation

2013-11-20 Thread Colin Alworth
Just to confirm, the plan is to set this in master as well as releases/2.6, and this will go out in 2.6.0-rc2? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe

Re: Firefox in OS X freezes in DevMode.

2013-11-17 Thread Colin Alworth
to the plugin, I then try it in root mode and works... The devmode process and eclipse are running with my account, so I can't tell what else I could have messed up but the important is that I can work and move on. I appreciate the help, On Saturday, November 9, 2013 3:10:58 PM UTC-5, Colin Alworth

Re: [gwt-contrib] Re: GPE does not like GWT trunk SDK?

2013-11-16 Thread Colin Alworth
There is a workaround - I'm on my phone now, but I posted it in the bug report. Essentially you can tell the plugin to not worry about invalid SDKs, and either mark then as merely errors, or just ignore it entirely. With that set, we've noticed no other I'll effects so far. On Nov 17, 2013 12:29

Re: Integration tests for GWT

2013-11-14 Thread Colin Alworth
We're using this at Sencha with pretty good success, though it really is designed to be for testing applications, not libraries. I know of a few GXT customers who are using it with gxt-driver for widget support, but it is still pretty early - either everyone thinks it works out great, or there

Re: Gwt client-side only needed files

2013-11-13 Thread Colin Alworth
None of the WEB-INF/ directory should be needed, provided you are not running a servlet container, but that is the only 'server-only' code that generally is created that will take up any meaningful size. Another option at your disposal is to get rid of the permutations and instead make just

Re: Integration tests for GWT

2013-11-13 Thread Colin Alworth
Another new toy to propose for saner Selenium testing: https://github.com/niloc132/gwt-driver On Monday, November 11, 2013 8:59:49 AM UTC-6, Ed wrote: If you search the forum well, you will find all you need.. Example:

Re: Firefox in OS X freezes in DevMode.

2013-11-09 Thread Colin Alworth
suggestion and check now the other side, but it's good to know that you haven't had an issue with FF and Mavericks as then that would sadly imply that there's something wrong with my computer :(. On Friday, November 8, 2013 9:20:10 PM UTC-5, Colin Alworth wrote: Line 155: ssize_t n = recv(sock

Re: Testing w/Selenium against app running in Eclipse demands Firefox Development Mode Plugin

2013-11-09 Thread Colin Alworth
By default, Selenium starts the browser with a fresh profile every time, which means that it has no plugins installed. On quitting, it deletes that profile again, to make sure that it won't slowly consume your disk. When you start the firefox driver instance, you can ask it to load profile

Re: [gwt-contrib] GWT 2.6 and Java 6

2013-11-09 Thread Colin Alworth
, at 17:47, Colin Alworth niloc...@gmail.com wrote: Thanks Roberto, I'll give that a shot. I normally work with Java 7, but we want our code to work with anyone who chooses to use Java 6 as well - and I surmised that GWT had the same goal. Would it make sense to consider a warning indicating

Re: Firefox in OS X freezes in DevMode.

2013-11-08 Thread Colin Alworth
Line 155: ssize_t n = recv(sock, readBuf, BUF_SIZE, 0); That seems to say 'block until bytes are written by the other end of the socket', or in other words, wait until the JVM is ready to go. Are you sure that the IDE isn't paused on a breakpoint, or that you have waited long enough for the

[gwt-contrib] GWT 2.6 and Java 6

2013-11-08 Thread Colin Alworth
I'm not yet convinced that this isn't either a) a workspace issue or b) a decision the community reached and I missed, but I figured I should stick it out there and see if someone can correct me. I've just brought our project up to date with GWT 2.6.0-rc1 from maven, and I can verify that the

Re: [gwt-contrib] GWT 2.6 and Java 6

2013-11-08 Thread Colin Alworth
-500-9148 On Fri, Nov 8, 2013 at 3:31 PM, Colin Alworth nilo...@gmail.comjavascript: wrote: I'm not yet convinced that this isn't either a) a workspace issue or b) a decision the community reached and I missed, but I figured I should stick it out there and see if someone can correct me

Re: [gwt-contrib] Re: Reminder: Branching GWT 2.6 later today

2013-11-06 Thread Colin Alworth
...@google.com wrote: Thanks for testing, Colin! I'll try another push tonight using your scripts. On Tue, Nov 5, 2013 at 5:14 PM, Colin Alworth niloc...@gmail.com wrote: It looks like while I can get maven from the command line to get along with that repo, IntelliJ isn't having it - it is getting

Re: [gwt-contrib] Re: Reminder: Branching GWT 2.6 later today

2013-11-06 Thread Colin Alworth
/MojoExecutionException Error while deploying, ignore errors? (y/N): I'm going to root cause what's going on, but maybe you have an idea what's going on? On Wed, Nov 6, 2013 at 1:49 PM, Colin Alworth niloc...@gmail.comwrote: Just moved to eclipse to verify a possible issue with the snapshot (nope, bug

Re: [gwt-contrib] Re: Reminder: Branching GWT 2.6 later today

2013-11-06 Thread Colin Alworth
. Snapshots are the other way around, you are allowed to update snapshots, as well as remove stale ones. On the plus side, the -SNAPSHOT build looks to be working great from my testing. On Wed, Nov 6, 2013 at 7:07 PM, Matthew Dempsky mdemp...@google.com wrote: On Wed, Nov 6, 2013 at 4:54 PM, Colin

Re: [gwt-contrib] Re: Reminder: Branching GWT 2.6 later today

2013-11-06 Thread Colin Alworth
-2.6.0-rc1.zip (Next up the Maven 2.6.0-rc1 artifacts.) On Wed, Nov 6, 2013 at 5:07 PM, Matthew Dempsky mdemp...@google.comwrote: On Wed, Nov 6, 2013 at 4:54 PM, Colin Alworth niloc...@gmail.com wrote: My vote is 2.6.0-SNAPSHOT and 2.6.0-rc1, in case we need a bug fix release... Being

[gwt-contrib] Re: Reminder: Branching GWT 2.6 later today

2013-11-05 Thread Colin Alworth
It looks like while I can get maven from the command line to get along with that repo, IntelliJ isn't having it - it is getting confused by the fact that the latest gwt-user snapshot 2.6.0-20131105.081128-3 only has a sources jar and a pom, no actual jar with compiled code in it. The -1 jar is

Re: undefined.cache.js when starting GWT app in web mode?

2013-10-28 Thread Colin Alworth
If you compile in PRETTY instead of DETAILED, it won't intern those strings, but still will leave the output mostly readable (just no packages). Without seeing the rest of the structure of the module files, it is hard to speculate, but we're using more or less the same idea successfully, though

Re: Thoughts on GWT 3.0 re: Java 8 and IE 8/9

2013-10-28 Thread Colin Alworth
We've found experimentally that the meta tag has no effect on IE8 when in intranet mode. We've further found that it does seem to respect the http header, which could be set in a filter like this: public class LatestIEFilter implements Filter { @Override public void doFilter(ServletRequest

Re: undefined.cache.js when starting GWT app in web mode?

2013-10-28 Thread Colin Alworth
=false / I'll try to build a more complex test case that actually uses the properties defined, just in case the compiler is getting to clever for me. On Monday, October 28, 2013 12:45:45 PM UTC-5, Colin Alworth wrote: If you compile in PRETTY instead of DETAILED, it won't intern those strings

Re: Thoughts on GWT 3.0 re: Java 8 and IE 8/9

2013-10-28 Thread Colin Alworth
Chak, take a look again at my post - while the meta tag definitely does not work to tell IE8 to behave when in intranet mode, loading the exact same html content and sending the same ua-compat details over a HTTP header *does* solve this. On Monday, October 28, 2013 3:08:47 PM UTC-5, Chak Lai

[gwt-contrib] Re: Building Elemental fails

2013-10-28 Thread Colin Alworth
I can't reproduce this, we're also running ant clean elemental dist on our teamcity build. We're also running ubuntu 12, python 2.7.3. Last confirmed building as of 0d6a865556ca56840114e8397a1f2be522e83361 (current HEAD). On Monday, October 28, 2013 5:43:04 AM UTC-5, Jens wrote: I just tried

[gwt-contrib] Re: Building Elemental fails

2013-10-28 Thread Colin Alworth
Good thought, I tried that too to confirm that teamcity wasn't setting anything funny. Still passed, not sure what is up. Other details that may or may not help: $ java -version java version 1.6.0_35 Java(TM) SE Runtime Environment (build 1.6.0_35-b10) Java HotSpot(TM) Server VM (build

Re: [gwt-contrib] Re: Publish nighly snapshots of GWT builds to Maven

2013-10-27 Thread Colin Alworth
I've just put up a patch that seems to resolve a current issue in deploying snapshots to a maven repository: https://gwt-review.googlesource.com/5192 The basis of the problem requiring this patch is that maven (at least maven 3, possibly not maven 2) expects unique snapshots, and that each call

Re: GWT Profiling and MemoryLeak suspections

2013-10-23 Thread Colin Alworth
Without specifics of what may be referencing those objects it is hard to say for sure, but memory details while running in dev mode will likely not reflect the compiled code. To properly test your memory patterns, compile to JavaScript with style PRETTY or DETAILED so you can read the code, and

[gwt-contrib] Re: Where is gwt-customchecks.jar?

2013-10-22 Thread Colin Alworth
If only *all* of my changes were that easy to make... On Tuesday, October 22, 2013 8:15:12 AM UTC-5, Andrés Testi wrote: Thanks Colin! I'm glad to see the power of the community in action :-) - Andrés Testi El lunes, 21 de octubre de 2013 19:59:53 UTC-3, Colin Alworth escribió: Tentative

Re: [gwt-contrib] Re: Bad news for GWT DevMode!

2013-10-22 Thread Colin Alworth
Amazingly, it still works great in the IE11 preview too! Only gotcha is that the missing plugin page thinks you are running firefox, so you need to manually grab the right copy of the IE plugin. On Tuesday, October 22, 2013 12:58:57 PM UTC-5, Brian Slesinsky wrote: I expect that by next

Re: [gwt-contrib] Re: Bad news for GWT DevMode!

2013-10-21 Thread Colin Alworth
I end up debugging IE in dev mode on a regular basis as well, though in a VM, through to my host OS's Eclipse or IntelliJ debugger. It is significantly slower than running the IDE and browser on the same OS, but it does let you set up your env once and debug multiple OSes whenever you like. On

[gwt-contrib] Re: Reminder: GWT 2.6 feature complete is Nov 4

2013-10-21 Thread Colin Alworth
Patrick, looking at these, only two appear to have code reviews, and both are in the pre-git system. Gerrit, the current system, needs a CLA before it allows changes, to make sure that there are no copyright/licensing issues with contributions, and makes history/change management a little

[gwt-contrib] Re: Where is gwt-customchecks.jar?

2013-10-21 Thread Colin Alworth
Tentative patch up at https://gwt-review.googlesource.com/5063 - can someone sanity check it for me? It looks like step 4 (now step 3) should have previously been pointing to step 3 (now step 2), so is now more correct. On Sunday, October 20, 2013 2:12:17 PM UTC-5, Andrés Testi wrote: Thanks

[gwt-contrib] Non-client apis and breaking changes

2013-10-17 Thread Colin Alworth
Just wandered by https://gwt-review.googlesource.com/#/c/1040/ and noticed that with this change, any downstream generator/linker using the static helper methods in Name will no longer build across 2.5.1 to 2.6.0. With the other discussions going on about JRE and browser support, perhaps we

[gwt-contrib] gwtproject.org javadoc missing files

2013-10-13 Thread Colin Alworth
According to the the gwt-site git repo (at https://gwt.googlesource.com/gwt-site/+/master/src/main/site/javadoc/latest), the package-list file is present, but it can't be downloaded from http://www.gwtproject.org/javadoc/latest/package-list. It *is* still available from

[gwt-contrib] Build failures after deprecated tree/treeitem methods removed

2013-10-05 Thread Colin Alworth
It looks like a recent commit that removed some deprecated methods may not have gone far enough, as there is still code that makes use of those methods - the https://gwt.googlesource.com/gwt/+/f9630059081921b195ee4f7014e1a78c4b570f79 commit dropped several methods from Tree and TreeItem, but

Re: [gwt-contrib] CSS3 support in CssResource: Closure Stylesheets?

2013-09-25 Thread Colin Alworth
Its never too late - I don't know how far Julien has gotten, but I've been distracted by other work, as well as trying to nail down conceptually where GSS meets ClientBundle. For my part, SASS or LESS are a major step down from what we already have - the purpose of GWT in general is to let you

[gwt-contrib] Possible firefox leak fix

2013-09-24 Thread Colin Alworth
an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. commit 6969765b5b60731f12ce529bbc6f730922b7e817 Author: Colin Alworth niloc...@gmail.com Date: Tue Sep 24 18:29:13 2013 -0500 Initial work on supporting

Re: [gwt-contrib] Possible firefox leak fix

2013-09-24 Thread Colin Alworth
plugins. However, I believe Firefox 24 will be an ESR release so I think it's worth rebuilding that version. On Tue, Sep 24, 2013 at 4:31 PM, Colin Alworth nilo...@gmail.comjavascript: wrote: I spent a little time this weekend learning how to build firefox plugins, and a little time spilled

Re: [gwt-contrib] Possible firefox leak fix

2013-09-24 Thread Colin Alworth
it can install an onunload handler. It does preserve the old one but it still seems kind of fragile to install one in the devmode.js. I wonder if there's some way to detect the unload event in C++? - Brian On Tue, Sep 24, 2013 at 5:25 PM, Colin Alworth nilo...@gmail.comjavascript: wrote

Re: [gwt-contrib] Re: Making user.agent easier to extend to add new permutations

2013-09-11 Thread Colin Alworth
I've got to second Thomas on this point - adding a new user.agent is very non-trivial at least without an overhaul of CssResource generation. In GXT 3 we took the route of providing our own PropertyProviderGenerator and adding a few new user agents (ie7, ie10 for a start), but quickly found that

Re: [gwt-contrib] CSS3 support in CssResource: Closure Stylesheets?

2013-08-27 Thread Colin Alworth
for support. On Tue, Aug 27, 2013 at 3:24 AM, Thomas Broyer t.br...@gmail.comjavascript: wrote: On Tuesday, August 27, 2013 1:42:35 AM UTC+2, Colin Alworth wrote: I'd be interested in helping with either approach. The phloc-css project looks interesting if we are only trying to add

[gwt-contrib] Gwt benchmarks without Benchmark

2013-08-26 Thread Colin Alworth
Shortly after 2.5.1, the Benchmark classes were removed from GWT (https://gwt.googlesource.com/gwt/+/39eb6001a037fd8b6580a73a2540e6e9c04e54c2 and https://gwt.googlesource.com/gwt/+/00c7ce43df3a629b7302ab902a07431db7224e2b) - what are folks using for low-level performance testing these days?

Re: [gwt-contrib] CSS3 support in CssResource: Closure Stylesheets?

2013-08-26 Thread Colin Alworth
I'd be interested in helping with either approach. The phloc-css project looks interesting if we are only trying to add support for newer CSS features, while integration with Closure Stylesheets seems geared more toward extending the CssResource featureset. Much of the existing functionality

Re: [gwt-contrib] Re: I'm enhancing GWT to provide Java stack traces for clientside exceptions in production

2013-08-20 Thread Colin Alworth
I got a tweet from you asking for a donation (or rather a 'partner', which apparently means 'money'), but couldn't frame a useful response in 140 chars, so since this thread is coming back, I thought to do so here instead. What license are you offering these code samples under - if it isn't

[gwt-contrib] Re: Nextgen GWT/JS Interop (Public) (google-web-tool...@googlegroups.com)

2013-08-06 Thread Colin Alworth
Nice writeup. Comments/questions (since comments seem disabled in the docs): * @Entry looks great - there has been some discussion in IRC about some way to do this for easier library wrapping code, but every direction we looked at with JSOs ended up with a little more cruft than we really

[gwt-contrib] Change in gwt[master]: Add interfaces for widgets.

2013-06-18 Thread Colin Alworth
Colin Alworth has posted comments on this change. Change subject: Add interfaces for widgets. .. Patch Set 8: What is the thinking for the remaining 10%-ish of widgets - all of the cell widgets (except CellPanel), remaining

[gwt-contrib] Change in gwt[master]: Ensure clinits get called for JSO instance methods.

2013-06-17 Thread Colin Alworth
Colin Alworth has posted comments on this change. Change subject: Ensure clinits get called for JSO instance methods. .. Patch Set 2: (1 comment) File dev/core/src/com

[gwt-contrib] Change in gwt[master]: Ensure clinits get called for JSO instance methods.

2013-06-14 Thread Colin Alworth
Colin Alworth has posted comments on this change. Change subject: Ensure clinits get called for JSO instance methods. .. Patch Set 2: (2 comments) File user/test/com

[gwt-contrib] Change in gwt[master]: Ensure clinits get called for JSO instance methods.

2013-06-13 Thread Colin Alworth
: gwt Gerrit-Branch: master Gerrit-Owner: Colin Alworth niloc...@gmail.com Gerrit-Reviewer: Colin Alworth niloc...@gmail.com Gerrit-Reviewer: John A. Tamplin j...@jaet.org Gerrit-Reviewer: Leeroy Jenkins jenk...@gwtproject.org -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Change in gwt[master]: Add interfaces for widgets.

2013-06-12 Thread Colin Alworth
Colin Alworth has posted comments on this change. Change subject: Add interfaces for widgets. .. Patch Set 6: (4 comments) File user/src/com/google/gwt/dom/client

[gwt-contrib] Change in gwt[master]: Ensure clinits get called for JSO instance methods.

2013-06-12 Thread Colin Alworth
Colin Alworth has uploaded a new change for review. https://gwt-review.googlesource.com/3361 Change subject: Ensure clinits get called for JSO instance methods. .. Ensure clinits get called for JSO instance methods

[gwt-contrib] Change in gwt[master]: Ensure clinits get called for JSO instance methods.

2013-06-12 Thread Colin Alworth
Colin Alworth has posted comments on this change. Change subject: Ensure clinits get called for JSO instance methods. .. Patch Set 1: Afraid not, this is the exact same patch we looked at - only difference was that I pulled

[gwt-contrib] Change in gwt[master]: Add hasClassName method in com.google.gwt.dom.client.Element

2013-06-10 Thread Colin Alworth
Colin Alworth has posted comments on this change. Change subject: Add hasClassName method in com.google.gwt.dom.client.Element .. Patch Set 6: Code-Review+1 Nope, we can work with it - a wrapper isn't really an option, since

[gwt-contrib] Change in gwt[master]: Add hasClassName method in com.google.gwt.dom.client.Element

2013-06-10 Thread Colin Alworth
Colin Alworth has posted comments on this change. Change subject: Add hasClassName method in com.google.gwt.dom.client.Element .. Patch Set 6: Thanks Goktug - one of the distinct advantages of extending Element is that we

Re: [gwt-contrib] Re: widget interfaces

2013-06-05 Thread Colin Alworth
What are we looking at having in these interfaces? The discussion that Goktug and I had a few months ago got stalled around the concept that these interfaces were trying to both be a) implementation independent but also b) rich enough to be useful. Doing both is hard/meaningless. To pick an

Re: [gwt-contrib] Re: widget interfaces

2013-06-05 Thread Colin Alworth
Slight follow up to both Stephen's comments here and my own prev post - If the interfaces are for existing, standard, built-in GWT widgets, type 2 makes a lot more sense, whereas for type 1, we really seem to need a general, ideal button that can be replaced by any implementation (with possibly

[gwt-contrib] Change in gwt[master]: Add hasClassName method in com.google.gwt.dom.client.Element

2013-05-29 Thread Colin Alworth
Colin Alworth has posted comments on this change. Change subject: Add hasClassName method in com.google.gwt.dom.client.Element .. Patch Set 3: Code-Review-1 As an idea, looks good, but remember that JSOs are a particularly

[gwt-contrib] Change in gwt[master]: Use JSON.parse() instead of eval() to deserialize rpc callba...

2013-05-21 Thread Colin Alworth
Colin Alworth has posted comments on this change. Change subject: Use JSON.parse() instead of eval() to deserialize rpc callback payload .. Patch Set 1: (1 comment) The ServerSerializationStreamWriter will also need

Re: IE10 support in Gwt

2013-04-26 Thread Colin Alworth
In most cases that is true, but CssResource is an interesting exception. The fallback rules work by looking to see if there is no implementation for a particular value, and if not, looking to see if there *is* an implementation for some other value. In the case of ClientBundle and

Re: [gwt-contrib] widget interfaces

2013-03-21 Thread Colin Alworth
On Thu, Mar 21, 2013 at 9:24 PM, Stephen Haberman step...@exigencecorp.comwrote: Also we can use this as an opportunity to provide a compatibility layer across different vendors and/or different widget systems. I suppose, technically yes. That is more complex than what I really had in

Re: [gwt-contrib] Static fields on JavaScriptObjects

2013-03-16 Thread Colin Alworth
The problem with this answer is that the failure is silent and surprising for Java developers, and that the optimizations can make it even more so. If I recall correctly, calling a static method in the same type from an instance method is not enough to get the static initializer called - an

Re: [gwt-contrib] Static fields on JavaScriptObjects

2013-03-16 Thread Colin Alworth
, 2013 4:43:13 PM UTC-5, John A. Tamplin wrote: On Sat, Mar 16, 2013 at 5:30 PM, Colin Alworth nilo...@gmail.comjavascript: wrote: The problem with this answer is that the failure is silent and surprising for Java developers, and that the optimizations can make it even more so. If I recall

Re: Code Coverage

2013-03-15 Thread Colin Alworth
:13:11 PM UTC-5, Colin Alworth wrote: We've been using the Maven2 emma:emma goal, with no modifications at all - seems to behave correctly with htmlunit in dev mode, both for traditional junit tests and GWTTestCases. No changes to the pom, just executing emma:emma with maven 2.2.1 on our

Re: Code Coverage

2013-03-08 Thread Colin Alworth
We've been using the Maven2 emma:emma goal, with no modifications at all - seems to behave correctly with htmlunit in dev mode, both for traditional junit tests and GWTTestCases. No changes to the pom, just executing emma:emma with maven 2.2.1 on our project. On Thursday, March 7, 2013

Re: GWT Benchmarks, Java Virtual Machine vs GWT+browser JsVM

2013-02-07 Thread Colin Alworth
JavaScript doesn't have a concept of type, so all type checks are really just function calls. Both instanceof and casts need to be generated to have JavaScript behave exactly like Java. Here's a quick demonstration: public class Test implements EntryPoint { public static class SomeObject {

Re: GWT Benchmarks, Java Virtual Machine vs GWT+browser JsVM

2013-02-07 Thread Colin Alworth
I can definitely confirm that with the closure compiler enabled the compiled size drops on the few apps I've tried it on, on the order of 5-15% (no hard and fast numbers yet, working on such a writeup now). I can confirm both a performance and size improvement with turning off cast checking, but I

Re: Does GWT optimize inefficient code?

2013-02-01 Thread Colin Alworth
What about the first could be optimized out - just the size() accessor? Most List implementations have a size field (see http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/super/com/google/gwt/emul/java/util/ArrayList.java?r=6609#77 for the actual ArrayList used in compiled

Re: Compiling for IE8

2013-01-30 Thread Colin Alworth
The skype browser plugin adds additional style tags to the page, and mess up StyleInjectorImplIE's assumption that no one else is spitting out style elements. SnagIt used to (and may still) cause exceptions in various IE versions when some elements resize/reflow (I never nailed down exactly

Re: AutoBean with Subclasses

2013-01-19 Thread Colin Alworth
Think about this question from the other way around - same interfaces, but now look at the data itself, the JSON: {name:foo, shape:bar} What is that? Is it a Binterface with its other properties null? Is it a Cinterface with its other properties null? {name:foo, radius:100, height:200} What

Re: my application doesn't compile

2013-01-04 Thread Colin Alworth
Also GWT 2.4, and is it possible you have more than just 2.4 on the classpath? Do you have the GWT-Incubator on your classpath? I've seen cases where the incubator's extremely outdated ClientBundle generators try to take over and end up just breaking things. Otherwise, can you share the full

Re: GWT CustomFieldSerializer Recursivity

2013-01-02 Thread Colin Alworth
It looks like it thinks you are sending the CustomFieldSerializer itself over the wire, so wants to find a serializer serializer... The extra prefixed package name com.google.gwt.user.client.rpc.core indicates that it wasn't able to find your field serializer in the normal package where it

Re: Updating GWT libraries for supporting xsiframe

2013-01-02 Thread Colin Alworth
Greetings from IRC - glad to see you are continuing with this idea. It could be worth considering inlining the sizzle.js code as JSNI to avoid the extra .js file at all, either from the module file or from the base html file. This has the additional constraint/advantage that you'll need to

Re: Exceptions when compiling obfuscated; pretty is fine

2012-12-13 Thread Colin Alworth
I've not seen this specific issue (GWT 2.5.0 from Juno or maven command line on both mac and linux) in my projects that use RequestFactory, at least not from a source where I can point to as our own JSNI mistakes. One kind of error I've seen that only emerges in OBF is JSNI local variable

Re: Exceptions when compiling obfuscated; pretty is fine

2012-12-13 Thread Colin Alworth
thats baffling me is that this is all code that has worked and worked with this version of the tools. I must have changed something small that has blown things up. On Thursday, December 13, 2012 11:33:52 AM UTC-8, Colin Alworth wrote: I've not seen this specific issue (GWT 2.5.0 from Juno

Re: GWT Native Method Warning

2012-11-19 Thread Colin Alworth
In addition to matthew's comment, you are invoking a method that apparently has two arguments callFacebookAPI(Ljava/lang/String;Ljava/lang/String;) with only one: (facebookUrl) Delete one of the two Ljava/lang/String; parts on the method invocation so you actually point to your method

<    1   2   3   4   5   >