Re: [webkit-dev] Compiling webkit on windows

2007-01-17 Thread Mike Emmel

Looks like your missing the realpath program also.


On 1/17/07, Krzysztof Kowalczyk <[EMAIL PROTECTED]> wrote:

Currently it probably won't compile anyway due to recent changes, but...

First, make sure that you do "svn co" under cygwin shell in order to
get files with unix-style line-ending - last time I've tried and
didn't do it, perl scripts wouldn't work.

It's also possible you're not running from Cygwin or it's misconfigured.

Also, I've never tried the script, I always built using
WebKitTools\Spinneret\Spinneret.sln

-- kjk

On 1/17/07, Amit Manocha <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm trying to compile webkit on windows. But when I run build-webkit script 
mentioned at http://trac.webkit.org/projects/webkit/wiki/BuildingOnWindows, I get 
following errors:
>
> 
> Performing Pre-Build Event...
> realpath: No such file or directory
> cygpath: cannot create short name of
> build-generated-files.sh: line 11: export: `SRCROOT': not a valid identifier
> mkdir: cannot create directory `\r\r\r': No such file or directory
> build-generated-files.sh: line 18: cd: /DerivedSources/WebCore: No such file 
or
> directory
> build-generated-files.sh: line 20: : command not found
> make: /DerivedSources.make: No such file or directory
> make: *** No rule to make target `/DerivedSources.make'.  Stop.
> build-generated-files.sh: line 24: exit: 1: numeric argument required
> Project : error PRJ0019: A tool returned an error code from "Performing 
Pre-Buil
> d Event..."
> Build log was saved at 
"file://c:\WebKitBuild\WebCore.intermediate\Release\WebCo
> re.intermediate\BuildLog.htm"
> WebCore - 1 error(s), 0 warning(s)
> -- Build started: Project: WebKit, Configuration: Release Win32 --
> Compiling...
> WebView.cpp
> c:\webkit\webkit\com\WebFrame.h(160) : error C2259: 'WebFrameLoaderClient' : 
can
> not instantiate abstract class
> due to following members:
> 
> 
>
> Any clues as to what is happening here/
>
> Thanks
> - Amit
>
>
>
> 

> Need a quick answer? Get one in minutes from people who know.
> Ask your question on www.Answers.yahoo.com
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-dev
>
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


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


Re: [webkit-dev] Compiling webkit on windows

2007-01-17 Thread Krzysztof Kowalczyk

Currently it probably won't compile anyway due to recent changes, but...

First, make sure that you do "svn co" under cygwin shell in order to
get files with unix-style line-ending - last time I've tried and
didn't do it, perl scripts wouldn't work.

It's also possible you're not running from Cygwin or it's misconfigured.

Also, I've never tried the script, I always built using
WebKitTools\Spinneret\Spinneret.sln

-- kjk

On 1/17/07, Amit Manocha <[EMAIL PROTECTED]> wrote:

Hi all,

I'm trying to compile webkit on windows. But when I run build-webkit script 
mentioned at http://trac.webkit.org/projects/webkit/wiki/BuildingOnWindows, I 
get following errors:


Performing Pre-Build Event...
realpath: No such file or directory
cygpath: cannot create short name of
build-generated-files.sh: line 11: export: `SRCROOT': not a valid identifier
mkdir: cannot create directory `\r\r\r': No such file or directory
build-generated-files.sh: line 18: cd: /DerivedSources/WebCore: No such file or
directory
build-generated-files.sh: line 20: : command not found
make: /DerivedSources.make: No such file or directory
make: *** No rule to make target `/DerivedSources.make'.  Stop.
build-generated-files.sh: line 24: exit: 1: numeric argument required
Project : error PRJ0019: A tool returned an error code from "Performing Pre-Buil
d Event..."
Build log was saved at "file://c:\WebKitBuild\WebCore.intermediate\Release\WebCo
re.intermediate\BuildLog.htm"
WebCore - 1 error(s), 0 warning(s)
-- Build started: Project: WebKit, Configuration: Release Win32 --
Compiling...
WebView.cpp
c:\webkit\webkit\com\WebFrame.h(160) : error C2259: 'WebFrameLoaderClient' : can
not instantiate abstract class
due to following members:



Any clues as to what is happening here/

Thanks
- Amit




Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


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


[webkit-dev] Compiling webkit on windows

2007-01-17 Thread Amit Manocha
Hi all,

I'm trying to compile webkit on windows. But when I run build-webkit script 
mentioned at http://trac.webkit.org/projects/webkit/wiki/BuildingOnWindows, I 
get following errors:


Performing Pre-Build Event...
realpath: No such file or directory
cygpath: cannot create short name of
build-generated-files.sh: line 11: export: `SRCROOT': not a valid identifier
mkdir: cannot create directory `\r\r\r': No such file or directory
build-generated-files.sh: line 18: cd: /DerivedSources/WebCore: No such file or
directory
build-generated-files.sh: line 20: : command not found
make: /DerivedSources.make: No such file or directory
make: *** No rule to make target `/DerivedSources.make'.  Stop.
build-generated-files.sh: line 24: exit: 1: numeric argument required
Project : error PRJ0019: A tool returned an error code from "Performing Pre-Buil
d Event..."
Build log was saved at "file://c:\WebKitBuild\WebCore.intermediate\Release\WebCo
re.intermediate\BuildLog.htm"
WebCore - 1 error(s), 0 warning(s)
-- Build started: Project: WebKit, Configuration: Release Win32 --
Compiling...
WebView.cpp
c:\webkit\webkit\com\WebFrame.h(160) : error C2259: 'WebFrameLoaderClient' : can
not instantiate abstract class
due to following members:



Any clues as to what is happening here/

Thanks
- Amit


 

Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] W3C's proposed new HTML Working Group charters

2007-01-17 Thread Maciej Stachowiak


Hi Everyone,

The Safari Team at Apple gave official feedback on the W3C's proposed  
new HTML and related Working Group charters: http://www.w3.org/ 
2006/11/HTML-WG-charter.html


I posted our feedback publicly here: http://webkit.org/blog/?p=89

I encourage those of you who work for W3C Member organizations to  
submit appropriate feedback as well, time permitting; the deadline is  
this Friday.


Regards,
Maciej

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


Re: [webkit-dev] contentWidth of a table row & rendering data

2007-01-17 Thread Mark Rowe


On 18/01/2007, at 11:10 AM, Stephen Deken wrote:


How are you specifying which framework to link against?


I'm specifying my WebKitBuild/Release directory in my Framework  
Search Paths, and I'm copying the frameworks into my app bundle's  
Frameworks directory.  I'm also specifying @executable_path/../ 
Frameworks so that the frameworks can be found at runtime.


otool -L reports that I'm getting my handbuilt copies of WebCore,  
JavaScriptGlue, and JavaScriptCore -- only WebKit is pointing to  
the /System version.


That suggests to me that it's a precedence issue, but moving my  
WebKitBuild/Release path before the 10.4u.sdk path results in a  
build error (unable to find class names for WebHTMLView, WebView,  
etc).  So I'm sort of at a loss as to what the problem is.   
Probably the same SDK issues you referred to.


You may want to have a look at how the Drosera project is  
configured.  It builds + links against tip of tree WebKit, and it's  
revision history should give a bit of info about what was required to  
make that work.


Cheers,

Mark Rowe

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


Re: [webkit-dev] contentWidth of a table row & rendering data

2007-01-17 Thread Stephen Deken

The email you reference was written prior to WebKit being
open-sourced.


Ah, of course.


How are you specifying which framework to link against?


I'm specifying my WebKitBuild/Release directory in my Framework  
Search Paths, and I'm copying the frameworks into my app bundle's  
Frameworks directory.  I'm also specifying @executable_path/../ 
Frameworks so that the frameworks can be found at runtime.


otool -L reports that I'm getting my handbuilt copies of WebCore,  
JavaScriptGlue, and JavaScriptCore -- only WebKit is pointing to the / 
System version.


That suggests to me that it's a precedence issue, but moving my  
WebKitBuild/Release path before the 10.4u.sdk path results in a build  
error (unable to find class names for WebHTMLView, WebView, etc).  So  
I'm sort of at a loss as to what the problem is.  Probably the same  
SDK issues you referred to.


--
Stephen Deken
[EMAIL PROTECTED]


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


Re: [webkit-dev] contentWidth of a table row & rendering data

2007-01-17 Thread Mark Rowe

Hi Stephen,

On 18/01/2007, at 3:03 AM, Stephen Deken wrote:


On 1/17/07, David D. Kilzer <[EMAIL PROTECTED]> wrote:

There is nothing that says you can't ship your own copy of WebKit
(legal or otherwise)!  OmniWeb does just that.


Strange -- I'd read some discussion (apparently from 2004) which
indicated the WebKit framework was not licensed for distribution:

http://lists.apple.com/archives/webkitsdk-dev/2004/Mar/msg00038.html

If this has changed since then, great!  I love it when the solution
gets handed to me.  :)


The email you reference was written prior to WebKit being open- 
sourced.  At that time you would have required Apple's consent to  
redistribute the framework.  Now that it is open-source, it is  
permissible to do so.  I'm aware of several applications that bundle  
custom versions of WebKit -- OmniWeb and Sandvox being the most  
recognized of that group.



Now my only problem is that XCode really, really wants to link against
the WebKit in /System/Library/Frameworks instead of my private copy.
Something is wonky with my linker settings, and I wasn't able to
discern exactly what it was in the few minutes I had this morning.  I
wound up just setting DYLD_FRAMEWORK_PATH and
WEBKIT_UNSET_DYLD_FRAMEWORK_PATH to get it working, but obviously this
won't work when shipping.


How are you specifying which framework to link against?  I believe  
you'll need to either add the directory containing  
{WebKit,WebCore,JavaScriptCore}.framework to Xcode's framework search  
path, or change the framework references to use absolute pathnames.   
If you're building using an SDK you may have slightly more issues, as  
I encountered some difficulty in making Xcode cooperate when doing  
this recently.


Cheers,

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


Re: [webkit-dev] contentWidth of a table row & rendering data

2007-01-17 Thread Stephen Deken

On 1/17/07, David D. Kilzer <[EMAIL PROTECTED]> wrote:

There is nothing that says you can't ship your own copy of WebKit
(legal or otherwise)!  OmniWeb does just that.


Strange -- I'd read some discussion (apparently from 2004) which
indicated the WebKit framework was not licensed for distribution:

http://lists.apple.com/archives/webkitsdk-dev/2004/Mar/msg00038.html

If this has changed since then, great!  I love it when the solution
gets handed to me.  :)

Now my only problem is that XCode really, really wants to link against
the WebKit in /System/Library/Frameworks instead of my private copy.
Something is wonky with my linker settings, and I wasn't able to
discern exactly what it was in the few minutes I had this morning.  I
wound up just setting DYLD_FRAMEWORK_PATH and
WEBKIT_UNSET_DYLD_FRAMEWORK_PATH to get it working, but obviously this
won't work when shipping.


You just have to weigh the consequences, the most obvious of which is
that if Apple ships an update to WebKit (security fix or bug fix),
your application won't take advantage of that since it's using it's
own internal copy.


That's not such a large problem if I can eventually use the shipping
version.  If your speculation bears fruit, this is all moot anyway,
since we won't be shipping until after Leopard debuts.

Many thanks, David and Mark, for all your help.

--
Stephen Deken
[EMAIL PROTECTED]
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] contentWidth of a table row & rendering data

2007-01-17 Thread David D. Kilzer
There is nothing that says you can't ship your own copy of WebKit  
(legal or otherwise)!  OmniWeb does just that.


You just have to weigh the consequences, the most obvious of which is  
that if Apple ships an update to WebKit (security fix or bug fix),  
your application won't take advantage of that since it's using it's  
own internal copy.


See Bug 12199 Comment #3 for my *speculation* on what *may* happen  
when Apple ships Leopard.


http://bugs.webkit.org/show_bug.cgi?id=12199#c3

Dave


On Jan 17, 2007, at 7:35 AM, Stephen Deken wrote:


On Jan 16, 2007, at 6:34 PM, Mark Rowe wrote:
I believe the code relevant to determining where to draw the  
highlight outline is at .


Beautiful, that's exactly what I needed.

Now my dilemma is this.  My understanding of the situation is that  
I can't ship WebKit.framework with my application.  But my  
application won't work correctly unless it has the latest version  
of WebKit.framework.


When were these changes introduced?  Will they be included in  
Leopard?  Will they be included in the next rev of Safari for Tiger?


Many thanks,

Stephen Deken
[EMAIL PROTECTED]


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


Re: [webkit-dev] contentWidth of a table row & rendering data

2007-01-17 Thread Stephen Deken

On Jan 16, 2007, at 6:34 PM, Mark Rowe wrote:
I believe the code relevant to determining where to draw the  
highlight outline is at .


Beautiful, that's exactly what I needed.

Now my dilemma is this.  My understanding of the situation is that I  
can't ship WebKit.framework with my application.  But my application  
won't work correctly unless it has the latest version of  
WebKit.framework.


When were these changes introduced?  Will they be included in  
Leopard?  Will they be included in the next rev of Safari for Tiger?


Many thanks,

Stephen Deken
[EMAIL PROTECTED]

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