Re: [webkit-dev] CDMi interface for EME?

2014-06-10 Thread Brendan Long
On 06/10/2014 12:51 PM, Maciej Stachowiak wrote: But I don’t think we’d want to support pluggable CDMs as an extension point on any of Apple’s ports (which is the whole point of CDMi), only the ones we support already. So the question is whether there are any other WebKit ports that would

Re: [webkit-dev] CDMi interface for EME?

2014-06-10 Thread Brendan Long
On 06/10/2014 02:36 PM, Maciej Stachowiak wrote: We have no current plans to make it an extension point for Mac or iOS Safari or for other WebKit clients. We don’t like binary plugins of any kind, and content providers seem satisfied with what we can offer as built-in CDMs (for example, see

[webkit-dev] CDMi interface for EME?

2014-06-09 Thread Brendan Long
), but I figured I'd go to the source and see if anyone has looked into doing this before. Thanks, Brendan Long CableLabs, Inc. ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev

Re: [webkit-dev] Adding flag to optionally run check-webkit-style as part of prepare-Changelog and svn-create-patch

2014-04-04 Thread Brendan Long
Doesn't 'webkit-patch upload' already do that? On 04/04/2014 02:14 AM, James Craig wrote: I sometimes forget to run the check-webkit-style script before uploading patches, so I put a patch up for review that adds a --style and --no-style flags to prepare-Changelog and svn-create-patch. Alexey

Re: [webkit-dev] Regarding exposing function using webkit idl

2014-01-30 Thread Brendan Long
I'm not aware of a void pointer type in WebIDL. Maybe you want any or object? On Thu, 2014-01-30 at 22:32 +0530, Chandrakant Rinayat wrote: Hi, I am trying to expose one function in webkit idl ,which is taking void pointer as an argument. But When I am exposing, I am facing the errorerror:

Re: [webkit-dev] When to use auto? (I usually consider it harmful)

2014-01-02 Thread Brendan Long
On Thu, 2014-01-02 at 13:12 -0800, Geoffrey Garen wrote: I think an appropriate style guideline for “auto” would say something like: - Use “auto to declare a disgusting templated iterator type in a loop - Use “auto… - to define a template-dependent return type in a class template - In

[webkit-dev] std::shared_ptr?

2013-10-26 Thread Brendan Long
On 10/25/2013 06:38 PM, Darin Adler wrote: We are replacing PassOwnPtr and OwnPtr with std::unique_ptr. This is part of a general trend where we are adopting some C++11 language and library features. Is there any plan to replace RefPtr with std::shared_ptr too, or is there some reason why that

Re: [webkit-dev] std::shared_ptr?

2013-10-26 Thread Brendan Long
One of the answers on this Stack Overflow question http://stackoverflow.com/questions/3628081/shared-ptr-horrible-speed suggests that we can fix the memory issue by using `making_shared`: *use* |make_shared| http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared *to allocate them*,

Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?

2013-10-14 Thread Brendan Long
On 10/14/2013 04:14 AM, gstreamer MACOSX wrote: Exactly, Philippe: I searched everywhere by D:\Users\gstreamermacosx\webkit\Source but without any success. I applyed this command like my counterparts ... : *git clone /http://git.igalia.com/webkit.git/* Is it correct ? In fact, there is not

Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?

2013-10-14 Thread Brendan Long
On 10/14/2013 10:39 AM, Mital Vora wrote: I have few questions regarding move to Gstreamer. * are we gonna replace the existing openssl and curl with libsoup ? The GStreamer media player https://github.com/WebKit/webkit/tree/master/Source/WebCore/platform/graphics/gstreamer already exists. You

Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?

2013-10-14 Thread Brendan Long
On 10/14/2013 10:39 AM, Mital Vora wrote: * are we considering any other possibilities besides gstreamer like ffmpeg (http://www.ffmpeg.org/) or any other. By the way, if this is just for Windows, you may want to look at Media Foundation https://en.wikipedia.org/wiki/Media_Foundation. Also, I

Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?

2013-10-14 Thread Brendan Long
On 10/14/2013 12:08 PM, Brent Fulgham wrote: The only problem with Media Foundation is that it is Vista-and-newer only. There is no Windows XP version. Does WebKit still build on XP? signature.asc Description: OpenPGP digital signature ___

Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?

2013-10-14 Thread Brendan Long
On 10/14/2013 12:18 PM, Brent Fulgham wrote: On Oct 14, 2013, at 11:12 AM, Brendan Long s...@brendanlong.com wrote: Does WebKit still build on XP? Yes. And it is intended to stay that way for the foreseeable future. In that case, it may be better to use DirectShow https://en.wikipedia.org

Re: [webkit-dev] [WinCairo] : Gstreamer claimed as a default player = CPP files needed (ex: ...gobject\GlibUtilities.cpp)

2013-10-14 Thread Brendan Long
On 10/14/2013 02:33 PM, Urbain EGIS wrote: Alex: could you pls provide us with Webkit files related to Gstreamer integration ? GStreamer support is already included in the main WebKit repo. Look in Source/WebCore/platform/graphics/gstreamer. signature.asc Description: OpenPGP digital

Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?

2013-10-11 Thread Brendan Long
On 10/11/2013 02:13 PM, Urbain EGIS wrote: Playing a bit with WebKit sources for Windows (using WinCairo port) I expected to activate HTML5 video tag. I just simply put : #define ENABLE_VIDEO 1 and rebuilt everything. But I realized that only few files are concerned by USE(ENABLE_VIDEO) and

Re: [webkit-dev] Reference count leak with InBandTextTracks?

2013-10-01 Thread Brendan Long
I've been working on the GStreamer version of in-band text tracks, but I haven't looked at the details of how RefPtr works. My guess is that JavaScript is holding those extra refs, and the clear memory cache forces a JS garbage collect. On 10/01/2013 03:48 AM, Benjamin Dupont (bedupont) wrote:

[webkit-dev] EDITBUGS permission?

2013-10-01 Thread Brendan Long
Is this the right mailing list to ask for EDITBUGS permission? I have 16 accepted patches, and it would be nice if I could assign bugs to myself. http://trac.webkit.org/search?q=Patch+by+Brendan+Long My email on the WebKit bug tracker is: b.l...@cablelabs.com signature.asc Description

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-09-06 Thread Brendan Long
On 09/06/2013 10:59 AM, Oliver Hunt wrote: On Sep 6, 2013, at 9:44 AM, youenn fablet youe...@gmail.com mailto:youe...@gmail.com wrote: For starters, most of users wouldn't even know what a local network is; let alone what discovering media sources, etc... mean. Most users may not be

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-08-30 Thread Brendan Long
On 08/29/2013 05:45 PM, Benjamin Poulain wrote: Can you explain a bit what it is for? What are the common use cases? This would be useful for certain kinds of web apps. For example,a music website like Pandora or Spotify could allow users to include music on their local network. Or a service like

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-08-30 Thread Brendan Long
On 08/29/2013 09:37 PM, Sam Weinig wrote: I don't think this belongs in WebKit, as this doesn't seem like it would ever be appropriate to expose to the Web at large. I recommend trying to find a way to layer this on top of WebKit if it is something you need to support. While our use-case is

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-08-30 Thread Brendan Long
On 08/30/2013 11:06 AM, Oliver Hunt wrote: Here's my concern - if you say a service like x might want to search for something, that is better described as a random website. That may be something the user wants, alternatively it could be something evil. It could also be something evil embedded

[webkit-dev] Proposed feature: Network Service Discovery

2013-08-29 Thread Brendan Long
We would like to implement the Network Service Discovery spec http://www.w3.org/TR/discovery-api/ in WebKIt. There's an existing bug https://bugs.webkit.org/show_bug.cgi?id=101162 (with a basic patch to show the API) in the bug tracker. This is useful to allow media applications to discover

Re: [webkit-dev] too much spam email is too much

2013-08-16 Thread Brendan Long
On 08/06/2013 10:02 AM, Mihai Maerean wrote: Since I started working on WebKit, the amount of spam I'm receiving has grown continuously. I'm thinking that this is caused by Bugzilla showing the full email addresses even if the visitors (spam crawlers) are not logged in. My suggestion is

Re: [webkit-dev] When should I use AtomicString vs String?

2013-06-03 Thread Brendan Long
On 06/01/2013 10:09 PM, Glenn Adams wrote: But the name did throw me, since I asked myself what makes this more 'atomic' than String, synchronicity wise? I'm sure I'm not the only one who wondered about this. Before asking this question I had assumed AtomicString was an atomic type

[webkit-dev] When should I use AtomicString vs String?

2013-05-31 Thread Brendan Long
I hope this isn't a stupid question, but I can't find any references to what the difference between AtomicString and String is. It looks like AtomicString is generally preferred, but I don't know why. Can someone fill me in on this? Is there any refences for the classes in WTF? signature.asc

Re: [webkit-dev] When should I use AtomicString vs String?

2013-05-31 Thread Brendan Long
So should I just never use String and always use AtomicString? On 05/31/2013 03:14 PM, Daker Pinheiro wrote: It is faster to compare and hash AtomicString than regular Strings. On Fri, May 31, 2013 at 5:57 PM, Brendan Long s...@brendanlong.com mailto:s...@brendanlong.com wrote: I hope