[webkit-dev] Attaching property to external (Obj-c) synthetic event

2009-06-17 Thread Ross Lillie
Greetings, I need to generate a synthetic event (DOM Level 2) from external (native) code and inject into the current DOM structure. Furthermore, this event needs to have a custom property attached, to pass external data into the current Javascript context. Generating and dispatching the event

Re: [webkit-dev] Attaching property to external (Obj-c) synthetic event

2009-06-17 Thread Ross Lillie
JSObject is created. Any insight (such as the way scope chains are set up, etc, just guessing here...) on why it works like this would be appreciated. Again thanks in advance and regards, Ross On 6/17/09 4:29 PM, Ross Lillie ross.lil...@motorola.com wrote: Greetings, I need to generate a synthetic

Re: [webkit-dev] Add custom event into Webkit

2009-04-09 Thread Ross Lillie
Hi Darin, Thanks for the reply. Yes, this is starting to make sense, please excuse, but my Javascript/DOM knowledge is pretty rusty - but it's coming back. I'd figured out that I can create arbitrarily named events via the DOMEvent class (in my external code), however, as you mentioned, the

[webkit-dev] FW: Creating custom DOM events

2009-04-08 Thread Ross Lillie
should implement your own onxxx attribute, and add some eventlisteners; if latter, maybe you can add your own eventlistener to some node and create an event and call handlelocalevent 2009/4/8 Ross Lillie ross.lil...@motorola.com I have external C++ code that I'm exposing to the JavaScript

[webkit-dev] Creating custom DOM events

2009-04-07 Thread Ross Lillie
I have external C++ code that I'm exposing to the JavaScript runtime. I'd also like my external code to be able to dispatch custom events via the DOM event mechanism. For example element onMyCustomEvent=function() {} Now, if I'm beginning to understand Webkit (which is doubtful) it seems

[webkit-dev] Extending JS context for all WebFrames

2009-03-12 Thread Ross Lillie
some how need to manipulate the JSGlobalObject directly. My understanding of the overall webkit organization is still pretty rudimentary, so I've likely missed something. Thoughts? Regards, -- Ross Lillie ___ webkit-dev mailing list webkit-dev

Re: [webkit-dev] Extending JS context for all WebFrames

2009-03-12 Thread Ross Lillie
trying to accomplish is to have my extended global object be the default object for all webview/page lists. It¹s 6pm and my brain hurts. Thanks for any help/insight you can provide. Confused in Schaumburg, Ross Lillie On 3/12/09 5:37 PM, Geoffrey Garen gga...@apple.com wrote: Hi Ross. While

[webkit-dev] Build error when source tree on alternate volume

2009-01-07 Thread Ross Lillie
I'm getting build errors when building WebKit on OS X (10.5.6, Xcode 3.1.1) when the source tree is located on an alternate volume. In my configuration, the source tree is located on a secondary volume (/Volumes/Project HD/webkit). Examining the terminal log you see the following errors:

Re: [webkit-dev] Build error when source tree on alternate volume

2009-01-07 Thread Ross Lillie
Thanks Dan! /ross On 1/7/09 3:20 PM, Dan Bernstein m...@apple.com wrote: Unfortunately, WebKit cannot be built when there are spaces in the path to the source tree. See https://bugs.webkit.org/show_bug.cgi?id=10758. On Jan 7, 2009, at 1:14 PM, Ross Lillie wrote: I'm getting build