Re: [webkit-dev] PAN(flick) to left operation collapse screen in Webkit(Safari) on window7 tablet

2012-11-18 Thread HIDEKI YOSHIDA
Hi, I have submitted this issue on https://bugs.webkit.org/.

Bug 102627 

Thanks,
  Hideki

Thu, 15 Nov 2012 09:15:34 -0800に
Brady Eidson さんよりいただいた
「Re: [webkit-dev] PAN(flick) to left operation collapse screen in 
Webkit(Safari) on window7 tablet」への返事です。

***
  Hideki Yoshida
  Embedded Software Division
  NEC System Technologies, Ltd.
E-MAIL:yoshida-...@necst.nec.co.jp
TEL:+81-78-991-5566FAX:+81-78-991-5568
***


> It sounds like you meant to go to https://bugs.webkit.org/ and file a bug.
> 
> Thanks,
> ~Brady
> 
> On Nov 15, 2012, at 1:13 AM, HIDEKI YOSHIDA  
> wrote:
> 
> > Hi,
> > 
> > PAN(flick) to left operation collapse screen in Webkit(Safari) on window7
> > tablet.
> > 
> > Version:Safari 5.1.7(7534.57.2)
> > 
> > Does anyone know this problem and the patch to resolve?
> > 
> > How to reproduce.
> > 1) Launch Safai on Windows tablet. Set its window's width less than
> > 960px.
> > 
> > 2) Open http://jquerymobile.com/demos/1.1.1/docs/forms/docs-forms.html
> > with it.
> > 
> > 3) On the right pane, do PAN(flick) to left, then the whole contents in 
> > the window move horizontally to left by about 30px to 100px.
> > 
> > This contents itself is not designed to move horizontally.
> > The move does not occur on other browsers such as Chrome and IE.
> > This problem may not occur depending on window's width size and zoom scale.
> > 
> > After my team analyzed this problem, we figured out that,
> > when RenderLayer's m_scrollSize.m_width is greather than m_LayerSize.m_width
> > at the beginning of scrollByRecursively in RederLayer.cpp which is called 
> > just before PAN processing, this problem occurs.
> > 
> >Hideki
> > 
> > ***
> >  Hideki Yoshida
> >  Embedded Software Division
> >  NEC System Technologies, Ltd.
> >E-MAIL:yoshida-...@necst.nec.co.jp
> > ***
> > 
> > ___
> > webkit-dev mailing list
> > webkit-dev@lists.webkit.org
> > http://lists.webkit.org/mailman/listinfo/webkit-dev


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


Re: [webkit-dev] Feature Request: Dynamic Application Cache

2012-11-18 Thread Ryosuke Niwa
WebKit is a browser engine. Each vendor (e.g. Apple & Google) decides which
feature to ship in their browser. Even if you added a feature to WebKit,
there is no guarantee that browsers that use WebKit will ship with the
feature.

Also, we tend not to accept a new Web-exposed feature unless it has been
discussed and a rough consensus has been reached on standards mailing lists
(e.g. W3C, whatwg).

- R. Niwa

On Sunday, November 18, 2012, sridharn wrote:

> Oops! didn't realize that .. I was planning to make the changes myself to
> webkit (I'm totally new btw) so that at least I can use it in
> my environment but wanted to understand the current state and/or how to go
> about in case there is an acceptable method so that the changes can be
> pulled into the mainline in case everything works out ..
>
> On Sun, Nov 18, 2012 at 1:15 PM, Maciej Stachowiak [via Mac OS Forge] <[hidden
> email] > wrote:
>
>>
>> Feature requests are off-topic for this mailing list (at least, if it's
>> not a feature you plan to implement yourself). This topic for this list is
>> development of WebKit.
>>
>> Regards,
>> Maciej
>>
>> On Nov 17, 2012, at
>> 7:47 AM, sridharn <[hidden 
>> email]>
>> wrote:
>>
>> > Any updates / plans for this feature ?? I do agree with  Stefan on this
>> ..
>> > I've been banging my head on how
>> > to  cache video files using html 5 storage features and there just
>> doesn't
>> > seem to be a straightforward way
>> > (they all are currently intended for small size text / mobile webkit
>> doesn't
>> > support file system and blah blah)
>> > to do that and feel appcache is cleaner way going forward too for media
>> > files ..
>> >
>> > Also, mobile webkit (chrome/safari in ios4) don't seem to appcache mp3
>> files
>> > (~5MB) .. Is this a known issue ?
>> > This should hopefully go away once the dynamic mechanism is added I
>> hope ..
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://mac-os-forge.2317878.n4.nabble.com/Feature-Request-Dynamic-Application-Cache-tp173167p200273.html
>> > Sent from the Webkit mailing list archive at Nabble.com.
>> > ___
>> > webkit-dev mailing list
>> > [hidden email] 
>> > http://lists.webkit.org/mailman/listinfo/webkit-dev
>>
>> ___
>> webkit-dev mailing list
>> [hidden email] 
>> http://lists.webkit.org/mailman/listinfo/webkit-dev
>>
>>
>> --
>>  If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://mac-os-forge.2317878.n4.nabble.com/Feature-Request-Dynamic-Application-Cache-tp173167p200344.html
>>  To unsubscribe from Feature Request: Dynamic Application Cache, click
>> here.
>> NAML
>>
>
>
> --
> View this message in context: Re: Feature Request: Dynamic Application
> Cache
> Sent from the Webkit mailing list 
> archiveat 
> Nabble.com.
>


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


Re: [webkit-dev] Feature Request: Dynamic Application Cache

2012-11-18 Thread Brady Eidson

On Nov 18, 2012, at 10:18 AM, sridharn  wrote:

> Oops! didn't realize that .. I was planning to make the changes myself to 
> webkit (I'm totally new btw) so that at least I can use it in my environment 
> but wanted to understand the current state and/or how to go about in case 
> there is an acceptable method so that the changes can be pulled into the 
> mainline in case everything works out .. 

This thread has gotten overloaded and is suffering due to lack of clarity.  I 
think you primarily raised two issues.

1 - "The current app cache doesn't work with media files".

This is false.  The design of the app cache is that it *does* work with media 
files, and we expect it to work with media files.  If you are running in to 
problems putting media files in the current app cache mechanism, please file a 
bug at bugs.webkit.org specifying precisely what you tried and with which 
configuration.

2 - "I wish application cache has dynamic entry support"

This is a feature request (completely unrelated to the fact that you want media 
files in the app cache).  As Maciej mentioned in an earlier reply feature 
requests do not belong on WebKit-dev.  The best place to start is probably - 
again - filing a bug at bugs.webkit.org

Note that if you are a brand new contributor to WebKit, taking on the addition 
of an entirely new app cache feature is almost certainly going to be way too 
difficult.

Thanks,
~Brady

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


Re: [webkit-dev] Feature Request: Dynamic Application Cache

2012-11-18 Thread sridharn
Oops! didn't realize that .. I was planning to make the changes myself to
webkit (I'm totally new btw) so that at least I can use it in
my environment but wanted to understand the current state and/or how to go
about in case there is an acceptable method so that the changes can be
pulled into the mainline in case everything works out ..

On Sun, Nov 18, 2012 at 1:15 PM, Maciej Stachowiak [via Mac OS Forge] <
ml-node+s2317878n200344...@n4.nabble.com> wrote:

>
> Feature requests are off-topic for this mailing list (at least, if it's
> not a feature you plan to implement yourself). This topic for this list is
> development of WebKit.
>
> Regards,
> Maciej
>
> On Nov 17, 2012, at 7:47 AM, sridharn <[hidden 
> email]>
> wrote:
>
> > Any updates / plans for this feature ?? I do agree with  Stefan on this
> ..
> > I've been banging my head on how
> > to  cache video files using html 5 storage features and there just
> doesn't
> > seem to be a straightforward way
> > (they all are currently intended for small size text / mobile webkit
> doesn't
> > support file system and blah blah)
> > to do that and feel appcache is cleaner way going forward too for media
> > files ..
> >
> > Also, mobile webkit (chrome/safari in ios4) don't seem to appcache mp3
> files
> > (~5MB) .. Is this a known issue ?
> > This should hopefully go away once the dynamic mechanism is added I hope
> ..
> >
> >
> >
> > --
> > View this message in context:
> http://mac-os-forge.2317878.n4.nabble.com/Feature-Request-Dynamic-Application-Cache-tp173167p200273.html
> > Sent from the Webkit mailing list archive at Nabble.com.
> > ___
> > webkit-dev mailing list
> > [hidden email] 
> > http://lists.webkit.org/mailman/listinfo/webkit-dev
>
> ___
> webkit-dev mailing list
> [hidden email] 
> http://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://mac-os-forge.2317878.n4.nabble.com/Feature-Request-Dynamic-Application-Cache-tp173167p200344.html
>  To unsubscribe from Feature Request: Dynamic Application Cache, click
> here
> .
> NAML
>




--
View this message in context: 
http://mac-os-forge.2317878.n4.nabble.com/Feature-Request-Dynamic-Application-Cache-tp173167p200396.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/webkit-dev


Re: [webkit-dev] Feature Request: Dynamic Application Cache

2012-11-18 Thread sridharn
On Sun, Nov 18, 2012 at 8:31 AM, Ian Hickson [via Mac OS Forge] <
ml-node+s2317878n200335...@n4.nabble.com> wrote:

> On Sat, 17 Nov 2012, Brady Eidson wrote:
>
> > On Nov 17, 2012, at 2:40 PM, Brendan Eich <[hidden 
> > email]>
> wrote:
> > > Brady Eidson wrote:
> > >> On Nov 17, 2012, at 7:47 AM, sridharn<[hidden 
> > >> email]>
>  wrote:
> > >>
> > >>> Any updates / plans for this feature ??
> > >> What feature?
> > >
> > > https://lists.webkit.org/pipermail/webkit-dev/2012-April/020455.html
>
> > >
> > > """
> > >
> > > Mozilla Firefox supports dynamic adding of resources into the
> > > application cache for offline use with the function:
> > > window.applicationCache.mozAdd(URI String)
> > > https://developer.mozilla.org/en/nsIDOMOfflineResourceList
> > >
> > > This is great for persistent storage of assets via javascipt. Instead
> > > of predefining those assets in the manifest file one can use
> > > javascript to cache the needed assets. Is there something similar
> > > planed? Like window.applicationCache.webkitAdd(URI String) ?
> > >
> > > """
> >
> > I knew about that, and we'll likely be interested in taking a look after
> > HTML or WebApps takes it up and gets it into a standard, which I know
> > there's interest in but it hasn't happened yet…
> Current status is:
>
>https://www.w3.org/Bugs/Public/show_bug.cgi?id=17974
>
> ...which is looking for feedback from potential authors and implementors.
>
> In particular, the current idea doesn't involve an add/remove API, but
> something more involved, and it would be good to get feedback on whether
> that's overkill for some or all use cases. (Knowing exactly what the use
> cases are would help.)
>

I took  a look at the thread and it does seem a little bit complicated. As
you mentioned in the end, we would still need the add/remove/list APIs and
that would just plain work for media files ..  I don't completely follow
the interceptor model but I don't think that was the original requirement
either and it was to address something else (Please correct me if I'm wrong
..). I guess I'll add my comments in there so we can discuss further on
this ..

and example use case would be. Say I need to have an offline mp3 player ..
I need to know what files are locally available so that the user can play.
The other side would be that when he is connected online, he can choose to
cache a specific file instead of having to play to get cached or all files
getting cached and so on ..

>
> --
> Ian Hickson   U+1047E)\._.,--,'``.fL
> http://ln.hixie.ch/   U+263A/,   _.. \   _\  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
>
> ___
> webkit-dev mailing list
> [hidden email] 
> http://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://mac-os-forge.2317878.n4.nabble.com/Feature-Request-Dynamic-Application-Cache-tp173167p200335.html
>  To unsubscribe from Feature Request: Dynamic Application Cache, click
> here
> .
> NAML
>




--
View this message in context: 
http://mac-os-forge.2317878.n4.nabble.com/Feature-Request-Dynamic-Application-Cache-tp173167p200395.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/webkit-dev


Re: [webkit-dev] Feature Request: Dynamic Application Cache

2012-11-18 Thread sridharn
On Sun, Nov 18, 2012 at 1:27 AM, Brady Eidson [via Mac OS Forge] <
ml-node+s2317878n200300...@n4.nabble.com> wrote:

>
> On Nov 17, 2012, at 7:47 AM, sridharn <[hidden 
> email]>
> wrote:
>
> > Any updates / plans for this feature ??
>
> What feature?
>
> > I do agree with  Stefan on this ..
> > I've been banging my head on how
> > to  cache video files using html 5 storage features and there just
> doesn't
> > seem to be a straightforward way
> > (they all are currently intended for small size text / mobile webkit
> doesn't
> > support file system and blah blah)
> > to do that and feel appcache is cleaner way going forward too for media
> > files ..
>
> Where are you seeing this not work?
>
> At least on the Apple port you should be able to stick audio/video in the
> app cache.  There are a handful of bugzillas that show this work being done
> a long time ago.
>
> If it's not working for you, I look forward to reading the bug you file at
> bugs.webkit.org.
>
Brad, I was referring the html 5 storage features like local storage,
filesystem, indexdb mechanisms in the above comment .. on how they are
inadequate/add overhead when I need to store a media file. local storage is
not useful for media since it's based on strings. Filesystem and indexdb
will work but there is some effort in either base64 encoding and/or using
ajax and/or using blobs and/or url redirections when all this can be solved
by just exposing the appcache APIs to add/remove entries.

>
>

> > Also, mobile webkit (chrome/safari in ios4) don't seem to appcache mp3
> files
> > (~5MB) .. Is this a known issue ?
>
> iOS4 is ancient.  I forget when this first shipped but it should work in
> iOS6.
>

ok, I'm totally new to this .. So from what I understand webkit is part of
IOS (in case IOS) and is not included as part of the browser like on the
desktop versions (please correct me if I'm wrong here) ?? If this is true,
any feature even if I want to add has to get accepted in webkit community
and get released as part of the official iosX build ? That seems lenghty ..
Is there no way for me to add the changes and test them out on ios4 ?
apologies if I'm asking the wrong questions here and would appreciate if
you could point me in the right direction/mailing list for this ..


> > This should hopefully go away once the dynamic mechanism is added I hope
> ..
>
> Again, not sure precisely which dynamic mechanism you're talking about
> since you included no context in your email, but I don't see how a dynamic
> app cache mechanism is related to the app cache supporting media, which it
> does.
>

I guess this requirement is clear now.  Sorry about the confusion .. The
part about appcache not supporting media files was limited to ios4 which I
explained above. I was trying to say that dynamic appcache would be helpful
in the sense that adding/removing media files would be much more efficient
than using the html5 storage methods from my understanding.

>
> ~Brady
>
> ___
> webkit-dev mailing list
> [hidden email] 
> http://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://mac-os-forge.2317878.n4.nabble.com/Feature-Request-Dynamic-Application-Cache-tp173167p200300.html
>  To unsubscribe from Feature Request: Dynamic Application Cache, click
> here
> .
> NAML
>




--
View this message in context: 
http://mac-os-forge.2317878.n4.nabble.com/Feature-Request-Dynamic-Application-Cache-tp173167p200394.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/webkit-dev