Proper Launching Behavior for Drosera (Windows)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Proper Launching Behavior for Drosera (Windows)

Brent Fulgham-2
I've been trying to get Drosera to run under Windows XP, and have a few questions:

1.  What is the recommended way to launch Drosera?  I created a set of scripts to launch it in the right environment (see " http://bugs.webkit.org/show_bug.cgi?id=16314"), which at least gets it to launch.  But should it be started some other way?

2.  When it starts up on the Mac, it asks what process to attach to.  On Windows XP, I see a shell open (named Drosera -- this could just be a side-effect of my script), and then the main application frame opens.  I do not get a request for an application to attach to, and the Drosera application does not display any Javascript or other information.

3.  The Windows Drosera does not have the fancy chrome shown (the pretty stop/play buttons as shown on "http://webkit.org/blog/61/introducing-drosera/ ").  Is this expected, or am I missing resources?

Thanks,

-Brent



_______________________________________________
webkit-dev mailing list
[hidden email]
http://lists.webkit.org/mailman/listinfo/webkit-dev
Reply | Threaded
Open this post in threaded view
|

Re: Proper Launching Behavior for Drosera (Windows)

Kevin McCullough
Hi Brent, I've been working on making this easier for developers but admittedly spent more time on feature implementation than launching.  Let me address these as best I can.

On Dec 5, 2007, at 5:54 PM, Brent Fulgham wrote:

I've been trying to get Drosera to run under Windows XP, and have a few questions:

1.  What is the recommended way to launch Drosera?  I created a set of scripts to launch it in the right environment (see " http://bugs.webkit.org/show_bug.cgi?id=16314"), which at least gets it to launch.  But should it be started some other way?

I think the scripts are going to be the way to run things (similar to run-safari), I'll take a look at what you have attached to the bugzilla bug and that might be the way to go.

In the future we would like to bundle a built version of Drosera with the nightlies just like we have on Mac, but currently that is not available.



2.  When it starts up on the Mac, it asks what process to attach to.  On Windows XP, I see a shell open (named Drosera -- this could just be a side-effect of my script), and then the main application frame opens.  I do not get a request for an application to attach to, and the Drosera application does not display any Javascript or other information.


For debugging purposes, I made Drosera open a shell when run in debug mode (you can dump to it via printf's in Drosera's code).  If you run the Release version it should not appear.

Yes, Drosera does not currently have the attach option that it does on Mac.  If you start Safari on Windows (use a revision after 28197 for stability) Drosera should connect to it automatically and if you load a page in Safari you should see the source showing up in Drosera.

3.  The Windows Drosera does not have the fancy chrome shown (the pretty stop/play buttons as shown on "http://webkit.org/blog/61/introducing-drosera/ ").  Is this expected, or am I missing resources?

The start, pause, resume, step over, Show Console, etc buttons were created on Mac via Interface Builder and are not cross-platform.  For the sake of simplicity and speed of development I implemented these in the windows "Debug" menu in Drosera.  In the future I would like to make these in JavaScript, in Drosera's debugger.js, which would make the buttons cross-platform automatically.



Thanks,

-Brent


_______________________________________________
webkit-dev mailing list
[hidden email]
http://lists.webkit.org/mailman/listinfo/webkit-dev

Thanks for testing things out for us, I greatly appreciate your feedback.

 Kevin McCullough


_______________________________________________
webkit-dev mailing list
[hidden email]
http://lists.webkit.org/mailman/listinfo/webkit-dev
Reply | Threaded
Open this post in threaded view
|

Re: Proper Launching Behavior for Drosera (Windows)

Brent Fulgham-2
Hi Kevin,

I finally got everything working on my Mac, so now I have a better idea of what to expect on the Windows side.  And I can confirm that if I launch Safari, then launch Drosera, then send Safari to a page with some JavaScript everything seems to come up just fine.

Nice!

On Dec 6, 2007 2:45 PM, Kevin McCullough <[hidden email]> wrote:
I think the scripts are going to be the way to run things (similar to run-safari), I'll take a look at what you have attached to the bugzilla bug and that might be the way to go.

In the future we would like to bundle a built version of Drosera with the nightlies just like we have on Mac, but currently that is not available.

I've updated the Bugzilla entry with a few revisions that I use on my mac system, as well as a change to FindSafari that emits the path info I need to run Drosera.
 
The start, pause, resume, step over, Show Console, etc buttons were created on Mac via Interface Builder and are not cross-platform.  For the sake of simplicity and speed of development I implemented these in the windows "Debug" menu in Drosera.  In the future I would like to make these in JavaScript, in Drosera's debugger.js, which would make the buttons cross-platform automatically.

This would be very cool.  I'm interested in poking through Drosera to see if I could use a similar architecture ( i.e., a WebKit-based GUI) for an application I'm trying to port to the Mac.  So, seeing how this is done would be pretty useful.
 
Thanks for testing things out for us, I greatly appreciate your feedback.

My pleasure -- you guys have created a pretty amazing set of tools here.  I've been playing with the WebInspector for one day, and I was already to find the cause of some stupid formatting issues here at work.  Very useful.

Thanks,

-Brent

_______________________________________________
webkit-dev mailing list
[hidden email]
http://lists.webkit.org/mailman/listinfo/webkit-dev