[webkit-dev] windows build error
somting wrong in sys/types.h, which cause the pthread.h header value types undeclared anyone has this issue fixed? 3C:\cygwin\usr\include\pthread.h(81) : error C2143: syntax error : missing ',' before '*' 3C:\cygwin\usr\include\pthread.h(82) : error C4430: missing type specifier - in t assumed. Note: C++ does not support default-int 3C:\cygwin\usr\include\pthread.h(82) : error C2143: syntax error : missing ',' before '*' 3C:\cygwin\usr\include\pthread.h(83) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(84) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(85) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(86) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(87) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(88) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(104) : error C2065: 'pthread_t' : undeclared i dentifier 3C:\cygwin\usr\include\pthread.h(127) : error C2065: 'pthread_cond_t' : undecla red identifier 3C:\cygwin\usr\include\pthread.h(127) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(128) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(129) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(130) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(131) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(133) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(134) : error C2065: 'pthread_condattr_t' : und eclared identifier 3C:\cygwin\usr\include\pthread.h(134) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(135) : error C4430: missing type specifier - i nt assumed. Note: C++ does not support default-int 3C:\cygwin\usr\include\pthread.h(135) : error C2143: syntax error : missing ',' before '*' 3C:\cygwin\usr\include\pthread.h(136) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(137) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(139) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(142) : error C2078: too many initializers 3C:\cygwin\usr\include\pthread.h(144) : error C2062: type 'int' unexpected 3C:\cygwin\usr\include\pthread.h(145) : error C2065: 'pthread_key_t' : undeclar ed identifier 3C:\cygwin\usr\include\pthread.h(146) : error C2062: type 'void' unexpected 3C:\cygwin\usr\include\pthread.h(147) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(151) : error C2065: 'pthread_mutex_t' : undecl ared identifier 3C:\cygwin\usr\include\pthread.h(151) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(152) : error C4430: missing type specifier - i nt assumed. Note: C++ does not support default-int 3C:\cygwin\usr\include\pthread.h(152) : error C2143: syntax error : missing ',' before '*' 3C:\cygwin\usr\include\pthread.h(153) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(154) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(155) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(156) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(157) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(158) : error C2065: 'pthread_mutexattr_t' : un declared identifier 3C:\cygwin\usr\include\pthread.h(158) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(159) : error C4430: missing type specifier - i nt assumed. Note: C++ does not support default-int 3C:\cygwin\usr\include\pthread.h(159) : error C2143: syntax error : missing ',' before '*' 3C:\cygwin\usr\include\pthread.h(160) : error C4430: missing type specifier - i nt assumed. Note: C++ does not support default-int 3C:\cygwin\usr\include\pthread.h(160) : error C2143: syntax error : missing ',' before '*' 3C:\cygwin\usr\include\pthread.h(161) : error C4430: missing type specifier - i nt assumed. Note: C++ does not support default-int 3C:\cygwin\usr\include\pthread.h(161) : error C2143: syntax error : missing ',' before '*' 3C:\cygwin\usr\include\pthread.h(162) : error C4430: missing type specifier - i nt assumed. Note: C++ does not support default-int 3C:\cygwin\usr\include\pthread.h(162) : error C2143: syntax error : missing ',' before '*' 3C:\cygwin\usr\include\pthread.h(163) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(164) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(165) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(166) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(167) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(170) : error C2065: 'pthread_rwlock_t' : undec lared identifier 3C:\cygwin\usr\include\pthread.h(170) : error C2065: 'rwlock' : undeclared iden tifier 3C:\cygwin\usr\include\pthread.h(170) : fatal error C1903: unable to recover fr om previous error(s); stopping compilation 3JITPropertyAccess.cpp
Re: [webkit-dev] windows build error
The problem is that the build is pulling in Cygwin's pthread.h, rather than the Win32 version of pthreads that is required. It's not clear to me exactly why that would be, but chances are that you've not correctly followed the instructions on how to set up the Windows build environment. They start at http://webkit.org/building/tools.html. Be sure to follow them closely. - Mark On 2008-12-24, at 03:36, yin xiaobing wrote: somting wrong in sys/types.h, which cause the pthread.h header value types undeclared anyone has this issue fixed? 3C:\cygwin\usr\include\pthread.h(81) : error C2143: syntax error : missing ',' before '*' 3C:\cygwin\usr\include\pthread.h(82) : error C4430: missing type specifier - in t assumed. Note: C++ does not support default-int 3C:\cygwin\usr\include\pthread.h(82) : error C2143: syntax error : missing ',' before '*' 3C:\cygwin\usr\include\pthread.h(83) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(84) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(85) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(86) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(87) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(88) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(104) : error C2065: 'pthread_t' : undeclared i dentifier 3C:\cygwin\usr\include\pthread.h(127) : error C2065: 'pthread_cond_t' : undecla red identifier 3C:\cygwin\usr\include\pthread.h(127) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(128) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(129) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(130) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(131) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(133) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(134) : error C2065: 'pthread_condattr_t' : und eclared identifier 3C:\cygwin\usr\include\pthread.h(134) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(135) : error C4430: missing type specifier - i nt assumed. Note: C++ does not support default-int 3C:\cygwin\usr\include\pthread.h(135) : error C2143: syntax error : missing ',' before '*' 3C:\cygwin\usr\include\pthread.h(136) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(137) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(139) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(142) : error C2078: too many initializers 3C:\cygwin\usr\include\pthread.h(144) : error C2062: type 'int' unexpected 3C:\cygwin\usr\include\pthread.h(145) : error C2065: 'pthread_key_t' : undeclar ed identifier 3C:\cygwin\usr\include\pthread.h(146) : error C2062: type 'void' unexpected 3C:\cygwin\usr\include\pthread.h(147) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(151) : error C2065: 'pthread_mutex_t' : undecl ared identifier 3C:\cygwin\usr\include\pthread.h(151) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(152) : error C4430: missing type specifier - i nt assumed. Note: C++ does not support default-int 3C:\cygwin\usr\include\pthread.h(152) : error C2143: syntax error : missing ',' before '*' 3C:\cygwin\usr\include\pthread.h(153) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(154) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(155) : error C2059: syntax error : ',' 3C:\cygwin\usr\include\pthread.h(156) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(157) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(158) : error C2065: 'pthread_mutexattr_t' : un declared identifier 3C:\cygwin\usr\include\pthread.h(158) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(159) : error C4430: missing type specifier - i nt assumed. Note: C++ does not support default-int 3C:\cygwin\usr\include\pthread.h(159) : error C2143: syntax error : missing ',' before '*' 3C:\cygwin\usr\include\pthread.h(160) : error C4430: missing type specifier - i nt assumed. Note: C++ does not support default-int 3C:\cygwin\usr\include\pthread.h(160) : error C2143: syntax error : missing ',' before '*' 3C:\cygwin\usr\include\pthread.h(161) : error C4430: missing type specifier - i nt assumed. Note: C++ does not support default-int 3C:\cygwin\usr\include\pthread.h(161) : error C2143: syntax error : missing ',' before '*' 3C:\cygwin\usr\include\pthread.h(162) : error C4430: missing type specifier - i nt assumed. Note: C++ does not support default-int 3C:\cygwin\usr\include\pthread.h(162) : error C2143: syntax error : missing ',' before '*' 3C:\cygwin\usr\include\pthread.h(163) : error C2059: syntax error : ')' 3C:\cygwin\usr\include\pthread.h(164) : error C2059: syntax error : ','
[webkit-dev] SquirrelFish Extreme for non x-86 platforms
I want to know whether WebKit JavaScript Engine SquirrelFish Extreme (SFX) has been reported to work on any embedded, non-x86 platform? I have built a recent nightly build on Windows and it works fine. However, there is use of Windows specific VirtualAlloc() API functions for allocating memory from virtaul address space. What will be the alternative for this routine on non-Windows platforms, especially the embedded ones? Thanks. Regards, J R Shah ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms
On Wednesday 24 December 2008 14:00:19 Javed Rabbani wrote: I want to know whether WebKit JavaScript Engine SquirrelFish Extreme (SFX) has been reported to work on any embedded, non-x86 platform? No, the extreme variant is only working on x86 and work on progress on the amd64... z. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] I have problem in display jpeg in webkit
On Wednesday 24 December 2008 02:34:34 RyanYee/叶晔 wrote: I build webkit base on gtk-dfb (intel Olo platform), webkit-r35289, gtk+-2.10.14,cairo-1.4.2, jpeg-6b run Gtklauncher ok,but when jpeg was in html file,jpeg only display left part (maybe 1/4 size) I tried many jpeg file,same result,so I don't think it's jpeg file format problems. I found webkit use own jpeg plugin,not gtk's jpeg display,(my gtk-demo can display jpeg ok) cause my gdbserver not work,so I can only add printf to observe code go where. in JPEGImageReader::decode() ,i can only got m_state JPEG_HEADER JPEG_START_DECOMPRESS and m_info.jpeg_color_space=3, I can only got these infomation now, can anybody had even same problem? next I want to build same version on X86 to debug,if no other infomation got. Create your reduction. Most simple webpage one pretty easy picture (e.g. only a green rect). Load that from file and see if that works.. z. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] I have problem in display jpeg in webkit
This is a cairo bug .. search on quater rendered images .. see these links http://lists.macosforge.org/pipermail/webkit-dev/2008-February/003423.html http://www.mail-archive.com/directfb-us...@directfb.org/msg07310.html On Wed, Dec 24, 2008 at 2:15 PM, Nicholas Beck nb...@mpc-data.co.uk wrote: RyanYee/叶晔 wrote: I build webkit base on gtk-dfb (intel Olo platform), webkit-r35289, gtk+-2.10.14,cairo-1.4.2, jpeg-6b run Gtklauncher ok,but when jpeg was in html file,jpeg only display left part (maybe 1/4 size) I tried many jpeg file,same result,so I don't think it's jpeg file format problems. I found webkit use own jpeg plugin,not gtk's jpeg display,(my gtk-demo can display jpeg ok) cause my gdbserver not work,so I can only add printf to observe code go where. in JPEGImageReader::decode() ,i can only got m_state JPEG_HEADER JPEG_START_DECOMPRESS and m_info.jpeg_color_space=3, I can only got these infomation now, can anybody had even same problem? next I want to build same version on X86 to debug,if no other infomation got. This is caused by a bug in that version of cairo. Update your version of cairo; I can't remember quite what version the fix was committed into but from memory = 1.6.4 is fine. Nick ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev -- Sriram Neelakandan Author - Embedded Linux System Design And Development ( http://tinyurl.com/2doosu) ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms
On Dec 24, 2008, at 6:46 AM, Holger Freyther wrote: On Wednesday 24 December 2008 14:00:19 Javed Rabbani wrote: I want to know whether WebKit JavaScript Engine SquirrelFish Extreme (SFX) has been reported to work on any embedded, non-x86 platform? No, the extreme variant is only working on x86 and work on progress on the amd64... To be more specific: 1) The JS engine should work on any CPU and on most reasonable operating systems in bytecode mode. It's still pretty fast as bytecode - nearly an order of magnitude faster than the old WebKit JS engine. 2) Currently the JIT only fully works on x86 and will soon also work on x86_64 (currently some basic tests pass but neither performance nor correctness are where we want them to be). 3) We are considering ports of the JIT to other CPU architectures. For mobile platforms, it's not entirely clear whether the JIT will turn out to be better than the bytecode interpreter - the memory cost might outweigh the speed benefit. Regards, Maciej ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms
That means the current JS Engine (SquirrelFish Extreme) can be run on embedded/mobile platforms in bytecode mode without JIT. Correct me if I am wrong? If I am correct, then how to enable the engine's bytecode mode? There are number of ENABLE switches related to current JS engine... Regards, J R Shah On Thu, Dec 25, 2008 at 12:49 AM, Maciej Stachowiak m...@apple.com wrote: On Dec 24, 2008, at 6:46 AM, Holger Freyther wrote: On Wednesday 24 December 2008 14:00:19 Javed Rabbani wrote: I want to know whether WebKit JavaScript Engine SquirrelFish Extreme (SFX) has been reported to work on any embedded, non-x86 platform? No, the extreme variant is only working on x86 and work on progress on the amd64... To be more specific: 1) The JS engine should work on any CPU and on most reasonable operating systems in bytecode mode. It's still pretty fast as bytecode - nearly an order of magnitude faster than the old WebKit JS engine. 2) Currently the JIT only fully works on x86 and will soon also work on x86_64 (currently some basic tests pass but neither performance nor correctness are where we want them to be). 3) We are considering ports of the JIT to other CPU architectures. For mobile platforms, it's not entirely clear whether the JIT will turn out to be better than the bytecode interpreter - the memory cost might outweigh the speed benefit. Regards, Maciej ___ 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] SquirrelFish Extreme for non x-86 platforms
On Dec 24, 2008, at 1:52 PM, Javed Rabbani wrote: That means the current JS Engine (SquirrelFish Extreme) can be run on embedded/mobile platforms in bytecode mode without JIT. Correct me if I am wrong? If I am correct, then how to enable the engine's bytecode mode? There are number of ENABLE switches related to current JS engine... It should compile with JIT disabled on platforms that do not support the JIT. - Maciej Regards, J R Shah On Thu, Dec 25, 2008 at 12:49 AM, Maciej Stachowiak m...@apple.com wrote: On Dec 24, 2008, at 6:46 AM, Holger Freyther wrote: On Wednesday 24 December 2008 14:00:19 Javed Rabbani wrote: I want to know whether WebKit JavaScript Engine SquirrelFish Extreme (SFX) has been reported to work on any embedded, non-x86 platform? No, the extreme variant is only working on x86 and work on progress on the amd64... To be more specific: 1) The JS engine should work on any CPU and on most reasonable operating systems in bytecode mode. It's still pretty fast as bytecode - nearly an order of magnitude faster than the old WebKit JS engine. 2) Currently the JIT only fully works on x86 and will soon also work on x86_64 (currently some basic tests pass but neither performance nor correctness are where we want them to be). 3) We are considering ports of the JIT to other CPU architectures. For mobile platforms, it's not entirely clear whether the JIT will turn out to be better than the bytecode interpreter - the memory cost might outweigh the speed benefit. Regards, Maciej ___ 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] I have problem in display jpeg in webkit
thanks Sriram all of you guys,I try this patch,thing go right now 2008/12/24 Sriram Neelakandan sriram.neelakan...@gmail.com This is a cairo bug .. search on quater rendered images .. see these links http://lists.macosforge.org/pipermail/webkit-dev/2008-February/003423.html http://www.mail-archive.com/directfb-us...@directfb.org/msg07310.html On Wed, Dec 24, 2008 at 2:15 PM, Nicholas Beck nb...@mpc-data.co.ukwrote: RyanYee/叶晔 wrote: I build webkit base on gtk-dfb (intel Olo platform), webkit-r35289, gtk+-2.10.14,cairo-1.4.2, jpeg-6b run Gtklauncher ok,but when jpeg was in html file,jpeg only display left part (maybe 1/4 size) I tried many jpeg file,same result,so I don't think it's jpeg file format problems. I found webkit use own jpeg plugin,not gtk's jpeg display,(my gtk-demo can display jpeg ok) cause my gdbserver not work,so I can only add printf to observe code go where. in JPEGImageReader::decode() ,i can only got m_state JPEG_HEADER JPEG_START_DECOMPRESS and m_info.jpeg_color_space=3, I can only got these infomation now, can anybody had even same problem? next I want to build same version on X86 to debug,if no other infomation got. This is caused by a bug in that version of cairo. Update your version of cairo; I can't remember quite what version the fix was committed into but from memory = 1.6.4 is fine. Nick ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev -- Sriram Neelakandan Author - Embedded Linux System Design And Development ( http://tinyurl.com/2doosu) -- RyanYee How many roads must a man walk down before you can call him a Man?How many years can some people exist before They're allowed to be free?the answer is Blowing in the wind... ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Canvas API in Webkit
Thanks. I think Safari has a 'history' feature or Nokia S60 browser which shows each url in history as a preview image'. Can you please tell me how if that is true and how is that implement? On Sun, Dec 14, 2008 at 6:46 PM, Justin Haygood jhayg...@reaktix.comwrote: The HTML Canvas element was invented by Apple for Safari/WebKit :) - Original Message - *From:* Lucius Fox lucius.fo...@gmail.com *To:* webkit-dev@lists.webkit.org *Sent:* Sunday, December 14, 2008 5:24 PM *Subject:* [webkit-dev] Canvas API in Webkit Hi, Mozilla has a Canvas API which allow extension developer to paint the web page content to a surface. So that extension tab preview is possible: http://ted.mielczarek.org/code/mozilla/tabpreview/ Is that the same kind of api in webkit? If yes, can you please tell me where i can find example? Thank you. -- ___ 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
[webkit-dev] a crash when runing GtKLauncher
Hi all, I' have a strange problem. I cross-compiled webKit and generated a rpm package for the webkit library and the Gtklauncher, I installed them correctly but when runing the GtkLauncher I've got a Segmentation fault. what is strange is that when using the Gtklauncher and libwebkit.so directly whithout using the rpm it works fine? has anybody met such a problem before? regards. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev