[webkit-dev] Graphics library WebKit gtk port uses

2009-06-08 Thread Daniel Dreiberg
Hi, Can you please tell me which Graphics library WebKit gtk port uses to paint on Screen (think like text, line, rectangle, etc, etc). And which font library that it (Webkit gtk port) uses? e.g. it needs to load the font the page uses (using css) to render the paragraph of text on screen? Thank

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Luke Kenneth Casson Leighton
[taking this discussion onto webkit-dev for the benefit of other people who may wish to use the glib / gobject bindings in the future] On 6/6/09, Leon Winter wrote: > Hi, > > @Luke: how is XPath supposed to work? > > GdomXPathResult *res; > GdomXPathEvaluator evaluator; > char *exp = "/

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Leon Winter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > > GdomXPathNSResolver *resolver = > gdom_x_path_evaluator_create_ns_resolver(doc, body); > > l. Yeah minor mistake from my side (sorry for that), anyway it segfaults since we cannot initialize GdomXPathEvaluator (as told before). Regards, Leon W

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Leon Winter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon Winter wrote: > Hi, >> GdomXPathNSResolver *resolver = >> gdom_x_path_evaluator_create_ns_resolver(doc, body); > >> l. > Yeah minor mistake from my side (sorry for that), anyway it > segfaults since we cannot initialize GdomXPathEvaluator (as told

Re: [webkit-dev] Graphics library WebKit gtk port uses

2009-06-08 Thread Niklas Nylund
Can you please tell me which Graphics library WebKit gtk port uses to paint on Screen (think like text, line, rectangle, etc, etc). And which font library that it (Webkit gtk port) uses? e.g. it needs to load the font the page uses (using css) to render the paragraph of text on screen?

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Luke Kenneth Casson Leighton
On 6/8/09, Leon Winter wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > > > > GdomXPathNSResolver *resolver = > > gdom_x_path_evaluator_create_ns_resolver(doc, body); > > > > l. > > Yeah minor mistake from my side (sorry for that), anyway it segfaults > since we cannot i

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Luke Kenneth Casson Leighton
On 6/8/09, Leon Winter wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > Leon Winter wrote: > > Hi, > >> GdomXPathNSResolver *resolver = > >> gdom_x_path_evaluator_create_ns_resolver(doc, body); > > > >> l. > > Yeah minor mistake from my side (sorry for that), anyway it > > se

Re: [webkit-dev] Identifying Views / Windows inside

2009-06-08 Thread Jack Wootton
On Fri, Jun 5, 2009 at 5:27 PM, Darin Adler wrote: > On Jun 5, 2009, at 1:41 AM, Jack Wootton wrote: > >> 1. Does it have to be static? > > No. > > This is not a JavaScriptCore or WebKit question but a C language question. > The keyword "static" makes the function have internal linkage. You can rea

[webkit-dev] asynchronous function question

2009-06-08 Thread Jack Wootton
Hi all, Assuming I have a JS function: x(); And it has a corresponding C implementation, by setting JSObjectCallAsFunctionCallback. The C function has the following signature: JSValueRef X_imp(JSContextRef ctx, JSObjectRef function,

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Leon Winter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > not being funny or anything, but are you _sure_ you need a > GdomXPathEvaluator object? > > if you look in GdomDocument.h, yo can see this: > > WEBKIT_API GdomXPathResult * > gdom_document_evaluate (GdomDocument *thiz, gchar * expression, > Gdom

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Luke Kenneth Casson Leighton
> Well I tried: > > > GdomXPathResult *res; > char* exp = "//html:select"; > GdomDocument *doc = get_dom_document(); > GdomNodeList *els = gdom_document_get_elements_by_tag_name(doc, > "body"); > GdomNode *body = gdom_node_list_item(els, 0); > GdomXPathNSResolver *resolver

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Luke Kenneth Casson Leighton
On 6/8/09, Luke Kenneth Casson Leighton wrote: > > Well I tried: > > > > > > GdomXPathResult *res; > > char* exp = "//html:select"; > > GdomDocument *doc = get_dom_document(); > > GdomNodeList *els = gdom_document_get_elements_by_tag_name(doc, > > "body"); > > GdomNode

[webkit-dev] JSValueRef question

2009-06-08 Thread Jack Wootton
Hello, I'm attempting to return an object from C to JS using JSValueRef. The documentation for JSValueRef lists the following function JSObjectRef JSValueToObject( JSContextRef ctx, JSValueRef value, JSValueRef *exception); I wish to do the opposite, since I imagine I would create a

Re: [webkit-dev] How to disable webkit image loading

2009-06-08 Thread Zongheng Zhou
I have the same issue, and I am using Solaris. Do you know how to disable the image loading? Thanks. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Re: [webkit-dev] How to disable webkit image loading

2009-06-08 Thread Holger Freyther
On Monday 08 June 2009 18:46:07 Zongheng Zhou wrote: > I have the same issue, and I am using Solaris. Do you know how to disable > the image loading? Thanks. Qt or Gtk+. But in both cases there is a *Settings class... and you can consult the API documentation... for Qt[1] for Gtk+[2]. z. [1] ht

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Luke Kenneth Casson Leighton
> from a random google search, leading to this: > http://www.faqts.com/knowledge_base/view.phtml/aid/34022 > > a code snippet is this: > > // test with no prefix doesn't find nodes: > var xpathResult = xmlDocument.evaluate( > "//element", > xmlDocument, > null, > XPathResult.ORDERED_NOD

Re: [webkit-dev] gdom_x_path_evaluator_create_ns_resolver [was: webkit #16401]

2009-06-08 Thread Leon Winter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luke Kenneth Casson Leighton wrote: >> from a random google search, leading to this: >> http://www.faqts.com/knowledge_base/view.phtml/aid/34022 >> >> a code snippet is this: >> >> // test with no prefix doesn't find nodes: >> var xpathResult = xml

[webkit-dev] How to cross compile Webkit_Qt into MIPS target board?

2009-06-08 Thread deuxliquid
Hi all, I am finding out the way to cross compile Qt into MIPS. Someone can help me or give me some ideas? Below are my simple steps and concepts: I have a computer (host) and a target board. My host is X86 processor but target board is MIPS processor. I connect the host to the target board via

[webkit-dev] Crashes are mine

2009-06-08 Thread Dimitri Glazkov
The recent crashes in layout tests are mine. Will fix before the end of the day. :DG< ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Re: [webkit-dev] to reitveld or not to reitveld

2009-06-08 Thread John Abd-El-Malek
On Mon, Jun 8, 2009 at 5:15 PM, Eric Seidel wrote: > At least one person has tried to tie review-board with bugzilla: > > http://www.visophyte.org/blog/2009/03/20/using-review-board-for-bugzilla-request-queues-reviews/ > > I expect that we'd have to hack review board to do bugzilla-based > authen

[webkit-dev] Building Dumprendertree error msg- error result 1 returned from C:\WINDOWS\system32\cmd.exe

2009-06-08 Thread Subramanya
Hi, I have sucessfully built webkit( rev 44518) on windows xp along with visual studio 2005 sp1. When I try to build dumprendertree in WebkitTools from visual studio 2005 sp1, I get the message- error result1 returned from C:\WINDOWS\system32\cmd.exe .What could be causing this error? I also went