Re: [webkit-dev] A webkit.dll demo?

2009-05-18 Thread Adam Roben

David Jones wrote:

Now I have successfully built webkit, and get the webkit.dll.
I'm gonna write a little routine which only provide a simple HTML page 
show job, much the same as :

demoBrowser.load(http://x.com;);
demoBrowser.show();
So, what are the required APIs of webkit.dll?


Take a look at the WinLauncher project (in WebKitTools/WinLauncher). 
That should get you started.


-Adam

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


Re: [webkit-dev] building errors about cmd.exe

2009-05-18 Thread Adam Roben

sitan2...@sina.com wrote:


Hi, there's some errors when I built webkit on Windows following 
instructions on webkit.org. It seems to be something wrong with cmd.exe.


I've read a lot of posts in this maillist, and found no solution for 
this kind of error.


I post it again, hoping to move further.

Attached is my error info:

*

16-- Build started: Project: TestNetscapePlugin, Configuration: 
Release Win32 --

16Performing Pre-Build Event...
16Project : error PRJ0002 : Error result 1 returned from 
'c:\WINDOWS\system32\cmd.exe'.
16Project : warning PRJ0018 : The following environment variables 
were not found:

16$(PRODUCTION)
16Build log was saved at 
file://C:\cygwin\home\Administrator\WebKit\WebKitBuild\obj\TestNetscapePlugin\Release\BuildLog.htm 
file:///C:/cygwin/home/Administrator/WebKit/WebKitBuild/obj/TestNetscapePlugin/Release/BuildLog.htm

16TestNetscapePlugin - 1 error(s), 0 warning(s)
17-- Build started: Project: ImageDiff, Configuration: Release 
Win32 --

17Performing Pre-Build Event...
17Project : error PRJ0002 : Error result 1 returned from 
'c:\WINDOWS\system32\cmd.exe'.
17Project : warning PRJ0018 : The following environment variables 
were not found:

17$(PRODUCTION)
17Build log was saved at 
file://C:\cygwin\home\Administrator\WebKit\WebKitBuild\obj\ImageDiff\Release\BuildLog.htm 
file:///C:/cygwin/home/Administrator/WebKit/WebKitBuild/obj/ImageDiff/Release/BuildLog.htm

17ImageDiff - 1 error(s), 0 warning(s)
18-- Build started: Project: DumpRenderTree, Configuration: 
Release Win32 --

18Performing Pre-Build Event...
18Project : error PRJ0002 : Error result 1 returned from 
'c:\WINDOWS\system32\cmd.exe'.
18Project : warning PRJ0018 : The following environment variables 
were not found:

18$(PRODUCTION)
18Build log was saved at 
file://C:\cygwin\home\Administrator\WebKit\WebKitBuild\obj\DumpRenderTree\Release\BuildLog.htm 
file:///C:/cygwin/home/Administrator/WebKit/WebKitBuild/obj/DumpRenderTree/Release/BuildLog.htm

18DumpRenderTree - 1 error(s), 0 warning(s)
== Build: 15 succeeded, 3 failed, 0 up-to-date, 0 skipped 
==




Each .vcproj in WebKit.sln performs the following operations 
before/after it builds:


Before:
1) does $(WebKitOutputDir)\buildfailed exist? If so, abort
2) write our project name to $(WebKitOutputDir)\buildfailed

After:
3) did I build successfully? If so, delete $(WebKitOutputDir)\buildfailed

(The very first project in WebKit.sln, WTF.vcproj, skips step (1), since 
we want to reset the buildfailed state at the start of each build of 
WebKit.sln.)


The errors you've pasted above are what you see when step (1) aborts. 
This usually indicates that some earlier project failed to build or was 
canceled.



if I run build-webkit again, I will get succeeded


Strange!


So, does that mean I successfully build webkit?



I believe so.


Why can't I successfully build it at the first time?



I'm not sure. When the build fails you could look at the contents of 
$(WebKitOutputDir)\buildfailed (i.e., WebKitBuild\buildfailed) to see 
which project failed to delete the buildfailed file in step (3).


Every first time I built a brand-new webkit, I get 3 errors exactly as 
listed first.




What do you mean by every first time? Isn't there only one first time?

-Adam

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


Re: [webkit-dev] building errors about cmd.exe

2009-05-18 Thread sitan2006

 if I run build-webkit again, I will get succeeded

Strange!
nbsp;
y, I think it's strange too. I execute build-webkit, get Build: 15 
succeeded, 3 failed, 0 up-to-date, 0 skipped and BUILD FAILED.
Without doing anything, I execute build-webkit again, getBuild: 6 succeeded, 
0 failed, 12 up-to-date, 0 skipped and WebKit is now built. To run Safari 
with this newly-builtnbsp;, as I posted in the mail before.

 So, does that mean I successfully build webkit?


I believe so.
nbsp;
Is there anything to check if my webkit is successfully built?
I find a WebKit.dll in WebKit/WebKitBuild/bin, whose sizenbsp;is 5.12M .

 Why can't I successfully build it at the first time?


I'm not sure. When the build fails you could look at the contents of 
$(WebKitOutputDir)\buildfailed (i.e., WebKitBuild\buildfailed) to see 
which project failed to delete the buildfailed file in step (3).

I've checked it. It'snbsp; XXjscXX in my WebKitBuild/buildfailed file.

 Every first time I built a brand-new webkit, I get 3 errors exactly as 
 listed first.


What do you mean by every first time? Isn't there only one first time?

After I've executed build-webkit, I will delete everything in WebKitBuild/, 
and run build-webkit again.
I refer this execution of build-webkit as the first time of my webkit 
building.
nbsp;
So, any advice?

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


Re: [webkit-dev] building errors about cmd.exe

2009-05-18 Thread Adam Roben

sitan2...@sina.com wrote:

 So, does that mean I successfully build webkit?



I believe so.

Is there anything to check if my webkit is successfully built?

I find a WebKit.dll in WebKit/WebKitBuild/bin, whose size is 5.12M .

 Why can't I successfully build it at the first time?


I'm not sure. When the build fails you could look at the contents of
$(WebKitOutputDir)\buildfailed (i.e., WebKitBuild\buildfailed) to see
which project failed to delete the buildfailed file in step (3).

I've checked it. It's XXjscXX in my WebKitBuild/buildfailed file.



OK, it sounds like jsc.vcproj is failing but the other projects are 
succeeding. jsc.vcproj produces jsc.exe, which is a JavaScript 
interpreter. Having jsc.exe fail to build doesn't affect whether 
WebKit.dll builds (since WebKit.dll builds first).


Does the BuildLog.htm file for jsc.vcproj mention any errors? You can 
find it at WebKitBuild/obj/jsc/Release/BuildLog.htm.


-Adam

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


[webkit-dev] Help for Flash Player plugin

2009-05-18 Thread Manish Patel
Hello all,

Sorry if i have reposted this thread.

I am developing an application for MAC with loads Flash Player plugin and
play SWF.
I am abloe to load Plugin and got Entry Points of Flash Player Plugin and
able to call that entry points.
Problem is that i am not able to load SWF file in that plugin. I am writing
a stream of SWF to Plugin but not loaded SWF.

So if anyone has done same then please provide me some source code or giude
to do so.


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


[webkit-dev] Help for Flash Player plugin

2009-05-18 Thread Manish Patel
Hello all,

Sorry if i have reposted this thread.

I am developing an application for MAC with loads Flash Player plugin and
play SWF.
I am abloe to load Plugin and got Entry Points of Flash Player Plugin and
able to call that entry points.
Problem is that i am not able to load SWF file in that plugin. I am writing
a stream of SWF to Plugin but not loaded SWF.

So if anyone has done same then please provide me some source code or giude
to do so.

-- 
Manish Patel
B.E. - Information Technology
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Multiple views of the same RenderBlock

2009-05-18 Thread Yan
Hello,
I've been wanting to add a proof of concept feature to a browser, and have
been looking at the source of WebKit to find what I need to modify. The core
functionality of what I've been trying to create is the ability to create
two views, with potentially different clip sizes and different scroll
positions of the same content. The initial goal is to have two side-by-side
frames (not proper HTML frames, but two Safari views of content alongside
each other) that are independently scrollable and whose content area is now
half the width of the original page. If I highlight content, fill input
fields or navigate through on one view, the other should refresh also.

My initial stab at the problem, I tried adding a RenderBlock to two distinct
RenderViews and tried messing with the RenderBlock hierarchy, but that just
led me to core dumps. I also looked at creating multiple WebFrameViews and
WebDynamicScrollBarsViews, but that led to similar results.

Can someone point me in a better direction? The ideal scenario would be to
create a Safari plugin (if that functionality is even able to be embedded in
a plugin) with an added feature to split the current view in two. Hacking
the source directly would be acceptable also.

Thank you in advance,
Yan
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] building errors about cmd.exe

2009-05-18 Thread sitan2006
Hi, I found a new clue which I think is the answer.
nbsp;
In jscCommon.vsprops, some shell commands about VS' post-build event:
nbsp;
nbsp;Tool
nbsp;nbsp;Name=VCPostBuildEventTool
nbsp;nbsp;CommandLine=if exist quot;$(WebKitOutputDir)\buildfailedquot; 
del quot;$(WebKitOutputDir)\buildfailedquot;#x0D;#x0A;#x0D;#x0A;mkdir 
2gt;NUL quot;$(WebKitOutputDir)\binquot;#x0D;#x0A;if exist 
quot;$(WebKitLibrariesDir)\bin\icudt40.dllquot; xcopy /y /d 
quot;$(WebKitLibrariesDir)\bin\icudt40.dllquot; 
quot;$(WebKitOutputDir)\binquot;#x0D;#x0A;if exist 
quot;$(WebKitLibrariesDir)\bin\icudt40$(LibraryConfigSuffix).dllquot; xcopy 
/y /d quot;$(WebKitLibrariesDir)\bin\icudt40$(LibraryConfigSuffix).dllquot; 
quot;$(WebKitOutputDir)\binquot;#x0D;#x0A;if exist 
quot;$(WebKitLibrariesDir)\bin\icuin40$(LibraryConfigSuffix).dllquot; xcopy 
/y /d quot;$(WebKitLibrariesDir)\bin\icuin40$(LibraryConfigSuffix).dllquot; 
quot;$(WebKitOutputDir)\binquot;#x0D;#x0A;if exist 
quot;$(WebKitLibrariesDir)\bin\icuuc40$(LibraryConfigSuffix).dllquot; xcopy 
/y /d quot;$(WebKitLibrariesDir)\bin\icuuc40$(LibraryConfigSuffix).dllquot; 
quot;$(WebKitOutputDir)\binquot;#x0D;#x0A;if exist 
quot;$(WebKitLibrariesDir)\bin\CoreFoundation$(LibraryConfigSuffix).dllquot; 
xcopy /y /d 
quot;$(WebKitLibrariesDir)\bin\CoreFoundation$(LibraryConfigSuffix).dllquot; 
quot;$(WebKitOutputDir)\binquot;#x0D;#x0A;if exist 
quot;$(WebKitLibrariesDir)\bin\CoreFoundation.resourcesquot; xcopy /y /d /e 
/i quot;$(WebKitLibrariesDir)\bin\CoreFoundation.resourcesquot; 
quot;$(WebKitOutputDir)\bin\CoreFoundation.resourcesquot;#x0D;#x0A;if exist 
quot;$(WebKitLibrariesDir)\bin\pthreadVC2$(LibraryConfigSuffix).dllquot; 
xcopy /y /d 
quot;$(WebKitLibrariesDir)\bin\pthreadVC2$(LibraryConfigSuffix).dllquot; 
quot;$(WebKitOutputDir)\binquot;#x0D;#x0A;if exist 
quot;$(WebKitLibrariesDir)\bin\objc$(LibraryConfigSuffix).dllquot; xcopy /y 
/d quot;$(WebKitLibrariesDir)\bin\objc$(LibraryConfigSuffix).dllquot; 
quot;$(WebKitOutputDir)\binquot;#x0D;#x0A;
nbsp;/

nbsp;
I checked the commands carefully,nbsp; and found that there's no bin/ under 
my WebKitLibraries/win/, also in the orginal Webkit, WebKitAuxiliaryLib.zip 
and WebKitSupportLibrary.zip.
Of course, there's no icudt40.dll and other .dll files.
nbsp;
Now I am quite sure that's the reason for jsc failed.
nbsp;
Well, what are these dll files for? Why there's no such files at all?


  So, does that mean I successfully build webkit?

 

 I believe so.

 Is there anything to check if my webkit is successfully built?

 I find a WebKit.dll in WebKit/WebKitBuild/bin, whose size is 5.12M .

  Why can't I successfully build it at the first time?
 

 I'm not sure. When the build fails you could look at the contents of
 $(WebKitOutputDir)\buildfailed (i.e., WebKitBuild\buildfailed) to see
 which project failed to delete the buildfailed file in step (3).

 I've checked it. It's XXjscXX in my WebKitBuild/buildfailed file.


OK, it sounds like jsc.vcproj is failing but the other projects are 
succeeding. jsc.vcproj produces jsc.exe, which is a JavaScript 
interpreter. Having jsc.exe fail to build doesn't affect whether 
WebKit.dll builds (since WebKit.dll builds first).

Does the BuildLog.htm file for jsc.vcproj mention any errors? You can 
find it at WebKitBuild/obj/jsc/Release/BuildLog.htm.

-Adam

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


[webkit-dev] How do I insert test-point into FrameLoader.cpp???

2009-05-18 Thread nguyen hai
Hi all,
I have had a big problem: I compile webkit through port Qt. My web browser runs 
too slowly. I want to insert test-points into it to know what cause makes 
slowness.
In my opinion, page loading progress takes much time so that I want to insert 
test-points into loading progress. I have inserted into FrameLoader.cpp but I 
had errors. 
Who can help me or has other solutions to solve the slowness of my web 
browser???
Thank you in advance!

Nguyen Hai

--- Chủ nhật, 17/05/09, webkit-dev-requ...@lists.webkit.org 
webkit-dev-requ...@lists.webkit.org đã viết:

Từ: webkit-dev-requ...@lists.webkit.org webkit-dev-requ...@lists.webkit.org
Chủ đề: webkit-dev Digest, Vol 48, Issue 21
Đến: webkit-dev@lists.webkit.org
Ngày: Chủ nhật, 17 tháng 5, 2009, 21:04

Send webkit-dev mailing list submissions to
    webkit-dev@lists.webkit.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
or, via email, send a message with subject or body 'help' to
    webkit-dev-requ...@lists.webkit.org

You can reach the person managing the list at
    webkit-dev-ow...@lists.webkit.org

When replying, please edit your Subject line so it is more specific
than Re: Contents of webkit-dev digest...


Today's Topics:

   1. A webkit.dll demo? (David Jones)
   2. Re: build on ubuntu not working as expected (anurag uniyal)


--

Message: 1
Date: Sun, 17 May 2009 11:53:29 +0800 (CST)
From: David Jones ds...@163.com
To: webkit-dev webkit-dev@lists.webkit.org
Subject: [webkit-dev] A webkit.dll demo?
Message-ID:
    16461512.77851242532409182.javamail.corem...@bj163app20.163.com
Content-Type: text/plain; charset=gbk

Now I have successfully built webkit, and get the webkit.dll.
I'm gonna write a little routine which only provide a simple HTML page show 
job, much the same as :
 
demoBrowser.load(http://x.com;);
demoBrowser.show();
 
So, what are the required APIs of webkit.dll?
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.webkit.org/pipermail/webkit-dev/attachments/20090517/33bb429e/attachment-0001.html

--

Message: 2
Date: Sun, 17 May 2009 09:36:49 +0530 (IST)
From: anurag uniyal anuraguni...@yahoo.com
To: anurag uniyal anuraguni...@yahoo.com,
    webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] build on ubuntu not working as expected
Message-ID: 911674.85899...@web94506.mail.in2.yahoo.com
Content-Type: text/plain; charset=iso-8859-1

can anybody give any pointers?




From: anurag uniyal anuraguni...@yahoo.com
To: webkit-dev@lists.webkit.org
Sent: Friday, 15 May, 2009 3:34:55 PM
Subject: [webkit-dev] build on ubuntu not working as expected




I first posted it on webkitsdk-...@lists.apple.com but was redirected here.

Hi,

I am facing problem in running latest build on ubuntu.

Problem:
I build revision 41937 sometime back and wxBrowser and my own wxPython browser 
was working fine

Today i updated to revision 43688.
1.
First I got an error at line 329 platform/network/curl/ResourceHandleManager.cpp
url not defined in this scope
so i moved out char* url out of #ifndef NDEBUG 

after that build was successful, regresion test also passed except few date 
test which were same in last revision too

2. now wxBrowser does not work as expected e.g.
on opening www.google.com 
a) it takes too much time
b) image are not displayed
c) it doesn't go to any other link, just stuck at loading...

for build I used 
./set-webkit-configuration --release
./build-webkit --wx --wx-args=wxgc wxpython

my system is
GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Linux-2.6.24-19-generic-i686-with-debian-lenny-sid'

Any tips are appreciated.

Thanks
Anurag



 From Chandigarh to Chennai - find friends all over India. Click here.

 Share files, take polls, and make new friends - all under one roof. Click here.


      Own a website.Get an unlimited package.Pay next to nothing.*Go to 
http://in.business.yahoo.com/
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.webkit.org/pipermail/webkit-dev/attachments/20090517/970a3a9b/attachment-0001.html

--

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


End of webkit-dev Digest, Vol 48, Issue 21
**



  Lướt web nhanh hơn. Internet Explorer 8 tối ưu hóa cho Yahoo!, tự động 
khởi động 2 trang bạn thích mỗi lần mở trình duyệt. Tải IE8 tại đây! 
http://downloads.yahoo.com/vn/internetexplorer/___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev