[webkit-dev] Card Navigation in WML deck

2009-04-29 Thread mwas
Hi,
  WebKit WML does not support card navigation inside a complete deck. Does
any one have any clues about this or its going to be implemented.
ex: I have a deck of 2 cards as below, and once i invoke
webkit_web_view_go_forward i should be able to go to card2

http://www.wapforum.org/DTD/wml_1.1.xml";>



Hello World!





Hello World!



How does card info gets stored in DOM Nodes
thanks
mwas
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] GtkWebKit couldn't play youtube's video.

2009-03-31 Thread mwas

Hi


yenchengwang wrote:
> 
> hi all,
> I installed the GtkWebKit-1.1.3(both debian and fedora system) and
> tried
> to watch youtube's video by GtkLaucher.
> but the youtube always say it can't play video because maybe I'd
> closed
> the JavaScript or my Adobe Flash Player is too old.
> the same version of GtkLauncher is work on the debian system,
> and the firefox on fedora could play the youtube's video as well, only
> the Fedora + GtkLauncher couldn't...what's happend ??
> you need to ensure the following
> 1) enabling javascript (enable javascript from settings)
> 2) enabling cookies jar (WebCore/platform/netowrk/curl/cookiejar.cpp if u
> are using curl else 
> WebCore/platform/network/soup/CookieJarSoup.cpp). 
> 
> Once you enable cookie jar, all cookies will get stored in a file given in
> cookiejar path
> 
> Hope this helps
> 
> regards
> mwas
> 
> well, I'v installed the flash-plugin-10.0.22.87-release.i386 and
> adobe-release-i386-1.0-1.noarch.
> but it still cannot work !! do I miss something ??
> excuse me that I want to know how to check am I close the
> WebKitWebView's JavaScript or not ??
> ( Is check the "enable-plugins" property in the WebKitWebView widget
> ??
> )
> 
> any information would be appreciate  plz
> 
> -- 
> Regards
> Y-C Wang
> 
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> 
> 

-- 
View this message in context: 
http://www.nabble.com/GtkWebKit-couldn%27t-play-youtube%27s-video.-tp22800648p22803942.html
Sent from the Webkit mailing list archive at Nabble.com.

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


[webkit-dev] Gtklauncher crashes when WML is turned ON

2009-03-03 Thread mwas
Hi

I used WebKit rev-40777 and turned ON WML support. The build goes
successfully.

Lauching GtkLauncher gives segmentation fault with the following BT

Program received signal SIGSEGV, Segmentation fault.
0x4023c9d4 in WebCore::Document::cacheDocumentElement () from
/usr/local/lib/libwebkit-1.0.so.1
Current language: auto; currently asm
(gdb) bt
#0 0x4023c9d4 in WebCore::Document::cacheDocumentElement () from
/usr/local/lib/libwebkit-1.0.so.1
#1 0x403483f0 in WebCore::HTMLParser::handleError () from
/usr/local/lib/libwebkit-1.0.so.1
#2 0x40349790 in WebCore::HTMLParser::insertNode () from
/usr/local/lib/libwebkit-1.0.so.1
#3 0x40a3dc60 in ?? () from /usr/local/lib/libwebkit-1.0.so.1

I think there is some problem while inserting nodes

Pl. suggest anything i can solve this problem.

thanks

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


[webkit-dev] Curl Cookie Handling

2009-02-09 Thread mwas
Hi,

I have Integrated the patch given in
https://bugs.webkit.org/show_bug.cgi?id=14730  on webkit r36766 with
additions on SQLITE db calls

The patch does not work on www.facebook.com and results an inconsistent
crashes / memory corruptions. Here is the snapshot of what valgrind has:

 833 ==30082== by 0x4898C94:
JSC::JSActivation::argumentsGetter(JSC::ExecState*, JSC::Identifier const&,
JSC::PropertySl ot const&) (in /usr/local/lib/libwebkit-1.0.so.1.0.0)
 834 ==30082== by 0x487BA26: JSC::resolve(JSC::ExecState*,
JSC::Instruction*, JSC::Register*, JSC::ScopeChainNode*, JSC: :CodeBlock*,
JSC::JSValue*&) (in /usr/local/lib/libwebkit-1.0.so.1.0.0)
 835 ==30082== by 0x487FF2C:
