[webkit-dev] Is WebKit suitable for a gaming platform?

2008-05-23 Thread Paul Pedriana
We are considering porting WebKit to work on gaming consoles (e.g. XBox 360, PlayStation 3). We want to have browsing functionality within our games. The primary issue with this is likely to be one of memory. When running within a game, a web browser has little more than a few megabytes of RAM

Re: [webkit-dev] Preventing menus on Windows

2008-05-23 Thread Johan Lund
22 maj 2008 kl. 18.56 skrev Alexey Proskuryakov: On May 22, 2008, at 5:38 PM, Johan Lund wrote: How can I prevent e.g. the File menu to popup on Alt-F in Safari in Windows? We do not allow web pages to suppress handling of system keys events like this, matching Internet Explorer. -

Re: [webkit-dev] ImageDiff tool for gtk platform

2008-05-23 Thread Mark Rowe
On 22/05/2008, at 07:24, S Venkata Udai Kiran wrote: Hi all, I was trying to understand how the Layout tests are being done in Webkit. I went through the perl code 'run-webkit-tests' and found that the script is using a tool name ImageDiff (WebKit/WebKitBuild/Release/Programs/ImageDiff)

Re: [webkit-dev] ImageDiff tool for gtk platform

2008-05-23 Thread Mark Rowe
On 23/05/2008, at 00:39, Kalle Vahlman wrote: 2008/5/23 Mark Rowe [EMAIL PROTECTED]: On 22/05/2008, at 07:24, S Venkata Udai Kiran wrote: Hi all, I was trying to understand how the Layout tests are being done in Webkit. I went through the perl code 'run-webkit-tests' and found that the

Re: [webkit-dev] Preventing menus on Windows

2008-05-23 Thread Johan Lund
You mentioned that you have a workaround for IE - it would be best to file a bug with a test case that works in IE, but doesn't work in Safari. - WBR, Alexey Proskuryakov Sure, will do. Another question, related but regarding tabIndex. Does Safari treat a tabIndex of -1, 0 or 1...

Re: [webkit-dev] help with porting

2008-05-23 Thread Luka Napotnik
Hello Mike. Could you tell me how much time did you approximately spend on porting webkit to cairo so I could see if it fits with my schedule. Greets, Luka Dne 22.05.2008 (čet) ob 09:30 -0700 je Mike Emmel zapisal(a): Luka I don't think it makes a difference if your running a lot of

Re: [webkit-dev] help with porting

2008-05-23 Thread Julien Sanchez
Hello, I'm interested too in such a port because I'm trying to render simple html (no plugins or widgets) into image and pdf backends. For the moment, I made a simple hack (inspired from Clutter project) to render into a cairo surface. It works from the command line but it still depends from X

Re: [webkit-dev] help with porting

2008-05-23 Thread Luka Napotnik
Hello Julien. So you didn't draw the webkitview widget at all but stil managed to get a cairo drawing from the engine? If so, could you please tell me how did you do that? Greets, Luka Dne 23.05.2008 (pet) ob 12:58 +0200 je Julien Sanchez zapisal(a): Hello, I'm interested too in such a port

Re: [webkit-dev] Unnecessary instructions in bytecode

2008-05-23 Thread Oliver Hunt
Hi Gabor, Without actually know which instructions you think are unnecessary this is difficult to answer, but i'll see if i can guess which you're interested in 9 instructions; 224 bytes at 0x69ca30; 2 locals (0 parameters); 2 temporaries [ 0] load lr6, undefined(@k0)

Re: [webkit-dev] Unnecessary instructions in bytecode

2008-05-23 Thread Oliver Hunt
For the same piece of code, but in a function (so there is no implied return value) the generated code is: [ 0] load lr1, undefined(@k0) [ 3] load lr2, undefined(@k0) [ 6] load lr1, 5(@k1) [ 9] mul

Re: [webkit-dev] help with porting

2008-05-23 Thread Julien Sanchez
Hello Luka, I used the following path from clutter repository: http://svn.o-hand.com/view/clutter/trunk/clutter-webkit/webkit-frame-show-cairo.patch?rev=2031view=markup As a rough prototype, I adapted an OffscreenWebkit class inspired from the ClutterWebkitClass from clutter-webkit

Re: [webkit-dev] help with porting

2008-05-23 Thread Luka Napotnik
Hm I see they made their own widget for clutter. It seems modifying the gobject class so it would be inherited form GdkPixmap should do the trick. I'll play with this for a while. Still it would be great for a clean cairo port without X. I'll investigate that later. Greets, Luka Dne 23.05.2008

Re: [webkit-dev] tabIndex

2008-05-23 Thread Darin Adler
On May 23, 2008, at 2:32 AM, Johan Lund wrote: Another question, related but regarding tabIndex. Does Safari treat a tabIndex of -1, 0 or 1... differently? I believe it is treated differently on some browsers. 1... component can be focused both by pressing tab and programatically 0

Re: [webkit-dev] help with porting

2008-05-23 Thread Mike Emmel
Look you can take the clutter code base and remove the clutter dependencies. As far as cairo compile without any backed support. You need at least a minimal event queue and timer support. I'd suggest lib event http://monkey.org/~provos/libevent/ Then you need at least a simple canvas object

[webkit-dev] SquirrelFish: Very Impressive

2008-05-23 Thread Jon Shier
Devs: Just wanted to say thanks for all the work you've put into SquirrelFish. Even at such a early stage it's 60% faster than the previous nightly and have been faster than all of the other browsers I've tested so far as well, including FF3rc1 and Opera 9.5b2. I'm really looking

Re: [webkit-dev] SquirrelFish: Very Impressive

2008-05-23 Thread Hanspeter Schaub
Same here... I had to run the comparison tests with FF3rc1 and Opera 9.5 several times on 2 computers to believe them :-) Very impressive speed up... HP --- Hanspeter Schaub Phone: (303) 642-0686 Email: [EMAIL