Re: [webkit-dev] many tests failing during run-webkit-tests in Apple Windows

2008-03-06 Thread Bailey, Richard
Thanks Eric,

$ svn co svn://labs.trolltech.com/svn/webkit/testfonts
svn: Can't connect to host 'labs.trolltech.com': Connection refused

Is this trolltech/svn  down or restricted for read access?

Thanks for the help,
Richard


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Seidel
Sent: Thursday, March 06, 2008 10:41 AM
To: Bailey, Richard
Cc: webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] many tests failing during run-webkit-tests in Apple 
Windows

You may be missing the required fonts.  (And thus be getting the wrong
metrics for text runs).  Safari bundles some fonts with it.  The Apple
developers all have these custom fonts installed on their system.

Other external contributers use some special instructions to get the
fonts step correctly.  See Qt's instructions:
http://trac.macosforge.org/projects/webkit/wiki/QtWebKitContrib

-eric

On Thu, Mar 6, 2008 at 10:32 AM, Bailey, Richard <[EMAIL PROTECTED]> wrote:
>
>
> Is this the expected current state of the build, or is it a problem with my
> build/test-run?
>
> Is there a site/tool that can show me the current test state of the
> repository?
>
> Here is an example of the failures:
> Tests where results did not match expected results:
>  css1/basic/class_as_selector.html expected actual diffs
>  css1/basic/comments.html expected actual diffs
>  css1/basic/containment.html expected actual diffs
>  css1/basic/contextual_selectors.html expected actual diffs
>  css1/basic/grouping.html expected actual diffs
>  css1/basic/id_as_selector.html expected actual diffs
>
>
> @@ -1,12 +1,12 @@
> -layer at (0,0) size 800x600
> -  RenderView at (0,0) size 800x600
> -layer at (0,0) size 800x600
> -  RenderBlock {HTML} at (0,0) size 800x600
> -RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CC]
> -  RenderBlock {P} at (0,0) size 784x18
> -RenderText {#text} at (0,0) size 355x18
> +layer at (0,0) size 785x615
> +  RenderView at (0,0) size 785x600
> +layer at (0,0) size 785x615
> +  RenderBlock {HTML} at (0,0) size 785x615
> +RenderBody {BODY} at (8,8) size 769x599 [bgcolor=#CC]
> +  RenderBlock {P} at (0,0) size 769x21
> +RenderText {#text} at (0,0) size 355x20
>
>
>
>
> ___
>  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] many tests failing during run-webkit-tests in Apple Windows

2008-03-06 Thread Bailey, Richard
Is this the expected current state of the build, or is it a problem with my 
build/test-run?

Is there a site/tool that can show me the current test state of the repository?

Here is an example of the failures:

Tests where results did not match expected results:
css1/basic/class_as_selector.html

expected
   
actual
   
diffs
css1/basic/comments.html
  
expected

actual

diffs
css1/basic/containment.html

expected
 
actual
 
diffs
css1/basic/contextual_selectors.html
  
expected

actual

diffs
css1/basic/grouping.html
  
expected

actual

diffs
css1/basic/id_as_selector.html
  
expected
  
actual
  
diffs


@@ -1,12 +1,12 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CC]
-  RenderBlock {P} at (0,0) size 784x18
-RenderText {#text} at (0,0) size 355x18
+layer at (0,0) size 785x615
+  RenderView at (0,0) size 785x600
+layer at (0,0) size 785x615
+  RenderBlock {HTML} at (0,0) size 785x615
+RenderBody {BODY} at (8,8) size 769x599 [bgcolor=#CC]
+  RenderBlock {P} at (0,0) size 769x21
+RenderText {#text} at (0,0) size 355x20




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


Re: [webkit-dev] Errors during Windows Cairo compile

2008-03-05 Thread Bailey, Richard
Thanks Brent,

I originally followed the install steps on the building/tools.htm page.  By 
Apple Installer are you referring to the cygwin-downloader.zip from webkit.org? 
 I did use that.  Also I verified I have gperf accessible from my cygwin window.

I am missing the WebKitBuild directory.

Also, I may be having a svn problem as I keep finding vcproj files that look 
like they have merge conflicts.

For instance WebCore.vcproj has this line:
mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 12:01 PM
To: Bailey, Richard
Cc: webkit-dev@lists.webkit.org; Daniel Zucker
Subject: Re: [webkit-dev] Errors during Windows Cairo compile

Richard,

The current error message looks like the generated files are not being built.  
This might be due to missing Cygwin tools.

If you had Cygwin installed before trying to build WebKit, you might have been 
tempted to avoid using the Apple Installer (I know I was!).  The problem is 
that there are certain tools required that you might not have installed.

For me, the problem was that I had not installed gperf (the perfect hash 
generator), so some of the auto-generated files were not being created.

An annoying problem is that sometimes a "build-webkit --clean" does not get rid 
of everything necessary.  In those cases you will be forced to delete the 
WebKitBuild directory.

In your case, the complaints about "WebCore/COMPtr.h" missing are confusing 
because you can probably see it in "platform/win/COMPtr.h".  So what gives?

The build is actually looking in WebKitBuild/include/WebCore for COMPtr.h, so 
the fact that it is missing indicates that the post-build step that copies 
things from WebCore/platform/* to WebKitBuild/include failed.

Scour the build logs and you will find enlightenment!

-Brent
On Wed, Mar 5, 2008 at 11:16 AM, Bailey, Richard <[EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:

Yes, my code was out of sync.  I've done update-webkit and rebuilt.



I now get the following errors suggesting that WebCore did not build?  I see no 
BuildLog.htm for   WebCore.

JavaScriptCore BuildLog.htm looks fine.



Also, is there a way to build everything cleanly?  I tried -clean flag without 
success. (it seemed like a noop)



Thanks for all the help,

Richard





Performing Pre-Build Event...

Compiling...

DebuggerClient.cpp

c:\cygwin\webkit\webkit\webkittools\drosera\win\DebuggerClient.h(35) : fatal 
error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or 
directory

DebuggerDocument.cpp

c:\cygwin\WebKit\WebKit\WebKitTools\Drosera\win\ServerConnection.h(34) : fatal 
error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or 
directory

DebuggerDocumentPlatform.cpp

c:\cygwin\webkit\webkit\webkittools\drosera\win\ServerConnection.h(34) : fatal 
error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or 
directory

Drosera.cpp

c:\cygwin\webkit\webkit\webkittools\drosera\win\Drosera.h(34) : fatal error 
C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or directory

ServerConnection.cpp

c:\cygwin\webkit\webkit\webkittools\drosera\win\ServerConnection.h(34) : fatal 
error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or 
directory

Generating Code...

Project : warning PRJ0018 : The following environment variables were not found:

$(PRODUCTION)





From: Brent Fulgham [mailto:[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>]
Sent: Tuesday, March 04, 2008 8:27 PM
To: Bailey, Richard
Cc: webkit-dev@lists.webkit.org<mailto:webkit-dev@lists.webkit.org>; Daniel 
Zucker

Subject: Re: [webkit-dev] Errors during Windows Cairo compile



Richard,



Problem #1:  It looks like your source is out of date.  
platform/win/PlatformScrollBarWin.cpp has been in the SVN archive for a few 
days now.

Problem #2:  There's something weird about the 'jmorecfg.h' file.  It's trying 
to define some basic Windows types needed for compiling.  It's acting like it 
doesn't recognize your development environment as Windows.



-Brent







On Mar 4, 2008, at 5:15 PM, Bailey, Richard wrote:



I deleted WebKit/Output and WebKit/WebKitBuild and reran build-webkit



I then search for all the build.htm and sorted in time and backtracked to 
earliest one showing errors.



Attached is BuildLog from WebCore

And below are the errors.





PlatformScrollBarWin.cpp

c1xx : fatal error C1083: Cannot open source file: 
'..\platform\win\PlatformScrollBarWin.cpp': No such file or directory



JPEGImageDecoder.cpp

c:\graphics_formats\jpeg-6b\jmorecfg.h(161) : error C2371: 'INT32' : 
redefinition; different basic types

C:\Program Files\Microsoft Platform SDK for Windows Server 2003 
R2\Include\basetsd.h(62) : see declaration of 'INT32'

c:\graphics_formats\jpeg-6b\jmorecfg.h(215) : w

Re: [webkit-dev] Errors during Windows Cairo compile

2008-03-05 Thread Bailey, Richard
Yes, my code was out of sync.  I've done update-webkit and rebuilt.

I now get the following errors suggesting that WebCore did not build?  I see no 
BuildLog.htm for   WebCore.
JavaScriptCore BuildLog.htm looks fine.

Also, is there a way to build everything cleanly?  I tried -clean flag without 
success. (it seemed like a noop)

Thanks for all the help,
Richard


Performing Pre-Build Event...
Compiling...
DebuggerClient.cpp
c:\cygwin\webkit\webkit\webkittools\drosera\win\DebuggerClient.h(35) : fatal 
error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or 
directory
DebuggerDocument.cpp
c:\cygwin\WebKit\WebKit\WebKitTools\Drosera\win\ServerConnection.h(34) : fatal 
error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or 
directory
DebuggerDocumentPlatform.cpp
c:\cygwin\webkit\webkit\webkittools\drosera\win\ServerConnection.h(34) : fatal 
error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or 
directory
Drosera.cpp
c:\cygwin\webkit\webkit\webkittools\drosera\win\Drosera.h(34) : fatal error 
C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or directory
ServerConnection.cpp
c:\cygwin\webkit\webkit\webkittools\drosera\win\ServerConnection.h(34) : fatal 
error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or 
directory
Generating Code...
Project : warning PRJ0018 : The following environment variables were not found:
$(PRODUCTION)


From: Brent Fulgham [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2008 8:27 PM
To: Bailey, Richard
Cc: webkit-dev@lists.webkit.org; Daniel Zucker
Subject: Re: [webkit-dev] Errors during Windows Cairo compile

Richard,

Problem #1:  It looks like your source is out of date.  
platform/win/PlatformScrollBarWin.cpp has been in the SVN archive for a few 
days now.
Problem #2:  There's something weird about the 'jmorecfg.h' file.  It's trying 
to define some basic Windows types needed for compiling.  It's acting like it 
doesn't recognize your development environment as Windows.

-Brent



On Mar 4, 2008, at 5:15 PM, Bailey, Richard wrote:


I deleted WebKit/Output and WebKit/WebKitBuild and reran build-webkit

I then search for all the build.htm and sorted in time and backtracked to 
earliest one showing errors.

Attached is BuildLog from WebCore
And below are the errors.


PlatformScrollBarWin.cpp
c1xx : fatal error C1083: Cannot open source file: 
'..\platform\win\PlatformScrollBarWin.cpp': No such file or directory


JPEGImageDecoder.cpp

c:\graphics_formats\jpeg-6b\jmorecfg.h(161) : error C2371: 'INT32' : 
redefinition; different basic types

C:\Program Files\Microsoft Platform SDK for Windows Server 2003 
R2\Include\basetsd.h(62) : see declaration of 'INT32'

c:\graphics_formats\jpeg-6b\jmorecfg.h(215) : warning C4005: 'FAR' : macro 
redefinition

C:\Program Files\Microsoft Platform SDK for Windows Server 2003 
R2\Include\windef.h(145) : see previous definition of 'FAR'

c:\graphics_formats\jpeg-6b\jmorecfg.h(227) : error C2371: 'boolean' : 
redefinition; different basic types

c:\program files\microsoft platform sdk for windows server 2003 
r2\include\rpcndr.h(147) : see declaration of 'boolean'

..\platform\image-decoders\jpeg\JPEGImageDecoder.cpp(166) : warning C4611: 
interaction between '_setjmp' and C++ object destruction is non-portable

PNGImageDecoder.cpp

..\platform\image-decoders\png\PNGImageDecoder.cpp(100) : warning C4611: 
interaction between '_setjmp' and C++ object destruction is non-portable



From: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED] On 
Behalf Of Bailey, Richard
Sent: Tuesday, March 04, 2008 4:10 PM
To: Brent Fulgham
Cc: webkit-dev@lists.webkit.org<mailto:webkit-dev@lists.webkit.org>; Daniel 
Zucker
Subject: Re: [webkit-dev] Errors during Windows Cairo compile

Hi Brent,

Here is the buildlog from javascriptcore.
No errors but a bunch of 0 Files copied in the post-build step.

Also, I do not have a JavaScriptCoreGlue or a JavaScriptGlue in my Output/obj 
path

Thanks,
Richard


From: Brent Fulgham [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2008 4:00 PM
To: Bailey, Richard
Cc: Daniel Zucker; 
webkit-dev@lists.webkit.org<mailto:webkit-dev@lists.webkit.org>
Subject: Re: [webkit-dev] Errors during Windows Cairo compile

Hi Richard,

These errors indicates than an earlier build step failed.  Take a look at the 
JavaScriptCore or other build logs to see which one failed first.

The usual build order is something like:

JavaScriptCore
JavaScriptCoreGlue
WebCore
WebKit


-Brent
On Tue, Mar 4, 2008 at 3:21 PM, Bailey, Richard <[EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:




Compiling...

MarshallingHelpers.cpp

..\MarshallingHelpers.cpp(31) : fatal error C1083: Cannot open include file: 
&