JSC::Machine::privateExecute(JSC::Machine::ExecutionFlag, JSC::ExecState*,
JSC::RegisterFil e*, JSC::Register*, JSC::ScopeChainNode*, JSC::CodeBlock*,
JSC::JSValue**) (in /usr/local/lib/libwebkit-1.0.so.1.0.0)
 836 ==30082== by 0x4889889: JSC::Machine::execute(JSC::FunctionBodyNode*,
JSC::ExecState*, JSC::JSFunction*, JSC::JSObj ect*, JSC::ArgList const&,
JSC::ScopeChainNode*, JSC::JSValue**) (in
/usr/local/lib/libwebkit-1.0.so.1.0.0)
 837 ==30082== by 0x47EFB10: JSC::functionProtoFuncApply(JSC::ExecState*,
JSC::JSObject*, JSC::JSValue*, JSC::ArgList co nst&) (in
/usr/local/lib/libwebkit-1.0.so.1.0.0)
 838 ==30082== by 0x4881C4A:
JSC::Machine::privateExecute(JSC::Machine::ExecutionFlag, JSC::ExecState*,
JSC::RegisterFil e*, JSC::Register*, JSC::ScopeChainNode*, JSC::CodeBlock*,
JSC::JSValue**) (in /usr/local/lib/libwebkit-1.0.so.1.0.0)
 839 ==30082== by 0x4889889: JSC::Machine::execute(JSC::FunctionBodyNode*,
JSC::ExecState*, JSC::JSFunction*, JSC::JSObj ect*, JSC::ArgList const&,
JSC::ScopeChainNode*, JSC::JSValue**) (in
/usr/local/lib/libwebkit-1.0.so.1.0.0)
 840 ==30082== by 0x47EFB10: JSC::functionProtoFuncApply(JSC::ExecState*,
JSC::JSObject*, JSC::JSValue*, JSC::ArgList co nst&) (in
/usr/local/lib/libwebkit-1.0.so.1.0.0)
 841 ==30082==
 842 ==30082== Invalid read of size 4
 845 ==30082== by 0x44CCEF2:
WebCore::CookieManager::removeCookieFromDatabase(WebCore::Cookie const*) (in
/usr/local/lib /libwebkit-1.0.so.1.0.0)
 846 ==30082== by 0x44CDECA:
WebCore::CookieManager::getCookies(WebCore::KURL const&) (in /usr/local/lib/
libwebkit-1.0.so .1.0.0)
 847 ==30082== by 0x44CA5C5: WebCore::cookies(WebCore::Document const*,
WebCore::KURL const&) (in /usr/local/lib/libwebk it-1.0.so.1.0.0)
 848 ==30082== by 0x41EBDB2: WebCore::Document::cookie() const (in
/usr/local/lib/libwebkit-1.0.so.1.0.0)
 849 ==30082== by 0x4655903:
WebCore::JSDocument::getValueProperty(JSC::ExecState*, int) const (in
/usr/local/lib/libweb kit-1.0.so.1.0.0)
 850 ==30082== by 0x48806F0:
JSC::Machine::privateExecute(JSC::Machine::ExecutionFlag, JSC::ExecState*,
JSC::RegisterFil e*, JSC::Register*, JSC::ScopeChainNode*, JSC::CodeBlock*,
JSC::JSValue**) (in /usr/local/lib/libwebkit-1.0.so.1.0.0)
 851 ==30082== by 0x4889889: JSC::Machine::execute(JSC::FunctionBodyNode*,
JSC::ExecState*, JSC::JSFunction*, JSC::JSObj ect*, JSC::ArgList const&,
JSC::ScopeChainNode*, JSC::JSValue**) (in
/usr/local/lib/libwebkit-1.0.so.1.0.0)
 852 ==30082== by 0x47EFB10: JSC::functionProtoFuncApply(JSC::ExecState*,
JSC::JSObject*, JSC::JSValue*, JSC::ArgList co nst&) (in
/usr/local/lib/libwebkit-1.0.so.1.0.0)
 853 ==30082== by 0x4881C4A:
JSC::Machine::privateExecute(JSC::Machine::ExecutionFlag, JSC::ExecState*,
JSC::RegisterFil e*, JSC::Register*, JSC::ScopeChainNode*, JSC::CodeBlock*,
JSC::JSValue**) (in /usr/local/lib/libwebkit-1.0.so.1.0.0)
 854 ==30082== by 0x4889889: JSC::Machine::execute(JSC::FunctionBodyNode*,
JSC::ExecState*, JSC::JSFunction*, JSC::JSObj ect*, JSC::ArgList const&,
JSC::ScopeChainNode*, JSC::JSValue**) (in
/usr/local/lib/libwebkit-1.0.so.1.0.0)
 855 ==30082== Address 0xe is not stack'd, malloc'd or (recently) free'd
 demangling stack gives the following

WebCore::String::append(WebCore::String const&)
free+332
WebCore::operator+(WebCore::String const&, WebCore::String const&)

WebCore::CookieManager::getCookie(WebCore::KURL const&)

Pls. suggest any way out.

Thanks

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


[webkit-dev] Bypassing cannotShowURLError

2009-01-21 Thread mwas
Hi,

What is the impact of these functions: because I see it is getting called on
each URL redirection

ResourceError FrameLoaderClient::cannotShowURLError(const ResourceRequest&)
{
  notImplemented();
  return ResourceError();
}

Is there any alternative to bypass these calls

Kindly suggest

Thanks

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


Re: [webkit-dev] Handling Malformed URL

2009-01-21 Thread mwas
Hi,

Agreed, WebKit uses Curl to return those error codes, Curl is sending 503
http error code for the said URL but WebKit does not respond with didFail()

Kindly Suggest!

Thanks

mwas

On Wed, Jan 21, 2009 at 4:48 PM, Nilesh Patil  wrote:

> Hi
>
> I dont think one needs to authenticate such things. If resource is not
> found an http code is returned. This is how most of browsers work.
>
> Thanks & Regards
> Niilesh
>
> On Wed, Jan 21, 2009 at 4:38 PM, mwas  wrote:
> > Hi,
> >
> > Does any one know How webkit handles invalid/malformed URL String
> something
> > like www.google![].com.
> >
> > knowing that parse(url) invoked in KURL::KURL(const String&) just scans
> for
> > protocols like file:// ftp:// or IPV6 address etc. but it does not check
> for
> > the URL's mentioned above
> >
> > Any Ideas would be appreciated.
> >
> > Thanks
> >
> > mwas
> >
> > ___
> > 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] Handling Malformed URL

2009-01-21 Thread mwas
Hi,

Does any one know How webkit handles invalid/malformed URL String something
like www.google![].com.

knowing that parse(url) invoked in KURL::KURL(const String&) just scans for
protocols like file:// ftp:// or IPV6 address etc. but it does not check for
the URL's mentioned above

Any Ideas would be appreciated.

Thanks

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


[webkit-dev] Setting Unlimited Capacity to BackForwardList

2009-01-18 Thread mwas
Hi,

I would like to know, is there a way to set Unlimited Capacity to History
BackForwardList. The current WebKit Code contains 100 as the default
capacity as shown below

static const unsigned DefaultCapacity = 100;
BackForwardList::BackForwardList(Page* page)
  : m_page(page)
  , m_current(NoCurrentItemIndex)
  , m_capacity(DefaultCapacity)
  , m_closed(true)
  , m_enabled(true)
{
}

Any Ideas would be much appreciated!

Thanks

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


[webkit-dev] Knowing Entry and Exit points of a Resource

2009-01-12 Thread mwas
Hi,

   I would like to know the entry and exit points of a resource in WebKit,

Example, how do I know if one leaves from http:// site to https://site and
vice-versa,

One work around would be to use  kurl.isProtocol("https://";); but this will
fail on multiple sessions

Any suggestion would be much appreciated.

Thanks

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


[webkit-dev] Full Page Zoom Issue

2008-11-27 Thread mwas
Hi Alp,

I have used the comments mentioned in
https://bugs.webkit.org/show_bug.cgi?id=14998, Comment #37 you provided for
Zooming Using CSS in the following way

void webkit_web_view_scale_transform(WebKitWebView *page,float factor)
{

  WebKitWebFrame *webFrame = webkit_web_frame_new(page);
  Frame *frame = core(webFrame);
  TransformOperations transform;
  Document* document = frame->document();
  HTMLElement* root =
reinterpret_cast(document->documentElement());
  RenderObject* renderer = root->renderer();
  RenderStyle* style = renderer->style();

  transform.operations().append(ScaleTransformOperation::create(factor,
factor, ScaleTransformOperation::SCALE));

  style->setTransform(transform);
  renderer->setStyle(style);
}

This does not perform any Scaling operation and on invoking above function
displays a blank page.

I am new to WebKit, Kindly Guide!

Thanks

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


[webkit-dev] Unable to load www.ovam.com on GtkLauncher

2008-11-23 Thread mwas
Hi Folks,
 I am unable to load http://www.ovam.com on GtkLauncher. even I could
not get the curl output. Here is the curl verbose

[EMAIL PROTECTED]:~# curl -v http://www.ovam.com
* About to connect() to www.ovam.com port 80 (#0)
* Trying 61.80.91.112... connected
* Connected to www.ovam.com (61.80.91.112) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.18.0 (i486-pc-linux-gnu) libcurl/7.18.0 OpenSSL/0.9.8g
zlib/1.2.3.3 libidn/1.1
> Host: www.ovam.com
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 302 Moved Temporarily
< Date: Thu, 20 Nov 2008 20:08:58 GMT
< Server: Apache
< Location: http://zutex.com
< Content-Type: text/html
< X-Cache: MISS from lisp
< Connection: close
<
* Closing connection #0
Kindly Suggest
Thanks
mwas
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev