From dooz127 at yahoo.com Mon Mar 1 11:54:18 2010 From: dooz127 at yahoo.com (Duy Nguyen) Date: Mon, 1 Mar 2010 11:54:18 -0800 (PST) Subject: [webkit-help] Xcode debugging help Message-ID: <352749.12827.qm@web112517.mail.gq1.yahoo.com> I'm a newbie to WebKit and Xcode. I've read the Xcode Debugging Guide but need additional help. I'm just trying to do something as basic as viewing the string value of the Token passed into HtmlParser::parseToken(Token* t), but the Token struct has so many levels of abstraction that even when I burrow down the variables of the class hierarchy I can never find the string value. Other than the Xcode Debugging Guide, are there other resources I can review for additional help, including any other websites, literature, expression data formatter templates for WebCore, or data-formatter bundles for WebCore? -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmitrym at gmail.com Mon Mar 1 14:36:29 2010 From: dmitrym at gmail.com (Dmitry M) Date: Mon, 1 Mar 2010 14:36:29 -0800 Subject: [webkit-help]
rendering problems Message-ID: Good afternoon all. I was hoping for some help from the list for a problem that I'm currently facing. I'm currently investigating WebKit found within Qt 4.6.0. I have the following HTML file: 1 2 3
4
5
6

7 8

9 10 which gets rendered as following: 1 RenderBlock {HTML} at (0,0) size 569x415 2 RenderBody {BODY} at (0,7) size 569x394 3 RenderBlock {DIV} at (0,0) size 569x2 4 RenderBlock {HR} at (0,0) size 569x2 [border: (1px inset #000000)] 5 RenderBlock {P} at (0,16) size 569x378 6 RenderImage {IMG} at (0,0) size 252x378 7 RenderText {#text} at (0,0) size 0x0 I have two questions. First, on line 2 of the html source, I clearly specify the margins to be 0. Yet, on line 2 of the rendered tree, BODY appears to start at the offset of 7. Why? Second, I have a question about the HR tag. DumpRenderTree output claims that HR renderblock and the enclosing div (lines 3,4 in the rendered output) are of height 2. Yet the next div (line 5) starts at offset 16, which to me means that the real height of the block is 16-2=14. Can anyone provide any explanation as to how the Y position of the block at line 5 was calculated? Thanks in advance, -Dmitry From munukutlapraveen at gmail.com Mon Mar 1 20:38:11 2010 From: munukutlapraveen at gmail.com (praveen munukutla) Date: Tue, 2 Mar 2010 10:08:11 +0530 Subject: [webkit-help] How to start working on font Message-ID: <5123b2b81003012038y3009233asa2be0d0c05043a95@mail.gmail.com> Hi all, I got an opportunity to work on WEBKIT. I have to work on font.Can any one say me how does font work in webkit ? What are the files that i have to look first to adapt my self with font in webkit.What are the areas that i have to touch first ? Thanks in advacne. regards praveen munukutla -------------- next part -------------- An HTML attachment was scrubbed... URL: From deepak.m at allaboutif.com Tue Mar 2 05:38:11 2010 From: deepak.m at allaboutif.com (Deepak Mundra) Date: Tue, 2 Mar 2010 19:08:11 +0530 Subject: [webkit-help] Download support Message-ID: <4b1dabc71003020538r7bd7e74eid6fdb298eb93936d@mail.gmail.com> Dear all .. How to enable download support in webkit ? I am using gtk version .. Thanks Deepak -------------- next part -------------- An HTML attachment was scrubbed... URL: From z.alamir at genie-soft.com Tue Mar 2 06:59:48 2010 From: z.alamir at genie-soft.com (Zaid Amir) Date: Tue, 2 Mar 2010 16:59:48 +0200 Subject: [webkit-help] QTWebkit 4.6 and ico images, Rendering problem In-Reply-To: References: Message-ID: <006a01caba19$01c88e30$0559aa90$@alamir@genie-soft.com> Hi I have a local html file which I'm trying to view using QTWebKit, there are some images in the file which are of type ".ico" which seems that QTWebKit is not able to render them as it gives a question mark icon instead. I tried opening the html file in firefox and its working fine and all images gets rendered. My question is, does QTWebKit support ico images, and if it does... what should I do to enable webkit to render ico images? Regards From ariya.hidayat at gmail.com Tue Mar 2 07:20:31 2010 From: ariya.hidayat at gmail.com (Ariya Hidayat) Date: Tue, 2 Mar 2010 07:20:31 -0800 Subject: [webkit-help] QTWebkit 4.6 and ico images, Rendering problem In-Reply-To: <-4975187318767436290@unknownmsgid> References: <-4975187318767436290@unknownmsgid> Message-ID: > My question is, does QTWebKit support ico images, and if it does... what > should I do to enable webkit to render ico images? Check first whether you can load and display ico images using QImage. The support for image formats is implemented as plugin in Qt, see http://doc.qt.nokia.com/4.6/qimageiohandler.html for details. The plugin code for ico can be found in src/plugins/imageformats/ico in the Qt source tree. Regards, -- Ariya Hidayat http://www.linkedin.com/in/ariyahidayat From wadii.gd at gmail.com Tue Mar 2 07:59:26 2010 From: wadii.gd at gmail.com (Wadii Guedria) Date: Tue, 2 Mar 2010 16:59:26 +0100 Subject: [webkit-help] DirectFB for WebKit building Message-ID: <62af62821003020759r3157164vc9dcd8cdd83fc794@mail.gmail.com> Hi all, I am working in WebKit and I have a working GTK built. Now I am trying to build it with DirectFB to test it in fedora before compiling it in an embedded system. So for the DirectFB building, I don't know what to do exactly but I think that I should, first, build GTK-DFB. Then what shall I do? And is there a way to reduce memory consumption (like modifying the code) ? Thx in advance Wadii -------------- next part -------------- An HTML attachment was scrubbed... URL: From ariya.hidayat at gmail.com Tue Mar 2 08:38:38 2010 From: ariya.hidayat at gmail.com (Ariya Hidayat) Date: Tue, 2 Mar 2010 08:38:38 -0800 Subject: [webkit-help] DirectFB for WebKit building In-Reply-To: <62af62821003020759r3157164vc9dcd8cdd83fc794@mail.gmail.com> References: <62af62821003020759r3157164vc9dcd8cdd83fc794@mail.gmail.com> Message-ID: > So for the DirectFB building, I don't know what to do exactly but I think > that I should, first,?build GTK-DFB. Then what shall I do?? And is there a > way to reduce memory consumption (like modifying the code) ? I got no clue about Gtk+ nor DirectFB, but common sense dictates that you should have Gtk+ with DirectFB up and running first before building WebKitGtk to use it. I guess this is the link for Gtk+ DirectFB: http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectFB -- Ariya Hidayat http://www.linkedin.com/in/ariyahidayat From ariya.hidayat at gmail.com Tue Mar 2 08:41:20 2010 From: ariya.hidayat at gmail.com (Ariya Hidayat) Date: Tue, 2 Mar 2010 08:41:20 -0800 Subject: [webkit-help] How to start working on font In-Reply-To: <5123b2b81003012038y3009233asa2be0d0c05043a95@mail.gmail.com> References: <5123b2b81003012038y3009233asa2be0d0c05043a95@mail.gmail.com> Message-ID: > I got an opportunity to work on WEBKIT. I have to work on font.Can any one > say me how does font work in webkit ? What are the files that i have to look > first to adapt my self with font in webkit.What are the areas that i have to > touch first ? WebCore/platform/graphics/Font* would be a good starting point. Or you can just grep for "Font" and start from there. -- Ariya Hidayat http://www.linkedin.com/in/ariyahidayat From kennywu2 at yahoo.com Wed Mar 3 00:32:29 2010 From: kennywu2 at yahoo.com (Kenny Wu) Date: Wed, 3 Mar 2010 00:32:29 -0800 (PST) Subject: [webkit-help] Building webkit in Windows (Visual C++ 2005 Express + Cygwin) Message-ID: <441386.43926.qm@web32804.mail.mud.yahoo.com> Build error on 55450 in cygwin is encountered.? Please help.? Thanks. Commands: update-webkit build-webkit Output: Checking mod-date of WebKitSupportLibrary.zip... Current WebKitSupportLibrary is up to date Building results into: /home/Admin/WebKit/WebKitBuild WEBKITOUTPUTDIR is set to: C:\cygwin\home\Admin\WebKit\WebKitBuild WEBKITLIBRARIESDIR is set to: C:\cygwin\home\Admin\WebKit\WebKitLibraries\win /cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/IDE/VCExpress.exe win\WebKit.vcproj\WebKit.sln /build Release ===== BUILD FAILED ====== Please ensure you have run WebKit/WebKitTools/Scripts/update-webkit to install dependencies. You can view build errors by checking the BuildLog.htm files located at: /home/Admin/WebKit/WebKitBuild/obj//. Error seems to occur when compiling the module JavaScriptCore. Contents of BuildLog.htm below: Performing Pre-Build Event... /usr/bin/bash Compiling... ParserArena.cpp c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : error C2220: warning treated as error - no 'object' file generated c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss Parser.cpp c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : error C2220: warning treated as error - no 'object' file generated c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss Nodes.cpp ... ... ... (omiited) ... ... Compiling... Arguments.cpp c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : error C2220: warning treated as error - no 'object' file generated c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss Project : warning PRJ0018 : The following environment variables were not found: $(PRODUCTION) -------------- next part -------------- An HTML attachment was scrubbed... URL: From lamoscawince at gmail.com Wed Mar 3 07:14:06 2010 From: lamoscawince at gmail.com (Leonardo DaVinci) Date: Wed, 3 Mar 2010 16:14:06 +0100 Subject: [webkit-help] qtwebkit trunk compilation problem Message-ID: Hello, I'm trying to compile the qtwebkit trunk version for wince with MSVC. I'm following the build instructions here: http://trac.webkit.org/wiki/BuildingQtOnWindows I have already compile QT but when trying to compile qtwebkit from trunk I receives this error: "WARNING: failure to find: \src\3rdparty\ce-compat\ce_time.c" I verified and I well configured %QTDIR% and added %QTDIR%\bin to my %path% variable. Any ideas?? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.plywaczyk at gmail.com Thu Mar 4 00:02:06 2010 From: s.plywaczyk at gmail.com (=?UTF-8?Q?Seweryn_P=C5=82ywaczyk?=) Date: Thu, 4 Mar 2010 09:02:06 +0100 Subject: [webkit-help] Caching mechanism problem with JavaScript Message-ID: Hi all I have the following problem. When I get loadUrl request first I check if this URL is in BackForwardList. If it is I just call Page::goToItem() method instead of loading it. Everything works fine with the static pages. But I have problem with page wich has JavaScript embedded. The case is the following After load of page it checks in every 2 seconds (setInterval) if content of specified input field has been changed. If so it just submits form. This functionality works after first loading. When I get back using my mechanism (goToItem) page with form is displayed as it was loaded (with text which was set) but it seems that JavaScript doesn't work anymore. When I'll change content of input field nothing happens. I've also noticed that when I try to get value attribute of this iput field I get an empty string althought the text is displayed in it. After reload of this page script works again. If any of you had similar problem or knows where the problem can be located I'll be really grateful for any help :) Thanks in advance Regards Seweryn -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at netlogmail.com Thu Mar 4 00:44:59 2010 From: noreply at netlogmail.com (toutou toutou) Date: Thu, 04 Mar 2010 08:44:59 +0000 Subject: [webkit-help] Visite mon profil Netlog Message-ID: <20100304084507.110307775C8@lists.macosforge.org> Salut, J'ai cr?? un profil Netlog pour y mettre mes photos, vid?os, un blog et les ?v?nements auxquels j'assiste. J'aimerais t'ajouter dans mes amis pour t'en faire profiter. Il te suffit d'abord de t'inscrire pour y cr?er ton propre profil ! Jette un coup d'oeil: http://fr.netlog.com/go/mailurl/type=invite_1&mailid=576672429&id=1&url=-L2dvL3JlZ2lzdGVyL2lkPTEzNzkwMjIwMDgmaT10OTE_ A plus, toutou ---------------------------------------------------------------- Tu ne veux plus recevoir d'invitations de la part de tes amis ? http://fr.netlog.com/go/mailurl/type=invite_1&mailid=576672429&id=2&url=-L2dvL25vbWFpbHMvaW52aXRlL2VtYWlsPS1kMlZpYTJsMExXaGxiSEJBYkdsemRITXVkMlZpYTJsMExtOXlad19fJmNvZGU9MTE0MDQ5NDQmaWQ9MTM3OTAyMjAwOCZpPXQ5Mg__ Don't want to receive invitations from your friends anymore? http://fr.netlog.com/go/mailurl/type=invite_1&mailid=576672429&id=3&url=-aHR0cDovL2VuLm5ldGxvZy5jb20vZ28vbm9tYWlscy9pbnZpdGUvZW1haWw9LWQyVmlhMmwwTFdobGJIQkFiR2x6ZEhNdWQyVmlhMmwwTG05eVp3X18mY29kZT0xMTQwNDk0NCZpZD0xMzc5MDIyMDA4Jmk9dDky -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.plywaczyk at gmail.com Thu Mar 4 02:42:41 2010 From: s.plywaczyk at gmail.com (=?UTF-8?Q?Seweryn_P=C5=82ywaczyk?=) Date: Thu, 4 Mar 2010 11:42:41 +0100 Subject: [webkit-help] Caching mechanism problem with JavaScript In-Reply-To: References: Message-ID: Hi again I've solved problem with getting value from Input field but it is not important. I've noticed that mentioned by me problem occurs also in Safari 4 Public Beta (528.17) but it doesn't in Google Chrome. Now the question is if Chrome supports cache in other way? Regards Seweryn 2010/3/4 Seweryn P?ywaczyk > Hi all > > I have the following problem. > > When I get loadUrl request first I check if this URL is in BackForwardList. > If it is I just call Page::goToItem() method instead of loading it. > > Everything works fine with the static pages. > > But I have problem with page wich has JavaScript embedded. The case is the > following > > After load of page it checks in every 2 seconds (setInterval) if content of > specified input field has been changed. If so it just submits form. > > This functionality works after first loading. When I get back using my > mechanism (goToItem) page with form is displayed as it was loaded (with text > which was set) but it seems that JavaScript doesn't work anymore. When I'll > change content of input field nothing happens. > I've also noticed that when I try to get value attribute of this iput field > I get an empty string althought the text is displayed in it. > > After reload of this page script works again. > > If any of you had similar problem or knows where the problem can be located > I'll be really grateful for any help :) > > Thanks in advance > Regards > Seweryn > -------------- next part -------------- An HTML attachment was scrubbed... URL: From anatoli.kuzmin at gmail.com Thu Mar 4 08:10:45 2010 From: anatoli.kuzmin at gmail.com (Anatoli Kuzmin) Date: Thu, 4 Mar 2010 16:10:45 +0000 Subject: [webkit-help] AtomicString Message-ID: Hi Could anybody help me with AtomicString? I found that AtomicString has different hashCode for the same object in different threads. I tried to execute getElementById from another thread and got null. So how can I "convert" string id to correct implementation? Best regards, Anatoli Kuzmin -------------- next part -------------- An HTML attachment was scrubbed... URL: From ap at webkit.org Thu Mar 4 08:45:31 2010 From: ap at webkit.org (Alexey Proskuryakov) Date: Thu, 04 Mar 2010 08:45:31 -0800 Subject: [webkit-help] AtomicString In-Reply-To: References: Message-ID: 04.03.2010, ? 08:10, Anatoli Kuzmin ???????(?): > I tried to execute getElementById from another thread and got null. So how can I "convert" string id to correct implementation? DOM APIs are not available in other threads, this is by design. Changing this would be a major undertaking, with a likely result of making WebKit slower due to synchronization overhead. - WBR, Alexey Proskuryakov From anatoli.kuzmin at gmail.com Thu Mar 4 08:50:01 2010 From: anatoli.kuzmin at gmail.com (Anatoli Kuzmin) Date: Thu, 4 Mar 2010 16:50:01 +0000 Subject: [webkit-help] AtomicString In-Reply-To: References: Message-ID: Hi Alexey, Thanks for quickly response. So - Can I "join" to the main thread? Pack my request to any runnable interface and add to a command queue.. Best regards, Anatoli Kuzmin On Thu, Mar 4, 2010 at 4:45 PM, Alexey Proskuryakov wrote: > > 04.03.2010, ? 08:10, Anatoli Kuzmin ???????(?): > > > I tried to execute getElementById from another thread and got null. So > how can I "convert" string id to correct implementation? > > > DOM APIs are not available in other threads, this is by design. Changing > this would be a major undertaking, with a likely result of making WebKit > slower due to synchronization overhead. > > - WBR, Alexey Proskuryakov > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ap at webkit.org Thu Mar 4 09:09:12 2010 From: ap at webkit.org (Alexey Proskuryakov) Date: Thu, 04 Mar 2010 09:09:12 -0800 Subject: [webkit-help] AtomicString In-Reply-To: References: Message-ID: 04.03.2010, ? 08:50, Anatoli Kuzmin ???????(?): > So - Can I "join" to the main thread? There are several ways to defer work to main thread from inside WebCore. WTF::callOnMainThread is the basic mechanism, but there are higher level ones built upon it. It is also likely that no WebCore changes are necessary, and the caller just needs to always call WebCore from the main thread. I don't know enough about your project or environment to meaningfully suggest anything. - WBR, Alexey Proskuryakov From hap497 at gmail.com Thu Mar 4 11:05:15 2010 From: hap497 at gmail.com (hap 497) Date: Thu, 4 Mar 2010 11:05:15 -0800 Subject: [webkit-help] The purpose of NinePieceImage Message-ID: <5ff1d48c1003041105h8b6c8f3vb6da6beb40afa6fa@mail.gmail.com> Hi, In the RenderBoxModelObject class, it has method to paint NinePieceImage: bool RenderBoxModelObject::paintNinePieceImage(GraphicsContext* graphicsContext, int tx, int ty, int w, int h, const RenderStyle* style, const NinePieceImage& ninePieceImage, CompositeOperator op) { //... } Can you please tell me what is a NinePieceImage? Under what situation will Webkit create a NinePieceImage for RenderBoxModelObject? Thank you. From ariya.hidayat at gmail.com Thu Mar 4 11:38:53 2010 From: ariya.hidayat at gmail.com (Ariya Hidayat) Date: Thu, 4 Mar 2010 11:38:53 -0800 Subject: [webkit-help] The purpose of NinePieceImage In-Reply-To: <5ff1d48c1003041105h8b6c8f3vb6da6beb40afa6fa@mail.gmail.com> References: <5ff1d48c1003041105h8b6c8f3vb6da6beb40afa6fa@mail.gmail.com> Message-ID: > Can you please tell me what is a NinePieceImage? Under what situation > will Webkit create a NinePieceImage for RenderBoxModelObject? For CSS border image, read http://www.lrbabe.com/sdoms/borderImage/index.html for an example. -- Ariya Hidayat http://www.linkedin.com/in/ariyahidayat From mt at theescapers.com Fri Mar 5 04:06:37 2010 From: mt at theescapers.com (MT) Date: Fri, 5 Mar 2010 12:06:37 +0000 Subject: [webkit-help] Forcing image reload in WebKit Message-ID: Hi, I use a WebView that loads a HTML file that uses various resources like images, CSS files etc... Sometimes, the images can change, and I want the WebView to reflect that, but I don't want to refresh the entire page, just let a DOMHTMLImageElement to reload the image. At the moment, I'm changing the 'src' attribute of the DOMHTMLImageElement to nothing, then changing it back using an NSTimer to the correct URL. This, in principle, works, but is unreliable, often crashing. #1 0x0097d840 in WebCore::CSSParser::parseValue (this=0xbfffe354, declaration=0x161d0900, id=1005, string=@0xbfffe484, important=false) at /Users/mt/Downloads/WebKit-r53845/WebCore/css/CSSParser.cpp:253 #2 0x00974d33 in WebCore::CSSMutableStyleDeclaration::setProperty (this=0x161d0900, propertyID=1005, value=@0xbfffe484, important=, notifyChanged=true) at /Users/mt/Downloads/WebKit-r53845/WebCore/css/CSSMutableStyleDeclaration.cpp:534 #3 0x00a1e4e7 in ~RefPtr [inlined] () at /Users/mt/Downloads/WebKit-r53845/WebKitBuild/Release/DerivedSources/WebCore/DOMCSSStyleDeclaration.mm:118 #4 ~String [inlined] () at text/PlatformString.h:53 #5 ~String [inlined] () at /Users/mt/Downloads/WebKit-r53845/WebCore/platform/text/PlatformString.h:66 #6 0x00a1e4e7 in -[DOMCSSStyleDeclaration setProperty:value:priority:] (self=0xfb76790, _cmd=0x918f7781, propertyName=0x183e88, value=0x13f78e18, priority=0x1815c8) at /Users/mt/Downloads/WebKit-r53845/WebKitBuild/Release/DerivedSources/WebCore/DOMCSSStyleDeclaration.mm:118 #7 0x00035b55 in -[WindowController putImageInDivBack:] (self=0x29dd200, _cmd=0x152af9, bits=0xf8b5e50) at /Volumes/test/WorkingCopy2/WindowController.m:1550 Is there a better, cleaner way to do this? Thanks for any ideas. MT -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.plywaczyk at gmail.com Fri Mar 5 07:42:14 2010 From: s.plywaczyk at gmail.com (=?UTF-8?Q?Seweryn_P=C5=82ywaczyk?=) Date: Fri, 5 Mar 2010 16:42:14 +0100 Subject: [webkit-help] Forcing image reload in WebKit In-Reply-To: References: Message-ID: Hi Maybe it is not directly answer for your question but maybe it will help :) I had a similar problem I mean I didn't want to load whole page but I wanted to split loading process to two steps: 1. Load body and css 2. After it load only images It is usefull in case of slow Internet connection you can stop loading when you want read just text. Anyway in order to do that I had to set Settings::setLoadsImagesAutomatically(false) In my WebFrame client in postProgressFinishedNotification (it is a notification sent when whole page is loaded) I call DocLoader::setAutoLoadImages(true); - it causes that every image on the page is loaded and then after all I call DocLoader::setAutoLoadImages(false); to prevent auto loading images. Of course I have some logic but it is my solution dependent. You have to remember that DocLoader::setAutoLoadImages should be called per every loaded frame for example: while (frame) { if (frame->tree()) { if (frame->document() && frame->document()->docLoader()) { frame->document()->docLoader()->setAutoLoadImages(false); } frame = frame->tree()->traverseNext(); } } So you could use similar mechanism. Notice that images can be get from cache. Look at the implementation of DocLoader::setAutoLoadImages and see how images are get and you can then just load them by using Frame loader instead of Cache loade. Good luck Regards Seweryn On 5 March 2010 13:06, MT wrote: > Hi, > > I use a WebView that loads a HTML file that uses various resources like > images, CSS files etc... > > Sometimes, the images can change, and I want the WebView to reflect that, > but I don't want to refresh the entire page, just let a DOMHTMLImageElement > to reload the image. > > At the moment, I'm changing the 'src' attribute of the DOMHTMLImageElement > to nothing, then changing it back using an NSTimer to the correct URL. This, > in principle, works, but is unreliable, often crashing. > > #1 0x0097d840 in WebCore::CSSParser::parseValue (this=0xbfffe354, > declaration=0x161d0900, id=1005, string=@0xbfffe484, important=false) at > /Users/mt/Downloads/WebKit-r53845/WebCore/css/CSSParser.cpp:253 > #2 0x00974d33 in WebCore::CSSMutableStyleDeclaration::setProperty > (this=0x161d0900, propertyID=1005, value=@0xbfffe484, important= temporarily unavailable, due to optimizations>, notifyChanged=true) at > /Users/mt/Downloads/WebKit-r53845/WebCore/css/CSSMutableStyleDeclaration.cpp:534 > #3 0x00a1e4e7 in ~RefPtr [inlined] () at > /Users/mt/Downloads/WebKit-r53845/WebKitBuild/Release/DerivedSources/WebCore/DOMCSSStyleDeclaration.mm:118 > #4 ~String [inlined] () at text/PlatformString.h:53 > #5 ~String [inlined] () at > /Users/mt/Downloads/WebKit-r53845/WebCore/platform/text/PlatformString.h:66 > #6 0x00a1e4e7 in -[DOMCSSStyleDeclaration setProperty:value:priority:] > (self=0xfb76790, _cmd=0x918f7781, propertyName=0x183e88, value=0x13f78e18, > priority=0x1815c8) at > /Users/mt/Downloads/WebKit-r53845/WebKitBuild/Release/DerivedSources/WebCore/DOMCSSStyleDeclaration.mm:118 > #7 0x00035b55 in -[WindowController putImageInDivBack:] (self=0x29dd200, > _cmd=0x152af9, bits=0xf8b5e50) at > /Volumes/test/WorkingCopy2/WindowController.m:1550 > > Is there a better, cleaner way to do this? > > Thanks for any ideas. > > MT > > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hap497 at gmail.com Fri Mar 5 21:31:31 2010 From: hap497 at gmail.com (hap 497) Date: Fri, 5 Mar 2010 21:31:31 -0800 Subject: [webkit-help] The purpose of NinePieceImage In-Reply-To: References: <5ff1d48c1003041105h8b6c8f3vb6da6beb40afa6fa@mail.gmail.com> Message-ID: <5ff1d48c1003052131o15e75514ifca36af0d4c00d60@mail.gmail.com> Thanks for your great link. On Thu, Mar 4, 2010 at 11:38 AM, Ariya Hidayat wrote: >> Can you please tell me what is a NinePieceImage? Under what situation >> will Webkit create a NinePieceImage for RenderBoxModelObject? > > For CSS border image, read > http://www.lrbabe.com/sdoms/borderImage/index.html for an example. > > > > -- > Ariya Hidayat > http://www.linkedin.com/in/ariyahidayat > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > From n179911 at gmail.com Sun Mar 7 14:59:44 2010 From: n179911 at gmail.com (n179911) Date: Sun, 7 Mar 2010 14:59:44 -0800 Subject: [webkit-help] How can I get a pointer to RenderBox for a particular Html Div Element Message-ID: <3b9893451003071459o3e90ac17s6e7c024659317fe8@mail.gmail.com> HI, If I have a pointer to a HTMLDivElement.h, how can I get its corresponding RenderBox for it? I know there is a 'renderer() method which I can get its RenderObject, RenderObject *o = element->renderer(); but how can I get the RenderBox? I see there is a 'toRenderBox method which convert RenderObject to RenderBox object: inline RenderBox* toRenderBox(RenderObject* object) But the class which has this method is RenderBox (which i don't know how to get from a DIV element). Thank you for any pointer. From n179911 at gmail.com Sun Mar 7 23:20:17 2010 From: n179911 at gmail.com (n179911) Date: Sun, 7 Mar 2010 23:20:17 -0800 Subject: [webkit-help] How can I get a pointer to RenderBox for a particular Html Div Element In-Reply-To: <3b9893451003071459o3e90ac17s6e7c024659317fe8@mail.gmail.com> References: <3b9893451003071459o3e90ac17s6e7c024659317fe8@mail.gmail.com> Message-ID: <3b9893451003072320y743125f8t653ac986cc00a458@mail.gmail.com> I found a function which I think fits my need. It is 'renderBox() in Node.h' But Can you please tell me why the comment said 'Use these two methods with caution'? // Use these two methods with caution. RenderBox* renderBox() const; RenderBoxModelObject* renderBoxModelObject() const; On Sun, Mar 7, 2010 at 2:59 PM, n179911 wrote: > HI, > > If I have a pointer to a HTMLDivElement.h, how can I get its > corresponding RenderBox for it? > > I know there is a 'renderer() method which I can get its RenderObject, > ?RenderObject *o = element->renderer(); > > but how can I get the RenderBox? > > I see there is a 'toRenderBox method which convert RenderObject to > RenderBox object: > > inline RenderBox* toRenderBox(RenderObject* object) > > But the class which has this method is RenderBox (which i don't know > how to get from a DIV element). > > Thank you for any pointer. > From julien.chaffraix at gmail.com Mon Mar 8 08:38:53 2010 From: julien.chaffraix at gmail.com (Julien Chaffraix) Date: Mon, 8 Mar 2010 08:38:53 -0800 Subject: [webkit-help] Building webkit in Windows (Visual C++ 2005 Express + Cygwin) In-Reply-To: <441386.43926.qm@web32804.mail.mud.yahoo.com> References: <441386.43926.qm@web32804.mail.mud.yahoo.com> Message-ID: <4b6072ae1003080838s22f2b3f8ga4bbcb6761b135ae@mail.gmail.com> Hi, > c:\cygwin\home\admin\webkit\javascriptcore\runtime\JSObject.h : warning > C4819: The file contains a character that cannot be represented in the > current code page (950). Save the file in Unicode format to prevent data > loss Those warnings are the root of your issue (WebKit treats warnings as errors on Windows). There must be some characters that your compiler does not like in JSObject.h so check your file for such characters (unicode, non printing ascii characters, ...). If you cannot find such characters, just remove your sources and start again from a clean checkout. If that does not help (Google tells that there is a potential bug associated to this warning - http://support.microsoft.com/kb/955514), you could try disabling the warning for this file. Regards, Julien From silverburgh.meryl at gmail.com Mon Mar 8 13:00:50 2010 From: silverburgh.meryl at gmail.com (silverburgh) Date: Mon, 8 Mar 2010 13:00:50 -0800 Subject: [webkit-help] Question about DumpRenderTree result Message-ID: <701fce31003081300n2fcc864fp6dfc61e923b7c82e@mail.gmail.com> Hi, I use DumpRenderTree to dump out the render tree for http://www.nytimes.com. Here is dump render tree result of a table near the middle of the site (the one said 'Opinion', 'Theatre', 'U.S.': What I don't understand is it shows the x co-ordinate as 1 or 0, but when I click on the screen, it is not 1 or 0, it is much further to right of the screen (~100 px). Can you please help me understand the co-ordinates of the DumpRenderTree output? layer at (1,2452) size 970x387 scrollWidth 1943 scrollHeight 388 RenderBlock {DIV} at (0,33) size 970x387 RenderTable {TABLE} at (0,0) size 1943x387 [bgcolor=#FFFFFF] RenderTableSection {TBODY} at (0,0) size 1943x387 RenderTableRow {TR} at (0,0) size 1943x387 RenderTableCell {TD} at (0,0) size 161x260 [r=0 c=0 rs=1 cs=1] RenderBlock {DIV} at (0,13) size 161x236 RenderBlock {H6} at (5,0) size 151x14 [color=#000000] RenderInline {A} at (0,0) size 90x10 RenderText {#text} at (0,2) size 90x10 text run at (0,2) width 90: "OPINION \x{BB}" RenderText {#text} at (0,0) size 0x0 Thank you. From dmitrym at gmail.com Mon Mar 8 13:07:40 2010 From: dmitrym at gmail.com (Dmitry M) Date: Mon, 8 Mar 2010 13:07:40 -0800 Subject: [webkit-help] Question about DumpRenderTree result In-Reply-To: <701fce31003081300n2fcc864fp6dfc61e923b7c82e@mail.gmail.com> References: <701fce31003081300n2fcc864fp6dfc61e923b7c82e@mail.gmail.com> Message-ID: These coordinates are relative to the coordinates of the containing block. A good way to understand how it works is to create your own simple HTML layout pipe it through DumpRenderTree. Also take a look at this: http://webkit.org/blog/114/webcore-rendering-i-the-basics/ HTH, -D On Mon, Mar 8, 2010 at 1:00 PM, silverburgh wrote: > Hi, > > I use DumpRenderTree to dump out the render tree for http://www.nytimes.com. > > Here is dump render tree result of a table near the middle of the site > (the one said 'Opinion', ?'Theatre', 'U.S.': > What I don't understand is it shows the x co-ordinate as 1 or 0, but > when I click on the screen, it is not 1 or 0, it is ?much further to > right of the screen (~100 px). > Can you please help me understand the co-ordinates of the DumpRenderTree output? > > layer at (1,2452) size 970x387 scrollWidth 1943 scrollHeight 388 > ?RenderBlock {DIV} at (0,33) size 970x387 > ? ?RenderTable {TABLE} at (0,0) size 1943x387 [bgcolor=#FFFFFF] > ? ? ?RenderTableSection {TBODY} at (0,0) size 1943x387 > ? ? ? ?RenderTableRow {TR} at (0,0) size 1943x387 > ? ? ? ? ?RenderTableCell {TD} at (0,0) size 161x260 [r=0 c=0 rs=1 cs=1] > ? ? ? ? ? ?RenderBlock {DIV} at (0,13) size 161x236 > ? ? ? ? ? ? ?RenderBlock {H6} at (5,0) size 151x14 [color=#000000] > ? ? ? ? ? ? ? ?RenderInline {A} at (0,0) size 90x10 > ? ? ? ? ? ? ? ? ?RenderText {#text} at (0,2) size 90x10 > ? ? ? ? ? ? ? ? ? ?text run at (0,2) width 90: "OPINION \x{BB}" > ? ? ? ? ? ? ? ?RenderText {#text} at (0,0) size 0x0 > > Thank you. > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > From tonikitoo at gmail.com Mon Mar 8 20:18:49 2010 From: tonikitoo at gmail.com (tonikitoo (Antonio Gomes)) Date: Tue, 9 Mar 2010 00:18:49 -0400 Subject: [webkit-help] Forcing image reload in WebKit In-Reply-To: References: Message-ID: <7eb9ad711003082018r3e1c387agc8beab6f68b71045@mail.gmail.com> Pls file a bug (bugs.webkit.org), and attach you reduced testcase. You would be helping to fix the root or your problem. On Fri, Mar 5, 2010 at 8:06 AM, MT wrote: > Hi, > > I use a WebView that loads a HTML file that uses various resources like > images, CSS files etc... > > Sometimes, the images can change, and I want the WebView to reflect that, > but I don't want to refresh the entire page, just let a DOMHTMLImageElement > to reload the image. > > At the moment, I'm changing the 'src' attribute of the DOMHTMLImageElement > to nothing, then changing it back using an NSTimer to the correct URL. This, > in principle, works, but is unreliable, often crashing. > > #1? 0x0097d840 in WebCore::CSSParser::parseValue (this=0xbfffe354, > declaration=0x161d0900, id=1005, string=@0xbfffe484, important=false) at > /Users/mt/Downloads/WebKit-r53845/WebCore/css/CSSParser.cpp:253 > #2? 0x00974d33 in WebCore::CSSMutableStyleDeclaration::setProperty > (this=0x161d0900, propertyID=1005, value=@0xbfffe484, important= temporarily unavailable, due to optimizations>, notifyChanged=true) at > /Users/mt/Downloads/WebKit-r53845/WebCore/css/CSSMutableStyleDeclaration.cpp:534 > #3? 0x00a1e4e7 in ~RefPtr [inlined] () at > /Users/mt/Downloads/WebKit-r53845/WebKitBuild/Release/DerivedSources/WebCore/DOMCSSStyleDeclaration.mm:118 > #4? ~String [inlined] () at text/PlatformString.h:53 > #5? ~String [inlined] () at > /Users/mt/Downloads/WebKit-r53845/WebCore/platform/text/PlatformString.h:66 > #6? 0x00a1e4e7 in -[DOMCSSStyleDeclaration setProperty:value:priority:] > (self=0xfb76790, _cmd=0x918f7781, propertyName=0x183e88, value=0x13f78e18, > priority=0x1815c8) at > /Users/mt/Downloads/WebKit-r53845/WebKitBuild/Release/DerivedSources/WebCore/DOMCSSStyleDeclaration.mm:118 > #7? 0x00035b55 in -[WindowController putImageInDivBack:] (self=0x29dd200, > _cmd=0x152af9, bits=0xf8b5e50) at > /Volumes/test/WorkingCopy2/WindowController.m:1550 > > Is there a better, cleaner way to do this? > > Thanks for any ideas. > > MT > > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > > -- --Antonio Gomes From peter.fletcher62 at gmail.com Mon Mar 8 21:14:38 2010 From: peter.fletcher62 at gmail.com (Peter Fletcher) Date: Mon, 8 Mar 2010 21:14:38 -0800 Subject: [webkit-help] Question about memory allocation for Image loading in Webkit Message-ID: <3d1583161003082114y241d3ff0r54dbedd7801725e1@mail.gmail.com> Hi, I would need some help in understanding memory allocation for image loading? 1. When webkit loads an image, how does it allocate memory? How does it know how much it needs for each image? 2. Who 'owns' the memory for the un-decoded image? and who owns the memory for the decoded image? When does each memory get free ? 3. Does image loading/decoding are done in parallel or in sequential? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From n179911 at gmail.com Mon Mar 8 23:33:05 2010 From: n179911 at gmail.com (n179911) Date: Mon, 8 Mar 2010 23:33:05 -0800 Subject: [webkit-help] Compile libwebkit-1.0.la only Message-ID: <3b9893451003082333g5c07babct595b03f55f88f844@mail.gmail.com> Hi, Is there a way to compile libwebkit-1.0.la? When I do 'make', it compiles ' libwebkit-1.0.la' and a lot of 'Programs/unittests' programs. Thank you. From nayankk at gmail.com Tue Mar 9 02:20:32 2010 From: nayankk at gmail.com (Nayan) Date: Tue, 9 Mar 2010 15:50:32 +0530 Subject: [webkit-help] Compile libwebkit-1.0.la only In-Reply-To: <3b9893451003082333g5c07babct595b03f55f88f844@mail.gmail.com> References: <3b9893451003082333g5c07babct595b03f55f88f844@mail.gmail.com> Message-ID: Hi, Compiling Programs/unittests can be avoided by commenting 'noinst_PROGRAMS += $(TEST_PROGS)' line in GNUMakefile.am Regards Nayan On Tue, Mar 9, 2010 at 1:03 PM, n179911 wrote: > Hi, > > Is there a way to compile libwebkit-1.0.la? > When I do 'make', it compiles ' libwebkit-1.0.la' and a lot of > 'Programs/unittests' programs. > > Thank you. > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > -- Regards, _Nayan_ -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryanzhu97 at gmail.com Tue Mar 9 20:21:46 2010 From: ryanzhu97 at gmail.com (ryan zhu) Date: Wed, 10 Mar 2010 12:21:46 +0800 Subject: [webkit-help] Building webkit in Windows (Visual C++ 2005 Express + Cygwin) In-Reply-To: <441386.43926.qm@web32804.mail.mud.yahoo.com> References: <441386.43926.qm@web32804.mail.mud.yahoo.com> Message-ID: For such error: 'error C2220: warning treated as error - no 'object' file generated', you can try to disable 'warning as error' in vc config, it should be in: \webkit\WebKitLibraries\win\tools\vsprops\common.vsprops -Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From anuragdak at gmail.com Tue Mar 9 21:18:37 2010 From: anuragdak at gmail.com (Anurag Dak) Date: Wed, 10 Mar 2010 10:48:37 +0530 Subject: [webkit-help] register plugin in webkit-1.1.15.4 Message-ID: How i can use my plugin with webkit -1.1.15.4 .. do i need to change in RenderPartObject.cpp -- Anurag Dak Software Engineer Samsung India Software Centre Noida -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.plywaczyk at gmail.com Wed Mar 10 00:31:58 2010 From: s.plywaczyk at gmail.com (=?UTF-8?Q?Seweryn_P=C5=82ywaczyk?=) Date: Wed, 10 Mar 2010 09:31:58 +0100 Subject: [webkit-help] JavaScript doesn't execute a script Message-ID: Hi The following HTML code doesn't work neither in my WebKit based browser nor in Safari and Google Chrome. It works in Firefox, Opera and IE:
text After click on text I see only blank page. Is it a bug or just wrong script? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From zoltan at webkit.org Wed Mar 10 00:56:36 2010 From: zoltan at webkit.org (Zoltan Horvath) Date: Wed, 10 Mar 2010 09:56:36 +0100 Subject: [webkit-help] qtwebkit trunk compilation problem In-Reply-To: References: Message-ID: <201003100956.36752.zoltan@webkit.org> Hey, you can find our win building instructions here: http://webkit.sed.hu/node/24 Zoltan On Wednesday 03 March 2010, at 16:14, Leonardo DaVinci wrote: > Hello, > > I'm trying to compile the qtwebkit trunk version for wince with MSVC. > > I'm following the build instructions here: > http://trac.webkit.org/wiki/BuildingQtOnWindows > > I have already compile QT but when trying to compile qtwebkit from trunk I > receives this error: > "WARNING: failure to find: \src\3rdparty\ce-compat\ce_time.c" > > I verified and I well configured %QTDIR% and added %QTDIR%\bin to my %path% > variable. > > Any ideas?? > > Regards From ap at webkit.org Wed Mar 10 01:29:34 2010 From: ap at webkit.org (Alexey Proskuryakov) Date: Wed, 10 Mar 2010 01:29:34 -0800 Subject: [webkit-help] JavaScript doesn't execute a script In-Reply-To: References: Message-ID: 10.03.2010, ? 00:31, Seweryn P?ywaczyk ???????(?): > Is it a bug or just wrong script? This is a bug, . As a workaround, one can append some HTML tag at the end. - WBR, Alexey Proskuryakov From s.plywaczyk at gmail.com Wed Mar 10 01:34:17 2010 From: s.plywaczyk at gmail.com (=?UTF-8?Q?Seweryn_P=C5=82ywaczyk?=) Date: Wed, 10 Mar 2010 10:34:17 +0100 Subject: [webkit-help] JavaScript doesn't execute a script In-Reply-To: References: Message-ID: Thanks a lot :) Regards Seweryn 2010/3/10 Alexey Proskuryakov > > 10.03.2010, ? 00:31, Seweryn P?ywaczyk ???????(?): > > > Is it a bug or just wrong script? > > > This is a bug, . As a > workaround, one can append some HTML tag at the end. > > - WBR, Alexey Proskuryakov > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ashwini.oman at gmail.com Wed Mar 10 20:10:21 2010 From: ashwini.oman at gmail.com (Ashwini UK) Date: Thu, 11 Mar 2010 09:40:21 +0530 Subject: [webkit-help] Suspend Animated GIF Message-ID: <632818871003102010h63fb056bm9da45b0989bee7f5@mail.gmail.com> Hi, Could anyone kindly tell me whether there is a way to suspend animated gif images in Webkit ? regards, Ashwini -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.plywaczyk at gmail.com Wed Mar 10 22:22:26 2010 From: s.plywaczyk at gmail.com (=?UTF-8?Q?Seweryn_P=C5=82ywaczyk?=) Date: Thu, 11 Mar 2010 07:22:26 +0100 Subject: [webkit-help] Suspend Animated GIF In-Reply-To: <632818871003102010h63fb056bm9da45b0989bee7f5@mail.gmail.com> References: <632818871003102010h63fb056bm9da45b0989bee7f5@mail.gmail.com> Message-ID: Hi What do you mean by "suspend"? :) Suspend loading, displaying? Regards, Seweryn On 11 March 2010 05:10, Ashwini UK wrote: > Hi, > > Could anyone kindly tell me whether there is a way to suspend animated gif > images in Webkit ? > > regards, > Ashwini > > > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jackwootton at gmail.com Thu Mar 11 08:24:30 2010 From: jackwootton at gmail.com (Jack Wootton) Date: Thu, 11 Mar 2010 16:24:30 +0000 Subject: [webkit-help] DownloadPolicy help Message-ID: <663e29e81003110824v3d585ddfp56311c02e7c8df2d@mail.gmail.com> Hello, I'm looking at webkit, specifically the way it handles HTTP errors. Even more specifically, how it handles HTTP errors with a Content Type (MIME Type) of something other than the norm (html/text, plain/text). For example, I wanted to look into the handling of a content type of foo/foo (for example). My understanding after looking at the code, is that if the MIME Type cannot be handled, a policy decision is made and policy is set to WebCore::PolicyDownload. The method which determines which MIME Types can be handled is: bool WebPolicyManager::canShowMIMEType(const String& MIMEType) const In this context, it always returns false, since it cannot handle foo/foo. An edited version of the callstack so far looks like: // Make a policy decision void WebFrameLoaderClient::dispatchDecidePolicyForMIMEType(FramePolicyFunction function, const String& MIMEType, const ResourceRequest& request) // Determine which MIME Types can be handled bool WebPolicyManager::canShowMIMEType(const String& MIMEType) const void MainResourceLoader::continueAfterContentPolicy(PolicyAction contentPolicy, const ResourceResponse& r) // I read this as "Interruption for policy change so change error." ResourceError MainResourceLoader::interruptionForPolicyChangeError() const My questions are: 1. What is the role of "policy" in this context (WebCore::PolicyIgnore, WebCore::PolicyDownload, WebCore::PolicyUse)? 2. What specifically is the purpose of WebCore::EPolicyDownload? From the name I kind of assumed that perhaps it was a way of the browser attempting to download an application that can handle the MIME type. 3. Is there anywhere I can read more about this area of "policy" in WebKit? -- Regards Jack -------------- next part -------------- An HTML attachment was scrubbed... URL: From ap at webkit.org Thu Mar 11 10:46:20 2010 From: ap at webkit.org (Alexey Proskuryakov) Date: Thu, 11 Mar 2010 10:46:20 -0800 Subject: [webkit-help] DownloadPolicy help In-Reply-To: <663e29e81003110824v3d585ddfp56311c02e7c8df2d@mail.gmail.com> References: <663e29e81003110824v3d585ddfp56311c02e7c8df2d@mail.gmail.com> Message-ID: <1088F06A-0CA9-46E9-A388-FF37AB4A3D2A@webkit.org> On 11.03.2010, at 8:24, Jack Wootton wrote: > 2. What specifically is the purpose of WebCore::EPolicyDownload? > From the name I kind of assumed that perhaps it was a way of the > browser attempting to download an application that can handle the > MIME type. It's "download this resource". E.g. if you click on a "download" link in browser, the client (such as Safari) still needs to decide whether to open the referenced resource in a Web page, or to download it. It can also ask the user whether to download, and if the user refuses, the client tells WebKit to cancel the request. - WBR, Alexey Proskuryakov From meiry242 at gmail.com Thu Mar 11 13:21:51 2010 From: meiry242 at gmail.com (Meir Yanovich) Date: Thu, 11 Mar 2010 23:21:51 +0200 Subject: [webkit-help] how to get response in QtWebKit Message-ID: Hello all im beginner with QtWebKit i build simple web frame that loaded page ( server side ) and when from this page i submit data i like to catch the response string from the server in the c++ side how can i do that ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ariya.hidayat at gmail.com Thu Mar 11 13:59:22 2010 From: ariya.hidayat at gmail.com (Ariya Hidayat) Date: Thu, 11 Mar 2010 13:59:22 -0800 Subject: [webkit-help] how to get response in QtWebKit In-Reply-To: References: Message-ID: > Hello all im beginner with QtWebKit i build simple web frame that loaded > page ( server side ) and when from this page i submit data i like to catch > the response string from the server in the c++ side how can i do that ? Use custom network manager and "sniff" the data: http://doc.qt.nokia.com/4.6/qwebpage.html#setNetworkAccessManager http://doc.qt.nokia.com/4.6/qnetworkaccessmanager.html -- Ariya Hidayat http://www.linkedin.com/in/ariyahidayat From jackwootton at gmail.com Fri Mar 12 06:14:29 2010 From: jackwootton at gmail.com (Jack Wootton) Date: Fri, 12 Mar 2010 14:14:29 +0000 Subject: [webkit-help] DownloadPolicy help In-Reply-To: <1088F06A-0CA9-46E9-A388-FF37AB4A3D2A@webkit.org> References: <663e29e81003110824v3d585ddfp56311c02e7c8df2d@mail.gmail.com> <1088F06A-0CA9-46E9-A388-FF37AB4A3D2A@webkit.org> Message-ID: <663e29e81003120614j73fc8b4bj6c9cc47b052e9107@mail.gmail.com> Thank you for this response. So in the context of an HTTP error with MIME-type foo/foo, WebKit makes a policy decision to "download" since it cannot load the MIME-type foo. The idea being that the browser would prompt the user to download the content? On Thu, Mar 11, 2010 at 6:46 PM, Alexey Proskuryakov wrote: > > On 11.03.2010, at 8:24, Jack Wootton wrote: > > 2. What specifically is the purpose of WebCore::EPolicyDownload? From the >> name I kind of assumed that perhaps it was a way of the browser attempting >> to download an application that can handle the MIME type. >> > > > It's "download this resource". E.g. if you click on a "download" link in > browser, the client (such as Safari) still needs to decide whether to open > the referenced resource in a Web page, or to download it. It can also ask > the user whether to download, and if the user refuses, the client tells > WebKit to cancel the request. > > - WBR, Alexey Proskuryakov > > -- Regards Jack -------------- next part -------------- An HTML attachment was scrubbed... URL: From thouraya.andolsi at gmail.com Fri Mar 12 07:12:34 2010 From: thouraya.andolsi at gmail.com (thouraya andolsi) Date: Fri, 12 Mar 2010 16:12:34 +0100 Subject: [webkit-help] flash player Message-ID: <853977de1003120712h21750cf6ifc3525f5c462343c@mail.gmail.com> Hi, I would like to get flash working in webkit. I'm using Webkit/GTK-Directfb on linux. I built the swfdec but I don't have any idea on how to make flash working. Can any one help me ? Thanks in advance. Thouraya. -------------- next part -------------- An HTML attachment was scrubbed... URL: From melodramus at online.de Sat Mar 13 04:14:31 2010 From: melodramus at online.de (melodramus at online.de) Date: Sat, 13 Mar 2010 13:14:31 +0100 Subject: [webkit-help] webkit-nightly autotools fail on linux/gtk Message-ID: <20100313131431.0aaf79a7.melodramus@online.de> hello autogen.sh *expects* gtk-doc-tools to be installed: ./autogen.sh --prefix=/opt/network/webkit --enable-gtk-doc=no Warning: not running gtk-docize. configure.ac:81: installing `autotools/compile' configure.ac:21: installing `autotools/config.guess' configure.ac:21: installing `autotools/config.sub' configure.ac:41: installing `autotools/install-sh' configure.ac:41: installing `autotools/missing' automake: cannot open < gtk-doc.make: No such file or directory but this is not a developer's machine. i also don't use gnome and stuff and really have no other reason than webkit-nightly for installing gtk-doc-tools. I deleted the four lines with gtk-doc-related stuff: configure.ac:761:GTK_DOC_CHECK([1.10]) GNUmakefile.am:512: $(srcdir)/gtk-doc.make \ GNUmakefile.am:522: $(srcdir)/WebKit/gtk/docs/webkitgtk-docs.sgml \ WebKit/gtk/docs/GNUmakefile.am:93:include $(top_srcdir)/gtk-doc.make autogen.sh worked but the next error was: make[1]: Entering directory `/tmp/WebKit-r55959/JavaScriptCore' ( xcodebuild -target All `perl -I../WebKitTools/Scripts -Mwebkitdirs -e 'print XcodeOptionString()'` | grep -v setenv && exit ${PIPESTATUS[0]} ) /bin/sh: Syntax error: Bad substitution make[1]: *** [all] Error 2 make[1]: Leaving directory `/tmp/WebKit-r55959/JavaScriptCore' make: *** [all] Error 2 i don't see a relation to gtk-doc in the commandline but am in no way shure of it. please, there is a need for regular releases. i, for my part, will otherwise definetly stay with firefox and ignore midori, gimp-help and friends... MeloDramus From haithem.rahmani at gmail.com Sat Mar 13 07:41:30 2010 From: haithem.rahmani at gmail.com (haithem rahmani) Date: Sat, 13 Mar 2010 16:41:30 +0100 Subject: [webkit-help] lash player (thouraya andolsi) Message-ID: <8160dd171003130741l535be34cr82ad9e22d9251d12@mail.gmail.com> > > I would like to get flash working in webkit. > I'm using Webkit/GTK-Directfb on linux. > > I built the swfdec but I don't have any idea on how to make flash working. > > you have to use the "Swfdec-Mozilla" which privides a flashplugin based on the swfdec library but you need to add the support for directfb. http://swfdec.freedesktop.org/wiki hth haithem -- Say: He is God, the One and Only; God, the Eternal, Absolute; He begetteth not, nor is He begotten; And there is none like unto Him. -------------- next part -------------- An HTML attachment was scrubbed... URL: From meiry242 at gmail.com Sat Mar 13 12:50:06 2010 From: meiry242 at gmail.com (Meir Yanovich) Date: Sat, 13 Mar 2010 22:50:06 +0200 Subject: [webkit-help] how to get response in QtWebKit In-Reply-To: References: Message-ID: can someone please give me short tutorial or sample source code Thanks On Thu, Mar 11, 2010 at 11:21 PM, Meir Yanovich wrote: > Hello all im beginner with QtWebKit i build simple web frame that loaded > page ( server side ) and when from this page i submit data i like to catch > the response string from the server in the c++ side how can i do that ? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ariya.hidayat at gmail.com Sat Mar 13 14:00:51 2010 From: ariya.hidayat at gmail.com (Ariya Hidayat) Date: Sat, 13 Mar 2010 14:00:51 -0800 Subject: [webkit-help] how to get response in QtWebKit In-Reply-To: References: Message-ID: > can someone please give me short tutorial or sample source code Read bit.ly/webkit-gethelp first! Have you given it at least a try (by yourself) using the links I have shown before? -- Ariya Hidayat http://www.linkedin.com/in/ariyahidayat From kennywu2 at yahoo.com Mon Mar 15 03:26:54 2010 From: kennywu2 at yahoo.com (Kenny Wu) Date: Mon, 15 Mar 2010 03:26:54 -0700 (PDT) Subject: [webkit-help] Building webkit in Windows (Visual C++ 2005 Express + Cygwin) Message-ID: <731679.82709.qm@web32804.mail.mud.yahoo.com> Build error on 55986?in cygwin is encountered.? Please help.? Thanks. Error seems to occur when compiling the module WebCore. Performing Pre-Link Event... Creating library... C:\cygwin\home\Admin\WebKit\WebKitBuild\lib\WebCore.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x51DCFDDF Project : warning PRJ0018 : The following environment variables were not found: $(PRODUCTION) $(DXSDK_DIR) How much disk space is needed in order to fufil the library linking process?? Is 4G enough? Any idea?? Please help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.plywaczyk at gmail.com Mon Mar 15 03:31:26 2010 From: s.plywaczyk at gmail.com (=?UTF-8?Q?Seweryn_P=C5=82ywaczyk?=) Date: Mon, 15 Mar 2010 11:31:26 +0100 Subject: [webkit-help] Building webkit in Windows (Visual C++ 2005 Express + Cygwin) In-Reply-To: <731679.82709.qm@web32804.mail.mud.yahoo.com> References: <731679.82709.qm@web32804.mail.mud.yahoo.com> Message-ID: Hi Maybe this will help: http://support.microsoft.com/kb/834332 On 15 March 2010 11:26, Kenny Wu wrote: > Build error on 55986 in cygwin is encountered. Please help. Thanks. > > Error seems to occur when compiling the module WebCore. > > Performing Pre-Link Event... > Creating library... > C:\cygwin\home\Admin\WebKit\WebKitBuild\lib\WebCore.lib : fatal error > LNK1106: invalid file or disk full: cannot seek to 0x51DCFDDF > Project : warning PRJ0018 : The following environment variables were not > found: > $(PRODUCTION) > $(DXSDK_DIR) > > How much disk space is needed in order to fufil the library linking > process? Is 4G enough? Any idea? Please help. > > > > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tonikitoo at gmail.com Mon Mar 15 08:56:42 2010 From: tonikitoo at gmail.com (tonikitoo (Antonio Gomes)) Date: Mon, 15 Mar 2010 11:56:42 -0400 Subject: [webkit-help] DownloadPolicy help In-Reply-To: <663e29e81003120614j73fc8b4bj6c9cc47b052e9107@mail.gmail.com> References: <663e29e81003110824v3d585ddfp56311c02e7c8df2d@mail.gmail.com> <1088F06A-0CA9-46E9-A388-FF37AB4A3D2A@webkit.org> <663e29e81003120614j73fc8b4bj6c9cc47b052e9107@mail.gmail.com> Message-ID: <7eb9ad711003150856ud8018ke382aa4a74ae32fb@mail.gmail.com> On Fri, Mar 12, 2010 at 10:14 AM, Jack Wootton wrote: > Thank you for this response.? So in the context of an HTTP error with > MIME-type foo/foo, WebKit makes a policy decision to "download" since it > cannot load the MIME-type foo.? The idea being that the browser would prompt > the user to download the content? That is correct, I think. From meiry242 at gmail.com Mon Mar 15 08:57:14 2010 From: meiry242 at gmail.com (Meir Yanovich) Date: Mon, 15 Mar 2010 17:57:14 +0200 Subject: [webkit-help] Fwd: how to get response in QtWebKit In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: Meir Yanovich Date: Sun, Mar 14, 2010 at 6:06 AM Subject: Re: [webkit-help] how to get response in QtWebKit To: Ariya Hidayat sure i did try , here is my sample code (that dosnt work) what i am doing here wrong? MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { browser = new QWebView(); connect(browser->page(), SIGNAL(startRequested(QNetworkRequest)), this, SLOT(startRequested(QNetworkRequest))); m_manager = new QNetworkAccessManager( this ); connect(m_manager, SIGNAL(finished(QNetworkReply*)),this, SLOT(replyFinished(QNetworkReply *)) ); browser->load(QUrl("http://www.cnn.com")); } void MainWindow::replyFinished( QNetworkReply *reply ) { if ( reply->error() != QNetworkReply::NoError ) { qDebug() << "Request failed, " << reply->errorString(); return; } qDebug() << "Request succeeded"; } void MainWindow::startRequested(const QNetworkRequest &request) { QString defaultFileName = QFileInfo(request.url().toString()).fileName(); if (defaultFileName.isEmpty()) return; } On Sun, Mar 14, 2010 at 12:00 AM, Ariya Hidayat wrote: > > can someone please give me short tutorial or sample source code > > Read bit.ly/webkit-gethelp first! > > Have you given it at least a try (by yourself) using the links I have > shown before? > > > > -- > Ariya Hidayat > http://www.linkedin.com/in/ariyahidayat > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > -------------- next part -------------- An HTML attachment was scrubbed... URL: From n179911 at gmail.com Mon Mar 15 19:29:49 2010 From: n179911 at gmail.com (n179911) Date: Mon, 15 Mar 2010 19:29:49 -0700 Subject: [webkit-help] grep -r webkit_web_view_get_type . Message-ID: <3b9893451003151929g6ba3f3d8h5d6c0754e08fe925@mail.gmail.com> Hi, Can you please tell me where is webkit_web_view_get_type() being implemented. I have searched for in the source tree. I can only find: webkit_web_view_get_type ./WebKit/gtk/webkit/webkitwebview.h:#define WEBKIT_TYPE_WEB_VIEW (webkit_web_view_get_type()) But I can't find anywhere which it is being implemented: Here is how I grep for it: grep -r webkit_web_view_get_type . Thank you in advance for any help. From j_jma at 163.com Mon Mar 15 22:10:53 2010 From: j_jma at 163.com (j_jma) Date: Tue, 16 Mar 2010 13:10:53 +0800 (CST) Subject: [webkit-help] environment variables PRODUCTION and DXSDK_DIR not found. Message-ID: <1939702.d723.1276561b03f.Coremail.j_jma@163.com> hi all, I meet the error as follow when I build webkit. 3>C:\cygwin\home\Jianjun.Ma\webkit\WebKitBuild\lib\WebCore.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x520D60B5 3>Project : warning PRJ0018 : The following environment variables were not found: 3>$(PRODUCTION) 3>$(DXSDK_DIR) 3>Build log was saved at "file://C:\cygwin\home\Jianjun.Ma\webkit\WebKitBuild\obj\WebCore\Release\BuildLog.htm" 3>WebCore - 1 error(s), 18 warning(s) what can I do? thank you! Best regards. janun -------------- next part -------------- An HTML attachment was scrubbed... URL: From zaheer.mot at gmail.com Mon Mar 15 22:42:23 2010 From: zaheer.mot at gmail.com (zaheer ahmad) Date: Tue, 16 Mar 2010 11:12:23 +0530 Subject: [webkit-help] grep -r webkit_web_view_get_type . In-Reply-To: <3b9893451003151929g6ba3f3d8h5d6c0754e08fe925@mail.gmail.com> References: <3b9893451003151929g6ba3f3d8h5d6c0754e08fe925@mail.gmail.com> Message-ID: Its generated by the macro G_DEFINE_TYPE(WebKitWebView, webkit_web_view, GTK_TYPE_CONTAINER) On Tue, Mar 16, 2010 at 7:59 AM, n179911 wrote: > Hi, > > Can you please tell me where is webkit_web_view_get_type() being > implemented. I have searched for in the source tree. I can only find: > webkit_web_view_get_type > ./WebKit/gtk/webkit/webkitwebview.h:#define WEBKIT_TYPE_WEB_VIEW > (webkit_web_view_get_type()) > > But I can't find anywhere which it is being implemented: > Here is how I grep for it: > grep -r webkit_web_view_get_type . > > Thank you in advance for any help. > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ariya.hidayat at gmail.com Tue Mar 16 09:11:29 2010 From: ariya.hidayat at gmail.com (Ariya Hidayat) Date: Tue, 16 Mar 2010 09:11:29 -0700 Subject: [webkit-help] [webkit-reviewers] Committer nomination: Noam Rosenthal In-Reply-To: <927d01d21003160843k6780ffb6v3207895d0cf42644@mail.gmail.com> References: <8dd986c81003160833t41c5d790w92e7ba08295453c6@mail.gmail.com> <927d01d21003160843k6780ffb6v3207895d0cf42644@mail.gmail.com> Message-ID: I fully support Noam for this nomination. -- Ariya Hidayat http://www.linkedin.com/in/ariyahidayat From hap497 at gmail.com Tue Mar 16 10:20:36 2010 From: hap497 at gmail.com (hap 497) Date: Tue, 16 Mar 2010 10:20:36 -0700 Subject: [webkit-help] How to run Webkit in framebuffer Message-ID: <5ff1d48c1003161020odd85fe7xe86b6f04324f4ca8@mail.gmail.com> Hi, I see Webkit has an configure option about using framebuffer. Can you please tell me how can I run Webkit run in Framebuffer (after I enable framebuffer) on Linux (Ubuntu)? Thank you. From ariya.hidayat at gmail.com Tue Mar 16 10:31:49 2010 From: ariya.hidayat at gmail.com (Ariya Hidayat) Date: Tue, 16 Mar 2010 10:31:49 -0700 Subject: [webkit-help] [webkit-reviewers] Committer nomination: Noam Rosenthal In-Reply-To: References: <8dd986c81003160833t41c5d790w92e7ba08295453c6@mail.gmail.com> <927d01d21003160843k6780ffb6v3207895d0cf42644@mail.gmail.com> Message-ID: Ignore this email. My mail client was acting weird. From tonikitoo at gmail.com Tue Mar 16 10:49:22 2010 From: tonikitoo at gmail.com (tonikitoo (Antonio Gomes)) Date: Tue, 16 Mar 2010 13:49:22 -0400 Subject: [webkit-help] [webkit-reviewers] Committer nomination: Noam Rosenthal In-Reply-To: References: <8dd986c81003160833t41c5d790w92e7ba08295453c6@mail.gmail.com> <927d01d21003160843k6780ffb6v3207895d0cf42644@mail.gmail.com> Message-ID: <7eb9ad711003161049x523fe93eo7f79ce4b38eb811a@mail.gmail.com> Regardless that, it is very deserved :) On Tue, Mar 16, 2010 at 1:31 PM, Ariya Hidayat wrote: > Ignore this email. My mail client was acting weird. > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > -- --Antonio Gomes From n179911 at gmail.com Tue Mar 16 11:33:22 2010 From: n179911 at gmail.com (n179911) Date: Tue, 16 Mar 2010 11:33:22 -0700 Subject: [webkit-help] grep -r webkit_web_view_get_type . In-Reply-To: References: <3b9893451003151929g6ba3f3d8h5d6c0754e08fe925@mail.gmail.com> Message-ID: <3b9893451003161133h7bcde11ag321e413fb8b51292@mail.gmail.com> Thank you. Can you please tell me how can I find the generated code? What does it return ? I think it returns an integer. But I am not sure what does that integer means or what are the valid values? On Mon, Mar 15, 2010 at 10:42 PM, zaheer ahmad wrote: > Its generated by the macro > G_DEFINE_TYPE(WebKitWebView, webkit_web_view, GTK_TYPE_CONTAINER) > On Tue, Mar 16, 2010 at 7:59 AM, n179911 wrote: >> >> Hi, >> >> Can you please tell me where is webkit_web_view_get_type() being >> implemented. I have searched for in the source tree. I can only find: >> webkit_web_view_get_type >> ./WebKit/gtk/webkit/webkitwebview.h:#define WEBKIT_TYPE_WEB_VIEW >> ? ? (webkit_web_view_get_type()) >> >> But I can't find anywhere which it is being implemented: >> Here is how I grep for it: >> grep -r webkit_web_view_get_type . >> >> Thank you in advance for any help. >> _______________________________________________ >> webkit-help mailing list >> webkit-help at lists.webkit.org >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > > From superstippi at gmx.de Tue Mar 16 11:42:25 2010 From: superstippi at gmx.de (Stephan Assmus) Date: Tue, 16 Mar 2010 19:42:25 +0100 Subject: [webkit-help] Remembering visited links at run-time. Message-ID: <20100316194225.11214.3@bepc.1268759535.fake> Hi all, running the Acid3 test on the new WebKit-based browser I am currently writing for the Haiku operating system, I receive a score of 98/100 and "LINKTEST FAILED". Until now, I assumed it must be something the Haiku port is lacking, but today I googled a bit for this problem, and it looks like this may actually be a WebKit bug? Some links I found: I understand that the test is about remembering visited links at run-time. Here is another test that also fails for the same reason: >From the fact that both Safari and Chrome pass the link tests completely, I am confused whether this is a WebKit problem or a problem in my browser (or the Haiku port). Am I perhaps supposed to call some methods in WebCore which trigger the correct behavior with regard to visited links? Thanks for any pointers & best regards, -Stephan From julienc at quicinc.com Tue Mar 16 16:02:31 2010 From: julienc at quicinc.com (Chaffraix, Julien) Date: Tue, 16 Mar 2010 16:02:31 -0700 Subject: [webkit-help] Remembering visited links at run-time. In-Reply-To: <20100316194225.11214.3@bepc.1268759535.fake> References: <20100316194225.11214.3@bepc.1268759535.fake> Message-ID: <78E77D580688E54FB4E4048C953019290163FBF4B4@NALASEXMB08.na.qualcomm.com> > running the Acid3 test on the new WebKit-based browser I am currently > writing for the Haiku operating system, I receive a score of 98/100 and > "LINKTEST FAILED". Until now, I assumed it must be something the Haiku port > is lacking, but today I googled a bit for this problem, and it looks like > this may actually be a WebKit bug? AFAICT this is not a WebKit bug per se, just a security measure as there are privacy implications related to the use of the :visited selector. > From the fact that both Safari and Chrome pass the link tests completely, I > am confused whether this is a WebKit problem or a problem in my browser (or > the Haiku port). I would say this is a problem in your browser / API. > Am I perhaps supposed to call some methods in WebCore > which trigger the correct behavior with regard to visited links? Yes, you need to call PageGroup::setShouldTrackVisitedLinks(true) to tell WebKit to keep track of the :visited links. See http://trac.webkit.org/changeset/32268 for reference. Regards, Julien From kelvinz at turbolinux.com.cn Tue Mar 16 21:24:51 2010 From: kelvinz at turbolinux.com.cn (kelvin) Date: Wed, 17 Mar 2010 12:24:51 +0800 Subject: [webkit-help] Play video issue with GtkLauncher Message-ID: <4BA05993.2060200@turbolinux.com.cn> Hi, Last week I checkout webkit, build with GTK and try to use GtkLauncher. The issue is GtkLauncher cannot play some video, like .vob, .mp4. The interesting thing is it can play some video file and mp3 files. What I do: svn checkout .. (r55831) cd trunk make make install /user/libexex/WebKit/GtkLauncher GtkLauncher cannot play video files but no error messages printed. Would any help to guide me what I can do to fix the issue? Thanks, Kelvin From kennywu2 at yahoo.com Wed Mar 17 00:09:06 2010 From: kennywu2 at yahoo.com (Kenny Wu) Date: Wed, 17 Mar 2010 00:09:06 -0700 (PDT) Subject: [webkit-help] What are the difference between the compile configuration? Message-ID: <633456.2557.qm@web32807.mail.mud.yahoo.com> What are the difference between the compile configuration? Debug Debug_Internal Debug_All Debug_Cairo Release Release_Cairo Especially Release and Release_Cairo, what are the difference? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From kennywu2 at yahoo.com Wed Mar 17 00:51:12 2010 From: kennywu2 at yahoo.com (Kenny Wu) Date: Wed, 17 Mar 2010 00:51:12 -0700 (PDT) Subject: [webkit-help] =?utf-8?q?Re=EF=BC=9A__Building_webkit_in_Windows_?= =?utf-8?q?=28Visual_C++_2005_Express__+_Cygwin=29?= In-Reply-To: References: <731679.82709.qm@web32804.mail.mud.yahoo.com> Message-ID: <329143.60673.qm@web32805.mail.mud.yahoo.com> Hi, I have tried the following workaround for all Release and Debug build, but the problem still exists.? Any idea? To work around this problem, add the /IGNOREIDL linker option. To set this linker option in the Visual Studio .NET IDE, follow these steps: 1. Open the Property Pages dialog box for the project. 2. Expand the Linker folder. 3. Click Embedded IDL to view the Embedded IDL property page. 4. Set the Ignore Embedded IDL property to Yes. ________________________________ ???? Seweryn P?ywaczyk ???? Kenny Wu ??(CC) webkit-help at lists.webkit.org ????? 2010/3/15 (?) 6:31:26 PM ??? Re: [webkit-help] Building webkit in Windows (Visual C++ 2005 Express + Cygwin) Hi Maybe this will help: http://support.microsoft.com/kb/834332 On 15 March 2010 11:26, Kenny Wu wrote: Build error on 55986?in cygwin is encountered.? Please help.? Thanks. > >Error seems to occur when compiling the module WebCore. > >Performing Pre-Link Event... >Creating library... >C:\cygwin\home\Admin\WebKit\WebKitBuild\lib\WebCore.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x51DCFDDF >Project : warning PRJ0018 : The following environment variables were not found: >$(PRODUCTION) >$(DXSDK_DIR) > > > >How much disk space is needed in order to fufil the library linking process?? Is 4G enough? Any idea?? Please help. >? >_______________________________________________ >webkit-help mailing list >webkit-help at lists.webkit.org >http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From superstippi at gmx.de Wed Mar 17 02:39:18 2010 From: superstippi at gmx.de (Stephan Assmus) Date: Wed, 17 Mar 2010 10:39:18 +0100 Subject: [webkit-help] Remembering visited links at run-time. In-Reply-To: <78E77D580688E54FB4E4048C953019290163FBF4B4@NALASEXMB08.na.qual comm.com> References: <20100316194225.11214.3@bepc.1268759535.fake> <78E77D580688E54FB4E4048C953019290163FBF4B4@NALASEXMB08.na.qualcomm.com> Message-ID: <20100317103918.402.1@bepc.1268818046.fake> Hi, On 2010-03-17 at 00:02:31 [+0100], "Chaffraix, Julien" wrote: > > Am I perhaps supposed to call some methods in WebCore > > which trigger the correct behavior with regard to visited links? > > Yes, you need to call PageGroup::setShouldTrackVisitedLinks(true) to tell > WebKit to keep track of the :visited links. > > See http://trac.webkit.org/changeset/32268 for reference. Thanks a bunch! That was indeed the problem. Best regards, -Stephan From bluegenetic at gmail.com Wed Mar 17 04:28:04 2010 From: bluegenetic at gmail.com (Bharathwaaj S) Date: Wed, 17 Mar 2010 16:58:04 +0530 Subject: [webkit-help] grep -r webkit_web_view_get_type . In-Reply-To: <3b9893451003161133h7bcde11ag321e413fb8b51292@mail.gmail.com> References: <3b9893451003151929g6ba3f3d8h5d6c0754e08fe925@mail.gmail.com> <3b9893451003161133h7bcde11ag321e413fb8b51292@mail.gmail.com> Message-ID: Hi, Generated code hacked from G_DEFINE_TYPE help manual! *Reference:* G_DEFINE_TYPE(WebKitWebView, webkit_web_view, GTK_TYPE_CONTAINER) #define G_DEFINE_TYPE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {}) #define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END() G_DEFINE_TYPE_EXTENDED (WebKitWebView, webkit_web_view, GTK_TYPE_CONTAINER, 0, {}); *Code:* static void webkit_web_view_init (WebKitWebView *self); static void webkit_web_view_class_init (WebKitWebViewClass *klass); static gpointer webkit_web_view_parent_class = NULL; static void webkit_web_view_class_intern_init (gpointer klass) { webkit_web_view_parent_class = g_type_class_peek_parent (klass); webkit_web_view_class_init ((WebKitWebViewClass*) klass); } GType webkit_web_view_get_type (void) { static volatile gsize g_define_type_id__volatile = 0; if (g_once_init_enter (&g_define_type_id__volatile)) { GType g_define_type_id = g_type_register_static_simple (GTK_TYPE_CONTAINER, g_intern_static_string ("WebKitWebView"), sizeof (WebKitWebViewClass), (GClassInitFunc) webkit_web_view_class_intern_init, sizeof (WebKitWebView), (GInstanceInitFunc) webkit_web_view_init, (GTypeFlags) 0); { { } } g_once_init_leave (&g_define_type_id__volatile, g_define_type_id); } return g_define_type_id__volatile; } Returns a GType which is nothing but an unique identifier. Kind regards, Bharath http://amusingsilhouettes.blogspot.com On Wed, Mar 17, 2010 at 12:03 AM, n179911 wrote: > Thank you. Can you please tell me how can I find the generated code? > What does it return ? I think it returns an integer. But I am not sure > what does that integer means or what are the valid values? > > > > On Mon, Mar 15, 2010 at 10:42 PM, zaheer ahmad > wrote: > > Its generated by the macro > > G_DEFINE_TYPE(WebKitWebView, webkit_web_view, GTK_TYPE_CONTAINER) > > On Tue, Mar 16, 2010 at 7:59 AM, n179911 wrote: > >> > >> Hi, > >> > >> Can you please tell me where is webkit_web_view_get_type() being > >> implemented. I have searched for in the source tree. I can only find: > >> webkit_web_view_get_type > >> ./WebKit/gtk/webkit/webkitwebview.h:#define WEBKIT_TYPE_WEB_VIEW > >> (webkit_web_view_get_type()) > >> > >> But I can't find anywhere which it is being implemented: > >> Here is how I grep for it: > >> grep -r webkit_web_view_get_type . > >> > >> Thank you in advance for any help. > >> _______________________________________________ > >> webkit-help mailing list > >> webkit-help at lists.webkit.org > >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > > > > > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aroben at apple.com Wed Mar 17 05:21:00 2010 From: aroben at apple.com (Adam Roben) Date: Wed, 17 Mar 2010 08:21:00 -0400 Subject: [webkit-help] What are the difference between the compile configuration? In-Reply-To: <633456.2557.qm@web32807.mail.mud.yahoo.com> References: <633456.2557.qm@web32807.mail.mud.yahoo.com> Message-ID: On Mar 17, 2010, at 3:09 AM, Kenny Wu wrote: > What are the difference between the compile configuration? > > Debug > Debug_Internal > Debug_All > Debug_Cairo > Release > Release_Cairo > > Especially Release and Release_Cairo, what are the difference? The *_Cairo configurations build a version of WebKit for Windows that uses Cairo for graphics and libcurl for network access. The other configurations build versions of WebKit for Windows that use Apple's CoreGraphics framework for graphics and CFNetwork framework for network access. (The Debug_Internal and Debug_All configurations are variants of this latter version of WebKit that link against debug versions of some of WebKit's dependencies.) -Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: From ariya.hidayat at gmail.com Wed Mar 17 08:40:45 2010 From: ariya.hidayat at gmail.com (Ariya Hidayat) Date: Wed, 17 Mar 2010 08:40:45 -0700 Subject: [webkit-help] Fwd: how to get response in QtWebKit In-Reply-To: References: Message-ID: Reading this again, I think you missed what I wrote: "Use custom network manager" (vs just instantiating QNetworkAccessManager). This way, your subclass of QNetworkAccessManager can have access to its createRequest function and then connect to all the signals in the network reply object or do any other kind of sniffing. -- Ariya Hidayat http://www.linkedin.com/in/ariyahidayat From anil.vemulapally at gmail.com Wed Mar 17 10:19:41 2010 From: anil.vemulapally at gmail.com (anil v) Date: Wed, 17 Mar 2010 10:19:41 -0700 Subject: [webkit-help] video window creation issue with VLC plugin on WebkitGtK Message-ID: <4bc25c2f1003171019g26bd7aa0o43fcd0e5119e39c4@mail.gmail.com> Hi All, I am trying to playback the video using VLC plugin on webkitGtk browser and video playback is proper but the right side and bottom of the video window i am observing gray color window which is hiding my buttons and all other controls when i give more breaks in html then I am able to see my buttons. I have tried with webkit-1.1.15.4 but the total window is covering with gray color window but when i use the webkt-1.1.1 it is showing some part around video window showing the Gray color window. you can find screen shot of my video window from this link https://sites.google.com/site/venuvemulapallyproject/have-a-fun/Screenshot-1edit.png I have cross verified same html with firefox and midori both are not creating any gray color window and properly playing. Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: From swaroop_ks at yahoo.com Wed Mar 17 11:05:04 2010 From: swaroop_ks at yahoo.com (swaroop k.s) Date: Wed, 17 Mar 2010 11:05:04 -0700 (PDT) Subject: [webkit-help] Changing the name for the resulting webkit library Message-ID: <639048.71145.qm@web113505.mail.gq1.yahoo.com> Hello all, Is there a way of changing the resulting webkit library? Specifically, when I build webkit (I'm using the GTK version), it generates the libraries and the pkgconfig files. The generated library name is 'webkit-1.0'. Is there any way of configuring this name? for example, to 'webkittest-1.0'? I need this since I'm trying some changes in webcore, and I need a way of comparing my changes with the original. If someone could point me in the right direction (what files need to be modified, any particular gotchas?), I'd appreciate the help. thnaks, -Swaroop From nayankk at gmail.com Wed Mar 17 11:16:21 2010 From: nayankk at gmail.com (Nayan) Date: Wed, 17 Mar 2010 23:46:21 +0530 Subject: [webkit-help] Changing the name for the resulting webkit library In-Reply-To: <639048.71145.qm@web113505.mail.gq1.yahoo.com> References: <639048.71145.qm@web113505.mail.gq1.yahoo.com> Message-ID: AFAIK, replacing all occurances of webkit-1.0 with webkittests-1.0 in GNUMakefile.am and WebKit/gtk/webkit.pc.in would do the trick. On Wed, Mar 17, 2010 at 11:35 PM, swaroop k.s wrote: > Hello all, > Is there a way of changing the resulting webkit library? > Specifically, when I build webkit (I'm using the GTK version), it generates > the libraries and the pkgconfig files. The generated library name is > 'webkit-1.0'. Is there any way of configuring this name? for example, to > 'webkittest-1.0'? > I need this since I'm trying some changes in webcore, and I need a way of > comparing my changes with the original. > If someone could point me in the right direction (what files need to be > modified, any particular gotchas?), I'd appreciate the help. > > thnaks, > -Swaroop > > > > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > -- Regards, _Nayan_ -------------- next part -------------- An HTML attachment was scrubbed... URL: From hap497 at gmail.com Thu Mar 18 01:10:32 2010 From: hap497 at gmail.com (hap 497) Date: Thu, 18 Mar 2010 01:10:32 -0700 Subject: [webkit-help] How can I get the Image from a StyleImage Message-ID: <5ff1d48c1003180110o5171ffd6id109bc4fdcc8b968@mail.gmail.com> Hi, I am able to get the StyleImage of my element using: RenderObject *o = element->renderer(); RenderStyle* style = o->style(); StyleImage* bgImage = style->backgroundImage(); My question is how can I get the Image being painted (the one which is actual pass to Graphics Context)? I see this method in StyleImage, but how can I use that? How can I find out the IntSize which is used for painting? virtual Image* image(RenderObject*, const IntSize&) const = 0; Thank you. From buserror at gmail.com Thu Mar 18 04:04:03 2010 From: buserror at gmail.com (M P) Date: Thu, 18 Mar 2010 11:04:03 +0000 Subject: [webkit-help] Build without NPAPI ? In-Reply-To: References: Message-ID: I'm trying to build without NETSCAPE_PLUGIN_API (that in turn wants libx11 etc) -- is there a way to do so from the ./config line or do I have to apply some patch ? Michael From ariya.hidayat at gmail.com Thu Mar 18 04:08:49 2010 From: ariya.hidayat at gmail.com (Ariya Hidayat) Date: Thu, 18 Mar 2010 04:08:49 -0700 Subject: [webkit-help] Build without NPAPI ? In-Reply-To: References: Message-ID: > I'm trying to build without NETSCAPE_PLUGIN_API (that in turn wants > libx11 etc) -- is there a way to do so from the ./config line or do I > have to apply some patch ? Next time, you need to state first which port you are using (Qt/Gtk/wx?). One solution would be to tweak ENABLE_NETSCAPE_PLUGIN_API in JavaScriptCore/wtf/Platform.h. -- Ariya Hidayat http://www.linkedin.com/in/ariyahidayat From wadii.gd at gmail.com Thu Mar 18 04:43:41 2010 From: wadii.gd at gmail.com (Wadii Guedria) Date: Thu, 18 Mar 2010 12:43:41 +0100 Subject: [webkit-help] WebKit Qt building Message-ID: <62af62821003180443g4c5f1ec4kc1ff493415bdb6db@mail.gmail.com> Hi, I ma building Qt WebKit, I checked out the code from Subversion, then I executed WebKit/WebKitTools/Scripts/build-webkit --qt but I had these errors: JavaScriptCore/pcre/pcre_xclass.cpp:1: error: bad value (atom) for -mtune= switch make[1]: *** [obj/release/pcre_xclass.o] Erreur 1 JavaScriptCore/API/JSCallbackConstructor.cpp:1: error: bad value (atom) for -mtune= switchmake[1]: *** [obj/release/JSCallbackConstructor.o] Erreur 1 /JavaScriptCore/API/OpaqueJSString.cpp:1: error: bad value (atom) for -mtune= switch make[1]: *** [obj/release/OpaqueJSString.o] Erreur 1 Could someone tell me which is the problem? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From buserror at gmail.com Thu Mar 18 04:48:37 2010 From: buserror at gmail.com (M P) Date: Thu, 18 Mar 2010 11:48:37 +0000 Subject: [webkit-help] Build without NPAPI ? In-Reply-To: References: Message-ID: On Thu, Mar 18, 2010 at 11:08 AM, Ariya Hidayat wrote: >> I'm trying to build without NETSCAPE_PLUGIN_API (that in turn wants >> libx11 etc) -- is there a way to do so from the ./config line or do I >> have to apply some patch ? > > Next time, you need to state first which port you are using (Qt/Gtk/wx?). > > One solution would be to tweak ENABLE_NETSCAPE_PLUGIN_API in > JavaScriptCore/wtf/Platform.h. I added a: #define ENABLE_NETSCAPE_PLUGIN_API 0 bang in the middle of that file, and it still tries to compile the thing anyway, regardless ./WebCore/bridge/npapi.h:275: error: 'Colormap' does not name a type ..etc How does everyone else build webkit on unix without xorg ? there is a gtk/directfb target, but it can't seem to work in this state. Am I going to have to build and roll in libx* bloat even tho I don't even want to use plugins ? Michael From buserror at gmail.com Thu Mar 18 05:50:11 2010 From: buserror at gmail.com (M P) Date: Thu, 18 Mar 2010 12:50:11 +0000 Subject: [webkit-help] git://git.webkit.org/WebKit.git corrupted ? Message-ID: git fetch returns this : % git fetch remote: error: failed to unpack compressed delta at offset 167772124 from ./objects/pack/pack-48166dba7808af6c8cbc7b74dada2c456e2ba411.pack remote: error: failed to read object be61563cc282b7c036d656ec05df6d5d66be4be7 at offset 167772121 from ./objects/pack/pack-48166dba7808af6c8cbc7b74dada2c456e2ba411.pack remote: fatal: object be61563cc282b7c036d656ec05df6d5d66be4be7 is corrupted remote: aborting due to possible repository corruption on the remote side. fatal: protocol error: bad pack header Michael From gns at gnome.org Thu Mar 18 08:22:50 2010 From: gns at gnome.org (Gustavo Noronha Silva) Date: Thu, 18 Mar 2010 12:22:50 -0300 Subject: [webkit-help] Play video issue with GtkLauncher In-Reply-To: <4BA05993.2060200@turbolinux.com.cn> References: <4BA05993.2060200@turbolinux.com.cn> Message-ID: <1268925770.23113.5.camel@goiaba> On Wed, 2010-03-17 at 12:24 +0800, kelvin wrote: > The issue is GtkLauncher cannot play some video, like .vob, .mp4. The > interesting thing is it can play some video file and mp3 files. What formats GtkLauncher will be able to play (through WebKitGTK+) depends on the GStreamer plugins you have installed. I think you need at least plugins-good, and plugins-bad for the mp4 files to play. > GtkLauncher cannot play video files but no error messages printed. Notice that GtkLauncher is far from being a media player =). We currently lack appropriate error reporting in WebKitGTK+ for failures when loading media files, that is true, but when we get that, it's not a given that GtkLauncher will report those errors. See you, -- Gustavo Noronha Silva GNOME Project From webkit09 at gmail.com Fri Mar 19 07:52:30 2010 From: webkit09 at gmail.com (Webkit Developer) Date: Fri, 19 Mar 2010 10:52:30 -0400 Subject: [webkit-help] Desktop Applications using Webkit Message-ID: <24292cbc1003190752i52c2e633hddee42593a822e26@mail.gmail.com> Hey There, Can we develop the desktop application using QTWebkit. Our appplication mainly be using HTML,CSS,Javascript and C++ as its backend. If we can develop the application , then can we know What are the Softwares we need to download to start the devlopmwnt of the application. And also it would be great help if could suggest where to start ...coz i could not find the proper documnetaion of the Webkit . Thanks, Harry -------------- next part -------------- An HTML attachment was scrubbed... URL: From baizhenxuan at gmail.com Sat Mar 20 19:45:50 2010 From: baizhenxuan at gmail.com (baizhenxuan) Date: Sun, 21 Mar 2010 10:45:50 +0800 Subject: [webkit-help] Developing Desktop applications Message-ID: <201003211045466832051@gmail.com> Hi, i'm very interested in developing desktop apps using webkit. and i have tried some small test apps. all your need is Qtwebkit,and you can extend Qtwebkit's javascript context using void QWebFrame::addToJavaScriptWindowObject ( const QString & name, QObject * object ) for develop apps using webkit, Qt's QtWebkit module document is enough. hope it's helpfull. baizhenxuan 2010-03-21 From kelvinz at turbolinux.com.cn Sun Mar 21 23:18:05 2010 From: kelvinz at turbolinux.com.cn (kelvin) Date: Mon, 22 Mar 2010 14:18:05 +0800 Subject: [webkit-help] webkit-help Digest, Vol 9, Issue 19 In-Reply-To: References: Message-ID: <4BA70B9D.3090109@turbolinux.com.cn> > Date: Thu, 18 Mar 2010 12:22:50 -0300 > From: Gustavo Noronha Silva > To: webkit-help at lists.webkit.org > Subject: Re: [webkit-help] Play video issue with GtkLauncher > Message-ID: <1268925770.23113.5.camel at goiaba> > Content-Type: text/plain; charset="UTF-8" > > On Wed, 2010-03-17 at 12:24 +0800, kelvin wrote: > >> The issue is GtkLauncher cannot play some video, like .vob, .mp4. The >> interesting thing is it can play some video file and mp3 files. >> > > What formats GtkLauncher will be able to play (through WebKitGTK+) > depends on the GStreamer plugins you have installed. I think you need at > least plugins-good, and plugins-bad for the mp4 files to play. > > Thanks for your advices. I installed gst-plugins-bad and gst-plugins-good and now I can play most of the files. But I met a new issue. The video is so slow. The audio is OK. I try to play the same video file with "ffplay" and it's ok. Does the issue caused by my built webkit? or it is related to the GtkLauncher? Thanks, Kelvin >> GtkLauncher cannot play video files but no error messages printed. >> > > Notice that GtkLauncher is far from being a media player =). We > currently lack appropriate error reporting in WebKitGTK+ for failures > when loading media files, that is true, but when we get that, it's not a > given that GtkLauncher will report those errors. > > See you, > > -- ??????????? ??????????????????????12?5?502 ???100022 ???kelvin.zhao at turbolinux.com.cn ???(010) 65054020-183 ???(010) 65054017 Web site: www.turbolinux.com.cn -------------- next part -------------- An HTML attachment was scrubbed... URL: From bluegenetic at gmail.com Sun Mar 21 23:38:36 2010 From: bluegenetic at gmail.com (Bharathwaaj S) Date: Mon, 22 Mar 2010 12:08:36 +0530 Subject: [webkit-help] Listbox Scrollbar Combinations rendering issue Message-ID: Hi, I'm currently using the Gtk-DirectFB port of webkit-1.1.15.4. I tried testing the listbox-scrollbar- combinations.html When I place the mouse over the scrollbar, the thumb in the bar is not proper. The entire bar is painted with the thumb. But when I do scrolling operation, the thumb button in the scrollbar appears correctly. Any ideas on how to fix this? Please find the image of the same here . PS: I'm using cairo version 1.4.14. Kind regards, Bharath http://amusingsilhouettes.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From thouraya.andolsi at gmail.com Mon Mar 22 05:49:32 2010 From: thouraya.andolsi at gmail.com (thouraya andolsi) Date: Mon, 22 Mar 2010 13:49:32 +0100 Subject: [webkit-help] flash player In-Reply-To: <853977de1003120712h21750cf6ifc3525f5c462343c@mail.gmail.com> References: <853977de1003120712h21750cf6ifc3525f5c462343c@mail.gmail.com> Message-ID: <853977de1003220549q22d03bbo5bd38eac53a0df32@mail.gmail.com> Hi, I built the swfdec enabling gtk support and build the Swfdec-mozilla removing the X dependencies and copied the "libswfdecmozilla.so" library under the directory "/usr/lib/mozilla/plugins". Tried to run an html test showing a ".swf" file but I get a white window. Did any one succeded to get flash working in Webkit/GTK-Directfb? or encountered such a problem ? Best regards, Thouraya. 2010/3/12 thouraya andolsi > Hi, > > I would like to get flash working in webkit. > I'm using Webkit/GTK-Directfb on linux. > > I built the swfdec but I don't have any idea on how to make flash working. > > Can any one help me ? > > Thanks in advance. > > Thouraya. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From deepak.m at allaboutif.com Mon Mar 22 06:25:57 2010 From: deepak.m at allaboutif.com (Deepak Mundra) Date: Mon, 22 Mar 2010 18:55:57 +0530 Subject: [webkit-help] Regarding Proxy settings In-Reply-To: <4b1dabc71002212257m144c795bo41ca9055f09f103e@mail.gmail.com> References: <4b1dabc71002212257m144c795bo41ca9055f09f103e@mail.gmail.com> Message-ID: <4b1dabc71003220625s1de60bb1r182eff625930d35d@mail.gmail.com> Please help Is it related to SoupCookieJar ? On Mon, Feb 22, 2010 at 12:27 PM, Deepak Mundra wrote: > Dear All > > I found some code in mailing list to set proxy and i wrote a function > to set proxy as below .. > > ************** > void set_proxy(uint8_t enable) > { > char *proxyaddr = NULL; > SoupURI *pURI = NULL; > > SoupSession* session = webkit_get_default_session(); > > proxyaddr = getenv("browser_proxy"); /* i will set browser_proxy env > before calling this function*/ > > if(proxyaddr) > pURI = soup_uri_new(proxyaddr); > > if(pURI && enable) > g_object_set( session, "proxy-uri", pURI, NULL ); > else > g_object_set( session, "proxy-uri", NULL, NULL ); > > if(proxyaddr) > printf("Browser Proxy Address = %s\n",proxyaddr); > > if (pURI) > soup_uri_free(pURI); > } > ********** > > I am calling this function in GtkLauncher.c in main function . So it will > work properly .. But if i call this same function at runtime , this will > not work(disable/enable) > > > Actually i want to configure proxy at run time .. So that i need not to > restart the browser .. > > > Please help > > Thanks > > Deepak > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rls.webkit at schnapp.org Mon Mar 22 14:28:45 2010 From: rls.webkit at schnapp.org (Russ Schnapp) Date: Mon, 22 Mar 2010 14:28:45 -0700 Subject: [webkit-help] Using Windows WebKit COM object? In-Reply-To: References: Message-ID: <4BA7E10D.3090609@schnapp.org> My client needs to incorporate an SVG-enabled web browser into their application, which had to run on Windows as well as MacOS X. The Windows WebKit port seemed like an obvious answer... I followed the instructions for building WebKit on Windows. Lo and behold, it built without a hitch, and run-safari worked fine. Inspecting WebKit/WebKit/win/Interfaces/*, I was pleased to find a raft of idl files, which gave me the impression that WebKit.dll is a COM object, containing various interfaces that can be discovered at runtime, and that can be used by scripts and other programs to incorporate WK functionality. I'm able to run regsvr32 on WekKit.dll without any errors. HOWEVER... So far as I can tell, WekKit.dll isn't really recognized as a Windows COM object. Using Visual Studio 2005, if I try to use the "Add Class from Typelib Wizard", it finds a WebKit Type Library, but lists NO interfaces. And when googling for "WebKit Windows COM", the only relevant example I find is a 2-year-old rudimentary bit of exposition on blogspot.com, by a Japanese fellow. His example meets my expectations for usage, but I find no actual, runnable examples. I suspect he may have stopped at exposition and never got to implementation. Can anyone tell me whether WebKit's Windows COM stuff actually works, and I'm just doing something wrong? Is it only kinda sorta COM, and I will have to adapt the COMPtr wrapper examples as in WebKit/WebKitTools/WebKitAPITest/tests/WebViewDestruction.cpp? And therefore, I won't have access to WebKit functions in, e.g., Perl without writing some glue code? Frankly, I'd much prefer to be told that I'm way off base, and overlooking something really simple and obvious. From thomas.brodt at porabo.ch Tue Mar 23 01:18:42 2010 From: thomas.brodt at porabo.ch (Thomas Brodt) Date: Tue, 23 Mar 2010 09:18:42 +0100 Subject: [webkit-help] Using Windows WebKit COM object? In-Reply-To: <4BA7E10D.3090609@schnapp.org> References: <4BA7E10D.3090609@schnapp.org> Message-ID: <4BA87962.205@porabo.ch> WebKit provides access through COM interfaces, that is right so far, but doesn't publish them as dispatch interfaces AFAIK. But the interface itself is working fine, based on COM, you just cannot explore it through a dispatch interface. What you can do is get your first reference to the WebView interface by calling DllGetClassObject(IID_WebView) and the dig through the various interfaces by invoking access methods on this, and creating a IID_WebURLRequest to invoke a web page access to show in WebKit. As my binding is not for C or C++, I probably can't help you out with any code examples. HTH Thomas Am 22.03.2010 22:28, schrieb Russ Schnapp: > My client needs to incorporate an SVG-enabled web browser into their > application, which had to run on Windows as well as MacOS X. The > Windows WebKit port seemed like an obvious answer... > > I followed the instructions for building WebKit on Windows. Lo and > behold, it built without a hitch, and run-safari worked fine. > > Inspecting WebKit/WebKit/win/Interfaces/*, I was pleased to find a > raft of idl files, which gave me the impression that WebKit.dll is a > COM object, containing various interfaces that can be discovered at > runtime, and that can be used by scripts and other programs to > incorporate WK functionality. > > I'm able to run regsvr32 on WekKit.dll without any errors. > > HOWEVER... > > So far as I can tell, WekKit.dll isn't really recognized as a Windows > COM object. Using Visual Studio 2005, if I try to use the "Add Class > from Typelib Wizard", it finds a WebKit Type Library, but lists NO > interfaces. > > And when googling for "WebKit Windows COM", the only relevant example > I find is a 2-year-old rudimentary bit of exposition on blogspot.com, > by a Japanese fellow. His example meets my expectations for usage, > but I find no actual, runnable examples. I suspect he may have > stopped at exposition and never got to implementation. > > Can anyone tell me whether WebKit's Windows COM stuff actually works, > and I'm just doing something wrong? Is it only kinda sorta COM, and I > will have to adapt the COMPtr wrapper examples as in > WebKit/WebKitTools/WebKitAPITest/tests/WebViewDestruction.cpp? And > therefore, I won't have access to WebKit functions in, e.g., Perl > without writing some glue code? > > Frankly, I'd much prefer to be told that I'm way off base, and > overlooking something really simple and obvious. > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > > From sriram.neelakandan at gmail.com Tue Mar 23 21:58:50 2010 From: sriram.neelakandan at gmail.com (Sriram Neelakandan) Date: Wed, 24 Mar 2010 10:28:50 +0530 Subject: [webkit-help] flash player In-Reply-To: <853977de1003220549q22d03bbo5bd38eac53a0df32@mail.gmail.com> References: <853977de1003120712h21750cf6ifc3525f5c462343c@mail.gmail.com> <853977de1003220549q22d03bbo5bd38eac53a0df32@mail.gmail.com> Message-ID: <2c778a731003232158t484f299fn913afd1ece6a1c76@mail.gmail.com> - GTK/DFB port has not implemented a very important function that is used in Browser plugins. gtk_socket_new/gtk_plug_new Without these plugins will not work. For now, You have to create a custom DFB window and pass it down to the Plugin. Make changes in the plugin to accept this native DFB window via NPWindow IIRC qt-4.7 promises to provide a plugin solution for DFB, so hopefully that should set new standards for DFB based plugins On Mon, Mar 22, 2010 at 6:19 PM, thouraya andolsi < thouraya.andolsi at gmail.com> wrote: > Hi, > > I built the swfdec enabling gtk support and build the Swfdec-mozilla > removing the X dependencies and copied the "libswfdecmozilla.so" library > under the directory "/usr/lib/mozilla/plugins". > > Tried to run an html test showing a ".swf" file but I get a white window. > > Did any one succeded to get flash working in Webkit/GTK-Directfb? or > encountered such a problem ? > > Best regards, > Thouraya. > > > 2010/3/12 thouraya andolsi > > Hi, >> >> I would like to get flash working in webkit. >> I'm using Webkit/GTK-Directfb on linux. >> >> I built the swfdec but I don't have any idea on how to make flash working. >> >> Can any one help me ? >> >> Thanks in advance. >> >> Thouraya. >> > > > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > > -- Sriram Neelakandan Author - Embedded Linux System Design And Development ( http://tinyurl.com/2doosu) -------------- next part -------------- An HTML attachment was scrubbed... URL: From hap497 at gmail.com Wed Mar 24 00:42:28 2010 From: hap497 at gmail.com (hap 497) Date: Wed, 24 Mar 2010 02:42:28 -0500 Subject: [webkit-help] Error in running ./autogen.sh on linux Message-ID: <5ff1d48c1003240042i123fbd4cu11a793b1ec67593f@mail.gmail.com> Hi, I have download Webkit source and tried to compile it under ubuntu 8.04. And I am following this https://trac.webkit.org/wiki/BuildingGtk to build, But I get this error: $ ./autogen.sh --enable-debug configure.ac:41: option `tar-ustar' not recognized Can you please tell me how to fix it? Thank you. From Chang.Shu at nokia.com Wed Mar 24 09:57:59 2010 From: Chang.Shu at nokia.com (Chang.Shu at nokia.com) Date: Wed, 24 Mar 2010 17:57:59 +0100 Subject: [webkit-help] Debug DumpRenderTree with http tests Message-ID: <834DC1EA353E1B4C972D344CABE8D3E451E7DDC084@NOK-EUMSG-01.mgdnok.nokia.com> Hi, I'm trying to debug a couple of failed http related layout tests. However, I could not figure out how to run DumpRenderTree without calling run-webkit-tests script. I have started run-webkit-httpd in one terminal window and then run "WebKitBuild/Debug/DumpRenderTree LayoutTests/http/tests/..." on the other. But they didn't seem to connect. Shall I provide some parameters to DRT? Thanks very much! Chang -------------- next part -------------- An HTML attachment was scrubbed... URL: From oszi at inf.u-szeged.hu Wed Mar 24 10:09:10 2010 From: oszi at inf.u-szeged.hu (Osztrogonac Csaba) Date: Wed, 24 Mar 2010 18:09:10 +0100 Subject: [webkit-help] Debug DumpRenderTree with http tests In-Reply-To: <834DC1EA353E1B4C972D344CABE8D3E451E7DDC084@NOK-EUMSG-01.mgdnok.nokia.com> References: <834DC1EA353E1B4C972D344CABE8D3E451E7DDC084@NOK-EUMSG-01.mgdnok.nokia.com> Message-ID: <4BAA4736.5080402@inf.u-szeged.hu> Hi Chang, You should run WebKitBuild/Debug/DumpRenderTree , where URL is http://127.0.0.1:8000/TESTNAME (without LayoutTests/http/tests !) or https://127.0.0.1:8443/TESTNAME (without LayoutTests/http/tests/ssl !) (See run-webkit-tests script from line #646) br, Ossy Chang.Shu at nokia.com ?rta: > Hi, > > I'm trying to debug a couple of failed http related layout tests. > However, I could not figure out how to run DumpRenderTree without > calling run-webkit-tests script. I have started run-webkit-httpd in one > terminal window and then run "WebKitBuild/Debug/DumpRenderTree > LayoutTests/http/tests/..." on the other. But they didn't seem to connect. > Shall I provide some parameters to DRT? > > Thanks very much! > > Chang From avimagic4u at gmail.com Wed Mar 24 23:35:03 2010 From: avimagic4u at gmail.com (avinash kumar) Date: Thu, 25 Mar 2010 12:05:03 +0530 Subject: [webkit-help] Error in building WebKit on Windows Message-ID: <5f068d4b1003242335h36872b80p332b2ce9c58ffc31@mail.gmail.com> *Hi,* *I am new to WebKit*. *I am getting following errors while building WebKit on Windows from Cygwin shell. Please help me in solving this issue. * $ ./build-webkit --debug Checking mod-date of WebKitSupportLibrary.zip... Current WebKitSupportLibrary is up to date Building results into: /home/k.avinash/WebKit/WebKitBuild WEBKITOUTPUTDIR is set to: C:\Utils\home\k.avinash\WebKit\WebKitBuild WEBKITLIBRARIESDIR is set to: C:\Utils\home\k.avinash\WebKit\WebKitLibraries\win /home/k.avinash/WebKit/WebKitTools/Scripts/pdevenv win\WebKit.vcproj\WebKit.sln /build Debug Setting environment for using Microsoft Visual Studio 2005 x86 tools. Microsoft (R) Visual Studio Version 8.0.50727.762. Copyright (C) Microsoft Corp 1984-2005. All rights reserved. 1>------ Build started: Project: JavaScriptCoreGenerated, Configuration: all Win32 ------ 1>Performing Makefile project actions 1>The system cannot find the path specified. 1> xcopy /y/d/e/i "..\..\..\WebKitLibraries\win\tools" "C:\Utils\home\k.avinash\WebKit\WebKitLibraries\win\tools" 1>Cannot perform a cyclic copy 1>0 File(s) copied 1> touch "C:\Utils\home\k.avinash\WebKit\WebKitBuild\buildfailed" 1>cygwin warning: 1> MS-DOS style path detected: C:\Utils\home\k.avinash\WebKit\WebKitBuild\buildfailed 1> Preferred POSIX equivalent is: /home/k.avinash/WebKit/WebKitBuild/buildfailed 1> CYGWIN environment variable option "nodosfilewarning" turns off this warning. 1> Consult the user's guide for more details about POSIX paths: 1> http://cygwin.com/cygwin-ug-net/using.html#using-pathnames 1> bash build-generated-files.sh "C:\Utils\home\k.avinash\WebKit\WebKitBuild" "C:\Utils\home\k.avinash\WebKit\WebKit 1>make: Nothing to be done for `all'. 1> mkdir 2>NUL "C:\Utils\home\k.avinash\WebKit\WebKitBuild\include\JavaScriptCore" 1> xcopy /y /d "..\..\API\APICast.h" "C:\Utils\home\k.avinash\WebKit\WebKitBuild\include\JavaScriptCore" 1>0 File(s) copied 1> xcopy /y /d "..\..\API\JavaScript.h" "C:\Utils\home\k.avinash\WebKit\WebKitBuild\include\JavaScriptCore" 1>0 File(s) copied 1> xcopy /y /d "..\..\API\JSBase.h" "C:\Utils\home\k.avinash\WebKit\WebKitBuild\include\JavaScriptCore" 1>0 File(s) copied 1> xcopy /y /d "..\..\API\JSContextRef.h" "C:\Utils\home\k.avinash\WebKit\WebKitBuild\include\JavaScriptCore" 1>0 File(s) copied 1> xcopy /y /d "..\..\API\JSContextRefPrivate.h" "C:\Utils\home\k.avinash\WebKit\WebKitBuild\include\JavaScriptCore" 1>0 File(s) copied 1> xcopy /y /d "..\..\API\JSObjectRef.h" "C:\Utils\home\k.avinash\WebKit\WebKitBuild\include\JavaScriptCore" 1>0 File(s) copied 1> xcopy /y /d "..\..\API\JSStringRef.h" "C:\Utils\home\k.avinash\WebKit\WebKitBuild\include\JavaScriptCore" 1>0 File(s) copied 1> xcopy /y /d "..\..\API\JSStringRefCF.h" "C:\Utils\home\k.avinash\WebKit\WebKitBuild\include\JavaScriptCore" 1>0 File(s) copied 1> xcopy /y /d "..\..\API\JSStringRefBSTR.h" "C:\Utils\home\k.avinash\WebKit\WebKitBuild\include\JavaScriptCore" 1>0 File(s) copied 1> xcopy /y /d "..\..\API\JSValueRef.h" "C:\Utils\home\k.avinash\WebKit\WebKitBuild\include\JavaScriptCore" 1>0 File(s) copied 1> xcopy /y /d "..\..\API\JavaScriptCore.h" "C:\Utils\home\k.avinash\WebKit\WebKitBuild\include\JavaScriptCore" 1>0 File(s) copied 1> xcopy /y /d "..\..\API\JSRetainPtr.h" "C:\Utils\home\k.avinash\WebKit\WebKitBuild\include\JavaScriptCore" 1>0 File(s) copied 1> xcopy /y /d "..\..\API\OpaqueJSString.h" "C:\Utils\home\k.avinash\WebKit\WebKitBuild\include\JavaScriptCore" 1>0 File(s) copied 1> xcopy /y /d "..\..\API\WebKitAvailability.h" "C:\Utils\home\k.avinash\WebKit\WebKitBuild\include\JavaScriptCore" 1>0 File(s) copied 1> del "C:\Utils\home\k.avinash\WebKit\WebKitBuild\include\private\JavaScriptCore\stdbool.h" "C:\Utils\home\k.avinas 1>Could Not Find C:\Utils\home\k.avinash\WebKit\WebKitBuild\include\private\JavaScriptCore\stdbool.h 1> del "C:\Utils\home\k.avinash\WebKit\WebKitBuild\buildfailed" 1>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\JavaScriptCoreGenerated\all\BuildLog 1>JavaScriptCoreGenerated - 0 error(s), 0 warning(s) 2>------ Build started: Project: WebCoreGenerated, Configuration: all Win32 ------ 2>Performing Makefile project actions 2>The system cannot find the path specified. 2>perl -I /home/K6F52~1.AVI/WebKit/WebCore/bindings/scripts /home/K6F52~1.AVI/WebKit/WebCore/dom/make_names.pl --att 2>perl -I /home/K6F52~1.AVI/WebKit/WebCore/bindings/scripts /home/K6F52~1.AVI/WebKit/WebCore/dom/make_names.pl --att 2>perl -I /home/K6F52~1.AVI/WebKit/WebCore/bindings/scripts /home/K6F52~1.AVI/WebKit/WebCore/dom/make_names.pl --att 2>echo > MathMLElementFactory.cpp 2>echo > MathMLNames.cpp 2>bison -d -p xpathyy /home/K6F52~1.AVI/WebKit/WebCore/xml/XPathGrammar.y -o XPathGrammar.cpp 2>touch XPathGrammar.cpp.h 2>touch XPathGrammar.hpp 2>flex -t /home/K6F52~1.AVI/WebKit/WebCore/css/tokenizer.flex | perl /home/K6F52~1.AVI/WebKit/WebCore/css/maketokeni 2>echo '#ifndef XPathGrammar_h' > XPathGrammar.h 2>echo '#define XPathGrammar_h' >> XPathGrammar.h 2>cat XPathGrammar.cpp.h XPathGrammar.hpp >> XPathGrammar.h 2>echo '#endif' >> XPathGrammar.h 2>rm -f XPathGrammar.cpp.h XPathGrammar.hpp 2>make: Nothing to be done for `all'. 2>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\WebCoreGenerated\all\BuildLog.htm" 2>WebCoreGenerated - 0 error(s), 0 warning(s) 3>------ Build started: Project: QTMovieWin, Configuration: Debug Win32 ------ 3>Performing Pre-Build Event... 3>The system cannot find the path specified. 3>Compiling... 3>####### COMPILING 1 FILES USING AT MOST 4 PARALLEL INSTANCES OF cl.exe ########### 3>QTMovieWin.cpp 3>..\platform\graphics\win\QTMovieWin.cpp(32) : fatal error C1083: Cannot open include file: 'Movies.h': No such fil 3>Project : warning PRJ0018 : The following environment variables were not found: 3>$(PRODUCTION) 3>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\QTMovieWin\Debug\BuildLog.htm" 3>QTMovieWin - 1 error(s), 0 warning(s) 4>------ Build started: Project: WebCore, Configuration: Debug Win32 ------ 4>Performing Pre-Build Event... 4>The system cannot find the path specified. 4>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 4>Project : warning PRJ0018 : The following environment variables were not found: 4>$(PRODUCTION) 4>$(DXSDK_DIR) 4>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\WebCore\Debug\BuildLog.htm" 4>WebCore - 1 error(s), 0 warning(s) 5>------ Build started: Project: Interfaces, Configuration: Debug Win32 ------ 5>Performing Pre-Build Event... 5>The system cannot find the path specified. 5>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 5>Project : warning PRJ0018 : The following environment variables were not found: 5>$(PRODUCTION) 5>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\Interfaces\Debug\BuildLog.htm" 5>Interfaces - 1 error(s), 0 warning(s) 6>------ Build started: Project: WebKitGUID, Configuration: Debug Win32 ------ 6>Performing Pre-Build Event... 6>The system cannot find the path specified. 6>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 6>Project : warning PRJ0018 : The following environment variables were not found: 6>$(PRODUCTION) 6>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\WebKitGUID\Debug\BuildLog.htm" 6>WebKitGUID - 1 error(s), 0 warning(s) 7>------ Build started: Project: WebKit, Configuration: Debug Win32 ------ 7>Performing Pre-Build Event... 7>The system cannot find the path specified. 7>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 7>Project : warning PRJ0018 : The following environment variables were not found: 7>$(PRODUCTION) 7>$(DXSDK_DIR) 7>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\WebKit\Debug\BuildLog.htm" 7>WebKit - 1 error(s), 0 warning(s) 8>------ Build started: Project: testapi, Configuration: Debug Win32 ------ 8>Performing Pre-Build Event... 8>The system cannot find the path specified. 8>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 8>Project : warning PRJ0018 : The following environment variables were not found: 8>$(PRODUCTION) 8>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\testapi\Debug\BuildLog.htm" 8>testapi - 1 error(s), 0 warning(s) 9>------ Build started: Project: jsc, Configuration: Debug Win32 ------ 9>Performing Pre-Build Event... 9>The system cannot find the path specified. 9>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 9>Project : warning PRJ0018 : The following environment variables were not found: 9>$(PRODUCTION) 9>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\jsc\Debug\BuildLog.htm" 9>jsc - 1 error(s), 0 warning(s) 10>------ Build started: Project: WinLauncher, Configuration: Debug Win32 ------ 10>Performing Pre-Build Event... 10>The system cannot find the path specified. 10>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 10>Project : warning PRJ0018 : The following environment variables were not found: 10>$(PRODUCTION) 10>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\WinLauncher\Debug\BuildLog.htm" 10>WinLauncher - 1 error(s), 0 warning(s) 11>------ Build started: Project: TestNetscapePlugin, Configuration: Debug Win32 ------ 11>Performing Pre-Build Event... 11>The system cannot find the path specified. 11>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 11>Project : warning PRJ0018 : The following environment variables were not found: 11>$(PRODUCTION) 11>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\TestNetscapePlugin\Debug\BuildLog.h 11>TestNetscapePlugin - 1 error(s), 0 warning(s) 12>------ Build started: Project: ImageDiff, Configuration: Debug Win32 ------ 12>Performing Pre-Build Event... 12>The system cannot find the path specified. 12>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 12>Project : warning PRJ0018 : The following environment variables were not found: 12>$(PRODUCTION) 12>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\ImageDiff\Debug\BuildLog.htm" 12>ImageDiff - 1 error(s), 0 warning(s) 13>------ Build started: Project: DumpRenderTree, Configuration: Debug Win32 ------ 13>Performing Pre-Build Event... 13>The system cannot find the path specified. 13>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 13>Project : warning PRJ0018 : The following environment variables were not found: 13>$(PRODUCTION) 13>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\DumpRenderTree\Debug\BuildLog.htm" 13>DumpRenderTree - 1 error(s), 0 warning(s) 14>------ Build started: Project: WebKitAPITest, Configuration: Debug Win32 ------ 14>Performing Pre-Build Event... 14>The system cannot find the path specified. 14>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 14>Project : warning PRJ0018 : The following environment variables were not found: 14>$(PRODUCTION) 14>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\WebKitAPITest\Debug\BuildLog.htm" 14>WebKitAPITest - 1 error(s), 0 warning(s) ========== Build: 2 succeeded, 12 failed, 4 up-to-date, 0 skipped ========== ===== BUILD FAILED ====== Please ensure you have run ./update-webkit to install dependencies. You can view build errors by checking the BuildLog.htm files located at: /home/k.avinash/WebKit/WebKitBuild/obj//. Regards, Avi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bluegenetic at gmail.com Wed Mar 24 23:42:27 2010 From: bluegenetic at gmail.com (Bharathwaaj S) Date: Thu, 25 Mar 2010 12:12:27 +0530 Subject: [webkit-help] Listbox Scrollbar Combinations rendering issue In-Reply-To: References: Message-ID: Hi, This issue got solved after I upgraded cairo from cairo-1.4.14 to cairo-1.8.10. Thank you. Kind regards, Bharath http://amusingsilhouettes.blogspot.com On Mon, Mar 22, 2010 at 12:08 PM, Bharathwaaj S wrote: > Hi, > > I'm currently using the Gtk-DirectFB port of webkit-1.1.15.4. I tried > testing the listbox-scrollbar- > combinations.html > > When I place the mouse over the scrollbar, the thumb in the bar is not > proper. The entire bar is painted with the thumb. But when I do scrolling > operation, the thumb button in the scrollbar appears correctly. Any ideas on > how to fix this? > > Please find the image of the same here > . > > > PS: I'm using cairo version 1.4.14. > > Kind regards, > Bharath > http://amusingsilhouettes.blogspot.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aroben at apple.com Thu Mar 25 06:43:23 2010 From: aroben at apple.com (Adam Roben) Date: Thu, 25 Mar 2010 09:43:23 -0400 Subject: [webkit-help] Error in building WebKit on Windows In-Reply-To: <5f068d4b1003242335h36872b80p332b2ce9c58ffc31@mail.gmail.com> References: <5f068d4b1003242335h36872b80p332b2ce9c58ffc31@mail.gmail.com> Message-ID: On Mar 25, 2010, at 2:35 AM, avinash kumar wrote: > 3>..\platform\graphics\win\QTMovieWin.cpp(32) : fatal error C1083: Cannot open include file: 'Movies.h': No such fil Did you install the QuickTime SDK as instructed on ? -Adam From zoltan at webkit.org Thu Mar 25 10:43:22 2010 From: zoltan at webkit.org (Zoltan Horvath) Date: Thu, 25 Mar 2010 18:43:22 +0100 Subject: [webkit-help] Error in building WebKit on Windows In-Reply-To: <5f068d4b1003242335h36872b80p332b2ce9c58ffc31@mail.gmail.com> References: <5f068d4b1003242335h36872b80p332b2ce9c58ffc31@mail.gmail.com> Message-ID: <201003251843.23001.zoltan@webkit.org> Hi, I think you need to install QuickTime (http://www.apple.com/no/quicktime/download/) Regards, Zoltan On Thursday 25 March 2010, at 07:35, avinash kumar wrote: > *Hi,* > *I am new to WebKit*. > *I am getting following errors while building WebKit on Windows from Cygwin > shell. > Please help me in solving this issue. > * > ... > Regards, > Avi From avimagic4u at gmail.com Thu Mar 25 21:45:14 2010 From: avimagic4u at gmail.com (avinash kumar) Date: Fri, 26 Mar 2010 10:15:14 +0530 Subject: [webkit-help] Error in building WebKit on Windows In-Reply-To: <201003251843.23001.zoltan@webkit.org> References: <5f068d4b1003242335h36872b80p332b2ce9c58ffc31@mail.gmail.com> <201003251843.23001.zoltan@webkit.org> Message-ID: <5f068d4b1003252145o344c01aah3aa198bba226e11e@mail.gmail.com> Thanks Adam, Zoltan for your quick response. I installed QuickTime SDK and those issues were resolved. However I am getting few more errors after that. What could be the reason for these errors? 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>WMLTemplateElement.cpp 6>TextDocument.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>ResourceResponseCFNet.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>HTMLParser.cpp 6>..\html\HTMLParser.cpp(29) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No such file or directory 6>FTPDirectoryParser.cpp 6>OpenTypeUtilities.cpp 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>PatternCG.cpp 6>WorkerNavigator.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>CRuntimeObject.cpp 6>FTPDirectoryDocument.cpp 6>SmartReplace.cpp 6>WorkerRunLoop.cpp 6>RotateTransformOperation.cpp 6>DefaultSharedWorkerRepository.cpp 6>WebSocketHandshakeRequest.cpp 6>..\loader\FTPDirectoryDocument.cpp(31) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>InspectorFrontend.cpp 6>Worker.cpp 6>Generating Code... 6>Compiling... 6>BeforeTextInsertedEvent.cpp 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>XLinkNames.cpp 6>c1xx : fatal error C1083: Cannot open source file: '..\..\WebKitBuild\obj\WebCore\DerivedSources\XLinkNames.cpp': No such file or directory 6>FontValue.cpp 6>Media.cpp 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>Generating Code... 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>SVGFEImage.cpp 6>Compiling... 6>RenderTextControl.cpp 6>WorkerScriptLoader.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\svg\SVGPreserveAspectRatio.h(27) : fatal error C1083: Cannot open include file: 'SVGNames.h': No such file or direc 6>NativeXPathNSResolver.cpp 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>TransformSourceLibxslt.cpp 6>CredentialStorageCFNet.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>GlyphPageTreeNodeCGWin.cpp 6>..\xml\NativeXPathNSResolver.cpp(33) : fatal error C1083: Cannot open include file: 'XMLNames.h': No such file or directory 6>XPathNSResolver.cpp 6>AccessibilityMenuList.cpp 6>XPathUtil.cpp 6>DOMDataGridDataSource.cpp 6>DragControllerWin.cpp 6>MouseEvent.cpp 6>DeleteFromTextNodeCommand.cpp 6>ImageCGWin.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>TextCodecLatin1.cpp 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>Settings.cpp 6>SocketStreamErrorBase.cpp 6>IdentifierRep.cpp 6>Generating Code... 6>c:\Utils\home\k.avinash\WebKit\WebCore\page\animation\AnimationController.h(32) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No su 6>InspectorDOMStorageResource.cpp 6>Compiling... 6>FilterEffect.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>RemoveNodePreservingChildrenCommand.cpp 6>GDIObjectCounter.cpp 6>runtime_root.cpp 6>XPathNodeSet.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>RenderReplica.cpp 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>CrossThreadCopier.cpp 6>PluginDataWin.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>Generating Code... 6>StringImplCF.cpp 6>Compiling... 6>PluginHalter.cpp 6>CDATASection.cpp 6>WMLDoElement.cpp 6>SVGRootInlineBox.cpp 6>CSSValueList.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>AXObjectCacheWin.cpp 6>VisibleSelection.cpp 6>XSSAuditor.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>WorkerMessagingProxy.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>FEGaussianBlur.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>GradientCG.cpp 6>SystemTimeWin.cpp 6>RenderSVGShadowTreeRootContainer.cpp 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>RenderRubyText.cpp 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>ClientRect.cpp 6>ScriptValue.cpp 6>TransformState.cpp 6>CreateLinkCommand.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>CrossOriginPreflightResultCache.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>Position.cpp 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>ResourceHandle.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>Blob.cpp 6>RenderView.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\page\animation\AnimationController.h(32) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No su 6>XSLStyleSheetLibxslt.cpp 6>AnimationController.cpp 6>c:\utils\home\k.avinash\webkit\webcore\page\animation\AnimationController.h(32) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No su 6>BridgeJSC.cpp 6>c_runtime.cpp 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>CanvasPattern.cpp 6>Range.cpp 6>CachedResource.cpp 6>TextIterator.cpp 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>CSSVariableDependentValue.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\page\animation\AnimationController.h(32) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No su 6>FormState.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\page\animation\AnimationController.h(32) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No su 6>SplitTextNodeContainingElementCommand.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\page\animation\AnimationController.h(32) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No su 6>HTMLAllCollection.cpp 6>EventHandlerWin.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>RGBColor.cpp 6>KURL.cpp 6>TagNodeList.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>IconRecord.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\page\animation\AnimationController.h(32) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No su 6>PluginViewWin.cpp 6>GeolocationService.cpp 6>DeleteSelectionCommand.cpp 6>Generating Code... 6>Compiling... 6>Notation.cpp 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>TextBreakIteratorInternalICUWin.cpp 6>SelectionController.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>FontCacheWin.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>FEBlend.cpp 6>CSSInheritedValue.cpp 6>DatabaseAuthorizer.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>RenderScrollbar.cpp 6>SVGFEMerge.cpp 6>WMLFormControlElement.cpp 6>ResourceErrorCF.cpp 6>Generating Code... 6>Attr.cpp 6>ThreadTimers.cpp 6>SVGFilterBuilder.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>Generating Code... 6>InspectorDOMAgent.cpp 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>Generating Code... 6>Compiling... 6>FEComposite.cpp 6>ScrollbarThemeSafari.cpp 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>Generating Code... 6>MessageEvent.cpp 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>CanvasStyle.cpp 6>TransformationMatrix.cpp 6>HTMLDataListElement.cpp 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>XPathFunctions.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>Document.cpp 6>c:\Utils\home\k.avinash\WebKit\WebCore\page\animation\AnimationController.h(32) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No su 6>break_lines.cpp 6>StringImpl.cpp 6>DOMTimer.cpp 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory 6>RegisteredEventListener.cpp 6>IntPointWin.cpp 6>DNSCFNet.cpp 6>Generating Code... 6>Project : warning PRJ0018 : The following environment variables were not found: 6>$(PRODUCTION) 6>$(DXSDK_DIR) 6>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\WebCore\Debug\BuildLog.htm" 6>WebCore - 434 error(s), 0 warning(s) 7>------ Build started: Project: Interfaces, Configuration: Debug Win32 ------ 7>Performing Pre-Build Event... 7>The system cannot find the path specified. 7>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 7>Project : warning PRJ0018 : The following environment variables were not found: 7>$(PRODUCTION) 7>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\Interfaces\Debug\BuildLog.htm" 7>Interfaces - 1 error(s), 0 warning(s) 8>------ Build started: Project: WebKitGUID, Configuration: Debug Win32 ------ 8>Performing Pre-Build Event... 8>The system cannot find the path specified. 8>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 8>Project : warning PRJ0018 : The following environment variables were not found: 8>$(PRODUCTION) 8>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\WebKitGUID\Debug\BuildLog.htm" 8>WebKitGUID - 1 error(s), 0 warning(s) 9>------ Build started: Project: WebKit, Configuration: Debug Win32 ------ 9>Performing Pre-Build Event... 9>The system cannot find the path specified. 9>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 9>Project : warning PRJ0018 : The following environment variables were not found: 9>$(PRODUCTION) 9>$(DXSDK_DIR) 9>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\WebKit\Debug\BuildLog.htm" 9>WebKit - 1 error(s), 0 warning(s) 10>------ Build started: Project: testapi, Configuration: Debug Win32 ------ 10>Performing Pre-Build Event... 10>The system cannot find the path specified. 10>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 10>Project : warning PRJ0018 : The following environment variables were not found: 10>$(PRODUCTION) 10>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\testapi\Debug\BuildLog.htm" 10>testapi - 1 error(s), 0 warning(s) 11>------ Build started: Project: jsc, Configuration: Debug Win32 ------ 11>Performing Pre-Build Event... 11>The system cannot find the path specified. 11>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 11>Project : warning PRJ0018 : The following environment variables were not found: 11>$(PRODUCTION) 11>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\jsc\Debug\BuildLog.htm" 11>jsc - 1 error(s), 0 warning(s) 12>------ Build started: Project: WinLauncher, Configuration: Debug Win32 ------ 12>Performing Pre-Build Event... 12>The system cannot find the path specified. 12>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 12>Project : warning PRJ0018 : The following environment variables were not found: 12>$(PRODUCTION) 12>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\WinLauncher\Debug\BuildLog.htm" 12>WinLauncher - 1 error(s), 0 warning(s) 13>------ Build started: Project: TestNetscapePlugin, Configuration: Debug Win32 ------ 13>Performing Pre-Build Event... 13>The system cannot find the path specified. 13>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 13>Project : warning PRJ0018 : The following environment variables were not found: 13>$(PRODUCTION) 13>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\TestNetscapePlugin\Debug\BuildLog.htm" 13>TestNetscapePlugin - 1 error(s), 0 warning(s) 14>------ Build started: Project: ImageDiff, Configuration: Debug Win32 ------ 14>Performing Pre-Build Event... 14>The system cannot find the path specified. 14>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 14>Project : warning PRJ0018 : The following environment variables were not found: 14>$(PRODUCTION) 14>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\ImageDiff\Debug\BuildLog.htm" 14>ImageDiff - 1 error(s), 0 warning(s) 15>------ Build started: Project: DumpRenderTree, Configuration: Debug Win32 ------ 15>Performing Pre-Build Event... 15>The system cannot find the path specified. 15>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 15>Project : warning PRJ0018 : The following environment variables were not found: 15>$(PRODUCTION) 15>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\DumpRenderTree\Debug\BuildLog.htm" 15>DumpRenderTree - 1 error(s), 0 warning(s) 16>------ Build started: Project: WebKitAPITest, Configuration: Debug Win32 ------ 16>Performing Pre-Build Event... 16>The system cannot find the path specified. 16>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 16>Project : warning PRJ0018 : The following environment variables were not found: 16>$(PRODUCTION) 16>Build log was saved at "file://C:\Utils\home\k.avinash\WebKit\WebKitBuild\obj\WebKitAPITest\Debug\BuildLog.htm" 16>WebKitAPITest - 1 error(s), 0 warning(s) ========== Build: 5 succeeded, 11 failed, 2 up-to-date, 0 skipped ========== ===== BUILD FAILED ====== Please ensure you have run ./update-webkit to install dependencies. You can view build errors by checking the BuildLog.htm files located at: /home/k.avinash/WebKit/WebKitBuild/obj//. Regards, Avi On Thu, Mar 25, 2010 at 11:13 PM, Zoltan Horvath wrote: > > Hi, > > I think you need to install QuickTime > (http://www.apple.com/no/quicktime/download/) > > Regards, > > Zoltan > > On Thursday 25 March 2010, at 07:35, avinash kumar wrote: > > *Hi,* > > *I am new to WebKit*. > > *I am getting following errors while building WebKit on Windows from > Cygwin > > shell. > > Please help me in solving this issue. > > * > > > ... > > > Regards, > > Avi > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ironstorm at gmail.com Thu Mar 25 23:46:11 2010 From: ironstorm at gmail.com (Garth Dahlstrom) Date: Fri, 26 Mar 2010 02:46:11 -0400 Subject: [webkit-help] Buffer problem with my WebKit/NPAPI patch? Message-ID: <7856B612-AD2D-414F-B8A7-568E1C625F84@gmail.com> As I work towards adding Java applet support (#33044) to webkit through implementing the missing NPAPI hooks for passing proxy and cookie values (#34539)... I've hit a bit of a bump in the road. It looks like some corruption is happening in the NPAPI "get value" method for cookies (NPN_GetValueForURL). This is not seen in the debug statements of either implementation from the Qt app (this patch provides to functionally identical implementations in Qt and pure WebKit) but is observed as occasional extra junk being appended to the end of the Java cookies in the debug console, sometimes it indicates a cookie value is returned when there is no value supposed to be returned. Hosting test browser app: > [2960] npapi.cpp - NPN_GetValueForURL:: Proxy url: http://www.javatester.org:80/ > [2960] npapi.cpp - NPN_GetValueForURL::Proxy fetching Proxy from Qt > [2960] npapi.cpp - NPN_GetValueForURL::Proxy DIRECT > [2960] npapi.cpp - NPN_GetValueForURL:: Cookie url: http://www.javatester.org/JavaVersionDisplayApplet.class > [2960] npapi.cpp - NPN_GetValueForURL::Cookies [ ] Length: 0 > [2960] len is set before: 0x28d20c > [2960] len is set after: 0x28d20c > [2960] len is: 0 Java Console: > Java Plug-in 1.6.0_17 > Using JRE version 1.6.0_17-b04 Java HotSpot(TM) Client VM > ... > security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss > basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener at b166b5 > network: Cache entry found [url: http://www.javatester.org/JavaVersionDisplayApplet.class, version: null] > network: Connecting http://www.javatester.org/JavaVersionDisplayApplet.class with proxy=DIRECT > network: Connecting http://www.javatester.org:80/ with proxy=DIRECT >> network: Connecting http://www.javatester.org/JavaVersionDisplayApplet.class with cookie "?REC" <--- This is junk since there is no value returned from the host Qt app as far as I can tell. > ... I suspect the problem is something to do with the statements in the IF block at line 36 of the attached patch, however I'm unable to figure out what's happening (I've tried to implement it 2 ways, results are the same)... Not very good at low level C/C++, which is why I use Qt for native compiled apps... Maybe I'm doing something obviously wrong (i.e. does the length pointer thing look okay)? If someone could take a look at it and tell me if they spot anything I'd be grateful. Cheers, -G -------------- next part -------------- A non-text attachment was scrubbed... Name: qtwebkit-gecko-npapi-v1.9-partial-20100325.patch Type: application/octet-stream Size: 7905 bytes Desc: not available URL: From jerry at NovaDSP.com Fri Mar 26 06:17:46 2010 From: jerry at NovaDSP.com (Jerry Evans) Date: Fri, 26 Mar 2010 13:17:46 +0000 Subject: [webkit-help] Error in building WebKit on Windows In-Reply-To: <5f068d4b1003252145o344c01aah3aa198bba226e11e@mail.gmail.com> References: <5f068d4b1003242335h36872b80p332b2ce9c58ffc31@mail.gmail.com> <201003251843.23001.zoltan@webkit.org> <5f068d4b1003252145o344c01aah3aa198bba226e11e@mail.gmail.com> Message-ID: <4BACB3FA.8010702@NovaDSP.com> Avinash I think the bulk of your missing files originate in the WebCoreGenerated project. See the DerivedSources.make file which eventually calls the generate-bindings.pl script. Check that these files are being copied to the right output folders. There is also an obscure relationship between the generated files and various preprocessor definitions which are littered throughout both .header and Visual Studio project files. The WML/HTML/SVG elements, in particular, rely on a macro called FEATURES being correctly defined. I believe that the stock list is as follows: FEATURES="ENABLE_CHANNEL_MESSAGING ENABLE_DATABASE ENABLE_DATALIST ENABLE_DOM_STORAGE ENABLE_EVENTSOURCE ENABLE_FILTERS ENABLE_ICONDATABASE ENABLE_JAVASCRIPT_DEBUGGER ENABLE_OFFLINE_WEB_APPLICATIONS ENABLE_SHARED_WORKERS ENABLE_SVG ENABLE_SVG_ANIMATION ENABLE_SVG_AS_IMAGE ENABLE_SVG_FONTS ENABLE_SVG_FOREIGN_OBJECT ENABLE_SVG_USE ENABLE_WEB_SOCKETS ENABLE_WORKERS ENABLE_XPATH ENABLE_XSLT " If anyone on the list can clarify the last point I'd be most grateful as I am currently trying to establish a more rational build system for Webkit which will allow easy migration from/to VS2008 and VS2010 and minimizes reliance on closed source Apple libraries. Good luck. Jerry On 26/03/2010 04:45, avinash kumar wrote: > > 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal > error C1083: Cannot open include file: 'HTMLNames.h': No such file or > directory > 6>WMLTemplateElement.cpp > 6>TextDocument.cpp > 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal > error C1083: Cannot open include file: 'HTMLNames.h': No such file or > directory > 6>ResourceResponseCFNet.cpp > 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal > error C1083: Cannot open include file: 'HTMLNames.h': No such file or > directory > 6>HTMLParser.cpp > 6>..\html\HTMLParser.cpp(29) : fatal error C1083: Cannot open include > file: 'CSSPropertyNames.h': No such file or directory > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wadii.gd at gmail.com Fri Mar 26 07:25:10 2010 From: wadii.gd at gmail.com (Wadii Guedria) Date: Fri, 26 Mar 2010 15:25:10 +0100 Subject: [webkit-help] WebKit GTK Corss compiling Message-ID: <62af62821003260725v546a0966q42ec817b9ef13d05@mail.gmail.com> Hi all, I a trying to cross compile WebKit GTK on STLinux 2.3. I cross compiled the missing libraries. But during the compiling, I had this error: CXX WebCore/bindings/js/libwebkit_1_0_la-JSDOMWindowCustom.lo ../WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp:39:24: error: *JSDatabase.h : No such file or directory* ../WebKit/JavaScriptCore/wtf/HashTable.h:690: instantiated from ?std::pair::iterator, bool> WTF::HashTable::add(const T&, const Extra&) [with T = WebCore::Element*, Extra = WTF::ListHashSetNodeAllocator*, HashTranslator = WTF::ListHashSetTranslator >, Key = WTF::ListHashSetNode*, Value = WTF::ListHashSetNode*, Extractor = WTF::IdentityExtractor*>, HashFunctions = WTF::ListHashSetNodeHashFunctions >, Traits = WTF::HashTraits*>, KeyTraits = WTF::HashTraits*>]? ../WebKit/JavaScriptCore/wtf/ListHashSet.h:473: instantiated from ?std::pair::iterator, bool> WTF::ListHashSet::add(const ValueArg&) [with ValueArg = WebCore::Element*, HashArg = WTF::PtrHash]? ../WebKit/WebCore/dom/Document.h:440: instantiated from here ../WebKit/JavaScriptCore/wtf/ListHashSet.h:174: attention : cast from ?char*? to ?WTF::ListHashSetNode*? increases required alignment of target type make[1]: *** [WebCore/bindings/js/libwebkit_1_0_la-JSDOMWindowCustom.lo] Error 1 Thx for your help Wadii -------------- next part -------------- An HTML attachment was scrubbed... URL: From smparkes at smparkes.net Fri Mar 26 11:06:21 2010 From: smparkes at smparkes.net (Steven Parkes) Date: Fri, 26 Mar 2010 11:06:21 -0700 Subject: [webkit-help] getCTM limitations Message-ID: I'm reading in an SVG document via XHR and importing it into the current HTML document. It displays correctly, but any calls to getCTM on any of the imported elements returns a less than useful SVGMatrix. Current Safari and Chrome releases return a matrix of NaNs. The 26 March 2010 nightly returns 0 for a-d and NaNs for e and f. Was checking to see if this should be considered/submitted as a bug? From hap497 at gmail.com Fri Mar 26 14:14:09 2010 From: hap497 at gmail.com (hap 497) Date: Fri, 26 Mar 2010 14:14:09 -0700 Subject: [webkit-help] How to install libsoup for ubuntu Message-ID: <5ff1d48c1003261414v4023d5c3vd4280de1304318cd@mail.gmail.com> Hi, I am trying to install libsoup for my ubuntu environment in order to build webkit. Here is the error I get first: checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 >= 2.28.2) were not met: No package 'libsoup-2.4' found And then I tried: $ sudo apt-get install libsoup2.4-dev and now it said: checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 >= 2.28.2) were not met: Requested 'libsoup-2.4 >= 2.28.2' but version of libsoup is 2.4.1 Thanks for any suggestion in how to fix this problem. From nayankk at gmail.com Sat Mar 27 01:21:25 2010 From: nayankk at gmail.com (Nayan) Date: Sat, 27 Mar 2010 13:51:25 +0530 Subject: [webkit-help] How to install libsoup for ubuntu In-Reply-To: <5ff1d48c1003261414v4023d5c3vd4280de1304318cd@mail.gmail.com> References: <5ff1d48c1003261414v4023d5c3vd4280de1304318cd@mail.gmail.com> Message-ID: Hi, Ubuntu repository may not have the latest version of libsoup. Try downloading the latest libsoup source from http://ftp.acc.umu.se/pub/gnome/sources/libsoup/2.29/ and install. On Sat, Mar 27, 2010 at 2:44 AM, hap 497 wrote: > Hi, > > I am trying to install libsoup for my ubuntu environment in order to > build webkit. > > Here is the error I get first: > > checking for LIBSOUP... configure: error: Package requirements > (libsoup-2.4 >= 2.28.2) were not met: > > No package 'libsoup-2.4' found > > And then I tried: > > $ sudo apt-get install libsoup2.4-dev > and now it said: > > checking for LIBSOUP... configure: error: Package requirements > (libsoup-2.4 >= 2.28.2) were not met: > > Requested 'libsoup-2.4 >= 2.28.2' but version of libsoup is 2.4.1 > > Thanks for any suggestion in how to fix this problem. > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > -- Regards, _Nayan_ -------------- next part -------------- An HTML attachment was scrubbed... URL: From stroller at stellar.eclipse.co.uk Sun Mar 28 08:28:06 2010 From: stroller at stellar.eclipse.co.uk (Stroller) Date: Sun, 28 Mar 2010 16:28:06 +0100 Subject: [webkit-help] Running flash in a separate process Message-ID: <534D5D91-615A-4683-87BC-0F8E08F83CC4@stellar.eclipse.co.uk> Hi there, I've read a little recently that says that on 64-bit Intels running 10.6, Flash is run in a separate process from Safari itself. The suggestion is that this is a side-effect of 32- / 64-bit separation, but that it also results that a crash of Flash won't take down the rest of the browser. I run your pre-compiled SVN builds of Webkit, and can I just say how happy I am with your software. :D I have a 1.8DP G5 running 10.5, and I have this bad habit of keeping LOADS of browser tabs open (39 right now, in 9 separate windows). I started using Webkit before the release of Safari 4, I think, and it runs much *much* faster (and I think more stably) than the regular shipped-with-the o/s Safari. However I still get regular crashes (daily or weekly), in which I lose all my open tabs, and they have to be reloaded when I restart the browser. I see lots of claims on the interwebs citing flash as the most common cause of Safari crashes, and I notice some correlation myself (to when flash videos are open in a window). What I'd like to know is if it's possible to force Flash to run in a separate process in my environment? (PPC / 10.5) Would there be any stability benefit to doing so? Many thanks in advance for any replies or suggestions, Stroller. From hap497 at gmail.com Sun Mar 28 13:19:09 2010 From: hap497 at gmail.com (hap 497) Date: Sun, 28 Mar 2010 15:19:09 -0500 Subject: [webkit-help] Compiler error when compile webkit under ubuntu 8.04 Message-ID: <5ff1d48c1003281319o4a52daf7y701a9fc3dc836977@mail.gmail.com> Hi, I am trying to compile webkit under ubuntu 8.04. I am using ./autogen.sh --disable-video --enable-debug. There is the error: In file included from WebKit/gtk/webkit/webkitdownload.cpp:33: WebKit/gtk/webkit/webkitenumtypes.h:13:29: error: webkit/@basename@: No such file or directory Any idea about how to fix that? Thank you. From eric_morgan at infomotions.com Sun Mar 28 15:24:18 2010 From: eric_morgan at infomotions.com (Eric Lease Morgan) Date: Sun, 28 Mar 2010 18:24:18 -0400 Subject: [webkit-help] valueForKeyPath Message-ID: <4FD15959-B98F-4C2E-A0A0-2C5FE111C08B@infomotions.com> Is this a place where I can ask for some help on the valueForKeyPath method as implemented in Javascript in a WebKit browser such as Mobile Safari? If not, then where is a better venue for my question? In Dashcode I have defined a data source from an remote XML file, and the XML looks like this: Agean Sea at Kos, Greece Calarco Pascal collected... Amazon River, Peru Morgan Mom collected... I have then bound elements like name, last_name, and description to various interface elements. Through Javascript I have been able to manipulate these elements as well the collector_id attribute. All this works as expected. Unfortunately, I am unable to access the water_id attribute. While the water_id attribute displays as a part of my data source and list views, whenever I try to actually access the water_id attribute my application crashes as illustrated by the linked screen shot. [1] To debug the situation I created a button with the following code using the valueForKeyPath, and as you can see I can access other elements and attributes but not the water_id attribute: function getID(event) { // get my data var d = dashcode.getDataSource( 'list' ); // the following code works //var r = d.valueForKeyPath( 'selection.collectors.collector.$collector_id' ); // this code works too //var r = d.valueForKeyPath( 'selection.collectors.collector.last_name' ); // so does this code //var r = d.valueForKeyPath( 'selection.name' ); // why doesn't this code work! water_id is an attribute of the name element var r = d.valueForKeyPath( 'selection.name.$water_id' ); // echo alert( r ); } What am I doing wrong? Any assistance or pointers would be greatly appreciated. [1] screen shot - http://infomotions.com/tmp/screen-dump.png -- Eric Lease Morgan From eric_morgan at infomotions.com Sun Mar 28 15:38:19 2010 From: eric_morgan at infomotions.com (Eric Lease Morgan) Date: Sun, 28 Mar 2010 18:38:19 -0400 Subject: [webkit-help] valueForKeyPath In-Reply-To: <4FD15959-B98F-4C2E-A0A0-2C5FE111C08B@infomotions.com> References: <4FD15959-B98F-4C2E-A0A0-2C5FE111C08B@infomotions.com> Message-ID: On Mar 28, 2010, at 6:24 PM, Eric Lease Morgan wrote: > Unfortunately, I am unable to access the water_id attribute. While the water_id attribute displays as a part of my data source and list views, whenever I try to actually access the water_id attribute my application crashes as illustrated by the linked screen shot. [1] > > [1] screen shot - http://infomotions.com/tmp/screen-dump.png P.S. The specific error is: Result of expression 'v.valueForKey'[undefined] is not a function. Parts/core/kvo-array.js line 44 -- Eric Morgan From michael.j.silverstri at gmail.com Sun Mar 28 17:55:20 2010 From: michael.j.silverstri at gmail.com (michael silverstri) Date: Sun, 28 Mar 2010 19:55:20 -0500 Subject: [webkit-help] Need help with gstreamer in building webkit on ubuntu 8.04 Message-ID: <64b1a7411003281755h61297a9bhc23c09835b3e4c4c@mail.gmail.com> Hi, I am trying to build webkit on ubuntu 8.04, when I run 'autogen.sh ', I get the following error: I have try to download 'gstreamer 0.10.28' and build on the same machine (I put that in prefix /home/michael/bin' and I have set $LD_LIBRARY_PATH to /home/michael/bin/lib and /home/michael/bin/lib/pkgconfig). So my question is why ./autogen.sh still can't find gstreamer? checking for GSTREAMER... configure: error: Package requirements (gstreamer-0.10 >= 0.10 gstreamer-app-0.10 gstreamer-base-0.10 gstreamer-pbutils-0.10 gstreamer-plugins-base-0.10 >= 0.10.25 gstreamer-video-0.10) were not met: No package 'gstreamer-app-0.10' found Requested 'gstreamer-plugins-base-0.10 >= 0.10.25' but version of GStreamer Base Plugins Libraries is 0.10.18 Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Thank you. From dmitrym at gmail.com Sun Mar 28 17:59:33 2010 From: dmitrym at gmail.com (Dmitry M) Date: Sun, 28 Mar 2010 17:59:33 -0700 Subject: [webkit-help] Need help with gstreamer in building webkit on ubuntu 8.04 In-Reply-To: <64b1a7411003281755h61297a9bhc23c09835b3e4c4c@mail.gmail.com> References: <64b1a7411003281755h61297a9bhc23c09835b3e4c4c@mail.gmail.com> Message-ID: You probably need to set PKG_CONFIG_PATH to your prefix (/home/michael/bin?). HTH On Sun, Mar 28, 2010 at 5:55 PM, michael silverstri wrote: > Hi, > > I am trying to build webkit on ubuntu 8.04, when I run 'autogen.sh ', > I get the following error: > I have try to download 'gstreamer 0.10.28' and build on the same > machine (I put that in prefix /home/michael/bin' and I have set > $LD_LIBRARY_PATH to /home/michael/bin/lib and > /home/michael/bin/lib/pkgconfig). > > So my question is why ./autogen.sh still can't find gstreamer? > > checking for GSTREAMER... configure: error: Package requirements > (gstreamer-0.10 >= 0.10 > ? ? ? ? ? ? ? ? ? ? gstreamer-app-0.10 > ? ? ? ? ? ? ? ? ? ? gstreamer-base-0.10 > ? ? ? ? ? ? ? ? ? ? gstreamer-pbutils-0.10 > ? ? ? ? ? ? ? ? ? ? gstreamer-plugins-base-0.10 >= 0.10.25 > ? ? ? ? ? ? ? ? ? ? gstreamer-video-0.10) were not met: > > No package 'gstreamer-app-0.10' found > Requested 'gstreamer-plugins-base-0.10 >= 0.10.25' but version of > GStreamer Base Plugins Libraries is 0.10.18 > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > installed software in a non-standard prefix. > > Thank you. > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > From michael.j.silverstri at gmail.com Sun Mar 28 19:09:46 2010 From: michael.j.silverstri at gmail.com (michael silverstri) Date: Sun, 28 Mar 2010 21:09:46 -0500 Subject: [webkit-help] Need help with gstreamer in building webkit on ubuntu 8.04 In-Reply-To: References: <64b1a7411003281755h61297a9bhc23c09835b3e4c4c@mail.gmail.com> Message-ID: <64b1a7411003281909u299c384w6ed3fb0bfb74c064@mail.gmail.com> Thank you. Now I am getting checking for GLIB... configure: error: Package requirements (glib-2.0 >= 2.21.3 gobject-2.0 >= 2.0 gthread-2.0 >= 2.0) were not met: Requested 'glib-2.0 >= 2.21.3' but version of GLib is 2.16.6 Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. I have downloaded and compiled glib02.23.6 and compile it to /home/michael/bin as well. I don't understand why it does not work for glib2.23. Thank you for any more help. On Sun, Mar 28, 2010 at 7:59 PM, Dmitry M wrote: > You probably need to set PKG_CONFIG_PATH to your prefix (/home/michael/bin?). > > HTH > > On Sun, Mar 28, 2010 at 5:55 PM, michael silverstri > wrote: >> Hi, >> >> I am trying to build webkit on ubuntu 8.04, when I run 'autogen.sh ', >> I get the following error: >> I have try to download 'gstreamer 0.10.28' and build on the same >> machine (I put that in prefix /home/michael/bin' and I have set >> $LD_LIBRARY_PATH to /home/michael/bin/lib and >> /home/michael/bin/lib/pkgconfig). >> >> So my question is why ./autogen.sh still can't find gstreamer? >> >> checking for GSTREAMER... configure: error: Package requirements >> (gstreamer-0.10 >= 0.10 >> ? ? ? ? ? ? ? ? ? ? gstreamer-app-0.10 >> ? ? ? ? ? ? ? ? ? ? gstreamer-base-0.10 >> ? ? ? ? ? ? ? ? ? ? gstreamer-pbutils-0.10 >> ? ? ? ? ? ? ? ? ? ? gstreamer-plugins-base-0.10 >= 0.10.25 >> ? ? ? ? ? ? ? ? ? ? gstreamer-video-0.10) were not met: >> >> No package 'gstreamer-app-0.10' found >> Requested 'gstreamer-plugins-base-0.10 >= 0.10.25' but version of >> GStreamer Base Plugins Libraries is 0.10.18 >> >> Consider adjusting the PKG_CONFIG_PATH environment variable if you >> installed software in a non-standard prefix. >> >> Thank you. >> _______________________________________________ >> webkit-help mailing list >> webkit-help at lists.webkit.org >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help >> > From nayankk at gmail.com Sun Mar 28 20:05:01 2010 From: nayankk at gmail.com (Nayan) Date: Mon, 29 Mar 2010 08:35:01 +0530 Subject: [webkit-help] Compiler error when compile webkit under ubuntu 8.04 In-Reply-To: <5ff1d48c1003281319o4a52daf7y701a9fc3dc836977@mail.gmail.com> References: <5ff1d48c1003281319o4a52daf7y701a9fc3dc836977@mail.gmail.com> Message-ID: Pls refer http://lists.macosforge.org/pipermail/webkit-help/2009-September/000243.html On Mon, Mar 29, 2010 at 1:49 AM, hap 497 wrote: > Hi, > > I am trying to compile webkit under ubuntu 8.04. > I am using ./autogen.sh --disable-video --enable-debug. > > There is the error: > > In file included from WebKit/gtk/webkit/webkitdownload.cpp:33: > WebKit/gtk/webkit/webkitenumtypes.h:13:29: error: webkit/@basename@: > No such file or directory > > > Any idea about how to fix that? > > Thank you. > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > -- Regards, _Nayan_ -------------- next part -------------- An HTML attachment was scrubbed... URL: From avimagic4u at gmail.com Sun Mar 28 21:43:21 2010 From: avimagic4u at gmail.com (avinash kumar) Date: Mon, 29 Mar 2010 10:13:21 +0530 Subject: [webkit-help] Error in building WebKit on Windows In-Reply-To: <4BACB3FA.8010702@NovaDSP.com> References: <5f068d4b1003242335h36872b80p332b2ce9c58ffc31@mail.gmail.com> <201003251843.23001.zoltan@webkit.org> <5f068d4b1003252145o344c01aah3aa198bba226e11e@mail.gmail.com> <4BACB3FA.8010702@NovaDSP.com> Message-ID: <5f068d4b1003282143m1bd357e2m615811296eeaeb6b@mail.gmail.com> Thanks Jerry for help. WebKit build is successfull now. Regards, Avi On Fri, Mar 26, 2010 at 6:47 PM, Jerry Evans wrote: > Avinash > > I think the bulk of your missing files originate in the WebCoreGenerated > project. See the DerivedSources.make file which eventually calls the > generate-bindings.pl script. > > Check that these files are being copied to the right output folders. > > There is also an obscure relationship between the generated files and > various preprocessor definitions which are littered throughout both .header > and Visual Studio project files. The WML/HTML/SVG elements, in particular, > rely on a macro called FEATURES being correctly defined. I believe that the > stock list is as follows: > > FEATURES="ENABLE_CHANNEL_MESSAGING ENABLE_DATABASE ENABLE_DATALIST > ENABLE_DOM_STORAGE ENABLE_EVENTSOURCE ENABLE_FILTERS ENABLE_ICONDATABASE > ENABLE_JAVASCRIPT_DEBUGGER ENABLE_OFFLINE_WEB_APPLICATIONS > ENABLE_SHARED_WORKERS ENABLE_SVG ENABLE_SVG_ANIMATION ENABLE_SVG_AS_IMAGE > ENABLE_SVG_FONTS ENABLE_SVG_FOREIGN_OBJECT ENABLE_SVG_USE ENABLE_WEB_SOCKETS > ENABLE_WORKERS ENABLE_XPATH ENABLE_XSLT " > > If anyone on the list can clarify the last point I'd be most grateful as I > am currently trying to establish a more rational build system for Webkit > which will allow easy migration from/to VS2008 and VS2010 and minimizes > reliance on closed source Apple libraries. > > Good luck. > > Jerry > > > On 26/03/2010 04:45, avinash kumar wrote: > > > 6>c:\utils\home\k.avinash\webkit\webcore\dom\Element.h(30) : fatal error > C1083: Cannot open include file: 'HTMLNames.h': No such file or directory > 6>WMLTemplateElement.cpp > 6>TextDocument.cpp > 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error > C1083: Cannot open include file: 'HTMLNames.h': No such file or directory > 6>ResourceResponseCFNet.cpp > 6>c:\Utils\home\k.avinash\WebKit\WebCore\dom\Element.h(30) : fatal error > C1083: Cannot open include file: 'HTMLNames.h': No such file or directory > 6>HTMLParser.cpp > 6>..\html\HTMLParser.cpp(29) : fatal error C1083: Cannot open include file: > 'CSSPropertyNames.h': No such file or directory > > webkit-help mailing list > webkit-help at lists.webkit.orghttp://lists.webkit.org/mailman/listinfo.cgi/webkit-help > > > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lamoscawince at gmail.com Mon Mar 29 11:15:26 2010 From: lamoscawince at gmail.com (Leonardo DaVinci) Date: Mon, 29 Mar 2010 20:15:26 +0200 Subject: [webkit-help] How to port webkit for windows CE? Message-ID: Hello, I would like to port webkit for windows CE, I would like to know if anybody know how to do that, or where to start. I have searched in the web but there is not a lot of information about this. Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: From tonikitoo at gmail.com Tue Mar 30 00:27:24 2010 From: tonikitoo at gmail.com (tonikitoo (Antonio Gomes)) Date: Tue, 30 Mar 2010 02:57:24 -0430 Subject: [webkit-help] getCTM limitations In-Reply-To: References: Message-ID: <7eb9ad711003300027u1c0845e3v903f5b5cfec0f4ec@mail.gmail.com> I think so. On Fri, Mar 26, 2010 at 1:36 PM, Steven Parkes wrote: > I'm reading in an SVG document via XHR and importing it into the current HTML document. It displays correctly, but any calls to getCTM on any of the imported elements returns a less than useful SVGMatrix. Current Safari and Chrome releases return a matrix of NaNs. The 26 March 2010 nightly returns 0 for a-d and NaNs for e and f. > > Was checking to see if this should be considered/submitted as a bug? > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > -- --Antonio Gomes From petrashkevich at google.com Tue Mar 30 08:22:31 2010 From: petrashkevich at google.com (Andrei Petrashkevich) Date: Tue, 30 Mar 2010 16:22:31 +0100 Subject: [webkit-help] sometimes submit function of DOMHTMLFormElement is not returned in called thread. Message-ID: <192e42971003300822p2bddd21k989fceb783c9bb51@mail.gmail.com> Dear All, I try to emulate submit possibility using webkit api. My code is simplify: 1. I have valid DOMHTMLInputElement. 2. get DOMHTMLFormElement from DOMHTMLInputElement 3. excute DOMHTMLFormElement submit function. of course, the code is executed in main thread. sometimes submit function is not returned to my thread by Webkit. I see the following stack and nothing more: 0: Webcore:FrameLoader::startRedirectionTimer 1: Webcore:FrameLoader:submitForm 2. Webcore:HTMLFormElement:submit 3: DOMHTMLFormElement:submit What i do wrong? Thank You in advance, -------------- next part -------------- An HTML attachment was scrubbed... URL: From JasonR at bsquare.com Tue Mar 30 12:31:03 2010 From: JasonR at bsquare.com (Jason Rukman) Date: Tue, 30 Mar 2010 12:31:03 -0700 Subject: [webkit-help] How to port webkit for windows CE? In-Reply-To: References: Message-ID: We have a windows CE cairo port that runs on CE5 and CE6; I'm looking to start submitting this back (I've been working on learning the submission process this week). The windows CE GDI port doesn't really have a build mechanism at the moment AFAIK and I don't believe it's quite complete in places (I haven't tried to set up a build for this). Regards, Jason. From: webkit-help-bounces at lists.webkit.org [mailto:webkit-help-bounces at lists.webkit.org] On Behalf Of Leonardo DaVinci Sent: Monday, March 29, 2010 11:15 AM To: webkit-help at lists.webkit.org Subject: [webkit-help] How to port webkit for windows CE? Hello, I would like to port webkit for windows CE, I would like to know if anybody know how to do that, or where to start. I have searched in the web but there is not a lot of information about this. Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: