Re: [webkit-dev] Webkit Building errors in VC++2005
Hi Mital I read that wiki page, as well as followed the guidelines beginning with http://webkit.org/building/tools.html to the lette. I had two colleagues do the same - same result. It was when I found the link included in the last mail that I finally got a breakthrough. There is just too much information missing in the official guidelines, I'm sorry to say. I would advice someone to rewrite it :) Regards Frank From: Mital Vora [mailto:mital.d.v...@gmail.com] Sent: 22. februar 2009 04:01 To: Frank Thomsen Cc: Saumya; webkit-dev@lists.webkit.org Subject: Re: [webkit-dev] Webkit Building errors in VC++2005 hi, It seems that u have not followed the instructions for building webkit in Windows. refer http://trac.webkit.org/wiki/BuildingOnWindows also check weather u have all the required packages for cygwin are installed properly. verify wiht the below list. https://dev.mobileread.com/trac/webkitbrowser/browser/trunk/WebKit-r30377/WebKitTools/CygwinDownloader/cygwin-downloader.py?rev=3 Regeards, Mital Vora. On Sat, Feb 21, 2009 at 10:26 PM, Frank Thomsen f...@trifork.commailto:f...@trifork.com wrote: Hi I ran into the exact same problem (amongst a lot of others); The guideline on webkit.orghttp://webkit.org it far from helpful. So I dug through the net and found the following two pages. Hopefully they can be of some assistance. Pay close(!) attention to the first - a lot of good hints! http://www.masonchang.com/2009/01/better-know-virtual-machine.html http://lists.macosforge.org/pipermail/webkit-dev/2008-May.txt Regards, Frank From: webkit-dev-boun...@lists.webkit.orgmailto:webkit-dev-boun...@lists.webkit.org [mailto:webkit-dev-boun...@lists.webkit.orgmailto:webkit-dev-boun...@lists.webkit.org] On Behalf Of Saumya Sent: 21. februar 2009 17:49 To: webkit-dev@lists.webkit.orgmailto:webkit-dev@lists.webkit.org Subject: [webkit-dev] Webkit Building errors in VC++2005 Hi I tried to build webkit in VC++ 2005.. I was about to solve the earlier problem but now when i debug an error says that 'Error1Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. i have also edited the embed manifest in the manifest tool in configuration properties in each project to No but still the error is there... build log is listed below... Creating temporary file C:\cygwin\home\Saumya\webkit\WebKitBuild\obj\ImageDiff\Release\BAT7355205172.bat with contents [ @echo off set PATH=%SystemDrive%\cygwin\bin;%PATH% if exist C:\cygwin\home\Saumya\webkit\WebKitBuild\buildfailed grep XXImageDiffXX C:\cygwin\home\Saumya\webkit\WebKitBuild\buildfailed if errorlevel 1 exit 1 echo XXImageDiffXX C:\cygwin\home\Saumya\webkit\WebKitBuild\buildfailed 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 C:\cygwin\home\Saumya\webkit\WebKitBuild\obj\ImageDiff\Release\BAT7355205172.bat And there is another error saying ' C2370: 'CSSValue' : redefinition; different storage class C:\cygwin\home\Saumya\webkit\WebKitBuild\obj\WebCore\DerivedSources\CSSValueKeywords.h ' Please Help... Regards, saumya ___ 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] want to port JIT to MIPS
Thanks a lot otherwise I have misunderstanding. Yes I'll do wrec first. I just want to clean up possible blocking issues. I see wrec uses regparm(3) and jit always use fastcall for X86? In JIT.cpp ctiTrampoline put CallFrame in edi, but how about other arguments - where are they be fetched/poped from stack? when deal with caller/callee saved regs, gcc MIPS just preserves them when necesasary. The problem is after JIT used gcc may not have enough knowledge on necessary, do we have a way to force gcc always preserve them? how to identify a patch (patchimm/patchptr/patchaddr) relates to a data field in an instruction or relates to an element in a data array? In Mips the former means the 32bit needs to be separated into two 16bits and patched into two instructions. But if a 32bit is a pointer in a pointer array, we can save it directly. rgds joe --- On Fri, 2/20/09, Gavin Barraclough barraclo...@apple.com wrote: From: Gavin Barraclough barraclo...@apple.com Subject: Re: [webkit-dev] want to port JIT to MIPS To: WebKit Development webkit-dev@lists.webkit.org Date: Friday, February 20, 2009, 2:01 PM On Feb 19, 2009, at 8:27 PM, x yz wrote: I'd appreaciate your help to clarify the problem I faced: 1.In JIT.cpp I roughly understand ctiTrampoline() except for sp-0x1C, I guess the 1C includes 6 argument yet the 7th or 1st may be the hidden C++ pointer? And the reserved 1C stack space seems not used? why esi is forced to be 512 rather than use input argument? The JIT allocates a fixed frame on the stack which is used to pass arguments into stub functions. The 0x1C contains a spare word or two to maintain stack alignment. %esi is used in the timeout check mechanism. 2.How to understand the stack balance in ctiVMThrowTrampoline()? why after calling we still add 1C w/o sub 1C before calling? where comes _ZN3JSC11Interpreter12cti_vm_throwEPPv and how do I know which name for Mips? does this one relates to variable argument function call? ctiVMThrowTrampoline is never called as a function (it is declared as a function only to provide a symbol that can be manipulated from C code). ctiVMThrowTrampoline is used in returning back from JIT generated code, in the case of an exception. 3.I know how to handle jump in Mips, but not sure how/when to handle patchAddress/patchImm/patchPointer because I'm not sure the instructions related. I guess all patches are for last 32bit IMM field of instructions. Mips can't load 32bit in one instruction, thus I need to know the instruction before I can patch/add in the 32bit data. 4.I'm kind of want no asm code outside assembler folder, any plan for that? No. The assembler is intended to be independent of JavaScript types - it's just an assembler. The asm trampolines are specific to the JIT. It is currently the intention that architecture specific parts of the JIT implementation will remain in the jit folder. I'd suggest that in attempting to port the jit, WREC would be a good place to start. cheers, G. rgds joe --- On Mon, 2/16/09, x yz last...@yahoo.com wrote: From: x yz last...@yahoo.com Subject: Re: [webkit-dev] want to port JIT to MIPS - when WREC/JIT enabled? To: Gavin Barraclough barraclo...@apple.com Cc: WebKit Development webkit-dev@lists.webkit.org Date: Monday, February 16, 2009, 5:25 AM Hi, from paltform.h it is enabled only on X86 MAC/WIN; from javaScriptCore.pri it is also enabled for (QT_ARCH,i386). But, from config.log I see them are enabled! how can I run WREC/JIT test so I can trace in X86 asm coce generated? thanks a lot. joe --- On Sat, 2/7/09, Gavin Barraclough barraclo...@apple.com wrote: From: Gavin Barraclough barraclo...@apple.com Subject: Re: [webkit-dev] want to port JIT to MIPS - using X86::ecx as base To: last...@yahoo.com Cc: WebKit Development webkit-dev@lists.webkit.org Date: Saturday, February 7, 2009, 7:08 AM On Feb 6, 2009, at 2:52 PM, x yz wrote: 1.what's the meaning of ALTERNATE_JSIMMEDIATE and slow case? On x86-64 we use a different implementation of the class JSImmediate. See JSImmediate.h. Re 'slow case', in the JIT code generation is performed as two passes over the bytecode – see JIT::privateCompileMainPass and JIT::privateCompileSlowCases. 2.how come the following code can use ECX as base register? load32(Address(X86::ecx, FIELD_OFFSET(Structure, m_typeInfo.m_flags)), X86::ecx); if the X86::ecx just means its value 1 in ModR/M, does it means [BX+DI]? I think you're looking at the old 16-bit addressing mode tables; 32/64-bit x86 can happily encode ecx as a base register. If you're looking at the Intel IA-32 manual volume 2, see table 2-2 on the next page. 3. can anybody help me on my previous questions? does JIT support floating point? Yes, some. See JITArithmetic.cpp. cheers,
[webkit-dev] Xcopy: Cannot perform a cyclic copy
Hi, I am working on a university project to build a webbrowser using WebKit framework for my class. I followed all the instruction on the webkit.orgpage, however, i get an error when i try to build webkit. The error message: Microsoft (R) Visual Studio Version 8.0.50727.762. Copyright (C) Microsoft Corp 1984-2005. All rights reserved. 1-- Build started: Project: JavaScriptCoreGenerated, Configuration: Release Win32 -- 1Performing Makefile project actions 1 xcopy /y/d/e/i ..\..\..\WebKitLibraries\win\tools c:\Webkit\WebKit-SVN-source\WebKit\WebKitLibraries\win\tools 1Cannot perform a cyclic copy 10 File(s) copied This is the first error that occurs. I know why Xcopy fails, but i don't know what i have to change to make it work. If anyone has an idea or experience with this error, please let me know. It will be very appreciated. I am using Windows XP, Visual Studio 2005. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Xcopy: Cannot perform a cyclic copy
I believe that output is not indicating a build failure and that it can be ignored. The WebKit Windows build produces a number of "red herring" outputs (output that looks like an error but isn't), and the traffic on this mailing list would likely be reduced if this was documented. Ditto for the other undocumented gotchas of the Windows build. Perhaps we should form a little committee to address this. Hi, I am working on a universityproject to build a webbrowser using WebKit framework for my class. I followed all the instruction on the webkit.org page, however, i get an error when i try to build webkit. The error message: "Microsoft (R) Visual Studio Version 8.0.50727.762. Copyright (C) Microsoft Corp 1984-2005. All rights reserved. 1-- Build started: Project: _javascript_CoreGenerated, Configuration: Release Win32 -- 1Performing Makefile project actions 1 xcopy /y/d/e/i "..\..\..\WebKitLibraries\win\tools" "c:\Webkit\WebKit-SVN-source\WebKit\WebKitLibraries\win\tools" 1Cannot perform a cyclic copy 10 File(s) copied" This is the first error that occurs. I knowwhyXcopy fails, but i don't know what i have to change to make it work. If anyone has an idea or experience with this error, please let me know. It will be very appreciated. I am using Windows XP, Visual Studio 2005. ___ 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] Error Handling in webkit
Hi Jenson, I didn't get curl header file in webkit.Can u explain in brief how can we convert curl error to http error? Where we have to make code changes in webkit so that we can get proper message on browser?Is there a standerd way to do this?I am new in webkit. Thanks in advance. Regards, Nitin On Fri, Feb 20, 2009 at 6:58 AM, Jenson Lui jhn...@gmail.com wrote: Hello, For the errorcode, my code just directly pass the curl error code. Refer to the curl header file for the error code and do a curl error - http error convert. Regards, Jenson On Thu, Feb 19, 2009 at 9:02 PM, Nitin Walke nitwa...@gmail.com wrote: Hi, Finally I can get errorcode in gtkapplication.Thanks for your suggestion. I have emitted a GTK signal (error-load-page) in the FrameLoaderClientGtk::shouldFallBack method and handled it in gtkapplication. Here I can get errorcode but errorcode are not matching with standard errorcode.For wrong url ie HTTP error it give errorcode '6' but standard errorcode is '404', for security exception it gives errorcode is '60'.If network is not available then errorcode is '7'. How can I do mapping this errorcode with standard errorcode?How can I give proper errormessage on browser using this errorcode? Regards, Nitin ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev