[webkit-dev] Cygwin Problem

2009-05-27 Thread Gaurav Bajaj
Hi, I am new to the webkit and trying to make a webkit build. i have checked out the code and also the developer tools. But i am facing the problem while instaling the cygwin. i have downloaded cygwin-downloader-zip from the webkit site but after running cygwin-downloader.exe, from this downloaded

Re: [webkit-dev] Need help/Suggestions to understand the framework of webkit

2009-05-27 Thread Darin Adler
On May 27, 2009, at 7:19 PM, Feng Qian wrote: webkit.org has documentations of setting up build and debug environment using XCode on Mac. And using Visual Studio on Windows too. The instructions start here . -- Darin

Re: [webkit-dev] Need help/Suggestions to understand the framework of webkit

2009-05-27 Thread Feng Qian
webkit.org has documentations of setting up build and debug environment using XCode on Mac. chromium.org has documentations of setting up build and debug environment using MSVC on Windows. On Thu, May 21, 2009 at 4:06 PM, wrote: > Thanks for the early response. > > We are implementing web 2.0 f

Re: [webkit-dev] If you are in china and you have interest in webkit, please join us with qq group 8763622.

2009-05-27 Thread Feng Qian
This pretty much shuts the door to Chinese speaking webkit developers out side of China. Is IRC blocked by the Great Wall? If not, why not create an IRC channel? On Thu, May 14, 2009 at 4:17 PM, canquan.shencq wrote: > Hi all, > > Disucss the webkit  conveniently for Chinese people who h

Re: [webkit-dev] About graphics backend changing

2009-05-27 Thread Feng Qian
Android uses Skia graphic library, you can compare the code base there with the trunk to see how it is ported. 2009/5/8 David : > hi. > Now I'm working on testing webkit's portability. For example, I am planning > to change webkit's graphics backend to Skia, just like chrome does. > > But I'm new

Re: [webkit-dev] Q on CSSStyleSelector::adjustRenderStyle(), render tree node ordering

2009-05-27 Thread Roland Steiner
On Wed, May 27, 2009 at 6:37 PM, David Hyatt wrote: Thanks a lot for your answers! On May 27, 2009, at 8:21 PM, Roland Steiner wrote: > > Hi all, >> >> As I am currently hacking on implementing ruby for WebKit, I came across 2 >> questions where I couldn't find a good answer in the code, and t

Re: [webkit-dev] Q on CSSStyleSelector::adjustRenderStyle(), render tree node ordering

2009-05-27 Thread David Hyatt
On May 27, 2009, at 8:21 PM, Roland Steiner wrote: Hi all, As I am currently hacking on implementing ruby for WebKit, I came across 2 questions where I couldn't find a good answer in the code, and thus would like to ask people more knowledgable than me: Question #1: CSSStyleSelector::adju

[webkit-dev] Q on CSSStyleSelector::adjustRenderStyle(), render tree node ordering

2009-05-27 Thread Roland Steiner
Hi all, As I am currently hacking on implementing ruby for WebKit, I came across 2 questions where I couldn't find a good answer in the code, and thus would like to ask people more knowledgable than me: Question #1: CSSStyleSelector::adjustRenderStyle (css/CSSStyleSelector.cpp) changes the effect

Re: [webkit-dev] which files in WebKit codebase would tell the attributes(x, y, width and height) of a Video Window ?

2009-05-27 Thread Simon Fraser
On May 27, 2009, at 5:19 PM, Ajit Singh wrote: Which files in WebKit deal with the positioning (x,y) and scaling of video window(width and height) ? Suppose I'm rendering a page with a video window in it such as http://webkit.org/blog/140/ then I want to know what files should I look into to

Re: [webkit-dev] Need help in understanding Webkit reflow

2009-05-27 Thread Simon Fraser
On May 27, 2009, at 1:17 PM, Lucius Fox wrote: I would like some help/pointers in how to understand Webkit reflow logic/mechanism. I would like to know given a URL, what elements are re-layout/re-calculate dimension multiple times (e.g. things like table without height/width attribute). Look a

Re: [webkit-dev] testing question for code that calls abstract methods (like ChromeClient)

2009-05-27 Thread Darin Adler
On May 27, 2009, at 4:11 PM, John Gregg wrote: What's a good strategy for testing WebKit code that calls out to the ChromeClient interface or some other abstract interface? I can't find anything obvious in the codebase-- is there any way to mock out those calls for unit tests? Typically w

[webkit-dev] which files in WebKit codebase would tell the attributes(x, y, width and height) of a Video Window ?

2009-05-27 Thread Ajit Singh
Which files in WebKit deal with the positioning (x,y) and scaling of video window(width and height) ? Suppose I'm rendering a page with a video window in it such as http://webkit.org/blog/140/ then I want to know what files should I look into to know the coordinates and width and height of th

Re: [webkit-dev] Webkit JavaScript question

2009-05-27 Thread Gavin Barraclough
Hi Zoltan, I don't think so. It is not worth to do it on a desktop pc since interpreter is always slower than JIT. However, the story is different for embedded systems, when they enter low-memory mode. Whilst it is certainly true that this would likely be of most benefit on embedded platf

[webkit-dev] testing question for code that calls abstract methods (like ChromeClient)

2009-05-27 Thread John Gregg
What's a good strategy for testing WebKit code that calls out to the ChromeClient interface or some other abstract interface? I can't find anything obvious in the codebase-- is there any way to mock out those calls for unit tests? Thanks, -John ___ web

Re: [webkit-dev] SharedWorkers alternate design

2009-05-27 Thread Jeremy Orlow
On Wed, May 27, 2009 at 3:37 PM, John Abd-El-Malek wrote: > > > On Wed, May 27, 2009 at 12:00 AM, Jeremy Orlow wrote: > >> On Tue, May 26, 2009 at 9:40 PM, Maciej Stachowiak wrote: >> >>> >>> On May 26, 2009, at 6:11 PM, Jeremy Orlow wrote: >>> >>> Did you say partly because it's more compl

Re: [webkit-dev] SharedWorkers alternate design

2009-05-27 Thread John Abd-El-Malek
On Wed, May 27, 2009 at 12:00 AM, Jeremy Orlow wrote: > On Tue, May 26, 2009 at 9:40 PM, Maciej Stachowiak wrote: > >> >> On May 26, 2009, at 6:11 PM, Jeremy Orlow wrote: >> >> >>> Did you say partly because it's more complicated than just splitting one >>> class (and only having 1-way sync comm

Re: [webkit-dev] Sharing code between WebCore/bindings/js and WebCore/bindings/v8

2009-05-27 Thread Dimitri Glazkov
It would really, really awesome (IMHO) to put some extra effort into minimizing bindings divergences. I think there's already some good foundation laid in this regard in the form of Script* classes (look for bindings/(js|v8)/Script* files) . I was once imagining that we could split out code generat

Re: [webkit-dev] Need help in understanding Webkit reflow

2009-05-27 Thread David Hyatt
Check out the layout() methods on RenderObject and its subclasses. dave On May 27, 2009, at 3:17 PM, Lucius Fox wrote: HI, I would like some help/pointers in how to understand Webkit reflow logic/mechanism. I would like to know given a URL, what elements are re-layout/re-calculate dimension m

Re: [webkit-dev] JSClassCreate & JSObjectSetProperty question

2009-05-27 Thread Darin Adler
On May 27, 2009, at 8:34 AM, Jack Wootton wrote: I'm using JSObjectSetProperty. [...] I successfully have the execution context to use, the window JSObjectRef, property name, attributes and use NULL for exception (all these parameters make sense to me). However I'm unsure about the purpos

[webkit-dev] Need help in understanding Webkit reflow

2009-05-27 Thread Lucius Fox
HI, I would like some help/pointers in how to understand Webkit reflow logic/mechanism. I would like to know given a URL, what elements are re-layout/re-calculate dimension multiple times (e.g. things like table without height/width attribute). Is there any instrumentation in Webkit to collect th

Re: [webkit-dev] Multithread issue

2009-05-27 Thread Dmitry Titov
WebKit uses thread-specific data in quite a few cases so objects in general expect to be created, used and destroyed on the same thread. One of such examples are timers, frequently used as deferred tasks. Creating a view and loading a url into it likely creates one or more of such timers whihc are

Re: [webkit-dev] Notifications API

2009-05-27 Thread John Gregg
I think that makes sense for now as well. I expect we'll get to this sort of generic permissions system in the future, but for the time being I am adding to my current patch some methods: // internal methods implemented by the embedder int NotificationProvider::checkPermission(SecurityOrigin*

Re: [webkit-dev] Sharing code between WebCore/bindings/js and WebCore/bindings/v8

2009-05-27 Thread David Levin
On Wed, May 27, 2009 at 11:47 AM, Adam Barth wrote: > I've been doing some work recently in our JavaScript bindings. As > part of this work, I've noticed that WebCore/bindings/js and > WebCore/bindings/v8 have drifted apart in some details. It's kind of > ridiculous that we have so much duplica

[webkit-dev] Sharing code between WebCore/bindings/js and WebCore/bindings/v8

2009-05-27 Thread Adam Barth
I've been doing some work recently in our JavaScript bindings. As part of this work, I've noticed that WebCore/bindings/js and WebCore/bindings/v8 have drifted apart in some details. It's kind of ridiculous that we have so much duplicated code in these two folders. We should try to re-organize ou

Re: [webkit-dev] Notifications API

2009-05-27 Thread Sam Weinig
I would prefer we limit the scope to notifications, since this is an experimental feature at the moment. Perhaps something along the lines of window.notifications.requestTrust(), or window.notifications.requestUse() (I am not a huge fan of either of those function names, but you get the general id

Re: [webkit-dev] How to dump SquirrelFish opcode and machine code

2009-05-27 Thread Zoltan Herczeg
> Hi, > How to dump SquirrelFish opcode and machine code? > Here is what I would like to do, for each JS file that WebCore passes to > SquirrelFish, configure SquirrelFish to dump opcode and machine code. > > Thank you for any tips. I am not sure you can do SF byte code dump out of the box since

Re: [webkit-dev] SharedWorkers alternate design

2009-05-27 Thread Michael Nordman
> P.S. I hope all this design input isn't being too fussy. Working on a big > project like WebKit is a constant battle against entropy, and we try hard to > find good patterns and spread them as a counter. But I don't mean to make a > huge deal out of this naming detail. Thanx for the input, very

Re: [webkit-dev] Duplicate page: Implementing Print Preview

2009-05-27 Thread Sverrir Á . Berg
Interesting idea. I see two downsides to that though. Firstly I think need some kind of PDF library since only Mac's have native support and when the user needs to change the layout of the page (margins, portrait/landscape) I would need to re-create the PDF again? Sverrir On Wed, May 27, 2009

Re: [webkit-dev] Multithread issue

2009-05-27 Thread David Kilzer
This assertion is telling you that the code expects to be running on the main thread. You're also probably running a debug build since assertions are disabled in release builds. Dave From: Matt Bockt To: webkit-dev@lists.webkit.org Sent: Wednesday, May 27,

Re: [webkit-dev] Duplicate page: Implementing Print Preview

2009-05-27 Thread David Hyatt
Can you render the page to PDF and display the PDF? Maybe you could render the page into bitmaps if you aren't able to support PDF. dave (hy...@apple.com) On May 27, 2009, at 11:53 AM, Sverrir Á. Berg wrote: Hi all, I'm working on Google Chrome and trying to come up with a way to implemen

Re: [webkit-dev] Webkit Rendered Image

2009-05-27 Thread David Kilzer
Try looking at source in WebCore/rendering/. Dave From: webkitUser To: webkit-dev@lists.webkit.org Sent: Wednesday, May 27, 2009 3:59:28 AM Subject: Re: [webkit-dev] Webkit Rendered Image Hi, Can somebody please give me some pointers here. If you can p

[webkit-dev] Duplicate page: Implementing Print Preview

2009-05-27 Thread Sverrir Á . Berg
Hi all, I'm working on Google Chrome and trying to come up with a way to implement print preview. To be able to display it in a separate tab we need to be able to duplicate the current page in memory so the user can continue to interact with the original page. Javacript, animations etc should con

[webkit-dev] How to dump SquirrelFish opcode and machine code

2009-05-27 Thread Daniel Dreiberg
Hi, How to dump SquirrelFish opcode and machine code? Here is what I would like to do, for each JS file that WebCore passes to SquirrelFish, configure SquirrelFish to dump opcode and machine code. Thank you for any tips. ___ webkit-dev mailing list webki

Re: [webkit-dev] Notifications API

2009-05-27 Thread Drew Wilson
Sam, I think you are right here. I'm convinced that applications should be specific about what permissions they are asking for. I also believe that from a UX standpoint, we will probably want to provide the user with a single dialog that enumerates the permissions being granted, although a given u

[webkit-dev] JSClassCreate & JSObjectSetProperty question

2009-05-27 Thread Jack Wootton
Hi all, For ease here is the link to the API documentation http://developer.apple.com/documentation/Carbon/Reference/WebKit_JavaScriptCore_Ref/JSObjectRef/index.html I'm using JSObjectSetProperty. Here is the function signature: void JSObjectSetProperty( JSContextRef ctx, JSObjectRef o

[webkit-dev] Multithread issue

2009-05-27 Thread Matt Bockt
Hi everybody, I'm new to WebKit and I'm developing a C++ application that uses the WebKit browser. It runs on Fedora10, kernel 2.6.27.5-117.fc10.i686. The WebKit version I'm using is the r44111. Here is my problem : I'm creating a new web view in the main thread, say, thread A. The webview is th

Re: [webkit-dev] Hi, how can I know the whole architecture of webkit?

2009-05-27 Thread webkitUser
Hi, Am interested in understanding the painting part of it, which specific portion of the code should I look at? Thanks in advance, Holger Freyther-6 wrote: > > On Thursday 14 May 2009 12:05:29 JIN Wei wrote: >> Hi, guys: >> >> As a newbie to open source software , I wonder where can I fi

Re: [webkit-dev] Webkit Rendered Image

2009-05-27 Thread webkitUser
Hi, Can somebody please give me some pointers here. If you can point me to the part of source where the image/text get rendered that would help me work backwards atleast. Regards, webkitUser wrote: > > Hi, > > I have modified the WinLauncher application to dump what it has rendered. >

[webkit-dev] Local Storage naming (WAS Re: SharedWorkers alternate design)

2009-05-27 Thread Jeremy Orlow
On Wed, May 27, 2009 at 12:13 AM, Maciej Stachowiak wrote: > > On May 27, 2009, at 12:00 AM, Jeremy Orlow wrote: > > On Tue, May 26, 2009 at 9:40 PM, Maciej Stachowiak wrote: > >> >> On May 26, 2009, at 6:11 PM, Jeremy Orlow wrote: >> >> >>> Did you say partly because it's more complicated than

Re: [webkit-dev] SharedWorkers alternate design

2009-05-27 Thread Maciej Stachowiak
On May 27, 2009, at 12:00 AM, Jeremy Orlow wrote: On Tue, May 26, 2009 at 9:40 PM, Maciej Stachowiak wrote: On May 26, 2009, at 6:11 PM, Jeremy Orlow wrote: Did you say partly because it's more complicated than just splitting one class (and only having 1-way sync communication)? If so,

Re: [webkit-dev] SharedWorkers alternate design

2009-05-27 Thread Jeremy Orlow
On Tue, May 26, 2009 at 9:42 PM, Maciej Stachowiak wrote: > > On May 26, 2009, at 7:00 PM, John Abd-El-Malek wrote: > > >> This will work fine for appcache and localstorage, but isn't sufficient >> for workers since the same caller gets different objects depending on which >> process this is runn

Re: [webkit-dev] SharedWorkers alternate design

2009-05-27 Thread Jeremy Orlow
On Tue, May 26, 2009 at 9:40 PM, Maciej Stachowiak wrote: > > On May 26, 2009, at 6:11 PM, Jeremy Orlow wrote: > > >> Did you say partly because it's more complicated than just splitting one >> class (and only having 1-way sync communication)? If so, then we're still >> on the same page, because