[webkit-dev] Can someone give current status for Webkit/GTK build under mingw

2009-08-05 Thread Nevo
hi :
   Im not sure if Im asking the right place 
   Can someone give the current status for Webkit/GTK  build under MinGW ?
   Now I've tried to configure and compile Webkit/gtk 1.1.5 under my Mingw
cross toolchain (gcc 4.2 g++ 4.2 ).  Directly configure/make was not
working as I expected, and after some tunings in generated GNUmakefile and
modifications in the code , I was able to compile the webkit libraries. But
interestingly , even with --enable-shared , I couldnot produce .dll files
at all, only .a and .la files are placed under .libs dir.
   So if someone can point out which version is supporting MinGW without the
need of hack, that would be helpful . Thanks

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


Re: [webkit-dev] Help! I can't survive building WebKit in Visual Studio 2005 IDE!

2009-06-17 Thread Nevo
From your log : missing pthread.h and uchar.h
 unicode/uchar.h and pthread.h are all located in WebKitSupportLibrary
,which would be extracted to WebKitLibraries under your source root .Check
the build script (I think it's readable enough) .I only built Webkit Win32
port once, saw the similar problem before ,just cannot remember how I fixed
that before . But I do believe  it should not be a serious issue to put you
mad :)



2009/6/17 张雷 zhang@kortide.com.cn


 3正在编译...
 3Assertions.cpp
 3ByteArray.cpp
 3CollatorDefault.cpp
 3d:\WebKit-r41121\JavaScriptCore\wtf/unicode/icu/UnicodeIcu.h(27) : fatal
 error C1083: 无法打开包括文件:“unicode/uchar.h”: No such file or directory
 3CollatorICU.cpp
 3d:\WebKit-r41121\JavaScriptCore\wtf/unicode/icu/UnicodeIcu.h(27) : fatal
 error C1083: 无法打开包括文件:“unicode/uchar.h”: No such file or directory
 3CurrentTime.cpp
 3dtoa.cpp
 3FastMalloc.cpp
 3..\..\wtf\FastMalloc.cpp(82) : fatal error C1083: 无法打开包括文件:“pthread.h”:
 No such file or directory
 3HashTable.cpp
 3项目 : warning PRJ0018 : 未找到下列环境变量:
 3$(PRODUCTION)
 3生成日志保存在“file://D:\WebKit-r41121\Output\obj\WTF\Debug\BuildLog.htm”
 3WTF - 3 个错误,0 个警告

 Building Webkit is a DAYMARE to me, and I'm afraid I cann't survive! Any
 help is appreciated! I've been nearly driven mad!!





 ___
 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] Help! I can't survive building WebKit in Visual Studio 2005 IDE!

2009-06-17 Thread Nevo
But someone better to document the detail building setup in the official
webkit building page (or at least provide a link to related wiki pages ).
Firefox has a well documented building guide (Im not complaining :))

2009/6/17 Nevo sakur.dea...@gmail.com

 I think Takeshi already show you the way :)

 just run WebKitTools/Scripts/update-webkit and then
 WebKitTools/Scripts/update-webkit-support-libs to fetch and extract both
 WebKitAuxiliaryLibrary.zip and WebKitSupportLibrary.zip .


 2009/6/17 张雷 zhang@kortide.com.cn

  What's WebKitAuxiliaryLibrary.zip? I searched it in my WebKit source
 folder but found none.

  原始信息 
 主题: Re: [webkit-dev] Help! I can't survive building WebKit in Visual
  Studio 2005 IDE!
 发件人: Takeshi Yoshino tyosh...@google.com tyosh...@google.com
 收件人: Ryosuke Niwa rn...@google.com rn...@google.com
 抄送: WebKit Development 
 webkit-dev@lists.webkit.orgwebkit-dev@lists.webkit.org
 日期: 2009-6-17 17:31

 Or just run WebKitTools/Scripts/update-webkit and then
 WebKitTools/Scripts/update-webkit-support-libs to fetch and extract both
 WebKitAuxiliaryLibrary.zip and WebKitSupportLibrary.zip .
 And then you'll be able to build using WebKit/win/WebKit.vcproj/WebKit.sln
 .

  Thanks,

  Takeshi


 2009/6/17 Ryosuke Niwa rn...@google.com

 You should still be able to use VS.net debugger with it.

 2009/6/17 Ryosuke Niwa rn...@google.com

 Instead of trying to build from Visual Studio, try
 WebKitTools/Scripts/build-webkit --debug on cygwin.
  Ryosuke

   On Tue, Jun 16, 2009 at 8:55 PM, 张雷 zhang@kortide.com.cn wrote:

  I tried several times, but failed always! God damn!
 I read all the instructions detailedly. These are my steps:

 Note: I already have VS2005 Professional Edition with sp1(Microsoft
 Visual Studio 2005 Team Suite Service Pack 
 1http://www.microsoft.com/downloads/details.aspx?familyid=BB4A75AB-E2D4-4C96-B39D-37BAF6B5B1DCdisplaylang=en)
 patched(But I don't have the other four suggested hotfixes intalled, for
 some reason).

 1)Install Cygwin with Cygwin downloader(All as instructed to do. Use
 Unix style line ending for my Cygwin.).
 2)Installthe QuickTime SDK.
 3)Get source code from Nightly Builds(I tried r41121 and the latest
 r44697 but failed building either).
 4)Place WebKit Support 
 Librarieshttp://developer.apple.com/opensource/internet/webkit_sptlib_agree.htmlin
  the root of WebKit soruce tree.
 5)Set WEBKITOUTPUTDIR and WEBKITLIBRARIESDIR
 6)Open WebKit.sln in VS2005 IDE and choose Debug and build solution.
 Then I get error message complainint that cannot open include file
 'unicode/uchar.h'. Detailed log message is as follows(errors are marked
 with red color):

 1-- 已启动生成: 项目: JavaScriptCoreGenerated, 配置: Release Win32 --
 2-- 已启动生成: 项目: record-memory-win, 配置: Release Win32 --
 1正在执行生成文件项目操作
 2正在编译...
 1 xcopy /y/d/e/i ..\..\..\WebKitLibraries\win\tools
 D:\WebKit-r41121\WebKitLibraries\win\tools
 1不能执行周期性复制
 1复制了 0 个文件
 1 touch D:\WebKit-r41121\Output\buildfailed
 1 bash build-generated-files.sh D:\WebKit-r41121\Output
 D:\WebKit-r41121\WebKitLibraries\win
 2main.cpp
 1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
 /cygdrive/d/WEBKIT~1/JAVASC~1/runtime/ArrayPrototype.cpp -i 
 ArrayPrototype.lut.h
 1/cygdrive/d/WEBKIT~1/JAVASC~1/pcre/dftables chartables.c
 1Creating hashtable for
 /cygdrive/d/WEBKIT~1/JAVASC~1/runtime/ArrayPrototype.cpp
 1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
 /cygdrive/d/WEBKIT~1/JAVASC~1/runtime/DatePrototype.cpp -i 
 DatePrototype.lut.h
 1Creating hashtable for
 /cygdrive/d/WEBKIT~1/JAVASC~1/runtime/DatePrototype.cpp
 1bison -d -p jscyy /cygdrive/d/WEBKIT~1/JAVASC~1/parser/Grammar.y -o
 Grammar.cpp  bison_out.txt 21
 2正在链接...
 2正在生成代码
 1perl -p -e 'END { if ($conflict) { unlink Grammar.cpp; die; } }
 $conflict ||= /conflict/'  bison_out.txt
 2已完成代码的生成
 1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
 /cygdrive/d/WEBKIT~1/JAVASC~1/parser/Keywords.table  Lexer.lut.h
 1Creating hashtable for
 /cygdrive/d/WEBKIT~1/JAVASC~1/parser/Keywords.table
 2正在嵌入清单...
 1touch Grammar.cpp.h
 1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
 /cygdrive/d/WEBKIT~1/JAVASC~1/runtime/MathObject.cpp -i  MathObject.lut.h
 2生成日志保存在“file://D:\WebKit-r41121\Output\obj\record-memory-win\Release\BuildLog.htm”
 2record-memory-win - 0 个错误,0 个警告
 1touch Grammar.hpp
 1Creating hashtable for
 /cygdrive/d/WEBKIT~1/JAVASC~1/runtime/MathObject.cpp
 1cat Grammar.cpp.h Grammar.hpp  Grammar.h
 1rm -f Grammar.cpp.h Grammar.hpp bison_out.txt
 1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
 /cygdrive/d/WEBKIT~1/JAVASC~1/runtime/NumberConstructor.cpp -i 
 NumberConstructor.lut.h
 1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
 /cygdrive/d/WEBKIT~1/JAVASC~1/runtime/RegExpConstructor.cpp -i 
 RegExpConstructor.lut.h
 1Creating hashtable for
 /cygdrive/d/WEBKIT~1/JAVASC~1/runtime/NumberConstructor.cpp
 1Creating hashtable for
 /cygdrive/d/WEBKIT~1/JAVASC~1/runtime/RegExpConstructor.cpp
 1/cygdrive/d/WEBKIT~1/JAVASC~1

Re: [webkit-dev] why js script var a = new XMLHttpRequest; , it's ok; but var a = new StyleSheet; , it'll throw an exception?

2009-06-05 Thread Nevo
hi:
I havn't used the StyleSheet object like in this way ,so here's my guess :
The stylesheet is usually defined in server side ,people usually retrieve
stylesheet via DOM StyleSheetObject (document.styleSheets). If you wanna
create a new StyleSheet in your javascript. you probably may look at this
http://eightpence.com/creating-new-css-stylesheets-with-javascript/

Nevo


2009/6/5 Suk Zhong sukmaill...@gmail.com

 Hi All:
We're trying to extend WebKit dom js binding.We have some questions.

in DOMWindow.idl having the following code:
attribute StyleSheetConstructor StyleSheet;
attribute [JSCCustomGetter] XMLHttpRequestConstructor XMLHttpRequest;

and we find class JSXMLHttpRequestConstructor has function
 getConstructData, while JSStyleSheetConstructor doesn't have function
 getConstructData.

if test the following js script:var a = new XMLHttpRequest;, it's
 ok;but var a = new StyleSheet;, it'll throw an exception.

and we trac this problem to Interpreter::privateExecute() and
 JSValuePtr::getConstructData function

inline ConstructType JSValuePtr::getConstructData(ConstructData
 constructData)
{
 return JSImmediate::isImmediate(asValue()) ? ConstructTypeNone :
 asCell()-getConstructData(constructData);
}
and we know this function returns ConstructTypeNone for
 JSStyleSheetConstructor object,  ConstructTypeHost for
 JSXMLHttpRequestConstructor object;

JSStyleSheetConstructor object and JSXMLHttpRequestConstructor object
 are returned by the same template function getDOMConstructor.

our questions are:

1.why it has this return?
2.which codes make the two object have different immediate value?
3.some people can explain the whole role of class JSImmediate?
4.our trac maybe be not correct,who can explain why newing StyleSheet
 has exception and newing XMLHttpRequest is OK?

 Thanks and Best Regards

 Suk

 ___
 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] searching for documents

2009-05-20 Thread Nevo
hmmm, im looking for those docs a couple of months ago, no good though. You
may want to take a look at WebKit/Gtk wiki notes and also, you may search
out the webkit mailinglist on some related topics in which you may find out
the ideas. Actually, the webkit code looks decent to understand ,at least
for a arthitecture overview, compared with mozilla huge source . Have fun :)


2009/5/20 守富 骆 luosho...@yahoo.com.cn

  Hi everyone,

 I'm newer for Webkit. I'm interested in WebKit, and if _possible_, I intend
 to port it to our own OS (Not Linux but like Linux, at very beginning, it is
 ported from FreeBSD, and it has its own window system, not X11 etc).

 And now, to have a big picture in my mind, I'm trying to search some
 documents for WebKit architecture, however, I can not find what I want in
 the website for WebKit. What I want is documents or related for architecture
 design, brief description for each directory in source tree, or HOWTO port.
 Anyone can give suggestion? Any help will be greatly appreciated!



 Your friend,
 Sean
 --
 好玩贺卡等你发,邮箱贺卡全新上线!http://cn.rd.yahoo.com/mail_cn/tagline/card/*http://card.mail.cn.yahoo.com/
 ___
 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] How webkit finds plug-ins

2009-05-14 Thread Nevo
hi, Graffine:WebKit would find Nescape plugins from the default firefox
plugin folders ~/.mozilla/plugins/ or firefox package root/plugins/ . No
particular plugin dir is required. Thanks

Nevo

2009/5/15 Graffine graff...@gmail.com

  Hi all:

 I want to test my npapi plugin. On Mac OS system, the plug-ins can be
 stored in /Library/Internet or ~/Library/Internet, but I don't know where
 should I put my plug-ins on linux OS system. Dose anyone know how webkit
 finds plug-ins in linux OS?

 Thanks,
 Graffine.

 ___
 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