[webkit-dev] signals without slots

2009-03-13 Thread abhas saroha
hi all,
 i have a question regarding the qt port. In case of the qt Api for
webkit there exist many signals in the Api which are not connected to any
slots. So does this situtation exist so that the applications using the Api
can customize behaviour?  And how do these signals( like
geometryChangeRequested() )  if emitted by javascript get response(like in
this case actually change the geometry). And also in the context of
setWindowRect() in chromeclient of qt, does the actual geometry change
happen and if so how??
Abhas Saroha
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Cairo-build on Windows fails

2009-03-13 Thread Frank Thomsen
Hi

I am trying to build the Cairo port on a windows machine (building in Visual 
Studio) but it fails with the following error message (amongst others):

error C2146: syntax error : missing ';' before identifier 'curl_socket_t'   
 C:\cygwin\home\fth\webkit\requirements\include\curl\curl.h 183

I have checked out the source and done all the other stuff mentioned at 
webkit.org. Furthermore I followed the guidelines at 
http://trac.webkit.org/wiki/BuildingCairoOnWindows using the bundled version of 
the required libraries. Visual Studio is set up to have the following extra 
include libraries (from the requirements-package):
somewhere\requirements\include\cairo\
somewhere\requirements\include\

And the directory somewhere \requirements\lib\ is added to the library 
directories.

Can anyone see what my problem is? I am building using the Release_Cairo 
build target.

Regards, and thanks in advance
Frank
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Cairo-build on Windows fails

2009-03-13 Thread Frank Thomsen
I applied the patch (#26992) and the error is still there, unfortunately. The 
next error in the list is:

error C4430: missing type specifier - int assumed. Note: C++ does not support 
default-int C:\cygwin\home\fth\webkit\requirements\include\curl\curl.h 183

I hope you know what causes this problem.

Regards
Frank

From: Mital Vora [mailto:mital.d.v...@gmail.com]
Sent: 13. marts 2009 12:55
To: Frank Thomsen
Cc: webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] Cairo-build on Windows fails

cairo build is not fully checked in to the ToT
u need to apply the latest patch attached in the following bug...

https://bugs.webkit.org/show_bug.cgi?id=17484


Regeards,

Mital Vora.

On Fri, Mar 13, 2009 at 5:04 PM, Frank Thomsen 
f...@trifork.commailto:f...@trifork.com wrote:

Hi



I am trying to build the Cairo port on a windows machine (building in Visual 
Studio) but it fails with the following error message (amongst others):



error C2146: syntax error : missing ';' before identifier 'curl_socket_t'   
 C:\cygwin\home\fth\webkit\requirements\include\curl\curl.h 183



I have checked out the source and done all the other stuff mentioned at 
webkit.orghttp://webkit.org. Furthermore I followed the guidelines at 
http://trac.webkit.org/wiki/BuildingCairoOnWindows using the bundled version of 
the required libraries. Visual Studio is set up to have the following extra 
include libraries (from the requirements-package):

somewhere\requirements\include\cairo\

somewhere\requirements\include\



And the directory somewhere \requirements\lib\ is added to the library 
directories.



Can anyone see what my problem is? I am building using the Release_Cairo 
build target.



Regards, and thanks in advance

Frank

___
webkit-dev mailing list
webkit-dev@lists.webkit.orgmailto: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] about token in JavaScriptCore

2009-03-13 Thread Darin Adler

On Mar 12, 2009, at 8:46 PM, zhenghe zhang wrote:

I use gdb to track the lexer::lex(void *p1,void *p2), I don't know  
where the token stored.


The token is the return value of that function. It’s used by the bison- 
generated parser. The yacc family of parser generators, including  
bison, require a lex function that returns a token. This is something  
standard to yacc-style parsers, not specific to JavaScriptCore. A  
starting point to read up on this is http:// 
dinosaur.compilertools.net/.


-- Darin

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


Re: [webkit-dev] GSoC

2009-03-13 Thread Michelangelo De Simone
2009/3/12 Adam Roben aro...@apple.com:

 I've heard only a little discussion about it. So far no one has stepped up
 to say I will be responsible for submitting WebKit's application to GSoC.

That's very unfortunate, I and a prof of mine really liked to apply
for a thesis work this year.
-- 

Jay London  - I saw a stationery store move.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Cairo-build on Windows fails

2009-03-13 Thread Mital Vora
try cleaning the solution and building it again.. remove the WebKitBuild
directory completely.


Regeards,

Mital Vora.


On Fri, Mar 13, 2009 at 6:00 PM, Frank Thomsen f...@trifork.com wrote:

  I applied the patch (#26992) and the error is still there, unfortunately.
 The next error in the list is:



 error C4430: missing type specifier - int assumed. Note: C++ does not
 support default-int
 C:\cygwin\home\fth\webkit\requirements\include\curl\curl.h 183



 I hope you know what causes this problem.



 Regards

 Frank



 *From:* Mital Vora [mailto:mital.d.v...@gmail.com]
 *Sent:* 13. marts 2009 12:55
 *To:* Frank Thomsen
 *Cc:* webkit-dev@lists.webkit.org
 *Subject:* Re: [webkit-dev] Cairo-build on Windows fails



 cairo build is not fully checked in to the ToT
 u need to apply the latest patch attached in the following bug...

 https://bugs.webkit.org/show_bug.cgi?id=17484


 Regeards,

 Mital Vora.

  On Fri, Mar 13, 2009 at 5:04 PM, Frank Thomsen f...@trifork.com wrote:

 Hi



 I am trying to build the Cairo port on a windows machine (building in
 Visual Studio) but it fails with the following error message (amongst
 others):



 error C2146: syntax error : missing ';' before identifier
 'curl_socket_t'
 C:\cygwin\home\fth\webkit\requirements\include\curl\curl.h 183



 I have checked out the source and done all the other stuff mentioned at
 webkit.org. Furthermore I followed the guidelines at
 http://trac.webkit.org/wiki/BuildingCairoOnWindows using the bundled
 version of the required libraries. Visual Studio is set up to have the
 following extra include libraries (from the requirements-package):

 somewhere\requirements\include\cairo\

 somewhere\requirements\include\



 And the directory somewhere \requirements\lib\ is added to the library
 directories.



 Can anyone see what my problem is? I am building using the “Release_Cairo”
 build target.



 Regards, and thanks in advance

 Frank


 ___
 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] Regarding kjs:Window:clear()

2009-03-13 Thread Darin Adler

On Mar 13, 2009, at 12:45 AM, Nilesh Patil wrote:


What does kjs:Window:clear() do ?


You must be looking at an old version of the WebKit source tree; there  
is no longer a function of that name.


The JSDOMWindowBase::clear function clears out the state of a DOM  
window object, leaving it in a state where it can be re-used on a new  
document.



will it call destructor ?


I don’t understand the question. The clear function doesn’t directly  
call any destructor and is not responsible for destroying the DOM  
window object, if that’s what you’re asking.



Because its not called when window is closed


With the latest WebKit and Safari on Mac OS X, and it was called when  
I did the following test:


1) go to www.google.com
2) close the window

The -[WebView _close] method called FrameLoader:;detachFromParent,  
which called Frame::pageDestroyed, which called  
ScriptController::clearWindowShell, which called JSDOMWindowBase::clear.


-- Darin

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


Re: [webkit-dev] SharedT

2009-03-13 Thread Darin Adler

On Mar 13, 2009, at 4:17 AM, natasha gabriella wrote:

I happened to go through code of webkit an sfound some SharedT  
class.


That class template has a new name in the latest WebKit; it’s now  
named RefCounted.



What exactly it does.


It implements simple intrusive reference counting.


Is it like class object is singleton and shared among ?


No, it is not. It adds a reference count to a class. The reason it’s a  
template is so we don’t have to write the reference counting by hand  
for each class we want ot use it for.


Moreover if multiple window (mostly will be achieved by using some  
tab like interface) are used, What all loader are advices to be  
shared ?


I don’t understand this question.

-- Darin

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