Re: update.1 "breaking" wrapped activities?

2008-04-02 Thread Michael Stone
That's the big on/off switch for all isolation. Sugar also independently
decides to turn off isolation for a small number of activities listed in
its source code.

Michael

On Wed, Apr 02, 2008 at 07:33:36PM -0700, Carol Lerche wrote:
> Is this the reason that Bryan Berry in Nepal found that Tux Paint did not
> work, and is the instruction given here:
> 
> http://wiki.laptop.org/index.php?title=Test_Config_Notes&action=edit§ion=29
> 
> still the correct way to disable isolation?
> 
> 
> On Wed, Apr 2, 2008 at 5:08 PM, Marco Pesenti Gritti <[EMAIL PROTECTED]>
> wrote:
> 
> > On Thu, Apr 3, 2008 at 12:45 AM, Mikus Grinbergs <[EMAIL PROTECTED]> wrote:
> > > > in a description of how non-sugar apps need some help to run
> > >  > properly under sugar, the current front page of OLPC News
> > >  > contains the following quote:
> > >  >
> > >  > "...  there is some discussion that Update 1, a forthcoming
> > >  > upgrade to Sugar, will break all existing wrappers, and
> > >  > current Activities will need to be re-coded and re-wrapped."
> > >
> > >  I assumed that what's behind this is the introduction of rainbow.
> > >  [I'm not sure of the date of the transition to rainbow, but perhaps
> > >  G1G1 participants might be exposed to it when installing Update.1]
> >
> > You are right looks like isolation has been enabled by default only
> > starting from Update.1.
> >
> > Marco
> > ___
> > Devel mailing list
> > Devel@lists.laptop.org
> > http://lists.laptop.org/listinfo/devel
> >
> 
> 
> 
> -- 
> "Always do right," said Mark Twain. "This will gratify some people and
> astonish the rest."

> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: update.1 "breaking" wrapped activities?

2008-04-02 Thread Carol Lerche
Is this the reason that Bryan Berry in Nepal found that Tux Paint did not
work, and is the instruction given here:

http://wiki.laptop.org/index.php?title=Test_Config_Notes&action=edit§ion=29

still the correct way to disable isolation?


On Wed, Apr 2, 2008 at 5:08 PM, Marco Pesenti Gritti <[EMAIL PROTECTED]>
wrote:

> On Thu, Apr 3, 2008 at 12:45 AM, Mikus Grinbergs <[EMAIL PROTECTED]> wrote:
> > > in a description of how non-sugar apps need some help to run
> >  > properly under sugar, the current front page of OLPC News
> >  > contains the following quote:
> >  >
> >  > "...  there is some discussion that Update 1, a forthcoming
> >  > upgrade to Sugar, will break all existing wrappers, and
> >  > current Activities will need to be re-coded and re-wrapped."
> >
> >  I assumed that what's behind this is the introduction of rainbow.
> >  [I'm not sure of the date of the transition to rainbow, but perhaps
> >  G1G1 participants might be exposed to it when installing Update.1]
>
> You are right looks like isolation has been enabled by default only
> starting from Update.1.
>
> Marco
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>



-- 
"Always do right," said Mark Twain. "This will gratify some people and
astonish the rest."
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: update.1 "breaking" wrapped activities?

2008-04-02 Thread Marco Pesenti Gritti
On Thu, Apr 3, 2008 at 12:45 AM, Mikus Grinbergs <[EMAIL PROTECTED]> wrote:
> > in a description of how non-sugar apps need some help to run
>  > properly under sugar, the current front page of OLPC News
>  > contains the following quote:
>  >
>  > "...  there is some discussion that Update 1, a forthcoming
>  > upgrade to Sugar, will break all existing wrappers, and
>  > current Activities will need to be re-coded and re-wrapped."
>
>  I assumed that what's behind this is the introduction of rainbow.
>  [I'm not sure of the date of the transition to rainbow, but perhaps
>  G1G1 participants might be exposed to it when installing Update.1]

You are right looks like isolation has been enabled by default only
starting from Update.1.

Marco
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: update.1 "breaking" wrapped activities?

2008-04-02 Thread Mikus Grinbergs
> in a description of how non-sugar apps need some help to run
> properly under sugar, the current front page of OLPC News
> contains the following quote:
> 
> "...  there is some discussion that Update 1, a forthcoming
> upgrade to Sugar, will break all existing wrappers, and
> current Activities will need to be re-coded and re-wrapped."

I assumed that what's behind this is the introduction of rainbow.
[I'm not sure of the date of the transition to rainbow, but perhaps 
G1G1 participants might be exposed to it when installing Update.1]

I myself have had to go into activityfactory.py and add the classes 
of several Activities (to those rainbow skips), in order to be able 
to launch these Activities from the Frame.

The explanation I received when asking was that these Activities 
*stored* into locations to which the UID-renaming by rainbow denied 
access.  Obviously, to be compatible with OLPC security, such 
Activities would need to be re-coded to write to approved locations.

[I think "break all existing wrappers" is an exaggeration - but a 
number of these mis-behaving activities *are* "imported" software.]

mikus



p.s.  It is amusing to observe that the XO will insert a "no name" 
circular icon in the active-Activity-circle in Main view, when the 
executing Activity starts a second task.  Perhaps users who first 
encounter such a "no name" circle are thinking "something's broken".

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: update.1 "breaking" wrapped activities?

2008-04-02 Thread Marco Pesenti Gritti
On Thu, Apr 3, 2008 at 12:09 AM, Paul Fox <[EMAIL PROTECTED]> wrote:
> in a description of how non-sugar apps need some help to run
>  properly under sugar, the current front page of OLPC News
>  contains the following quote:
>
> "...  there is some discussion that Update 1, a forthcoming
> upgrade to Sugar, will break all existing wrappers, and
> current Activities will need to be re-coded and re-wrapped."
>
>  the only "breakage" that i've heard mentioned on this list is
>  that of the activities moving -- i've seen nothing about the
>  environment changing so as to require wrapper changes (and i've
>  already commented to that effect at olpcnews).  can someone
>  confirm that i'm not wrong?

You are correct.

Marco
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


update.1 "breaking" wrapped activities?

2008-04-02 Thread Paul Fox
in a description of how non-sugar apps need some help to run
properly under sugar, the current front page of OLPC News
contains the following quote:

"...  there is some discussion that Update 1, a forthcoming
upgrade to Sugar, will break all existing wrappers, and
current Activities will need to be re-coded and re-wrapped."

the only "breakage" that i've heard mentioned on this list is
that of the activities moving -- i've seen nothing about the
environment changing so as to require wrapper changes (and i've
already commented to that effect at olpcnews).  can someone
confirm that i'm not wrong?

paul

(above quote from:

http://www.olpcnews.com/software/applications/sugar_open_developer_software.html)
=-
 paul fox, [EMAIL PROTECTED] (arlington, ma, where it's 39.0 degrees)
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel