Re: [Sugar-devel] Lists in foreign languages (was Port Gtk 3 (Chat.activity))

2012-05-23 Thread Aleksey Lim
On Thu, May 24, 2012 at 01:20:40PM +1000, fors...@ozonline.com.au wrote:
> > Another thing that I'd like to mention is the language. This list is
> > in English, and it would be good if we can respect that. I wouldn't
> > like to start reading emails in German or Chineese (I don't have any
> > problem with those languages, but I don't understand a word :P )
> 
> Thanks for raising this Manuel
> 
> Though I am almost monolingual in English, I still support the idea of list 
> posts being in the language that the writer is most confident. Some may not 
> have the confidence to write in a list's main language or to check that the 
> Google Translate makes sense. Their contribution still is very important.
> 
> I googled it and found:
> http://fedoraproject.org/wiki/Mailing_list_guidelines#Use_the_common_language
> http://tech.groups.yahoo.com/group/editplus/message/5510
> 
> The first supports the main language, the discussion in the second supports 
> both a main language and foreign language.
> 
> I would encourage those posting in a foreign language to include a Google 
> Translate in the main language. I am not sure though, which should come first.

Generally speaking, sugar-devel@ might be treated as a pure technical
channel and posting in non-en can considered in the same way as adding
comments to the source code (the most common practices is that people
must not comment/name-variables in non-en). But I guess sugar-devel@ is
not such thing (maybe original list on @laptop.org was, but current
sugar-devel@ is not).

And I agree that having one common resource (for more technical
discussions than on ieap@) is more important than keeping it clear from
non-main-lang posts. In any case, having suggested main language
should be pretty enough (if people can post in main language, they do).

Besides, I'm sure that creating more rules for humans is less useful way
than let technology do underneath work to avoid having human rules,
except most natural ones that don't need any explicit publishing.
In other words, if there are no many non-en posts, it is np for
writers/readers to use aside translation tools. Otherwise, it is the
right moment to start thinking how technology can solve this issue,
e.g., patch ML software to auto add translation link to any
non-main-lang posts, or, [at the en] add Web UI for ML (e.g., google
groups have a checkbox to translate posts to your language).

-- 
Aleksey
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] First impressions of a new XO user

2012-05-23 Thread Bernie Innocenti
Hello,

a coworker got an old XO-1 and asked me to refurbish it for his kids. So
I asked him to test OLPC-OS 12.1.0 build 11 and report any problems he
ran into. New users can offer a fresh perspective on things that we give
for granted.

Some of the items below could be turned into trac tickets or wishlist
items (provide a way to kill activities, provide a way to wipe the user
profile, make more activities work in tablet mode...). If you need more
information from the reporter, feel free to contact him directly at
diegol...@google.com.


 Forwarded Message 
From: Diego Puppin 
To: Bernie Innocenti 
Subject: primo bug report
Date: Wed, 23 May 2012 15:24:02 -0400

My older kid (7yr) and I had a lot of fun last with the OLPC. We
played maze, we took pictures and more.
The younger kid (15mo) seemed confused by the lack of a touch screen  :-)

- I can't find a way to connect to a network with hidden SSID. I tried
to add my network using Gnome, but I couldn't find a "Connect" button
there. Back to Sugar, the hidden network is still hidden.

- The audio/video system seems unreliable. "Record" takes a long time
to start. When I try to record (audio or video) the success rate is
around 30% - the activity gets stuck. I can leave the activity but it
keeps running in the background (green leds for camera and mike still
on). How can I kill the activity entirely?

- I found a recording in the Journal, but the Play activity failed
with something as "resource busy".

- While playing maze, with some gesture I changed the borders from the
activity-specific border/menus to a different view. The only way out
was the "square" button on top right. What's the gesture in and out of
the activity-specific border/menus?

- Only maze and collapse seem to work in game mode (rotated screen,
use of the joypad). The other activities all requires a mouse. That's
too bad.

- Is there a way to upload an Epub and use the computer as an
e-reader? Is there a mode where the backlight is off (I heard rumors
like that)?

- Reliability seems an issue. For a reason or another, I ended up
rebooting every few minutes when I was switching among apps. When I
stuck to play maze, everything was smooth and my kid did a million
runs through the labyrinth. Just out of curiosity, did you install a
beta build, or is it supposed to be stable? I don't mind "dogfooding",
but I would be worried if this is the build going out to the public.

- Is there a way to wipe it and restore to factory? You mentioned
something like that.

Diego

-- 
 _ // Bernie Innocenti
 \X/  http://codewiz.org


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Lists in foreign languages (was Port Gtk 3 (Chat.activity))

2012-05-23 Thread James Cameron
I don't mind if people post in other languages, but I wouldn't know
what they are, and I wouldn't read them.  There's too much technical
detail to trust to translation by machine.

I would prefer the english be first in a message.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Clock's es.po commented

2012-05-23 Thread Rafael Ortiz
On Wed, May 23, 2012 at 10:30 PM, Chris Leonard wrote:

> On Wed, May 23, 2012 at 11:16 PM, Rafael Ortiz
>  wrote:
>
> >
> > We need clock maint here :)
> >
>
> Rafael,
>
> Gary is the maintainer, but it looks like you've hacked on a cloned
> clock repo before, so I would suggest fixing it in a clone and asking
> for a merge.
>
>
Gitorious merges are not followed nowadays.
but I'll try :).






> cjl
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Lists in foreign languages (was Port Gtk 3 (Chat.activity))

2012-05-23 Thread Chris Leonard
2012/5/23 Rafael Ortiz :
>
> 2012/5/23 
>
>> > Another thing that I'd like to mention is the language. This list is
>> > in English, and it would be good if we can respect that. I wouldn't
>> > like to start reading emails in German or Chineese (I don't have any
>> > problem with those languages, but I don't understand a word :P )

As a general rule I try to post bilingual English-Spanish when posting
to SomosAzucar, using Google Translation (and slight adjustments).

The interesting thing for those of us using GMail accounts to read
e-mail is that the Google translation is now just a link on the top of
the e-mail.

cjl
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Clock's es.po commented

2012-05-23 Thread Chris Leonard
On Wed, May 23, 2012 at 11:16 PM, Rafael Ortiz
 wrote:

>
> We need clock maint here :)
>

Rafael,

Gary is the maintainer, but it looks like you've hacked on a cloned
clock repo before, so I would suggest fixing it in a clone and asking
for a merge.

cjl
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Lists in foreign languages (was Port Gtk 3 (Chat.activity))

2012-05-23 Thread Rafael Ortiz
2012/5/23 

> > Another thing that I'd like to mention is the language. This list is
> > in English, and it would be good if we can respect that. I wouldn't
> > like to start reading emails in German or Chineese (I don't have any
> > problem with those languages, but I don't understand a word :P )
>
> Thanks for raising this Manuel
>
> Though I am almost monolingual in English, I still support the idea of
> list posts being in the language that the writer is most confident. Some
> may not have the confidence to write in a list's main language or to check
> that the Google Translate makes sense. Their contribution still is very
> important.
>
> I googled it and found:
>
> http://fedoraproject.org/wiki/Mailing_list_guidelines#Use_the_common_language
> http://tech.groups.yahoo.com/group/editplus/message/5510
>
> The first supports the main language, the discussion in the second
> supports both a main language and foreign language.
>
> I would encourage those posting in a foreign language to include a Google
> Translate in the main language. I am not sure though, which should come
> first.
>
>
Agree let's not be so close about it,  a google-translate to English  and a
copy of the initial comment on its original language  is enough.






> Tony
>
> Google Translation
> > Otra cosa que me gustaría mencionar es el idioma. Esta lista es
> > En Inglés, y que sería bueno si podemos respetar eso. Yo no lo haría
> > Gustaría empezar a leer mensajes de correo electrónico en alemán o en
> Chineese (no tengo ninguna
> > Problema con los idiomas, pero no entiendo una palabra: P)
>
> Gracias por plantear esta Manuel
>
> Aunque estoy casi monolingüe en Inglés, que aún apoyan la idea de los
> puestos de la lista están en la lengua que el escritor es más seguro.
> Algunos pueden no tener la confianza para escribir en el idioma principal
> de una lista o para comprobar que el Traductor de Google tiene sentido. Su
> contribución sigue siendo muy importante.
>
> Busqué en Google y encontró:
> http://fedoraproject.org/wiki/Mailing_list_guidelines #
> Use_the_common_language
> http://tech.groups.yahoo.com/group/editplus/message/5510
> La primera apoya la lengua principal, la discusión en el segundo es
> compatible con una lengua principal y lengua extranjera.
>
> Yo animaría a quienes publiquen en una lengua extranjera para incluir un
> Traductor de Google en el idioma principal. No estoy seguro, sin embargo,
> que debe ser lo primero.
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Lists in foreign languages (was Port Gtk 3 (Chat.activity))

2012-05-23 Thread forster
> Another thing that I'd like to mention is the language. This list is
> in English, and it would be good if we can respect that. I wouldn't
> like to start reading emails in German or Chineese (I don't have any
> problem with those languages, but I don't understand a word :P )

Thanks for raising this Manuel

Though I am almost monolingual in English, I still support the idea of list 
posts being in the language that the writer is most confident. Some may not 
have the confidence to write in a list's main language or to check that the 
Google Translate makes sense. Their contribution still is very important.

I googled it and found:
http://fedoraproject.org/wiki/Mailing_list_guidelines#Use_the_common_language
http://tech.groups.yahoo.com/group/editplus/message/5510

The first supports the main language, the discussion in the second supports 
both a main language and foreign language.

I would encourage those posting in a foreign language to include a Google 
Translate in the main language. I am not sure though, which should come first.

Tony

Google Translation
> Otra cosa que me gustaría mencionar es el idioma. Esta lista es
> En Inglés, y que sería bueno si podemos respetar eso. Yo no lo haría
> Gustaría empezar a leer mensajes de correo electrónico en alemán o en 
> Chineese (no tengo ninguna
> Problema con los idiomas, pero no entiendo una palabra: P)

Gracias por plantear esta Manuel

Aunque estoy casi monolingüe en Inglés, que aún apoyan la idea de los 
puestos de la lista están en la lengua que el escritor es más seguro. Algunos 
pueden no tener la confianza para escribir en el idioma principal de una lista 
o para comprobar que el Traductor de Google tiene sentido. Su contribución 
sigue siendo muy importante.

Busqué en Google y encontró:
http://fedoraproject.org/wiki/Mailing_list_guidelines # Use_the_common_language
http://tech.groups.yahoo.com/group/editplus/message/5510
La primera apoya la lengua principal, la discusión en el segundo es compatible 
con una lengua principal y lengua extranjera.

Yo animaría a quienes publiquen en una lengua extranjera para incluir un 
Traductor de Google en el idioma principal. No estoy seguro, sin embargo, que 
debe ser lo primero.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Clock's es.po commented

2012-05-23 Thread Rafael Ortiz
On Wed, May 23, 2012 at 10:02 PM, Chris Leonard wrote:

> On Wed, May 23, 2012 at 10:16 PM, Rafael Ortiz
>  wrote:
> +
> >
> > Pootle problem ?
>
>
> FWIW, if the change in the codebase is reverted, the old strings are
> still present in all of the Po files (stuck at the bottom, commented
> as deprecated strings) and they will magically reappear when a correct
> POT is used for an "update from templates" round.
>
>
We need clock maint here :)

Cheers.


> cjl
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Clock's es.po commented

2012-05-23 Thread Chris Leonard
On Wed, May 23, 2012 at 10:16 PM, Rafael Ortiz
 wrote:
+
>
> Pootle problem ?


FWIW, if the change in the codebase is reverted, the old strings are
still present in all of the Po files (stuck at the bottom, commented
as deprecated strings) and they will magically reappear when a correct
POT is used for an "update from templates" round.

cjl
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Bug sugar3/graphics/palettewindow.py

2012-05-23 Thread James Cameron
On the other hand, it's better than us not receiving anything at all.

I've just tested on OLPC OS 12.1.0 development build os11 with
TamTamSynthLab-63 and I see no problem.

There are plenty of messages in the log, but without a user problem to
relate them to, they are just noise.  I don't see the message that
Flavio drew attention to in the subject line.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Bug sugar3/graphics/palettewindow.py

2012-05-23 Thread Manuel Kaufmann
On Wed, May 23, 2012 at 7:19 PM, Flavio Danesse  wrote:
> Traceback (most recent call last):

Some questions:

 * What's is this? It seems to be related with TamTamSynthLab because
one path that I saw there.
 * How did you get this traceback?
 * What did you do?
 * Where this traceback was reported?
 * What is the problem that you are reporting?
 * What kind of answer are you looking for?

Please, try to do more specific in your emails.

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH InfoSlicer v2] Export content as HTML SL #3608

2012-05-23 Thread Manuel Kaufmann
On Wed, May 23, 2012 at 9:15 PM, James Cameron  wrote:
> Rhetorical: Why the urgency to push?  Once you can list your reasons
> for pushing, you can find alternatives.

Yes. I do understand your point. Actually, I'm argueing with myself
because I don't know how to do it. That's why I asked here.

I'm trying to find the best way for this process.

Thanks for your answear.

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Port Gtk 3 (Chat.activity)

2012-05-23 Thread Manuel Kaufmann
On Mon, May 21, 2012 at 9:58 PM, Flavio Danesse
 wrote:
> Paso port a sugar3 de Chat.activity

Hello Flavio,

Please, take in mind that we have a proccess[1] to submit a patch and
try to follow it. It better for all of us if we all follow those
steps.

Regarding porting Chat to GTK3, there is another wiki page[2] that
explains the process (related with branches).

Another thing that I'd like to mention is the language. This list is
in English, and it would be good if we can respect that. I wouldn't
like to start reading emails in German or Chineese (I don't have any
problem with those languages, but I don't understand a word :P )

With this things said, thanks a lot for the patch and your work!

[1] http://wiki.sugarlabs.org/go/Development_Team/Code_Review
[2] http://wiki.sugarlabs.org/go/Features/GTK3/Porting

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Clock's es.po commented

2012-05-23 Thread Rafael Ortiz
On Wed, May 23, 2012 at 7:30 PM, Chris Leonard wrote:

> On Wed, May 23, 2012 at 4:14 PM, Rafael Ortiz
>  wrote:
> > Hello.
> >
> > I just noticed that es.po of clock has commented strings.
> >
> > http://git.sugarlabs.org/clock/mainline/blobs/master/po/es.po
> >
> > This is preventing proper es string visualization.
> >
> >
> > Cheers.
>
>
> I think Clock's problem dates to when the POT changed from:
>
> +++
>
> #. TRANS: The format used when writing the time in full letters.
> #. You must take care to use a font size large enough so that kids can
> read it easily,
> #. but also small enough so that all times combination fit on the screen,
> even
> #. when the screen is rotated.
> #. Pango markup:
> http://www.pygtk.org/docs/pygtk/pango-markup-language.html
> #: clock.py:105
> #, python-format
> msgctxt "Write Time"
> msgid "%s"
>
> to:
>
> #. TRANS: The format used when writing the time in full
> #. letters. You must take care to use a font size large enough
> #. so that kids can read it easily, but also small enough so
> #. that all times combination fit on the screen, even when the
> #. screen is rotated. Pango markup:
> #. http://www.pygtk.org/docs/pygtk/pango-markup-language.html
> #: clock.py:127
> msgid "Write Time"
>
> +++
>
> #. TRANS: The format used to display the weekday and date (example:
> Tuesday 10/21/2008)
> #. We recommend to use the same font size as for the time display.
> #. See http://docs.python.org/lib/module-time.html for
> #. available strftime formats.
> #: clock.py:112
> #, no-python-format
> msgctxt "Write Date"
> msgid ""
> " foreground=\"#B20008\">"
> "%A, %m/ foreground=\"#B20008"
> "\">%d/%Y"
>
> to:
>
> #. TRANS: The format used to display the weekday and date
> #. (example: Tuesday 10/21/2008) We recommend to use the same
> #. font size as for the time display. See
> #. http://docs.python.org/lib/module-time.html for available
> #: clock.py:135
> #, no-python-format
> msgid "Write Date"
>
> +++
>
> #. TRANS: The format used to display the time for digital clock
> #. You can add AM/PM indicator or use 12/24 format, for example "%I:%M:%S
> %p".
> #. See http://docs.python.org/lib/module-time.html for
> #. available strftime formats
> #. If the display of the time is moving horizontally, it means that the
> glyphs
> #. of the digits used in the font don't have the same width. Try to use a
> #. Monospace font.
> #: clock.py:527
> #, no-python-format
> msgctxt "Digital Clock"
> msgid ""
> " "foreground=\"#005FE4\">%I:%M:"
> "%S%p"
>
> to:
>
> #. TRANS: The format used to display the time for digital clock
> You can add AM/PM indicator or use 12/24 format, for example
> #. "%I:%M:%S %p". See
> #. http://docs.python.org/lib/module-time.html for available
> #. strftime formats If the display of the time is moving
> #. horizontally, it means that the glyphs of the digits used in
> #. the font don't have the same width. Try to use a Monospace
> #: clock.py:649
> #, no-python-format
> msgid "Digital Clock"
>
> +++
>
> #. TRANS: The format of the font used to print hour numbers, from 1 to 12.
> #: clock.py:636
> #, python-format
> msgctxt "Hour Number"
> msgid " 20\">%d"
>
> to:
>
> #. TRANS: The format of the font used to print hour
> #. numbers, from 1 to 12.
> #: clock.py:772
> msgid "Hour Number
>
> +++
>
Pootle problem ?
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Clock's es.po commented

2012-05-23 Thread Chris Leonard
On Wed, May 23, 2012 at 4:14 PM, Rafael Ortiz
 wrote:
> Hello.
>
> I just noticed that es.po of clock has commented strings.
>
> http://git.sugarlabs.org/clock/mainline/blobs/master/po/es.po
>
> This is preventing proper es string visualization.
>
>
> Cheers.


I think Clock's problem dates to when the POT changed from:

+++

#. TRANS: The format used when writing the time in full letters.
#. You must take care to use a font size large enough so that kids can
read it easily,
#. but also small enough so that all times combination fit on the screen, even
#. when the screen is rotated.
#. Pango markup: http://www.pygtk.org/docs/pygtk/pango-markup-language.html
#: clock.py:105
#, python-format
msgctxt "Write Time"
msgid "%s"

to:

#. TRANS: The format used when writing the time in full
#. letters. You must take care to use a font size large enough
#. so that kids can read it easily, but also small enough so
#. that all times combination fit on the screen, even when the
#. screen is rotated. Pango markup:
#. http://www.pygtk.org/docs/pygtk/pango-markup-language.html
#: clock.py:127
msgid "Write Time"

+++

#. TRANS: The format used to display the weekday and date (example:
Tuesday 10/21/2008)
#. We recommend to use the same font size as for the time display.
#. See http://docs.python.org/lib/module-time.html for
#. available strftime formats.
#: clock.py:112
#, no-python-format
msgctxt "Write Date"
msgid ""
""
"%A, %m/%d/%Y"

to:

#. TRANS: The format used to display the weekday and date
#. (example: Tuesday 10/21/2008) We recommend to use the same
#. font size as for the time display. See
#. http://docs.python.org/lib/module-time.html for available
#: clock.py:135
#, no-python-format
msgid "Write Date"

+++

#. TRANS: The format used to display the time for digital clock
#. You can add AM/PM indicator or use 12/24 format, for example "%I:%M:%S %p".
#. See http://docs.python.org/lib/module-time.html for
#. available strftime formats
#. If the display of the time is moving horizontally, it means that the glyphs
#. of the digits used in the font don't have the same width. Try to use a
#. Monospace font.
#: clock.py:527
#, no-python-format
msgctxt "Digital Clock"
msgid ""
"%I:%M:"
"%S%p"

to:

#. TRANS: The format used to display the time for digital clock
You can add AM/PM indicator or use 12/24 format, for example
#. "%I:%M:%S %p". See
#. http://docs.python.org/lib/module-time.html for available
#. strftime formats If the display of the time is moving
#. horizontally, it means that the glyphs of the digits used in
#. the font don't have the same width. Try to use a Monospace
#: clock.py:649
#, no-python-format
msgid "Digital Clock"

+++

#. TRANS: The format of the font used to print hour numbers, from 1 to 12.
#: clock.py:636
#, python-format
msgctxt "Hour Number"
msgid "%d"

to:

#. TRANS: The format of the font used to print hour
#. numbers, from 1 to 12.
#: clock.py:772
msgid "Hour Number

+++
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH InfoSlicer v2] Export content as HTML SL #3608

2012-05-23 Thread James Cameron
On Wed, May 23, 2012 at 02:20:43PM -0300, Manuel Kaufmann wrote:
> My question was about this case for example. I've already pushed the
> patch as we discussed in IRC, so what I have to do know to include
> your "Reviewed-by" line in the commit message?

I'm guessing here.  Check out a branch using the hash just before your
patch, apply your patch, then repeat the commit, then fast-forward
merge to master, then push.  The revised patch will be included in the
remote git repository.

It is much easier to wait for review, or push your yet to be reviewed
patches to a different branch than master.

Rhetorical: Why the urgency to push?  Once you can list your reasons
for pushing, you can find alternatives.  For instance, I like to push
so that there is an offsite backup ... but the alternative is to use
the mailing list post as a backup.  Another reason I like to push is
so that I don't have to rebase if someone else pushes.  Beat them to
it.  ;-)

But if you are the maintainer, you get to choose when to push.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release Erikos-6

2012-05-23 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4251

Sugar Platform:
0.82 - 0.96

Download Now:
http://activities.sugarlabs.org/downloads/file/28064/erikos-6.xo

Release notes:
6

* New translations


Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release Pukllanapac-9

2012-05-23 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4320

Sugar Platform:
0.82 - 0.96

Download Now:
http://activities.sugarlabs.org/downloads/file/28063/pukllanapac-9.xo

Release notes:
9

New translations



Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release Flip-4

2012-05-23 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4518

Sugar Platform:
0.82 - 0.96

Download Now:
http://activities.sugarlabs.org/downloads/file/28062/flip-4.xo

Release notes:
4

New translations


Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release Reflection-7

2012-05-23 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4517

Sugar Platform:
0.82 - 0.96

Download Now:
http://activities.sugarlabs.org/downloads/file/28061/reflection-7.xo

Release notes:
7

* New translation


Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release Deducto-8

2012-05-23 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4220

Sugar Platform:
0.82 - 0.96

Download Now:
http://activities.sugarlabs.org/downloads/file/28060/deducto-8.xo

Release notes:
8

* New translations


Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release xoEditor-6

2012-05-23 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4085

Sugar Platform:
0.82 - 0.96

Download Now:
http://activities.sugarlabs.org/downloads/file/28055/xoeditor-6.xo

Release notes:
6

New translations


Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH Browse] Use UNICODE string to search into places SL #2830

2012-05-23 Thread Manuel Quiñones
2012/5/2 Daniel Drake :
> On Wed, May 2, 2012 at 10:24 AM, Manuel Quiñones  wrote:
>> Works for me in my dev machine and in the XO.  Are we safe to assume
>> that the text in GtkEntry is utf-8 ?
>
> All strings in GTK+ are in UTF-8.
> However, python tends to work in UTF16.
>
> I am surprised that it is not automatically converted to UTF16 by pygobject.
>
> What is the data type of self.props.text?

It is , even if I do in the setter method:

if not isinstance(text, unicode):
text = unicode(text, 'utf-8')
self.props.text = text

> Can you do self.get_text()?

Yes and its return value is  too.

Shall we commit humito's patch, or file a bug upstream?

-- 
.. manuq ..
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Bug sugar3/graphics/palettewindow.py

2012-05-23 Thread Flavio Danesse
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gi/_gobject/__init__.py", line
106, in obj_set_property
prop.fset(self, value)
  File "/usr/lib/python2.7/site-packages/sugar3/graphics/palettewindow.py",
line 501, in set_invoker
self._widget.set_invoker(self._invoker)
AttributeError: 'NoneType' object has no attribute 'set_invoker'
Logging disabled on purpose
0dBFS level = 32768.0
Csound version 5.13 (float samples) Apr 28 2012
libsndfile-1.0.25
UnifiedCSD:
 /home/olpc/Activities/TamTamSynthLab.activity/common/Resources/tamtamorc.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
orchname:  /tmp/csound-3AaESv.orc
scorename: /tmp/csound-o0OcFU.sco
rtaudio: pulseaudio module enabled
orch compiler:
opcode homeSine a kki
opcode synthGrain a aa
opcode ControlMatrice i ii
opcode SourceMatrice i i
opcode FxMatrice i i
opcode controller k ii
opcode source a ii
opcode effects a ii
instr 200
instr 5600
instr 5400
instr 5401
instr 5201
instr 5202
instr 5212
instr 6000
instr 5204
instr 5203
instr 5000
instr 5022
instr 5023
instr 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010
instr 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110
instr 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020
instr 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120
instr 5021
sorting score ...
... done
Csound version 5.13 (float samples) Apr 28 2012
displays suppressed
0dBFS level = 32768.0
orch now loaded
audio buffered in 256 sample-frame blocks
SECTION 1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gi/_gobject/__init__.py", line
106, in obj_set_property
prop.fset(self, value)
  File "/usr/lib/python2.7/site-packages/sugar3/graphics/palettewindow.py",
line 501, in set_invoker
self._widget.set_invoker(self._invoker)
AttributeError: 'NoneType' object has no attribute 'set_invoker'

(sugar-activity:850): Gdk-CRITICAL **: gdk_window_invalidate_rect_full:
assertion `GDK_IS_WINDOW (window)' failed

(sugar-activity:850): Gdk-CRITICAL **: gdk_window_invalidate_rect_full:
assertion `GDK_IS_WINDOW (window)' failed
1337811171.856694 WARNING root: No Gtk.AccelGroup in the top level window.
1337811191.377681 ERROR root: Error saving activity object to datastore
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/sugar3/activity/activity.py", line
906, in _prepare_close
self.save()
  File "/usr/lib/python2.7/site-packages/sugar3/activity/activity.py", line
730, in save
preview = self.get_preview()
  File "/usr/lib/python2.7/site-packages/sugar3/activity/activity.py", line
667, in get_preview
self.canvas.draw(cr)
TypeError: draw() takes exactly 3 arguments (2 given)
inactive allocs returned to freespace
end of score.   overall amps:  0.0  0.0
   overall samples out of range:00
0 errors in performance
Exited with status 0, pid 850 data (None, ', mode 'w'
at 0xcdb6a8>, dbus.ByteArray('5469ff9aabd0d26a3012e4c00a83ff1a538fe096',
variant_level=1))
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH Terminal 1/2] GTK3 Port start

2012-05-23 Thread S. Daniel Francis
Sorry by the long delay. I send the new version of the patch with the GTK-3
port:
Gtk3 Port Start (Code Sprint)
Fixing scrollbar bugs (humitos)
One import per line (Correction)

If there isn't any other correction, I make the other patch (The same tabs
as Browse).

Regards.

2012/5/22 Rafael Ortiz 

>
>
> On Tue, May 22, 2012 at 7:42 AM, Manuel Kaufmann wrote:
>
>> On Wed, May 16, 2012 at 10:26 PM, Agustin Zubiaga Sanchez
>>  wrote:
>> > Yes, I'm testing your patch (humitos) and works perfectly :)
>> > And in my XO 1.5 also works!
>>
>> Could you send the new version of the patch?
>>
>>
> +1 Its necessary to begin  the terminal gtk3 branch.
>
>
>>  --
>> Kaufmann Manuel
>> Blog: http://humitos.wordpress.com/
>> Porfolio: http://fotos.mkaufmann.com.ar/
>> PyAr: http://www.python.com.ar/
>>
>
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


0001-GTK3-Port.patch
Description: Binary data
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Browser Bug

2012-05-23 Thread Manuel Quiñones
2012/5/23  :
> Thanks
> I will look at the error log more carefully when crashing
> Its been one of the last things in the log when crashing and I assumed it was 
> the cause
> Tony

No need to sorry about :)  That confused me too the first time I saw it.

-- 
.. manuq ..
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Browser Bug

2012-05-23 Thread forster
Thanks
I will look at the error log more carefully when crashing
Its been one of the last things in the log when crashing and I assumed it was 
the cause
Tony

> 2012/5/23  :
> > Flavio
> >
> > I also get 'NoneType' object has no attribute 'set_invoker'
> > on the XO-1.75, Browse on Webkit
> 
> Yes, this is http://bugs.sugarlabs.org/ticket/3460 of
> sugar-toolkit-gtk3 component.
> 
> But as far as I can tell, this is not provoking crashes.
> 
> -- 
> .. manuq ..
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> _
> This mail has been virus scanned by Australia On Line
> see http://www.australiaonline.net.au/mailscanning

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Browser Bug

2012-05-23 Thread Manuel Quiñones
2012/5/23  :
> Flavio
>
> I also get 'NoneType' object has no attribute 'set_invoker'
> on the XO-1.75, Browse on Webkit

Yes, this is http://bugs.sugarlabs.org/ticket/3460 of
sugar-toolkit-gtk3 component.

But as far as I can tell, this is not provoking crashes.

-- 
.. manuq ..
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Browser Bug

2012-05-23 Thread Manuel Quiñones
2012/5/23 Manuel Quiñones :
> 2012/5/23 Flavio Danesse :
>> El error es en sugar.graphics pero se lanza al utilizar browser
>> aparentemente en páginas con videos y animaciones.
>> Esta versión de browser es la 137, sobre xo 1.75 sobre esta imagen de
>> sugar: http://build.laptop.org/12.1.0/os11/xo-1.75/
>>
>> The error is in sugar.graphics but is thrown when using browser
>> apparently on pages with videos and animations.
>> This browser version is 137, about 1.75 xo on this image of sugar:
>> http://build.laptop.org/12.1.0/os11/xo-1.75/
>
> Thanks for testing Flavio.
>
> In 1.75 os11 we still have the "browse crashes a lot" bug, previously
> tracked in http://bugs.sugarlabs.org/ticket/3497 and now in
> http://dev.laptop.org/ticket/11875 (as this is olpc specific, not
> sugar)

Oh, and in os11 you can do "yum update webkitgtk3" to fix it.

-- 
.. manuq ..
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Browser Bug

2012-05-23 Thread Manuel Quiñones
2012/5/23 Flavio Danesse :
> El error es en sugar.graphics pero se lanza al utilizar browser
> aparentemente en páginas con videos y animaciones.
> Esta versión de browser es la 137, sobre xo 1.75 sobre esta imagen de
> sugar: http://build.laptop.org/12.1.0/os11/xo-1.75/
>
> The error is in sugar.graphics but is thrown when using browser
> apparently on pages with videos and animations.
> This browser version is 137, about 1.75 xo on this image of sugar:
> http://build.laptop.org/12.1.0/os11/xo-1.75/

Thanks for testing Flavio.

In 1.75 os11 we still have the "browse crashes a lot" bug, previously
tracked in http://bugs.sugarlabs.org/ticket/3497 and now in
http://dev.laptop.org/ticket/11875 (as this is olpc specific, not
sugar)

PS: no need to post in Spanish in this list ;)

>
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
.. manuq ..
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release Wikipedia-34

2012-05-23 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4401

Sugar Platform:
0.96 - 0.96

Download Now:
http://activities.sugarlabs.org/downloads/file/28059/wikipedia-34.xo

Release notes:
Use search index to validate existing links and check redirects - SL #3465 and 
OLPC #11837
Reprocess data files to reduce size - SL #3452


Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [PATCH Browse 2/2] Display the filename for untitled PDFs stored in the Journal SL #3622

2012-05-23 Thread Manuel Quiñones
It was set in the setup method of the pdf viewer, but
was overwritten by the show_pdf method.

This requires the patch attached in SL #3620

Signed-off-by: Manuel Quiñones 
---
 pdfviewer.py |7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/pdfviewer.py b/pdfviewer.py
index cf435d6..5f607bf 100644
--- a/pdfviewer.py
+++ b/pdfviewer.py
@@ -329,7 +329,12 @@ class PDFTabPage(Gtk.HBox):
 self._evince_viewer.show()
 self.pack_start(self._evince_viewer, True, True, 0)
 
-# if the PDF has a title, show it instead of the URI:
+# If the PDF has a title, set it as the browse page title,
+# otherwise use the last part of the URI.  Only when the title
+# was not set already from the Journal.
+if from_journal:
+self._browser.props.title = self._browser.props.title
+return
 pdf_title = self._evince_viewer.get_pdf_title()
 if pdf_title is not None:
 self._browser.props.title = pdf_title
-- 
1.7.10.1

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release Portfolio-24

2012-05-23 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4437

Sugar Platform:
0.82 - 0.96

Download Now:
http://activities.sugarlabs.org/downloads/file/28058/portfolio-24.xo

Release notes:
24

* New translations


Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Clock's es.po commented

2012-05-23 Thread Rafael Ortiz
Hello.

I just noticed that es.po of clock has commented strings.

http://git.sugarlabs.org/clock/mainline/blobs/master/po/es.po

