From antoine.maillard at gmail.com Fri Oct 1 08:29:48 2010 From: antoine.maillard at gmail.com (Antoine Maillard) Date: Fri, 1 Oct 2010 17:29:48 +0200 Subject: [webkit-help] Porting WebKit with video support Message-ID: Hi, I'd like to add HTML5 video support to the DirectFB WebKit port on a STLinux STB. Would you have some pointers or some help on how is designed the interface between video decoding capabilities and WebCore integration ? I'm suppose there is some kind of "prototype" to extend audio/video support to WebKit ports (and I also assume that this "prototype" is used to bind QTKit with WebCore on OSX or DirectVideo with WebCore on Windows...) Thanks a lot for your help. Antoine -------------- next part -------------- An HTML attachment was scrubbed... URL: From n179911 at gmail.com Sat Oct 2 16:31:49 2010 From: n179911 at gmail.com (n179911) Date: Sat, 2 Oct 2010 16:31:49 -0700 Subject: [webkit-help] Need help in compiling under ubuntu 10.10 RC Message-ID: Hi, I am trying to compile webkit source under ubuntu 10.10 rc. But I am getting this error when I run make. When I run 'configure', it completes successfully. $ make CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /media/EXTDIV/WebKit-vanilla/autotools/missing --run aclocal-1.11 -I autotools aclocal-1.11: aclocal: file `autotools/lt~obsolete.m4' does not exist make: *** [aclocal.m4] Error 1 Thank you for any help. From sunnysunilshah at gmail.com Sun Oct 3 02:59:46 2010 From: sunnysunilshah at gmail.com (sunny shah) Date: Sun, 3 Oct 2010 15:29:46 +0530 Subject: [webkit-help] Need help in compiling under ubuntu 10.10 RC In-Reply-To: References: Message-ID: run WebKitTools/Scripts/build-webkit script. for more help, read this. http://trac.webkit.org/wiki/BuildingGtk On Sun, Oct 3, 2010 at 5:01 AM, n179911 wrote: > Hi, > > I am trying to compile webkit source under ubuntu 10.10 rc. > > But I am getting this error when I run make. When I run 'configure', > it completes successfully. > > $ make > CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash > /media/EXTDIV/WebKit-vanilla/autotools/missing --run aclocal-1.11 -I > autotools > aclocal-1.11: aclocal: file `autotools/lt~obsolete.m4' does not exist > make: *** [aclocal.m4] Error 1 > > Thank you 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 anil.vemulapally at gmail.com Sun Oct 3 20:52:10 2010 From: anil.vemulapally at gmail.com (anil v) Date: Mon, 4 Oct 2010 09:22:10 +0530 Subject: [webkit-help] webkit gtk memory leaks Message-ID: Dear All, We are working on webkitGtk( ( with gtk-directfb backend ) and ported for MIPS platform. We observed there are memory leaks with PNG/JPG image rendering. I am using webkit-1.2.0 version and i set cache model to * WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER*. When I am rendering the 1.3MB PNG image it is consuming around 7MB memory but after deletion I observed that around 1.3MB memory leak. I enabled cache dumpstats but there is no images cached. could you please suggest me is there any patch to avoid image related memory leaks with webkitGtk. Please find the attached sample html which i am using Thanks In Advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From sriram.neelakandan at gmail.com Sun Oct 3 23:04:41 2010 From: sriram.neelakandan at gmail.com (Sriram Neelakandan) Date: Mon, 4 Oct 2010 11:34:41 +0530 Subject: [webkit-help] Porting WebKit with video support In-Reply-To: References: Message-ID: Look at WebCore/platform/graphics/MediaPlayerPrivate.h The platform is expected to implement a MediaPlayerPrivate class You can refer WebCore/platform/graphics//MediaPlayerPrivate.cpp for reference implementations on how its done. I suppose you are already running Webkit using Gtk or Qt on DFB ? or is it the just announched DFB-lite port of Webkit ? On Fri, Oct 1, 2010 at 8:59 PM, Antoine Maillard wrote: > Hi, > > I'd like to add HTML5 video support to the DirectFB WebKit port on a > STLinux STB. > Would you have some pointers or some help on how is designed the interface > between video decoding capabilities and WebCore integration ? > I'm suppose there is some kind of "prototype" to extend audio/video support > to WebKit ports (and I also assume that this "prototype" is used to bind > QTKit with WebCore on OSX or DirectVideo with WebCore on Windows...) > > > Thanks a lot for your help. > > Antoine > > _______________________________________________ > 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 antoine.maillard at gmail.com Mon Oct 4 02:25:35 2010 From: antoine.maillard at gmail.com (Antoine Maillard) Date: Mon, 4 Oct 2010 11:25:35 +0200 Subject: [webkit-help] Porting WebKit with video support In-Reply-To: References: Message-ID: Thanks a lot for your reply. I'll have a look at the internals of MediaPlayerPrivateXXX. FYI, I use the QT port of webkit. On Mon, Oct 4, 2010 at 8:04 AM, Sriram Neelakandan < sriram.neelakandan at gmail.com> wrote: > Look at WebCore/platform/graphics/MediaPlayerPrivate.h > The platform is expected to implement a MediaPlayerPrivate class > You can refer > WebCore/platform/graphics//MediaPlayerPrivate.cpp > for reference implementations on how its done. > > I suppose you are already running Webkit using Gtk or Qt on DFB ? or is it > the just announched DFB-lite port of Webkit ? > > On Fri, Oct 1, 2010 at 8:59 PM, Antoine Maillard < > antoine.maillard at gmail.com> wrote: > >> Hi, >> >> I'd like to add HTML5 video support to the DirectFB WebKit port on a >> STLinux STB. >> Would you have some pointers or some help on how is designed the interface >> between video decoding capabilities and WebCore integration ? >> I'm suppose there is some kind of "prototype" to extend audio/video >> support to WebKit ports (and I also assume that this "prototype" is used to >> bind QTKit with WebCore on OSX or DirectVideo with WebCore on Windows...) >> >> >> Thanks a lot for your help. >> >> Antoine >> >> _______________________________________________ >> 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 sumeshfirst at gmail.com Mon Oct 4 03:43:19 2010 From: sumeshfirst at gmail.com (Umesh Singh) Date: Mon, 4 Oct 2010 16:13:19 +0530 Subject: [webkit-help] Spatial Navigation Message-ID: Hello All, I am not able to get the focus on the Map Tag and Area Tag, using spatial navigation. I had tried to get the co-ordinates for the elements having Map/Area Tag using the function : IntRect HTMLAreaElement::getRect(RenderObject* obj) const but its returning incorrect value. Pls guide me on how to proceed on this, as Maps and Area Tag are not handled in Spatial Navigation. Regards, Umesh -------------- next part -------------- An HTML attachment was scrubbed... URL: From tonikitoo at gmail.com Mon Oct 4 13:06:39 2010 From: tonikitoo at gmail.com (Antonio Gomes) Date: Mon, 4 Oct 2010 16:06:39 -0400 Subject: [webkit-help] Spatial Navigation In-Reply-To: References: Message-ID: Hi Umesh. Could you please file a bug against bugs.webkit.org and attach a simple test case for the bug? I would be glad to implement this support, or help out somehow. Please paste the bug URL here. --Antonio On Mon, Oct 4, 2010 at 6:43 AM, Umesh Singh wrote: > Hello All, > ???????????? I am not able to get the focus on the Map Tag and Area Tag, > using spatial navigation. I had tried to get the co-ordinates for the > elements having Map/Area Tag using the function : > IntRect HTMLAreaElement::getRect(RenderObject* obj) const > > but its returning incorrect value. > Pls guide me on how to proceed on this, as Maps and Area Tag are not handled > in Spatial Navigation. From sghosh at cs.wisc.edu Mon Oct 4 18:02:37 2010 From: sghosh at cs.wisc.edu (sghosh at cs.wisc.edu) Date: Mon, 4 Oct 2010 20:02:37 -0500 Subject: [webkit-help] webstorage data model In-Reply-To: References: <0345946c239a3a28a11212bd6cca1080.squirrel@webmail.cs.wisc.edu> <9baf92b032ae7151ff37cd8c34ed7b81.squirrel@webmail.cs.wisc.edu> Message-ID: <070035f387d49a1cef1db672647f6745.squirrel@webmail.cs.wisc.edu> Hi all, I am currently interested to explore the low level data storage model used in html5. My primary aim is to study the physical organization of the records with custom attributes, the key-value relationship, and how the queries interact with such a data model. And if possible develop some caching techniques to enable faster access of data to the APIs. I have been trying to find some documentation on this but could not make much progress. So can anyone give me some pointers where to start from? Any help is highly appreciated. Thanks, subhadip From anuragdak at gmail.com Tue Oct 5 06:35:55 2010 From: anuragdak at gmail.com (Anurag Dak) Date: Tue, 5 Oct 2010 19:05:55 +0530 Subject: [webkit-help] make non focusable node focusable Message-ID: Hello All, I am a new bee to webkit, actually i want to set focus on the node which are not focusable according to the webkit. It means isFocusable(node) return false for that node. i tired node->setFocus(true) and node->setActive(true) but i is not working. if is there any function is webkit which make it happen for me. please suggest . thanks and Regards Anurag Dak -------------- next part -------------- An HTML attachment was scrubbed... URL: From tonikitoo at gmail.com Tue Oct 5 09:05:03 2010 From: tonikitoo at gmail.com (Antonio Gomes) Date: Tue, 5 Oct 2010 12:05:03 -0400 Subject: [webkit-help] make non focusable node focusable In-Reply-To: References: Message-ID: What node is it and what you are trying to achieve? On Tue, Oct 5, 2010 at 9:35 AM, Anurag Dak wrote: > > Hello All, > I am a new bee to webkit, actually i want to set focus on the node > which are not focusable according to the webkit. > It means isFocusable(node) return false for that node. > > i tired node->setFocus(true) and node->setActive(true) but i is not > working. > if is there any function is webkit which make it happen for me. > please suggest . > > thanks and Regards > > Anurag Dak > > > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > > -- --Antonio Gomes -------------- next part -------------- An HTML attachment was scrubbed... URL: From anuragdak at gmail.com Tue Oct 5 20:21:41 2010 From: anuragdak at gmail.com (Anurag Dak) Date: Wed, 6 Oct 2010 08:51:41 +0530 Subject: [webkit-help] make non focusable node focusable In-Reply-To: References: Message-ID: Thanks for the prompt reply Actually i want to set focus to the elements node which are registered with the event like "onMouseup" and not focusable . Ex:
Call the Function
i want to make this div keyboard focusable. If it is possible through some API in webkit. please suggest me. But in webkit core, not in HTMLJS using tabindex. that means i dont want to modify the page source, i just need to change the interpretation in webkit. On Tue, Oct 5, 2010 at 9:35 PM, Antonio Gomes wrote: > What node is it and what you are trying to achieve? > > On Tue, Oct 5, 2010 at 9:35 AM, Anurag Dak wrote: > >> >> Hello All, >> I am a new bee to webkit, actually i want to set focus on the >> node which are not focusable according to the webkit. >> It means isFocusable(node) return false for that node. >> >> i tired node->setFocus(true) and node->setActive(true) but i is not >> working. >> if is there any function is webkit which make it happen for me. >> please suggest . >> >> thanks and Regards >> >> Anurag Dak >> >> >> _______________________________________________ >> webkit-help mailing list >> webkit-help at lists.webkit.org >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help >> >> > > > -- > --Antonio Gomes > -- Anurag Dak -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.morawski at samsung.com Wed Oct 6 04:05:20 2010 From: t.morawski at samsung.com (Tomasz Morawski) Date: Wed, 06 Oct 2010 13:05:20 +0200 Subject: [webkit-help] Inspector module Message-ID: <4CAC57F0.4070804@samsung.com> Hi, I have a few questions about inspector/JS debugging feature. I am trying to get a JS frame after pausing script execution due to breakpoint reach. If I understand good the ?pausedScript? event that is send to my InspectorClient class via the sendMessageToFrontend function should has JS frame that I looking for. {"type":"event","event":"pausedScript","data":{"callFrames":null}} But the callFrames field is null. The ?callFrames? field is filed by an InspectorDebuggerAgent::currentCallFrames() function. Could you tell me what is an InjectedScriptHost class what is the purpose of this class and how I should use this object to get a callFrame? Maybe I have forgotten to dispatch some commands? What commands should be dispatched via an InspectorBackendDispatcher object to get a callFrame after JS execution pause? For test purpose I have written a code: InspectorDebuggerAgent::currentCallFrames() { JavaScriptCallFrame* frame = ScriptDebugServer::shared().currentCallFrame(); if (!frame) { fprintf(stderr, "source: %d\n", frame->sourceID()); fprintf(stderr, "line: %d\n", frame->line()); fprintf(stderr, "function: %s\n", frame->functionName().ascii().data()); JSC::JSGlobalObject *gobject = frame->dynamicGlobalObject(); JSC::ExecState* exec = gobject->JSGlobalObject::globalExec(); if (exec) fprintf(stderr, "function parameters: %d \n", exec->argumentCount()); } But exec->argumentCount returns invalid parameters count. Best regards, Tomasz Morawski From alexander.shulgin at yessoftware.com Wed Oct 6 05:00:32 2010 From: alexander.shulgin at yessoftware.com (Alexander Shulgin) Date: Wed, 6 Oct 2010 15:00:32 +0300 Subject: [webkit-help] make non focusable node focusable In-Reply-To: References: Message-ID: <4CAC64E0.2060101@yessoftware.com> On 06.10.2010 6:21, Anurag Dak wrote: > Thanks for the prompt reply > > Actually i want to set focus to the elements node which are registered > with the event like "onMouseup" and not focusable . > > Ex: >
Call the Function
> > i want to make this div keyboard focusable. If it is possible through > some API in webkit. please suggest me. > But in webkit core, not in HTMLJS using tabindex. that means i dont want > to modify the page source, i just need to change the interpretation in > webkit. Keyboard focus is for entering text. You cannot enter text into plain
, so that's really unlikely to be possible. Why do you need this? Can't you use contentEditable="true" for the div? -- Alex From Yael.Aharon at nokia.com Wed Oct 6 05:26:25 2010 From: Yael.Aharon at nokia.com (Yael.Aharon at nokia.com) Date: Wed, 6 Oct 2010 14:26:25 +0200 Subject: [webkit-help] make non focusable node focusable In-Reply-To: <4CAC64E0.2060101@yessoftware.com> References: <4CAC64E0.2060101@yessoftware.com> Message-ID: <82183CE7E385A14987A04967CD1EB31603962007D9@NOK-EUMSG-06.mgdnok.nokia.com> Another option for making an element focusable is to use the tabindex attribute. -Yael -----Original Message----- From: webkit-help-bounces at lists.webkit.org [mailto:webkit-help-bounces at lists.webkit.org] On Behalf Of ext Alexander Shulgin Sent: Wednesday, October 06, 2010 8:01 AM To: webkit-help at lists.webkit.org Subject: Re: [webkit-help] make non focusable node focusable On 06.10.2010 6:21, Anurag Dak wrote: > Thanks for the prompt reply > > Actually i want to set focus to the elements node which are registered > with the event like "onMouseup" and not focusable . > > Ex: >
Call the Function
> > i want to make this div keyboard focusable. If it is possible through > some API in webkit. please suggest me. > But in webkit core, not in HTMLJS using tabindex. that means i dont want > to modify the page source, i just need to change the interpretation in > webkit. Keyboard focus is for entering text. You cannot enter text into plain
, so that's really unlikely to be possible. Why do you need this? Can't you use contentEditable="true" for the div? -- Alex _______________________________________________ webkit-help mailing list webkit-help at lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-help From emerick at gmail.com Wed Oct 6 17:26:18 2010 From: emerick at gmail.com (Emerick Rogul) Date: Wed, 06 Oct 2010 20:26:18 -0400 Subject: [webkit-help] Setting font as point size vs. pixel size Message-ID: <867hhulufp.fsf@gmail.com> I'm trying to change the font size for a region of text to 18pt. I called editor->executeCommand("FontSize", "18"), but the font seems much smaller than 18 points. I'm guessing that it's using pixels rather than points. Is there any way to tell WebKit to use points rather than pixels when setting the font size in a contentEditable region? This is with the Chromium port of WebKit running on Windows, although I'd welcome even answers that are specific to other ports, since it may nudge me in the right direction. Thanks, Emerick From ariya.hidayat at gmail.com Wed Oct 6 18:01:43 2010 From: ariya.hidayat at gmail.com (Ariya Hidayat) Date: Wed, 6 Oct 2010 18:01:43 -0700 Subject: [webkit-help] intercept all http requests, best way to run headless webkit In-Reply-To: References: Message-ID: > 2. A more general question: what's the best way to construct a > headless webkit browser these days? Pretty easy using QtWebKit, check out http://bit.ly/graphicsdojo-2008, esp. websnap and the SVG rasterizer. The code has been since moved to http://qt.gitorious.org/qt-labs/graphics-dojo. -- Ariya Hidayat http://www.linkedin.com/in/ariyahidayat From sconover at gmail.com Thu Oct 7 12:25:42 2010 From: sconover at gmail.com (Steve Conover) Date: Thu, 7 Oct 2010 12:25:42 -0700 Subject: [webkit-help] intercept all http requests, best way to run headless webkit In-Reply-To: References: Message-ID: Thanks! I'll have a look. On Wed, Oct 6, 2010 at 6:01 PM, Ariya Hidayat wrote: >> 2. A more general question: what's the best way to construct a >> headless webkit browser these days? > > Pretty easy using QtWebKit, check out http://bit.ly/graphicsdojo-2008, > esp. websnap and the SVG rasterizer. The code has been since moved to > http://qt.gitorious.org/qt-labs/graphics-dojo. > > > -- > 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 anuragdak at gmail.com Sat Oct 9 03:14:46 2010 From: anuragdak at gmail.com (Anurag Dak) Date: Sat, 9 Oct 2010 15:44:46 +0530 Subject: [webkit-help] webkit-help Digest, Vol 16, Issue 5 In-Reply-To: References: Message-ID: I want to make this to enhance spatial navigation of webkit. if you observe navigation in Opera its very fine and cover all the nodes. But the webkit's latest code implementation have several limitations. I want to give focus to the nodes through keyboard which are not actually keyboard focusable Like: elements registered with onClick, mouseOver events , Maps. So i need some suggestion about this. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Adam.Wood at grantadesign.com Tue Oct 12 07:39:03 2010 From: Adam.Wood at grantadesign.com (Adam Wood) Date: Tue, 12 Oct 2010 15:39:03 +0100 Subject: [webkit-help] Building webkit with cairo on win 64 Message-ID: <1DD2B4A8D58F1B40B1D47FCF2B2D4F22025311B0@jupiter.GrantaDesign.local> I've had a google, and I've tried to look through the mailing list archives to answer the question of whether it's possible to build the cairo version of webkit as a 64bit binary but I haven't found anything concrete. There seem to be suggestions that it is possible but I get the impression no-one has tried. Is there anyone out there who has had a go and either succeeded or failed? If anyone has any extra information about how to go about this or any on-going projects to make it work I'd really appreciate being pointed in the right direction. Thanks, Adam Wood Adam.wood at grantadesign.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Grant_Gayed at ca.ibm.com Tue Oct 12 13:15:38 2010 From: Grant_Gayed at ca.ibm.com (Grant Gayed) Date: Tue, 12 Oct 2010 16:15:38 -0400 Subject: [webkit-help] alternative to IWebMutableURLRequest.setHTTPBody() on Windows? Message-ID: Hi, We're embedding WebKit on Windows, and need to pass some post data along when navigating to a URL. On OS X we do this via WebFrame.loadRequest() and provide an NSMutableURLRequest with the post data set in its HTTP body. However on Windows the implementation of IWebMutableURLRequest.setHTTPBody() simply returns E_NOIMPL. Can anyone suggest an alternative path for accomplishing this? Thanks in advance, Grant -------------- next part -------------- An HTML attachment was scrubbed... URL: From bfulgham at gmail.com Tue Oct 12 19:47:12 2010 From: bfulgham at gmail.com (Brent Fulgham) Date: Tue, 12 Oct 2010 19:47:12 -0700 Subject: [webkit-help] Building webkit with cairo on win 64 In-Reply-To: <1DD2B4A8D58F1B40B1D47FCF2B2D4F22025311B0@jupiter.GrantaDesign.local> References: <1DD2B4A8D58F1B40B1D47FCF2B2D4F22025311B0@jupiter.GrantaDesign.local> Message-ID: <83A70E16-3E6F-4046-AFCC-90B3AC8C3F60@gmail.com> Hi Adam, On Oct 12, 2010, at 7:39 AM, Adam Wood wrote: > I?ve had a google, and I?ve tried to look through the mailing list archives to answer the question of whether it?s possible to build the cairo version of webkit as a 64bit binary but I haven?t found anything concrete. > > There seem to be suggestions that it is possible but I get the impression no-one has tried. I don't believe anyone has tried this. The major difficulties will probably be building 64-bit versions of the various support libraries needed for the wincairo build. This consists of zlib, libpng, libjpeg, cairo, openssl, curl, and opencflite. I believe all of these will build cleanly under 64-bit, with the possible exception of opencflite. CoreFoundation is obviously 64-bit clean, but I don't know if the Windows port modifications have been built or tested under 64-bit. Good luck! -Brent -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.shulgin at yessoftware.com Wed Oct 13 02:53:58 2010 From: alexander.shulgin at yessoftware.com (Alexander Shulgin) Date: Wed, 13 Oct 2010 12:53:58 +0300 Subject: [webkit-help] alternative to IWebMutableURLRequest.setHTTPBody() on Windows? In-Reply-To: References: Message-ID: <4CB581B6.2030207@yessoftware.com> On 12.10.2010 23:15, Grant Gayed wrote: > > Hi, > > We're embedding WebKit on Windows, and need to pass some post data along > when navigating to a URL. On OS X we do this via WebFrame.loadRequest() > and provide an NSMutableURLRequest with the post data set in its HTTP > body. However on Windows the implementation of > IWebMutableURLRequest.setHTTPBody() simply returns E_NOIMPL. Can anyone > suggest an alternative path for accomplishing this? How about implementing setHTTPBody by looking at corresponding files in WebKit/mac? :) -- Alex From anil.vemulapally at gmail.com Wed Oct 13 13:19:27 2010 From: anil.vemulapally at gmail.com (anil v) Date: Thu, 14 Oct 2010 01:49:27 +0530 Subject: [webkit-help] Cache Clear Issue Message-ID: Dear All, I am working with webkitGtk-1.2.4 on MIPS platform. Whenever I am rendering the images i observed RAM size is decreasing. So i dumped Cache statistics and observed liveSize and image count is incrementing, Could you please help me how to reduce the cache size or how to delete the cached image properly. Thanks In Advance. Thanks, Anil.V -------------- next part -------------- An HTML attachment was scrubbed... URL: From ubuntuexplorer at yahoo.com Wed Oct 13 15:43:13 2010 From: ubuntuexplorer at yahoo.com (Ubuntu Explorer) Date: Wed, 13 Oct 2010 15:43:13 -0700 (PDT) Subject: [webkit-help] Study Material for WebKit Message-ID: <793066.77250.qm@web114303.mail.gq1.yahoo.com> Hi, I am a newbie to webkit and would like to study and understand the source code. Can someone please help me with some pointers and text references? -------------- next part -------------- An HTML attachment was scrubbed... URL: From kohler at ao-cs.com Wed Oct 13 15:55:33 2010 From: kohler at ao-cs.com (Kurt Kohler) Date: Wed, 13 Oct 2010 15:55:33 -0700 Subject: [webkit-help] Build fails on Mac OS X 10.5.8 Message-ID: <4CB638E5.5050609@ao-cs.com> I'm having trouble building webkit on my ppc mac running 10.5.8. After downloading the tarball and running update-webkit, build-webkit fails to compile three modules. It looks like the errors are caused by trying to build objective-c sources with the c++ compiler. I have XCode 3.1.4 installed. I don't know if this is relevant, but "gcc -v" returns 4.0.1. Could there be a problem with my $PATH environment variable? PATH=/opt/subversion/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/local/git/bin:/opt/local/bin:/Users/kohler/Developer/WebKit/WebKitTools/Scripts:/sw/bin I've attached a portion of the results of the build. The whole file was too long. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: build-webkit-part.log URL: From rniwa at webkit.org Wed Oct 13 16:03:13 2010 From: rniwa at webkit.org (Ryosuke Niwa) Date: Wed, 13 Oct 2010 16:03:13 -0700 Subject: [webkit-help] Build fails on Mac OS X 10.5.8 In-Reply-To: <4CB638E5.5050609@ao-cs.com> References: <4CB638E5.5050609@ao-cs.com> Message-ID: What kind of error messages are you getting? - Ryosuke On Wed, Oct 13, 2010 at 3:55 PM, Kurt Kohler wrote: > I'm having trouble building webkit on my ppc mac running 10.5.8. After > downloading the tarball and running update-webkit, build-webkit fails to > compile three modules. It looks like the errors are caused by trying to > build objective-c sources with the c++ compiler. > > I have XCode 3.1.4 installed. I don't know if this is relevant, but "gcc > -v" returns 4.0.1. Could there be a problem with my $PATH environment > variable? > > > PATH=/opt/subversion/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/local/git/bin:/opt/local/bin:/Users/kohler/Developer/WebKit/WebKitTools/Scripts:/sw/bin > > I've attached a portion of the results of the build. The whole file was > too long. > > > _______________________________________________ > 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 rniwa at webkit.org Wed Oct 13 16:05:01 2010 From: rniwa at webkit.org (Ryosuke Niwa) Date: Wed, 13 Oct 2010 16:05:01 -0700 Subject: [webkit-help] Study Material for WebKit In-Reply-To: <793066.77250.qm@web114303.mail.gq1.yahoo.com> References: <793066.77250.qm@web114303.mail.gq1.yahoo.com> Message-ID: The first step is to download WebKit's tarball and build it on your machine. I assume you're using ubuntu user? Then you might try building our gtk / qt builds. http://trac.webkit.org/wiki is a quite comprehensive guide. - Ryosuke On Wed, Oct 13, 2010 at 3:43 PM, Ubuntu Explorer wrote: > Hi, > > I am a newbie to webkit and would like to study and understand the source > code. > Can someone please help me with some pointers and text references? > > > > > _______________________________________________ > 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 kohler at ao-cs.com Thu Oct 14 14:08:57 2010 From: kohler at ao-cs.com (Kurt Kohler) Date: Thu, 14 Oct 2010 14:08:57 -0700 Subject: [webkit-help] Build fails on Mac OS X 10.5.8 In-Reply-To: References: <4CB638E5.5050609@ao-cs.com> Message-ID: <4CB77169.8060702@ao-cs.com> On 10/13/10 4:03 PM, Ryosuke Niwa wrote: > What kind of error messages are you getting? > > - Ryosuke > > On Wed, Oct 13, 2010 at 3:55 PM, Kurt Kohler > wrote: > > I'm having trouble building webkit on my ppc mac running 10.5.8. After > downloading the tarball and running update-webkit, build-webkit fails to > compile three modules. It looks like the errors are caused by trying to > build objective-c sources with the c++ compiler. > > I have XCode 3.1.4 installed. I don't know if this is relevant, but "gcc > -v" returns 4.0.1. Could there be a problem with my $PATH environment > variable? > > PATH=/opt/subversion/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/local/git/bin:/opt/local/bin:/Users/kohler/Developer/WebKit/WebKitTools/Scripts:/sw/bin > > I've attached a portion of the results of the build. The whole file was > too long. > > > _______________________________________________ > webkit-help mailing list > webkit-help at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > > A sample of the messages are in the attachment to my original message. Most of them are complaints about the at-signs in objective-c class definitions. From mohammedrashadkm at gmail.com Thu Oct 14 20:58:37 2010 From: mohammedrashadkm at gmail.com (Mohammed Rashad) Date: Fri, 15 Oct 2010 09:28:37 +0530 Subject: [webkit-help] c++ webkit Message-ID: Hi all, I am new to list . I had a javascript code which display a map. How could I make the code work from my c++ application. How to embed webkit code in c++. OpenLayers Example
How to call the function init() from a c++ application and how to display the image generated from code. How can I load a javascript class. and use it in my c++ desktop application OpenLayers.js contains the class OpenLayers.Map Anyone please provide some code if possible. Also please give some links on porting webkit to a desktop gui toolkit like gtk -- Rashad -------------- next part -------------- An HTML attachment was scrubbed... URL: From govinda.mahajan at gmail.com Fri Oct 15 03:51:17 2010 From: govinda.mahajan at gmail.com (Govinda Mahajan) Date: Fri, 15 Oct 2010 16:21:17 +0530 Subject: [webkit-help] WebKit is removing some HTML tags Message-ID: Hello All, We are facing some problem with WebKit. This is happening with both Windows & Linux(GTK) build. Problem I facing is, WebKit is removing some of the tags (Which are not having any significance) and also the X-Path generated(in some cases) in WebKit is coming different than other browsers like Chrome. I have given examples at the end. Any pointers where I can look for solutions for this. Waiting for some tips helps to solve the problem. Regards, Govinda Mahajan 1. Goto www.google.com & search any text. Here Page is having * &
* tag and whole page is written in these 2 tags. In DOM tree of WebKit these 2 tags are removed. But all the other browsers are having. We want that, WebKit should not remove such tags. 2. Similer is happenings on some of the links from CNN and other websites -------------- next part -------------- An HTML attachment was scrubbed... URL: From ubuntuexplorer at gmail.com Fri Oct 15 16:20:58 2010 From: ubuntuexplorer at gmail.com (Ubuntu Explorer) Date: Sat, 16 Oct 2010 08:20:58 +0900 Subject: [webkit-help] Books Message-ID: Hi, Are there any published reference books on webkit like it is for the linux kernel. Please let me know. ---------- Forwarded message ---------- From: "Mail Delivery System" Date: 15 Oct 2010 23:19 Subject: Undelivered Mail Returned to Sender To: I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to If you do so, please include this problem report. You can delete your own text from the attached returned message. : 550 5.1.1 : Recipient address rejected: User unknown in virtual alias table Final-Recipient: rfc822; webkit-help at webkit.org Status: 5.1.1 Action: failed Last-Attempt-Date: Fri, 15 Oct 2010 16:19:34 -0700 Diagnostic-Code: smtp; 550 5.1.1 : Recipient address rejected: User unknown in virtual alias table ---------- Forwarded message ---------- From: Ubuntu Explorer To: webkit-help at webkit.org Date: Sat, 16 Oct 2010 08:19:33 +0900 Subject: Books Hi, Are there any published reference books on webkit like it is for the linux kernel. Please let me know. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jennb at chromium.org Fri Oct 15 16:44:09 2010 From: jennb at chromium.org (=?UTF-8?B?SmVubiBCcmFpdGh3YWl0ZSAo6IOh5oWn6YuSKQ==?=) Date: Fri, 15 Oct 2010 16:44:09 -0700 Subject: [webkit-help] build-webkit on Windows failing due to not finding a few .h files Message-ID: build-webkit --debug I'm building WebKit on Windows 7 for the first time. WebKit is unable to build due to not finding cairo-win32.h, JSDOMWindow.h, SVGNames.h and CSSPropertyNames.h. All but the first exist in my working directory in 2 places: WebKitBuild/include/WebCore/ WebKitBuild/obj/WebCore/DerivedSources/ I've googled around but can't find the answer. Followed all directions on webkit.org for setting up the dev tools and building. Any help would be appreciated. Build output is below. Thanks, Jenn Performing Pre-Build Event... /usr/bin/bash File not found - * 0 File(s) copied svn: '.' is not a working copy Compiling... ####### COMPILING 23 FILES USING AT MOST 8 PARALLEL INSTANCES OF cl.exe ########### FindPageOverlay.cpp WebFrame.cpp InjectedBundleWin.cpp WebPageWin.cpp WebFrameLoaderClient.cpp c:\include\webcore\FontPlatformDataCairoWin.h(32) : fatal error C1083: Cannot open include file: 'cairo-win32.h': No such file or directory InjectedBundleHitTestResult.cpp c:\include\webcore\FontPlatformDataCairoWin.h(32) : fatal error C1083: Cannot open include file: 'cairo-win32.h': No such file or directory NPRuntimeObjectMap.cpp c:\include\webcore\SVGPreserveAspectRatio.h(27) : fatal error C1083: Cannot open include file: 'SVGNames.h': No such file or directory WebPopupMenu.cpp c:\include\webcore\AnimationController.h(32) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No such file or directory PluginView.cpp c:\include\webcore\AnimationController.h(32) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No such file or directory WebPage.cpp c:\include\webcore\AnimationController.h(32) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No such file or directory WebPageProxy.cpp c:\include\webcore\AnimationController.h(32) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No such file or directory WKBundleFrame.cpp c:\include\webcore\AnimationController.h(32) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No such file or directory InjectedBundle.cpp c:\include\webcore\AnimationController.h(32) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No such file or directory InjectedBundleScriptWorld.cpp c:\include\webcore\AnimationController.h(32) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No such file or directory NPJSObject.cpp c:\include\webcore\SVGPreserveAspectRatio.h(27) : fatal error C1083: Cannot open include file: 'SVGNames.h': No such file or directory Generating Code... c:\include\webcore\FontPlatformDataCairoWin.h(32) : fatal error C1083: Cannot open include file: 'cairo-win32.h': No such file or directory WebBackForwardListProxy.cpp c:\include\webcore\SVGPreserveAspectRatio.h(27) : fatal error C1083: Cannot open include file: 'SVGNames.h': No such file or directory FindController.cpp c:\include\webcore\JSDOMWindowShell.h(32) : fatal error C1083: Cannot open include file: 'JSDOMWindow.h': No such file or directory WebPageProxyMessageReceiver.cpp c:\include\webcore\AnimationController.h(32) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No such file or directory WebContext.cpp c:\include\webcore\SVGPreserveAspectRatio.h(27) : fatal error C1083: Cannot open include file: 'SVGNames.h': No such file or directory WebEditorClient.cpp c:\include\webcore\AnimationController.h(32) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No such file or directory WebURLResponseWin.cpp c:\include\webcore\SVGPreserveAspectRatio.h(27) : fatal error C1083: Cannot open include file: 'SVGNames.h': No such file or directory Generating Code... ..\Shared\win\WebURLResponseWin.cpp(32) : error C2664: 'WebCore::ResourceResponse::ResourceResponse(const WebCore::ResourceResponse &)' : cannot convert parameter 1 from 'PlatformResponse' to 'const WebCore::ResourceResponse &' Reason: cannot convert from 'PlatformResponse' to 'const WebCore::ResourceResponse' No constructor could take the source type, or constructor overload resolution was ambiguous Generating Code... c:\include\webcore\SVGPreserveAspectRatio.h(27) : fatal error C1083: Cannot open include file: 'SVGNames.h': No such file or directory WKSerializedScriptValue.cpp c:\include\webcore\AnimationController.h(32) : fatal error C1083: Cannot open include file: 'CSSPropertyNames.h': No such file or directory WebChromeClient.cpp c:\include\webcore\SVGPreserveAspectRatio.h(27) : fatal error C1083: Cannot open include file: 'SVGNames.h': No such file or directory Generating Code... c:\include\webcore\FontPlatformDataCairoWin.h(32) : fatal error C1083: Cannot open include file: 'cairo-win32.h': No such file or directory Generating Code... Project : warning PRJ0018 : The following environment variables were not found: $(PRODUCTION) $(DXSDK_DIR) -------------- next part -------------- An HTML attachment was scrubbed... URL: From kwangyul.seo at gmail.com Sat Oct 16 15:37:53 2010 From: kwangyul.seo at gmail.com (KwangYul Seo) Date: Sat, 16 Oct 2010 15:37:53 -0700 Subject: [webkit-help] Study Material for WebKit In-Reply-To: <793066.77250.qm@web114303.mail.gq1.yahoo.com> References: <793066.77250.qm@web114303.mail.gq1.yahoo.com> Message-ID: Hi, There are a few technical articles on WebKit internals: http://webkit.org/coding/technical-articles.html Regards, Kwang Yul Seo On Wed, Oct 13, 2010 at 3:43 PM, Ubuntu Explorer wrote: > Hi, > > I am a newbie to webkit and would like to study and understand the source > code. > Can someone please help me with some pointers and text references? > > > > > _______________________________________________ > 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 chris.heywood at millsoftware.com.au Sun Oct 17 18:28:53 2010 From: chris.heywood at millsoftware.com.au (Chris Heywood) Date: Mon, 18 Oct 2010 12:28:53 +1100 Subject: [webkit-help] Per-view proxy configuration Message-ID: Hi there, I'm wondering if someone might be able to point me in the right direction for configuring independent proxies per view in a GTK/SOUP build? The closest I've come in my investigation so far was when this functionality was going to potentially be added early last year - bug #22624 ( https://bugs.webkit.org/show_bug.cgi?id=22624 ). I've looked at making the changes contained within but as the architecture seems to have moved on a bit since then I thought I'd mail the list and check if I'm missing an easier way to do this? The alternative is to use a WebKit build from around that time (which this patch https://bugs.webkit.org/attachment.cgi?id=27002 cleanly patches against), but it's not clear to me how mature the GTK port of the engine would have been at the point. Thanks in advance, Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From julien.chaffraix at gmail.com Sun Oct 17 19:57:21 2010 From: julien.chaffraix at gmail.com (Julien Chaffraix) Date: Sun, 17 Oct 2010 19:57:21 -0700 Subject: [webkit-help] c++ webkit In-Reply-To: References: Message-ID: > I am new to list . I had a javascript code which display a map. > How could I make the code work from my c++ application. How to embed webkit > code in c++. [snip] > How to call the function init() from a c++ application and how to display > the image generated from code. > How can I load a javascript class. > and use it in my c++ desktop application > OpenLayers.js contains the class OpenLayers.Map > Anyone please provide some code if possible. You will need to tell us which port of WebKit you want to use. Each of them has (or may not have) a different way of interacting with JavaScript. > Also please give some links on > porting webkit to a desktop gui toolkit like gtk The closest we have to a porting guide is http://trac.webkit.org/wiki/SuccessfulPortHowTo. Hope it helps, Julien From julien.chaffraix at gmail.com Sun Oct 17 20:04:32 2010 From: julien.chaffraix at gmail.com (Julien Chaffraix) Date: Sun, 17 Oct 2010 20:04:32 -0700 Subject: [webkit-help] Books In-Reply-To: References: Message-ID: > Are there any published reference books on webkit like it is for the linux > kernel. AFAICT there is no such book. The best way to understand WebKit is to read the code source, look at some technical resources we have (http://webkit.org/coding/technical-articles.html or the official blog and wiki (http://trac.webkit.org/wiki)) and the different video presentations about it that you can find online. Regards, Julien From richard.frainier at gmail.com Sun Oct 17 20:55:23 2010 From: richard.frainier at gmail.com (Richard Frainier) Date: Sun, 17 Oct 2010 20:55:23 -0700 Subject: [webkit-help] ERROR: qmake missing but required to build WebKit. (Qt Port of WebKit under Windows 7) Message-ID: Newbie basic issue - ERROR: qmake missing but required to build WebKit. Windows 7 (64-bit), Visual Studio 2008 SP1, Qt A web search indicated that it might be environmental variable setup, but in my Visual Studio 2008 Command Prompt I can see C:\webkit>echo %qtdir% C:\qt\2010_05 C:\webkit>echo %qtdir%\bin C:\qt\2010_05\bin C:\webkit>where QtCore4.dll C:\qt\2010_05\bin\QtCore4.dll However - C:\webkit>perl WebKitTools\Scripts\build-webkit --qt --release ERROR: qmake missing but required to build WebKit. Now, on my machine, qmake.exe can be found under C:\qt\2010_05\qt\qmake\ Any ideas? (Thanks!) From ken.masumitsu at gmail.com Mon Oct 18 03:35:26 2010 From: ken.masumitsu at gmail.com (ken masumitsu) Date: Mon, 18 Oct 2010 19:35:26 +0900 Subject: [webkit-help] How to find RefPtr owner? Message-ID: Are there any good ways to find who has RefPtr objects. The background is After some operations, I expected that a reference counter of RefPtr should be zero. But it has zero and causes some issues. So I want to know who has the still the RefPtr. In other words, who does not release the RefPtr. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.shulgin at yessoftware.com Mon Oct 18 04:16:24 2010 From: alexander.shulgin at yessoftware.com (Alexander Shulgin) Date: Mon, 18 Oct 2010 14:16:24 +0300 Subject: [webkit-help] build-webkit on Windows failing due to not finding a few .h files In-Reply-To: References: Message-ID: <4CBC2C88.4020205@yessoftware.com> On 16.10.2010 2:44, Jenn Braithwaite (???) wrote: > build-webkit --debug > > I'm building WebKit on Windows 7 for the first time. WebKit is unable to build due to not finding cairo-win32.h, JSDOMWindow.h, SVGNames.h and CSSPropertyNames.h. All but the first exist in my working directory in 2 places: > > WebKitBuild/include/WebCore/ > > WebKitBuild/obj/WebCore/DerivedSources/ > > I've googled around but can't find the answer. Followed all directions onwebkit.org for setting up the dev tools and building. Any help would be appreciated. Build output is below. Did you install required libraries as described on this page: http://trac.webkit.org/wiki/BuildingCairoOnWindows ? I recall there were problems while building cairo port for the first time. You might need to convert all CRLFs to LFs in *.sh and *.in files throughout the source tree. Use this command to do so and see if that helps: find . \( -name \*.sh -o -name \*.in \) -print0 | xargs -0 sed -i.bak -e 's/$//g' -- Alex From oszi at inf.u-szeged.hu Mon Oct 18 04:27:46 2010 From: oszi at inf.u-szeged.hu (Osztrogonac Csaba) Date: Mon, 18 Oct 2010 13:27:46 +0200 Subject: [webkit-help] ERROR: qmake missing but required to build WebKit. (Qt Port of WebKit under Windows 7) In-Reply-To: References: Message-ID: <4CBC2F32.4060603@inf.u-szeged.hu> Hi Richard, I think you missed to add C:\qt\2010_05\bin to PATH. (It is the default path of qmake.exe) br, Ossy Richard Frainier ?rta: > Newbie basic issue - ERROR: qmake missing but required to build WebKit. > > Windows 7 (64-bit), Visual Studio 2008 SP1, Qt > > A web search indicated that it might be environmental variable setup, > but in my Visual Studio 2008 Command Prompt I can see > > C:\webkit>echo %qtdir% > C:\qt\2010_05 > > C:\webkit>echo %qtdir%\bin > C:\qt\2010_05\bin > > C:\webkit>where QtCore4.dll > C:\qt\2010_05\bin\QtCore4.dll > > However - > > C:\webkit>perl WebKitTools\Scripts\build-webkit --qt --release > ERROR: qmake missing but required to build WebKit. > > Now, on my machine, qmake.exe can be found under C:\qt\2010_05\qt\qmake\ > > Any ideas? (Thanks!) From ariya.hidayat at gmail.com Mon Oct 18 04:42:09 2010 From: ariya.hidayat at gmail.com (Ariya Hidayat) Date: Mon, 18 Oct 2010 04:42:09 -0700 Subject: [webkit-help] ERROR: qmake missing but required to build WebKit. (Qt Port of WebKit under Windows 7) In-Reply-To: <4CBC2F32.4060603@inf.u-szeged.hu> References: <4CBC2F32.4060603@inf.u-szeged.hu> Message-ID: > I think you missed to add C:\qt\2010_05\bin to PATH. > (It is the default path of qmake.exe) And if it works, you should get something when running 'qmake --version'. -- Ariya Hidayat http://www.linkedin.com/in/ariyahidayat From richard.frainier at gmail.com Mon Oct 18 08:12:20 2010 From: richard.frainier at gmail.com (Richard Frainier) Date: Mon, 18 Oct 2010 08:12:20 -0700 Subject: [webkit-help] ERROR: qmake missing but required to build WebKit. (Qt Port of WebKit under Windows 7) In-Reply-To: References: <4CBC2F32.4060603@inf.u-szeged.hu> Message-ID: Ariya, Many thanks for the reply. Please notice in my post above that when I typed "echo %qtdir%\bin" in the command window, the response was C:\qt\2010_05\bin So C:\qt\2010_05\bin is already in my PATH. Also, when I typed where QtCore4.dll in the command window, the response was C:\qt\2010_05\bin\QtCore4.dll So my environment is able to locate dlls in the bin directory. I think I have a different issue... Any other ideas? (Thaks in advance.) -Rich On Mon, Oct 18, 2010 at 4:42 AM, Ariya Hidayat wrote: >> I think you missed to add C:\qt\2010_05\bin to PATH. >> (It is the default path of qmake.exe) > > And if it works, you should get something when running 'qmake --version'. > -- > Ariya Hidayat From ariya.hidayat at gmail.com Mon Oct 18 09:11:06 2010 From: ariya.hidayat at gmail.com (Ariya Hidayat) Date: Mon, 18 Oct 2010 09:11:06 -0700 Subject: [webkit-help] ERROR: qmake missing but required to build WebKit. (Qt Port of WebKit under Windows 7) In-Reply-To: References: <4CBC2F32.4060603@inf.u-szeged.hu> Message-ID: > Also, when I typed > where QtCore4.dll > in the command window, the response was > ?C:\qt\2010_05\bin\QtCore4.dll > > So my environment is able to locate dlls in the bin directory. If 'qmake --version' returns something for you, then the question is, does it get also picked up by the build script (which is Perl)? You may want to print out some debugging messages inside WebKitTools/Scripts/webkitdirs.pm. Alternatively, pass the qmake executable directly via the --qmake=/path/to/qmakebin option. -- Ariya Hidayat http://www.linkedin.com/in/ariyahidayat From richard.frainier at gmail.com Mon Oct 18 10:39:10 2010 From: richard.frainier at gmail.com (Richard Frainier) Date: Mon, 18 Oct 2010 10:39:10 -0700 Subject: [webkit-help] ERROR: qmake missing but required to build WebKit. (Qt Port of WebKit under Windows 7) In-Reply-To: References: <4CBC2F32.4060603@inf.u-szeged.hu> Message-ID: Ariya, Thanks for your patience, as I am very new to Qt & WebKit. >From the VS2008 Command window, > qmake --version returns QMake version 2.01a Using Qt version 4.7.0 in C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.6/qt/lib I added c:\qt\2010_05\qt\qmake to my PATH (could not quite get the "--qmake=" option to work for me) and the next error was QMAKESPEC has not been set, so configuration cannot be deduced. I then added QMAKESPEC with a value of "win32-msvc2008" to my environment, but the next error was Could not find mkspecs for your QMAKESPEC ... At this point, I think something is wrong with my basic environment. If you see anything in the above that points to a simple fix, please let me know... -Rich On Mon, Oct 18, 2010 at 9:11 AM, Ariya Hidayat wrote: >> Also, when I typed >> where QtCore4.dll >> in the command window, the response was >> ?C:\qt\2010_05\bin\QtCore4.dll >> >> So my environment is able to locate dlls in the bin directory. > > If 'qmake --version' returns something for you, then the question is, > does it get also picked up by the build script (which is Perl)? You > may want to print out some debugging messages inside > WebKitTools/Scripts/webkitdirs.pm. Alternatively, pass the qmake > executable directly via the --qmake=/path/to/qmakebin option. > > > > -- > Ariya Hidayat From ariya.hidayat at gmail.com Mon Oct 18 10:47:31 2010 From: ariya.hidayat at gmail.com (Ariya Hidayat) Date: Mon, 18 Oct 2010 10:47:31 -0700 Subject: [webkit-help] ERROR: qmake missing but required to build WebKit. (Qt Port of WebKit under Windows 7) In-Reply-To: References: <4CBC2F32.4060603@inf.u-szeged.hu> Message-ID: > At this point, I think something is wrong with my basic environment. Yes, obviously :) The problem is the mixup between different versions of Qt. The easiest fix is probably to remove all installed Qt libraries and reinstall single 4.7 version. -- Ariya Hidayat http://www.linkedin.com/in/ariyahidayat From richard.frainier at gmail.com Mon Oct 18 11:24:40 2010 From: richard.frainier at gmail.com (Richard Frainier) Date: Mon, 18 Oct 2010 11:24:40 -0700 Subject: [webkit-help] ERROR: qmake missing but required to build WebKit. (Qt Port of WebKit under Windows 7) In-Reply-To: References: <4CBC2F32.4060603@inf.u-szeged.hu> Message-ID: Just uninstalled the Qt SDK (Qt SDK for Windows* (322 MB)) that I downloaded from and installed yesterday. I am going to try Qt libraries 4.7.0 for Windows (VS 2008, 226 MB) instead, unless you know of a better package for developing WebKit/WebCore under VS2008(VSVC)/Windows 7(64-bit). On Mon, Oct 18, 2010 at 10:47 AM, Ariya Hidayat wrote: >> At this point, I think something is wrong with my basic environment. > > Yes, obviously :) The problem is the mixup between different versions of Qt. > > The easiest fix is probably to remove all installed Qt libraries and > reinstall single 4.7 version. > > > -- > 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 > -- 510.835.2591 From efanharris at gmail.com Mon Oct 18 22:12:40 2010 From: efanharris at gmail.com (Efan...) Date: Mon, 18 Oct 2010 22:12:40 -0700 Subject: [webkit-help] disable selection of text and images Message-ID: Hi I am totally new to this group. I want to disable selection of Text and graphics in my QWebView, it seems that there is no way via Qt i can do this , so only option I am left with is to modify webkit code. I am new to webkit code too, but I am willing to put my time and effort to do this, Can any one please suggest what file/function should I be modifying in webkit?? Or does any one has any other solution other than modifying webkit? I will highly appreciate any input on this. BR -- Efan Harris -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.frainier at gmail.com Mon Oct 18 23:01:43 2010 From: richard.frainier at gmail.com (Richard Frainier) Date: Mon, 18 Oct 2010 23:01:43 -0700 Subject: [webkit-help] ERROR: qmake missing but required to build WebKit. (Qt Port of WebKit under Windows 7) In-Reply-To: References: <4CBC2F32.4060603@inf.u-szeged.hu> Message-ID: Thanks for your help. Qt libraries 4.7.0 for Windows (VS 2008, 226 MB) worked well for me. On Mon, Oct 18, 2010 at 11:24 AM, Richard Frainier wrote: > Just uninstalled the Qt SDK (Qt SDK for Windows* (322 MB)) that I > downloaded from and installed > yesterday. > > I am going to try Qt libraries 4.7.0 for Windows (VS 2008, 226 MB) > instead, unless you know of a better package for developing > WebKit/WebCore under VS2008(VSVC)/Windows 7(64-bit). > > On Mon, Oct 18, 2010 at 10:47 AM, Ariya Hidayat wrote: >>> At this point, I think something is wrong with my basic environment. >> >> Yes, obviously :) The problem is the mixup between different versions of Qt. >> >> The easiest fix is probably to remove all installed Qt libraries and >> reinstall single 4.7 version. >> >> >> -- >> 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 >> > > > > -- > > 510.835.2591 > -- 510.835.2591 From jennb at chromium.org Tue Oct 19 09:32:21 2010 From: jennb at chromium.org (=?UTF-8?B?SmVubiBCcmFpdGh3YWl0ZSAo6IOh5oWn6YuSKQ==?=) Date: Tue, 19 Oct 2010 09:32:21 -0700 Subject: [webkit-help] build-webkit on Windows failing due to not finding a few .h files In-Reply-To: <4CBC2C88.4020205@yessoftware.com> References: <4CBC2C88.4020205@yessoftware.com> Message-ID: It turns out that DirectX SDK needs to be installed to build on Windows now. Thanks to Jian Li for sending me his build output for comparison. Jenn On Mon, Oct 18, 2010 at 4:16 AM, Alexander Shulgin < alexander.shulgin at yessoftware.com> wrote: > On 16.10.2010 2:44, Jenn Braithwaite (???) wrote: > > build-webkit --debug > > > > I'm building WebKit on Windows 7 for the first time. WebKit is unable to > build due to not finding cairo-win32.h, JSDOMWindow.h, SVGNames.h and > CSSPropertyNames.h. All but the first exist in my working directory in 2 > places: > > > > WebKitBuild/include/WebCore/ > > > > WebKitBuild/obj/WebCore/DerivedSources/ > > > > I've googled around but can't find the answer. Followed all directions > onwebkit.org for setting up the dev tools and > building. Any help would be appreciated. Build output is below. > > Did you install required libraries as described on this page: > http://trac.webkit.org/wiki/BuildingCairoOnWindows ? > > I recall there were problems while building cairo port for the first > time. You might need to convert all CRLFs to LFs in *.sh and *.in files > throughout the source tree. Use this command to do so and see if that > helps: > > find . \( -name \*.sh -o -name \*.in \) -print0 | xargs -0 sed -i.bak -e > 's/$//g' > > -- > Alex > _______________________________________________ > 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 efanharris at gmail.com Tue Oct 19 10:07:36 2010 From: efanharris at gmail.com (Efan...) Date: Tue, 19 Oct 2010 10:07:36 -0700 Subject: [webkit-help] [webkit-dev] disable selection of text and images In-Reply-To: <3A176273-31C4-4EAA-9C3F-BA383D8724A2@apple.com> References: <3A176273-31C4-4EAA-9C3F-BA383D8724A2@apple.com> Message-ID: Hi All unfortunately I can not use JAVA script or any thing like that cause my application is totally c++ , QT based. I need to make the change in webkit src code I guess. On Tue, Oct 19, 2010 at 8:39 AM, Simon Fraser wrote: > Put > * { > -webkit-user-select: none; > } > > in your user-agent stylesheet? > > Simon > > On Oct 18, 2010, at 10:12 PM, Efan... wrote: > > > Hi > > I am totally new to this group. > > > > I want to disable selection of Text and graphics in my QWebView, it seems > that there is no way via Qt i can do this , so only option I am left with is > to modify webkit code. > > I am new to webkit code too, but I am willing to put my time and effort > to do this, Can any one please suggest what file/function should I be > modifying in webkit?? Or does any one has any other solution other than > modifying webkit? > > > > I will highly appreciate any input on this. > > -- Efan Harris -------------- next part -------------- An HTML attachment was scrubbed... URL: From rniwa at webkit.org Tue Oct 19 10:27:15 2010 From: rniwa at webkit.org (Ryosuke Niwa) Date: Tue, 19 Oct 2010 10:27:15 -0700 Subject: [webkit-help] [webkit-dev] disable selection of text and images In-Reply-To: <01DF6FD2-2613-4BA1-B823-08B4DBEFD48D@apple.com> References: <3A176273-31C4-4EAA-9C3F-BA383D8724A2@apple.com> <01DF6FD2-2613-4BA1-B823-08B4DBEFD48D@apple.com> Message-ID: Hi, I think I talked with this person on IRC last night, and I suggested him to modify EditorClientQt::shouldChangeSelectedRange to always return false. FYI, there is a bug to add this feature on Qt ports: https://bugs.webkit.org/show_bug.cgi?id=38520 - Ryosuke On Tue, Oct 19, 2010 at 10:17 AM, Dan Bernstein wrote: > > On Oct 19, 2010, at 10:07 AM, Efan... wrote: > > Hi All unfortunately I can not use JAVA script or any thing like that cause > my application is totally c++ , QT based. > I need to make the change in webkit src code I guess. > > > Note that this is already supported (with no source changes) on Mac OS X > via the editing delegate method > -webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:. > Perhaps Qt WebKit is missing an equivalent to that delegate interface (a > cursory look in EditorClientQt.cpp suggest that it is). > > > On Tue, Oct 19, 2010 at 8:39 AM, Simon Fraser wrote: > >> Put >> * { >> -webkit-user-select: none; >> } >> >> in your user-agent stylesheet? >> >> Simon >> >> On Oct 18, 2010, at 10:12 PM, Efan... wrote: >> >> > Hi >> > I am totally new to this group. >> > >> > I want to disable selection of Text and graphics in my QWebView, it >> seems that there is no way via Qt i can do this , so only option I am left >> with is to modify webkit code. >> > I am new to webkit code too, but I am willing to put my time and effort >> to do this, Can any one please suggest what file/function should I be >> modifying in webkit?? Or does any one has any other solution other than >> modifying webkit? >> > >> > I will highly appreciate any input on this. >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From efanharris at gmail.com Tue Oct 19 11:28:54 2010 From: efanharris at gmail.com (Efan...) Date: Tue, 19 Oct 2010 11:28:54 -0700 Subject: [webkit-help] [webkit-dev] disable selection of text and images In-Reply-To: References: <3A176273-31C4-4EAA-9C3F-BA383D8724A2@apple.com> <01DF6FD2-2613-4BA1-B823-08B4DBEFD48D@apple.com> Message-ID: Ah might be Raving Jason would have had word with you, he is my colleague he told me on skype today to do the same, return false from that method, But that will permanently disable it I am just looking some way to enable disable this when ever developer want using some api at Qt level or somewhere else. May be would like to have implementation like shouldChangeSelectedDOMRange as in OSX. On Tue, Oct 19, 2010 at 10:27 AM, Ryosuke Niwa wrote: > Hi, > > I think I talked with this person on IRC last night, and I suggested him to > modify EditorClientQt::shouldChangeSelectedRange to always return false. > FYI, there is a bug to add this feature on Qt ports: > https://bugs.webkit.org/show_bug.cgi?id=38520 > > - Ryosuke > > On Tue, Oct 19, 2010 at 10:17 AM, Dan Bernstein wrote: > >> >> On Oct 19, 2010, at 10:07 AM, Efan... wrote: >> >> Hi All unfortunately I can not use JAVA script or any thing like that >> cause my application is totally c++ , QT based. >> I need to make the change in webkit src code I guess. >> >> >> Note that this is already supported (with no source changes) on Mac OS X >> via the editing delegate method >> -webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:. >> Perhaps Qt WebKit is missing an equivalent to that delegate interface (a >> cursory look in EditorClientQt.cpp suggest that it is). >> >> >> On Tue, Oct 19, 2010 at 8:39 AM, Simon Fraser wrote: >> >>> Put >>> * { >>> -webkit-user-select: none; >>> } >>> >>> in your user-agent stylesheet? >>> >>> Simon >>> >>> On Oct 18, 2010, at 10:12 PM, Efan... wrote: >>> >>> > Hi >>> > I am totally new to this group. >>> > >>> > I want to disable selection of Text and graphics in my QWebView, it >>> seems that there is no way via Qt i can do this , so only option I am left >>> with is to modify webkit code. >>> > I am new to webkit code too, but I am willing to put my time and effort >>> to do this, Can any one please suggest what file/function should I be >>> modifying in webkit?? Or does any one has any other solution other than >>> modifying webkit? >>> > >>> > I will highly appreciate any input on this. >>> >>> -- Efan Harris -------------- next part -------------- An HTML attachment was scrubbed... URL: From rniwa at webkit.org Tue Oct 19 12:08:52 2010 From: rniwa at webkit.org (Ryosuke Niwa) Date: Tue, 19 Oct 2010 12:08:52 -0700 Subject: [webkit-help] [webkit-dev] disable selection of text and images In-Reply-To: References: <3A176273-31C4-4EAA-9C3F-BA383D8724A2@apple.com> <01DF6FD2-2613-4BA1-B823-08B4DBEFD48D@apple.com> Message-ID: The bug 38520 addresses the exact problem. - Ryosuke On Tue, Oct 19, 2010 at 11:28 AM, Efan... wrote: > Ah might be Raving Jason would have had word with you, he is my colleague > he told me on skype today to do the same, return false from that method, > > But that will permanently disable it I am just looking some way to enable > disable this when ever developer want using some api at Qt level or > somewhere else. May be would like to have implementation like > shouldChangeSelectedDOMRange as in OSX. > > > > > On Tue, Oct 19, 2010 at 10:27 AM, Ryosuke Niwa wrote: > >> Hi, >> >> I think I talked with this person on IRC last night, and I suggested him >> to modify EditorClientQt::shouldChangeSelectedRange to always return false. >> FYI, there is a bug to add this feature on Qt ports: >> https://bugs.webkit.org/show_bug.cgi?id=38520 >> >> - Ryosuke >> >> On Tue, Oct 19, 2010 at 10:17 AM, Dan Bernstein wrote: >> >>> >>> On Oct 19, 2010, at 10:07 AM, Efan... wrote: >>> >>> Hi All unfortunately I can not use JAVA script or any thing like that >>> cause my application is totally c++ , QT based. >>> I need to make the change in webkit src code I guess. >>> >>> >>> Note that this is already supported (with no source changes) on Mac OS X >>> via the editing delegate method >>> -webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:. >>> Perhaps Qt WebKit is missing an equivalent to that delegate interface (a >>> cursory look in EditorClientQt.cpp suggest that it is). >>> >>> >>> On Tue, Oct 19, 2010 at 8:39 AM, Simon Fraser wrote: >>> >>>> Put >>>> * { >>>> -webkit-user-select: none; >>>> } >>>> >>>> in your user-agent stylesheet? >>>> >>>> Simon >>>> >>>> On Oct 18, 2010, at 10:12 PM, Efan... wrote: >>>> >>>> > Hi >>>> > I am totally new to this group. >>>> > >>>> > I want to disable selection of Text and graphics in my QWebView, it >>>> seems that there is no way via Qt i can do this , so only option I am left >>>> with is to modify webkit code. >>>> > I am new to webkit code too, but I am willing to put my time and >>>> effort to do this, Can any one please suggest what file/function should I be >>>> modifying in webkit?? Or does any one has any other solution other than >>>> modifying webkit? >>>> > >>>> > I will highly appreciate any input on this. >>>> >>>> > > > -- > Efan Harris > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chatko at gmail.com Tue Oct 19 13:19:32 2010 From: chatko at gmail.com (Chris Hatko) Date: Tue, 19 Oct 2010 16:19:32 -0400 Subject: [webkit-help] webkitCairo rendering flash to backingstore bitmap Message-ID: I've been trying to capture the entire webview before it is bitbliped into a plateform window. I've got this working by reading the value of the m_backingStoreBitmap (with a few webview changes). However flash rendering of windowed plugins is absent from this bitmap. The only way I can get flash content to appear is to overwrite each flash plugin's wmode parameters and force windowless mode. I'd rather not do this. Does anyone have a suggestion on how to capture what flash renders into a bitmap like m_backingStoreBitmap I'm running -r 66159 Thanks, Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From efanharris at gmail.com Tue Oct 19 22:58:36 2010 From: efanharris at gmail.com (Efan...) Date: Tue, 19 Oct 2010 22:58:36 -0700 Subject: [webkit-help] [webkit-dev] disable selection of text and images In-Reply-To: References: <3A176273-31C4-4EAA-9C3F-BA383D8724A2@apple.com> <01DF6FD2-2613-4BA1-B823-08B4DBEFD48D@apple.com> Message-ID: By the way could there be any way like -webkit-user-select = none, where I can select the element Withought highlighting?? On Tue, Oct 19, 2010 at 12:08 PM, Ryosuke Niwa wrote: > The bug 38520 addresses > the exact problem. > > - Ryosuke > > On Tue, Oct 19, 2010 at 11:28 AM, Efan... wrote: > >> Ah might be Raving Jason would have had word with you, he is my colleague >> he told me on skype today to do the same, return false from that method, >> >> But that will permanently disable it I am just looking some way to enable >> disable this when ever developer want using some api at Qt level or >> somewhere else. May be would like to have implementation like >> shouldChangeSelectedDOMRange as in OSX. >> >> >> >> >> On Tue, Oct 19, 2010 at 10:27 AM, Ryosuke Niwa wrote: >> >>> Hi, >>> >>> I think I talked with this person on IRC last night, and I suggested him >>> to modify EditorClientQt::shouldChangeSelectedRange to always return false. >>> FYI, there is a bug to add this feature on Qt ports: >>> https://bugs.webkit.org/show_bug.cgi?id=38520 >>> >>> - Ryosuke >>> >>> On Tue, Oct 19, 2010 at 10:17 AM, Dan Bernstein wrote: >>> >>>> >>>> On Oct 19, 2010, at 10:07 AM, Efan... wrote: >>>> >>>> Hi All unfortunately I can not use JAVA script or any thing like that >>>> cause my application is totally c++ , QT based. >>>> I need to make the change in webkit src code I guess. >>>> >>>> >>>> Note that this is already supported (with no source changes) on Mac OS X >>>> via the editing delegate method >>>> -webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:. >>>> Perhaps Qt WebKit is missing an equivalent to that delegate interface (a >>>> cursory look in EditorClientQt.cpp suggest that it is). >>>> >>>> >>>> On Tue, Oct 19, 2010 at 8:39 AM, Simon Fraser wrote: >>>> >>>>> Put >>>>> * { >>>>> -webkit-user-select: none; >>>>> } >>>>> >>>>> in your user-agent stylesheet? >>>>> >>>>> Simon >>>>> >>>>> On Oct 18, 2010, at 10:12 PM, Efan... wrote: >>>>> >>>>> > Hi >>>>> > I am totally new to this group. >>>>> > >>>>> > I want to disable selection of Text and graphics in my QWebView, it >>>>> seems that there is no way via Qt i can do this , so only option I am left >>>>> with is to modify webkit code. >>>>> > I am new to webkit code too, but I am willing to put my time and >>>>> effort to do this, Can any one please suggest what file/function should I be >>>>> modifying in webkit?? Or does any one has any other solution other than >>>>> modifying webkit? >>>>> > >>>>> > I will highly appreciate any input on this. >>>>> >>>>> >> >> >> -- >> Efan Harris >> > > -- Efan Harris -------------- next part -------------- An HTML attachment was scrubbed... URL: From rashufatty at gmail.com Wed Oct 20 04:43:46 2010 From: rashufatty at gmail.com (rashmi yadav) Date: Wed, 20 Oct 2010 17:13:46 +0530 Subject: [webkit-help] Fwd: error installing webkit with directfb backend(gtk) Message-ID: dear all, i am building webkit with directfb backend i have following error when i run ./autogen.sh root at lxdevenv:~/html5/extfiles/WebKit-r69611# ./autogen.sh --prefix=/usr/gtk --with-font-backend=pango --with-target=directfb ln: creating hard link `autotools/ltmain.sh' => `/usr/gtk/share/libtool/config/ltmain.sh': Invalid cross-device link libtoolize: can not copy `/usr/gtk/share/libtool/config/ltmain.sh' to `autotools/' ln: creating hard link `autotools/libtool.m4' => `/usr/gtk/share/aclocal/libtool.m4': Invalid cross-device link libtoolize: can not copy `/usr/gtk/share/aclocal/libtool.m4' to `autotools/' ln: creating hard link `autotools/ltoptions.m4' => `/usr/gtk/share/aclocal/ltoptions.m4': Invalid cross-device link libtoolize: can not copy `/usr/gtk/share/aclocal/ltoptions.m4' to `autotools/' ln: creating hard link `autotools/ltsugar.m4' => `/usr/gtk/share/aclocal/ltsugar.m4': Invalid cross-device link libtoolize: can not copy `/usr/gtk/share/aclocal/ltsugar.m4' to `autotools/' ln: creating hard link `autotools/ltversion.m4' => `/usr/gtk/share/aclocal/ltversion.m4': Invalid cross-device link libtoolize: can not copy `/usr/gtk/share/aclocal/ltversion.m4' to `autotools/' ln: creating hard link `autotools/lt~obsolete.m4' => `/usr/gtk/share/aclocal/lt~obsolete.m4': Invalid cross-device link libtoolize: can not copy `/usr/gtk/share/aclocal/lt~obsolete.m4' to `autotools/' i have installed libtool and autotools-dev in path /usr/gtk my webkit version is WebKit-r69611 i really cant figure out what is the problem could plz some one help me........ -------------- next part -------------- An HTML attachment was scrubbed... URL: From webkit-help at artefarita.com Wed Oct 20 13:42:10 2010 From: webkit-help at artefarita.com (Gregoire) Date: Wed, 20 Oct 2010 22:42:10 +0200 Subject: [webkit-help] Debugging XSLT with WebKit ? Message-ID: <4CBF5422.1050805@artefarita.com> Hi, When I use the Saxon-B XSLT Processor in command-line with the attached files with : saxonb-xslt annonces.xml trier-annonces3.xsl it returns the content of "annonces.xml" but sorted in the order of the "communes" global variable, which is exactly what I want. However, when I try to do the same thing with Chrome and the XSLTProcessor object, I get the following error : Error: NOT_SUPPORTED_ERR: DOM Exception 9 How can I know what WebKit doesn't like in my XSL stylesheet? Best regards, Gr?goire -------------- next part -------------- A non-text attachment was scrubbed... Name: trier-annonces3.xsl Type: application/xml Size: 1426 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: annonces.xml Type: text/xml Size: 962 bytes Desc: not available URL: From ap at webkit.org Wed Oct 20 14:32:41 2010 From: ap at webkit.org (Alexey Proskuryakov) Date: Wed, 20 Oct 2010 14:32:41 -0700 Subject: [webkit-help] Debugging XSLT with WebKit ? In-Reply-To: <4CBF5422.1050805@artefarita.com> References: <4CBF5422.1050805@artefarita.com> Message-ID: 20.10.2010, ? 13:42, Gregoire ???????(?): > How can I know what WebKit doesn't like in my XSL stylesheet? You can run command line xsltproc (part of libsxlt) with --verbose. - WBR, Alexey Proskuryakov From shahab at appmobi.com Wed Oct 20 14:46:15 2010 From: shahab at appmobi.com (Shahab Layeghi) Date: Wed, 20 Oct 2010 14:46:15 -0700 Subject: [webkit-help] WebGL in WebKit to iOS Message-ID: Hello all, I'm looking into porting WebGL portion of WebKit to iOS. The goal is making an app that can support WebGL until it is natively supported by Safari. I've been looking into WebKit code for the past few days, built and ran it on Mac and can step through relevant functions in XCode debugger. I don't have a prior experience with OpenGL and Mac graphics APIs, but I've been browsing through the documentations to get a basic understanding of how things work. A general question is whether there is an Open Source WebKit port to iOS? If not, what are the major items needed for the port (considering the only WebGL portion is the target)? For example it looks like many places in WebCore that utilize some functionality in wtf such as RefPtrs. What does it take to port these classes to iOS, are there already existing equivalent methods? To do this project, one thing that needs to be done is to intercept WebGL's JavaScript commands and route them to relevant functions in WebGLRenderingContext.cpp. This should be doable. On the rendering side there are differences between the graphics APIs of Max OS X, and iOS. iOS uses CAEAGLLayer to support OpenGL ES rendering, while Mac uses CAOpenGLLayer, so it looks like gl calls in GraphicsContext3D need to converted from OpenGL to OpenGL ES, ANGLE would be removed, and WebGLLayer needs to be reimplemented. Do you foresee any major difficulties in this, are there other areas that need to be redone? Any pointers and suggestions on best approach for this porting would be highly appreciated. Thanks in advance for the responses, Shahab -------------- next part -------------- An HTML attachment was scrubbed... URL: From ariya.hidayat at gmail.com Wed Oct 20 14:59:47 2010 From: ariya.hidayat at gmail.com (Ariya Hidayat) Date: Wed, 20 Oct 2010 14:59:47 -0700 Subject: [webkit-help] WebGL in WebKit to iOS In-Reply-To: References: Message-ID: > A general question is whether there is an Open Source WebKit port to iOS? In case you miss it, JavaScriptCore and WebCore source code for iOS are listed in http://opensource.apple.com/release/ios-40/. Regards, Ariya From zaheer.mot at gmail.com Wed Oct 20 23:50:20 2010 From: zaheer.mot at gmail.com (Zaheer Ahmad) Date: Thu, 21 Oct 2010 12:20:20 +0530 Subject: [webkit-help] [webkit-dev] Regarding cache memory leaks In-Reply-To: <8CD3E6D5F6CA67A-1664-CDD0@webmail-m069.sysops.aol.com> References: <8CD3E6D5F6CA67A-1664-CDD0@webmail-m069.sysops.aol.com> Message-ID: On Wed, Oct 20, 2010 at 6:26 PM, wrote: > > Hi Holger, > > Thank you for your valuable suggestions. We have tried the 2 solutions > which you have proposed: > > 1. *Verify that you are not leaking memory. Create a sample page, > reload it in a loop, repaint it and see what happens to your memory..* > > We have tested with attached sample page(memtest.html) by reloading > with Webkit default cache model ( WEBKIT_CACHE_MODEL_WEB_BROWSER ) then we > observed no memory leaks. When we set the webkit cache model to > WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER then observed leak for every reload. ( > the leak is image size equivalent for every reload ) > > can you try this in the latest trunk with a standard port (e.g. GTK)? > > 1. > 2. *Ask the VM to overcommit the memory, and see how far you can push > things...* > > We are using 2.6.22.19-19 so we are unable to set the overcommit flag > from /proc file system. > $echo 2 > /proc/sys/vm/overcommit_memory (strict overcommit) -- When we > set like this, the browser is crashing. > > As per previous comments from Webkit-dev mailing list, we understood that > the cache limit is only applied for other than current page. In that case, > how can we set cache limit for current page. > There is no current mechanism where you can set X amount of memory and the browser will be in that limits. The current page will take memory what ever it needs. > > We have also tried with the below mentioned approach and observed some > memory regain: > > 1. Opened the attached Picasa sample html page and running in slideshow > mode. > 2. Displayed almost 100 random images, which consumed almost 80% of > RAM. > > Ideally only the images in the visible area are required to be decoded and in memory. I think the default implementation will not release resources once decoded for the current page, may be something you could try to do based on the memory availability on the system and the memory already used by the current page. > > 1. At this condition, we redirected to another web page (google.com). > Due to this RAM free memory is regained approximately 10MB, but not the > entire consumed memory used by previous loaded page (i.e. Picasa page) > > Thats the behavior of allocator, it will not give back memory aggressively to the system, but does free it. you can try your page -> blank page -> your page multiple times, and you should not see a bloat. > > 1. After this, we dropped the kernel cache by using below command and > observed around 4MB memory gain. > $echo 3 > /proc/sys/vm/drop_caches > > Could you please suggest is there any way to strictly limit the cache size > for current page. Even though when we call removeLRUList, > pruneLiveResources() the cachedResource references are not freeing. How can > we properly remove these cachedResource references. > > Thanks, > Suman > > -----Original Message----- > From: Holger Freyther > To: sumanrapolu > Cc: webkit-dev > Sent: Tue, 19 Oct 2010 12:48 am > Subject: Re: Regarding cache memory leaks > > On 10/18/2010 02:55 PM, sumanrapolu at aim.com wrote: > > > > > Hi Holger, > > > > > > > Hi, > > > > (please keep the mailinglist in the loop) > > > > > > > > We have applied the > > > > > patch(https://bug-44806-attachments.webkit.org/attachment.cgi?id=68154) to > > > > > remove the "deadResources", which is working fine. Because of this patch the > > > > > duration to consume the entire available RAM has increased. But still the > > > > > "liveResources" are not freeing, due to which its again consuming the entire > > > > > available RAM. > > > > > > > my time is limited right now so I can not help you in my spare time. But if > > > > the encoded data of the current page is more than fits into your RAM there is > > > > not much you can do, you can either wait to get killed by the kernel, or you > > > > can stop loading the page. Just imagine you would throw away images you have > > > > already downloaded, you would need to download them again.. in most cases > > > > where you have limited RAM you also have limited bandwidth... > > > > > > > The two things that I can propose are: > > > > a) verify thay you are not leaking memory. Create a simple page, reload it in > > > > a loop, repaint it and see what happens to your memory... > > > > b) ask the Linux VM to overcommit memory and see how far you can push things. > > > > > > > > > > I just can't commit more of my spare time to look into memory usage of > > > > WebCore, I wish I could spend more time on WebKit... > > > > > > > > > > > > > > > > > _______________________________________________ > webkit-dev mailing list > webkit-dev at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rashufatty at gmail.com Thu Oct 21 00:51:16 2010 From: rashufatty at gmail.com (rashmi yadav) Date: Thu, 21 Oct 2010 13:21:16 +0530 Subject: [webkit-help] error installing webkit with directfb backend Message-ID: root at lxdevenv:/usr/WebKit-r55834/WebKitTools/Scripts# ./build-webkit --gtk --prefix=/usr/gtk --with-font-backend=pango --with-target=directfb Calling configure in /usr/WebKit-r55834/WebKitBuild/Release 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' GNUmakefile.am: installing `autotools/depcomp' configure:17293: error: possibly undefined macro: AS_MESSAGE_LOG_FDdnl If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. Failed to setup build environment using 'autotools'! -------------- next part -------------- An HTML attachment was scrubbed... URL: From murali.n at motorola.com Thu Oct 21 03:15:27 2010 From: murali.n at motorola.com (NARAYANAN MURALIDHARAN-KDHB46) Date: Thu, 21 Oct 2010 18:15:27 +0800 Subject: [webkit-help] webkit build errors Message-ID: <7C57DB58C81FB64CA979EC6C4DB73E7A049DE6B8@ZMY16EXM67.ds.mot.com> Saw your email thread dated from Dec 15 2009... I saw the original question posted by > on how to build WebKit on cygwin I read that building Webkit on VC++ environment is possible with significant memory consumed at link step Can WebKit be compiled on cygwim environment instead? I get an error with regards to WebKitSupportLibrary being out-of-date? How to solve this for cygwin compilation? Please help. Thanks Murali -------------- next part -------------- An HTML attachment was scrubbed... URL: From murali.n at motorola.com Thu Oct 21 03:35:16 2010 From: murali.n at motorola.com (NARAYANAN MURALIDHARAN-KDHB46) Date: Thu, 21 Oct 2010 18:35:16 +0800 Subject: [webkit-help] Compiling webkit version WebKit-r69918 on cygwin Message-ID: <7C57DB58C81FB64CA979EC6C4DB73E7A049DE6C7@ZMY16EXM67.ds.mot.com> I have a few questions, appreciate your help. - I am having problem to compile WebKit version WebKit-r69918 on cygwin. Not tried on Windows yet though I have downloaded all files and patches to run it on Windows. On compilation in cygwin, it says the WebKitSupportLibrary.zip is out of date and needs update. However, even after update I get the same error. What should I do? - I read from mailing list that Windows uses upto 2 G memory during link step. Does that mean that after linking the WebKit code size (with attached libraries) are upto 2G in code size? - What is the difference in the SOURCE from nightly code location (http://nightly.webkit.org/) and SOURCE from (http://nightly.webkit.org/files/WebKit-SVN-source.tar.bz2 ) that is updated every 6 hours. The SOURCE from the 2 different locations are significantly different in sizes, 16 MB as compared to 700 MB in the tar.bz2 file. Thanks for any help extended. Murali -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.brodt at porabo.ch Thu Oct 21 03:40:39 2010 From: thomas.brodt at porabo.ch (Thomas Brodt) Date: Thu, 21 Oct 2010 12:40:39 +0200 Subject: [webkit-help] webkit build errors In-Reply-To: <7C57DB58C81FB64CA979EC6C4DB73E7A049DE6B8@ZMY16EXM67.ds.mot.com> References: <7C57DB58C81FB64CA979EC6C4DB73E7A049DE6B8@ZMY16EXM67.ds.mot.com> Message-ID: <4CC018A7.7030903@porabo.ch> The support library has been updated recently. So probably you have the old version installed which should be replaced. You should download the new version from http://developer.apple.com/opensource/internet/webkit_sptlib_agree.html and follow the instructions from http://webkit.org/building/checkout.html But be aware that there are currently some unresolved issues with the windows cairo port. You can always compile within the cygwin shell using the script build-webkit , e.g. as build-webkit --release There is less feedback in the cygwin shell though than in the VC transcript regarding errors or general processing information. HTH Thomas Am 21.10.2010 12:15, schrieb NARAYANAN MURALIDHARAN-KDHB46: > Saw your email thread dated from Dec 15 2009... > I saw the original question posted by wipro.com > > on how to build WebKit on cygwin > I read that building Webkit on VC++ environment is possible with > significant memory consumed at link step > Can WebKit be compiled on cygwim environment instead? I get an > error with regards to WebKitSupportLibrary being out-of-date? How to > solve this for cygwin compilation? Please help. > Thanks > Murali > > > _______________________________________________ > 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 chatko at gmail.com Thu Oct 21 06:25:00 2010 From: chatko at gmail.com (Chris Hatko) Date: Thu, 21 Oct 2010 09:25:00 -0400 Subject: [webkit-help] Compiling webkit version WebKit-r69918 on cygwin In-Reply-To: <7C57DB58C81FB64CA979EC6C4DB73E7A049DE6C7@ZMY16EXM67.ds.mot.com> References: <7C57DB58C81FB64CA979EC6C4DB73E7A049DE6C7@ZMY16EXM67.ds.mot.com> Message-ID: If you are running out of memory in release mode, you can disable whole program optimization. I found that unless you are running a 64bit windows this condition can occur regularly. Do so by changing the VS setting under WebCore -> C/C++ ->Optimization->Whole Program Optimization (/GL) And no, memory is taken up during linking stage, but final dlls are small. Chris On Thu, Oct 21, 2010 at 6:35 AM, NARAYANAN MURALIDHARAN-KDHB46 < murali.n at motorola.com> wrote: > I have a few questions, appreciate your help. > > - I am having problem to compile WebKit version WebKit-r69918 on cygwin. > Not tried on Windows yet though I have downloaded all files and patches to > run it on Windows. On compilation in cygwin, it says the > WebKitSupportLibrary.zip is out of date and needs update. However, even > after update I get the same error. What should I do? > > - I read from mailing list that Windows uses upto 2 G memory during link > step. Does that mean that after linking the WebKit code size (with attached > libraries) are upto 2G in code size? > > - What is the difference in the SOURCE from nightly code location ( > http://nightly.webkit.org/) and SOURCE from > (http://nightly.webkit.org/files/WebKit-SVN-source.tar.bz2) > that is updated every 6 hours. The SOURCE from the 2 different locations are > significantly different in sizes, 16 MB as compared to 700 MB in the tar.bz2 > file. > > Thanks for any help extended. > Murali > > > _______________________________________________ > 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 zaheer.mot at gmail.com Thu Oct 21 08:06:41 2010 From: zaheer.mot at gmail.com (Zaheer Ahmad) Date: Thu, 21 Oct 2010 20:36:41 +0530 Subject: [webkit-help] crash in trampoline return Message-ID: hi, iam debugging a crash in webkit JIT(arm thumb2 froyo) when loading a page. The crash happens after return from the trampoline when popping pc, 0xa861b6ac <_ZN3JSC7JITCode7executeEPNS_12RegisterFileEPNS_9ExecStateEPNS_12JSGlobalDataEPNS_7JSValueE+56>: ldr r0, [r5, #0] 0xa861b6ae <_ZN3JSC7JITCode7executeEPNS_12RegisterFileEPNS_9ExecStateEPNS_12JSGlobalDataEPNS_7JSValueE+58>: bl 0xa8622698 0xa861b6b2 <_ZN3JSC7JITCode7executeEPNS_12RegisterFileEPNS_9ExecStateEPNS_12JSGlobalDataEPNS_7JSValueE+62>: add sp, #20 0xa861b6b4 <_ZN3JSC7JITCode7executeEPNS_12RegisterFileEPNS_9ExecStateEPNS_12JSGlobalDataEPNS_7JSValueE+64>: pop {r4, r5, r6, r7, pc} (gdb) x/20x $sp 0x46bb9360: 0xa8748b48 0x002601e8 0x003c8b60 0x46ec2024 0x46bb9370: 0x46bb93d8 0xa861c05f The sp is off by 4 bytes, i.e. it should be 0x46bb9364 and not 0x46bb9360, i.e. pc should be 0xa861c05f. If i explicitly set this value before popping, the usecase works. Iam not familiar with the trampoline entry/exit sequence with the generated code/native code to debug inside it, so any pointers would be greatly helpful. Thanks, Zaheer -------------- next part -------------- An HTML attachment was scrubbed... URL: From aroben at apple.com Thu Oct 21 10:03:03 2010 From: aroben at apple.com (Adam Roben) Date: Thu, 21 Oct 2010 10:03:03 -0700 Subject: [webkit-help] Compiling webkit version WebKit-r69918 on cygwin In-Reply-To: <7C57DB58C81FB64CA979EC6C4DB73E7A049DE6C7@ZMY16EXM67.ds.mot.com> References: <7C57DB58C81FB64CA979EC6C4DB73E7A049DE6C7@ZMY16EXM67.ds.mot.com> Message-ID: <4CC07247.3060104@apple.com> On 10/21/2010 3:35 AM, NARAYANAN MURALIDHARAN-KDHB46 wrote: > I have a few questions, appreciate your help. > - I am having problem to compile WebKit version WebKit-r69918 on > cygwin. Not tried on Windows yet though I have downloaded all files > and patches to run it on Windows. On compilation in cygwin, it says > the WebKitSupportLibrary.zip is out of date and needs update. However, > even after update I get the same error. What should I do? Are you downloading a new file from and placing it in your root WebKit directory? -Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: From ariya.hidayat at gmail.com Thu Oct 21 10:18:12 2010 From: ariya.hidayat at gmail.com (Ariya Hidayat) Date: Thu, 21 Oct 2010 10:18:12 -0700 Subject: [webkit-help] crash in trampoline return In-Reply-To: References: Message-ID: > iam debugging a crash in webkit JIT(arm thumb2 froyo) when loading a page. For the benefit of those are not familiar with the terms, "froyo" refers to Android 2.2. > The crash happens after return from the trampoline when popping pc, I assume this is Android 2.2 WebKit with JavaScriptCore JIT. I wonder how well supported it is, consider that Google seems to push V8 for Android 2.2 and later. Regards, -- Ariya Hidayat http://www.linkedin.com/in/ariyahidayat From justintrent at live.com Thu Oct 21 11:43:55 2010 From: justintrent at live.com (Justin Trent) Date: Thu, 21 Oct 2010 14:43:55 -0400 Subject: [webkit-help] Licensing question In-Reply-To: References: Message-ID: I have encountered a situation where my software, where I want to leverage WebKit, may not be able to meet all the provisions on the LGPL. Whom can I contact for advice and/or request an exception for usage of WebKit? Thanks in advance, Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: From shahab at appmobi.com Thu Oct 21 12:01:47 2010 From: shahab at appmobi.com (Shahab Layeghi) Date: Thu, 21 Oct 2010 12:01:47 -0700 Subject: [webkit-help] WebGL in WebKit to iOS In-Reply-To: References: Message-ID: Thank you Ariya for the pointer, it's very helpful. Where is the appropriate forum for questions on the WebKit source code iOS port published below? Can anyone in this forum help, or should I post to the Apple developer forums? I wanted to see if there's any test app or method that could be used to test the WebCore & JavaScriptCore libs under iOS? More specifically I wanted to check out the WebGL functionality. On Wed, Oct 20, 2010 at 2:59 PM, Ariya Hidayat wrote: > > A general question is whether there is an Open Source WebKit port to iOS? > > In case you miss it, JavaScriptCore and WebCore source code for iOS > are listed in http://opensource.apple.com/release/ios-40/. > > > Regards, > > Ariya > _______________________________________________ > 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 Grant_Gayed at ca.ibm.com Thu Oct 21 14:17:26 2010 From: Grant_Gayed at ca.ibm.com (Grant Gayed) Date: Thu, 21 Oct 2010 17:17:26 -0400 Subject: [webkit-help] showing links in editable texts properly [OS X] Message-ID: Hi, We embed WebKit on OS X, and I'm seeing a behavior that seems wrong and differs from Safari. The page at http://tinymce.moxiecode.com/examples/full.php has an editable text with two links within it. In Safari (and other stand-alone browsers I've tried), hovering over these links leaves the cursor as an I-beam, and clicking inserts the caret into the editor for editing. However in our app these link texts are treated like real links, so the cursor becomes a hand while hovering, and clicking them actually navigates away to their url. I think our app is just seeing WebKit's default behavior, because the CarbonWeb and MiniBrowser examples behave similarly. I've been looking but haven't found a way to change this behavior in WebKit, though I assume there's a way since Safari does. Can anyone give me a pointer? Thanks in advance, Grant -------------- next part -------------- An HTML attachment was scrubbed... URL: From zaheer.mot at gmail.com Fri Oct 22 03:56:23 2010 From: zaheer.mot at gmail.com (Zaheer Ahmad) Date: Fri, 22 Oct 2010 16:26:23 +0530 Subject: [webkit-help] crash in trampoline return In-Reply-To: References: Message-ID: Thanks Ariya. I figured it out, it was due to the mismatch in the ctiOpThrowNotCaught (3c vs 40) which was fixed with a recent changeset.. http://trac.webkit.org/changeset/54809 Regards, Zaheer On Thu, Oct 21, 2010 at 10:48 PM, Ariya Hidayat wrote: > > iam debugging a crash in webkit JIT(arm thumb2 froyo) when loading a > page. > > For the benefit of those are not familiar with the terms, "froyo" > refers to Android 2.2. > > > The crash happens after return from the trampoline when popping pc, > > I assume this is Android 2.2 WebKit with JavaScriptCore JIT. I wonder > how well supported it is, consider that Google seems to push V8 for > Android 2.2 and later. > > > Regards, > > -- > 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 TELarson at west.com Fri Oct 22 08:39:32 2010 From: TELarson at west.com (Larson, Timothy E.) Date: Fri, 22 Oct 2010 10:39:32 -0500 Subject: [webkit-help] FLTK Message-ID: <226316B3E1F749498E28ACA66321D5BA0296FDB8E6@oma00cexmbx03.corp.westworlds.com> On the web one can find a blog post from 2008 about an FLTK port. Does anybody on this list know anything about that? I've tried contacting Terry Xu about it, to no avail. Thanks, Tim -- Tim Larson App Admin, Intercall Production Services From shahab at appmobi.com Fri Oct 22 09:12:24 2010 From: shahab at appmobi.com (Shahab) Date: Fri, 22 Oct 2010 09:12:24 -0700 Subject: [webkit-help] WebGL in WebKit Message-ID: Hello all, I was wondering if someone knows the relationship between the WebCore code at http://opensource.apple.com/release/ios-40/. and the code here at webkit.org? Is the iOS port branched out from an older version of the code in this repository? I'm interested in enabling WebGL for iOS, but not sure about the state and maturity of the code currently released at opensource.apple.com. If I can get it working under iOS I'd be glad to help contribute to the project by posting fixes, etc. Basically we want to see WebGL working under iOS and willing to put a temporary solution as a separate app until it's supported natively by WebKit there. I posted a similar question to the webkit-help forum, but since there seems to be more folks from Apple contributing here I thought I could ask, so I apologize if it's a duplicate question for some. Regards, Shahab -------------- next part -------------- An HTML attachment was scrubbed... URL: From efrencd at gmail.com Sat Oct 23 10:47:16 2010 From: efrencd at gmail.com (Efren CD) Date: Sat, 23 Oct 2010 18:47:16 +0100 Subject: [webkit-help] Get the output of WebKit as a RGBA image... Is this possible? In-Reply-To: References: Message-ID: I am trying to code a tiny application which is able to output the contents redenred by a HTML/Javascript layout engine to the output of a secondary graphic card. The card is a profesional video capturer/renderer which has its own SDK an it is able to KEY "alpha channeled" (RGBa) contents over live video signal using an internal key functionality. I need to get the contents rendered by the layout engine in RGBa format (with alpha channel information) so that its contents could be properly keyed using the internal Key function of the Decklink Card. The layout engine should make use of all its functionality like Javascript, PlugIns Support (Flash/Silverlight, etc.) and Audio Out to the Decklink card. Here there is a sample page which its contents shoud be keyed: http://autobombo.es/test/sample.html The idea is to input a live video to the decklink card and then the app overlays the sample.html page over the video using the internal key functionality of the Decklink card. Is that Possible? PD: I've been talking about this issue in the Decklink Developers mailing list and here you have an interesting comment that can help you get a deeper understanding of this issue: ///////////////////////////////////////////////////////////////////////// "Taking a 32bit PNG should be no problem, the Decklink API allows you to create a 32bit ARGB data block using IDeckLinkOutput.CreateVideoFrame() passing "bmdFormat8BitARGB" as the "pixelFormat" property, and the card will key over your input video using the Alpha as the base key, and then you can ramp up and down overall Key Level of the graphic using IDeckLinkKeyer.SetLevel. Where I think you'll have a problem is any browser will composite your HTML , PNG, Flash, Silverlight against an opaque document background, at which point I'm not sure how you get hold of the combined Alpha channel you need to fill your ARGB frame data buffer. You could certainly scrape the browsers client window as a 24 bit colour bitmap, and I suppose you could use a single colour to indicate where to set the Alpha to 0x00 to let the video through, but that won't help you much for partial transparency." //////////////////////////////////////////////////////////////////////// Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From remy.saissy at gmail.com Tue Oct 26 09:03:20 2010 From: remy.saissy at gmail.com (=?UTF-8?B?UsOpbXkgU2Fpc3N5?=) Date: Tue, 26 Oct 2010 18:03:20 +0200 Subject: [webkit-help] Minimum hardware requirements for running Webkit? Message-ID: Hi people, my company want to use Webkit on an embedded device. We plan to use HTML5 and CSS3 support but not necessarly WebGL. Aslo, we are likely to use the video anchor to decode streams. Our webpages will be locally stored and will also use a of Javascript. I was wondering what are the minimum hardware requirements (CPU speed, RAM, gfx) for Webkit to correctly render these webpages. I am not talking about the the power necessary to decode h264 streams but only for HTML5/CSS3 content rendering. Thanks for your help. -- R?my Saissy Web:? ?? http://picasaweb.google.fr/remy.saissy "J'aime les belles plantes car cela me donne envie de devenir jardinier." From sghosh at cs.wisc.edu Fri Oct 29 10:51:06 2010 From: sghosh at cs.wisc.edu (sghosh at cs.wisc.edu) Date: Fri, 29 Oct 2010 12:51:06 -0500 Subject: [webkit-help] Webkit Build Fail - windows Message-ID: <134dae198fd91bea5a29bdc10d124086.squirrel@webmail.cs.wisc.edu> I have followed the instructions to install all the dev tools required to get webkit running on windows, got the latest nightly build. But when I run the script to build webkit from Cygwin shell I repeatedly get this error message - "Please ensure you have run Webkit/WebkitTools/Scripts/update-webkit to install dependencies." Running update-webkit does not solve the problem. Can anyone please help me out? Thanks Subhadip From aroben at apple.com Fri Oct 29 11:14:23 2010 From: aroben at apple.com (Adam Roben) Date: Fri, 29 Oct 2010 14:14:23 -0400 Subject: [webkit-help] Webkit Build Fail - windows In-Reply-To: <134dae198fd91bea5a29bdc10d124086.squirrel@webmail.cs.wisc.edu> References: <134dae198fd91bea5a29bdc10d124086.squirrel@webmail.cs.wisc.edu> Message-ID: <93556E3B-9136-4620-AF05-C04062945568@apple.com> On Oct 29, 2010, at 1:51 PM, sghosh at cs.wisc.edu wrote: > I have followed the instructions to install all the dev tools required to > get webkit running on windows, got the latest nightly build. > But when I run the script to build webkit from Cygwin shell I repeatedly > get this error message - > "Please ensure you have run Webkit/WebkitTools/Scripts/update-webkit to > install dependencies." > > Running update-webkit does not solve the problem. > Can anyone please help me out? That error message is printed whenever the build fails for any reason. You probably need to look through the build logs to find out what went wrong. -Adam From jennb at chromium.org Fri Oct 29 11:17:00 2010 From: jennb at chromium.org (=?UTF-8?B?SmVubiBCcmFpdGh3YWl0ZSAo6IOh5oWn6YuSKQ==?=) Date: Fri, 29 Oct 2010 11:17:00 -0700 Subject: [webkit-help] Webkit Build Fail - windows In-Reply-To: <134dae198fd91bea5a29bdc10d124086.squirrel@webmail.cs.wisc.edu> References: <134dae198fd91bea5a29bdc10d124086.squirrel@webmail.cs.wisc.edu> Message-ID: Hi, what other error messages are you seeing? That one about update-webkit shows up for any failure, but it's not an indicator of the real problem. What version of Windows are you on? Jenn On Fri, Oct 29, 2010 at 10:51 AM, wrote: > I have followed the instructions to install all the dev tools required to > get webkit running on windows, got the latest nightly build. > But when I run the script to build webkit from Cygwin shell I repeatedly > get this error message - > "Please ensure you have run Webkit/WebkitTools/Scripts/update-webkit to > install dependencies." > > Running update-webkit does not solve the problem. > Can anyone please help me out? > > Thanks > Subhadip > > _______________________________________________ > 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 brum76 at gmail.com Sun Oct 31 07:11:32 2010 From: brum76 at gmail.com (Radu Brumariu) Date: Sun, 31 Oct 2010 07:11:32 -0700 Subject: [webkit-help] Collecting resource download information Message-ID: Hi, I would like to collect time information of the resources being downloaded. Any pointers where to start looking ? I am planning on using the gtk build, but if some other build provides better options, I would be happy to change ( as long as it stays portable to Mac and Linux - not interested in Windows ). Thanks, Radu From yingherng at hotmail.com Sun Oct 31 19:08:29 2010 From: yingherng at hotmail.com (yingherng yingherng) Date: Mon, 1 Nov 2010 10:08:29 +0800 Subject: [webkit-help] Webkit Build Fail - windows In-Reply-To: <93556E3B-9136-4620-AF05-C04062945568@apple.com> References: <134dae198fd91bea5a29bdc10d124086.squirrel@webmail.cs.wisc.edu>, <93556E3B-9136-4620-AF05-C04062945568@apple.com> Message-ID: Hi, i tried compiling webkit on windows xp (32bit) using cygwin and this is the error message i get. I've installed all developer tools needed, hope that someone will be able to help me. Performing Pre-Build Event... /usr/bin/bash File not found - * 0 File(s) copied Performing Pre-Link Event... 1 file(s) copied. 1 file(s) copied. Linking... fatal error C1083: Cannot open compiler intermediate file: 'C:\cygwin\home\Student\WebKit\WebKitBuild\lib\WebCore.lib': Not enough space LINK : fatal error LNK1257: code generation failed Project : warning PRJ0018 : The following environment variables were not found: $(PRODUCTION) -------------- next part -------------- An HTML attachment was scrubbed... URL: