Re: GWT and GSAP (Green Sock Animation Platform) ?

2013-10-14 Thread Alain Ekambi
started to upload the code on github.
You can have a look here
https://github.com/eemi2010/anim4j.

I used it in combination with Ext4j to create some nice result that  I will
hopefully share soon.



2013/10/10 Ed Bras post2edb...@gmail.com

 I am curious how you setup/design your code.
 Let me know when you put it online such that I can have a look.
 If you have any ideas about working together, let me know (I only have to
 work 7 days a week the next few months ...  :(.


  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GWT and GSAP (Green Sock Animation Platform) ?

2013-10-14 Thread Ed Bras
thanks for sharing, I will have a look.
BTW: specifying an array of elements as input for a tween/timeline method,
doesn't work in the current release of GSAP. You need the latest RC for
that. It was a bug I discovered a few weeks ago when implementing the gwt
wrapper.. It's because of the instanceof Array action that doesn't work
for gwt code.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: RequestFactory - get a Request for a ProxyClass

2013-10-14 Thread Thomas Broyer


On Sunday, October 13, 2013 4:08:07 PM UTC+2, Manuel wrote:

 Hi everyone,

 I just started to work with the requestFactory. 
 Im trying to create a Request for a Proxy.

 I made a baseRequest for CRUD functionality that look like this:

 // not finished yet
 @SkipInterfaceValidation
 @Service(value = EntityBase.class, locator = MyServiceLocator.class)
 @ExtraTypes({WorkerProxy.class})
 public interface EntityBaseRequestT extends EntityBaseProxy extends 
 RequestContext {

 RequestVoid remove(T obj);

 RequestT persist(T obj);

 }

 So the WorkerRequest extends my EntityBaseRequest:

 @Service(value = Worker.class, locator = MyServiceLocator.class)
 public interface WorkerRequest extends EntityBaseRequestWorkerProxy {

 @Override
 RequestVoid remove(WorkerProxy obj);
 
 @Override
 RequestWorkerProxy persist(WorkerProxy obj);

 }

 My question is, how to create a EntityBaseRequest using the WorkerProxy?
 I would like to write:
 EntityBaseRequestAnyProxy request = 
 requestFactory.entityBaseRequestAnyProxy();
 instead of
 AnyProxyRequest request = requestFactory.anyProxyRequest();


 Is this prossible?


No. Everything has to be known at compile-time by static-analysis of the 
factory interface (no classpath scanning like for RPC) 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Scrolling on mobile device and desktop?

2013-10-14 Thread Ed
What is the correct way to realize a Scrollable div on any device, like a 
mobile device and desktop?

For webkit I noticed webkit-overflow-scrolling, but what about the other 
devices like a desktop?
And when (still) to use the GWT ScrollPanel that has some partial 
supported touch scrolling through TouchScroller?

I can imagine that you will have to handle the touch event in the correct 
way and maybe prevent default event handling  (event.preventDefault()) to 
overcome that the whole page scrolls. In the past you used the iScroll.js 
and other js lib's to control this, but is this currently still required ? 
Or use position:fixed to overcome scrolling of the page?..

I am a bit confused, please some advice?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GWT and GSAP (Green Sock Animation Platform) ?

2013-10-14 Thread Alain Ekambi
I was aware of that bug.
My woraround was to use $wnd.Array.
I will then wait for the next release and remove the work around

Cheers


2013/10/14 Ed Bras post2edb...@gmail.com

 thanks for sharing, I will have a look.
 BTW: specifying an array of elements as input for a tween/timeline method,
 doesn't work in the current release of GSAP. You need the latest RC for
 that. It was a bug I discovered a few weeks ago when implementing the gwt
 wrapper.. It's because of the instanceof Array action that doesn't work
 for gwt code.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Appearance of extra scroll bar in GWT Datagrid

2013-10-14 Thread harshyadav
No success so far.

Yes, only happens in Google Chrome.

--Harsh

On Thursday, October 10, 2013 4:15:08 AM UTC-4, ovidi...@gebs.ro wrote:

 Hello,

 Any news on this issue? Or anybody found any workarounds?

 Thank you,
 O


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GWT and GSAP (Green Sock Animation Platform) ?

2013-10-14 Thread Blaze
Out of a curiosity :) For what you actually use the lib ? 
I used it for some small animations, but went the native way without 
creating a wrapper...

The lib is amazing anyway...
Cheers


On Monday, October 14, 2013 11:08:01 AM UTC+2, Alain wrote:

 I was aware of that bug. 
 My woraround was to use $wnd.Array.
 I will then wait for the next release and remove the work around 

 Cheers


 2013/10/14 Ed Bras post2...@gmail.com javascript:

 thanks for sharing, I will have a look.
 BTW: specifying an array of elements as input for a tween/timeline 
 method, doesn't work in the current release of GSAP. You need the latest RC 
 for that. It was a bug I discovered a few weeks ago when implementing the 
 gwt wrapper.. It's because of the instanceof Array action that doesn't 
 work for gwt code. 
  




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GWT and GSAP (Green Sock Animation Platform) ?

2013-10-14 Thread Alain Ekambi
It something that required a seamless integration with GWT and Ext JS.
I m finilizing stuff around here and  should share a dome app soon :)

Yeah GSAP is simply awesome. :)


2013/10/14 Blaze baze...@gmail.com

 Out of a curiosity :) For what you actually use the lib ?
 I used it for some small animations, but went the native way without
 creating a wrapper...

 The lib is amazing anyway...
 Cheers


 On Monday, October 14, 2013 11:08:01 AM UTC+2, Alain wrote:

 I was aware of that bug.
 My woraround was to use $wnd.Array.
 I will then wait for the next release and remove the work around

 Cheers


 2013/10/14 Ed Bras post2...@gmail.com

 thanks for sharing, I will have a look.
 BTW: specifying an array of elements as input for a tween/timeline
 method, doesn't work in the current release of GSAP. You need the latest RC
 for that. It was a bug I discovered a few weeks ago when implementing the
 gwt wrapper.. It's because of the instanceof Array action that doesn't
 work for gwt code.



  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GWT and GSAP (Green Sock Animation Platform) ?

2013-10-14 Thread Ed Bras
 Out of a curiosity :) For what you actually use the lib ?
Just all kind of (simple) animations (currently) that work on any device
(responsive web site): fade/slides/move/color change, the basics (till now).

 I used it for some small animations, but went the native way without
creating a wrapper...
What do you mean by native... Doing it all in JS ? (not using GWT at all)
?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


[UML] [reverse engineering] [plugin Eclipse]

2013-10-14 Thread Axel R
Hi,

I would like to generate the UML (*class diagram*) of my GWT / GAE project. 
But I need some *reverse engineering*...

Is there a 'free' *eclipse *plugin (or any other 'free' tool) that you r 
using in order to generate (reverse engineering) the UML ?

I have searched, but there is many options (and also a lot of old 
posts)...some are not free, or some tools that seem to not work with GWT, 
for example the moDisco plugin - http://www.eclipse.org/MoDisco/ cannot 
'discover' my gwt project)

Thanks you,

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


gwt-user Jar not loaded offending class javax.servlet.Servlet

2013-10-14 Thread Lavnish Lalchandani
I have a war file (GWT app) which


   - works fine in UAT Env 1
   - works fine in Production environment
   - gives below error when deploying in UAT Env 2
   - the jar files ... servlet-api.jar , gwt-user.jar is located in 
   same folder in all the environment
   - as per suggestion below tried deleting the gwt-user.jar from the 
   folder , still same issue just the first line of error disappears


*INFO: 
validateJarFile(/.../tomcat/webapps/abc-browser/WEB-INF/lib/gwt-user-1.7.0.jar) 
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: 
javax/servlet/Servlet.class*
*Aug 21, 2013 2:35:46 PM org.apache.catalina.core.StandardContext start 
SEVERE: Error listenerStart
Aug 21, 2013 2:35:46 PM org.apache.catalina.core.StandardContext start 
SEVERE: Context [/abc-browser] startup failed due to previous errors*

I have seen similar issues in this forum which advice
1) link 
1http://stackoverflow.com/questions/10992644/validatejarfileservlet-api-jar-jar-not-loaded-in-tomcat-using-eclipse:
 to delete servlet-api.jar in tomcat\lib : i tried this doesnt help
2) link 
2http://stackoverflow.com/questions/15601469/jar-not-loaded-see-servlet-spec-2-3-section-9-7-2-offending-class-javax-serv:
 to change the pom.xml : but same war file ( hence pom ) is working fine 
in other environments ( esp prod )

Not sure if there is some more debug points , solution ?
*Tried Solution 1 (failed) : *manually deleting the gwt-user-1.7.0.jar from 
WEB-INF\lib of the web application , although still i get the message below
*Aug 21, 2013 2:35:46 PM org.apache.catalina.core.StandardContext start 
SEVERE: Error listenerStart
Aug 21, 2013 2:35:46 PM org.apache.catalina.core.StandardContext start 
SEVERE: Context [/abc-browser] startup failed due to previous errors*
i.e. 1st line doesn't come but still the app fails to load

*Tried Solution 2 (failed) : *From dependency tree i get below
*[INFO] +- com.xyz.global.gxtfw:client:jar:2.0.0:compile
[INFO] |  \- com.xyz.global.gxtfw:common:jar:2.0.0:compile
[INFO] | +- com.extjs:gxt:jar:2.0.1:compile
[INFO] | \- com.google.gwt:gwt-user:jar:1.7.0:compile
*
I tried changing the scope of com.xyz.global.gxtfw to provided , doesnt help

*Tried Solution 3 (failed) : *add exclusion like below
*dependency
groupIdcom.xyz.global.gxtfw/groupId
artifactIdclient/artifactId
version2.0.0/version
exclusions
exclusion
groupIdcom.google.gwt/groupId
artifactIdgwt-user/artifactId
/exclusion
/exclusions*

As per my understanding it may be some environment  specific (tomcat 
installation) issue ... (as same war file works fine in production  UAT1) 
... NOT SURE WHAT THE ISSUE IS .. any help will be much appreciated ... 
more details at 
http://stackoverflow.com/questions/18362590/gwt-user-jar-not-loaded-offending-class-javax-servlet-servlet

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Determining dependencies for split points

2013-10-14 Thread Benjamin Klein
In my GWT application, I have several split points. In the compile report,
it says that a certain class has some code loaded in split point 1 and some
code loaded in split point 5. How do I find out what is causing the code to
load from split point 5?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Determining dependencies for split points

2013-10-14 Thread Jens
You have only used that specific code in split point 5 and never in split 
point 1. Thats why the code ends up in split point 5. If you would use the 
same code in both split points it would end up in the left over fragment 
because its not unique anymore to a single split point.

The compile report should show you a method call stack which the GWT 
compiler has been used to determine if a code fragment should end up in the 
split point you currently investigate.


-- J. 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Editor Framework and BeanValidation (setConstraintViolations problem).

2013-10-14 Thread Alexandre Harvey-Tremblay
I am using the same code as you, however my errors are not displayed on the 
ValueBoxEditorDecorator 
object. Do you have issues with your errors showing?

On Tuesday, August 28, 2012 11:11:20 AM UTC-4, Ümit Seren wrote:

 I am trying to get the Editor Framework to work with BeanValidation 
 (JSR303) (GWT 2.4) for client side validation and run into an issue. 

 Validation works fine. I want to use the Editor's built in capability to 
 display errors (i.e ValueBoxEditorDecorator). However the EditorDriver 
 interface only specifies setConstraintViolations(Iterable violations); But 
 the validate function from the BeanValidation returns a Set and I can't 
 cast from this to the type that is expected in the setConstraintViolations 
 function. 

 The only workaround I found is creating a new Set and adding the 
 ConstraintViolations to it. 


 SetConstraintViolationMyProxy violations = 
 validator.validate(myProxy,Default.class);
 SetConstraintViolation? violations2 = new 
 HashSetConstraintViolation?();
 for (ConstraintViolationStudyProxyconstraint:violations) {
 violations2.add(constraint);
 }
 if (!violations.isEmpty()) {
 driver.setConstraintViolations(violations2);
 }
 else {
   //proceed
 }

 I can this is related to this issue: 
 http://code.google.com/p/google-web-toolkit/issues/detail?id=6270

 Is there any better way to do that?


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Determining dependencies for split points

2013-10-14 Thread Ben Klein
Actually, these are initial fragments, loading in the order 5,1,2,3,4. 
There are no exclusive fragments in this application.

On Monday, October 14, 2013 1:37:46 PM UTC-4, Jens wrote:

 You have only used that specific code in split point 5 and never in split 
 point 1. Thats why the code ends up in split point 5. If you would use the 
 same code in both split points it would end up in the left over fragment 
 because its not unique anymore to a single split point.

 The compile report should show you a method call stack which the GWT 
 compiler has been used to determine if a code fragment should end up in the 
 split point you currently investigate.


 -- J. 


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


[gwt-contrib] Re: gwtproject.org javadoc missing files

2013-10-14 Thread Thomas Broyer
It looks like a shortcoming of the gwt-site-uploader.
https://gwt.googlesource.com/gwt-site-uploader/+/master/src/main/java/com/google/gwt/site/uploader/FileTraverserFileSystemImpl.java
the shouldFileBeUploaded method would have to whitelist package-list (the 
there could be other issues, e.g. content-type)

On Monday, October 14, 2013 5:41:02 AM UTC+2, Colin Alworth wrote:

 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 
 http://google-web-toolkit.googlecode.com/svn/javadoc/latest/package-list.

 This file is useful for projects that are building javadoc that should 
 link up to GWT itself - without it, the javadoc tool apparently doesn't 
 link to referenced classes in GWT.

 I'm not seeing anything useful in terms of a web.xml file or a 
 servlet/filter/htaccess that can be customized to correct for this in the 
 git repo, so I'm assuming that this is a server configuration change that 
 needs to be made. Can someone confirm that, or point me in the right 
 direction for a change I can make as a contributor?

 Thanks,
 Colin


-- 
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 from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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

2013-10-14 Thread Julien Dramaix
I put online the first draft of the GssResource and its generator 
: https://github.com/jDramaix/gss.gwt/pull/1
Don't hesitate to review it, comment and give feedback. Once we'll agree 
that is the way to go, we can move the code in a project under gwtproject 
account.

This is a WIP and all is open to discussion. The pull request description 
contains what is done and what remains to be done.

My next task now is to create a document listing the missing features and 
their possible implementations.

On Tuesday, October 1, 2013 3:18:06 PM UTC+2, Julien Dramaix wrote:

 Hello,

 First sorry for my late reply, I was on holidays in September.

 I spent some evenings working on this subject and here is a summary of 
 what I've done so far :

 I first tried to replace the flute parser by the closure stylesheet parser 
 for the CssResource. My idea was simple : traverse the tree returned by the 
 closure stylesheet parser in order to build the internal css tree used by 
 gwt. Unfortunately, I quickly stopped this because the parser used by the 
 closure stylesheet project is not able to parse several at-rules used by 
 gwt like :
 - @if user.agent gecko {
 - @external .className;
 or even @sprite .className {
 So without modify the closure stylesheet parser, we cannot use it for 
 parsing css files used with the current CssResource.

 So I started to implement the GssResource and its generator. At first, my 
 goal is to be able to use any gss file with gwt by defining a GssResource, 
 exactly as we do with the CssResource and a css file. The interface methods 
 will give access to the class names and to the constants defined in the gss 
 file (@def). I'm nearly done with this task and I should put my code online 
 very soon (first at github for a pre-review and then I'll move the code 
 on a project under the gwtproject account).

 Then the next steps will be to add the support for missing features in 
 google closure stylesheet that are existing in CssResource (like 
 sprite...). The closure stylesheet parser uses a tree to represent the css 
 file and has the concept of visitor to traverse the tree so it shouldn't be 
 too hard to add the missing features. It offers also nice features like 
 defining methods that you can use inside a gss file and produce css output. 
 The implementation of these methods are done in java. I think that before 
 to start this step we'll have to discuss how to implement the missing 
 features. In order to ease the discussion, I will try to list what will be 
 missing and the possible implementations.

 I keep you inform,

 Julien


 On Wed, Sep 25, 2013 at 6:50 PM, Colin Alworth niloc...@gmail.com wrote:

 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 write maintainable code that 
 compiles to well-performing code, but not expose features that will perform 
 badly (consider the lack of java.text, reflection support). The scoping 
 feature that sass/less/compass has (allowing you to nest rules within other 
 rules) makes for much longer selectors in the compiled out code, which 
 equates pretty directly to worse performance (longer selectors take longer 
 to find/track what they apply to). In contrast, Closure Stylesheets gives 
 us the same sorts of variables, mixins, and @if syntax, but puts as much of 
 this work on the compiler rather than adding more classes at runtime. It is 
 a little more limited (and I'm not sure how we can even achieve things such 
 as @def and @eval... which current CssResource has), but those limitations 
 seem designed to provide better runtime performance.

 On a different note, less/sass are implemented in Ruby, not Java, so 
 either they must be made to work in JRuby or we'd need to require an 
 existing Ruby installation.

 OOCSS could be worth looking at - I don't know anything about it yet but 
 would be interested in learning. At a glance, it *appears* to be more of a 
 philosophy about writing html/css and a single set of starting structural 
 css, rather than a more 'useful' css language - do I have it right?

 Also, just as GssResource can be added as a new ResourcePrototype type, 
 you could just as easily create a LessResource or OocssResource with its 
 own generator to perform the required transformations.

 I hang out in ##gwt on freenode, and would love to talk more about this 
 whole task with anyone who is interested, otherwise i'd be open for a 
 hangout to chat too.


 On Wednesday, September 25, 2013 2:24:06 AM UTC-5, Samuel Schmid wrote:

 I'm a little bit late in this discoussion, i see there is a lot of work 
 already on going.
 But +1 for this.
 SASS or LESS would be a big plus.
 For me I think supporting OOCSS is more important than supporting CSS3 
 without workarounds.

 

[gwt-contrib] Re: Implement subpixels to support IE10

2013-10-14 Thread Matti Tahvonen
Hi,

IMHO the right way to fix the sub pixel issues would be to just start using 
double as return value. For average GWT users this causes little or no 
changes at all, for widget developers compilation errors are easy to fix. 
Also the breaking change highlights potential sub pixel related problems 
quite well. But I do understand the project has some promises (?) about 
backwards compatibility, so it is not necessary the best thing to do in 2.6 
release. 

In this way Daniels current patch in gerrit makes sense to me: no new API 
is introduced now and converting to double return values can be 
reconsidered in 3.0.

If the sub pixel API is wanted to be exposed for end users already in 2.6, 
maybe Elemental API could be used there? It is declared as work in 
progress so changing to double there shouldn't be an issue. I read 
somewhere that it is somehow autogenerated and I have no idea it is 
possible or not.

cheers,
matti

On Thursday, October 10, 2013 10:33:43 PM UTC+3, Daniel Kurka wrote:

 Hi all,

 IE10 is returning subpixels for DOM element positions. This breaks tests 
 and prevents IE10 support right now.

 We had a discussion and a patch a while back on that topic: 
 https://gwt-review.googlesource.com/#/c/3090/

 I am proposing that we implement sub pixel in our DOM implementation in 
 the following way:

 For every method, we add a subpixel version:
   int getLeft() - double getSubLeft()
 the int version simply does:
   return getSubLeft() | 0
 while getSubLeft returns the actual DOM value.

 For know we make those methods private so that we can defer discussion to 
 a later point on how we want to deal with the general problem of sub pixels.

 If no one strongly opposes, I will start to implement this.

 -Daniel 



-- 
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 from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[gwt-contrib] GWT contribution workshop

2013-10-14 Thread Michael Vogt
Hello.

You may have seen that there will be a workshop during GWT.create to help 
developers interested in contributing to get the dev environment set up 
correctly.

I have seen some posts recently here, that setting up the dev environment 
is too time consuming. Is there any work ongoing right now to tackle this? I 
have seen the Gradle scripts from Ray. Anything else that could be helpful 
in this direction?

In addition to that, it would be great when you could share here what works 
best for you when working with GWT source, so it could be integrated into 
the workshop.


Thank you very much. Hope to see many of you in San Francisco or Frankfurt,
Michael Vogt

-- 
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 from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [gwt-contrib] Re: Implement subpixels to support IE10

2013-10-14 Thread Goktug Gokdogan
Perhaps we can just avoid the trouble and introduce sub-pixel APIs only
with the new Elemental(*) - not from old APIs (including 3.0 release). In
the mean-time we can improve the internals of current widgets to better
utilize subpixel values like the Daniel's patch.

* I'm planning to write a doc for Elemental 2.0 that uses @JsInterfaces and
propose it to be the building blocks for the new generation of GWT widgets.
It can simply use subpixel values and with that we can take it out from
work-in-progress state.


On Mon, Oct 14, 2013 at 8:53 PM, Matti Tahvonen ma...@vaadin.com wrote:

 Hi,

 IMHO the right way to fix the sub pixel issues would be to just start
 using double as return value. For average GWT users this causes little or
 no changes at all, for widget developers compilation errors are easy to
 fix. Also the breaking change highlights potential sub pixel related
 problems quite well. But I do understand the project has some promises (?)
 about backwards compatibility, so it is not necessary the best thing to do
 in 2.6 release.

 In this way Daniels current patch in gerrit makes sense to me: no new API
 is introduced now and converting to double return values can be
 reconsidered in 3.0.

 If the sub pixel API is wanted to be exposed for end users already in 2.6,
 maybe Elemental API could be used there? It is declared as work in
 progress so changing to double there shouldn't be an issue. I read
 somewhere that it is somehow autogenerated and I have no idea it is
 possible or not.

 cheers,
 matti


 On Thursday, October 10, 2013 10:33:43 PM UTC+3, Daniel Kurka wrote:

 Hi all,

 IE10 is returning subpixels for DOM element positions. This breaks tests
 and prevents IE10 support right now.

 We had a discussion and a patch a while back on that topic:
 https://gwt-review.**googlesource.com/#/c/3090/https://gwt-review.googlesource.com/#/c/3090/

 I am proposing that we implement sub pixel in our DOM implementation in
 the following way:

 For every method, we add a subpixel version:
   int getLeft() - double getSubLeft()
 the int version simply does:
   return getSubLeft() | 0
 while getSubLeft returns the actual DOM value.

 For know we make those methods private so that we can defer discussion to
 a later point on how we want to deal with the general problem of sub pixels.

 If no one strongly opposes, I will start to implement this.

 -Daniel

  --
 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 from this group and stop receiving emails from it, send an
 email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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 from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.