Vicky Tux | 2 Aug 2011 11:10
Picon

Reg. Multiple ResourceHandle...

Dear Webkit Developers,


I would like to have multiple http stacks active at a time(for example, cURL and libsoup). While looking the ResourceHandle class declaration(ResourceHandle.h) it is not a virtual base class, so that I can't inherit it and make my own stuff to work with webkit. Is it possible to have more than one stack active without modifying ResourceHandle class..?

Regards,
Vicky.
<div>
<p>Dear Webkit Developers,</p>
<div><br></div>
<div>I would like to have multiple http stacks active at a time(for example, cURL and libsoup). While looking the ResourceHandle class declaration(ResourceHandle.h)&nbsp;it is not a virtual base class, so that I can't inherit it and make my own stuff to work with webkit.&nbsp;Is it possible to have more than one stack active without modifying ResourceHandle class..?</div>
<div><br></div>
<div>Regards,</div>
<div>Vicky.</div>
</div>
Mike Thomas | 2 Aug 2011 18:33
Picon

Re: Running WebKit Cario on WinXP

Hi Kunio,

On Jul 27, 2011, at 6:29 PM, Kunio Yamazaki wrote:

>>>On Jul 21, 2011, at 12:16 PM, Mike Thomas wrote: >>> >>>> > But when I run the examples (WinLauncher), I get "The procedure entry point WSAPoll could not be located in the dynamic link library WS2_32.dll". >>>The same error occurs in me.
Were you able to get it WinCairo to work on WinXP?  I am still having an issue.

Thanks
Michael
<div>
<p>Hi Kunio,<br><br></p>On Jul 27, 2011, at 6:29 PM, Kunio Yamazaki wrote:<br><br>&gt;&gt;&gt;On Jul 21, 2011, at 12:16 PM, Mike Thomas wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; &gt; But when I run the examples (WinLauncher), I get "The procedure entry point WSAPoll could not be located in the dynamic link library WS2_32.dll".
&gt;&gt;&gt;The same error occurs in me. <br>Were you able to get it WinCairo to work on WinXP?&nbsp; I am still having an issue.<br><br>Thanks<br>Michael<br>
</div>
Adam Roben | 2 Aug 2011 20:14
Picon
Favicon

Re: errors of building webkit-r59711

On Jul 29, 2011, at 3:34 AM, wenmhappy wrote:

hi,
       I got errors when building webkit-r59711 with vs2008:
e:\webkit-r59711\webcore\platform\graphics\win\WKCACFLayer.h(144) : error C3861: 'CACFLayerSetClearsContext': identifier not found
e:\webkit-r59711\webcore\platform\graphics\win\WKCACFLayer.h(145) : error C3861: 'CACFLayerGetClearsContext': identifier not found
e:\webkit-r59711\webcore\platform\graphics\win\WKCACFLayer.h(162) : error C3861: 'CACFLayerSetFilters': identifier not found
e:\webkit-r59711\webcore\platform\graphics\win\WKCACFLayer.h(163) : error C3861: 'CACFLayerGetFilters': identifier not found
e:\webkit-r59711\webcore\platform\graphics\win\WKCACFLayer.h(208) : error C3861: 'CACFLayerSetSortsSublayers': identifier not found
e:\webkit-r59711\webcore\platform\graphics\win\WKCACFLayer.h(209) : error C3861: 'CACFLayerGetSortsSublayers': identifier not found
t hese functions are not declared in E:\WebKit-r59711\WebKitLibraries\win\include\QuartzCore\CACFLayer.h, but could be found in E:\WebKit-r59711\WebKitLibraries\win\lib\QuartzCore.lib.
 
..\platform\graphics\win\WKCACFLayerRenderer.cpp(420) : error C2065: 'm_renderer' : undeclared identifier
the class WKCACFLayerRenderer has no  m_renderer at all ,  why  people who write the code makes the problem?
 
I don`t understand why is there strange things like this.
who could help me?
I have done update-webkit.

If you have used update-webkit, why are you building such an old revision of WebKit? Do you have a version of WebKitSupportLibrary that corresponds to r59711, or are you building with the latest available WebKitSupportLibrary?

-Adam


<div>
<div>
<div>On Jul 29, 2011, at 3:34 AM, wenmhappy wrote:</div>
<br class="Apple-interchange-newline"><blockquote type="cite"><div>
<div>hi,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I got errors when building webkit-r59711 with vs2008:</div>
<div>e:\webkit-r59711\webcore\platform\graphics\win\WKCACFLayer.h(144) : error C3861: 'CACFLayerSetClearsContext': identifier not found<br>e:\webkit-r59711\webcore\platform\graphics\win\WKCACFLayer.h(145) : error C3861: 'CACFLayerGetClearsContext': identifier not found<br>e:\webkit-r59711\webcore\platform\graphics\win\WKCACFLayer.h(162) : error C3861: 'CACFLayerSetFilters': identifier not found<br>e:\webkit-r59711\webcore\platform\graphics\win\WKCACFLayer.h(163) : error C3861: 'CACFLayerGetFilters': identifier not found<br>e:\webkit-r59711\webcore\platform\graphics\win\WKCACFLayer.h(208) : error C3861: 'CACFLayerSetSortsSublayers': identifier not found<br>e:\webkit-r59711\webcore\platform\graphics\win\WKCACFLayer.h(209) : error C3861: 'CACFLayerGetSortsSublayers': identifier not found<br>t
 hese functions are not declared in E:\WebKit-r59711\WebKitLibraries\win\include\QuartzCore\CACFLayer.h, but could be found in E:\WebKit-r59711\WebKitLibraries\win\lib\QuartzCore.lib.</div>
<div>&nbsp;</div>
<div>..\platform\graphics\win\WKCACFLayerRenderer.cpp(420) : error C2065: 'm_renderer' : undeclared identifier</div>
<div>the class WKCACFLayerRenderer has no&nbsp; m_renderer at all ,&nbsp; why&nbsp; people who write the code makes the problem?</div>
<div>&nbsp;</div>
<div>I don`t understand why is there strange things like this.</div>
<div>who could help me?</div>
<div>I have done update-webkit.</div>
</div></blockquote>
<br>
</div>
<div>If you have used update-webkit, why are you building such an old revision of WebKit? Do you have a version of WebKitSupportLibrary that corresponds to r59711, or are you building with the latest available WebKitSupportLibrary?</div>
<div><br></div>
<div>-Adam</div>
<div><br></div>
<br>
</div>
Adam Roben | 2 Aug 2011 20:25
Picon
Favicon

Re: Build errors while compiling WTF component

On Jul 31, 2011, at 3:12 AM, Prashanth S wrote:

> 
> Hi ,
> 
> I have followed the steps installing the developer tools from webkit.org.I got pre-build event errors by
running build-webkit where there is no clue wht the problems .Now I am building the component
individually in Visual C++ .Now when compiling the WTF component ,I get the following errors.Can some
help me with a solution.
> ----------------------------------------------------------------------------------------------------------------------------------------------------
> 
> 1>------ Build started: Project: JavaScriptCoreGenerated, Configuration: Debug_All Win32 ------
> 1>Performing Makefile project actions
> 1>The system cannot find the path specified.
> 1> touch "%ConfigurationBuildDir%\buildfailed"
> 1>'touch' is not recognized as an internal or external command,
> 1>operable program or batch file.
> 1>NMAKE : fatal error U1077: 'touch' : return code '0x1'
> 1>Stop.
> 1>Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
> 1>Project : warning PRJ0018 : The following environment variables were not found:
> 1>$(PRODUCTION)
> 1>Build log was saved at "file://E:\source\home\PRASHANTH\Webkit\WebKitBuild\Debug_All\obj\JavaScriptCoreGenerated\BuildLog.htm"
> 1>JavaScriptCoreGenerated - 2 error(s), 0 warning(s)
> ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
> 
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> -- 

This looks like the kind of error that might occur if you don't have Cygwin installed. Do you have Cygwin installed?

-Adam

Kunio Yamazaki | 3 Aug 2011 02:30
Picon

Re: Running WebKit Cario on WinXP

Hi Michael,

(2011/08/03 1:33), Mike Thomas wrote:
> Hi Kunio,
> 
> On Jul 27, 2011, at 6:29 PM, Kunio Yamazaki wrote:
>>>> On Jul 21, 2011, at 12:16 PM, Mike Thomas wrote:
>>>>
>>>>> *>  But when I run the examples (WinLauncher), I get "The procedure entry point WSAPoll could not be
located in the dynamic link library WS2_32.dll".*
>>>The same error occurs in me.
> 
> Were you able to get it WinCairo to work on WinXP?  I am still having an issue.

No, I also still have a issue.

Because WinCairoRequirements.zip has not been renewed,
the issue cannot be solved. 
DLL that becomes a issue is libcurl.dll and cairo.dll. 

Yours sincerely
Kunio
Prashanth S | 3 Aug 2011 08:04
Picon

Re: Build errors while compiling WTF component

Hi Adam,

Thanks for ur reply.I have installed Cygwin in my system .But  I had not added the cygwin/bin path in System variables.This on adding solved the problem.

On Tue, Aug 2, 2011 at 11:55 PM, Adam Roben <aroben-2kanFRK1NckAvxtiuMwx3w@public.gmane.org> wrote:
On Jul 31, 2011, at 3:12 AM, Prashanth S wrote:

>
> Hi ,
>
> I have followed the steps installing the developer tools from webkit.org.I got pre-build event errors by running build-webkit where there is no clue wht the problems .Now I am building the component individually in Visual C++ .Now when compiling the WTF component ,I get the following errors.Can some help me with a solution.
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
> 1>------ Build started: Project: JavaScriptCoreGenerated, Configuration: Debug_All Win32 ------
> 1>Performing Makefile project actions
> 1>The system cannot find the path specified.
> 1> touch "%ConfigurationBuildDir%\buildfailed"
> 1>'touch' is not recognized as an internal or external command,
> 1>operable program or batch file.
> 1>NMAKE : fatal error U1077: 'touch' : return code '0x1'
> 1>Stop.
> 1>Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
> 1>Project : warning PRJ0018 : The following environment variables were not found:
> 1>$(PRODUCTION)
> 1>Build log was saved at "file://E:\source\home\PRASHANTH\Webkit\WebKitBuild\Debug_All\obj\JavaScriptCoreGenerated\BuildLog.htm"
> 1>JavaScriptCoreGenerated - 2 error(s), 0 warning(s)
> ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
>
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> --

This looks like the kind of error that might occur if you don't have Cygwin installed. Do you have Cygwin installed?

-Adam





--
With Regards,
Prashanth.S

<div>
<p>Hi Adam,<br><br>Thanks for ur reply.I have installed Cygwin in my system .But&nbsp; I had not added the cygwin/bin path in System variables.This on adding solved the problem.<br><br></p>
<div class="gmail_quote">On Tue, Aug 2, 2011 at 11:55 PM, Adam Roben <span dir="ltr">&lt;<a href="mailto:aroben <at> apple.com">aroben@...</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<div>
<div></div>
<div class="h5">On Jul 31, 2011, at 3:12 AM, Prashanth S wrote:<br><br>
&gt;<br>
&gt; Hi ,<br>
&gt;<br>
&gt; I have followed the steps installing the developer tools from webkit.org.I got pre-build event errors by running build-webkit where there is no clue wht the problems .Now I am building the component individually in Visual C++ .Now when compiling the WTF component ,I get the following errors.Can some help me with a solution.<br>

&gt; ----------------------------------------------------------------------------------------------------------------------------------------------------<br>
&gt;<br>
&gt; 1&gt;------ Build started: Project: JavaScriptCoreGenerated, Configuration: Debug_All Win32 ------<br>
&gt; 1&gt;Performing Makefile project actions<br>
&gt; 1&gt;The system cannot find the path specified.<br>
&gt; 1&gt; touch "%ConfigurationBuildDir%\buildfailed"<br>
&gt; 1&gt;'touch' is not recognized as an internal or external command,<br>
&gt; 1&gt;operable program or batch file.<br>
&gt; 1&gt;NMAKE : fatal error U1077: 'touch' : return code '0x1'<br>
&gt; 1&gt;Stop.<br>
&gt; 1&gt;Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"<br>
&gt; 1&gt;Project : warning PRJ0018 : The following environment variables were not found:<br>
&gt; 1&gt;$(PRODUCTION)<br>
&gt; 1&gt;Build log was saved at "file://E:\source\home\PRASHANTH\Webkit\WebKitBuild\Debug_All\obj\JavaScriptCoreGenerated\BuildLog.htm"<br>
&gt; 1&gt;JavaScriptCoreGenerated - 2 error(s), 0 warning(s)<br>
&gt; ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========<br>
&gt;<br>
&gt; -------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
&gt; --<br><br>
</div>
</div>This looks like the kind of error that might occur if you don't have Cygwin installed. Do you have Cygwin installed?<br><br>
-Adam<br><br><br>
</blockquote>
</div>
<br><br clear="all"><br>-- <br>With Regards,<br>Prashanth.S<br><br>
</div>
Prashanth S | 3 Aug 2011 08:13
Picon

Re: error of building webkit with vs2008

Hi Wen,

From ur post ,it is not clear about the problem.First tell me how are u building code.Is it  from cygwin shell or VS.Most of the problems are because the required dependencies for webkit are not installed as part of cygwin installation.We need to find that .

2011/7/28 wenmhappy <wenmhappy-KN7UnAbNpbg@public.gmane.org>
hi, everyone
 
     I am building webkit-r59711 on windows with vs2008,  cygwin and other tools have been installed, but errors still occurs.
 
Performing Pre-Build Event... /cygdrive/c/Cygwin/bin/bash cygwin warning: MS-DOS style path detected: E:\WebKit-r59711\WebKitBuild\buildfailed Preferred POSIX equivalent is: /cygdrive/e/WebKit-r59711/WebKitBuild/buildfailed CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'.
Results
    Build log was saved at "file://E:\WebKit-r59711\WebKitBuild\obj\DumpRenderTree\Debug\BuildLog.htm" DumpRenderTree - 1 error(s), 0 warning(s)
 
I don`t know why,  some projects can be built successfully.
Thanks very much for help from everyone.
2011-07-28





_______________________________________________
webkit-help mailing list
webkit-help-L0Ma0HqZfWbDNr2163bV0w@public.gmane.orgg
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help




--
With Regards,
Prashanth.S

<div>
<p>Hi Wen,<br><br>From ur post ,it is not clear about the problem.First tell me how are u building code.Is it&nbsp; from cygwin shell or VS.Most of the problems are because the required dependencies for webkit are not installed as part of cygwin installation.We need to find that .<br><br></p>
<div class="gmail_quote">2011/7/28 wenmhappy <span dir="ltr">&lt;<a href="mailto:wenmhappy@...">wenmhappy@...</a>&gt;</span><br><blockquote class="gmail_quote">
<div><div>
<div>
<div>
<div>hi, everyone</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; I am building webkit-r59711 on windows with vs2008,&nbsp; cygwin and other tools have been installed, but errors still occurs.</div>
<div>&nbsp;</div>
<div>
<table cellpadding="0" cellspacing="0" width=""><tr><td width="*">Performing Pre-Build Event...
/cygdrive/c/Cygwin/bin/bash
cygwin warning:
  MS-DOS style path detected: E:\WebKit-r59711\WebKitBuild\buildfailed
  Preferred POSIX equivalent is: /cygdrive/e/WebKit-r59711/WebKitBuild/buildfailed
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    <a href="http://cygwin.com/cygwin-ug-net/using.html#using-pathnames" target="_blank">http://cygwin.com/cygwin-ug-net/using.html#using-pathnames</a>
Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'.
</td></tr></table>
<table bgcolor="#dfdfe5" width="100%"><tr><td>Results </td></tr></table>
<table cellpadding="0" cellspacing="0" width=""><tr>
<td bgcolor="#ededf5" width="0">&nbsp;</td>
<td bgcolor="#ffffff" width="0">&nbsp;</td>
<td width="*">Build log was saved at "file://E:\WebKit-r59711\WebKitBuild\obj\DumpRenderTree\Debug\BuildLog.htm"
DumpRenderTree - 1 error(s), 0 warning(s)
</td>
</tr></table>
</div>
<div>&nbsp;</div>
<div>I don`t know why,&nbsp; some projects can be built successfully.</div>
<div>Thanks very much for help from everyone.</div>
<div align="left">2011-07-28 </div>
</div>
</div>
<br><br><span title="neteasefooter"><span></span></span>

