Ax Jiang | 1 Jul 2011 02:23
Picon

error in building webkit

Hi All

When I tried to build webkit on win7 with Visual Studio 9, I ran into the following problems:
"
..\..\wtf\FastMalloc.cpp(83) : fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
2>c:\WebKit\Source\JavaScriptCore\wtf/unicode/icu/UnicodeIcu.h(27) : fatal error C1083: Cannot open include file: 'unicode/uchar.h': No such file or directory
2>MainThreadWin.cpp
2>TCSystemAlloc.cpp
2>RandomNumber.cpp
2>dtoa.cpp
2>c:\WebKit\Source\JavaScriptCore\wtf/unicode/icu/UnicodeIcu.h(27) : fatal error C1083: Cannot open include file: 'unicode/uchar.h': No such file or directory
"

The pthread.h and uchar.h DO exist in /usr/include directory of cgywin. 
So I guess there is a step like configuration I might miss, 
Any help?

thanks
Wu
<div>
<span class="Apple-style-span">Hi All<div><br></div>
<div>When I tried to build webkit on win7 with Visual Studio 9, I ran into the following problems:</div>
<div>"</div>
<div>..\..\wtf\FastMalloc.cpp(83) : fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory</div>
<div>
<div>2&gt;c:\WebKit\Source\JavaScriptCore\wtf/unicode/icu/UnicodeIcu.h(27) : fatal error C1083: Cannot open include file: 'unicode/uchar.h': No such file or directory</div>
<div>2&gt;MainThreadWin.cpp</div>
<div>2&gt;TCSystemAlloc.cpp</div>
<div>2&gt;RandomNumber.cpp</div>
<div>2&gt;dtoa.cpp</div>
<div>2&gt;c:\WebKit\Source\JavaScriptCore\wtf/unicode/icu/UnicodeIcu.h(27) : fatal error C1083: Cannot open include file: 'unicode/uchar.h': No such file or directory</div>
</div>
<div>"</div>
<div><br></div></span><span class="Apple-style-span"><div>The pthread.h and uchar.h DO exist in /usr/include directory of cgywin.&nbsp;</div>
</span><span class="Apple-style-span"><div>So I guess there is a step like configuration I might miss,&nbsp;</div>
<div>Any help?</div>
<div><br></div>
<div>thanks</div>
<div>Wu</div></span>
</div>
Mustafizur Rahaman | 1 Jul 2011 06:35
Picon

Re: error in building webkit

Hi,

It seems like your WebKit Support Libraries are not proper, the tool chain might not found it. Did you follow this http://www.webkit.org/building/checkout.html under the "Windows" section?

Thanks,
Rahaman

On Fri, Jul 1, 2011 at 5:53 AM, Ax Jiang <jiangax09-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi All

When I tried to build webkit on win7 with Visual Studio 9, I ran into the following problems:
"
..\..\wtf\FastMalloc.cpp(83) : fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
2>c:\WebKit\Source\JavaScriptCore\wtf/unicode/icu/UnicodeIcu.h(27) : fatal error C1083: Cannot open include file: 'unicode/uchar.h': No such file or directory
2>MainThreadWin.cpp
2>TCSystemAlloc.cpp
2>RandomNumber.cpp
2>dtoa.cpp
2>c:\WebKit\Source\JavaScriptCore\wtf/unicode/icu/UnicodeIcu.h(27) : fatal error C1083: Cannot open include file: 'unicode/uchar.h': No such file or directory
"

The pthread.h and uchar.h DO exist in /usr/include directory of cgywin. 
So I guess there is a step like configuration I might miss, 
Any help?

thanks
Wu

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


<div>
<p>Hi,<br><br>It seems like your WebKit Support Libraries are not proper, the tool chain might not found it. Did you follow this <a href="http://www.webkit.org/building/checkout.html">http://www.webkit.org/building/checkout.html</a> under the "Windows" section?<br><br>Thanks,<br>Rahaman<br><br></p>
<div class="gmail_quote">On Fri, Jul 1, 2011 at 5:53 AM, Ax Jiang <span dir="ltr">&lt;<a href="mailto:jiangax09 <at> gmail.com">jiangax09@...</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<span>Hi All<div><br></div>
<div>When I tried to build webkit on win7 with Visual Studio 9, I ran into the following problems:</div>
<div>"</div>
<div>..\..\wtf\FastMalloc.cpp(83) : fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory</div>
<div>
<div>2&gt;c:\WebKit\Source\JavaScriptCore\wtf/unicode/icu/UnicodeIcu.h(27) : fatal error C1083: Cannot open include file: 'unicode/uchar.h': No such file or directory</div>

<div>2&gt;MainThreadWin.cpp</div>
<div>2&gt;TCSystemAlloc.cpp</div>
<div>2&gt;RandomNumber.cpp</div>
<div>2&gt;dtoa.cpp</div>
<div>2&gt;c:\WebKit\Source\JavaScriptCore\wtf/unicode/icu/UnicodeIcu.h(27) : fatal error C1083: Cannot open include file: 'unicode/uchar.h': No such file or directory</div>

</div>
<div>"</div>
<div><br></div></span><span><div>The pthread.h and uchar.h DO exist in /usr/include directory of cgywin.&nbsp;</div>
</span><span><div>So I guess there is a step like configuration I might miss,&nbsp;</div>
<div>Any help?</div>
<div><br></div>
<div>thanks</div>
<div>Wu</div></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>
</div>
Luca Venturelli | 1 Jul 2011 20:14
Picon

informations

GoodMorning, I'm Luca, a young developer that is starting to develop
with Webkit to make a web application.
I have to make a post request with webkit. How can I do that?

Thanks in advance

BR

Luca
Julien Chaffraix | 2 Jul 2011 20:06
Picon

Re: informations

Hi,

Before asking questions here, you should check out
http://www.webkit.org/asking_questions.html. We are not in your head
and with so little information, it's difficult to give a good answer.

> I have to make a post request with webkit. How can I do that?

This sounds like an HTML / JavaScript question but there must be a way
to do that from your program using your platform's HTTP library. As we
don't know which platform you are using that's the most we can tell.

JavaScript and HTML questions would be better answered on
web-developers mailing lists or forums. Here is 2 ways to do it (you
will have to fill in the gap): XMLHttpRequest or submitting a <form>
element.

Hope it helps,
Julien
Vicky Tux | 4 Jul 2011 10:53
Picon

Reg. New Plugin..

Hi Team,


Actually i'm trying to add new plugin without npapi implementation. My plugin code statically linked with webkit code, not suppose to load with npapi style functions.

For example,

<object type="application/x-messenger" id="messenger"/>

<script>
messenger=document.getElementById("messenger");
messenger.setServer("y.com",5000);
messenger.onConnect=function(status){alert('connected');};
messenger.setUser("aaa <at> y.com","pass");
messenger.login();
</script>

According to my analysis to handle the above things in native i have to stick with npapi style plugin interface. I think have to implement a huge code base to achieve the basic functionality like above code snippet. So is there any way to register my native codes in createPlugin(WebFrameLoaderClient.cpp) othere than npapi style..?

Regards,
Vicky.
<div>
<p>Hi Team,</p>
<div><br></div>
<div>Actually i'm trying to add new plugin without npapi implementation. My plugin code statically linked with webkit code, not suppose to load with npapi style functions.</div>
<div><br></div>
<div>
For example,</div>
<div><br></div>
<div>&lt;object type="application/x-messenger" id="messenger"/&gt;</div>
<div><br></div>
<div>&lt;script&gt;</div>
<div>messenger=document.getElementById("messenger");</div>
<div>messenger.setServer("<a href="http://y.com">y.com</a>",5000);</div>
<div>messenger.onConnect=function(status){alert('connected');};</div>
<div>messenger.setUser("<a href="mailto:aaa <at> y.com">aaa <at> y.com</a>","pass");</div>
<div>messenger.login();</div>
<div>&lt;/script&gt;</div>
<div><br></div>
<div>According to my analysis to handle the above things in native i have to stick with npapi style plugin interface. I think have to implement a huge code base to&nbsp;achieve the basic functionality like above code snippet. So is there any way to register my native codes in createPlugin(WebFrameLoaderClient.cpp) othere than npapi style..?</div>
<div><br></div>
<div>Regards,</div>
<div>Vicky.</div>
</div>
Vicky Tux | 4 Jul 2011 15:45
Picon

Re: Reg.Webkit Memory Leak...

Hi,
Thank u for your kind support. we check the memory related in  cairo based winlancher . If we use winlancher for 20-30 minutes in orkut and flickr websites. I got the following  memory leak result when exit from the browser.

LEAK: 1 XMLHttpRequest
LEAK: 5185 WebCoreNode
LEAK: 63 CachedResource

So the lot of nodes and Cached resource are not freed. The memory leak is not a big issue for pc based webkit.but we ported the webkkit on embedded platform.The memory leak is a very big isuue in the embedded platforms.so unable to use the webkit more than 15 minuts. Entire memory is exhausted due  memory leak.

And then If we just launch browser & then exit without opening any page. at that time small amount of memory like X kb size only not freed. we assume for this X kb size is related to initialize the browser. 
 
Please help me to solve this proplem.

Thanks & Regards,
Vicky.



On Sat, Jun 25, 2011 at 8:30 AM, Mustafizur Rahaman <mustaf.here-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi Vicky,

It would be much better if you could respond on the previous thread for the same problem (where I had responded you), it is much easier for people to track the discussion. Please don't start new thread everyday for the same discussion.

If you are saying same amount memory is consumed and freed when going from one website to another, I am not sure how you are not able to use this for more than 10-15 mins. Did you check that memory fragmentation angle?


and the some amount of memory is freed when exit from browser.But still ~25 MB not freed even exit from the browser.
At one point you are saying, same amount of memory is freed when exiting from browser and then you are again saying it is not freed. So, I am little confused here.

If you just launch browser & then exit without opening any page, was there any memory leak? This would help narrowing down whether you have any problem in webkit init sequence Or when you load any page?

Thanks,
Rahaman

On Fri, Jun 24, 2011 at 6:51 PM, Vicky Tux <ssseintr2 <at> gmail.com> wrote:
Hi,
I am using webkit[webkit-r86784] on STLinux platform, with cairo graphics. We have 50 MB in the heap,If I use the webkit for 10-15 minutes in "http://www.flicker.com" only. At that time webkit  nearly 42 MB is used from heap. the some amount memory only freed when go to next websites like google and the some amount of memory is freed when exit from browser.But still ~25 MB not freed even exit from the browser.

Similarly webkit consume lot of memory[nearlly 40~45 MB] when enter into the orkut. lot memory is not freed even exit from browser.

So unable to use the webkit more than 15 minuts.

Please help me to solve this problem.

Note :1.I'm running Webkit with 8 Mb of Cache 
         2.We are working on embedded platfrom so we have the limited memory.


Thanks & Regards,
Vicky.

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



<div>
<div>Hi,</div>
<div>Thank u for your kind support. we check the memory related in &nbsp;cairo based winlancher . If we use winlancher for 20-30 minutes in orkut and flickr websites. I got the&nbsp;following &nbsp;memory leak result when exit from the browser.</div>
<div><br></div>
<div>LEAK: 1 XMLHttpRequest</div>
<div>LEAK: 5185 WebCoreNode</div>
<div>LEAK: 63 CachedResource</div>
<div><br></div>
<div>So the lot of nodes and Cached resource are not freed. The memory leak is not a big issue for pc based webkit.but we ported the webkkit on embedded platform.The memory leak is a very big isuue in the embedded platforms.so unable to use the webkit more than 15 minuts. Entire&nbsp;memory is exhausted due &nbsp;memory leak.</div>
<div><br></div>
<div>And then&nbsp;<span class="Apple-style-span">If we just launch browser &amp; then exit without opening any page. at that time small amount of memory like X kb size only not freed. we assume for this X kb size is related to initialize the browser.&nbsp;</span>
</div>
<div><span class="Apple-style-span">&nbsp;</span></div>
<div>Please help me to solve this proplem.</div>
<div><br></div>
<div>
<div>Thanks &amp; Regards,</div>
<div>Vicky.</div>
</div>
<div><br></div>
<div><br></div>
<br><div class="gmail_quote">On Sat, Jun 25, 2011 at 8:30 AM, Mustafizur Rahaman <span dir="ltr">&lt;<a href="mailto:mustaf.here@...">mustaf.here@...</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">Hi Vicky,<br><br>It would be much better if you could respond on the previous thread for the same problem (where I had responded you), it is much easier for people to track the discussion. Please don't start new thread everyday for the same discussion.<br><br>If you are saying same amount memory is consumed and freed when going from one website to another, I am not sure how you are not able to use this for more than 10-15 mins. Did you check that memory fragmentation angle?<div class="im">
<br><br><blockquote class="gmail_quote">
<span> and the some amount of memory is freed when exit from browser.But&nbsp;</span>still ~25 MB not freed even exit from the browser.<br>
</blockquote>
</div>At one point you are saying, same amount of memory is freed when exiting from browser and then you are again saying it is not freed. So, I am little confused here.<br><br>If you just launch browser &amp; then exit without opening any page, was there any memory leak? This would help narrowing down whether you have any problem in webkit init sequence Or when you load any page?<br><br>Thanks,<br>Rahaman<br><br><div class="gmail_quote">
<div>
<div></div>
<div class="h5">On Fri, Jun 24, 2011 at 6:51 PM, Vicky Tux <span dir="ltr">&lt;<a href="mailto:ssseintr2@..." target="_blank">ssseintr2 <at> gmail.com</a>&gt;</span> wrote:<br>
</div>
</div>
<blockquote class="gmail_quote">
<div>
<div></div>
<div class="h5">
<div>Hi,</div>
<div>
<span>I am using webkit[webkit-r86784] on STLinux platform, with cairo graphics. We have 50 MB in the heap,If I use the webkit for 10-15 minutes in "<a href="http://www.flicker.com" target="_blank">http://www.flicker.com</a>" only. At that time webkit &nbsp;nearly&nbsp;42 MB is used from heap. the some amount memory&nbsp;</span>only freed<span>&nbsp;when go to next websites like google and the some amount of memory is freed when exit from browser.But&nbsp;</span>still ~25 MB not freed even exit from the browser.</div>

<div><br></div>
<div>Similarly&nbsp;webkit consume lot of memory[nearlly 40~45 MB] when enter into the orkut. lot memory is not freed even exit from browser.</div>
<div><br></div>
<div>So unable to use the webkit more than 15 minuts.</div>

<div><br></div>
<div>Please help me to solve this&nbsp;problem.</div>
<div><br></div>
<div>Note :1.<span>I'm running Webkit with 8 Mb of Cache</span>&nbsp;</div>

<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2.We are working on embedded platfrom so we have the limited memory.</div>
<div><br></div>
<div><br></div>
<div>Thanks &amp; Regards,</div>
<div>Vicky.</div>
<br>
</div>
</div>_______________________________________________<br>
webkit-help mailing list<br><a href="mailto:webkit-help@..." target="_blank">webkit-help@...</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>
</blockquote>
</div>
<br>
</div>
Picon

WebKit training

Hi!

I am looking for a webkit course in which a group of engineers of my
company learn about webkit. I have not found any organization that
provides this training.

The course agenda would be something similar to:

- Introduction
- Understanding the object-oriented design of the core WebKit classes.
- WebKitCore and JSCore.
- Extending/Hacking WebKit.
- WebKit2.

I am wondering if any of you could give me some information about where
to find out this course.

Do not hesitate to contact me if you require further information.

I look forward to hearing from you soon.

Respectfully,
José Antonio.

Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y
recepción de correo electrónico en el enlace situado más abajo.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the
terms set out at.
http://www.tid.es/ES/PAGINAS/disclaimer.aspx
SravanKumar Sandela | 5 Jul 2011 15:32
Picon

Re: WebKit training

Hi Jose,


As far as i know, I  am afraid there is no formal trainer/training for WebKit as of now.
But following videos and links might give you a little insight about WebCore and LayoutTests.

http://trac.webkit.org/wiki --- All around WebKit.

http://www.webkit.org/projects/ --- Some good blogs and documentation on specific topics.

These things should be good enough for you to get started. And from there on self-learning through bug fixes might help. 

I know this reply wont satisfy your needs, but trust me this is the best you could get. 
May be others will help you if they have some.

Regards,
-Sravan.



On Tue, Jul 5, 2011 at 6:35 PM, JOSE ANTONIO OLIVERA ORTEGA <jaoo-tvGg3WeTtng@public.gmane.org> wrote:
Hi!

I am looking for a webkit course in which a group of engineers of my
company learn about webkit. I have not found any organization that
provides this training.

The course agenda would be something similar to:

- Introduction
- Understanding the object-oriented design of the core WebKit classes.
- WebKitCore and JSCore.
- Extending/Hacking WebKit.
- WebKit2.

I am wondering if any of you could give me some information about where
to find out this course.

Do not hesitate to contact me if you require further information.

I look forward to hearing from you soon.

Respectfully,
José Antonio.



Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at.
http://www.tid.es/ES/PAGINAS/disclaimer.aspx
_______________________________________________
webkit-help mailing list
webkit-help-L0Ma0HqZfWbDNr2163bV0w@public.gmane.orgg
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help



--
Living for the unseen and undone....
<div>
<p>Hi Jose,</p>
<div><br></div>
<div>As far as i know, I &nbsp;am afraid there is no formal trainer/training for WebKit as of now.</div>
<div>But following videos and links might give you a little insight about WebCore and LayoutTests.</div>

<div><br></div>
<div>
<a href="http://www.youtube.com/watch?v=RVnARGhhs9w">http://www.youtube.com/watch?v=RVnARGhhs9w</a>&nbsp;-- WebCore</div>
<div>
<a href="http://www.youtube.com/watch?v=bO3XEBuIDns">http://www.youtube.com/watch?v=bO3XEBuIDns</a>&nbsp;-- Layout Tests</div>

<div>
<a href="http://trac.webkit.org/wiki">http://trac.webkit.org/wiki</a>&nbsp;--- All around WebKit.</div>
<div><br></div>
<div>
<a href="http://www.webkit.org/projects/">http://www.webkit.org/projects/</a>&nbsp;--- Some good blogs and documentation on specific topics.</div>

<div><br></div>
<div>These things should be good enough for you to get started. And from there on self-learning through bug fixes might help.&nbsp;</div>
<div><br></div>
<div>I know this reply wont satisfy your needs, but trust me this is the best you could get.&nbsp;</div>

<div>May be others will help you if they have some.</div>
<div><br></div>
<div>Regards,</div>
<div>-Sravan.</div>
<div><br></div>
<div>
<br><br><div class="gmail_quote">On Tue, Jul 5, 2011 at 6:35 PM, JOSE ANTONIO OLIVERA ORTEGA <span dir="ltr">&lt;<a href="mailto:jaoo@...">jaoo@...</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">Hi!<br><br>
I am looking for a webkit course in which a group of engineers of my<br>
company learn about webkit. I have not found any organization that<br>
provides this training.<br><br>
The course agenda would be something similar to:<br><br>
- Introduction<br>
- Understanding the object-oriented design of the core WebKit classes.<br>
- WebKitCore and JSCore.<br>
- Extending/Hacking WebKit.<br>
- WebKit2.<br><br>
I am wondering if any of you could give me some information about where<br>
to find out this course.<br><br>
Do not hesitate to contact me if you require further information.<br><br>
I look forward to hearing from you soon.<br><br>
Respectfully,<br>
Jos&eacute; Antonio.<br><br><br><br>
Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra pol&iacute;tica de env&iacute;o y recepci&oacute;n de correo electr&oacute;nico en el enlace situado m&aacute;s abajo.<br>
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at.<br><a href="http://www.tid.es/ES/PAGINAS/disclaimer.aspx" target="_blank">http://www.tid.es/ES/PAGINAS/disclaimer.aspx</a><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>
</blockquote>
</div>
<br><br clear="all"><br>-- <br>Living for the unseen and undone....<br>
</div>
</div>
孙光 | 6 Jul 2011 12:25
Favicon

how to build webkit for windows mobile

Hi!
I want to embed webkit function into my applicatin which will be running on windows mobile.
But I have very little kownledge about webkit.
My development environment is windows XP + VS2005, now i have download the webkit source and set the development environment.
There are some questions for me:
1. How to build the webkit for windows mobile.
2. Are there any demonstrations for my situation, I have googled it for some days, but I got nothing.

Best Regards
Sun Guang


<div>
<div>Hi!<br>I want to embed webkit function into my applicatin which will be running on windows mobile.<br>But I have very little kownledge about webkit.<br>My development environment is windows XP + VS2005, now i have download the webkit source and set the development environment.<br>There are some questions for me:<br>1. How to build the webkit for windows mobile.<br>2. Are there any demonstrations for my situation, I have googled it for some days, but I got nothing.</div>
<div>
<br>Best Regards<br>Sun Guang</div>
<br><br><span title="neteasefooter"><span></span></span>
</div>
Yanov, Andrey | 6 Jul 2011 17:36
Favicon

Left mouse button up event to dropdown box

I’m using chromium implementation of a dropdown box.

 

What and where is the best way to pass MouseReleaseEvent to PopupMenuChromium ?

 

Thank you,

Andrey

<div><div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">I&rsquo;m using chromium implementation of a dropdown box.<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span lang="EN-US">What and where is the best way to pass MouseReleaseEvent to PopupMenuChromium ?<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you,<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US">Andrey<p></p></span></p>
</div></div>

Gmane