g_siddu | 1 Apr 2009 07:42
Picon

Re: innerHTML and removeChild ... not freeing memory


Hi Puroshatam ,

Ensure that cache is enabled  .  m_disabled(false) (WebCore/loader/Cache.cpp
)  and let us know your observation.

Regards,
Siddu

Purushottam Sholapur wrote:
> 
> Hi all,
> 
> I am using QT/Webkit-4.5 (embeded version) on linux. I am trying to use
> createElement, innerHTML, appendChild and later removeChild.
> 
> UI Output is perfectly fine. But when I do removeChild, div momory is not
> freed. Is there anything wrong with the code. Since the div contains
> image,
> lot of memory is hogged and not freed.
> 
> ------------Below is the code...
> Click on "Add Some Elements" to add the div to innerHTML
> Click on "Remove the div" to remove the div
> ------------
> <html>
>     <head>
>         <title>Test script</title>
>         <script language="javascript">
>         function removeElement(divNum) {
(Continue reading)

Thomas Brodt | 1 Apr 2009 08:47
Picon

Re: [win] VS2008? (was: Building WebToolKit)

BTW: How are the chances that VS2008 will be supported somewhen in the 
future? Are there any plans? Or is it a greater challenge to do that? 
I'm not a genuine C++ developer, so I'm pretty clueless about that.

The reason behind that question: Microsoft has announced that support 
and download availablity for the VS2005 version is stopped as of today. 
And I have 2008 already installed because of another project.

Thomas

Angrez Singh schrieb:
> Thanks Adam for your reply
>  
>
>     Yes, that sounds like a good change to make. Would you be willing
>     to file a bug at http://webkit.org/new-bug (and maybe even make a
>     patch)?
>
>
> I'll file the bug, I can create the patch but it will take some time 
> as I haven't worked much with perl.
>
> Regards,
> Angrez
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> webkit-dev mailing list
(Continue reading)

Luka Napotnik | 1 Apr 2009 10:57
Picon

rendering tree

Hello.

I was checking out the great webcore tutorials on webkit homepage. But
I didn't find some answers that I was searching for. Could someone
please summarize them to me. To be specific, I'm interested to catch
the moment when each RenderObject in the rendering tree is fully
rendered and painted on the frameview.

As I understand, the RenderView is the root item of the rendering
tree. Because rendering is recursive and is applied only to elements
that need layout, I thought the layout() method of RenderView should
do the trick. The layout() method is re-implemented from
RenderBlock/RenderFlow. Now If an element is changed (e.g. some div
tag) from JacaScript, the FrameView calls layout() upon the root node
(which is RenderView). I inserted some debug outputs within layout()
and get multiple outputs.

I'm thinking is it even possible to get the moment where every element
is repainted since painting is probably asynchronous.

Greets,
Luka
Harold, John-Paul | 1 Apr 2009 11:37
Favicon

Re: <audio>/<source> and the type attribute

> On Tue, 31 Mar 2009, Harold, John-Paul wrote:
> > 
> > in my HTML5 audio markup, I have the following
> > 
> > <audio>
> >   <source src="/media/audio/ogg/9001_10000/9807.ogg" 
> type="audio/ogg; 
> > codecs=vorbis"/>
> >   <source src="/media/audio/m4a/9001_10000/9807.m4a"/>
> > </audio>
> > 
> > but I'm unsure what the equivalent type attribute for an m4a file 
> > should be. Can someone advise?
> 
> Does this help?:
> 
>    http://www.whatwg.org/specs/web-apps/current-work/#attr-source-type
> 

Hello Ian,

normally, reading the docs does help :-) However, in my example, I have
previously tried the following,

<source src="/media/audio/m4a/9001_10000/9807.m4a" type= "audio/mp4;
codecs=&quot;mp4a.40.2&quot;"/>

Using this, Safari stops playing the audio. It works without any type
attribute, but that feels wrong. I'm wondering if my attempts so far
have been using an incorrect mime-type, or/and a wrong codec
(Continue reading)

webkitdev | 1 Apr 2009 11:52
Picon
Favicon

how to disable context menus

Hi,

I am using GTK port of webkit and would like to disable (not show at all) the right click menus. Does anyone know which API should I be using for the same?

Thanks,
Mike
_______________________________________________
webkit-dev mailing list
webkit-dev <at> lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
webkitdev | 1 Apr 2009 12:05
Picon
Favicon

Defining custom protocol handlers

Hi,

I am trying to build an application using Webkit, where the user interface is defined in a set of HTML/JS files. These files typically would be stored in a zipped bundle. I need webkit to load these files from the bundle instead of using a file:// uri. How do I define custom uri/protocol (for example application://directory/file) so that I can handle requests for the files from the bundle? I am using webkit GTK port.

Regards,
Mike
_______________________________________________
webkit-dev mailing list
webkit-dev <at> lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
rekha rajan | 1 Apr 2009 12:21
Picon

Mozilla Plugin on Webkit for Linux

Hi everybody,
 Anybody can try the npruntime plugin from Mozilla samples folder on WebKit for Linux. This example is working perfectly fine on Webkit Linux. Try it out please.


Thanks and Regards,
Rekha

_______________________________________________
webkit-dev mailing list
webkit-dev <at> lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Ben Murdoch | 1 Apr 2009 13:41
Picon

Re: Fw: not enough space error???

Hi,

I'm running into the same problem, C1083 (not enough space) trying to link WebCore.lib on Windows XP SP3 in Cygwin (working with r42007). I've tried setting the /3GB boot option, but that doesn't seem to help. Were you able to solve this problem Aman? Has anyone else run into it and found a solution? Debug builds work fine for me.

Thanks, Ben

2008/12/13 Justin Haygood <jhaygood <at> reaktix.com>
No, but all the source code and object files used to create it are.
----- Original Message -----
From: Aman
Sent: Saturday, December 13, 2008 2:08 AM
Subject: [webkit-dev] Fw: not enough space error???

Hi,
 
The release version of the WebCore.lib is about 1.2G, not really??? anybody knows that??
 
Aman

From: Aman
Sent: Saturday, December 13, 2008 1:59 PM
Subject: not enough space error???

Hi, Adam and everybody:
 
I received this error the message while building WebCore(release) as someone else before:
 
Linking...
fatal error C1083: Cannot open compiler intermediate file: 'C:\cygwin\home\Administrator\webkit\WebKitBuild\lib\WebCore.lib': Not enough space
and i saw your post message about this error , but i think it is not like <https://bugs.webkit.org/show_bug.cgi?id=19743>.(i am using the newest version)
 
Aman

_______________________________________________
webkit-dev mailing list
webkit-dev <at> lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

_______________________________________________
webkit-dev mailing list
webkit-dev <at> lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev




--
Ben Murdoch
http://www.omgwtf.me.uk
ben <at> omgwtf.me.uk | bmurdoch <at> gmail.com
_______________________________________________
webkit-dev mailing list
webkit-dev <at> lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Sverrir Á. Berg | 1 Apr 2009 15:20

Re: Fw: not enough space error???

I've had this problem and I've heard of others.  My solution was switching to a Mac for development.  Number of people have no problems building with that setup but I think the mainstream setup for Windows is moving towards 64-bit Vista with lots of memory (but still building 32-bit)...


Sverrir


2009/4/1 Ben Murdoch <bmurdoch <at> gmail.com>
Hi,

I'm running into the same problem, C1083 (not enough space) trying to link WebCore.lib on Windows XP SP3 in Cygwin (working with r42007). I've tried setting the /3GB boot option, but that doesn't seem to help. Were you able to solve this problem Aman? Has anyone else run into it and found a solution? Debug builds work fine for me.

Thanks, Ben

2008/12/13 Justin Haygood <jhaygood <at> reaktix.com>
No, but all the source code and object files used to create it are.
----- Original Message -----
From: Aman
Sent: Saturday, December 13, 2008 2:08 AM
Subject: [webkit-dev] Fw: not enough space error???

Hi,
 
The release version of the WebCore.lib is about 1.2G, not really??? anybody knows that??
 
Aman

From: Aman
Sent: Saturday, December 13, 2008 1:59 PM
Subject: not enough space error???

Hi, Adam and everybody:
 
I received this error the message while building WebCore(release) as someone else before:
 
Linking...
fatal error C1083: Cannot open compiler intermediate file: 'C:\cygwin\home\Administrator\webkit\WebKitBuild\lib\WebCore.lib': Not enough space
and i saw your post message about this error , but i think it is not like <https://bugs.webkit.org/show_bug.cgi?id=19743>.(i am using the newest version)
 
Aman

_______________________________________________
webkit-dev mailing list
webkit-dev <at> lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

_______________________________________________
webkit-dev mailing list
webkit-dev <at> lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev




--
Ben Murdoch
http://www.omgwtf.me.uk
ben <at> omgwtf.me.uk | bmurdoch <at> gmail.com

_______________________________________________
webkit-dev mailing list
webkit-dev <at> lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


_______________________________________________
webkit-dev mailing list
webkit-dev <at> lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Gabor Loki | 1 Apr 2009 15:57
Picon
Favicon

Announce the ARM port of JIT

Hi guys,

we are pleased to announce that the ARM port of JIT is finally released.

The source can be checked out from 'loki/arm-port' branch of
git://code.staikos.net/webkit :
  - git clone git://code.staikos.net/webkit && git checkout loki/arm-port
  - or see at
http://code.staikos.net/cgi-bin/gitweb.cgi?p=webkit;a=shortlog;h=loki/arm-port

The aim of this development is to add JIT support for ARM architectures.

The port itself is developed from scratch, but we reused the ideas of x86 JIT. So we
implemented property caches, stub functions, etc. in a similar way, but the code is
optimized for ARM architectures.

We used Qt4 build environment for the development, but we feel that the other build
platforms can be easily extended with this ARM port.

The current version is stable. It passes the regression tests.

We did measurements on a Nokia N810, and we gained 13% performance improvement.
The memory consumption is increased by 3.3% which is a small trade-off for this
performance
improvement.

Our work has not done yet. We plan to add several other features in the future.

Please, feel free to ask any questions about the ARM JIT here at the mail list or at
the following Bugzilla entry: https://bugs.webkit.org/show_bug.cgi?id=24986

--Gabor

Gmane