Re: [webkit-dev] Is it possible to block webkit_web_view_load_html_string() until the content is actually loaded?

2009-05-04 Thread Holger Freyther
On Monday 04 May 2009 06:36:46 Zhe Su wrote: Hi, I'm writing an application which uses webkit to display some html content. webkit_web_view_load_html_string() is used to set content into webkit. I found this function will return before the content is actually loaded, then webkit will load

Re: [webkit-dev] Is it possible to block webkit_web_view_load_html_string() until the content is actually loaded?

2009-05-04 Thread Zhe Su
It works. Thanks a lot. On Mon, May 4, 2009 at 4:33 PM, Holger Freyther ze...@selfish.org wrote: On Monday 04 May 2009 06:36:46 Zhe Su wrote: Hi, I'm writing an application which uses webkit to display some html content. webkit_web_view_load_html_string() is used to set content into

Re: [webkit-dev] Proposal for a new way to handle porting #ifdefs

2009-05-04 Thread Mario Bensi
We pursued the same goal for a couple of years. Since our porting targets are various middleware CE platforms, we had to identify and adapt WebKit needs at a better grained level than platform. In order to do this we collected all dependencies in a Browser Abstraction Layer (BAL directory).

[webkit-dev] link-following feature for our new webkit browser

2009-05-04 Thread Jan
Hi there, I'm contributing to a project called uzbl [1]. It uses webkit(gtk) to render content. I tinker on a follow-link feature, which should provide a keyboard driven link navigation, very similar to the firefox plugin Hit-a-Hint [2] or Vimperator [3]. Since GObject/C DOM bindings probably take

[webkit-dev] Printing using WebKit on Windows

2009-05-04 Thread straveu
Hello I want to use WebKit for printing HTML files. Are there any exported DLL functions for this (including page setup)? Or maybe this is possible using ActiveX? Thanks, Pawel ___ webkit-dev mailing list webkit-dev@lists.webkit.org

Re: [webkit-dev] link-following feature for our new webkit browser.

2009-05-04 Thread Alexey Proskuryakov
04.05.2009, в 17:19, Jan Kolkmeier написал(а): 2. Go to link $i: window.location = document.links[i].href; This isn't nice at all, because it doesn't work with ajax-ish web pages. As already asked on IRC, could please clarify what you mean by doesn't work? In particular, the following

[webkit-dev] link-following feature for our new webkit browser.

2009-05-04 Thread Jan Kolkmeier
Hi there, I'm contributing to a project called uzbl [1]. It uses webkit(gtk) to render content and follows the unix philosophy. I tinker on a follow-link feature, which should provide a keyboard driven link navigation, very similar to the firefox plugin Hit-a-Hint [2] or Vimperator [3]. Since

[webkit-dev] when can I treat a JSValueRef as a JSObjectRef?

2009-05-04 Thread Patrick Mueller
Since JSValueRef and JSObjectRef are typedef's to the same OpaqueJSValue structure (pointer), it appears you could almost use them in the same contexts. And if fact, it appears you can use a JSObjectRef wherever a JSValueRef is defined in the API. And you can sometimes use a JSValueRef

Re: [webkit-dev] when can I treat a JSValueRef as a JSObjectRef?

2009-05-04 Thread Darin Adler
On May 4, 2009, at 10:17 AM, Patrick Mueller wrote: Since JSValueRef and JSObjectRef are typedef's to the same OpaqueJSValue structure (pointer) It’s easy to get the wrong idea about this by looking at the implementation. These two typedefs use the same structure, but they use const in

Re: [webkit-dev] when can I treat a JSValueRef as a JSObjectRef?

2009-05-04 Thread Patrick Mueller
Darin Adler wrote: What documentation were you reading? Since WebKit is an open source project, if you have improvements to, say, the comments in the header, you can submit them as a patch. Most of the mechanics are covered at http://webkit.org/coding/contributing.html, although some of the

Re: [webkit-dev] when can I treat a JSValueRef as a JSObjectRef?

2009-05-04 Thread Darin Adler
On May 4, 2009, at 10:53 AM, Patrick Mueller wrote: The docs I was reading were in fact the Apple docs I believe the document you cited is automatically generated from the comments in the JavaScriptCore headers. So if we improve the documentation comments in the headers in the WebKit open

Re: [webkit-dev] Where should design descussions take place? (WAS: Bug 25436: Refactor appCache for use in multi-process browsers)

2009-05-04 Thread Jeremy Orlow
That makes perfect sense. Sorry about the confusion. :-) J On Sat, May 2, 2009 at 3:55 PM, Maciej Stachowiak m...@apple.com wrote: On May 1, 2009, at 1:15 PM, Jeremy Orlow wrote: For context, the discussion started here: https://bugs.webkit.org/show_bug.cgi?id=25436 Alexey Proskuryakov

Re: [webkit-dev] Notifications API for workers

2009-05-04 Thread John Gregg
Thanks Maciej for the feedback. We are definitely concerned with making this feature resistant to abuse, since everyone agrees we don't want to create another class of annoying or insecure pop-ups. A good amount of thought has preceded the code, although I probably didn't coordinate the

Re: [webkit-dev] link-following feature for our new webkit browser.

2009-05-04 Thread Jan Kolkmeier
Sorry i must have missed that on irc. I can't verify now that your examples don't work - but i can verify that links with onclick=... attributes don't work as expected - this makes my first try unusable already :(. PS: Sorry for posting this topic twice - i expected my own topic being mailed back

Re: [webkit-dev] Proposal for a new way to handle porting #ifdefs

2009-05-04 Thread George Staikos
I really like this and it goes in the direction that I was hoping for as well. Hopefully we can get the WINCE port merged upstream before we make this change. :-) Some comments I have: 1) In some cases some things apply to more than one OS so we have: #if OS(x) || OS(y) || OS(z) ... I

[webkit-dev] Re gular safari browser opens when you run Webkit/WebkitTools/Scripts/run-safari in cygwin

2009-05-04 Thread Subramanya
Hi, I followed the instructions in www.webkit.org to install Webkit framework on a Win Xp system. Installed developer tools, checked out the code and built webkit.The build was sucessful with the message Build: 18 succeeded, 0 failed, 0 up-to-date, 0 skipped But when i run the

Re: [webkit-dev] Re gular safari browser opens when you run Webkit/WebkitTools/Scripts/run-safari in cygwin

2009-05-04 Thread Adam Roben
On May 5, 2009, at 1:04 AM, Subramanya wrote: But when i run the command Webkit/WebkitTools/Scripts/run-safari it opens up the regular safari browser without the golden rimmed icon. We don't use the gold compass icon on Windows, even when running a custom version of WebKit.