</div></div>
<br><br><span title="neteasefooter"><span></span></span><br>_______________________________________________<br>
webkit-help mailing list<br><a href="mailto:webkit-help@...">webkit-help@...g</a><br><a href="http://lists.webkit.org/mailman/listinfo.cgi/webkit-help" target="_blank">http://lists.webkit.org/mailman/listinfo.cgi/webkit-help</a><br><br>
</blockquote>
</div>
<br><br clear="all"><br>-- <br>With Regards,<br>Prashanth.S<br><br>
</div>
ramu k | 3 Aug 2011 11:53
Picon

Webkit Build issue on Windows.

Hi,

 

Latest webkit has below error while start debugging the webkit using visual studio 2oo5 with Safari5.1.

 

"The procedure entry point u_strToUpper_4_0 could not be located in the dynamic link library icuuc40.dll".

 

Please help me if anyone already fixed this issue.

  

Thanks,

Ramu.

<div>
<span class="Apple-style-span"><p class="MsoNormal"></p>
<p class="MsoNormal"><span>Hi,</span><span></span></p>

<p class="MsoNormal"><span>&nbsp;</span><span></span></p>

<p class="MsoNormal"><span>Latest webkit has below error while start&nbsp;debugging&nbsp;the
webkit using visual studio 2oo5 with Safari5.1.</span><span></span></p>

<p class="MsoNormal"><span>&nbsp;</span><span></span></p>

<p class="MsoNormal"><span>"The procedure entry point u_strToUpper_4_0 could not be
located in the dynamic link library icuuc40.dll".</span><span></span></p>

<p class="MsoNormal"><span>&nbsp;</span><span></span></p>

<p class="MsoNormal"><span>Please help me if anyone already fixed this issue.</span><span></span></p>

<p></p></span><span class="Apple-style-span">&nbsp;</span><span class="Apple-style-span">&nbsp;</span><span class="Apple-style-span"><p class="MsoNormal">

</p>
<p class="MsoNormal"><span>Thanks,</span><span></span></p>

<p class="MsoNormal"><span>Ramu.</span><span></span></p>
<p></p></span>
</div>
Adam Roben | 3 Aug 2011 14:55
Picon
Favicon

Re: Webkit Build issue on Windows.

On Aug 3, 2011, at 5:53 AM, ramu k wrote:

Latest webkit has below error while start debugging the webkit using visual studio 2oo5 with Safari5.1.

 

"The procedure entry point u_strToUpper_4_0 could not be located in the dynamic link library icuuc40.dll".

 

Please help me if anyone already fixed this issue.


This is a known issue that we hope to have fixed soon. For now you can go back to using Safari 5.0.5 for WebKit development. Sorry for the inconvenience!

-Adam

<div>
<div>
<div>On Aug 3, 2011, at 5:53 AM, ramu k wrote:</div>
<br class="Apple-interchange-newline"><blockquote type="cite">
<span class="Apple-style-span">Latest webkit has below error while start&nbsp;debugging&nbsp;the
webkit using visual studio 2oo5 with Safari5.1.</span><span class="Apple-style-span"><p class="MsoNormal"></p>
<p class="MsoNormal"><span></span></p>
<div>
<span>&nbsp;</span><span></span><br class="webkit-block-placeholder">
</div>
<p class="MsoNormal"><span>"The procedure entry point u_strToUpper_4_0 could not be
located in the dynamic link library icuuc40.dll".</span><span></span></p>
<div>
<span>&nbsp;</span><span></span><br class="webkit-block-placeholder">
</div>
<p class="MsoNormal"><span>Please help me if anyone already fixed this issue.</span></p></span>
</blockquote>
<div><br></div>This is a known issue that we hope to have fixed soon. For now you can go back to using Safari 5.0.5 for WebKit development. Sorry for the inconvenience!</div>
<div><br></div>
<div>-Adam</div>
<div><br></div>
</div>
Michał Ostrowski | 3 Aug 2011 15:04

switching bindings at runtime

Hi

i'm working on adding some js api to dom objects, and part of it 
requires modification of object and embedded elements.
One of the obstacles i've encountered is that api should be different 
for different mimetypes specified in type attribute.
Has anyone know how to "switch" binding from default object binding to 
binding of my choice?

regards,
Michal

Gmane