[webkit-dev] Webkit License details

2008-11-21 Thread Jayaprakash Palanisamy

Hi all,

 

If I am developing an application using WebKit rendering engine, do I
need to provide the source code which I developed to WebKit?

 

Thanks and regards,

Jayaprakash.P



DISCLAIMER:
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

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


Re: [webkit-dev] Fwd: Using WebKit's markup as facility of Chrome's DOM serializer

2008-11-21 Thread Johnny Ding
2008/11/20 Darin Adler [EMAIL PROTECTED]

 On Nov 20, 2008, at 6:47 AM, Johnny Ding wrote:

  Now should I file a new bug on https://bugs.webkit.org/ for improving
 markup, then write the patch and send to you (plus someone else I should
 involve) for review? Is that a right process?


 Yes, that's right. But you shouldn't target the patches at a specific
 person for review unless it's a special circumstance. Put the patch up for
 review by setting the review+ flag on it.

 It's important to do a small patch at first. If you do a lot of work all in
 one patch it's going to be hard to find a reviewer for it.

 If you do the changes incrementally, that's best.

 Also, you should consider ways to expose these new markup engine features
 to JavaScript in DumpRenderTree, even if they wouldn't be exposed on the
 web. That lets you make regression tests for each feature that run as part
 of the regression test suite.

  For feature 1, the replacing logic will be implemented inside Markup. but
  user need to implement MarkupClient::getSavedLocalSubResourceURL to return
 correct local URL for input subresource URL If they want to replace all
 saved subresources with local URLs.



 Yes, I understand that the mapping could involve a call to a function. But
 also please consider if there's a way to build in a mechanism where the
 markup machinery can invent URLs given a base URL that's passed in. The
 fully flexible ability to put every subresource in any URL the client
 chooses may not be all that helpful.

  For feature 5,  In some of scenarios, one buffer is good enough for saving
 all serialized content. Other scenarios may want to do increment saving. I
 think It will be better to let users implement
 MarkupClient::saveMarkupContent to choose their prefer way. (using one
 buffer or using small buffer with increment process).


 I agree that the API should be flexible, but I don't want to create
 functions that are unnecessarily hard to use for basic things; that's a
 mistake we've made in the past with WebKit that I want to do less of in the
 future.

 Lets talk about these specific items as you put patches together. I suggest
 choosing some of the simpler items to do first to get a better understanding
 of the patch review cycle and how to use regression tests with these
 features, and to get a start on evolving the API of the markup code.

OK, How about my first step is creating a new class to hold all parameters
current  for mark-up code. After then I will incrementally implement above 5
feature one by one. Is it workable? Thanks.



-- Darin




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


[webkit-dev] Java scripts related question

2008-11-21 Thread Arun Patole
Hello,

I am trying to modify current two pass rendering model and have some
questions regarding it.

Current behaviour:
While displaying/loading html pages, it is first displaying a page skipping
all java sripts(JS) and stylesheets(CSS).
Once all the external JS and CSS are loaded, it does a second pass with
applying CSS and running scripts. Here it just dropps the current document,
creates new document and writes all html contents again.

Here is what I am trying to do:
Instead of dropping existing document and creating new, I am just trying to
create document fragments for all scripts and then insert it at appropriate
place in existing document once all the external resources are available.

My question:
As I cannot execute scripts directly on document fragments, I want to get
the output of script and then create a document fragment with it. How can I
do this? How can I get the output of scripts, any existing api's available?

Please let me also know if you have any other inputs related to this.

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


Re: [webkit-dev] Webkit License details

2008-11-21 Thread Nilesh Patil
It seems HCL is in hurry to develop browser ;)

Is giving something back to community bad ?

U jst need to check on GPL terms.

Thanks  Regards
Niilesh

On Fri, Nov 21, 2008 at 2:33 PM, Jayaprakash Palanisamy
[EMAIL PROTECTED] wrote:
 Hi all,



 If I am developing an application using WebKit rendering engine, do I need
 to provide the source code which I developed to WebKit?



 Thanks and regards,

 Jayaprakash.P

 DISCLAIMER:
 ---

 The contents of this e-mail and any attachment(s) are confidential and
 intended for the named recipient(s) only.
 It shall not attach any liability on the originator or HCL or its
 affiliates. Any views or opinions presented in
 this email are solely those of the author and may not necessarily reflect
 the opinions of HCL or its affiliates.
 Any form of reproduction, dissemination, copying, disclosure, modification,
 distribution and / or publication of
 this message without the prior written consent of the author of this e-mail
 is strictly prohibited. If you have
 received this email in error please delete it and notify the sender
 immediately. Before opening any mail and
 attachments please check them for viruses and defect.

 ---

 ___
 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] Debugging JavaScript Core Apps that are not Safari

2008-11-21 Thread Scott Thompson
It's been a while since I've looked at JavaScript Core and obviously a lot of 
changes have gone on.  In my previous examination, I was using Drosera to debug 
an application which used JavaScript Core as an internal scripting engine.  It 
would appear that all the JavaScript debugging facilities have been moved 
inside of Safari.  Is it still possible to debug JavaScript code running 
through JavaScript Core in an application other than Safari?

Scott

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


Re: [webkit-dev] webkit documentation

2008-11-21 Thread Jack Wootton
I have done this, but it was rejected:

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

On Mon, Jul 21, 2008 at 3:22 PM, David Kilzer [EMAIL PROTECTED] wrote:
 We update the web site through patches.  Just file a bug on bugs.webkit.org 
 and attach a patch with ChangeLog for review!

 Dave


 On Mon, 7/21/08, Jack Wootton [EMAIL PROTECTED] wrote:

 OK, it seems this is a good place to start

 http://developer.apple.com/documentation/Cocoa/Conceptual/DisplayWebContent/Concepts/WebKitDesign.html

 Had to use Google to find it though, is it linked to on
 http://webkit.org/ at all?

 Cheers,
 Jack

 On Mon, Jul 21, 2008 at 9:57 AM, Jack Wootton
 [EMAIL PROTECTED] wrote:
  Hi all,
 
  I am mainly interested in S60 WebKit, however due to
 the project
  seeming to be in complete disarray to those not
 working for Nokia,
  I've decided to focus my efforts on the WebKit
 branch from which S60
  WebKit started. I understand this to be Tiger 10.4.7
 (it was one of
  the few pieces of information about S60 WebKit that I
 could actually
  find - although it will almost certainly turn out to
 be incorrect :p):
 
 
 http://trac.webkit.org/browser/releases/Apple/Tiger/Mac%20OS%20X%20Update%2010.4.7
 
  Where can I find documentation for this code?  The
 question here is,
  other than trawling through code, where can I find
 documentation that
  explain it's implementation?
 
  Cheers,
  Jack
 






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


Re: [webkit-dev] Debugging JavaScript Core Apps that are not Safari

2008-11-21 Thread Timothy Hatcher
The debugging functionally is part of WebKit, not Safari. So you can  
use the JavaScript debugger that is part of the Web Inspector in any  
WebKit client application. But this does not include JavaScriptCore  
client applications. I am surprised to hear that Drosera worked, since  
it was similarly tied to WebKit.


Please file a bug requesting this functionality.

On Nov 21, 2008, at 7:06 AM, Scott Thompson wrote:

It's been a while since I've looked at JavaScript Core and obviously  
a lot of changes have gone on.  In my previous examination, I was  
using Drosera to debug an application which used JavaScript Core as  
an internal scripting engine.  It would appear that all the  
JavaScript debugging facilities have been moved inside of Safari.   
Is it still possible to debug JavaScript code running through  
JavaScript Core in an application other than Safari?


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


Re: [webkit-dev] Webkit License details

2008-11-21 Thread Pierre-Luc Beaudoin
On Fri, 2008-11-21 at 14:33 +0530, Jayaprakash Palanisamy wrote:
 
  
 
 If I am developing an application using WebKit rendering engine, do I
 need to provide the source code which I developed to WebKit?

Which port?

The Gtk port is mostly all licenced LGPL 2.1 or later, meaning that you
can have a closed source application using it (aka linked against it).
But that also means that if you made changes to WebKitGtk, those changes
must be published (ideally in a patch in bugzilla).

Explicitly: it means that you can have a closed source browser using
WebKitGtk, but any changes to WebKitGtk itself have to be published.

DISCLAIMER:
---
This is my personal opinion on a legal matter, and since I am not a
layer, this advice is given WITHOUT ANY WARRANTY.  I, nor my employer,
can be held responsible if that advice happens to be wrong.
---

Please see http://www.gnu.org/licenses/gpl-faq.html and
http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License

Pierre-Luc Beaudoin
Collabora Ltd.


signature.asc
Description: This is a digitally signed message part
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Webkit License details

2008-11-21 Thread Pierre-Luc Beaudoin
On Fri, 2008-11-21 at 12:22 -0500, Pierre-Luc Beaudoin wrote:
 I am not a layer

I am not a lawyer actually ;)


signature.asc
Description: This is a digitally signed message part
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] webkit documentation

2008-11-21 Thread David Kilzer
Jack,

You did not create a patch to the actual HTML file that you wanted to change.  
You simply attached a text file with a description of the link.  If you need 
help on how to create a patch or checkout the source for the web site, please 
ask.

Dave





From: Jack Wootton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: webkit-dev@lists.webkit.org
Sent: Friday, November 21, 2008 8:25:32 AM
Subject: Re: [webkit-dev] webkit documentation

I have done this, but it was rejected:

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

On Mon, Jul 21, 2008 at 3:22 PM, David Kilzer [EMAIL PROTECTED] wrote:
 We update the web site through patches.  Just file a bug on bugs.webkit.org 
 and attach a patch with ChangeLog for review!

 Dave


 On Mon, 7/21/08, Jack Wootton [EMAIL PROTECTED] wrote:

 OK, it seems this is a good place to start

 http://developer.apple.com/documentation/Cocoa/Conceptual/DisplayWebContent/Concepts/WebKitDesign.html

 Had to use Google to find it though, is it linked to on
 http://webkit.org/ at all?

 Cheers,
 Jack

 On Mon, Jul 21, 2008 at 9:57 AM, Jack Wootton
 [EMAIL PROTECTED] wrote:
  Hi all,
 
  I am mainly interested in S60 WebKit, however due to
 the project
  seeming to be in complete disarray to those not
 working for Nokia,
  I've decided to focus my efforts on the WebKit
 branch from which S60
  WebKit started. I understand this to be Tiger 10.4.7
 (it was one of
  the few pieces of information about S60 WebKit that I
 could actually
  find - although it will almost certainly turn out to
 be incorrect :p):
 
 
 http://trac.webkit.org/browser/releases/Apple/Tiger/Mac%20OS%20X%20Update%2010.4.7
 
  Where can I find documentation for this code?  The
 question here is,
  other than trawling through code, where can I find
 documentation that
  explain it's implementation?
 
  Cheers,
  Jack
 






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


Re: [webkit-dev] Fwd: Using WebKit's markup as facility of Chrome's DOM serializer

2008-11-21 Thread Darin Adler

On Nov 21, 2008, at 1:21 AM, Johnny Ding wrote:

OK, How about my first step is creating a new class to hold all  
parameters current  for mark-up code. After then I will  
incrementally implement above 5 feature one by one. Is it workable?  
Thanks.


Yes, I think it would be good for you to start that way.

-- Darin

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