[webkit-dev] checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 = 2.23) were not met:

2009-02-16 Thread nguyen hai
Hi all,
I typed ./autogen.sh but I got this message:

checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 = 
2.23) were not met:

No package 'libsoup-2.4' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

When I looked for libsoup-2.4 , there were only libsoup-2.4.1.

Can someone help me?
thanks
Hai



  Thứ sáu ngày 13 có thật sự là ngày xui xẻo? Nghe ý kiến của mọi người! 
http://vn.answers.yahoo.com___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] about gif picture

2009-02-16 Thread zhenghe zhang
Hi all
I am learning the webkit, and study the source code. Now I encounter
a problem, and I hope you help me, thank you!
when open a webpage, and there is a gif picture in the webpage, and
the picture doesn't play. If I click the right mouse button, and the picture
plays.
Please tell me the why!

Thank you
Regards
zh

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


Re: [webkit-dev] error: Cannot find icu-config. The ICU library is needed.

2009-02-16 Thread David Kilzer
Try installing the libicu package.

Dave





From: nguyen hai deuxliq...@yahoo.com
To: webkit-dev@lists.webkit.org
Sent: Sunday, February 15, 2009 11:56:25 PM
Subject: [webkit-dev] error: Cannot find icu-config. The ICU library is needed.


Hi all,

I build webkit on Fedora 9.
I typed ./autogen.sh and I got a message:

checking for icu-config... no
configure: error: Cannot find icu-config. The ICU library is needed.
[r...@localhost WebKit-r41018]# 

I am looking this error on webkt.org but I have not found any answer.
Can you help me to solve this error?
Thanks in advance!
Hai
 

 Vui vẻ chat thêm trên nhiều blog và website
Hãy thử dùng ứng dụng Pingbox online.___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 = 2.23) were not met:

2009-02-16 Thread David Kilzer
The autogen.sh script wants libsoup-2.4 OR NEWER.  libsoup-2.4.1 satisfies that 
requirement, so try installing that version.

Dave





From: nguyen hai deuxliq...@yahoo.com
To: webkit-dev@lists.webkit.org
Sent: Monday, February 16, 2009 1:17:54 AM
Subject: [webkit-dev] checking for LIBSOUP... configure: error: Package 
requirements (libsoup-2.4 = 2.23) were not met:


Hi all,
I typed ./autogen.sh but I got this message:

checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 = 
2.23) were not met:

No package 'libsoup-2.4' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

When I looked for libsoup-2.4 , there were only libsoup-2.4.1.

Can someone help me?
thanks
Hai
 

Thị trường chứng khoán Việt Nam hot tới mức nào? Khám phá tại Yahoo! Hỏi  Đáp___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] How to handle error response on the browser when the HTTP request fails

2009-02-16 Thread Nitin Walke
Hi All,

Thanks for your reply.I am totally new for the GtkWebkit.I tried to follow
your suggestion but I am unable to achive my target.
I get response in FrameLoaderClient::setMainDocumentError and
FrameLoaderClient::shouldFallBack for the HTTP errorbut how to get actual
error message from ResourceError that I don't know.Can I get exact steps to
get the error like changes in the files and build the webkit,gtk  etc.

Thanks  Regards,
Nitin

On Fri, Feb 13, 2009 at 10:50 AM, zaheer ahmad zaheer@gmail.com wrote:

 I think you need to set CURLOPT_FAILONERROR on the curl handle for the curl
 to report http errors. Also in general you would want to diffferentiate how
 you handle errors on mainresource vs subresources

 regards,
 Zaheer


 On Thu, Feb 12, 2009 at 9:04 PM, Nitin Walke nitwa...@gmail.com wrote:

 Hi,

 Thanks for your suggestion. I added delegate method in
 FrameloaderClient::dispatchDidFailLoading for GTK, however,
 noticed that the control flow never reached there - either in case of
 successful response or for http error like server not found etc.
 Then I added some debug code in FrameloaderClient::dispatchDidFailLoading
 for GTK; and found that the control flow does not reach there.

 Am I missing something here? Your inputs will be appreciated.

 Regards,
 Nitin


 On Thu, Feb 12, 2009 at 11:55 AM, zaheer ahmad zaheer@gmail.comwrote:

 If you are using curl backend, network errors are already reported back
 but ignored. you need to implement FrameloaderClient::dispatchDidFailLoading
 delegate to pass it back to the application.

 regards,
 Zaheer


 On Wed, Feb 11, 2009 at 7:03 PM, Nitin Walke nitwa...@gmail.com wrote:

 Hi,

 I am new to Webkit and have developed a basic browser using Webkit GTK
 port on linux.
 I want to show error response on the browser when the HTTP request fails
 for some reason like
 bad gateway or Server error etc. Currently the browser does not show any
 response in case of any error.
 Please advise how to go about implementing the same.

 Thanks

 ___
 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 to handle error response on the browser when the HTTP request fails

