[webkit-dev] How to reduce the size of my dll

2009-02-09 Thread cui . yuan2
Hi all: Currently I'm trying to build webkit in my own VS2005 project. (Makeing a new project ,then adding the source file to it and doing some necessary changes) The size of webkit.dll I got is 107m,and seems too large. I observe the same dll in safari for windows is less than 5m. So, I want

Re: [webkit-dev] Grammer for html parsing

2009-02-09 Thread Nilesh Patil
HI So When exactly RenderStyle and RenderObject will get associated with - say - element or with any HTML element Does WebCore/rendering handles it ? Thanks & Regards Niilesh On Tue, Feb 10, 2009 at 1:57 AM, Shariq Rizvi wrote: > > > On Mon, Feb 9, 2009 at 12:23 PM, Nilesh Patil wrote: >

Re: [webkit-dev] How to set a string element in an array from C++

2009-02-09 Thread Alexander Vassilev
Alexander Vassilev wrote: > Hi all, > I am trying to add a string to a js array in C++, like this: > > n->arr->setIndex(0, jsString(globalExec, "test")); > > where arr is of type JSC::JSArray* > and initialized with JSC::constructEmptyArray(); > > The javascript code sees the array as a sequenc

[webkit-dev] How to set a string element in an array from C++

2009-02-09 Thread Alexander Vassilev
Hi all, I am trying to add a string to a js array in C++, like this: n->arr->setIndex(0, jsString(globalExec, "test")); where arr is of type JSC::JSArray* and initialized with JSC::constructEmptyArray(); The javascript code sees the array as a sequence of characters: arr[0] becomes 't', arr[

Re: [webkit-dev] Grammer for html parsing

2009-02-09 Thread Darin Adler
On Feb 9, 2009, at 12:23 PM, Nilesh Patil wrote: Yeah But still have a doubt. Doesn't it need to compare tags with what ever has come as response? i mean if some data comes then webkit must be identifying it in terms of HTML tags or other type of data. So is there no need of string com

Re: [webkit-dev] Curl Cookie Handling

2009-02-09 Thread Kevin Ollivier
Hi Julien, On Feb 9, 2009, at 7:23 AM, Julien Chaffraix wrote: Hi, I have Integrated the patch given in https://bugs.webkit.org/show_bug.cgi?id=14730 on webkit r36766 with additions on SQLITE db calls As you have seen this patch is not integrated and is a year old. As a result, it may have

Re: [webkit-dev] Grammer for html parsing

2009-02-09 Thread Shariq Rizvi
On Mon, Feb 9, 2009 at 12:23 PM, Nilesh Patil wrote: > Hi > > Yeah But still have a doubt. Doesn't it need to compare tags with > what ever has come as response? i mean if some data comes then webkit > must be identifying it in terms of HTML tags or other type of data. So > is there no need

Re: [webkit-dev] Grammer for html parsing

2009-02-09 Thread Nilesh Patil
Hi Yeah But still have a doubt. Doesn't it need to compare tags with what ever has come as response? i mean if some data comes then webkit must be identifying it in terms of HTML tags or other type of data. So is there no need of string comparison of actual HTML tags ? THanks & Regards Niile

Re: [webkit-dev] Keyboard shortcuts in Web Inspector?

2009-02-09 Thread Daniel Gackle
Thank you for the reply. I filed a bug as you suggested. By the way, the debugger works great otherwise. I've been having all kinds of trouble with Firebug's, and if it weren't for the keyboard shortcuts I'd switch altogether. On Mon, Feb 9, 2009 at 7:58 AM, Adam Roben wrote: > Hi Daniel- > >

Re: [webkit-dev] Grammer for html parsing

2009-02-09 Thread Darin Adler
On Feb 9, 2009, at 3:58 AM, Nilesh Patil wrote: I need to know where does grammer for html Parser has been defined in webkit. Is it a string based comparison directly with tags or done any other way? The source files are HTMLTokenizer.cpp and HTMLParser.cpp. It doesn’t use a parser genera

Re: [webkit-dev] webkit-dev Digest, Vol 45, Issue 9

2009-02-09 Thread Gustavo Noronha
Hey, On Mon, 2009-02-09 at 21:21 +0530, Veerabhadra Sheelavant wrote: > The back end I am using is not Soup. I am using CURL CURL is being deprecated and will be removed in the GTK+ port; we're going to focus on Soup. See you, -- Gustavo Noronha GNOME contributor

Re: [webkit-dev] Keyboard shortcuts in Web Inspector?

2009-02-09 Thread Adam Roben
Hi Daniel- On Feb 8, 2009, at 4:02 PM, Daniel Gackle wrote: (I haven't posted before, and am not sure this is the right place for my question. If it isn't, please direct me elsewhere.) This mailing list is an OK place for a question such as this. I'm getting familiar with the debugger in We

Re: [webkit-dev] webkit-dev Digest, Vol 45, Issue 9

2009-02-09 Thread Veerabhadra Sheelavant
Hi, The back end I am using is not Soup. I am using CURL rgds, Veer Message: 9 Date: Mon, 09 Feb 2009 12:23:10 -0200 From: Gustavo Noronha Subject: Re: [webkit-dev] Cookies in GTK To: "webkit-dev@lists.webkit.org" Message-ID: <1234189390.5036.11.ca...@abacate.horta> Content-Type: text/pl

Re: [webkit-dev] Curl Cookie Handling

2009-02-09 Thread Julien Chaffraix
Hi, > I have Integrated the patch given in > https://bugs.webkit.org/show_bug.cgi?id=14730 on webkit r36766 with > additions on SQLITE db calls As you have seen this patch is not integrated and is a year old. As a result, it may have rotten (the code has changed and some assertions I made are no

Re: [webkit-dev] Cookies in GTK

2009-02-09 Thread Gustavo Noronha
On Mon, 2009-02-09 at 17:13 +0530, Veerabhadra Sheelavant wrote: > Now I want to enhance it , I want enable/disable Cookies. I want also to show > the list of Cookies. > Please tell mw how can I achive this feature... Cookies are handled by Soup for the GTK+ port. You will want to track this need

Re: [webkit-dev] Why does this code crash (jsString() call)

2009-02-09 Thread Alexander Vassilev
Here are some more clues : > JSC::JSLock lock(false); > > QWebFrame* frame = > qobject_cast(webView->page()->mainFrame()); > > //QWebFrame::getWebCoreFrame() is added by me to access webkit directly, the > implementation of that method > //returns d->frame > WebCore::Frame* f = fr

[webkit-dev] Curl Cookie Handling

2009-02-09 Thread mwas
Hi, I have Integrated the patch given in https://bugs.webkit.org/show_bug.cgi?id=14730 on webkit r36766 with additions on SQLITE db calls The patch does not work on www.facebook.com and results an inconsistent crashes / memory corruptions. Here is the snapshot of what valgrind has: 833 ==30082

[webkit-dev] Why does this code crash (jsString() call)

2009-02-09 Thread Alexander Vassilev
Hi all, Can someone please tell me why this code crashes (Qt 4.5, platform win32-g++, Windows XP SP2): JSC::JSLock lock(false); QWebFrame* frame = qobject_cast(webView->page()->mainFrame()); //QWebFrame::getWebCoreFrame() is added by me to access webkit directly, the implementation o

[webkit-dev] Grammer for html parsing

2009-02-09 Thread Nilesh Patil
Hi I need to know where does grammer for html Parser has been defined in webkit. Is it a string based comparison directly with tags or done any other way? Thanks in advance Thanks & Regards Niilesh ___ webkit-dev mailing list webkit-dev@lists.webkit.or

[webkit-dev] Cookies in GTK

2009-02-09 Thread Veerabhadra Sheelavant
Hi , I have written simple browser application using Webkit on linux. The browser is up and running. Now I want to enhance it , I want enable/disable Cookies. I want also to show the list of Cookies. Please tell mw how can I achive this feature... thanks in advance.. Regards, Veeru "DISCLAI

[webkit-dev] opening webkit in new window

2009-02-09 Thread nina08
I want to open WebKit for some URLs in a new window, I found some discussions in the mailinglist, but I can't do it , I look at the code of FrameLoader.cpp and FrameLoaderClientGtk.cpp, Also I applied the "Proposed patch" http://bugs.webkit.org/attachment.cgi?id=19530&action=view . After app