A patch set implementing the changes discussed in this thread is now
available for review.
http://codereview.chromium.org/6482
Regards,
Marshall
--~--~-~--~~~---~--~~
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
-~--~--
OK - btw - I think its v8_np_utils where you could add the v8->npobject
functions for your arrays.
And then you shouldn't need anything on the bridge - just
CppBoundClass::BindProperty should work.
I don't know quite how to do the KJS side of this, though. And now I see
why you were trying to hit
Hi Mike,
On Wed, Oct 1, 2008 at 1:02 PM, Mike Belshe <[EMAIL PROTECTED]> wrote:
>
> Generally, I don't think you should touch the bridge (btw - the bridge is
> going away as we reconcile differences w/ webkit- it will be the
> scriptController, I believe).
>
> I don't have source in front of me;
On Wed, Oct 1, 2008 at 6:35 AM, Marshall Greenblatt
<[EMAIL PROTECTED]>wrote:
> Hi Mike,
>
> On Wed, Oct 1, 2008 at 4:02 AM, Mike Belshe <[EMAIL PROTECTED]> wrote:
>
>> You should be able to use v8::Array for this; (see v8.h).
>> Create your array:
>>
>> v8::Local array = v8::Array::New();
>>
Hi Mike,
On Wed, Oct 1, 2008 at 4:02 AM, Mike Belshe <[EMAIL PROTECTED]> wrote:
> You should be able to use v8::Array for this; (see v8.h).
> Create your array:
>
> v8::Local array = v8::Array::New();
> for (int index = 0; index < myStdStrings.length(); ++index)
> array->Set(v8::Integer::
You should be able to use v8::Array for this; (see v8.h).
Create your array:
v8::Local array = v8::Array::New();
for (int index = 0; index < myStdStrings.length(); ++index)
array->Set(v8::Integer::New(index),
v8::String::New(myStdStrings[index]));
Now, I think you can wrap it:
NPObject*
Hi Mike,
On Tue, Sep 30, 2008 at 8:34 PM, Mike Belshe <[EMAIL PROTECTED]> wrote:
> Hi, Marshall,
> I'm not quite sure what you are trying to do; a frame-independent script
> object is generally something we'd try not to do. I admit, I'm not up to
> speed with what Gears may have needed to do to
Hi, Marshall,
I'm not quite sure what you are trying to do; a frame-independent script
object is generally something we'd try not to do. I admit, I'm not up to
speed with what Gears may have needed to do to support some of its
background workers, and maybe that is where you found this call.
Are y