Re: [webkit-dev] C++ API access to DOM tree [Win32]

2008-12-09 Thread lkcl
Nirman Kumar wrote: Hi, how can I access the DOM from C++ APIs on Windows. Many methods like nirman, hi, if you don't mind it being a _little_ bit awkward, use the gobject c-based bindings: at least they're reasonably complete. i've just been sending samples to the list.

[webkit-dev] globals and guidelines

2008-12-09 Thread Cary Clark
Global variables aren't discussed here: http://webkit.org/coding/coding-style.html In sources, I see: gX.. WebCore/rendering/RenderLayer.h:138:static const ScrollAlignment gAlignCenterIfNeeded; s_x.. WebCore/rendering/RenderObject.h:964:static bool s_affectsParentBlock; AxBx..

Re: [webkit-dev] globals and guidelines

2008-12-09 Thread David Kilzer
Hi Cary, There currently isn't a convention. It would be great if you filed a bug on https://bugs.webkit.org/ to update the coding-style guidelines (and provided a patch if you have an opinion on the matter). Thanks! Dave From: Cary Clark [EMAIL

Re: [webkit-dev] globals and guidelines

2008-12-09 Thread David Kilzer
And by a patch I meant a patch to coding-style.html, not to change every static variable (yet :). Dave From: David Kilzer [EMAIL PROTECTED] To: Cary Clark [EMAIL PROTECTED] Cc: webkit-dev@lists.webkit.org Sent: Tuesday, December 9, 2008 12:51:57 PM Subject:

Re: [webkit-dev] globals and guidelines

2008-12-09 Thread David Hyatt
This is an area where we haven't settled on a convention yet, which is why you see these inconsistencies. At various times I've used gXXX as well as s_. My own preference is for gXXX, even though it isn't particularly consistent with the m_XXX member variable convention. dave On

Re: [webkit-dev] [GTK] Segment fault when I run Gtklauncher

2008-12-09 Thread Diego Gonzalez
Hi All, I also got a segmentation fault running GtkLauncher at revision 39131. I had the following back trace: #0 0xb7da7ce7 in JSC::Interpreter::cti_op_call_JSFunction () from /home/diegohcg/Devel/bb-browser/gtk/webkit/.libs/libwebkit-1.0.so.1 #1 0xb436a078 in ?? () #2 0xb7d5c720 in

Re: [webkit-dev] [GTK] Segment fault when I run Gtklauncher

2008-12-09 Thread Mark Rowe
I believe that Gavin fixed this in http://trac.webkit.org/changeset/39161 . - Mark On Dec 9, 2008, at 2:45 PM, Diego Gonzalez wrote: Hi All, I also got a segmentation fault running GtkLauncher at revision 39131. I had the following back trace: #0 0xb7da7ce7 in

[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

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

2008-12-09 Thread Dan Bernstein
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 , how does it determine when to break a paragraph into multiple lines of text? Thank you. Line layout is implemented in

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 , how does it determine when to break a paragraph into multiple

[webkit-dev] Set up the desktop widget engine like Yahoo widget engine based on webkit

2008-12-09 Thread Chen Ren Lei
Dear experts, I am a newbie for webkit, and I am willing to set up the desktop widget engine like Yahoo widget engine based on webkit on Linux plaform, may you give me some suggestions? BRs, Rl ___ webkit-dev mailing list webkit-dev@lists.webkit.org

Re: [webkit-dev] [GTK] Segment fault when I run Gtklauncher

2008-12-09 Thread sMiLo
I confirmed it. Thank you for your help! :) 2008/12/10 Mark Rowe [EMAIL PROTECTED] I believe that Gavin fixed this in http://trac.webkit.org/changeset/39161 . - Mark On Dec 9, 2008, at 2:45 PM, Diego Gonzalez wrote: Hi All, I also got a segmentation fault running GtkLauncher at

[webkit-dev] How does the GTK call Webkit

2008-12-09 Thread Chen Ren Lei
Dear experts, I am newbie to Webkit, GTK and QT, could you tell me how the GTK use Webkit? Or what is the relationship between GTK/QT and Webkit? BRs, Rl ___ webkit-dev mailing list webkit-dev@lists.webkit.org

Re: [webkit-dev] How does the GTK call Webkit

2008-12-09 Thread Ariya Hidayat
On Wednesday 10 December 2008 08:14:36 am Chen Ren Lei wrote: Dear experts, I am newbie to Webkit, GTK and QT, could you tell me how the GTK use Webkit? Or what is the relationship between GTK/QT and Webkit? You might need to work it out by yourself, but here are links to help you start with

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

2008-12-09 Thread Ariya Hidayat
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 start by following the code in WebCore::Frame::setZoomFactor() function. It is in