This is preventing proper es string visualization.


Cheers.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Port Gtk 3 (Chat.activity)

2012-05-23 Thread Aleksey Lim
On Wed, May 23, 2012 at 04:29:54PM -0300, Flavio Danesse wrote:
> Si, pero me da error:
> 
> error: src refspec gtk3 matches more than one.
> error: failed to push some refs to 'gitori...@git.sugarlabs.org:
> chat/mainline.git'

Sorry, I create tag with the same name. fixed.

-- 
Aleksey
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Port Gtk 3 (Chat.activity)

2012-05-23 Thread Flavio Danesse
Si, pero me da error:

error: src refspec gtk3 matches more than one.
error: failed to push some refs to 'gitori...@git.sugarlabs.org:
chat/mainline.git'


2012/5/23 Aleksey Lim 

> On Wed, May 23, 2012 at 04:07:00PM -0300, Flavio Danesse wrote:
> > Parece que no se usar las ramas en git, porque no me las actualiza.
> > No se supone que es así?: git push origin rama
>
> To checkout new branch, do
>
>git fetch
>git checkout origin/gtk3 -b gtk3
>
> to push to new branch
>
>git push origin gtk3
>
> > 2012/5/23 Aleksey Lim 
> >
> > > On Wed, May 23, 2012 at 03:26:16PM -0300, Gonzalo Odiard wrote:
> > > > Flavio patches need review.
> > >
> > > gtk3 branch was created exactly for experiments with gtk3 porting when
> > > master is for regular development until it will be clear that most of
> > > Chat users are on gtk3 based sugar and it is the time to switch to gtk3
> > > Chat for regular coding.
> > >
> > > > Also would be good follow in all the activities the suggestions in
> > > > http://wiki.sugarlabs.org/go/Features/GTK3/Activity_Porting
> > > > regarding to branches. Will do our lives easier in the future :)
> > > >
> > > > Gonzalo
> > > >
> > > > On Wed, May 23, 2012 at 2:41 PM, Aleksey Lim 
> > > wrote:
> > > >
> > > > > On Tue, May 22, 2012 at 01:46:48PM -0300, Flavio Danesse wrote:
> > > > > > Today I will be working on a new patch to fix the
> > > > > > function Chat.activity Iwas left pending yesterday and fixing
> some
> > > > > details
> > > > > > in the typing.
> > > > > > If you want to give me access to the repo and upload everything
> in a
> > > new
> > > > > > branch.
> > > > > > My user is git "flavio"
> > > > >
> > > > > Sure, I've added you to chat repository and pushed "gtk3" branch.
> > > > > Feel free to process gtk3 porting work there. I think it will be
> useful
> > > > > to keep "master" bracnh as regular development trunk as long as
> > > > > majorority of users are on gtk2 based sugar.
> > > > >
> > > > > > Hoy estaré trabajando en un nuevo parche para Chat.activity para
> > > arreglar
> > > > > > la función que me quedó pendiente ayer y arreglando algunos
> detalles
> > > en
> > > > > el
> > > > > > tipado.
> > > > > > Si quieren me dan acceso al repo y subo todo en una rama nueva.
> > > > > > Mi usuario en git es "flavio"
> > > > >
> > > > > --
> > > > > Aleksey
> > > > > ___
> > > > > Sugar-devel mailing list
> > > > > Sugar-devel@lists.sugarlabs.org
> > > > > http://lists.sugarlabs.org/listinfo/sugar-devel
> > > > >
> > >
> > > > ___
> > > > Sugar-devel mailing list
> > > > Sugar-devel@lists.sugarlabs.org
> > > > http://lists.sugarlabs.org/listinfo/sugar-devel
> > >
> > >
> > > --
> > > Aleksey
> > >
>
> --
> Aleksey
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Port Gtk 3 (Chat.activity)

2012-05-23 Thread Aleksey Lim
On Wed, May 23, 2012 at 04:07:00PM -0300, Flavio Danesse wrote:
> Parece que no se usar las ramas en git, porque no me las actualiza.
> No se supone que es así?: git push origin rama

To checkout new branch, do

git fetch
git checkout origin/gtk3 -b gtk3

to push to new branch

git push origin gtk3

> 2012/5/23 Aleksey Lim 
> 
> > On Wed, May 23, 2012 at 03:26:16PM -0300, Gonzalo Odiard wrote:
> > > Flavio patches need review.
> >
> > gtk3 branch was created exactly for experiments with gtk3 porting when
> > master is for regular development until it will be clear that most of
> > Chat users are on gtk3 based sugar and it is the time to switch to gtk3
> > Chat for regular coding.
> >
> > > Also would be good follow in all the activities the suggestions in
> > > http://wiki.sugarlabs.org/go/Features/GTK3/Activity_Porting
> > > regarding to branches. Will do our lives easier in the future :)
> > >
> > > Gonzalo
> > >
> > > On Wed, May 23, 2012 at 2:41 PM, Aleksey Lim 
> > wrote:
> > >
> > > > On Tue, May 22, 2012 at 01:46:48PM -0300, Flavio Danesse wrote:
> > > > > Today I will be working on a new patch to fix the
> > > > > function Chat.activity Iwas left pending yesterday and fixing some
> > > > details
> > > > > in the typing.
> > > > > If you want to give me access to the repo and upload everything in a
> > new
> > > > > branch.
> > > > > My user is git "flavio"
> > > >
> > > > Sure, I've added you to chat repository and pushed "gtk3" branch.
> > > > Feel free to process gtk3 porting work there. I think it will be useful
> > > > to keep "master" bracnh as regular development trunk as long as
> > > > majorority of users are on gtk2 based sugar.
> > > >
> > > > > Hoy estaré trabajando en un nuevo parche para Chat.activity para
> > arreglar
> > > > > la función que me quedó pendiente ayer y arreglando algunos detalles
> > en
> > > > el
> > > > > tipado.
> > > > > Si quieren me dan acceso al repo y subo todo en una rama nueva.
> > > > > Mi usuario en git es "flavio"
> > > >
> > > > --
> > > > Aleksey
> > > > ___
> > > > Sugar-devel mailing list
> > > > Sugar-devel@lists.sugarlabs.org
> > > > http://lists.sugarlabs.org/listinfo/sugar-devel
> > > >
> >
> > > ___
> > > Sugar-devel mailing list
> > > Sugar-devel@lists.sugarlabs.org
> > > http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> >
> > --
> > Aleksey
> >

-- 
Aleksey
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Port Gtk 3 (Chat.activity)

2012-05-23 Thread Flavio Danesse
Parece que no se usar las ramas en git, porque no me las actualiza.
No se supone que es así?: git push origin rama



2012/5/23 Aleksey Lim 

> On Wed, May 23, 2012 at 03:26:16PM -0300, Gonzalo Odiard wrote:
> > Flavio patches need review.
>
> gtk3 branch was created exactly for experiments with gtk3 porting when
> master is for regular development until it will be clear that most of
> Chat users are on gtk3 based sugar and it is the time to switch to gtk3
> Chat for regular coding.
>
> > Also would be good follow in all the activities the suggestions in
> > http://wiki.sugarlabs.org/go/Features/GTK3/Activity_Porting
> > regarding to branches. Will do our lives easier in the future :)
> >
> > Gonzalo
> >
> > On Wed, May 23, 2012 at 2:41 PM, Aleksey Lim 
> wrote:
> >
> > > On Tue, May 22, 2012 at 01:46:48PM -0300, Flavio Danesse wrote:
> > > > Today I will be working on a new patch to fix the
> > > > function Chat.activity Iwas left pending yesterday and fixing some
> > > details
> > > > in the typing.
> > > > If you want to give me access to the repo and upload everything in a
> new
> > > > branch.
> > > > My user is git "flavio"
> > >
> > > Sure, I've added you to chat repository and pushed "gtk3" branch.
> > > Feel free to process gtk3 porting work there. I think it will be useful
> > > to keep "master" bracnh as regular development trunk as long as
> > > majorority of users are on gtk2 based sugar.
> > >
> > > > Hoy estaré trabajando en un nuevo parche para Chat.activity para
> arreglar
> > > > la función que me quedó pendiente ayer y arreglando algunos detalles
> en
> > > el
> > > > tipado.
> > > > Si quieren me dan acceso al repo y subo todo en una rama nueva.
> > > > Mi usuario en git es "flavio"
> > >
> > > --
> > > Aleksey
> > > ___
> > > Sugar-devel mailing list
> > > Sugar-devel@lists.sugarlabs.org
> > > http://lists.sugarlabs.org/listinfo/sugar-devel
> > >
>
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
> --
> Aleksey
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Port Gtk 3 (Chat.activity)

2012-05-23 Thread Aleksey Lim
On Wed, May 23, 2012 at 03:26:16PM -0300, Gonzalo Odiard wrote:
> Flavio patches need review.

gtk3 branch was created exactly for experiments with gtk3 porting when
master is for regular development until it will be clear that most of
Chat users are on gtk3 based sugar and it is the time to switch to gtk3
Chat for regular coding.

> Also would be good follow in all the activities the suggestions in
> http://wiki.sugarlabs.org/go/Features/GTK3/Activity_Porting
> regarding to branches. Will do our lives easier in the future :)
> 
> Gonzalo
> 
> On Wed, May 23, 2012 at 2:41 PM, Aleksey Lim  wrote:
> 
> > On Tue, May 22, 2012 at 01:46:48PM -0300, Flavio Danesse wrote:
> > > Today I will be working on a new patch to fix the
> > > function Chat.activity Iwas left pending yesterday and fixing some
> > details
> > > in the typing.
> > > If you want to give me access to the repo and upload everything in a new
> > > branch.
> > > My user is git "flavio"
> >
> > Sure, I've added you to chat repository and pushed "gtk3" branch.
> > Feel free to process gtk3 porting work there. I think it will be useful
> > to keep "master" bracnh as regular development trunk as long as
> > majorority of users are on gtk2 based sugar.
> >
> > > Hoy estaré trabajando en un nuevo parche para Chat.activity para arreglar
> > > la función que me quedó pendiente ayer y arreglando algunos detalles en
> > el
> > > tipado.
> > > Si quieren me dan acceso al repo y subo todo en una rama nueva.
> > > Mi usuario en git es "flavio"
> >
> > --
> > Aleksey
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> >

> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel


-- 
Aleksey
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release Finance-8

2012-05-23 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4040

Sugar Platform:
0.82 - 0.96

Download Now:
http://activities.sugarlabs.org/downloads/file/28057/finance-8.xo

Release notes:
Ability to translate header period SL #3190 (Manuel Kaufmann)
Translate period string properly SL #3190 (Manuel Kaufmann)


Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release Info Slicer-15

2012-05-23 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4042

Sugar Platform:
0.82 - 0.96

Download Now:
http://activities.sugarlabs.org/downloads/file/28056/infoslicer-15.xo

Release notes:
15

ENHANCEMENT:
* New translations

BUG FIX:
* Export content as HTML SL (#3608) (patch by Manuel Kaufmann)
* Avoid screen overlapping SL (#3632) (patch by Manuel Kaufmann)



Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Port Gtk 3 (Chat.activity)

2012-05-23 Thread Gonzalo Odiard
Flavio patches need review.

Also would be good follow in all the activities the suggestions in
http://wiki.sugarlabs.org/go/Features/GTK3/Activity_Porting
regarding to branches. Will do our lives easier in the future :)

Gonzalo

On Wed, May 23, 2012 at 2:41 PM, Aleksey Lim  wrote:

> On Tue, May 22, 2012 at 01:46:48PM -0300, Flavio Danesse wrote:
> > Today I will be working on a new patch to fix the
> > function Chat.activity Iwas left pending yesterday and fixing some
> details
> > in the typing.
> > If you want to give me access to the repo and upload everything in a new
> > branch.
> > My user is git "flavio"
>
> Sure, I've added you to chat repository and pushed "gtk3" branch.
> Feel free to process gtk3 porting work there. I think it will be useful
> to keep "master" bracnh as regular development trunk as long as
> majorority of users are on gtk2 based sugar.
>
> > Hoy estaré trabajando en un nuevo parche para Chat.activity para arreglar
> > la función que me quedó pendiente ayer y arreglando algunos detalles en
> el
> > tipado.
> > Si quieren me dan acceso al repo y subo todo en una rama nueva.
> > Mi usuario en git es "flavio"
>
> --
> Aleksey
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-05-23 Thread Aleksey Lim
On Wed, May 23, 2012 at 08:31:50AM +0200, Christophe Guéret wrote:
> > But was it Fedora-14? If yes, what redstore version you used (because
> > the recent one can't be build on Fedora-14 due to dependencies'
> > versions).
> >
> On the XO yes, I suppose, but on my desktops I use Archlinux.
> I use Redstore 0.5.4. It requires the latest versions of Redland libraries
> which are not available on Fedora 14.
> I've made a script that download all the dependencies, compile them and
> produce a bundle for the XO.
> This bundle contains the redstore binary (32b) + its dependencies + a
> script to start redstore.
> 
> Christophe

I've packaged redstore to SD:Factory repos
(https://packages.sugarlabs.org/project/monitor?project=SweetsDistribution:Factory)
the package is "redstore" that provides "redstore" command and
"redstored" init.d script. I didn't make it autorun in case if you will use it 
in
the same way as Journal (and Sugar Network database), i.e., keep
database in ~/.sugar/ and start daemon from current user's
session.

To attach new repo, either do it manualy (from
http://download.sugarlabs.org/packages/SweetsDistribution:/Factory/) or
follow SD's regular way (http://wiki.sugarlabs.org/go/Sweets_Distribution).

btw, it might be useful to create SemanticXO package as well and make it
pluggable like it was done with Sugar Network (checkbox in "Sweets
Distribution" Control Panel component). i.e., it should regular DBus
service that provides the same Dbus API as sugar-datastore. If you will
do that, I think it will be possible to plug either sugar-datastore or
SemanticXO in runtime.

-- 
Aleksey
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Port Gtk 3 (Chat.activity)

2012-05-23 Thread Aleksey Lim
On Tue, May 22, 2012 at 01:46:48PM -0300, Flavio Danesse wrote:
> Today I will be working on a new patch to fix the
> function Chat.activity Iwas left pending yesterday and fixing some details
> in the typing.
> If you want to give me access to the repo and upload everything in a new
> branch.
> My user is git "flavio"

Sure, I've added you to chat repository and pushed "gtk3" branch.
Feel free to process gtk3 porting work there. I think it will be useful
to keep "master" bracnh as regular development trunk as long as
majorority of users are on gtk2 based sugar.

> Hoy estaré trabajando en un nuevo parche para Chat.activity para arreglar
> la función que me quedó pendiente ayer y arreglando algunos detalles en el
> tipado.
> Si quieren me dan acceso al repo y subo todo en una rama nueva.
> Mi usuario en git es "flavio"

-- 
Aleksey
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH InfoSlicer v2] Export content as HTML SL #3608

2012-05-23 Thread Manuel Kaufmann
On Wed, May 23, 2012 at 1:47 PM, Walter Bender  wrote:
> Reviewed by Walter Bender 

Thanks!

My question was about this case for example. I've already pushed the
patch as we discussed in IRC, so what I have to do know to include
your "Reviewed-by" line in the commit message?

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [ASLO] Test in Sugar 0.96.1

2012-05-23 Thread Rafael Ortiz
On Wed, May 23, 2012 at 1:30 AM, Alan Jhonn Aguiar Schwyn <
alan...@hotmail.com> wrote:

>
> Yes.. I'm a editor.. but that changes I can't make it..
>
> Maybe a admin can make them?¿
>
> Try it..
>
>
Alan, I made you admin :). please try again.



> --
> Date: Tue, 22 May 2012 08:59:52 -0300
> From: gonz...@laptop.org
> To: alan...@hotmail.com
> CC: sugar-devel@lists.sugarlabs.org; olpc...@lists.laptop.org;
> a...@lists.sugarlabs.org; walter.ben...@gmail.com;
> satel...@bendbroadband.com; de...@lists.laptop.org; dee...@laptop.org.au
> Subject: Re: [Sugar-devel] Test in Sugar 0.96.1
>
>
> Thanks Alan for doing this extensive test!
> I imagine you have spent a lot of time doing the tests.
> Are you a editor in ASLO now, right?
> If yes, I think you should update the information about the supported
> versions.
>
> Gonzalo
>
>
> On Tue, May 22, 2012 at 2:58 AM, Alan Jhonn Aguiar Schwyn <
> alan...@hotmail.com> wrote:
>
>
> Hi,
>
> Some time ago, I make this spreadsheet [1] with the results of my test
> with XO 1.0 on Sugar 0.94.1
> Now, I'm making a new version [2] of the Sugar Test with the test results
> on Sugar 0.96.1 (Build 12.1-os11:  21011o0)
> The list of activities it's based on [3].
>
> Anyone with the link can edit the spreadsheet...
>
> And the time goes by.. and the activities are updated..
>
>  I attach 2 graphs: the first, with the comparative of the activities for
> each sugar version (0.82, 0.84, ..., 0.96)
> with 2 colors: the red bars are of january, the blue bars, of today.
>
>  The second picture, is of the time of the activities since the latest
> update:
> 111 activities have 6 months or less
> 81 activities between 6 months - 1 year
> 251 activities! more than 1 year.. and counting..
>
> The test on Sugar 0.94 are (mostly) finished.. and some activities
> continues saying in ASLO "I'm run on Sugar 0.82
> to 0.90" when runs perfectly on 0.94 (and possibly in 0.96)
>
>
> Regards!
>
> Alan
>
>
> [1]
> https://docs.google.com/spreadsheet/ccc?key=0AntaXnq4oy2_dHpvZHhLeGRQYzc1cDlRZU9Mc1NldGc
> [2]
> https://docs.google.com/spreadsheet/ccc?key=0AntaXnq4oy2_dDhXak9wYmlZU1pVX19IUGs0NkY3cEE
> [3]
> https://docs.google.com/spreadsheet/ccc?key=0AntaXnq4oy2_dFJjNE9TemZUUGtzLVNEQnF4UlIwQkE
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
>
> ___ Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
> ___
> ASLO mailing list
> a...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/aslo
>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH InfoSlicer v2] Export content as HTML SL #3608

2012-05-23 Thread Walter Bender
On Wed, May 23, 2012 at 12:12 PM, Manuel Kaufmann  wrote:
> Added HTML files to the bundle so this content can be opened with Browse
> Activity. The old dita/ditamap files are not removed because they are parsed 
> to
> generate the new HTML files.
>
> Besides, the HTML generation uses these dita files to not be too aggressive
> with the code in this cycle. We will improve this code in the future and we
> will remove completely the dita generation.
>
> Signed-off-by: Manuel Kaufmann 

Reviewed by Walter Bender 

> ---
>  article.html |    9 +
>  parse.py     |   61 
> ++
>  xol.py       |    7 ++-
>  3 files changed, 76 insertions(+), 1 deletion(-)
>  create mode 100644 article.html
>  create mode 100644 parse.py
>
> diff --git a/article.html b/article.html
> new file mode 100644
> index 000..f57266a
> --- /dev/null
> +++ b/article.html
> @@ -0,0 +1,9 @@
> + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> +http://www.w3.org/1999/xhtml";>
> +  
> +    %(title)s
> +    
> +    
> +  
> +  %(body)s
> +
> diff --git a/parse.py b/parse.py
> new file mode 100644
> index 000..96383ac
> --- /dev/null
> +++ b/parse.py
> @@ -0,0 +1,61 @@
> +#!/usr/bin/python
> +# -*- coding: utf-8 -*-
> +from gettext import gettext as _
> +from BeautifulSoup import BeautifulSoup
> +
> +
> +def parse_dita(dita_str):
> +    soup = BeautifulSoup(dita_str)
> +
> +    html = open('article.html', 'r').read().decode('utf-8')
> +
> +    html_tags = []
> +
> +    title = soup.find('title').string.strip()
> +    h1_title = '%(title)s' % \
> +        {'title': title}
> +    index_link = '' + \
> +        _('Return to index') + ''
> +
> +    html_tags.append(index_link)
> +    html_tags.append(h1_title)
> +
> +    for section in soup.findAll('section'):
> +        for p in section.findAll('p'):
> +            images = p.findAll('image')
> +            for img in images:
> +                html_tags.append('' % \
> +                                      {'src': img.get('href')})
> +            html_tags.append('')
> +            for ph in p.findAll('ph'):
> +                html_tags.append(ph.string.strip())
> +            html_tags.append('')
> +
> +    html = html % {'title': title,
> +                   'body': '\n'.join(html_tags)}
> +    return html
> +
> +
> +def parse_ditamap(ditamap_str):
> +    soup = BeautifulSoup(ditamap_str)
> +    html = open('article.html', 'r').read().decode('utf-8')
> +
> +    html_tags = []
> +
> +    title = soup.find('map').get('title')
> +
> +    h1_title = '%(title)s' % \
> +        {'title': title}
> +    html_tags.append(h1_title)
> +
> +    html_tags.append('')
> +    for topic in soup.findAll('topicref'):
> +        dita_path = topic.get('href')
> +        html_tags.append('%(name)s' % \
> +                             {'href': dita_path.replace('.dita', '.html'),
> +                              'name': topic.get('navtitle')})
> +    html_tags.append('')
> +
> +    html = html % {'title': title,
> +                   'body': '\n'.join(html_tags)}
> +    return html
> diff --git a/xol.py b/xol.py
> index b5aa1df..6b2a34f 100644
> --- a/xol.py
> +++ b/xol.py
> @@ -19,6 +19,7 @@ import gtk
>  import zipfile
>  import uuid
>  import logging
> +import parse
>  from glob import glob
>  from gettext import gettext as _
>
> @@ -152,6 +153,8 @@ def _dita_management(zip, uid, title):
>                 'href="ditastylesheet.xsl"?>')
>         zipstr(zip, os.path.join(uid, 'slicecontent', '%s.dita' % auid),
>                 content.prettify())
> +        zipstr(zip, os.path.join(uid, 'slicecontent', '%s.html' % auid),
> +                parse.parse_dita(content.prettify()))
>
>         map.append('' % (auid, atitle))
>         map.append('')
> @@ -159,12 +162,14 @@ def _dita_management(zip, uid, title):
>     map.append('')
>     zipstr(zip, os.path.join(uid, 'slicecontent', 'librarymap.ditamap'),
>             "\n".join(map))
> +    zipstr(zip, os.path.join(uid, 'slicecontent', 'librarymap.html'),
> +            parse.parse_ditamap("\n".join(map)))
>
>  def _index_redirect(zip, uid):
>     """
>         Creates the redirecting index.html
>     """
> -    redirect_loc = 'slicecontent/librarymap.ditamap'
> +    redirect_loc = 'slicecontent/librarymap.html'
>
>     html = ['',\
>             '',\
> --
> 1.7.10
>



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [PATCH InfoSlicer v2] Export content as HTML SL #3608

2012-05-23 Thread Manuel Kaufmann
Added HTML files to the bundle so this content can be opened with Browse
Activity. The old dita/ditamap files are not removed because they are parsed to
generate the new HTML files.

Besides, the HTML generation uses these dita files to not be too aggressive
with the code in this cycle. We will improve this code in the future and we
will remove completely the dita generation.

Signed-off-by: Manuel Kaufmann 
---
 article.html |9 +
 parse.py |   61 ++
 xol.py   |7 ++-
 3 files changed, 76 insertions(+), 1 deletion(-)
 create mode 100644 article.html
 create mode 100644 parse.py

diff --git a/article.html b/article.html
new file mode 100644
index 000..f57266a
--- /dev/null
+++ b/article.html
@@ -0,0 +1,9 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+http://www.w3.org/1999/xhtml";>
+  
+%(title)s
+
+
+  
+  %(body)s
+
diff --git a/parse.py b/parse.py
new file mode 100644
index 000..96383ac
--- /dev/null
+++ b/parse.py
@@ -0,0 +1,61 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+from gettext import gettext as _
+from BeautifulSoup import BeautifulSoup
+
+
+def parse_dita(dita_str):
+soup = BeautifulSoup(dita_str)
+
+html = open('article.html', 'r').read().decode('utf-8')
+
+html_tags = []
+
+title = soup.find('title').string.strip()
+h1_title = '%(title)s' % \
+{'title': title}
+index_link = '' + \
+_('Return to index') + ''
+
+html_tags.append(index_link)
+html_tags.append(h1_title)
+
+for section in soup.findAll('section'):
+for p in section.findAll('p'):
+images = p.findAll('image')
+for img in images:
+html_tags.append('' % \
+  {'src': img.get('href')})
+html_tags.append('')
+for ph in p.findAll('ph'):
+html_tags.append(ph.string.strip())
+html_tags.append('')
+
+html = html % {'title': title,
+   'body': '\n'.join(html_tags)}
+return html
+
+
+def parse_ditamap(ditamap_str):
+soup = BeautifulSoup(ditamap_str)
+html = open('article.html', 'r').read().decode('utf-8')
+
+html_tags = []
+
+title = soup.find('map').get('title')
+
+h1_title = '%(title)s' % \
+{'title': title}
+html_tags.append(h1_title)
+
+html_tags.append('')
+for topic in soup.findAll('topicref'):
+dita_path = topic.get('href')
+html_tags.append('%(name)s' % \
+ {'href': dita_path.replace('.dita', '.html'),
+  'name': topic.get('navtitle')})
+html_tags.append('')
+
+html = html % {'title': title,
+   'body': '\n'.join(html_tags)}
+return html
diff --git a/xol.py b/xol.py
index b5aa1df..6b2a34f 100644
--- a/xol.py
+++ b/xol.py
@@ -19,6 +19,7 @@ import gtk
 import zipfile
 import uuid
 import logging
+import parse
 from glob import glob
 from gettext import gettext as _
 
@@ -152,6 +153,8 @@ def _dita_management(zip, uid, title):
 'href="ditastylesheet.xsl"?>')
 zipstr(zip, os.path.join(uid, 'slicecontent', '%s.dita' % auid),
 content.prettify())
+zipstr(zip, os.path.join(uid, 'slicecontent', '%s.html' % auid),
+parse.parse_dita(content.prettify()))
 
 map.append('' % (auid, atitle))
 map.append('')
@@ -159,12 +162,14 @@ def _dita_management(zip, uid, title):
 map.append('')
 zipstr(zip, os.path.join(uid, 'slicecontent', 'librarymap.ditamap'),
 "\n".join(map))
+zipstr(zip, os.path.join(uid, 'slicecontent', 'librarymap.html'),
+parse.parse_ditamap("\n".join(map)))
 
 def _index_redirect(zip, uid):
 """
 Creates the redirecting index.html
 """
-redirect_loc = 'slicecontent/librarymap.ditamap'
+redirect_loc = 'slicecontent/librarymap.html'
 
 html = ['',\
 '',\
-- 
1.7.10

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH InfoSlicer] Export content as HTML SL #3608

2012-05-23 Thread Manuel Kaufmann
On Wed, May 23, 2012 at 1:07 PM, Gonzalo Odiard  wrote:
> Maybe you should git add parse.py?

Oh! Sorry! I sent the wrong patch. I've already fix that... I will
send it again. :(

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH InfoSlicer] Export content as HTML SL #3608

2012-05-23 Thread Manuel Kaufmann
On Wed, May 23, 2012 at 1:05 PM, Manuel Kaufmann  wrote:
> Signed-off-by: Manuel Kaufmann 

O.K. This is my first PATCH for this activity after I was given push
permission so I'm asking you for some advice.

What should I do? Just push it? Send the email to the devel list for a
review? Who is going to review the patches?

My policy now is: wait for a day and if nobody answer, push it.

Let me know what is the "right" way to do this, or at least what you
are doing...

Thanks godiard and walterbender for their help on this patch.

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH InfoSlicer] Export content as HTML SL #3608

2012-05-23 Thread Gonzalo Odiard
Maybe you should git add parse.py?

Gonzalo

On Wed, May 23, 2012 at 1:05 PM, Manuel Kaufmann  wrote:

> Added HTML files to the bundle so this content can be opened with Browse
> Activity. The old dita/ditamap files are not removed because they are
> parsed to
> generate the new HTML files.
>
> Besides, the HTML generation uses these dita files to not be too aggressive
> with the code in this cycle. We will improve this code in the future and we
> will remove completely the dita generation.
>
> Signed-off-by: Manuel Kaufmann 
> ---
>  xol.py |7 ++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/xol.py b/xol.py
> index b5aa1df..6b2a34f 100644
> --- a/xol.py
> +++ b/xol.py
> @@ -19,6 +19,7 @@ import gtk
>  import zipfile
>  import uuid
>  import logging
> +import parse
>  from glob import glob
>  from gettext import gettext as _
>
> @@ -152,6 +153,8 @@ def _dita_management(zip, uid, title):
> 'href="ditastylesheet.xsl"?>')
> zipstr(zip, os.path.join(uid, 'slicecontent', '%s.dita' % auid),
> content.prettify())
> +zipstr(zip, os.path.join(uid, 'slicecontent', '%s.html' % auid),
> +parse.parse_dita(content.prettify()))
>
> map.append('' % (auid,
> atitle))
> map.append('')
> @@ -159,12 +162,14 @@ def _dita_management(zip, uid, title):
> map.append('')
> zipstr(zip, os.path.join(uid, 'slicecontent', 'librarymap.ditamap'),
> "\n".join(map))
> +zipstr(zip, os.path.join(uid, 'slicecontent', 'librarymap.html'),
> +parse.parse_ditamap("\n".join(map)))
>
>  def _index_redirect(zip, uid):
> """
> Creates the redirecting index.html
> """
> -redirect_loc = 'slicecontent/librarymap.ditamap'
> +redirect_loc = 'slicecontent/librarymap.html'
>
> html = [' Transitional//EN">',\
> '',\
> --
> 1.7.10
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [PATCH InfoSlicer] Export content as HTML SL #3608

2012-05-23 Thread Manuel Kaufmann
Added HTML files to the bundle so this content can be opened with Browse
Activity. The old dita/ditamap files are not removed because they are parsed to
generate the new HTML files.

Besides, the HTML generation uses these dita files to not be too aggressive
with the code in this cycle. We will improve this code in the future and we
will remove completely the dita generation.

Signed-off-by: Manuel Kaufmann 
---
 xol.py |7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/xol.py b/xol.py
index b5aa1df..6b2a34f 100644
--- a/xol.py
+++ b/xol.py
@@ -19,6 +19,7 @@ import gtk
 import zipfile
 import uuid
 import logging
+import parse
 from glob import glob
 from gettext import gettext as _
 
@@ -152,6 +153,8 @@ def _dita_management(zip, uid, title):
 'href="ditastylesheet.xsl"?>')
 zipstr(zip, os.path.join(uid, 'slicecontent', '%s.dita' % auid),
 content.prettify())
+zipstr(zip, os.path.join(uid, 'slicecontent', '%s.html' % auid),
+parse.parse_dita(content.prettify()))
 
 map.append('' % (auid, atitle))
 map.append('')
@@ -159,12 +162,14 @@ def _dita_management(zip, uid, title):
 map.append('')
 zipstr(zip, os.path.join(uid, 'slicecontent', 'librarymap.ditamap'),
 "\n".join(map))
+zipstr(zip, os.path.join(uid, 'slicecontent', 'librarymap.html'),
+parse.parse_ditamap("\n".join(map)))
 
 def _index_redirect(zip, uid):
 """
 Creates the redirecting index.html
 """
-redirect_loc = 'slicecontent/librarymap.ditamap'
+redirect_loc = 'slicecontent/librarymap.html'
 
 html = ['',\
 '',\
-- 
1.7.10

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Wanting to know a bit of (NetworkManager) workflow upon resume-from-suspend

2012-05-23 Thread Ajay Garg
Hi all.

Here is the latest update.

We got the following two patches tested by Ceibal ::


a)
0001-TEST-See-if-this-works-for-the-mesh-issue-on-signed-.patch

This patch, adds "/etc/modprobe.d/libertas.conf" to the initramfs image
(unarchiving, adding and archiving during OOB stage).
Unfortunately, this does not seem to work.

We could debug it more, but I fear that that would inevitably mean
modifying the initramfs a fair bit. Since, we are talking at the kernel
level, modifying initramfs even a bit too much, would require exponential
more testing.

Lucking, we have a simple, clean, understood and guaranteed-to-work
solution.




b)
0001-olpc-configure-Reloading-libertas-and-dependent-usb8.patch

(As already stated in earlier mails) This patch reloads the libertas (and
the dependent usb8xxx driver) during intial boot, which mounts the
secondary-storage-based-filesystem. This time, the rules from
/etc/modprobe.d/* are read, and the mesh is appropriately disabled via the
"libertas_disablemesh" KLM parameter.

So, it would be good if this is included upstream.


For brevity, I am re-attaching the two patches.


Thanks and Regards,
Ajay


0001-TEST-See-if-this-works-for-the-mesh-issue-on-signed-.patch
Description: Binary data


0001-olpc-configure-Reloading-libertas-and-dependent-usb8.patch
Description: Binary data
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel