Feedback wanted on font checker

2013-08-08 Thread Axel Hecht
Hi, I'm looking for a review of some rather hacky tool I just created to see if the fonts on b2g actually support a particular language. https://github.com/Pike/font-tool Basic outline of what the tool does: Parses langGroups.properties to see which locale has which group, with default to

Re: Standard C/C++ and Mozilla

2013-08-08 Thread Brian Smith
On Wed, Aug 7, 2013 at 6:47 PM, Ehsan Akhgari ehsan.akhg...@gmail.comwrote: (Sorry for the late reply, please blame it on Canadian statutory holidays, and my birthday date!) Happy birthday! On Fri, Aug 2, 2013 at 11:09 PM, Brian Smith br...@briansmith.org wrote: 1. It avoids a phase of

Re: Feedback wanted on font checker

2013-08-08 Thread Jonathan Kew
On 8/8/13 15:17, Axel Hecht wrote: Hi, I'm looking for a review of some rather hacky tool I just created to see if the fonts on b2g actually support a particular language. https://github.com/Pike/font-tool Basic outline of what the tool does: Parses langGroups.properties to see which locale

Re: On builds getting slower

2013-08-08 Thread Nicholas Nethercote
On Sun, Aug 4, 2013 at 11:48 PM, Nicholas Nethercote n.netherc...@gmail.com wrote: Nick, when you made changes to the JS engine's #includes, did you observe a change in build times? I don't have good measurements, largely because I've been doing it in small chunks over time. I'll try to do

Re: Standard C/C++ and Mozilla

2013-08-08 Thread Brian Smith
On Wed, Aug 7, 2013 at 6:47 PM, Ehsan Akhgari ehsan.akhg...@gmail.comwrote: But for whatever it's worth, I think that in general, for the std replacement code living in MFBT, it's best for us to try really hard to match the C++ standard where it makes sense. We sometimes go through a crazy

Re: Intent to implement: NavigationController

2013-08-08 Thread Nikhil Marathe
On Wednesday, August 7, 2013 7:02:51 PM UTC-7, Ehsan Akhgari wrote: On Mon, Aug 5, 2013 at 3:17 PM, Nikhil Marathe wrote: On Monday, August 5, 2013 10:01:06 AM UTC-7, Mounir Lamouri wrote: On 26/07/13 18:29, Ehsan Akhgari wrote: We're planning to implement a prototype of

Re: Feedback wanted on font checker

2013-08-08 Thread Axel Hecht
Hi Jonathan, thanks for the feedback, more inline. On 8/8/13 5:17 PM, Jonathan Kew wrote: On 8/8/13 15:17, Axel Hecht wrote: Hi, I'm looking for a review of some rather hacky tool I just created to see if the fonts on b2g actually support a particular language.

Exposing the CSS/SVG Filters as Canvas API's

2013-08-08 Thread Jet Villegas
Shumway team still needs to implement filter effects available in the Flash Player. Ideally, fast filters can be made available to all Canvas programs. Now that we've got a shared filter pipeline with SVG and CSS, can we surface the same filters as a Canvas API? I'm attaching our last e-mail

Re: Exposing the CSS/SVG Filters as Canvas API's

2013-08-08 Thread Bas Schouten
Just to provide something of an update here. Let me first correct something from the original e-mail, SVG does not render on the Skia backend right now, but rather on thebes. It simply has its own code to do these sorts of filters. Over the last couple of weeks we've also been working on adding

Re: Feedback wanted on font checker

2013-08-08 Thread Karl Tomlinson
Axel Hecht writes: On 8/8/13 5:17 PM, Jonathan Kew wrote: On 8/8/13 15:17, Axel Hecht wrote: Couter example seems to be Chinese, the unagi shows something, while my tool reports 13k missing glyphs for zh-TW. If we're using Droid Sans Fallback, I believe it supports somewhere well over

Re: Exposing the CSS/SVG Filters as Canvas API's

2013-08-08 Thread Robert O'Callahan
Markus is moving with great speed and we should have the necessary Moz2D support landed soonish. I think the biggest outstanding issue is how to spec the canvas API for this. The most obvious approach to me is to add a filter attribute to CanvasRenderingContext2D that takes a CSS filter value and

Re: Feedback wanted on font checker

2013-08-08 Thread Axel Hecht
On 8/8/13 10:45 PM, Karl Tomlinson wrote: Axel Hecht writes: On 8/8/13 5:17 PM, Jonathan Kew wrote: On 8/8/13 15:17, Axel Hecht wrote: Couter example seems to be Chinese, the unagi shows something, while my tool reports 13k missing glyphs for zh-TW. If we're using Droid Sans Fallback, I

Re: Exposing the CSS/SVG Filters as Canvas API's

2013-08-08 Thread Robert O'Callahan
On Fri, Aug 9, 2013 at 9:29 AM, K. Gadd k...@luminance.org wrote: Consider this my +1 in favor of a dedicated .colorMatrix attribute, Good, then I'll expect you to back me up in WHATWG with usecases :-). preferably in the form of a Uint8Array or Float32Array instead of another *!@$ string.

Re: Exposing the CSS/SVG Filters as Canvas API's

2013-08-08 Thread Benoit Jacob
Given the security flaws that have been recently disclosed, http://contextis.co.uk/files/Browser_Timing_Attacks.pdf I think that it would make more sense to first try to see to what extent we manage to fix these issues, see what is left of SVG filters after these issues are fixed, and only then

Re: Exposing the CSS/SVG Filters as Canvas API's

2013-08-08 Thread Cameron McCormack
Robert O'Callahan wrote: On Fri, Aug 9, 2013 at 9:29 AM, K. Gaddk...@luminance.org wrote: Consider this my +1 in favor of a dedicated .colorMatrix attribute, Good, then I'll expect you to back me up in WHATWG with usecases :-). Why should color matrix become a property if other filters

Re: Exposing the CSS/SVG Filters as Canvas API's

2013-08-08 Thread Robert O'Callahan
On Fri, Aug 9, 2013 at 10:00 AM, Cameron McCormack c...@mcc.id.au wrote: Why should color matrix become a property if other filters go through a .filter property on the context object? Wouldn't it be more consistent if we just introduced a color-matrix() CSS value? To avoid string parsing

Re: Exposing the CSS/SVG Filters as Canvas API's

2013-08-08 Thread Robert O'Callahan
On Fri, Aug 9, 2013 at 10:00 AM, Benoit Jacob jacob.benoi...@gmail.comwrote: I think that it would make more sense to first try to see to what extent we manage to fix these issues, see what is left of SVG filters after these issues are fixed, and only then consider propagating these concepts

Re: Intent to implement: NavigationController

2013-08-08 Thread Ehsan Akhgari
On 2013-08-08 12:20 PM, Nikhil Marathe wrote: On Wednesday, August 7, 2013 7:02:51 PM UTC-7, Ehsan Akhgari wrote: On Mon, Aug 5, 2013 at 3:17 PM, Nikhil Marathe wrote: On Monday, August 5, 2013 10:01:06 AM UTC-7, Mounir Lamouri wrote: On 26/07/13 18:29, Ehsan Akhgari wrote: We're

Re: Standard C/C++ and Mozilla

2013-08-08 Thread Ehsan Akhgari
On 2013-08-08 11:34 AM, Brian Smith wrote: On Wed, Aug 7, 2013 at 6:47 PM, Ehsan Akhgari ehsan.akhg...@gmail.com mailto:ehsan.akhg...@gmail.com wrote: But for whatever it's worth, I think that in general, for the std replacement code living in MFBT, it's best for us to try really hard

Re: Intent to implement: NavigationController

2013-08-08 Thread Nikhil Marathe
There is no bug number yet, because I have about 15 lines of additional code :) On Thu, Aug 8, 2013 at 3:52 PM, Ehsan Akhgari ehsan.akhg...@gmail.comwrote: On 2013-08-08 12:20 PM, Nikhil Marathe wrote: On Wednesday, August 7, 2013 7:02:51 PM UTC-7, Ehsan Akhgari wrote: On Mon, Aug 5, 2013

Re: Exposing the CSS/SVG Filters as Canvas API's

2013-08-08 Thread K. Gadd
For use cases like mine, any other alternative requires origin-clean image data anyway, since the workarounds usually involve getImageData or WebGL or something (and SVG itself seems to hate non-origin-clean image data, based on my tests). So having this stuff only work for origin-clean image data

Re: Standard C/C++ and Mozilla

2013-08-08 Thread Mike Hommey
On Thu, Aug 08, 2013 at 08:15:29PM -0700, Brian Smith wrote: On Thu, Aug 8, 2013 at 3:57 PM, Ehsan Akhgari ehsan.akhg...@gmail.comwrote: On 2013-08-08 11:34 AM, Brian Smith wrote: My position is that we should fix STLPort's implementation for GCC 4.4 ARM Linux (maybe just backport a