Re: [webkit-dev] How to debug QT window version(compiled using MinGW)?

2007-10-11 Thread Artem Ananiev
You should use gdb (or any other gdb-related debugger like ddd). It can be found 
in Cygwin, for example, and probably in other mingw distributions.


Artem

Jerry K wrote:

Does anyone know?

Thanks
Jerry

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


[webkit-dev] Build QT/MacOs

2007-10-11 Thread Luc Andre

Hi,

We successfuly build the MacOS version of WebKit, but we had no success 
building a QT version of WebKit under MacOS.

We realy need to make the QtLauncher application running.
Does anyone know a way to build QtWebKit for Mac ?

Thanks,

Luc

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


[webkit-dev] WebKit S60 licensing issues

2007-10-11 Thread Zog TheBogue


Hi

I'm presently trying to build the S60 version for the GCCE target

and there seems to be a lot of problems here (some include file

is missing from trunk and lot of compilation errors).

Reading the GNU LPGL license webkit is licensed with, I was under

the impression that the S60 port has to be available in a form

suitable for re-compilation, which is not the case as of today and given the

low activity on the code, it seems it's not in Nokia plans to deliver a

fully working version.

This appears to me to violate the spirit (or even the letter, but I'm no

lawyer) of the license that the webkit creator chose for their project.

Especially if you consider that S60 devices do ship with a binary version

of this library, so Nokia is able to compile it - they just don't seem to be

willing to let others use their opensource code...



So here's the question: aren't the webkit maintainers/creators pissed off by

this attitude ? Is any action considered for enforcing this license on

Nokia's side ?

/zog

_
R U Ready for Windows Live Messenger Beta 8.5? Try it today!
http://entertainment.sympatico.msn.ca/WindowsLiveMessenger___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Problem building/running Webkit with QT4 on Ubuntu

2007-10-11 Thread Lionel
Guys,

I've some problem building and running Webkit with QT on Ubuntu 7.

Here is what i did :

1. i fetched webkit from here
http://svn.webkit.org/repository/webkit/trunkhttp://www.qtforum.org/redir.php?url=http%3A%2F%2Fsvn.webkit.org%2Frepository%2Fwebkit%2Ftrunk
2. i installed libqt4-dev-kdecopy with: apt-get install libqt4-dev-kdecopy,
as qt4.3 was needed (libqt4-dev is qt4.2.3)
3. then i build with: QTDIR=/usr/share/qt4/
WebKit/WebKitTools/Scripts/build-webkit
the build failed 2 or 3 times, like some class api were missing or class
reference missing. Anyway it was easy to fix, so i restart the build and it
complete successfully.
4. then i run the browser with: QTDIR=/usr/share/qt4/
WebKit/WebKitTools/Scripts/run-launcher
the browser starts, but display the blank window, then whatever address i
try to browse the window remain blank, while the console display such
message:

FIXME: UNIMPLEMENTED: ../../../WebCore/platform/qt/WidgetQt.cpp:120
(virtual void WebCore::Widget::show())
FIXME: UNIMPLEMENTED:
../../../WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp:195 (virtual
void WebCore::FrameLoaderClientQt::forceLayoutForNonHTML())


i had a look at WebCore/platform/qt/WidgetQt.cpp, and it seems the data
member m_widget is not initialized and so it display the UNIMPLEMENTED error
message.

I have to say that i'm a newbie at Linux and Webkit, so my questions below
might be silly [image: smile]

1. i find it strange that i had to fix some compile problem as it seem to me
that WebKit was already ported to QT4. Am i using the right svn trunk ?
2. am i missing some library ? i've installed libqt4-dev-kdecopy only, do i
need libqt4-core-kdecopy ? is there any other dependency ?
3. i also find strange that the folder WebKit\WebKitQt\QtLauncher is always
empty, shouldn't it have some QtLauncher.pro and other files ?
4. can somebody also recommend me a good development tools/ide on Linux for
C++ development.

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


Re: [webkit-dev] Should we consider switching to git over svn?

