Re: [webkit-dev] how to implement the flash block for webkit on linux?

2009-03-09 Thread Julien Chaffraix
Hi,

   At present, we want to implement the flash block for webkit on linux
 like flash block extension for firefox.

   We find the implemention of firefox, it's based on xbl, it's very easy
 to understand.Through checking after sometime we find the branches/xbl2  of
 webkit svn includes the xbl2 implemention, but don't know the degree of xbl
 support and its current status, and the layouttest related to xbl is so
 simple. some people know using xbl in webkit can implement the flash block?

XBL2 lives on a branch as it is not suited for inclusion inside WebKit as-is.
The current XBL2 implementation is very limited, it includes adding /
removing a binding through JavaScript or CSS but does not include the
rendering part (shadow tree generation). It lays out some of the XBL2
internals but it is more a stub than anything.

I think you could filter the flash plugin when it is registered for a
page inside WebKit (the code is inside WebCore/plugins). I cannot help
you more as I have a very limited knowledge of the NPAPI.

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


Re: [webkit-dev] Please help:::::press tab button twice to go from browser tool bar to browser window button in webkit

2009-03-09 Thread Ajay Gautam
*Instead of status bar its tool bar.*

On Mon, Mar 9, 2009 at 11:19 AM, Ajay Gautam ajayweb...@gmail.com wrote:

 Hi ,
 I have a big problem...
 I am developing a application using gtk-launcher(webkit browser) ,i am
 using a button and putting the focus on back button of status bar .now i
 getting a problem that whenever i am going from status bar back button to my
 button i have to press the tab button twice as well as from status bar back
 button to my button again i have a to press tab button twice...
 so please if anybody have any regarding this where its going on first
 press?



 Thanx  Regard
 Ajay

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


[webkit-dev] Is it possible to get current source URL and line number from JavaScriptCore API?

2009-03-09 Thread Zhe Su
Hi,
  I'm writing a C++ to JavaScript binding based on JavaScriptCore, and would
like to know current source URL and line number information in the callback
functions. However I didn't find any related API. It there any way to do it?

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


Re: [webkit-dev] Fwd: RSS support

2009-03-09 Thread David Kilzer
The RSS support (that you see in Safari) is not part of WebKit.

Dave





From: RamaMohanReddy B b.ramamohanre...@gmail.com
To: webkit-dev@lists.webkit.org
Sent: Sunday, March 8, 2009 9:40:05 PM
Subject: [webkit-dev] Fwd: RSS support

Hi,

Is RSS/Atom supported in Webkit? Is there any patch/bug how to add 
RSS support to Webkit. Please let me know. 
Thanks,
RamaMohan.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] JSON native parser

2009-03-09 Thread Husam Senussi

Hi,

Does webkit has native json parser  like in Firefox.


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


Re: [webkit-dev] JSON native parser

2009-03-09 Thread Adam Barth
Not yet:

https://bugs.webkit.org/show_bug.cgi?id=20031

On Mon, Mar 9, 2009 at 10:07 AM, Husam Senussi hu...@senussi.com wrote:
 Hi,

 Does webkit has native json parser  like in Firefox.


 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] JSON native parser

2009-03-09 Thread Husam Senussi
Was going to offer my help :) but I can see alots of the work has been  
done already.


Good to see  it in the pipe line.

Thanks
Husam

On 9 Mar 2009, at 18:09, Adam Barth wrote:


Not yet:

https://bugs.webkit.org/show_bug.cgi?id=20031

On Mon, Mar 9, 2009 at 10:07 AM, Husam Senussi hu...@senussi.com  
wrote:

Hi,

Does webkit has native json parser  like in Firefox.


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] Is it possible to get current source URL and line number from JavaScriptCore API?

2009-03-09 Thread Geoffrey Garen
  I'm writing a C++ to JavaScript binding based on JavaScriptCore,  
and would like to know current source URL and line number  
information in the callback functions. However I didn't find any  
related API. It there any way to do it?


No.

Sounds like a reasonable feature request.

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


Re: [webkit-dev] WebKitGTK+ 1.1.1 released

2009-03-09 Thread Gustavo Noronha
On Mon, 2009-03-02 at 09:50 +0800, Jenson Lui wrote:
 Hello,

Hey,

May I ask which revision of webkit it is based on.

WebKitGTK+ 1.1.1 is r41333 in svn.

See you,

-- 
Gustavo Noronha g...@gnome.org
GNOME contributor

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


Re: [webkit-dev] JSON native parser

2009-03-09 Thread Adam Barth
Those efforts have mostly stalled.  If you're interested in helping
out, that would be much appreciated.  :)

Adam


On Mon, Mar 9, 2009 at 11:23 AM, Husam Senussi hu...@senussi.com wrote:
 Was going to offer my help :) but I can see alots of the work has been done
 already.

 Good to see  it in the pipe line.

 Thanks
 Husam

 On 9 Mar 2009, at 18:09, Adam Barth wrote:

 Not yet:

 https://bugs.webkit.org/show_bug.cgi?id=20031

 On Mon, Mar 9, 2009 at 10:07 AM, Husam Senussi hu...@senussi.com wrote:

 Hi,

 Does webkit has native json parser  like in Firefox.


 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] WebKitGTK+ 1.1.1 released

2009-03-09 Thread Gustavo Noronha
On Mon, 2009-03-09 at 19:25 -0300, Gustavo Noronha wrote:
 May I ask which revision of webkit it is based on.
 
 WebKitGTK+ 1.1.1 is r41333 in svn.

Thanks to bdash poking me about this, we are going to start tagging
releases in WebKit's repository, from now on, by the way. I just tagged
1.1.1:

http://trac.webkit.org/browser/releases/WebKitGTK

See you,

-- 
Gustavo Noronha g...@gnome.org
GNOME contributor

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


[webkit-dev] Need help in understanding Webkit text wrapping

2009-03-09 Thread Meryl Silverburgh
Hi,

Can you please tell me where is the Webkit code which does text wrapping?
For example, I have a paragraph of text. How does Webkit decide where
to break into multiple lines?

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


Re: [webkit-dev] Need help in understanding Webkit text wrapping

2009-03-09 Thread Dan Bernstein



On Mar 9, 2009, at 6:48 PM, Meryl Silverburgh silverburgh.me...@gmail.com 
 wrote:



Hi,

Can you please tell me where is the Webkit code which does text  
wrapping?

For example, I have a paragraph of text. How does Webkit decide where
to break into multiple lines?


RenderBlock::findNextLineBreak() in bidi.cpp.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Is it possible to get current source URL and line number from JavaScriptCore API?

2009-03-09 Thread Zhe Su
Thanks. Do I need report a bug or something?

Regards
James Su

On Tue, Mar 10, 2009 at 2:42 AM, Geoffrey Garen gga...@apple.com wrote:

  I'm writing a C++ to JavaScript binding based on JavaScriptCore, and would
 like to know current source URL and line number information in the callback
 functions. However I didn't find any related API. It there any way to do it?


 No.

 Sounds like a reasonable feature request.

 Geoff

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


[webkit-dev] How to interrupt a running javascript code via JavaScriptCore C++ API?

2009-03-09 Thread Zhe Su
Hi,
  When running a piece of javascript code by using JSEvaluateScript() or
JSObjectCallAsFunction(), the native code might be blocked because of dead
loop or some other abnormal things in javascript code. In this case, a
mechanism to let native code be able to interrupt the javascript code by
throwing a javascript exception would be very useful. Seems that current
JavaScriptCore API doesn't have such ability.

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


Re: [webkit-dev] Is it possible to get current source URL and line number from JavaScriptCore API?

2009-03-09 Thread Mark Rowe


On 2009-03-09, at 19:18, Zhe Su wrote:


Thanks. Do I need report a bug or something?


Yes.  Please file an enhancement request at http://webkit.org/new-bug.

- Mark

On Tue, Mar 10, 2009 at 2:42 AM, Geoffrey Garen gga...@apple.com  
wrote:
 I'm writing a C++ to JavaScript binding based on JavaScriptCore,  
and would like to know current source URL and line number  
information in the callback functions. However I didn't find any  
related API. It there any way to do it?


No.

Sounds like a reasonable feature request.

Geoff

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




smime.p7s
Description: S/MIME cryptographic signature
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Is it possible to get current source URL and line number from JavaScriptCore API?

2009-03-09 Thread Zhe Su
https://bugs.webkit.org/show_bug.cgi?id=24476

On Tue, Mar 10, 2009 at 10:32 AM, Mark Rowe mr...@apple.com wrote:


 On 2009-03-09, at 19:18, Zhe Su wrote:

 Thanks. Do I need report a bug or something?


 Yes.  Please file an enhancement request at http://webkit.org/new-bug.

 - Mark

 On Tue, Mar 10, 2009 at 2:42 AM, Geoffrey Garen gga...@apple.com wrote:

  I'm writing a C++ to JavaScript binding based on JavaScriptCore, and
 would like to know current source URL and line number information in the
 callback functions. However I didn't find any related API. It there any way
 to do it?


 No.

 Sounds like a reasonable feature request.

 Geoff


 ___
 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] Need Help about AppCache in Safari 4

2009-03-09 Thread 陈成
I've write this to test browser's appcache feature.

*Manifes Code*

CACHE MANIFEST

images/image.jpg

*HTML Code*

html manifest=demo.manifest
head
meta http-equiv=Content-Type content=text/html; charset=utf-8
titleTest/title
/head
body
img src=images/image.jpg /

script
var cache = window.applicationCache;
cache.addEventListener('checking', function(){ alert('checking'); },
false);
cache.addEventListener('error', function(){ alert('error'); },
false);
cache.addEventListener('noupdate', function(){ alert('noupdate'); },
false);
cache.addEventListener('downloading', function(){
alert('downloading'); }, false);
cache.addEventListener('progress', function(){ alert('progress'); },
false);
cache.addEventListener('updateready', function(){
alert('updateready'); }, false);
cache.addEventListener('cached', function(){ alert('cached'); },
false);
cache.addEventListener('obsolete', function(){ alert('obsolete'); },
false);
/script

/body
/html

It works in Firefox 3+, but fails in Safari 4.

In Firefox 3+, alert 'checking', 'downloading', 'progress', 'progress' in
order; then in safari 4, it alert 'checking', 'downloading', 'progress',
'error'.

Someone tell me why?


--

Best Regards

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


Re: [webkit-dev] JSON native parser

2009-03-09 Thread Sriram Neelakandan
Even i wanted to join hands.. but currently unable to find time out to
understand the bison/yacc parser

On Tue, Mar 10, 2009 at 4:29 AM, Adam Barth aba...@webkit.org wrote:
 Those efforts have mostly stalled.  If you're interested in helping
 out, that would be much appreciated.  :)

 Adam


 On Mon, Mar 9, 2009 at 11:23 AM, Husam Senussi hu...@senussi.com wrote:
 Was going to offer my help :) but I can see alots of the work has been done
 already.

 Good to see  it in the pipe line.

 Thanks
 Husam

 On 9 Mar 2009, at 18:09, Adam Barth wrote:

 Not yet:

 https://bugs.webkit.org/show_bug.cgi?id=20031

 On Mon, Mar 9, 2009 at 10:07 AM, Husam Senussi hu...@senussi.com wrote:

 Hi,

 Does webkit has native json parser  like in Firefox.


 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




-- 
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