[webkit-dev] WebKit Architecture Document?

2008-12-04 Thread Shariq Rizvi
I am looking for architecture documentation for WebKit, which will explain
to me how the code is organized and bring me up to speed to become a
developer on WebKit. While I can see some good API documents (e.g.,
http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/DisplayWebContent/DisplayWebContent.html),
I don't see any good architecture or design documents.

Any pointers will be very welcome.

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


Re: [webkit-dev] WebKit Architecture Document?

2008-12-04 Thread Nilesh Patil
Hi

I have been working on Webkit since 2 Yrs. I have not seen of such
document (not even talked of). The best way , which worked wonders for
me, to understand Webkit is just Walk through code. Use some
sensibility ;), try to set up execution environment and try to debug
it.

or May be u can design on and give back to community :)

Thanks  Regards
Niilesh

On Thu, Dec 4, 2008 at 5:49 PM, Shariq Rizvi [EMAIL PROTECTED] wrote:

 I am looking for architecture documentation for WebKit, which will explain
 to me how the code is organized and bring me up to speed to become a
 developer on WebKit. While I can see some good API documents (e.g.,
 http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/DisplayWebContent/DisplayWebContent.html),
 I don't see any good architecture or design documents.

 Any pointers will be very welcome.

 Thanks!


 ___
 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] WebKit Architecture Document?

2008-12-04 Thread Shariq Rizvi
On Thu, Dec 4, 2008 at 4:52 AM, Nilesh Patil [EMAIL PROTECTED] wrote:

 Hi

 I have been working on Webkit since 2 Yrs. I have not seen of such
 document (not even talked of). The best way , which worked wonders for
 me, to understand Webkit is just Walk through code. Use some
 sensibility ;), try to set up execution environment and try to debug
 it.



Great! That's the approach I am taking.


 or May be u can design on and give back to community :)



This is a possibility. Perhaps if one of us can bootstrap the document then
it can get maintained as a community effort. Will keep this in mind.


thanks,
Shariq




 Thanks  Regards
 Niilesh

 On Thu, Dec 4, 2008 at 5:49 PM, Shariq Rizvi [EMAIL PROTECTED] wrote:
 
  I am looking for architecture documentation for WebKit, which will
 explain
  to me how the code is organized and bring me up to speed to become a
  developer on WebKit. While I can see some good API documents (e.g.,
 
 http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/DisplayWebContent/DisplayWebContent.html
 ),
  I don't see any good architecture or design documents.
 
  Any pointers will be very welcome.
 
  Thanks!
 
 
  ___
  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] copy/paste/keychain support?

2008-12-04 Thread Lev Lvovsky

Alexey.
On Dec 3, 2008, at 10:35 PM, Alexey Proskuryakov wrote:



Dec 4, 2008, в 12:08 AM, Lev Lvovsky написал(а):

While I did previously install some safari enhancers, I'm fairly  
positive that they've been completely uninstalled - is there any  
way to check?


You can check the contents of the following directories:

~/Library/InputManagers
/Library/InputManagers
~/Library/Application Support/SIMBL/Plugins/
/Library/Application Support/SIMBL/Plugins/
~/Library/Application Enhancers/
/Library/Application Enhancers/


None of those directories exist (though they did when the enhancer was  
installed a long time ago).


Any other suggestions?

Otherwise, I will file a bug.

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


Re: [webkit-dev] Limiting the size of LocalStorage

2008-12-04 Thread Yael.Aharon
I'd be happy to fix this bug and submit a patch when I am done. Before I can do 
that, I have a question - why is LocalStorgare created and tracked per page 
group and not per process, like offline storage databases are?

Thanks, Yael 

-Original Message-
From: ext Darin Adler [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 03, 2008 12:21 PM
To: Aharon Yael (Nokia-D-MSW/Boston)
Cc: webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] Limiting the size of LocalStorage

On Nov 25, 2008, at 5:23 AM, [EMAIL PROTECTED] wrote:

 Should I file a bug about it?

There's no harm in doing that, but filing a bug won't guarantee someone is 
going to work on it. If you need it for a project you're doing, you might need 
to find someone to do it.

 -- Darin

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


[webkit-dev] JavaScript memory management question

2008-12-04 Thread Matt Fischer
I'm working on an embedded product which uses a WebKit-based browser, and
I've been tracking down some memory leaks we're seeing.  After a long while
of digging through the codebase, I've been able to determine that we're
occasionally leaking the WebCore::Document object when leaving certain
websites.  A bit more tracing reveals that the Document object is being
retained because an HTMLImageElement holds a DocPtr reference on it, and the
element isn't going away when the normal refcount on the Document drops to
0.  This pins the Document object in memory.

The specific site I've been testing with is www.yahoo.com.  Examining the
source code to that page reveals the following in the page's beforeUnload
event:

window.onbeforeunload=function(){
var img=new Image;
now=new Date;
t6=now.getTime();
img.src='
http://www.yahoo.com/'+(ylp?ylp:'p.gif?t=0')+cc+'tid='+ver+'ni='+document.images.length+'sss='+sss+'t1='+t1+'d1='+(t2-t1)+'d2='+(t3-t1)+'d3='+(t4-t1)+'d4='+(t5-t1)+'d5='+(t6-t1)+'d6='+(t7-t1)+'d7='+(t8-t1)+'d8='+(t9-t1)+'d9='+(t10-t1)+'d10='+(t11-t1)+'d11='+(t12-t1);
}

It appears that this Image object is never being removed--I can repeatedly
navigate to and from this site and watch HTMLImageElements (and their
associated Document objects) pile up.

I'm still not convinced this is a WebKit problem specifically (there's a
fair amount of code surrounding it in our product that could potentially
have bugs in it), but to continue tracing the problem, I need to know what
the mechanism is that *ought* to be freeing this object.  I presume this is
something that should be taken care of by the JavaScript garbage collector,
however I can see JavaScriptCore::Collector::collect() calls running
occasionally after this object is created, and it never goes away.  Is there
some immediately apparent reason why this wouldn't be happening?  I.e., is
there something else that would be holding a reference to an object created
by this type of script code, or is something other than the GC responsible
for freeing it, etc?

My apologies if this turns out to be a stupid question--I'm just trying to
get some context for where I ought to focus next.

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