Re: [webkit-dev] opcode for Webkit JavaScript Engine opcode
On Fri, Mar 27, 2009 at 3:05 AM, Ariya Hidayat ariya.hida...@trolltech.com wrote: Can you please tell where i can find definition of JavaScript opcode? I mean, Webkit will parse the source js file into some internal JavaScript opcode for it s JavaScript VM to execute. Can you please tell me where I can find that? Could not be more obvious: JavaScriptCore/bytecode/ JavaScriptCore/bytecompiler/ Thank you. But in the android's version, there is not corresponding directory. Can you please tell me where/how is android's Webkit compile js into byte code? -- Ariya Hidayat, Software Engineer Qt Software, Nokia Devices RD ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] How does webkit keep track of co-ordinates/dimension of each line of text in a Paragraph tag?
Hi, Can you please tell me how does webkit keep track of co-ordinates/dimension of each line of text in a Paragraph tag? For example, if I have a Paragraph of text. Web kit will split it up into multiple lines of text. How does webkit (what data-structure it uses) to keep track of each line of text within that Paragraph? Thank you. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] How does webkit keep track of co-ordinates/dimension of each line of text in a Paragraph tag?
Check out InlineTextBox in the rendering directory. dave On Mar 29, 2009, at 5:40 PM, ying lcs wrote: Hi, Can you please tell me how does webkit keep track of co-ordinates/dimension of each line of text in a Paragraph tag? For example, if I have a Paragraph of text. Web kit will split it up into multiple lines of text. How does webkit (what data-structure it uses) to keep track of each line of text within that Paragraph? Thank you. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] Cocoa WebView and the Web Inspector
I've seen references indicating that it is possible to use the web inspector from WebView instances in Cocoa apps. How does one go about instantiating the web inspector on a WebView instance from a Cocoa app? The reference I'm referring to is here: http://lists.macosforge.org/pipermail/webkit-dev/2007-December/003043.html ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] [GTK]Scroll deficiency
Brent, I just start to resolve the problem. The debug build and background color hack you mentioned, i also need time to try. Please wait a reply. I hope the member in the mail-list to join in the work, when see the subject if you have the same symptom. Thanks. -Xiong On Fri, Mar 27, 2009 at 1:54 PM, Brent Fulgham bfulg...@gmail.com wrote: Xiong, I'm sorry you are encountering the problem, but I must admit I am glad someone else is seeing this issue as now we can pool our efforts to resolve it. Since you are using directfb stuff, and I am on top of Windows, it seems the culprit is somewhere in the Cairo logic. Perhaps the dirty regions are not being computed properly (I have encountered a few places where the coordinate systems in Cairo and Windows don't agree). However, the kludge of setting a background color (does this work for you as well?) does not fit into the 'bad coordinate' theory, as I don't see how the presence of a background color in the rendering instructions would affect this. The fact that it does not happen for me in Debug builds makes me wonder if maybe there is some kind of improper initialization or buffer overrun that is involved. -Brent On Mar 26, 2009, at 10:48 PM, xiong wrote: Webkit r40777 Release builds for me. On Fri, Mar 27, 2009 at 1:25 PM, Brent Fulgham bfulg...@gmail.com wrote: I wonder if your issue is related to one I documented on Windows (using Cairo backend) a few months ago. Currently this only happens for me in Release builds, but it's still quite annoying. https://bugs.webkit.org/show_bug.cgi?id=22891 I attached a few images in my bug for comparison. The easiest way to reproduce is to go to the http://planet.webkit.org and try to scroll up/down the page using the scroll bar. After a short while you will find areas of the page not rendered. Thanks, -Brent On Mar 26, 2009, at 9:54 PM, browserwk wrote: Dear all: I am able to run webkit over directfb backend on arm platform - using GtkLauncher . The problem I face is that when I open http://www.google.com/intl/en/privacy.html using this browser and scroll the page; it results the visual area is not updated when scrolling, and the screen display confusion. Any ideas where to look to fix this issue ? Appreciate any clues~ FYI: [Following address are the screenshots] Render OK when not scroll: http://picasaweb.google.com/lh/photo/ybhIcahTEgsfBmMzXM13-g?feat=directlink Render error when scroll: http://picasaweb.google.com/lh/photo/0B8fi1ZTZ7hWH0S86a5RJA?feat=directlink http://picasaweb.google.com/lh/photo/_ScHyJBOmJ8-xbRB_aZ2NQ?feat=directlink http://picasaweb.google.com/lh/photo/Ael-gWdHEVnEtu_qbMFOZw?feat=directlink BTW: I am using following version of packages and running DirectFB without any acceleration on my embeded target. WebKit-r40777 gtk+-2.12.12 cairo-1.4.14 DirectFB-1.2.6 Thanks. -xiong ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] opcode for Webkit JavaScript Engine opcode
On 2009-03-29, at 15:03, Lucius Fox wrote: On Fri, Mar 27, 2009 at 3:05 AM, Ariya Hidayat ariya.hida...@trolltech.com wrote: Can you please tell where i can find definition of JavaScript opcode? I mean, Webkit will parse the source js file into some internal JavaScript opcode for it s JavaScript VM to execute. Can you please tell me where I can find that? Could not be more obvious: JavaScriptCore/bytecode/ JavaScriptCore/bytecompiler/ Thank you. But in the android's version, there is not corresponding directory. Can you please tell me where/how is android's Webkit compile js into byte code? If you have questions about a version of WebKit that is not built directly from the webkit.org sources, such as that Android uses, you'll have much better luck asking the maintainers of that port questions about it since they're the ones that know exactly which version of WebKit they have and what modifications they may have made. Failing that, it would be polite to at least mention that you're not asking about the mainstream version of WebKit in order to avoid wasting people's time. Thanks, - Mark smime.p7s Description: S/MIME cryptographic signature ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] [GTK]Scroll deficiency
Brent, In my platform, all the hack as you metioned are valueless. Bad news to me. Now, i only have a clue on cario for the scroll problem. Thanks -xiong On Mon, Mar 30, 2009 at 10:02 AM, xiong browse...@gmail.com wrote: Brent, I just start to resolve the problem. The debug build and background color hack you mentioned, i also need time to try. Please wait a reply. I hope the member in the mail-list to join in the work, when see the subject if you have the same symptom. Thanks. -Xiong On Fri, Mar 27, 2009 at 1:54 PM, Brent Fulgham bfulg...@gmail.com wrote: Xiong, I'm sorry you are encountering the problem, but I must admit I am glad someone else is seeing this issue as now we can pool our efforts to resolve it. Since you are using directfb stuff, and I am on top of Windows, it seems the culprit is somewhere in the Cairo logic. Perhaps the dirty regions are not being computed properly (I have encountered a few places where the coordinate systems in Cairo and Windows don't agree). However, the kludge of setting a background color (does this work for you as well?) does not fit into the 'bad coordinate' theory, as I don't see how the presence of a background color in the rendering instructions would affect this. The fact that it does not happen for me in Debug builds makes me wonder if maybe there is some kind of improper initialization or buffer overrun that is involved. -Brent On Mar 26, 2009, at 10:48 PM, xiong wrote: Webkit r40777 Release builds for me. On Fri, Mar 27, 2009 at 1:25 PM, Brent Fulgham bfulg...@gmail.comwrote: I wonder if your issue is related to one I documented on Windows (using Cairo backend) a few months ago. Currently this only happens for me in Release builds, but it's still quite annoying. https://bugs.webkit.org/show_bug.cgi?id=22891 I attached a few images in my bug for comparison. The easiest way to reproduce is to go to the http://planet.webkit.organd try to scroll up/down the page using the scroll bar. After a short while you will find areas of the page not rendered. Thanks, -Brent On Mar 26, 2009, at 9:54 PM, browserwk wrote: Dear all: I am able to run webkit over directfb backend on arm platform - using GtkLauncher . The problem I face is that when I open http://www.google.com/intl/en/privacy.html using this browser and scroll the page; it results the visual area is not updated when scrolling, and the screen display confusion. Any ideas where to look to fix this issue ? Appreciate any clues~ FYI: [Following address are the screenshots] Render OK when not scroll: http://picasaweb.google.com/lh/photo/ybhIcahTEgsfBmMzXM13-g?feat=directlink Render error when scroll: http://picasaweb.google.com/lh/photo/0B8fi1ZTZ7hWH0S86a5RJA?feat=directlink http://picasaweb.google.com/lh/photo/_ScHyJBOmJ8-xbRB_aZ2NQ?feat=directlink http://picasaweb.google.com/lh/photo/Ael-gWdHEVnEtu_qbMFOZw?feat=directlink BTW: I am using following version of packages and running DirectFB without any acceleration on my embeded target. WebKit-r40777 gtk+-2.12.12 cairo-1.4.14 DirectFB-1.2.6 Thanks. -xiong ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev