[webkit-dev] Segmentation fault when exit GtkLauncher

2009-01-13 Thread ying lcs
Hi, I always get a Segmentation fault when I exit GtkLauncher (click the close bottom of the application window). Attached is the stack trace. Has anyone see the same issue? Thank you. (../../WebCore/page/Page.cpp:251 void WebCore::Page::initGroup()) Program received signal SIGSEGV, Segment

Re: [webkit-dev] Segmentation fault when exit GtkLauncher

2009-01-14 Thread ying lcs
Thank you. Can you please tell me how to get the fix? On Tue, Jan 13, 2009 at 6:13 PM, Holger Freyther wrote: > On Tuesday 13 January 2009 23:07:23 ying lcs wrote: >> Hi, >> >> I always get a Segmentation fault when I exit GtkLauncher (click the >> close botto

[webkit-dev] How can I compile WebKit on Mac

2009-01-26 Thread ying lcs
Hi, Can you please tell me how to compile WebKit source on Mac? I try this: /WebKit/WebKitTools/Scripts/build-webkit-bash: ./WebKit/WebKitTools/Scripts/build-webkit: No such file or directory But it said there is 'No such file or directory' Thank you for any pointers. _

[webkit-dev] Need help in running Webkit in debugger mode

2009-01-28 Thread ying lcs
HI, I am trying to run Webkit in debug under Mac, but I get the following error: $ WebKitTools/Scripts/run-safari --debug Starting Safari with DYLD_FRAMEWORK_PATH set to point to built WebKit in /Volumes/test/WebKit/WebKitBuild/Debug. 2009-01-28 10:51:04.314 Safari[36717:80f] *** CFMessagePort: b

[webkit-dev] Plugins architecture in Webkit

2009-01-30 Thread ying lcs
Hi, Can you please tell me if there is a plugins architecture for Webkit? (The one similar to Firefox). If yes, can you please tell me if there is documentation for writing plugins for Webkit? Thank you. ___ webkit-dev mailing list webkit-dev@lists.webk

[webkit-dev] How to debug Webkit in Mac using Xcode?

2009-01-31 Thread ying lcs
Hi, Can you please tell me how can I debug Webkit in Mac using Xcode? If yes, can you please tell me what are the steps? Thank you. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

[webkit-dev] Setting up Xcode for debugging webkit

2009-02-05 Thread ying lcs
I am using Xcode 3.1.2 on Mac 10.5.5. I try to setup XCode to debug webkit by following this: http://webkit.org/building/debug.html Active SDK: Use ProjectSettings Active Configuration: Debug Active Target: JavaScriptCore Active Executable: MyExecutable For step #4, I enter '/Applications/Safar

[webkit-dev] Set up Webkit under XCode in MacOS

2009-02-19 Thread ying lcs
Hi, I was able to get the Webkit code from svn and compile using command line in MacOS 10.5 But when I was following http://webkit.org/building/debug.html to setup Webkit project under MacOS, I get compile errors. Here is what i did: 1. open Webkit's XCode project 2. Add a 'new custom executabl

Re: [webkit-dev] Set up Webkit under XCode in MacOS

2009-02-20 Thread ying lcs
gt; On 2009-02-19, at 23:49, ying lcs wrote: > >> Hi, >> >> I was able to get the Webkit code from svn and compile using command >> line in MacOS 10.5 >> >> But when I was following http://webkit.org/building/debug.html to >> setup Webkit project under Ma

Re: [webkit-dev] Set up Webkit under XCode in MacOS

2009-02-20 Thread ying lcs
n Fri, Feb 20, 2009 at 12:01 PM, ying lcs wrote: > Thanks But I did follow step 2 and 3. > > I did create a custom location in build of my project info. > And I did set the active build configuration to be debug > active target to be project specific > active executabe to be cust

[webkit-dev] Which is the main of the Webkit/Webkit project

2009-02-20 Thread ying lcs
Hi, Can you please tell me where is the 'main' for the Webkit/Webkit project on Mac OS? i tried 'cd to Webkit/Webkit/mac' and did a grep, but I did not find the 'main' for the browser. Thank you for any pointers. ___ webkit-dev mailing list webkit-dev@

Re: [webkit-dev] Which is the main of the Webkit/Webkit project

2009-02-21 Thread ying lcs
Thanks. I am trying to learn Webkit code. So I figure an easier way it to run in a debugger and set breakpoints to trace the code. Can anyone give me pointers/advice regarding how to do that? Thank you. On Sat, Feb 21, 2009 at 4:59 AM, Mark Rowe wrote: > > On 2009-02-20, at 23:30, yi

Re: [webkit-dev] Which is the main of the Webkit/Webkit project

2009-02-23 Thread ying lcs
: > see WebKitTools/WebKitLauncher/main.m ... > > On Sat, Feb 21, 2009 at 3:30 PM, ying lcs wrote: >> >> Hi, >> >> Can you please tell me where is the 'main' for the Webkit/Webkit >> project on Mac OS? >> >> i tried 'cd to Webkit/We

[webkit-dev] Differences between Nitro and Squirrelfish.

2009-02-25 Thread ying lcs
Hi, Safari 4 beta has a new JS Engine called 'Nitro'. And Webkit has a new JS Engine called 'Squirrelfish'. Can you please tell me what are the differences between the 2? If Safari is based on Webkit, does it swap it own JS engine? Thank you. ___ webki

[webkit-dev] Debugging Webkit in Xcode

2009-02-27 Thread ying lcs
Hi, I am trying to follow the follow article in debugging Webkit: http://webkit.org/building/debug.html I have a question about step 4: Choose any WebKit application you want to use for debugging. To use Safari, select /Applications/Safari.app. How can I make sure I am debugging/launching the We

[webkit-dev] Where is the javascript engine code which build a call syntax tree

2009-03-08 Thread ying lcs
Hi, My understand of WebKit javascript engine is it builds a call-syntax tree and gives it to the interrupter. http://webkit.org/projects/javascript/index.html Can you please tell me where is the code which parses the js file and build a call-syntax tree? And if JavaScriptCore/interpreter/Interp

[webkit-dev] WebKit JavaScript Virtual Machine

2009-03-10 Thread ying lcs
Hi, In WebKit JavaScript Virtual Machine, what is the implementation of the virtual machine? Is that a stack based? or register based? Thank you. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit

Re: [webkit-dev] WebKit JavaScript Virtual Machine

2009-03-10 Thread ying lcs
Sorry, I found the answer. On Tue, Mar 10, 2009 at 12:12 PM, ying lcs wrote: > Hi, > > In WebKit JavaScript Virtual Machine, what is the implementation of > the virtual machine? > Is that a stack based? or register based? > > Thank you. > __

[webkit-dev] How did Android developer develop WebKit for android

2009-03-12 Thread ying lcs
Hi, I am wonder how did Android developer develop WebKit for android? Did they use XCode to develop and debug WebKit? If yes, how can they get it to run on the android emulator? Did they set a different executable mention here : http://webkit.org/building/debug.html? If yes, what should that execu

Re: [webkit-dev] How did Android developer develop WebKit for android

2009-03-12 Thread ying lcs
Thank you for the info. Can you please tell me how to 'debug android webkit on Android emulator using gdb'? I am able to build android source on my local machine (I did a make after I get the source). And the emulator I built does run. I appreciate if you can tell me how can I run gdb so that I

[webkit-dev] how does Webkit open a new window

2009-03-19 Thread ying lcs
Hi, In some sites, when users click a link, webkit will open a new window to display the content. Can you please tell me where does webkit (in the code) handle that window pops up? Thank you. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http:

[webkit-dev] How does webkit keep track of co-ordinates/dimension of each line of text in a Paragraph tag?

2009-03-29 Thread ying lcs
Hi, Can you please tell me how does webkit keep track of co-ordinates/dimension of each line of text in a Paragraph tag? For example, if I have a Paragraph of text. Web kit will split it up into multiple lines of text. How does webkit (what data-structure it uses) to keep track of each line of tex

[webkit-dev] What is the difference between CSSStyleDeclaration and RenderStyle

2009-03-30 Thread ying lcs
Hi, It said "During attachment the DOM queries CSS to obtain style information for an element. The resultant information is stored in an object called a RenderStyle." But what is the difference between CSSStyleDeclaration and RenderStyle in Webkit? I assume Webkit will parse CSS files into CSSSty

[webkit-dev] how does Webkit handle font

2009-04-20 Thread ying lcs
Hi, Can you please tell me how does Webkit handle font? (e.g. which files I should look at) e.g. css can specify a particular font for a paragraph , where/how does Webkit load the font from the OS (or how does it know the font actually exists? Thank you. __

[webkit-dev] Webkit on MacOS 10.5.7

2009-05-14 Thread ying lcs
Hi, Does anyone expect WebKit crashes on MacOS 10.5.7? I load 'www.yahoo.com' and 'www.nytimes' after I checkout and built from trunk, they both crash the browser. I wonder if that has anything to do with MacOS 10.5.7 (I upgrade to that last night), and I see even my Safari 4.0 beta crashes more o

Re: [webkit-dev] Webkit on MacOS 10.5.7

2009-05-14 Thread ying lcs
On Thu, May 14, 2009 at 5:09 PM, Adam Roben wrote: > On May 14, 2009, at 7:35 PM, ying lcs wrote: > >> Hi, >> >> Does anyone expect WebKit crashes on MacOS 10.5.7? >> I load 'www.yahoo.com' and 'www.nytimes' after I checkout and built >>

Re: [webkit-dev] Webkit on MacOS 10.5.7

2009-05-14 Thread ying lcs
On Thu, May 14, 2009 at 9:16 PM, ying lcs wrote: > On Thu, May 14, 2009 at 5:09 PM, Adam Roben wrote: >> On May 14, 2009, at 7:35 PM, ying lcs wrote: >> >>> Hi, >>> >>> Does anyone expect WebKit crashes on MacOS 10.5.7? >>> I load 'www

[webkit-dev] WebCore rendering questions

2009-05-26 Thread ying lcs
Hi, In here http://webkit.org/blog/114/webcore-rendering-i-the-basics/, it talks about DOM tree and Render tree. Can you please tell me does it mean for each DOM element, * there will be a Render Object (1-to-1 mapping)? What about invisible element? e.g. * does each DOM element will have it uniq

[webkit-dev] Attach/Detach RenderTree

2010-01-26 Thread ying lcs
Hi, I have read this blog regarding creating/destorying RenderTree http://webkit.org/blog/114/webcore-rendering-i-the-basics/ To reduce memory usage when user have navigated multiple pages, I am thinking if it is a good idea to * whenever user clicks 'back', detach the whole RenderTree, so that a

[webkit-dev] How to get SquirrelFish on linux

2008-06-05 Thread ying lcs
Hi, I tried the step from http://live.gnome.org/WebKitGtk : Check out using GIT (large download, advanced users only) * git clone git://git.webkit.org/WebKit.git WebKit To get the webkit source code. Can you please tell me if i get the latest JavaScript engine (SquirrelFish) in Webkit?

[webkit-dev] Get SquirrelFish for Webkit in linux

2008-06-08 Thread ying lcs
Hi, I tried the step from http://live.gnome.org/WebKitGtk : Check out using GIT (large download, advanced users only) * git clone git://git.webkit.org/WebKit.git WebKit To get the webkit source code. Can you please tell me if i get the latest JavaScript engine (SquirrelFish) in Webkit?

Re: [webkit-dev] Get SquirrelFish for Webkit in linux

2008-06-08 Thread ying lcs
On Sun, Jun 8, 2008 at 8:20 PM, Matt Lilek <[EMAIL PROTECTED]> wrote: > On Jun 8, 2008, at 8:10 PM, ying lcs wrote: > >> Hi, >> >> I tried the step from http://live.gnome.org/WebKitGtk : >> >> Check out using GIT (large download, advanced users only) &

Re: [webkit-dev] Get SquirrelFish for Webkit in linux

2008-06-08 Thread ying lcs
On Mon, Jun 9, 2008 at 12:18 AM, zaheer ahmad <[EMAIL PROTECTED]> wrote: > Are you using a proxy to connect to nw? we have seen that gmail does not > open with a proxy. > > thanks > > On Mon, Jun 9, 2008 at 10:04 AM, ying lcs <[EMAIL PROTECTED]> wrote: >> >

[webkit-dev] SquirrelFish Extreme in WebKitGtk

2008-09-20 Thread ying lcs
Hi, i follow the procedure here git clone git://git.webkit.org/WebKit.git WebKit to get WebKitGtk Can you please tell me how can I get SquirrelFish Extreme that mention in "http://apple.slashdot.org/article.pl?sid=08/09/19/2315247&from=rss";? Thank you. _

[webkit-dev] SquirrelFish in WebKitGtk

2008-11-27 Thread ying lcs
If I get the source for WebKitGtk, using the documentation described here: http://live.gnome.org/WebKitGtk Does it have SquirrelFish? Thank you for any help. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listin

Re: [webkit-dev] SquirrelFish in WebKitGtk

2008-11-28 Thread ying lcs
Thanks. When I 'make' the Gtk Webkit (from the trunk I got yesterday), does it enable SquirrelFish by default? On Fri, Nov 28, 2008 at 5:37 AM, Kalle Vahlman <[EMAIL PROTECTED]> wrote: > 2008/11/28 ying lcs <[EMAIL PROTECTED]>: >> If I get the source for Web

[webkit-dev] How to enable Inspector in Webkit/GTK

2008-11-28 Thread ying lcs
>From this entry, it said Inspector is ported to Webkit/GTK http://blog.kov.eti.br/?p=25 Can you please tell me how can I enable it? Thank you. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-

Re: [webkit-dev] How to enable Inspector in Webkit/GTK

2008-11-29 Thread ying lcs
On Sat, Nov 29, 2008 at 3:29 AM, Kalle Vahlman <[EMAIL PROTECTED]> wrote: > 2008/11/29 ying lcs <[EMAIL PROTECTED]>: >> >From this entry, it said Inspector is ported to Webkit/GTK >> http://blog.kov.eti.br/?p=25 >> >> Can you please tell me how can I enab

Re: [webkit-dev] How to enable Inspector in Webkit/GTK

2008-11-29 Thread ying lcs
On Sat, Nov 29, 2008 at 3:29 AM, Kalle Vahlman <[EMAIL PROTECTED]> wrote: > 2008/11/29 ying lcs <[EMAIL PROTECTED]>: >> >From this entry, it said Inspector is ported to Webkit/GTK >> http://blog.kov.eti.br/?p=25 >> >> Can you please tell me how can I enab

Re: [webkit-dev] How to enable Inspector in Webkit/GTK

2008-11-30 Thread ying lcs
ote: > On Sunday 30 November 2008 06:58:27 ying lcs wrote: > > Ni-Hao Ying, > > why do you want to apply the patch? If you go to the related bug report [1] > you see that the bug is closed and if you look at the last comment you also > see the revision it was applied at.

[webkit-dev] Need help in understanding web kit

2008-12-09 Thread ying lcs
Hi, Can you please point me to the part of Webkit rendering code where it does text wrapping? for example , how does it determine when to break a paragraph into multiple lines of text? Thank you. ___ webkit-dev mailing list webkit-dev@lists.webkit.org h

Re: [webkit-dev] Need help in understanding web kit

2008-12-09 Thread ying lcs
On Wed, Dec 10, 2008 at 12:22 AM, Dan Bernstein <[EMAIL PROTECTED]> wrote: > > On Dec 9, 2008, at 10:19 PM, ying lcs wrote: > >> Hi, >> >> Can you please point me to the part of Webkit rendering code where it >> does text wrapping? >> for example , ho

Re: [webkit-dev] Need help in understanding web kit

2008-12-10 Thread ying lcs
On Wed, Dec 10, 2008 at 1:50 AM, Ariya Hidayat <[EMAIL PROTECTED]> wrote: > >> Thank you. I have another question: Does Webkit has page zoom in / >> out feature? The andriod 's Web kit has such feature. Can you please >> tell me where in the code which implement that functionality? > > You can st

[webkit-dev] How does WebKit draw an underline when an anchor has the mouse focus?

2008-12-11 Thread ying lcs
Hi, When I move my mouse over an anchor, webkit draws an underline for each line of the text of the anchor. For example, in nytimes.com. Can you please point me to the code where webkit figures out how many lines it needs to draw (1 line for each line of text) and how long of each line need to b

[webkit-dev] How to run GtkLauncher in a debugger

2008-12-13 Thread ying lcs
Hi, I am running the Gtk port of webkit under linux. I run my problem like this : "./Program/GtkLauncher" Can you please tell me How to run GtkLauncher in a debugger (gdb)? Thank you. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.

Re: [webkit-dev] How to run GtkLauncher in a debugger

2008-12-13 Thread ying lcs
On Sat, Dec 13, 2008 at 2:06 PM, ying lcs wrote: > Hi, > > I am running the Gtk port of webkit under linux. I run my problem like > this : "./Program/GtkLauncher" > Can you please tell me How to run GtkLauncher in a debugger (gdb)? > > Thank you. > I

Re: [webkit-dev] How to run GtkLauncher in a debugger

2008-12-13 Thread ying lcs
On Sat, Dec 13, 2008 at 2:10 PM, ying lcs wrote: > On Sat, Dec 13, 2008 at 2:06 PM, ying lcs wrote: >> Hi, >> >> I am running the Gtk port of webkit under linux. I run my problem like >> this : "./Program/GtkLauncher" >> Can you please tell m

Re: [webkit-dev] How to run GtkLauncher in a debugger

2008-12-13 Thread ying lcs
On Sat, Dec 13, 2008 at 2:13 PM, ying lcs wrote: > On Sat, Dec 13, 2008 at 2:10 PM, ying lcs wrote: >> On Sat, Dec 13, 2008 at 2:06 PM, ying lcs wrote: >>> Hi, >>> >>> I am running the Gtk port of webkit under linux. I run my problem like >>> this

Re: [webkit-dev] How to run GtkLauncher in a debugger

2008-12-13 Thread ying lcs
led, you can easy compile in debug mode with: > WebKitTools/Scripts/build-webkit --gtk --debug > > Zoltan > > ying lcs wrote at: 2008. 12. 13. 21.13.: >> On Sat, Dec 13, 2008 at 2:10 PM, ying lcs wrote: >> > On Sat, Dec 13, 2008 at 2:06 PM, ying lcs wrote: >> >>

Re: [webkit-dev] How to run GtkLauncher in a debugger

2008-12-14 Thread ying lcs
On Sun, Dec 14, 2008 at 6:28 AM, Holger Freyther wrote: > On Sunday 14 December 2008 12:29:13 ying lcs wrote: >> Zoltan, >> >> Thank you for your help. Yes, GtkLauncher does start (loads www.google.com) > > Welcome to libtool. The executable is within the .libs/ direct

Re: [webkit-dev] How to run GtkLauncher in a debugger

2008-12-14 Thread ying lcs
tput of > the "file /media/olddata/WebKit/WebKitBuild/Debug/Programs/GtkLauncher" > command. > > Zoltan > > ying lcs wrote at: 2008. 12. 14. 06.05.: >> Zoltan, >> >> Thank you for your help. I

[webkit-dev] How webkit on android implements magnifying glass?

2008-12-17 Thread ying lcs
Hi, In webkit on android, it has a 'magnifying glass' feature: in the zoom out view, it has a viewing rectangle which shows the content in 100%. Can you please point to me where is the code how webkit on android implements magnifying glass? or what possible function it needs to call in order to