2009-02-16 Thread Kulanthaivel
Hi,
If you are using CURL then check the implementation
of WebCore\platform\network\curl\ResourceHandleManager.cpp. You can check
the callbacks headerCallback() writeCallback() which are used to pass the
header and data information from CURL to WebCore.
The ResourceHandleManager::downloadTimerCallback() will get called whenever
the download timer gets fired. Inside this function each CURL session is
processed and the result is passed back to WebCore whenever a particular
session is completed successfully or failed.
Regards
Kvel


On Mon, Feb 16, 2009 at 7:26 PM, Nitin Walke nitwa...@gmail.com wrote:

 Hi All,

 Thanks for your reply.I am totally new for the GtkWebkit.I tried to follow
 your suggestion but I am unable to achive my target.
 I get response in FrameLoaderClient::setMainDocumentError and
 FrameLoaderClient::shouldFallBack for the HTTP errorbut how to get actual
 error message from ResourceError that I don't know.Can I get exact steps to
 get the error like changes in the files and build the webkit,gtk  etc.

 Thanks  Regards,
 Nitin


 On Fri, Feb 13, 2009 at 10:50 AM, zaheer ahmad zaheer@gmail.comwrote:

 I think you need to set CURLOPT_FAILONERROR on the curl handle for the
 curl to report http errors. Also in general you would want to diffferentiate
 how you handle errors on mainresource vs subresources

 regards,
 Zaheer


 On Thu, Feb 12, 2009 at 9:04 PM, Nitin Walke nitwa...@gmail.com wrote:

 Hi,

 Thanks for your suggestion. I added delegate method in
 FrameloaderClient::dispatchDidFailLoading for GTK, however,
 noticed that the control flow never reached there - either in case of
 successful response or for http error like server not found etc.
 Then I added some debug code in FrameloaderClient::dispatchDidFailLoading
 for GTK; and found that the control flow does not reach there.

 Am I missing something here? Your inputs will be appreciated.

 Regards,
 Nitin


 On Thu, Feb 12, 2009 at 11:55 AM, zaheer ahmad zaheer@gmail.comwrote:

 If you are using curl backend, network errors are already reported back
 but ignored. you need to implement 
 FrameloaderClient::dispatchDidFailLoading
 delegate to pass it back to the application.

 regards,
 Zaheer


 On Wed, Feb 11, 2009 at 7:03 PM, Nitin Walke nitwa...@gmail.comwrote:

 Hi,

 I am new to Webkit and have developed a basic browser using Webkit GTK
 port on linux.
 I want to show error response on the browser when the HTTP request
 fails for some reason like
 bad gateway or Server error etc. Currently the browser does not show
 any response in case of any error.
 Please advise how to go about implementing the same.

 Thanks

 ___
 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 mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] about gif picture

2009-02-16 Thread Peter Kasting
On Mon, Feb 16, 2009 at 1:40 AM, zhenghe zhang zhenghe.zh...@gmail.comwrote:

when open a webpage, and there is a gif picture in the webpage, and
 the picture doesn't play. If I click the right mouse button, and the
 picture
 plays.


Have you updated to the very latest sources and rebuilt?  There were some
problems like this that were fixed a while back.

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


Re: [webkit-dev] checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 = 2.23) were not met:

2009-02-16 Thread David Kilzer
Sorry, I was reading that libsoup-2.23 was older than libsoup-2.4.  It looks 
like configure.ac is not comparing the versions correctly.  Try making this 
change (changing libsoup-2.4 to just libsoup in configure.ac) and rerunning 
autogen.sh:

diff --git a/configure.ac b/configure.ac
index 6ac6f8b..75d986f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -637,7 +637,7 @@ fi
 
 if test $with_http_backend = soup; then
PKG_CHECK_MODULES([LIBSOUP],
- [libsoup-2.4 = $LIBSOUP_REQUIRED_VERSION])
+ [libsoup = $LIBSOUP_REQUIRED_VERSION])
AC_SUBST([LIBSOUP_CFLAGS])
AC_SUBST([LIBSOUP_LIBS])
 fi

Note that $LIBSOUP_REQUIRED_VERSION is set to 2.23 anyway.

Dave





From: nguyen hai deuxliq...@yahoo.com
To: David Kilzer ddkil...@webkit.org
Sent: Monday, February 16, 2009 7:05:40 AM
Subject: Re: [webkit-dev] checking for LIBSOUP... configure: error: Package 
requirements (libsoup-2.4 = 2.23) were not met:


Hi David,
Thank you much for your help.
I tried to install libsoup-2.4 but not avaible.
I run on Fedora. I tyed as following:

yum search libsoup-2.4  (first I looked for libsoup-2.4)
yum install libsoup-2.4  

but I got a message:

not matched
nothing to do

Once I installed libsoup-2.4.1, the same error appeared : hecking for 
LIBSOUP... configure: error: Package requirements (libsoup-2.4 = 2.23) were 
not met

It seems that autogen.sh want exactly libsoup-2.4 ( not 2.4.2 or other).
But I can't find libsoup-2.4.
I spent much time for this. It sounds bad.
Hai 

  

--- Thứ 2, 16/02/09, David Kilzer ddkil...@webkit.org đã viết:

 Từ: David Kilzer ddkil...@webkit.org
 Chủ đề: Re: [webkit-dev] checking for LIBSOUP... configure: error: Package 
 requirements (libsoup-2.4 = 2.23) were not met:
 Đến: deuxliq...@yahoo.com
 Cc: webkit-dev@lists.webkit.org
 Ngày: Thứ Hai, 16 tháng 2, 2009, 20:43
 The autogen.sh script wants libsoup-2.4 OR NEWER. 
 libsoup-2.4.1 satisfies that requirement, so try installing
 that version.
 
 Dave
 
 
 
 
 
 From: nguyen hai deuxliq...@yahoo.com
 To: webkit-dev@lists.webkit.org
 Sent: Monday, February 16, 2009 1:17:54 AM
 Subject: [webkit-dev] checking for LIBSOUP... configure:
 error: Package requirements (libsoup-2.4 = 2.23) were
 not met:
 
 
 Hi all,
 I typed ./autogen.sh but I got this message:
 
 checking for LIBSOUP... configure: error: Package
 requirements (libsoup-2.4 = 2.23) were not met:
 
 No package 'libsoup-2.4' found
 
 Consider adjusting the PKG_CONFIG_PATH environment variable
 if you
 installed software in a non-standard prefix.
 
 When I looked for libsoup-2.4 , there were only
 libsoup-2.4.1.
 
 Can someone help me?
 thanks
 Hai
  
 
 Thị trường chứng khoán Việt Nam hot tới mức
 nào? Khám phá tại Yahoo! Hỏi  Đáp


  Đặt ngay địa chỉ email mới!
Lấy ngay địa chỉ email bạn từng muốn có trước khi có người khác nhanh tay hơn!
http://mail.promotions.yahoo.com/newdomains/vn/
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] cairo-win32 WebFrame::spoolPages

2009-02-16 Thread Frank Zerangue

In building webkit for cairo-win32, one build error remains:

..\WebFrame.cpp(1891) : error C2664 'CGCpmtextSaveGState' : cannot  
convert parameter 1 from 'PlatformGraphicsContext *' to 'CGContextRef'


Any thoughts on how to resolve this?

Should this member function be conditionally compiled on PLATFORM(CG)?

Frank 
 
___

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


[webkit-dev] Contributing to the documentation Wiki?

2009-02-16 Thread Frank Zerangue

What is the process for contributing to the documentation wiki?

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


Re: [webkit-dev] Contributing to the documentation Wiki?

2009-02-16 Thread David Kilzer
Hi Frank,

I believe it is:

1. Create an account (on macosforge.org; the accounts are shared with 
webkit.org).
2. Edit the wiki.  http://trac.webkit.org/wiki

Dave





From: Frank Zerangue fzer...@cisco.com
To: Webkit Development List webkit-dev@lists.webkit.org
Sent: Monday, February 16, 2009 10:19:48 AM
Subject: [webkit-dev] Contributing to the documentation Wiki?

What is the process for contributing to the documentation wiki?

Frank
___
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] Contributing to the documentation Wiki?

2009-02-16 Thread Frank Zerangue

Thanks David.

Frank

On Feb 16, 2009, at 12:33 PM, David Kilzer wrote:


Hi Frank,

I believe it is:

1. Create an account (on macosforge.org; the accounts are shared  
with webkit.org).

2. Edit the wiki.  http://trac.webkit.org/wiki

Dave


From: Frank Zerangue fzer...@cisco.com
To: Webkit Development List webkit-dev@lists.webkit.org
Sent: Monday, February 16, 2009 10:19:48 AM
Subject: [webkit-dev] Contributing to the documentation Wiki?

What is the process for contributing to the documentation wiki?

Frank
___
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] checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 = 2.23) were not met:

2009-02-16 Thread Christian Dywan
Am Mon, 16 Feb 2009 09:28:53 -0800 (PST)
schrieb David Kilzer ddkil...@webkit.org:

 Sorry, I was reading that libsoup-2.23 was older than libsoup-2.4.
 It looks like configure.ac is not comparing the versions correctly.
 Try making this change (changing libsoup-2.4 to just libsoup in
 configure.ac) and rerunning autogen.sh:
 
 diff --git a/configure.ac b/configure.ac
 index 6ac6f8b..75d986f 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -637,7 +637,7 @@ fi
  
  if test $with_http_backend = soup; then
 PKG_CHECK_MODULES([LIBSOUP],
 - [libsoup-2.4 = $LIBSOUP_REQUIRED_VERSION])
 + [libsoup = $LIBSOUP_REQUIRED_VERSION])
 AC_SUBST([LIBSOUP_CFLAGS])
 AC_SUBST([LIBSOUP_LIBS])
  fi
 
 Note that $LIBSOUP_REQUIRED_VERSION is set to 2.23 anyway.

Hey,

this is actually wrong I'm afraid. The API name is 'libsoup-2.4' which
is arguably a bad idea on the side of the library author. The actual
version is something else, in this case 2.23. Pay attention to the
actual release version when looking for a more recent package.

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


Re: [webkit-dev] checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 = 2.23) were not met:

2009-02-16 Thread David Kilzer
That's a horrible package name.  :(   Is 2.4 is the so version or what?

Do all Linux (or *NIX) distributions name libsoup that way?  It doesn't appear 
that Debian packages it this way:

http://packages.debian.org/search?keywords=libsoup

Is libsoup-2.4 older or newer than libsoup-2.23?

Dave





From: Christian Dywan christ...@twotoasts.de
To: webkit-dev@lists.webkit.org
Sent: Monday, February 16, 2009 10:38:59 AM
Subject: Re: [webkit-dev] checking for LIBSOUP... configure: error: Package 
requirements (libsoup-2.4 = 2.23) were not met:

Am Mon, 16 Feb 2009 09:28:53 -0800 (PST)
schrieb David Kilzer ddkil...@webkit.org:

 Sorry, I was reading that libsoup-2.23 was older than libsoup-2.4.
 It looks like configure.ac is not comparing the versions correctly.
 Try making this change (changing libsoup-2.4 to just libsoup in
 configure.ac) and rerunning autogen.sh:
 
 diff --git a/configure.ac b/configure.ac
 index 6ac6f8b..75d986f 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -637,7 +637,7 @@ fi
  
  if test $with_http_backend = soup; then
 PKG_CHECK_MODULES([LIBSOUP],
 - [libsoup-2.4 = $LIBSOUP_REQUIRED_VERSION])
 + [libsoup = $LIBSOUP_REQUIRED_VERSION])
 AC_SUBST([LIBSOUP_CFLAGS])
 AC_SUBST([LIBSOUP_LIBS])
  fi
 
 Note that $LIBSOUP_REQUIRED_VERSION is set to 2.23 anyway.

Hey,

this is actually wrong I'm afraid. The API name is 'libsoup-2.4' which
is arguably a bad idea on the side of the library author. The actual
version is something else, in this case 2.23. Pay attention to the
actual release version when looking for a more recent package.

ciao,
Christian
___
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] Quick Look at Gtk+ test failures

2009-02-16 Thread Holger Freyther
Hey,

I just had a quick look at the dom/svg test failures (actually one result) and 
my first idea is that we transmit the wrong mimetype for the GIO based local 
file handling.

I plan to find some time to tomorrow...



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


[webkit-dev] Queries on Bug: 23310

2009-02-16 Thread Vikram Hegde
Hi ,

The Bug 23310 is Setting an absolute path (/abs) on an iframe with no src 
doesn't resolve the URL properly.

So I have analysed the bug,and here are my comments.Kindly let me know i m on 
the right track of solving the bug.

Analysis:

The kurl.cpp is the actual place where the url gets resolved and is being 
parsed.So the parameter for the init function in kurl.cpp should have the 
complete format i.e. javascript:document.location.replace('/') instead the 
parameter which is being parsed contains only /.This is the reason why the 
parsing of the url is not done properly and invalidate function gets called 
which redirects the page to reflect nothing.

In short i think the scr which the kurl should parse should be the entire 
string (javascript:document.location.replace('/') ) . This is the reason i feel 
the parsing of url is not done propely.

Kindly suggest whether i m in the right track or not and the possible solutions 
for the problem.

Thanks  Regards,
Vikram


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