Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-29 Thread Daniel Drake
On 29 November 2010 03:06, Bernie Innocenti ber...@codewiz.org wrote: If the size were only needed at download time, then there would be no need to perform a separate query: the size is already present in Content-Length header. I think Anish wants to know the size beforehand to show it in the

Re: [Sugar-devel] Bundle format

2010-11-29 Thread Simon Schampijer
On 11/23/2010 01:47 PM, Walter Bender wrote: On Tue, Nov 23, 2010 at 6:50 AM, Bert Freudenbergb...@freudenbergs.de wrote: On 23.11.2010, at 05:07, Bernie Innocenti wrote: On Mon, 2010-11-22 at 10:53 -0500, C. Scott Ananian wrote: (oh, and the .zip file already has a checksum, it's not

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-29 Thread Simon Schampijer
On 11/20/2010 06:59 AM, Anish Mangal wrote: Hi, I'm in process of developing an updater for sugar that reads urls (for example [1]) which contain information in a format compliant with the 'activity microformat specification' [2]. Hi Anish, so this would basically mean that the microformat

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-29 Thread Anish Mangal
On Mon, Nov 29, 2010 at 1:48 PM, Daniel Drake d...@laptop.org wrote: On 29 November 2010 03:06, Bernie Innocenti ber...@codewiz.org wrote: If the size were only needed at download time, then there would be no need to perform a separate query: the size is already present in Content-Length

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-29 Thread Anish Mangal
On Mon, Nov 29, 2010 at 2:45 PM, Simon Schampijer si...@schampijer.dewrote: On 11/20/2010 06:59 AM, Anish Mangal wrote: Hi, I'm in process of developing an updater for sugar that reads urls (for example [1]) which contain information in a format compliant with the 'activity microformat

Re: [Sugar-devel] [PATCH] Feature Request added : Kill the Mute function by clicking on the speaker icon.

2010-11-29 Thread Simon Schampijer
On 11/28/2010 11:11 AM, Gary Martin wrote: On 27 Nov 2010, at 20:41, Sascha Silbesascha-ml-reply-to-201...@silbe.org wrote: Excerpts from shanjit's message of Sat Nov 13 13:08:14 +0100 2010: diff --git a/extensions/deviceicon/speaker.py b/extensions/deviceicon/speaker.py index

Re: [Sugar-devel] [PATCH sugar-toolkit] XoColor: don't choke if passed the wrong type (SL#1408)

2010-11-29 Thread Simon Schampijer
On 10/17/2010 12:09 PM, Sascha Silbe wrote: Color data is stored in the Journal as a JSON dump, so we can get back arbitrary types. XoColor already checks the color string for validity and handles invalid strings gracefully, so it makes sense to enhance this to invalid types as well.

Re: [Sugar-devel] detecting read_file

2010-11-29 Thread Gary Martin
Hi Erik, On 28 Nov 2010, at 23:25, Erik Blankinship er...@mediamods.com wrote: It appears read_file is not called when launching a new activity, and is called when resuming an old activity. Yep. When launching a new activity, is there something I can listen for or detect which tells me

Re: [Sugar-devel] [PATCH] Workaround to Python 2.7 regression in locale.format(): it disallows trailing text after the format specifier.

2010-11-29 Thread Simon Schampijer
On 11/26/2010 04:40 PM, Walter Bender wrote: On Fri, Nov 26, 2010 at 10:06 AM, Simon Schampijersi...@schampijer.de wrote: Thanks Walter for this patch. By reading here: http://www.gossamer-threads.com/lists/python/bugs/875810 and https://bugs.launchpad.net/update-manager/+bug/673297 you

Re: [Sugar-devel] Nice Write activity improvements

2010-11-29 Thread Gary Martin
Hi Gonzalo, [adding in Sugar Devel] On 29 Nov 2010, at 10:57, Gonzalo Odiard gonz...@laptop.org wrote: Hi Gary, I was talking with Martin Sevior about adding comments support in Write. He says: -- Forwarded message -- From: Gonzalo Odiard gonz...@laptop.org Date: Sat,

Re: [Sugar-devel] [PATCH] make 'setup.py genpot' produce a pot without a full path in filenames #2508

2010-11-29 Thread Simon Schampijer
On 11/27/2010 07:13 PM, Sascha Silbe wrote: Excerpts from Simon Schampijer's message of Fri Nov 26 16:22:52 +0100 2010: [src/sugar/activity/bundlebuilder.py] @@ -362,7 +362,7 @@ def cmd_genpot(config, args): for root, dirs_dummy, files in os.walk(config.source_dir): for

Re: [Sugar-devel] automatically naming incremental sugar activity instances

2010-11-29 Thread Aleksey Lim
On Sun, Nov 28, 2010 at 06:38:58PM -0500, Erik Blankinship wrote: If you wanted to [attempt to] automatically name new sugar activity instances incrementally, what is the best technique to do this? The solution I've come up with (not implemented, and not sure it can be implemented): scan the

Re: [Sugar-devel] [PATCH] Share Journal entries over external devices #1636

2010-11-29 Thread Simon Schampijer
On 11/26/2010 04:33 PM, Sascha Silbe wrote: Excerpts from simon's message of Thu Nov 25 10:51:16 +0100 2010: metadata and preview of an entry are stored in hidden files. For example when copying an entry homework.pdf to the device a file called .homework.pdf.metadata and .homework.pdf.preview

Re: [Sugar-devel] [PATCH sugar] don't delete bundles on storage media (SL #2456)

2010-11-29 Thread Simon Schampijer
On 10/17/2010 12:51 PM, Sascha Silbe wrote: model.get_file() already wraps data store checkouts in TempFilePath. Because misc.get_bundle() unconditionally wrapped the path returned by model.get_file() in TempFilePath as well, bundles located on storage media (which are referenced by their actual

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-29 Thread Simon Schampijer
On 11/29/2010 10:17 AM, Anish Mangal wrote: On Mon, Nov 29, 2010 at 2:45 PM, Simon Schampijersi...@schampijer.dewrote: On 11/20/2010 06:59 AM, Anish Mangal wrote: Hi, I'm in process of developing an updater for sugar that reads urls (for example [1]) which contain information in a format

Re: [Sugar-devel] [PATCH sugar] Journal details view: don't choke on invalid timestamp (SL#1590, SL#2208)

2010-11-29 Thread Simon Schampijer
On 10/17/2010 12:04 PM, Sascha Silbe wrote: Metadata can get corrupted by crashes or malformed by buggy activities. We should do our best to display the parts that are usable. Signed-off-by: Sascha Silbesascha-...@silbe.org Acked-by: Simon Schampijer si...@schampijer.de Looks fine - as we

Re: [Sugar-devel] [PATCH sugar] Journal list view: don't choke on invalid or incomplete metadata (SL#1408)

2010-11-29 Thread Simon Schampijer
On 10/17/2010 11:56 AM, Sascha Silbe wrote: Metadata can get corrupted by crashes or malformed by buggy activities. We should do our best to display the parts that are usable and certainly never mess up the entire Journal. Signed-off-by: Sascha Silbesascha-...@silbe.org Good work. Only

Re: [Sugar-devel] [ANNOUNCE] Multi-lingual IRC chat

2010-11-29 Thread Walter Bender
On Sun, Nov 28, 2010 at 10:32 PM, Aleksey Lim alsr...@member.fsf.org wrote: Hi all, There are a couple of new features in multi-lingual support that might be useful to chat with different language speaking people [1]. * Keep some parts of IRC post untranslated, i.e., verbatim passing some  

[Sugar-devel] election results

2010-11-29 Thread Walter Bender
I am happy to report that Chirs Ball, Adam Holt, Aleksey Lim, and Sebastian Silva will be joining Bernie Innocente, Mel Chua, and me as new and returning members of the Sugar Oversight Board. Congratulation and thank you to our wonderful candidates and to all of the community members who took the

Re: [Sugar-devel] election results

2010-11-29 Thread Luke Faraone
On 11/29/2010 09:27 AM, Walter Bender wrote: I am happy to report that Chirs Ball, Adam Holt, Aleksey Lim, and Sebastian Silva will be joining Bernie Innocente, Mel Chua, and me as new and returning members of the Sugar Oversight Board. The full results list, from most to least preferred, is

[Sugar-devel] Problem developing app

2010-11-29 Thread Rodrigo
Hi, this is my first post so let me introduce me: I'm Rodrigo Pérez, from Uruguay; I'm developer and currently I'm working in XO apps. I haven't uploaded any of them, because there aren't finished yet. The problem currently stops me is the next: I'm trying my app after the correspondent /setup.py

Re: [Sugar-devel] Sugar Labs election results

2010-11-29 Thread Holt
Now the work begins, thanks Walter Luke for running this important election! Please all send mail to olpcmapmakers+subscr...@googlegroups.com if you wish to join to the global volunteer effort Dec 27-31 to visually map SUGAR/OLPC deployment accomplishment + volunteer-opportunity everywhere!

Re: [Sugar-devel] Problem developing app

2010-11-29 Thread Gary Martin
Hi Rodrigo, On 29 Nov 2010, at 15:03, Rodrigo rodr...@gmail.com wrote: Hi, this is my first post so let me introduce me: I'm Rodrigo Pérez, from Uruguay; I'm developer and currently I'm working in XO apps. Welcome! I haven't uploaded any of them, because there aren't finished yet. The

Re: [Sugar-devel] election results

2010-11-29 Thread Sebastian Silva
(castellano abajo) I wanted to thank the whole community for the vote of confidence and publicly congratulate Chris Ball, Adam Holt and Aleksey Lim and share my enthusiasm for representing us in the Oversight Board meetings. I remind everyone that these meetings are public:

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-29 Thread Daniel Drake
On 29 November 2010 09:16, Anish Mangal anishmangal2...@gmail.com wrote: In my little testing experience, this takes a lot more than 1-2 seconds for a group of activities (such as this [1]). But the only case in which you'd have to run so many queries would be when you have *none* of those

Re: [Sugar-devel] Problem with gstreamer espeak plugin

2010-11-29 Thread Aleksey Lim
On Sat, Nov 27, 2010 at 10:25:23PM +, James Simmons wrote: Aleksey, I recently tried to use text to speech on a French file with Read Etexts and it behave really strangely. When speaking a page the highlight jumps ahead of the word being spoken. Speech works fine, it's just the

[Sugar-devel] [ANNOUNCE] sugar-jhbuild: Ubuntu Jaunty (9.04) support dropped

2010-11-29 Thread Sascha Silbe
Hi! Ubuntu Jaunty (9.04) reached end-of-life on 2010-10-23 [1], so we now dropped it from sugar-jhbuild. The only Ubuntu version that's still supported is Karmic (9.10). All more recent versions lack at least one important package. Sascha [1]

[Sugar-devel] [ANNOUNCE] sugar-jhbuild: GConf-dbus dropped, manual action required

2010-11-29 Thread Sascha Silbe
Hi! I finally removed GConf-dbus from sugar-jhbuild. This means the SUGAR_PROFILE feature to run multiple instances of Sugar simultaneously from the same user account no longer works. If you want to run Sugar multiple times for testing Collaboration, you now need to use several different user

Re: [Sugar-devel] [ANNOUNCE] sugar-jhbuild: GConf-dbus dropped, manual action required

2010-11-29 Thread James Simmons
Sascha, When I wrote the chapter in Make Your Own Sugar Activities! on making shared Activities I made the observation that SUGAR_PROFILE worked on Fedora 10 (Sugar .82) but not at all on later versions, all of which required you to test with multiple user accounts on the box. Someone from this

Re: [Sugar-devel] Bundle format

2010-11-29 Thread C. Scott Ananian
On Mon, Nov 22, 2010 at 11:07 PM, Bernie Innocenti ber...@codewiz.org wrote: On Mon, 2010-11-22 at 10:53 -0500, C. Scott Ananian wrote: (oh, and the .zip file already has a checksum, it's not clear why you'd need another one.) Ah, cool... but I guess it's not a cryptographically secure one,

[Sugar-devel] [PATCH] fix journal scan of external media, dev.laptop.org #10140

2010-11-29 Thread James Cameron
Update the progress bar regularly and prevent the UI from stalling during a scan. Avoid following recursive symlinks, and symlinks that point outside the filesystem being scanned. Do not check for MIME type if file is excluded for other filter reasons. Do not report permission denied errors.

Re: [Sugar-devel] [PATCH] fix journal scan of external media, dev.laptop.org #10140

2010-11-29 Thread James Cameron
This patch was proposed on 14th September and there was no response. -- 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] [PATCH sugar-0.84] fix journal scan of external media, dev.laptop.org #10140

2010-11-29 Thread James Cameron
Update the progress bar regularly and prevent the UI from stalling during a scan. Avoid following recursive symlinks, and symlinks that point outside the filesystem being scanned. Do not check for MIME type if file is excluded for other filter reasons. Do not report permission denied errors.

Re: [Sugar-devel] [PATCH sugar-0.84] fix journal scan of external media, dev.laptop.org #10140

2010-11-29 Thread James Cameron
This patch was proposed on 14th September and there was no response. -- 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] automatically naming incremental sugar activity instances

2010-11-29 Thread Erik Blankinship
Thank you for the thoughtful response. Could you please remind me where my activity's persistant storage can be accessed? On Mon, Nov 29, 2010 at 7:34 AM, Aleksey Lim alsr...@member.fsf.org wrote: On Sun, Nov 28, 2010 at 06:38:58PM -0500, Erik Blankinship wrote: If you wanted to [attempt

[Sugar-devel] [PATCH] FEATURE REQUEST : Write_to_journal_anytime

2010-11-29 Thread anubhav
From: Anubhav Aggarwal anub...@seeta.in Now an icon is added in the palletes which calls a popup to enter the name decscription and tags , this popup earlier came only at the closing of the activity (http://wiki.sugarlabs.org/go/Features/Write_to_journal_anytime) --- src/jarabe/model/shell.py

[Sugar-devel] [PATCH] FEATURE REQUEST : Write_to_journal_anytime

2010-11-29 Thread anubhav
From: Anubhav Aggarwal anub...@seeta.in Now an icon is added in the palletes which calls a popup to enter the name decscription and tags , this popup earlier came only at the closing of the activity (http://wiki.sugarlabs.org/go/Features/Write_to_journal_anytime) ---

Re: [Sugar-devel] automatically naming incremental sugar activity instances

2010-11-29 Thread Walter Bender
On Tue, Nov 30, 2010 at 12:21 AM, Erik Blankinship er...@mediamods.com wrote: Thank you for the thoughtful response.   Could you please remind me where my activity's persistant storage can be accessed? os.path.join(activity.get_activity_root(), 'data') -walter On Mon, Nov 29, 2010 at 7:34

Re: [Sugar-devel] [PATCH] FEATURE REQUEST : Write_to_journal_anytime

2010-11-29 Thread Walter Bender
I haven't done a thorough review of your patch yet, but the problem with the approach is that it adds another button to the toolbar. This may cause the toolbar of some activities to be overloaded. There is a tentative plan to remove the Keep Button, in which case we may be OK. There is also a

Re: [Sugar-devel] [DESIGN] Extending activity microformat spec to include optional olpc_activity_size

2010-11-29 Thread Bernie Innocenti
On Mon, 2010-11-29 at 08:18 +, Daniel Drake wrote: OK. If it's really important to save 1-2 seconds of update time From Paraguay it was more like 1-2 seconds per activity. (on a download thats then going to take probably more than a minute, perhaps substantially more) I'd suggest just