You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Michal Mocny <mm...@google.com> on 2013/04/16 19:58:14 UTC

--arc support to create script on iOS

I think we plan to default to ARC support for iOS projects post 3.0.

As a first transition I'm hoping to add a --arc option to the create script
to use optionally starting today, since its necessary for bleeding edge new
style plugins/cli already.

Sound Good?

-Michal

Re: --arc support to create script on iOS

Posted by Braden Shepherdson <br...@chromium.org>.
+1


On Tue, Apr 16, 2013 at 2:03 PM, Shazron <sh...@gmail.com> wrote:

> +1
>
>
> On Tue, Apr 16, 2013 at 10:58 AM, Michal Mocny <mm...@google.com> wrote:
>
> > I think we plan to default to ARC support for iOS projects post 3.0.
> >
> > As a first transition I'm hoping to add a --arc option to the create
> script
> > to use optionally starting today, since its necessary for bleeding edge
> new
> > style plugins/cli already.
> >
> > Sound Good?
> >
> > -Michal
> >
>

Re: --arc support to create script on iOS

Posted by Shazron <sh...@gmail.com>.
+1


On Tue, Apr 16, 2013 at 10:58 AM, Michal Mocny <mm...@google.com> wrote:

> I think we plan to default to ARC support for iOS projects post 3.0.
>
> As a first transition I'm hoping to add a --arc option to the create script
> to use optionally starting today, since its necessary for bleeding edge new
> style plugins/cli already.
>
> Sound Good?
>
> -Michal
>

Re: --arc support to create script on iOS

Posted by Michal Mocny <mm...@chromium.org>.
Actually, Andrew suggested a better alternative.  I'll just modify the
AppDelegate to #ifdef the few lines of offending code to do the right thing
regardless of arc settings.


On Tue, Apr 16, 2013 at 2:52 PM, Filip Maj <fi...@adobe.com> wrote:

> Maybe toss that into the release article on the wiki so we have a paper
> trail / written reminder of that?
>
> On 4/16/13 11:50 AM, "Michal Mocny" <mm...@chromium.org> wrote:
>
> >Actually AppDelegate.m app template is written for non-arc, so I'll update
> >the version bundled with cordova-cli to be arc friendly.  We will need to
> >remember to redo this every time we copy a new ios project into
> >cordova-cli.  Kinda sucks, but its temporary.
> >
> >-Michal
> >
> >
> >On Tue, Apr 16, 2013 at 2:48 PM, Michal Mocny <mm...@chromium.org>
> wrote:
> >
> >> awesome!
> >>
> >>
> >> On Tue, Apr 16, 2013 at 2:38 PM, Brian LeRoux <b...@brian.io> wrote:
> >>
> >>> I'm down for this. (Given no plugins really work w/ it yet anyhow.)
> >>>
> >>>
> >>> On Tue, Apr 16, 2013 at 11:28 AM, Michal Mocny <mm...@chromium.org>
> >>> wrote:
> >>>
> >>> > Should I also change cordova-cli in future to enable by default?
> >>> >
> >>> >
> >>> > On Tue, Apr 16, 2013 at 2:23 PM, Brian LeRoux <b...@brian.io> wrote:
> >>> >
> >>> > > plugin compat
> >>> > >
> >>> > >
> >>> > > On Tue, Apr 16, 2013 at 11:14 AM, James Jong <wjamesjong@gmail.com
> >
> >>> > wrote:
> >>> > >
> >>> > > > ARC was enabled and then later disabled previously.  Does anyone
> >>> > remember
> >>> > > > the reasons for that?
> >>> > > >
> >>> > > > -James Jong
> >>> > > >
> >>> > > > On Apr 16, 2013, at 2:07 PM, Lucas Holmquist
> >>><lh...@redhat.com>
> >>> > > wrote:
> >>> > > >
> >>> > > > > +1
> >>> > > > > On Apr 16, 2013, at 2:06 PM, Brian LeRoux <b...@brian.io> wrote:
> >>> > > > >
> >>> > > > >> sgtm
> >>> > > > >>
> >>> > > > >>
> >>> > > > >> On Tue, Apr 16, 2013 at 10:58 AM, Michal Mocny <
> >>> mmocny@google.com>
> >>> > > > wrote:
> >>> > > > >>
> >>> > > > >>> I think we plan to default to ARC support for iOS projects
> >>>post
> >>> > 3.0.
> >>> > > > >>>
> >>> > > > >>> As a first transition I'm hoping to add a --arc option to the
> >>> > create
> >>> > > > script
> >>> > > > >>> to use optionally starting today, since its necessary for
> >>> bleeding
> >>> > > > edge new
> >>> > > > >>> style plugins/cli already.
> >>> > > > >>>
> >>> > > > >>> Sound Good?
> >>> > > > >>>
> >>> > > > >>> -Michal
> >>> > > > >>>
> >>> > > > >
> >>> > > >
> >>> > > >
> >>> > >
> >>> >
> >>>
> >>
> >>
>
>

Re: --arc support to create script on iOS

Posted by Filip Maj <fi...@adobe.com>.
Maybe toss that into the release article on the wiki so we have a paper
trail / written reminder of that?

On 4/16/13 11:50 AM, "Michal Mocny" <mm...@chromium.org> wrote:

>Actually AppDelegate.m app template is written for non-arc, so I'll update
>the version bundled with cordova-cli to be arc friendly.  We will need to
>remember to redo this every time we copy a new ios project into
>cordova-cli.  Kinda sucks, but its temporary.
>
>-Michal
>
>
>On Tue, Apr 16, 2013 at 2:48 PM, Michal Mocny <mm...@chromium.org> wrote:
>
>> awesome!
>>
>>
>> On Tue, Apr 16, 2013 at 2:38 PM, Brian LeRoux <b...@brian.io> wrote:
>>
>>> I'm down for this. (Given no plugins really work w/ it yet anyhow.)
>>>
>>>
>>> On Tue, Apr 16, 2013 at 11:28 AM, Michal Mocny <mm...@chromium.org>
>>> wrote:
>>>
>>> > Should I also change cordova-cli in future to enable by default?
>>> >
>>> >
>>> > On Tue, Apr 16, 2013 at 2:23 PM, Brian LeRoux <b...@brian.io> wrote:
>>> >
>>> > > plugin compat
>>> > >
>>> > >
>>> > > On Tue, Apr 16, 2013 at 11:14 AM, James Jong <wj...@gmail.com>
>>> > wrote:
>>> > >
>>> > > > ARC was enabled and then later disabled previously.  Does anyone
>>> > remember
>>> > > > the reasons for that?
>>> > > >
>>> > > > -James Jong
>>> > > >
>>> > > > On Apr 16, 2013, at 2:07 PM, Lucas Holmquist
>>><lh...@redhat.com>
>>> > > wrote:
>>> > > >
>>> > > > > +1
>>> > > > > On Apr 16, 2013, at 2:06 PM, Brian LeRoux <b...@brian.io> wrote:
>>> > > > >
>>> > > > >> sgtm
>>> > > > >>
>>> > > > >>
>>> > > > >> On Tue, Apr 16, 2013 at 10:58 AM, Michal Mocny <
>>> mmocny@google.com>
>>> > > > wrote:
>>> > > > >>
>>> > > > >>> I think we plan to default to ARC support for iOS projects
>>>post
>>> > 3.0.
>>> > > > >>>
>>> > > > >>> As a first transition I'm hoping to add a --arc option to the
>>> > create
>>> > > > script
>>> > > > >>> to use optionally starting today, since its necessary for
>>> bleeding
>>> > > > edge new
>>> > > > >>> style plugins/cli already.
>>> > > > >>>
>>> > > > >>> Sound Good?
>>> > > > >>>
>>> > > > >>> -Michal
>>> > > > >>>
>>> > > > >
>>> > > >
>>> > > >
>>> > >
>>> >
>>>
>>
>>


Re: --arc support to create script on iOS

Posted by Michal Mocny <mm...@chromium.org>.
Actually AppDelegate.m app template is written for non-arc, so I'll update
the version bundled with cordova-cli to be arc friendly.  We will need to
remember to redo this every time we copy a new ios project into
cordova-cli.  Kinda sucks, but its temporary.

-Michal


On Tue, Apr 16, 2013 at 2:48 PM, Michal Mocny <mm...@chromium.org> wrote:

> awesome!
>
>
> On Tue, Apr 16, 2013 at 2:38 PM, Brian LeRoux <b...@brian.io> wrote:
>
>> I'm down for this. (Given no plugins really work w/ it yet anyhow.)
>>
>>
>> On Tue, Apr 16, 2013 at 11:28 AM, Michal Mocny <mm...@chromium.org>
>> wrote:
>>
>> > Should I also change cordova-cli in future to enable by default?
>> >
>> >
>> > On Tue, Apr 16, 2013 at 2:23 PM, Brian LeRoux <b...@brian.io> wrote:
>> >
>> > > plugin compat
>> > >
>> > >
>> > > On Tue, Apr 16, 2013 at 11:14 AM, James Jong <wj...@gmail.com>
>> > wrote:
>> > >
>> > > > ARC was enabled and then later disabled previously.  Does anyone
>> > remember
>> > > > the reasons for that?
>> > > >
>> > > > -James Jong
>> > > >
>> > > > On Apr 16, 2013, at 2:07 PM, Lucas Holmquist <lh...@redhat.com>
>> > > wrote:
>> > > >
>> > > > > +1
>> > > > > On Apr 16, 2013, at 2:06 PM, Brian LeRoux <b...@brian.io> wrote:
>> > > > >
>> > > > >> sgtm
>> > > > >>
>> > > > >>
>> > > > >> On Tue, Apr 16, 2013 at 10:58 AM, Michal Mocny <
>> mmocny@google.com>
>> > > > wrote:
>> > > > >>
>> > > > >>> I think we plan to default to ARC support for iOS projects post
>> > 3.0.
>> > > > >>>
>> > > > >>> As a first transition I'm hoping to add a --arc option to the
>> > create
>> > > > script
>> > > > >>> to use optionally starting today, since its necessary for
>> bleeding
>> > > > edge new
>> > > > >>> style plugins/cli already.
>> > > > >>>
>> > > > >>> Sound Good?
>> > > > >>>
>> > > > >>> -Michal
>> > > > >>>
>> > > > >
>> > > >
>> > > >
>> > >
>> >
>>
>
>

Re: --arc support to create script on iOS

Posted by Michal Mocny <mm...@chromium.org>.
awesome!


On Tue, Apr 16, 2013 at 2:38 PM, Brian LeRoux <b...@brian.io> wrote:

> I'm down for this. (Given no plugins really work w/ it yet anyhow.)
>
>
> On Tue, Apr 16, 2013 at 11:28 AM, Michal Mocny <mm...@chromium.org>
> wrote:
>
> > Should I also change cordova-cli in future to enable by default?
> >
> >
> > On Tue, Apr 16, 2013 at 2:23 PM, Brian LeRoux <b...@brian.io> wrote:
> >
> > > plugin compat
> > >
> > >
> > > On Tue, Apr 16, 2013 at 11:14 AM, James Jong <wj...@gmail.com>
> > wrote:
> > >
> > > > ARC was enabled and then later disabled previously.  Does anyone
> > remember
> > > > the reasons for that?
> > > >
> > > > -James Jong
> > > >
> > > > On Apr 16, 2013, at 2:07 PM, Lucas Holmquist <lh...@redhat.com>
> > > wrote:
> > > >
> > > > > +1
> > > > > On Apr 16, 2013, at 2:06 PM, Brian LeRoux <b...@brian.io> wrote:
> > > > >
> > > > >> sgtm
> > > > >>
> > > > >>
> > > > >> On Tue, Apr 16, 2013 at 10:58 AM, Michal Mocny <mmocny@google.com
> >
> > > > wrote:
> > > > >>
> > > > >>> I think we plan to default to ARC support for iOS projects post
> > 3.0.
> > > > >>>
> > > > >>> As a first transition I'm hoping to add a --arc option to the
> > create
> > > > script
> > > > >>> to use optionally starting today, since its necessary for
> bleeding
> > > > edge new
> > > > >>> style plugins/cli already.
> > > > >>>
> > > > >>> Sound Good?
> > > > >>>
> > > > >>> -Michal
> > > > >>>
> > > > >
> > > >
> > > >
> > >
> >
>

Re: --arc support to create script on iOS

Posted by Brian LeRoux <b...@brian.io>.
I'm down for this. (Given no plugins really work w/ it yet anyhow.)


On Tue, Apr 16, 2013 at 11:28 AM, Michal Mocny <mm...@chromium.org> wrote:

> Should I also change cordova-cli in future to enable by default?
>
>
> On Tue, Apr 16, 2013 at 2:23 PM, Brian LeRoux <b...@brian.io> wrote:
>
> > plugin compat
> >
> >
> > On Tue, Apr 16, 2013 at 11:14 AM, James Jong <wj...@gmail.com>
> wrote:
> >
> > > ARC was enabled and then later disabled previously.  Does anyone
> remember
> > > the reasons for that?
> > >
> > > -James Jong
> > >
> > > On Apr 16, 2013, at 2:07 PM, Lucas Holmquist <lh...@redhat.com>
> > wrote:
> > >
> > > > +1
> > > > On Apr 16, 2013, at 2:06 PM, Brian LeRoux <b...@brian.io> wrote:
> > > >
> > > >> sgtm
> > > >>
> > > >>
> > > >> On Tue, Apr 16, 2013 at 10:58 AM, Michal Mocny <mm...@google.com>
> > > wrote:
> > > >>
> > > >>> I think we plan to default to ARC support for iOS projects post
> 3.0.
> > > >>>
> > > >>> As a first transition I'm hoping to add a --arc option to the
> create
> > > script
> > > >>> to use optionally starting today, since its necessary for bleeding
> > > edge new
> > > >>> style plugins/cli already.
> > > >>>
> > > >>> Sound Good?
> > > >>>
> > > >>> -Michal
> > > >>>
> > > >
> > >
> > >
> >
>

Re: --arc support to create script on iOS

Posted by Michal Mocny <mm...@chromium.org>.
Should I also change cordova-cli in future to enable by default?


On Tue, Apr 16, 2013 at 2:23 PM, Brian LeRoux <b...@brian.io> wrote:

> plugin compat
>
>
> On Tue, Apr 16, 2013 at 11:14 AM, James Jong <wj...@gmail.com> wrote:
>
> > ARC was enabled and then later disabled previously.  Does anyone remember
> > the reasons for that?
> >
> > -James Jong
> >
> > On Apr 16, 2013, at 2:07 PM, Lucas Holmquist <lh...@redhat.com>
> wrote:
> >
> > > +1
> > > On Apr 16, 2013, at 2:06 PM, Brian LeRoux <b...@brian.io> wrote:
> > >
> > >> sgtm
> > >>
> > >>
> > >> On Tue, Apr 16, 2013 at 10:58 AM, Michal Mocny <mm...@google.com>
> > wrote:
> > >>
> > >>> I think we plan to default to ARC support for iOS projects post 3.0.
> > >>>
> > >>> As a first transition I'm hoping to add a --arc option to the create
> > script
> > >>> to use optionally starting today, since its necessary for bleeding
> > edge new
> > >>> style plugins/cli already.
> > >>>
> > >>> Sound Good?
> > >>>
> > >>> -Michal
> > >>>
> > >
> >
> >
>

Re: --arc support to create script on iOS

Posted by Brian LeRoux <b...@brian.io>.
plugin compat


On Tue, Apr 16, 2013 at 11:14 AM, James Jong <wj...@gmail.com> wrote:

> ARC was enabled and then later disabled previously.  Does anyone remember
> the reasons for that?
>
> -James Jong
>
> On Apr 16, 2013, at 2:07 PM, Lucas Holmquist <lh...@redhat.com> wrote:
>
> > +1
> > On Apr 16, 2013, at 2:06 PM, Brian LeRoux <b...@brian.io> wrote:
> >
> >> sgtm
> >>
> >>
> >> On Tue, Apr 16, 2013 at 10:58 AM, Michal Mocny <mm...@google.com>
> wrote:
> >>
> >>> I think we plan to default to ARC support for iOS projects post 3.0.
> >>>
> >>> As a first transition I'm hoping to add a --arc option to the create
> script
> >>> to use optionally starting today, since its necessary for bleeding
> edge new
> >>> style plugins/cli already.
> >>>
> >>> Sound Good?
> >>>
> >>> -Michal
> >>>
> >
>
>

Re: --arc support to create script on iOS

Posted by Andrew Grieve <ag...@chromium.org>.
It breaks pretty much all existing plugins.


On Tue, Apr 16, 2013 at 2:14 PM, James Jong <wj...@gmail.com> wrote:

> ARC was enabled and then later disabled previously.  Does anyone remember
> the reasons for that?
>
> -James Jong
>
> On Apr 16, 2013, at 2:07 PM, Lucas Holmquist <lh...@redhat.com> wrote:
>
> > +1
> > On Apr 16, 2013, at 2:06 PM, Brian LeRoux <b...@brian.io> wrote:
> >
> >> sgtm
> >>
> >>
> >> On Tue, Apr 16, 2013 at 10:58 AM, Michal Mocny <mm...@google.com>
> wrote:
> >>
> >>> I think we plan to default to ARC support for iOS projects post 3.0.
> >>>
> >>> As a first transition I'm hoping to add a --arc option to the create
> script
> >>> to use optionally starting today, since its necessary for bleeding
> edge new
> >>> style plugins/cli already.
> >>>
> >>> Sound Good?
> >>>
> >>> -Michal
> >>>
> >
>
>

Re: --arc support to create script on iOS

Posted by James Jong <wj...@gmail.com>.
ARC was enabled and then later disabled previously.  Does anyone remember the reasons for that?

-James Jong

On Apr 16, 2013, at 2:07 PM, Lucas Holmquist <lh...@redhat.com> wrote:

> +1
> On Apr 16, 2013, at 2:06 PM, Brian LeRoux <b...@brian.io> wrote:
> 
>> sgtm
>> 
>> 
>> On Tue, Apr 16, 2013 at 10:58 AM, Michal Mocny <mm...@google.com> wrote:
>> 
>>> I think we plan to default to ARC support for iOS projects post 3.0.
>>> 
>>> As a first transition I'm hoping to add a --arc option to the create script
>>> to use optionally starting today, since its necessary for bleeding edge new
>>> style plugins/cli already.
>>> 
>>> Sound Good?
>>> 
>>> -Michal
>>> 
> 


Re: --arc support to create script on iOS

Posted by Lucas Holmquist <lh...@redhat.com>.
+1
On Apr 16, 2013, at 2:06 PM, Brian LeRoux <b...@brian.io> wrote:

> sgtm
> 
> 
> On Tue, Apr 16, 2013 at 10:58 AM, Michal Mocny <mm...@google.com> wrote:
> 
>> I think we plan to default to ARC support for iOS projects post 3.0.
>> 
>> As a first transition I'm hoping to add a --arc option to the create script
>> to use optionally starting today, since its necessary for bleeding edge new
>> style plugins/cli already.
>> 
>> Sound Good?
>> 
>> -Michal
>> 


Re: --arc support to create script on iOS

Posted by Brian LeRoux <b...@brian.io>.
sgtm


On Tue, Apr 16, 2013 at 10:58 AM, Michal Mocny <mm...@google.com> wrote:

> I think we plan to default to ARC support for iOS projects post 3.0.
>
> As a first transition I'm hoping to add a --arc option to the create script
> to use optionally starting today, since its necessary for bleeding edge new
> style plugins/cli already.
>
> Sound Good?
>
> -Michal
>

Re: --arc support to create script on iOS

Posted by Filip Maj <fi...@adobe.com>.
Sounds good to me

On 4/16/13 10:58 AM, "Michal Mocny" <mm...@google.com> wrote:

>I think we plan to default to ARC support for iOS projects post 3.0.
>
>As a first transition I'm hoping to add a --arc option to the create
>script
>to use optionally starting today, since its necessary for bleeding edge
>new
>style plugins/cli already.
>
>Sound Good?
>
>-Michal