Hi Thomas,

Great inputs. Couple of things:

1. Let me know if I can be of any help to your new-event-system-
implementation. Would love to do that.
2. Regarding the specific events, I think they're available across
browsers and OS. I am porting Dojo for GWT and found
http://bugs.dojotoolkit.org/browser/dojo/trunk/dnd/Moveable.js#L49
   So I assume, adding the events should be pretty strightforward.

The only reason that I see these (and may be some more) events have
been left off is probably because the current events take up the bits
from 0x000001 to 0x800000. And in JavaScript, numbers are 64-bit
floating points.

Well, technically, if I look at -- the above should not be a
constraint because looking at the specification IEEE 754-2008 (http://
en.wikipedia.org/wiki/IEEE_754-2008), it should be possible to use
upto 52 digits before decimal (see also
http://en.wikipedia.org/wiki/Double_precision_floating-point_format).

May be, it's just a matter of time or realizing that these events also
exist ;)


-Gaurav
www.mastergaurav.com

On Oct 14, 3:02 am, Thomas Broyer <[email protected]> wrote:
> On 13 oct, 19:36, masterGaurav <[email protected]> wrote:
>
> > Hi,
>
> > I am implementing Drag-n-Drop functionality in GWT, for which I need
> > to handle ondragstart and onselectstart events.
> > However, I could not find these two events in the
> > com.google.gwt.user.client.Event class.
>
> > There are three parts to my posting:
> >   - How can I handle these events without touching the existing code?
>
> Events need some refactoring to be "extensible" (no longer depend on
> the Event constants and sinkEvents/unsinkEvents bitfield).
> It is possible to handle "new" events
>
> >   - Is there any specific reason for not having these events?
>
> Time probably (to add them, with tests, etc.) and the fact that
> they're not supported by all browsers.
>
> >   - How can I submit a patch to GWT, if applicable. It would be a
> > fairly simple and straight-forward code to implement.
> >      I did look 
> > athttp://code.google.com/webtoolkit/makinggwtbetter.html#submittingpatches
> > but failed to understand point #6. How can I "svn add" without
> > appropriate permissions.
>
> "svn add" works on your working copy; you only need permissions for
> the "svn commit" (which you'll replace by a "svn diff" and uploading
> the patch to gwt-code-reviews.appspot.com, or Rietveld's upload.py)
>
> > Any and advice is solicited :)
>
> I've written before (including in a Wave, with much details) about how
> events could be refactored. I started working on a patch earlier this
> summer but never finished it. If you want to contribute to such an
> effort rather than add new Event constants et al. I think Joel Webber
> (the G-man who'd commit the thing eventually) would be pleased to
> review it ;-)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to