[Sugar-devel] Gst crash in sugar-build

2012-09-21 Thread Gonzalo Odiard
There are a problem with actual sugar-build when try to create a gst audiosink. If you try to use text to speech, sugar crash (bt here [1]) In Read is not crashing, but the activity does not start with a epub or text file because try to init the tts code) I am looking at Read code, because is a

[Sugar-devel] [PATCH sugar-artwork] Add the filename of last three added icons to the Makefile, so they actually get installed

2012-09-21 Thread Manuel Quiñones
And put a large sign in my desktop to always do this when adding a file. Signed-off-by: Manuel Quiñones ma...@laptop.org --- icons/scalable/actions/Makefile.am | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/icons/scalable/actions/Makefile.am

Re: [Sugar-devel] [PATCH sugar-artwork] Add the filename of last three added icons to the Makefile, so they actually get installed

2012-09-21 Thread Simon Schampijer
On 09/21/2012 03:00 PM, Manuel Quiñones wrote: And put a large sign in my desktop to always do this when adding a file. Signed-off-by: Manuel Quiñones ma...@laptop.org Acked. Simon --- icons/scalable/actions/Makefile.am | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff

Re: [Sugar-devel] [PATCH shell 2/2] Journal details view, fix get_text method in text buffers - SL #3920

2012-09-21 Thread Simon Schampijer
On 09/21/2012 07:38 AM, Manuel Quiñones wrote: Gtk.TextBuffer.get_text() needs new parameter include_hidden_chars, setting it to False the given text excludes undisplayed text (text marked with tags that set the invisibility attribute) [1] Sounds good. [1]

Re: [Sugar-devel] [PATCH shell 1/2] Fix realize callback in ViewSource

2012-09-21 Thread Simon Schampijer
On 09/21/2012 07:38 AM, Manuel Quiñones wrote: Gtk.Widget does not have window property anymore, use get_window() Signed-off-by: Manuel Quiñones ma...@laptop.org Yes, good to push. Please grep the source if we missed any more of those. Thanks, Simon --- src/jarabe/view/viewsource.py

Re: [Sugar-devel] Gst crash in sugar-build

2012-09-21 Thread Gonzalo Odiard
A simple test-case http://dev.laptop.org/~gonzalo/simple_tts3.py Works out of sugar-build, but crash if run in a terminal after doing make shell or in the sugar terminal. Gonzalo On Fri, Sep 21, 2012 at 9:29 AM, Gonzalo Odiard gonz...@laptop.org wrote: There are a problem with actual

[Sugar-devel] [ASLO] Release Implode-15

2012-09-21 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4086 Sugar Platform: 0.98 - 0.98 Download Now: http://activities.sugarlabs.org/downloads/file/28226/implode-15.xo Release notes: - Use the help icon provided by sugar-artwork since 0.97.0 - Move Help button according to Design

Re: [Sugar-devel] [PATCH shell 2/2] Journal details view, fix get_text method in text buffers - SL #3920

2012-09-21 Thread Manuel Quiñones
2012/9/21 Simon Schampijer si...@schampijer.de: On 09/21/2012 07:38 AM, Manuel Quiñones wrote: Gtk.TextBuffer.get_text() needs new parameter include_hidden_chars, setting it to False the given text excludes undisplayed text (text marked with tags that set the invisibility attribute) [1]

[Sugar-devel] [PATCH 5/7] indexstore: exit on _flush() errors, work on tmpdir

2012-09-21 Thread Martin Langhoff
Preparations for better index management. - open_index() now can place the index on a temporary location (ie: a tmpfs when low on diskspace or at ENOSPC) - don't set index_updated flag when on a temporary location - exit the process when hitting an error in _flush(). This is

Re: [Sugar-devel] [PATCH 0/7] datastore: handle ENOSPC gracefully

2012-09-21 Thread Martin Langhoff
On Thu, Sep 20, 2012 at 11:55 PM, Martin Langhoff mar...@laptop.org wrote: In conditions of very low disk space available, or ENOSPC, the datastore misbehaves grossly: Reviews are boring. Testing is more fun! rpms for ARM at http://dev.laptop.org/~martin/ds-enospc/ How to test: - Set

Re: [Sugar-devel] [PATCH 3/7] metadatastore: store/change files on disk defensively #2317

2012-09-21 Thread Martin Langhoff
On Thu, Sep 20, 2012 at 11:55 PM, Martin Langhoff mar...@laptop.org wrote: -f = open(os.path.join(metadata_path, key), 'w') -try: -if isinstance(value, unicode): -value = value.encode('utf-8') -elif not

[Sugar-devel] [ASLO] Release Image Thumbnail-7

2012-09-21 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4601 Sugar Platform: 0.82 - 0.94 Download Now: http://activities.sugarlabs.org/downloads/file/28227/image_thumbnail-7.xo Release notes: First ASLO version of Image Thumbnail activity (Gtk2 version) Sugar Labs Activities

[Sugar-devel] [PATCH 7/7] datastore: handle low-disk and ENOSPC conditions gracefully

2012-09-21 Thread Martin Langhoff
With this commit, the datastore comes up even on ENOSPC and very tight disk conditions, and allows entry deletions even when at ENOSPC. - Be conservative - ds or index flags are dirty - rebuild - less than 5MB available - rebuild - migrated or upgraded - rebuild - Only skip an index

[Sugar-devel] [PATCH v2 Browse] Busy indication SL #851

2012-09-21 Thread Manuel Kaufmann
Show WATCH Cursor when the page is loading and LEFT_PTR when the load finishes. This changes take in consideration the tab that the user is watching, so the cursor refers to the state of the current browser / tab. Signed-off-by: Manuel Kaufmann humi...@gmail.com --- browser.py | 21

Re: [Sugar-devel] [PATCH Browse] Error page SL #3500

2012-09-21 Thread Manuel Kaufmann
On Wed, Sep 19, 2012 at 10:56 PM, Martin Langhoff martin.langh...@gmail.com wrote: You have the file on-disk. It is inefficient to base64-encode it. I'm not sure to understand what you are saying here. I'm not doing this each time the function is called. Here, I just showed what I did to get the

Re: [Sugar-devel] [PATCH Browse] Error page SL #3500

2012-09-21 Thread Martin Langhoff
On Fri, Sep 21, 2012 at 6:56 PM, Manuel Kaufmann humi...@gmail.com wrote: I'm not sure to understand what you are saying here. I'm not doing this each time the function is called. Here, I just showed what I did to get the base64 file encoded. I mean, I did this just once and I put the result

[Sugar-devel] [PATCH Browse] Change back/forward navigation shortcut to Alt modifier SL #3536

2012-09-21 Thread Manuel Kaufmann
Signed-off-by: Manuel Quiñones ma...@laptop.org Signed-off-by: Manuel Kaufmann humi...@gmail.com --- webactivity.py | 14 -- webtoolbar.py | 2 ++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/webactivity.py b/webactivity.py index 24f3b44..e911337 100644 ---

Re: [Sugar-devel] [PATCH Browse] Error page SL #3500

2012-09-21 Thread James Cameron
It is the conversion back to binary from base64 that kicks my alarms. This will be done by the browser. If there was a binary encoding, use it rather than an external file. For small images that would require another HTTP GET over the network, that's where this technique can certainly save time.