2007-10-11 Thread Simon Hausmann
On Tuesday 09 October 2007 06:29:36 Oliver Hunt wrote:
[...]
 I think
 (and i'm hoping others agree) that despite the slightly more complex
 interface the improved merging, branching, and speed mean that we
 should seriously consider switching to git as our primary RCS.

 Any comments from others are welcome.

Sounds great, I can't wait for WebKit to switch to Git :)


Simon


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/webkit-dev


Re: [webkit-dev] Webkit Building failed on Windows

2007-10-11 Thread James tu
send it again in text format. don't know why I can't send html file as an 
attachment from my yahoo account. Really sorry for this. The following is the 
build log
   
Build Log

  Build started: Project: WebCore, Configuration: Release|Win32
  Command Lines

  Build machine environment variables may not be correct.
Build machine environment variables may not be correct.
Build machine environment variables may not be correct.
Build machine environment variables may not be correct.
Creating temporary file 
d:\Profiles\w30339.DS\WebKit\WebKitBuild\obj\WebCore\Release\BAT0160766412.bat
 with contents
[
@echo off
  set PATH=%SystemDrive%\cygwin\bin;%PATH%
  touch d:\Profiles\w30339.DS\WebKit\WebKitBuild\tmp.cpp
  cl /analyze /nologo /c d:\Profiles\w30339.DS\WebKit\WebKitBuild\tmp.cpp 
21 | findstr D9040
  if ERRORLEVEL 0 set EnablePREfast=false else set EnablePREfast=true
  if ERRORLEVEL 0 set AnalyzeWithLargeStack= 
AnalyzeWithLargeStack=/analyze:65536
  bash build-generated-files.sh d:\Profiles\w30339.DS\WebKit\WebKitBuild 
d:\Profiles\w30339.DS\WebKit\WebKitLibraries\win
   
  if errorlevel 1 goto VCReportError
  goto VCEnd
  :VCReportError
  echo Project : error PRJ0019: A tool returned an error code from Performing 
Pre-Build Event...
  exit 1
  :VCEnd
]
Creating command line 
d:\Profiles\w30339.DS\WebKit\WebKitBuild\obj\WebCore\Release\BAT0160766412.bat
  Output Window

  Performing Pre-Build Event...
cl : Command line warning D9040 : ignoring option '/analyze'; Code Analysis 
warnings are not available in this edition of the compiler
tmp.cpp
build-generated-files.sh: line 2: $'\r': command not found
build-generated-files.sh: line 4: $'\r': command not found
realpath: No such file or directory
cygpath: cannot create short name of 
build-generated-files.sh: line 11: export: `XSRCROOT': not a valid identifier
build-generated-files.sh: line 13: $'\r': command not found
build-generated-files.sh: line 15: export: `XDSTROOT': not a valid identifier
cygpath: cannot create short name of d:\Profiles\w30339.DS\WebKit\WebKitBuild
build-generated-files.sh: line 20: export: `XDSTROOT': not a valid identifier
build-generated-files.sh: line 21: $'\r': command not found
build-generated-files.sh: line 23: export: `SDKROOT': not a valid identifier
cygpath: cannot create short name of 
d:\Profiles\w30339.DS\WebKit\WebKitLibraries\win
build-generated-files.sh: line 28: export: `SDKROOT': not a valid identifier
build-generated-files.sh: line 29: $'\r': command not found
build-generated-files.sh: line 31: $'\r': command not found
build-generated-files.sh: line 44: syntax error: unexpected end of file
Project : error PRJ0019: A tool returned an error code from Performing 
Pre-Build Event...
Project : warning PRJ0018 : The following environment variables were not found:
$(AnalyzeWithLargeStack)
  Results

  Build log was saved at 
file://d:\Profiles\w30339.DS\WebKit\WebKitBuild\obj\WebCore\Release\BuildLog.htm
WebCore - 1 error(s), 1 warning(s)
   
  

Kevin McCullough [EMAIL PROTECTED] wrote:
  I don't see the log am I missing something?

�amp;nbsp;Kevin McCullough
  [EMAIL PROTECTED]


On Oct 10, 2007, at 4:43 PM, James tu wrote:

Hi Adam,
  I attached the buildlog in WebKitBuild\obj\WebCore\Release. It seems machine 
environment variables may not be correct. But don't know what exactly cause 
this?
   
  thanks

Adam Roben [EMAIL PROTECTED] wrote: 
  (CCing webkit-dev for the benefit of future question-askers)

James tu wrote:
 Hi Adam,
 I download cygwin package from open source webkit site and 
 reinstall it. After type WebKit/WebKitTools/Scripts/build-webkit, it 
 will build for about 2-3 minutes then exit without any message. 
 
 In the cygwin, it only shows 
 
 Checking mod-date of WebKitSupportLibrary.zip...
 Current WebKitSupportLibrary is up to date
 Building results into: /cygdrive/d/Profiles/w30339.DS/WebKit/WebKitBuild
 WEBKITOUTPUTDIR is set to: d:\Profiles\w30339.DS\WebKit\WebKitBuild
 WEBKITLIBRARIESDIR is set to: 
 d:\Profiles\w30339.DS\WebKit\WebKitLibraries\win
 /cygdrive/c/Program Files/Microsoft Visual Studio 
 8/Common7/IDE/VCExpress.exe wi
 n\WebKit.vcproj\WebKit.sln /build Release
 Do you have any idea? I installed Visual C++ 2005 Express 
 , Microsoft Visual 
 C++ Express 2005 Service Pack 1 
 and 
 Windows Platform SD 
 K
 
 Did I miss something?
Sounds like you did everything correctly. Unfortunately, Visual C++ 
Express does not give any output in the console while building, so you 
have to search for build errors in the build logs manually. You can find 
these build logs by executing the following command:

find ~/WebKit/WebKitBuild/obj -type f -name '*.htm'

One of those should contain some hint as to the error that happened 
during your build.

-Adam


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




Re: [webkit-dev] Webkit Building failed on Windows

2007-10-11 Thread James tu
send the build log again
   
  thanks

Kevin McCullough [EMAIL PROTECTED] wrote: 
  I don't see the log am I missing something?

�amp;nbsp;Kevin McCullough
  [EMAIL PROTECTED]


On Oct 10, 2007, at 4:43 PM, James tu wrote:

Hi Adam,
  I attached the buildlog in WebKitBuild\obj\WebCore\Release. It seems machine 
environment variables may not be correct. But don't know what exactly cause 
this?
   
  thanks

Adam Roben [EMAIL PROTECTED] wrote: 
  (CCing webkit-dev for the benefit of future question-askers)

James tu wrote:
 Hi Adam,
 I download cygwin package from open source webkit site and 
 reinstall it. After type WebKit/WebKitTools/Scripts/build-webkit, it 
 will build for about 2-3 minutes then exit without any message. 
 
 In the cygwin, it only shows 
 
 Checking mod-date of WebKitSupportLibrary.zip...
 Current WebKitSupportLibrary is up to date
 Building results into: /cygdrive/d/Profiles/w30339.DS/WebKit/WebKitBuild
 WEBKITOUTPUTDIR is set to: d:\Profiles\w30339.DS\WebKit\WebKitBuild
 WEBKITLIBRARIESDIR is set to: 
 d:\Profiles\w30339.DS\WebKit\WebKitLibraries\win
 /cygdrive/c/Program Files/Microsoft Visual Studio 
 8/Common7/IDE/VCExpress.exe wi
 n\WebKit.vcproj\WebKit.sln /build Release
 Do you have any idea? I installed Visual C++ 2005 Express 
 , Microsoft Visual 
 C++ Express 2005 Service Pack 1 
 and 
 Windows Platform SD 
 K
 
 Did I miss something?
Sounds like you did everything correctly. Unfortunately, Visual C++ 
Express does not give any output in the console while building, so you 
have to search for build errors in the build logs manually. You can find 
these build logs by executing the following command:

find ~/WebKit/WebKitBuild/obj -type f -name '*.htm'

One of those should contain some hint as to the error that happened 
during your build.

-Adam


ÿþ ___
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] Webkit Building failed on Windows

2007-10-11 Thread Adam Roben

James tu wrote:

build-generated-files.sh: line 2: $'\r': command not found
build-generated-files.sh: line 4: $'\r': command not found
realpath: No such file or directory
cygpath: cannot create short name of
build-generated-files.sh: line 11: export: `XSRCROOT': not a valid 
identifier

build-generated-files.sh: line 13: $'\r': command not found
build-generated-files.sh: line 15: export: `XDSTROOT': not a valid 
identifier
cygpath: cannot create short name of 
d:\Profiles\w30339.DS\WebKit\WebKitBuild
build-generated-files.sh: line 20: export: `XDSTROOT': not a valid 
identifier

build-generated-files.sh: line 21: $'\r': command not found
build-generated-files.sh: line 23: export: `SDKROOT': not a valid 
identifier
cygpath: cannot create short name of 
d:\Profiles\w30339.DS\WebKit\WebKitLibraries\win
build-generated-files.sh: line 28: export: `SDKROOT': not a valid 
identifier

build-generated-files.sh: line 29: $'\r': command not found
build-generated-files.sh: line 31: $'\r': command not found
build-generated-files.sh: line 44: syntax error: unexpected end of file


It looks like bash is screwing up somehow. It looks like it is at least 
unhappy about the line-endings of the build-generated-files.sh script 
(given the error on line 2). Did you check out the sources using 
Subversion from Cygwin? Did you configure Cygwin to use UNIX-style 
line-endings when you installed it? Is the version of bash that's being 
invoked the one that Cygwin installed?


-Adam

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