[webkit-dev] known gtk+ leaks

2009-04-06 Thread Luka Napotnik
Hello.

I use a bit old revision of Gtk+ WebKit port (38403) and as I observe
my WebKit process, the RSS memory usage rapidly gets bigger and bigger
as I browse pages. Because of few modifications I made that work only
on older revisions, I can't use the new ones (the modifications are
rather small and I don't do any allocation). This can't be the cache
as I switch only between two linked pages.

This behavior indicates that there was a leak. I've googled and found
that there were leaks in libcurl and pango text rendering and want to
backport the leak fixes. Could please someone with this knowledge have
some spare time and help me find the patches so I can backport the
leak fixes.

Greets,
Luka
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Default keyboard shortcuts for WebKit

2009-04-06 Thread Mr Diggilin
I recently made a patch for wxWebKit's keyboard shortcuts
(https://bugs.webkit.org/show_bug.cgi?id=24797) where I found it very
useful to steal almost the entirety of the windows port's method of
doing things.
On review it was noted that it may be good if it was moved into Editor,
at least because it could then be shared between wx and win, but also to
provide a default handling for any ports that might not want to have the
incredible switch statements found in gtk and qt.
Does anyone see any problems with doing something like this?

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] how to instead of "....." in the "password" editor

2009-04-06 Thread Holger Freyther
On Tuesday 07 April 2009 02:45:50 zhenghe zhang wrote:
> Hi all
> I have a problem, and I don't understand it ,could you tell me ?
> 
> In the input-element, "." takes the place of "Hello", but I don't know
> how to do it through C++ functions.
> Thank you & best regards

Hey Zhenghe,

you have written more than 30 mails starting from December, Have you 
contributed anything during this time to WebKit.org project (filed a bug, send 
a patch?)? Where is your interest coming from?

z..
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] how to instead of "....." in the "password" editor

2009-04-06 Thread zhenghe zhang
Hi all
I have a problem, and I don't understand it ,could you tell me ?

In the input-element, "." takes the place of "Hello", but I don't know
how to do it through C++ functions.
Thank you & best regards
zhang

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] chrooting WebKit

2009-04-06 Thread Adam Barth
There isn't currently an API for doing this.  You're right, though,
that SecurityOrigin.cpp would be the file that would implement this
feature.

Adam


2009/4/6 Wellu Mäkinen :
> Hi,
>
> is there an API to limit the WebKit's access to local resources? What I've
> been looking for is kind of chroot() inside of WebKit. So a local file loaded
> e.g from /usr/share/test would only be able to refer to files under
> /usr/share/test. Currently a file loaded from local disk can refer to 
> anywhere.
>
> I've been looking at SecurityOrigin.cpp but it seems that once the file is
> considered local then it can access any local file.
>
> Thanks,
> --
> Wellu
>
> ___
> 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] want to port JIT to MIPS - where comes from _ZN3JSC8JITStubs12cti_vm_throwEPvz

2009-04-06 Thread x yz

jit complier give error because above label is hard coded. It reports the error 
with a file .s under /tmp yet I cannot see and not sure who removes it. Pls be 
kindly to let me know how I can change above label to correct one.

Also, now I see hard coded constant patchOffsetOpCallCompareToJump=6 comes from 
some code via gdb, yet not sure where/when it is generated. It seems to be a c 
function head. 

rgds
joe 


  
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] OpenCL

2009-04-06 Thread Paul Pedriana




IMO the biggest benefits that OpenCL (or some other vector-savvy
multiprocessing interface) could bring to WebKit would be in the
following areas:

  Reading graphics files (e.g. jpg)
  Encryption/Decryption (TLS, SSL)
  Compositing graphics in software (e.g. alpha blends)
  Implementing runtime graphics decompression (e.g. blitting from
DXT or RLE or even possibly directly from .jpg/.png)
  Improving special cases of existing _javascript_ execution
  Improving video codec performance (for video plugins)
  

I don't see OpenCL easily improving the following areas, though there
are ways to throw general threads at these problems:

  Network transport
  HTML/XML/CSS parsing
  Layout / Font processing, at least at the low level
  
  General _javascript_ execution, JITing _javascript_
  General Flash script execution
  AJAX related functionality
  

On Windows you can achieve significantly higher network throughput by
splitting the work across multiple threads, due to how the network
stack works. If you needed to read 100 files from a server, you'd get
better performance by splitting it into 4 pipelined HTTP connections on
4 threads. This is true even if you don't have multiple CPUs. 

It's not easy to parallelize things like text parsing and DOM
processing. There's a reason why a lot of multiprocessing research
focuses on the success cases of things like DSP, matrix math, and
naturally branch-less algorithms.

Paul


Hi,
  
I wonder if it is planned to rewrite WebKit in OpenCL. I'm not sure but
theoretically we could expect a further big improvement in speed, both
in rendering HTML and _javascript_. Am I wrong?
  
  
Angelo
  
___
  
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] Building QtWebKit on Mac OS X

2009-04-06 Thread Husam Senussi

Hi,

I'm trying to build QtWebKit framework on mac os x,, i did finally  
manage to build but

it only built Qluncher and test apps but not QtWebkit framework.

i used build-webkit with qt option to build.

Is there any option I need to use to build the framework on Mac OS !!


Thanks
Husam
 
___

webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Using RenderLayer for transforms

2009-04-06 Thread Maciej Stachowiak


On Apr 6, 2009, at 3:04 AM, Eric Seidel wrote:


Dave, Simon (and the larger community):

I've been looking at fixing:
https://bugs.webkit.org/show_bug.cgi?id=20769
https://bugs.webkit.org/show_bug.cgi?id=14015
in SVG.  A large part of the mis-match between SVG renderers and the
HTML/CSS rendering tree is the use of transforms.

In SVG, transforms (and clipping) are handled by the renderers
themselves.  the HTML/CSS rendering tree does not handle transforms,
and instead only rectilinear layout using parent-offsets.  Things
which require transforms get a RenderLayer and all the RenderObject
methods remain transform-ignorant.

Is this currently the long-term plan for transforms?  Or will HTML
also be moving to a transform aware rendering tree?


I don't think anyone has immediate plans to make every renderer handle  
arbitrary transforms. What you describe doesn't sound obviously wrong  
to me; transforms on CSS-rendered elements are rare and likely to be  
on only a few elements when used, whereas they are quite common for  
SVG renderers.



To fix these bugs I will need to sorta "hack" how things like outline
drawing are done, focus ring invalidation, and repaint rect
calculation to take transforms into account inside the renderers.


It might be easier to give useful feedback if you give examples of  
alternate ways to fix particular bugs.


Regards,
Maciej

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] chrooting WebKit

2009-04-06 Thread Wellu Mäkinen
Hi,

is there an API to limit the WebKit's access to local resources? What I've 
been looking for is kind of chroot() inside of WebKit. So a local file loaded 
e.g from /usr/share/test would only be able to refer to files under 
/usr/share/test. Currently a file loaded from local disk can refer to anywhere.

I've been looking at SecurityOrigin.cpp but it seems that once the file is 
considered local then it can access any local file.

Thanks,
-- 
Wellu

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Using RenderLayer for transforms

2009-04-06 Thread Eric Seidel
Dave, Simon (and the larger community):

I've been looking at fixing:
https://bugs.webkit.org/show_bug.cgi?id=20769
https://bugs.webkit.org/show_bug.cgi?id=14015
in SVG.  A large part of the mis-match between SVG renderers and the
HTML/CSS rendering tree is the use of transforms.

In SVG, transforms (and clipping) are handled by the renderers
themselves.  the HTML/CSS rendering tree does not handle transforms,
and instead only rectilinear layout using parent-offsets.  Things
which require transforms get a RenderLayer and all the RenderObject
methods remain transform-ignorant.

Is this currently the long-term plan for transforms?  Or will HTML
also be moving to a transform aware rendering tree?

To fix these bugs I will need to sorta "hack" how things like outline
drawing are done, focus ring invalidation, and repaint rect
calculation to take transforms into account inside the renderers.

Thanks.

-eric
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev