Re: [webkit-dev] embedding WebKit in MFC application
Hi Martin, On Tue, Apr 14, 2009 at 8:35 AM, Martin Račko rack...@gmail.com wrote: I would like to create an MFC (Win32 API alternatively) application with WebKit embedded. I'm afraid you are not going to be able to do so using the stock WebKit project. Apple does not provide a license option for their CoreGraphics, CoreFoundation, and CFNetwork libraries, which are needed to build and run WebKit on Windows. Because of this, I worked to revive the original Apple Cairo version of WebKit. These changes are nearly all in the main tree (I have to finish a few small changes), and are being successfully used by several people (including the Appcelerator team). Depending on what you want to do, you might consider just using the Appcelerator package, as building WebKit and integrating it in an MFC application is not well documented. I created a sample MFC application based on one of the Apple example programs a month or so ago, and posted a link to it on my blog (http://lwat.blogspot.com). I don't have a direct link handy -- sorry! Good luck, -Brent ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] content-disposition, utf-8 and webkit
On 14-Apr-2009, at 18:02, Andre-John Mas wrote: On 13-Apr-2009, at 09:36, Dan Winship wrote: Andre-John Mas wrote: Hi, I am using the Webkit nightlies on MacOS X, and I noticed that the following header doesn't seem to give the expected results: content-disposition: inline; filename*=utf-8''%E8%92%99%E7%89%B9%E5%88%A9%E5%B0%94.vcf In Firefox it provides me a filename with Chinese characters in it. Safari/WebKit defaults to using the file name of the java servlet that was called. So, given a servlet URL: http://localhost/myservlet.do Firefox: 蒙特利尔.vcf Safari/Webkit: myservlet.do Note that that header is syntactically incorrect; it should not have double-quotes around the value. If you do: Content-Disposition: inline; filename*=utf-8''%E8%92%99%E7%89%B9%E5%88%A9%E5%B0%94.vcf (except not line-wrapped like that) then it might work in Safari as well. (The Safari devs might consider this a bug anyway given that it works with the quotes in Firefox though.) Radar ticket is 6783583 ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] embedding WebKit in MFC application
On 14-Apr-2009, at 12:48, Brent Fulgham wrote: Hi Martin, On Tue, Apr 14, 2009 at 8:35 AM, Martin Račko rack...@gmail.com wrote: I would like to create an MFC (Win32 API alternatively) application with WebKit embedded. I'm afraid you are not going to be able to do so using the stock WebKit project. Apple does not provide a license option for their CoreGraphics, CoreFoundation, and CFNetwork libraries, which are needed to build and run WebKit on Windows. Because of this, I worked to revive the original Apple Cairo version of WebKit. These changes are nearly all in the main tree (I have to finish a few small changes), and are being successfully used by several people (including the Appcelerator team). Depending on what you want to do, you might consider just using the Appcelerator package, as building WebKit and integrating it in an MFC application is not well documented. I created a sample MFC application based on one of the Apple example programs a month or so ago, and posted a link to it on my blog (http://lwat.blogspot.com). I don't have a direct link handy -- sorry! Would any of the work that allowed WebKit to work with Chrome benefit this, since this does work on Windows? André-John ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] Getting body height within iframe?
Hi, If we have an iframe with height L and its contents have height S where S L is there a way to get the height S? It seems that within WebKit the iframe contents must be at least as large as the iframe. In other browsers, I can do something like document.documentElement.offsetHeight, socument.body.scrollHeight, etc. within the iframe and get the height of the page's contents. Is there an equivalent for WebKit that returns the true height as opposed ot the height of the iframe. Thanks, Ben ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev