Re: [blink-dev] Re: [v8-users] Intent to Ship: Intl.PluralRules

2017-09-12 Thread Adam Klein
Thanks, with that background this LGTM to ship.

On Tue, Sep 12, 2017 at 2:35 PM, Daniel Ehrenberg 
wrote:

> I asked Zbigniew Braniecki about the status of
> Intl.NumberFormat.prototype.formatToParts and PluralRules, and he told
> me,
>
> > Both are ready and need to be exposed. We've been waiting for them to
> reach stage 4 to expose them to the Web
> > NumberFormat.formatToParts is behind the flag -
> http://searchfox.org/mozilla-central/source/js/src/builtin/Intl.cpp#1639
> > and PluralRules is exposed on mozIntl (which is our chrome-only API for
> UI internationalization that extends Intl API) -
> http://searchfox.org/mozilla-central/source/toolkit/
> components/mozintl/mozIntl.js#73
> > With you guys having land both I think we can expose them now. I'm happy
> to work on the patch next week :)
>
> In particular, Mozilla has been pushing these proposals for some time,
> and has been held back by lack of buy-in from other browser vendors.
>
> Dan
>
> On Tue, Sep 12, 2017 at 9:45 AM,   wrote:
> > This implementation is for SpiderMoneky shell only with
> addIntlExtras(Intl).
> > It isn't available on Gecko yet.
> >
> > -- Makoto Kato
> >
> > 2017年9月12日火曜日 6時30分27秒 UTC+9 Adam Klein:
> >>
> >> Thanks, from the spec-stabilization side this sounds fine to me.
> >>
> >> Given that we'd be first to ship, I wonder if you have any more
> background
> >> on the Firefox status: the intent lists it as "in development" there,
> but
> >> https://bugzilla.mozilla.org/show_bug.cgi?id=1270146 has been closed,
> and
> >> says it's "Fixed in Firefox 53". But I'm running Firefox 55 locally and
> I
> >> don't see it shipped there.
> >>
> >> On Sun, Sep 10, 2017 at 10:17 AM, Daniel Ehrenberg <
> litt...@chromium.org>
> >> wrote:
> >>>
> >>> +blink-dev
> >>>
> >>> On Sun, Sep 10, 2017 at 7:16 PM, Daniel Ehrenberg
> >>>  wrote:
> >>> > ECMA 402 (Intl) tracks its proposals separately. You can see it
> listed
> >>> > as Stage 3 at https://github.com/tc39/ecma402/ . There is a full
> >>> > implementation in Firefox behind a flag. I'd say this spec is pretty
> >>> > stable.
> >>> >
> >>> > Dan
> >>> >
> >>> > On Fri, Sep 8, 2017 at 7:39 PM, Adam Klein 
> wrote:
> >>> >> What's the stability state of the spec? I don't see it on
> >>> >> https://github.com/tc39/proposals
> >>> >>
> >>> >> On Fri, Sep 8, 2017 at 9:41 AM, Josh Wolfe 
> wrote:
> >>> >>>
> >>> >>> # Contact emails
> >>> >>>
> >>> >>> jwo...@igalia.com
> >>> >>> litt...@chromium.org
> >>>
> >>> >>>
> >>> >>> # Spec
> >>> >>>
> >>> >>> https://rawgit.com/caridy/intl-plural-rules-spec/master/index.html
> >>> >>>
> >>> >>> # Summary
> >>> >>>
> >>> >>> Intl.PluralRules is a new API which exposes language-dependent data
> >>> >>> on
> >>> >>> pluralization forms of numbers. Given a locale and a number,
> >>> >>> Intl.PluralRules outputs a category, which can then be used for
> >>> >>> selection of the pluralization form of surrounding text.
> >>> >>>
> >>> >>> # Motivation
> >>> >>>
> >>> >>> In English, 101st ends with "st" while 111th ends with "th". The
> >>> >>> algorithm
> >>> >>> for
> >>> >>> determining the proper ordinal suffix is non-trivial and locale
> >>> >>> specific.
> >>> >>> A
> >>> >>> proper international solution is implemented in ICU, and
> >>> >>> Intl.PluralRules
> >>> >>> exposes this solution to JavaScript developers.
> >>> >>>
> >>> >>> # Interoperability risk
> >>> >>>
> >>> >>> * Firefox: In development
> >>> >>> * Edge: No public signals
> >>> >>> * Safari: No public signals
> >>> >>> * Web developers: Positive
> >>> >>>
> >>> >>> # Compatibility risk
> >>> >>>
> >>> >>> Low compatibility risk, as this feature is exposed through a new
> >>> >>> field
> >>> >>> `Intl.PluralRules`.
> >>> >>>
> >>> >>> # Ongoing technical constraints
> >>> >>>
> >>> >>> None
> >>> >>>
> >>> >>> # Will this feature be supported on all six Blink platforms
> (Windows,
> >>> >>> Mac,
> >>> >>> Linux, Chrome OS, Android, and Android WebView)?
> >>> >>>
> >>> >>> Yes
> >>> >>>
> >>> >>> # OWP launch tracking bug
> >>> >>>
> >>> >>> https://bugs.chromium.org/p/v8/issues/detail?id=5601
> >>> >>>
> >>> >>> # Link to entry on the Chrome Platform Status
> >>> >>>
> >>> >>> https://www.chromestatus.com/features/5653874773852160
> >>> >>>
> >>> >>> --
> >>> >>> --
> >>> >>> v8-users mailing list
> >>> >>> v8-u...@googlegroups.com
> >>> >>> http://groups.google.com/group/v8-users
> >>> >>> --- You received this message because you are subscribed to the
> >>> >>> Google
> >>> >>> Groups "v8-users" group.
> >>> >>> To unsubscribe from this group and stop receiving emails from it,
> >>> >>> send an
> >>> >>> email to v8-users+u...@googlegroups.com.
> >>> >>> For more options, visit https://groups.google.com/d/optout.
> >>> >>
> >>> >>
> >>> >> --
> >>> >> --
> >>> >> v8-users mailing list
> >>> >> v8-u...@googlegroups.com
> >>> >> http://groups.google.com/group/v8-users
> 

Re: [blink-dev] Re: [v8-users] Intent to Ship: Intl.PluralRules

2017-09-12 Thread Daniel Ehrenberg
I asked Zbigniew Braniecki about the status of
Intl.NumberFormat.prototype.formatToParts and PluralRules, and he told
me,

> Both are ready and need to be exposed. We've been waiting for them to reach 
> stage 4 to expose them to the Web
> NumberFormat.formatToParts is behind the flag - 
> http://searchfox.org/mozilla-central/source/js/src/builtin/Intl.cpp#1639
> and PluralRules is exposed on mozIntl (which is our chrome-only API for UI 
> internationalization that extends Intl API) - 
> http://searchfox.org/mozilla-central/source/toolkit/components/mozintl/mozIntl.js#73
> With you guys having land both I think we can expose them now. I'm happy to 
> work on the patch next week :)

In particular, Mozilla has been pushing these proposals for some time,
and has been held back by lack of buy-in from other browser vendors.

Dan

On Tue, Sep 12, 2017 at 9:45 AM,   wrote:
> This implementation is for SpiderMoneky shell only with addIntlExtras(Intl).
> It isn't available on Gecko yet.
>
> -- Makoto Kato
>
> 2017年9月12日火曜日 6時30分27秒 UTC+9 Adam Klein:
>>
>> Thanks, from the spec-stabilization side this sounds fine to me.
>>
>> Given that we'd be first to ship, I wonder if you have any more background
>> on the Firefox status: the intent lists it as "in development" there, but
>> https://bugzilla.mozilla.org/show_bug.cgi?id=1270146 has been closed, and
>> says it's "Fixed in Firefox 53". But I'm running Firefox 55 locally and I
>> don't see it shipped there.
>>
>> On Sun, Sep 10, 2017 at 10:17 AM, Daniel Ehrenberg 
>> wrote:
>>>
>>> +blink-dev
>>>
>>> On Sun, Sep 10, 2017 at 7:16 PM, Daniel Ehrenberg
>>>  wrote:
>>> > ECMA 402 (Intl) tracks its proposals separately. You can see it listed
>>> > as Stage 3 at https://github.com/tc39/ecma402/ . There is a full
>>> > implementation in Firefox behind a flag. I'd say this spec is pretty
>>> > stable.
>>> >
>>> > Dan
>>> >
>>> > On Fri, Sep 8, 2017 at 7:39 PM, Adam Klein  wrote:
>>> >> What's the stability state of the spec? I don't see it on
>>> >> https://github.com/tc39/proposals
>>> >>
>>> >> On Fri, Sep 8, 2017 at 9:41 AM, Josh Wolfe  wrote:
>>> >>>
>>> >>> # Contact emails
>>> >>>
>>> >>> jwo...@igalia.com
>>> >>> litt...@chromium.org
>>>
>>> >>>
>>> >>> # Spec
>>> >>>
>>> >>> https://rawgit.com/caridy/intl-plural-rules-spec/master/index.html
>>> >>>
>>> >>> # Summary
>>> >>>
>>> >>> Intl.PluralRules is a new API which exposes language-dependent data
>>> >>> on
>>> >>> pluralization forms of numbers. Given a locale and a number,
>>> >>> Intl.PluralRules outputs a category, which can then be used for
>>> >>> selection of the pluralization form of surrounding text.
>>> >>>
>>> >>> # Motivation
>>> >>>
>>> >>> In English, 101st ends with "st" while 111th ends with "th". The
>>> >>> algorithm
>>> >>> for
>>> >>> determining the proper ordinal suffix is non-trivial and locale
>>> >>> specific.
>>> >>> A
>>> >>> proper international solution is implemented in ICU, and
>>> >>> Intl.PluralRules
>>> >>> exposes this solution to JavaScript developers.
>>> >>>
>>> >>> # Interoperability risk
>>> >>>
>>> >>> * Firefox: In development
>>> >>> * Edge: No public signals
>>> >>> * Safari: No public signals
>>> >>> * Web developers: Positive
>>> >>>
>>> >>> # Compatibility risk
>>> >>>
>>> >>> Low compatibility risk, as this feature is exposed through a new
>>> >>> field
>>> >>> `Intl.PluralRules`.
>>> >>>
>>> >>> # Ongoing technical constraints
>>> >>>
>>> >>> None
>>> >>>
>>> >>> # Will this feature be supported on all six Blink platforms (Windows,
>>> >>> Mac,
>>> >>> Linux, Chrome OS, Android, and Android WebView)?
>>> >>>
>>> >>> Yes
>>> >>>
>>> >>> # OWP launch tracking bug
>>> >>>
>>> >>> https://bugs.chromium.org/p/v8/issues/detail?id=5601
>>> >>>
>>> >>> # Link to entry on the Chrome Platform Status
>>> >>>
>>> >>> https://www.chromestatus.com/features/5653874773852160
>>> >>>
>>> >>> --
>>> >>> --
>>> >>> v8-users mailing list
>>> >>> v8-u...@googlegroups.com
>>> >>> http://groups.google.com/group/v8-users
>>> >>> --- You received this message because you are subscribed to the
>>> >>> Google
>>> >>> Groups "v8-users" group.
>>> >>> To unsubscribe from this group and stop receiving emails from it,
>>> >>> send an
>>> >>> email to v8-users+u...@googlegroups.com.
>>> >>> For more options, visit https://groups.google.com/d/optout.
>>> >>
>>> >>
>>> >> --
>>> >> --
>>> >> v8-users mailing list
>>> >> v8-u...@googlegroups.com
>>> >> http://groups.google.com/group/v8-users
>>> >> ---
>>> >> You received this message because you are subscribed to the Google
>>> >> Groups
>>> >> "v8-users" group.
>>> >> To unsubscribe from this group and stop receiving emails from it, send
>>> >> an
>>> >> email to v8-users+u...@googlegroups.com.
>>> >> For more options, visit https://groups.google.com/d/optout.
>>>
>>> --
>>> You received this message because you are subscribed to the Google 

Re: [blink-dev] Re: [v8-users] Intent to Ship: Intl.PluralRules

2017-09-11 Thread Adam Klein
Thanks, from the spec-stabilization side this sounds fine to me.

Given that we'd be first to ship, I wonder if you have any more background
on the Firefox status: the intent lists it as "in development" there, but
https://bugzilla.mozilla.org/show_bug.cgi?id=1270146 has been closed, and
says it's "Fixed in Firefox 53". But I'm running Firefox 55 locally and I
don't see it shipped there.

On Sun, Sep 10, 2017 at 10:17 AM, Daniel Ehrenberg 
wrote:

> +blink-dev
>
> On Sun, Sep 10, 2017 at 7:16 PM, Daniel Ehrenberg
>  wrote:
> > ECMA 402 (Intl) tracks its proposals separately. You can see it listed
> > as Stage 3 at https://github.com/tc39/ecma402/ . There is a full
> > implementation in Firefox behind a flag. I'd say this spec is pretty
> > stable.
> >
> > Dan
> >
> > On Fri, Sep 8, 2017 at 7:39 PM, Adam Klein  wrote:
> >> What's the stability state of the spec? I don't see it on
> >> https://github.com/tc39/proposals
> >>
> >> On Fri, Sep 8, 2017 at 9:41 AM, Josh Wolfe  wrote:
> >>>
> >>> # Contact emails
> >>>
> >>> jwo...@igalia.com
> >>> little...@chromium.org
> >>>
> >>> # Spec
> >>>
> >>> https://rawgit.com/caridy/intl-plural-rules-spec/master/index.html
> >>>
> >>> # Summary
> >>>
> >>> Intl.PluralRules is a new API which exposes language-dependent data on
> >>> pluralization forms of numbers. Given a locale and a number,
> >>> Intl.PluralRules outputs a category, which can then be used for
> >>> selection of the pluralization form of surrounding text.
> >>>
> >>> # Motivation
> >>>
> >>> In English, 101st ends with "st" while 111th ends with "th". The
> algorithm
> >>> for
> >>> determining the proper ordinal suffix is non-trivial and locale
> specific.
> >>> A
> >>> proper international solution is implemented in ICU, and
> Intl.PluralRules
> >>> exposes this solution to JavaScript developers.
> >>>
> >>> # Interoperability risk
> >>>
> >>> * Firefox: In development
> >>> * Edge: No public signals
> >>> * Safari: No public signals
> >>> * Web developers: Positive
> >>>
> >>> # Compatibility risk
> >>>
> >>> Low compatibility risk, as this feature is exposed through a new field
> >>> `Intl.PluralRules`.
> >>>
> >>> # Ongoing technical constraints
> >>>
> >>> None
> >>>
> >>> # Will this feature be supported on all six Blink platforms (Windows,
> Mac,
> >>> Linux, Chrome OS, Android, and Android WebView)?
> >>>
> >>> Yes
> >>>
> >>> # OWP launch tracking bug
> >>>
> >>> https://bugs.chromium.org/p/v8/issues/detail?id=5601
> >>>
> >>> # Link to entry on the Chrome Platform Status
> >>>
> >>> https://www.chromestatus.com/features/5653874773852160
> >>>
> >>> --
> >>> --
> >>> v8-users mailing list
> >>> v8-users@googlegroups.com
> >>> http://groups.google.com/group/v8-users
> >>> --- You received this message because you are subscribed to the Google
> >>> Groups "v8-users" group.
> >>> To unsubscribe from this group and stop receiving emails from it, send
> an
> >>> email to v8-users+unsubscr...@googlegroups.com.
> >>> For more options, visit https://groups.google.com/d/optout.
> >>
> >>
> >> --
> >> --
> >> v8-users mailing list
> >> v8-users@googlegroups.com
> >> http://groups.google.com/group/v8-users
> >> ---
> >> You received this message because you are subscribed to the Google
> Groups
> >> "v8-users" group.
> >> To unsubscribe from this group and stop receiving emails from it, send
> an
> >> email to v8-users+unsubscr...@googlegroups.com.
> >> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "blink-dev" group.
> To view this discussion on the web visit https://groups.google.com/a/
> chromium.org/d/msgid/blink-dev/CAKtSNYMCovuxGNfgbS427qVfA0Twm
> 5b%3DAnneMKEDaeDMPoJcxA%40mail.gmail.com.
>
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.