Re: [webkit-dev] How to let webkit to be able to load local image file in html content?

2009-05-13 Thread Zhe Su
Then what's correct behavior? On 5/14/09, Jan Alonzo wrote: > Hi james, > > can you please file a bug against the WebKitGtk component at > http://bugs.webkit.org. I don't think that's correct. > > Thanks, > Jan > > On 5/14/09, Zhe Su wrote: >> Just found that the problem is gone when the base_u

Re: [webkit-dev] How to let webkit to be able to load local image file in html content?

2009-05-13 Thread Jan Alonzo
Hi james, can you please file a bug against the WebKitGtk component at http://bugs.webkit.org. I don't think that's correct. Thanks, Jan On 5/14/09, Zhe Su wrote: > Just found that the problem is gone when the base_uri parameter is set to > "file://" instead of NULL. Is it a correct way? > > R

Re: [webkit-dev] How to let webkit to be able to load local image file in html content?

2009-05-13 Thread Zhe Su
Just found that the problem is gone when the base_uri parameter is set to "file://" instead of NULL. Is it a correct way? Regards James Su On Thu, May 14, 2009 at 10:40 AM, Zhe Su wrote: > Attached is a simple test program. When running the program, following > error occurred: > > console messa

[webkit-dev] Proposal for refactoring DOM Storage

2009-05-13 Thread Jeremy Orlow
I've been researching, prototyping, and generally thinking about https://bugs.webkit.org/show_bug.cgi?id=25376 for a while now. I think I now know what needs to be done and the least painful way to get there. I've written up a design doc which is available here: http://docs.google.com/Doc?id=dhs4

Re: [webkit-dev] How to let webkit to be able to load local image file in html content?

2009-05-13 Thread Zhe Su
Attached is a simple test program. When running the program, following error occurred: console message: @0: Not allowed to load local resource: file:///usr/share/pixmaps/elisa.svg But if you save the html content into a file and load it with GtkLauncher, then it's ok. Regards James Su On Thu,

Re: [webkit-dev] squirrelfish-bytecode

2009-05-13 Thread Maciej Stachowiak
Responding to both of you... On May 13, 2009, at 12:13 PM, Rob Kroeger wrote: Hi, On Wednesday, May 13, 2009, Jeremy Orlow wrote: On Wed, May 13, 2009 at 1:11 AM, Maciej Stachowiak wrote: On May 13, 2009, at 12:18 AM, Meryl Silverburgh wrote: Hi, Does webkit cache squirrelfish bytec

Re: [webkit-dev] SVG Element Resizing

2009-05-13 Thread Eric Seidel
Please file a bug if you believe WebKit's behavior to be incorrect. https://bugs.webkit.org/show_bug.cgi?id=25179 https://bugs.webkit.org/show_bug.cgi?id=14004 https://bugs.webkit.org/show_bug.cgi?id=18572 are 3 existing FPZ + SVG bugs. -eric On Thu, May 7, 2009 at 7:45 PM, rod wrote: > Hi, >

Re: [webkit-dev] Using WebKit renderer to produce PDF output

2009-05-13 Thread Darin Adler
On May 13, 2009, at 2:41 PM, Ben Harper wrote: Unfortunately the platform is Windows. Regarding the method that you're describing - I assume the PDF generation is handled by CoreGraphics? Yes. -- Darin ___ webkit-dev mailing list webkit-dev@

Re: [webkit-dev] Using WebKit renderer to produce PDF output

2009-05-13 Thread Ben Harper
Unfortunately the platform is Windows. Regarding the method that you're describing - I assume the PDF generation is handled by CoreGraphics? Ben On Wed, May 13, 2009 at 11:17 PM, Darin Adler wrote: > On May 13, 2009, at 2:11 PM, Ben Harper wrote: > >> I need to produce a tool that can generate P

Re: [webkit-dev] Looking for MIPS asm/JIT consultant

2009-05-13 Thread x yz
We are looking for people of skill in MIPS asm/jit debug expertise as contractor: 1. Experience in writing or porting assemblers, familar with MIP32 o32 and 32bit X86 instruction/calling convention 2. Experience in WebKit-JIT / OpenJIT or similar project 3. able to start debug at short notice, w

Re: [webkit-dev] Using WebKit renderer to produce PDF output

2009-05-13 Thread Darin Adler
On May 13, 2009, at 2:11 PM, Ben Harper wrote: I need to produce a tool that can generate PDFs from HTML. The best solution I can think of is to use WebKit's layout engine, and plug my own PDF generator in as a renderer backend. I don't want to reinvent the wheel though - so I'm asking here

[webkit-dev] Using WebKit renderer to produce PDF output

2009-05-13 Thread Ben Harper
Hi, I need to produce a tool that can generate PDFs from HTML. The best solution I can think of is to use WebKit's layout engine, and plug my own PDF generator in as a renderer backend. I don't want to reinvent the wheel though - so I'm asking here has this been done already, or are there other ob

Re: [webkit-dev] Memory leaks

2009-05-13 Thread Alexey Proskuryakov
13.05.2009, в 23:32, Husam Senussi написал(а): I ran the test cases in the above directory and in test cases for JSON code and end up with reported leaks in the same ares, I thought it might b something I have introduces but I can't find anything related to my code changes in the stack trace

[webkit-dev] Memory leaks

2009-05-13 Thread Husam Senussi
Hi, Is the below command the correct one to test for memory leaks. ./WebKitTools/Scripts/run-webkit-tests --debug -l LayoutTests/http/ tests/xmlhttprequest if so would /tmp/layout-test-results/DumpRenderTree-leaks.txt file be the right file to look for reported leaks. I ran the test cases

Re: [webkit-dev] squirrelfish-bytecode

2009-05-13 Thread Rob Kroeger
Hi, On Wednesday, May 13, 2009, Jeremy Orlow wrote: > On Wed, May 13, 2009 at 1:11 AM, Maciej Stachowiak wrote: > > > On May 13, 2009, at 12:18 AM, Meryl Silverburgh wrote: > > > Hi, > > Does webkit cache squirrelfish bytecode? For example, multiple can use > the same javascript file (e.g. commo

[webkit-dev] WebKit memory issues

2009-05-13 Thread Javed Rabbani
*Hi everyone, I am working on a custom port of WebKit. When I am done with basic WebKit initialization, I load a web page through the call to frame->loader()->load(...) function. Once the data is delivered to WebKit through appropriate call backs (didReceiveData, didFinishLoading), the page is dis

Re: [webkit-dev] squirrelfish-bytecode

2009-05-13 Thread Jeremy Orlow
On Wed, May 13, 2009 at 1:11 AM, Maciej Stachowiak wrote: > > On May 13, 2009, at 12:18 AM, Meryl Silverburgh wrote: > > Hi, >> >> Does webkit cache squirrelfish bytecode? For example, multiple can use >> the same javascript file (e.g. common javascript libraries, like >> jquery, or same domain

Re: [webkit-dev] How to detect the parameters in object tag?

2009-05-13 Thread tonikitoo (Antonio Gomes)
Another way to go could depending on the port you are using. if it exposes DOM APIs (like qt does in trunk), for example, it is a matter of DOM: get element by its id, traverse its "param" child nodes, and get the "name" parameter value... On Tue, May 12, 2009 at 8:56 PM, naixuan guan wrote: > Hi

Re: [webkit-dev] The origin of JavaScript interpreter in WebKit? is it NJS?

2009-05-13 Thread x yz
Hi Does someone know the origin of JavaScript interpreter in WebKit? I mean _the_ origin, is it sth like NJS Javascript interpreter used to be used for NetScape and in sourceforge? are they the same? joe ___ webkit-dev mailing list webkit-d

Re: [webkit-dev] Webkit SMp support

2009-05-13 Thread x yz
Hi, Did you tried to run webkit on SMP? if yes which platform? SMP are different, I guess there may not be much space for webkit to be optimized for SMP, but OS shall take care of it. Applications may also be organized with SMP in mind. If CPU usage is low and you feel speed is low, it indicates

Re: [webkit-dev] How to let webkit to be able to load local image file in html content?

2009-05-13 Thread tonikitoo (Antonio Gomes)
It sounds like we can be misusing the base_url parameter. could you paste how you are calling the method (parameters and so) and a snippet of the local html file. On Wed, May 13, 2009 at 6:58 AM, Zhe Su wrote: > Hi, >   When I call webkit_web_view_load_html_string() to load a html content into >

Re: [webkit-dev] squirrelfish-bytecode

2009-05-13 Thread Darin Adler
On May 13, 2009, at 9:09 AM, Meryl Silverburgh wrote: You mention native code. Under what situation will squirrelfish generate native code? I thought this is how v8 works, but not squirrelfish. Squirrelfish parse JS files and generate its internal bytecode and its VM will execute the byteco

Re: [webkit-dev] squirrelfish-bytecode

2009-05-13 Thread Meryl Silverburgh
On Wed, May 13, 2009 at 1:11 AM, Maciej Stachowiak wrote: > > On May 13, 2009, at 12:18 AM, Meryl Silverburgh wrote: > >> Hi, >> >> Does webkit cache squirrelfish bytecode? For example, multiple can use >> the same javascript file (e.g. common javascript libraries, like >> jquery, or same domain u

Re: [webkit-dev] Webkit capture web page content API

2009-05-13 Thread Darin Adler
On May 13, 2009, at 8:59 AM, Lucius Fox wrote: But if Webkit is not involved. That means it can not capture the web content which is not within the visible area (e.g. a page is long and it has scroll bar)? To capture more than what’s currently visible you can use these NSView methods with

Re: [webkit-dev] Webkit capture web page content API

2009-05-13 Thread Lucius Fox
On Wed, May 13, 2009 at 6:39 AM, Darin Adler wrote: > On May 13, 2009, at 12:26 AM, Lucius Fox wrote: > >> Does Webkit have an api which captures web page content? for example in >> Safari 4.0 beta, the history/bookmark shows an image of the web content of >> each history/bookmark entry.  Can you

Re: [webkit-dev] Webkit capture web page content API

2009-05-13 Thread Ariya Hidayat
> There’s nothing WebKit-specific involved. This is done with standard > Cocoa NSView APIs such as -[NSView > displayRectIgnoringOpacity:inContext:] and -[NSView > cacheDisplayInRect:toBitmapImageRep:]. And for doing with Qt port, we use something like explained in: http://labs.trolltech.com/blo

Re: [webkit-dev] Webkit capture web page content API

2009-05-13 Thread Darin Adler
On May 13, 2009, at 12:26 AM, Lucius Fox wrote: Does Webkit have an api which captures web page content? for example in Safari 4.0 beta, the history/bookmark shows an image of the web content of each history/bookmark entry. Can you please tell me which api in webkit that Safari 4.0 is usin

[webkit-dev] WebKit custom memory allocation control

2009-05-13 Thread Javed Rabbani
Hello everyone, I am facing issues regarding custom memory allocation control in WebKit. I noticed that on April 8, 2009, WebKit/JavaScriptCore/WTF has a new file addition. The newly added file is “fastAllocBase.h” as a result of changes proposed by Paul Pedriana. However, it seems that the propos

[webkit-dev] How to let webkit to be able to load local image file in html content?

2009-05-13 Thread Zhe Su
Hi, When I call webkit_web_view_load_html_string() to load a html content into a webkitview, webkit always refuses to load local files (image) referred in the html content. Is it possible to work around this behavior and let webkit load local files? Regards James Su _

Re: [webkit-dev] squirrelfish-bytecode

2009-05-13 Thread Maciej Stachowiak
On May 13, 2009, at 12:18 AM, Meryl Silverburgh wrote: Hi, Does webkit cache squirrelfish bytecode? For example, multiple can use the same javascript file (e.g. common javascript libraries, like jquery, or same domain uses some common javascript file across different pages for the same domain)

[webkit-dev] Webkit capture web page content API

2009-05-13 Thread Lucius Fox
Hi, Does Webkit have an api which captures web page content? for example in Safari 4.0 beta, the history/bookmark shows an image of the web content of each history/bookmark entry. Can you please tell me which api in webkit that Safari 4.0 is using? Thank you.

[webkit-dev] squirrelfish-bytecode

2009-05-13 Thread Meryl Silverburgh
Hi, Does webkit cache squirrelfish bytecode? For example, multiple can use the same javascript file (e.g. common javascript libraries, like jquery, or same domain uses some common javascript file across different pages for the same domain). When webkit parses the JS file and builds squirrelfish-b