Re: [webkit-dev] [V8] It's time for V8Proxy to come to Jesus

2009-07-05 Thread Adam Barth
On Sat, Jul 4, 2009 at 9:13 PM, Maciej Stachowiakm...@apple.com wrote: If you have specific ideas about changes to the JS bindings we can go over them soon. The general idea of factoring out a separate class to handle security policy seems good. Manager is one of the things in class names I

Re: [webkit-dev] [V8] It's time for V8Proxy to come to Jesus

2009-07-05 Thread Adam Barth
On Sat, Jul 4, 2009 at 9:29 PM, Jian Lijia...@chromium.org wrote: FYI, we've also another WorkerContextExecutionProxy that acts like V8Proxy in order to talk to V8 engine for everything needed in WorkerContext. When we do refactoring for V8Proxy, we also need to make it be able to support

Re: [webkit-dev] [V8] It's time for V8Proxy to come to Jesus

2009-07-05 Thread Maciej Stachowiak
On Jul 5, 2009, at 5:19 AM, Adam Barth wrote: On Sat, Jul 4, 2009 at 9:13 PM, Maciej Stachowiakm...@apple.com wrote: If you have specific ideas about changes to the JS bindings we can go over them soon. The general idea of factoring out a separate class to handle security policy seems

Re: [webkit-dev] [V8] It's time for V8Proxy to come to Jesus

2009-07-04 Thread Dimitri Glazkov
Go abarth! Here's a couple of considerations: 1) For now, we've been concentrating on moving the remaining bits of the V8 bindings and project files upstream. Your proposed refactoring will more than likely involve modifying .gyp files. Perhaps it would be better to wait just a bit more until I

Re: [webkit-dev] [V8] It's time for V8Proxy to come to Jesus

2009-07-04 Thread Adam Barth
On Sat, Jul 4, 2009 at 10:21 AM, Dimitri Glazkovdglaz...@chromium.org wrote: 1) For now, we've been concentrating on moving the remaining bits of the V8 bindings and project files upstream. Your proposed refactoring will more than likely involve modifying .gyp files. Perhaps it would be better

Re: [webkit-dev] [V8] It's time for V8Proxy to come to Jesus

2009-07-04 Thread Maciej Stachowiak
On Jul 4, 2009, at 8:20 PM, Adam Barth wrote: Thanks for taking on this! I am going to try and visit SFO next week, so perhaps we could meet up and do some strategery about this refactoring. I should be able to come into the SF office for a day or two this week. That might be an efficient

Re: [webkit-dev] [V8] It's time for V8Proxy to come to Jesus

2009-07-04 Thread Jian Li
FYI, we've also another WorkerContextExecutionProxy that acts like V8Proxy in order to talk to V8 engine for everything needed in WorkerContext. When we do refactoring for V8Proxy, we also need to make it be able to support different execution context. On Fri, Jul 3, 2009 at 12:23 PM, Adam Barth

[webkit-dev] [V8] It's time for V8Proxy to come to Jesus

2009-07-03 Thread Adam Barth
If you're uninterested in the V8 bindings, you can skip this email. Clocking in at 3255 lines (plus a 682-line header file), V8Proxy is out of control. Historically a bridge from the V8 bindings to the V8 engine, V8Proxy is responsible for a number of tasks including: 1) Creating new contexts

Re: [webkit-dev] [V8] It's time for V8Proxy to come to Jesus

2009-07-03 Thread Aaron Boodman
+1: Hooray for any attempts to tame V8Proxy. - a On Fri, Jul 3, 2009 at 12:23 PM, Adam Barthaba...@webkit.org wrote: If you're uninterested in the V8 bindings, you can skip this email. Clocking in at 3255 lines (plus a 682-line header file), V8Proxy is out of control.  Historically a bridge