Using the new syntax for Gst.Caps we avoid Gst's WARNING message in
the log.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
glive.py | 18 +++---
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/glive.py b/glive.py
index 5d78bbe..d39e292 100644
--- a/glive.py
On Mon, Dec 17, 2012 at 6:49 PM, Simon Schampijer si...@schampijer.de wrote:
The 2 points for KaufmannQuiñones 1 for Garnacho release.
Yeah! We are closer of getting the ticket to Germany :)
Congratulation to all the team involved on this!
--
Kaufmann Manuel
-- http://mkaufmann.com.ar
Hi Daniel,
On Sun, Dec 16, 2012 at 3:41 PM, Gary Martin garycmar...@googlemail.com wrote:
This is a release of Clock-12 to fix #4079 (broken speech) for landing in the
13.1.0 release (thanks go to Humitos for the patch).
Can we include this version of Clock?. It solves a really good feature
On Mon, Dec 10, 2012 at 4:09 PM, Ajay Garg a...@activitycentral.com wrote:
Thus, now as the solution, we write the icon-files (maximum of one file per
activity) at ~/.sugar/default/icon_files. Now, the icons are rendered
correctly then.
I didn't check the patch yet, but I don't see anything
On Fri, Dec 7, 2012 at 8:48 PM, Daniel Narvaez dwnarv...@gmail.com wrote:
Link to the test case (tree.py is an helper that I'm trying to integrated in
toolkit)
Good! This is really useful. I was playing with it yesterday and I found it fun!
Another utility that I found useful is this one:
On Mon, Nov 26, 2012 at 6:08 PM, Daniel Narvaez dwnarv...@gmail.com wrote:
* make build only build the sources
build just builds!
* make pull only pulls the sources
pull just pulls!
* make check the system, pull the sources and builds them. (which is
what make build was doing before)
...
On Tue, Nov 27, 2012 at 4:55 PM, Simon Schampijer si...@schampijer.de wrote:
Meh...
The boring release with no funny summary
;-)
--
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
Hi,
Sometime ago I used to run:
make build-sugar-artwork
to just re-compile sugar-artwork. Nowadays that is not more possible.
Any clue here?
Another issue is that I was able to set -j 8 to make and use more
than one CPU to compile all sources. Is there any way to do that in
the current
On Mon, Nov 26, 2012 at 3:06 PM, Daniel Narvaez dwnarv...@gmail.com wrote:
can you explain how you are using it exactly? I didn't readd it when I
rewrote things because I was not very clear on the use case (I
normally just make; make install stuff inside a shell).
$ make build-sugar - just
On Mon, Nov 26, 2012 at 3:59 PM, Daniel Narvaez dwnarv...@gmail.com wrote:
But did you use it to build your own changes or changes someone made
to the repo? Or both?
I'm not sure if I used it for both.
I used it before knowing auto-install. I mean, I made a change on
some .py file and I ran
On Sat, Nov 24, 2012 at 6:34 PM, RJV jv.ravichand...@gmail.com wrote:
It will be great fun if both the mazes were the same and both players could
play on the same maze, racing against each other, as in the single XO,
multi-players scenario!
It does really work in that way in Maze-22. I worked
On Fri, Nov 16, 2012 at 2:10 PM, Daniel Narvaez dwnarv...@gmail.com wrote:
in the last couple of weeks I worked a lot on sugar-build and made a
bunch of improvements:
Well! You are doing a really good work! Congratulations and thanks for that!
--
Kaufmann Manuel
Blog:
On Wed, Nov 14, 2012 at 9:22 AM, Gonzalo Odiard gonz...@laptop.org wrote:
-InfoSlicer.activity/activity/activity.info
Done.
http://git.sugarlabs.org/infoslicer/mainline/commit/142d6f43c28e2eb5364c9c93fedd91b15ec0dbad
Thank you for this email.
--
Kaufmann Manuel
Blog:
On Sun, Nov 11, 2012 at 11:41 AM, Ariel Calzada
ar...@activitycentral.com wrote:
I would like to know if there's a way to make Browse activity use PROXY
SETTINGS. I tried configuring proxy settings in My settings/Network with
no luck.
I think we have to modify Browse to make this possible. I
On Sat, Nov 10, 2012 at 7:51 AM, Simon Schampijer si...@schampijer.de wrote:
The one step closer to collaboration release.
Well! That's really good!
What is missing to say that collaboration is working properly?
Yesterday, I worked on Maze Collaboration[1] on os9 and os10 with the
sugar version
On Mon, Nov 5, 2012 at 8:55 AM, Daniel Narvaez dwnarv...@gmail.com wrote:
Also would be nice to update pygobject and others, and use them from
packages now that there are for both Fedora and Ubuntu.
Are these packaged for Fedora 17? We don't have support for Fedora 18
in sugar-build yet but
When the user starts a new instance of Read the 'No book' message is
shown with a button to 'Choose a book' that opens the Object Chooser.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
emptypanel.py | 45 +
icons/activity-read.svg | 11
When the user starts a new instance of Jukebox the 'No media' message
is shown with a button to 'Choose media files' that opens the Object
Chooser.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
emptypanel.py | 45 +
icons/activity
On Thu, Nov 1, 2012 at 4:43 PM, Ariel Calzada ariel.calz...@gmail.com wrote:
Image: http://build.laptop.org/13.1.0/os8/xo-1.75/
Jukebox Activity Version: 28
I've just test using these versions and I had no problem. The audio is
not so good, but that is a known issue on 1.75.
I downloaded the
]
http://developer.gnome.org/gtk/2.24/GtkSettings.html#GtkSettings--gtk-primary-button-warps-slider
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
src/sugar3/activity/activity.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/sugar3/activity/activity.py b/src/sugar3/activity
]
http://developer.gnome.org/gtk/2.24/GtkSettings.html#GtkSettings--gtk-primary-button-warps-slider
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
bin/sugar-session | 4
1 file changed, 4 insertions(+)
diff --git a/bin/sugar-session b/bin/sugar-session
index 23f88a1..5911052 100755
On Fri, Nov 2, 2012 at 8:16 PM, Manuel Kaufmann humi...@gmail.com wrote:
The default value of 'gtk-primary-button-warps-slider' in Gtk3 is
True[1] and in gtk2 is False[2]. So, this patch sets that property to False
to keep the same behaviour we had before.
This patch works properly but, please
Hello,
I'm sending the patch attached because after an update git send-mail
is not more available (now, there is a subcommand called send-bugzilla
:( )
Cheers,
--
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
Hello,
I found this bug while I was testing SL #3934 [1]. The patch that
fixes this is attached.
Cheers,
[1] http://bugs.sugarlabs.org/ticket/3934
--
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
Cairo.Context.arc needs the angle in radians instead of degrees. Give
it as 360 (radians) was taking up to 8 seconds to draw the eyes.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
eye.py | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/eye.py b/eye.py
index
Hello,
I took a look at this issue[1] and I found that it's not possible to
get the espeak gstreamer element on 13.1.0 os7 using gst 0.10 but
it's available using Gst 1.0 (from gi.repository import Gst). However,
there is no package called something like gstreamer1-plugins-espeak
installed but
On Wed, Oct 24, 2012 at 3:28 PM, Peter Robinson pbrobin...@gmail.com wrote:
the version in 13.1.0 is for gst1 and built against it.
so, there is no way to have both of them, right? I mean, espeak for
0.10 and for 1.0.
--
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio:
On Wed, Oct 24, 2012 at 3:46 PM, Peter Robinson pbrobin...@gmail.com wrote:
Possibly, it was my understanding that we were moving to gst1 for the
activities that use it.
Yes, we are moving on that way. Actually, Speak is already ported to
Gtk3 and Gst 1.0 but it doesn't work on 13.1.0 (same
On Wed, Oct 24, 2012 at 4:01 PM, Peter Robinson pbrobin...@gmail.com wrote:
use rpm to remove the currently installed one and then grab the old
one from koji and install it manually.
Great! Thanks
I used (on XO-1.5 13.1.0 os7):
sudo rpm -e --nodeps gstreamer-plugins-espeak
wget
-off-by: Manuel Kaufmann humi...@gmail.com
---
ImageView.py | 113 ++---
ImageViewerActivity.py | 4 +-
2 files changed, 82 insertions(+), 35 deletions(-)
diff --git a/ImageView.py b/ImageView.py
index 30b19ac..cbc5516 100644
On Thu, Oct 11, 2012 at 10:46 AM, Ajay Garg a...@activitycentral.com wrote:
a)
Is there a way to NOT run sugar-build in fullscreen? If yes, then we could
simply kill the process by clicking on x icon in the process window of
sugar-build.
A quick reply. Take a look at this link. That is what
it looks for all the .goutputstream files in the
instance directory and checks its mtime. If it greater than 1 day or
it was created before we booted, Browse removes the old temporary
file.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
webactivity.py | 38
On Mon, Oct 8, 2012 at 3:51 AM, Barry Newell barry.new...@anu.edu.au wrote:
Congratulations to All!
Thanks! I'm very happy that you liked our work. It's mutual, we like yours :)
The effort that you and your colleagues have put into this project, and the
high quality of the end result, have
On Fri, Oct 5, 2012 at 12:41 AM, Gonzalo Odiard godi...@sugarlabs.org wrote:
The best we can do is provide a coherent order.
Alphabetical using the localized numbers and the same order than in the list
view,
is the best in my opinion.
I was about to suggest that maybe we can sort the
Previously an empty widget and a videowidget were packed and removed
from a container, but there are problems with the video widget not
ready when the player want start at times.
Signed-off-by: Gonzalo Odiard gonz...@laptop.org
Signed-off-by: Manuel Kaufmann humi...@gmail.com
Without this filter the performance to reproduce videos is great and
in audio files the visualization performance is improved as well. The
only consequense is the text (artist, track, etc) is rendered without
antialiasing.
Signed-off-by: Gonzalo Odiard gonz...@laptop.org
Signed-off-by: Manuel
' player.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
jukeboxactivity.py | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/jukeboxactivity.py b/jukeboxactivity.py
index 11e1331..5c02d23 100644
--- a/jukeboxactivity.py
+++ b/jukeboxactivity.py
@@ -698,7 +698,13
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
jukeboxactivity.py | 20 +---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/jukeboxactivity.py b/jukeboxactivity.py
index 45bb333..97c2de4 100644
--- a/jukeboxactivity.py
+++ b/jukeboxactivity.py
@@ -101,6
firstly
set the state of it to STATE_PAUSED, then to STATE_NULL and finally we
change the uri. When this process finishes we change the state again
to STATE_PLAYING.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
jukeboxactivity.py | 31 +--
1 file changed, 13
After the user adds the first stream to the playlist it is played
immediately and when a new stream is added, the first one is kept
playing.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
jukeboxactivity.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
I removed it because of performance. Jukebox was working too slow when
it was reproducing a video and it had to read the tag of the media
added to the playlist. So, we decided to remove this feature by the
moment.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
jukeboxactivity.py | 119
Useful guide:
* https://wiki.ubuntu.com/Novacut/GStreamer1.0
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
jukeboxactivity.py | 180 ++---
1 file changed, 90 insertions(+), 90 deletions(-)
diff --git a/jukeboxactivity.py b
On Thu, Oct 4, 2012 at 1:54 PM, Gary Martin garycmar...@googlemail.com wrote:
/me wonders if he dare mention this to Gonzalo as a solution for the same
issue in Read
Maybe we can design a widget for this and include it in
sugar-toolkit-gtk3 so we will have more consistency between
activities.
Hello people,
I've just sent 8 patches to the sugar-devel mailing list for Jukebox.
Seven of them are those ones that were applied to the sugar-0.98
(gtk2) branch that I ported to the master branch. The last one is
the port of gstreamer from 0.10 to 1.0.
Yesterday I was working a lot on Jukebox
On Wed, Oct 3, 2012 at 10:51 AM, Peter Robinson pbrobin...@gmail.com wrote:
Ultimately I'm sure we'd like to drop 0.10 if at all possible just so
we don't need to ship two copies and any of the deps that go with it.
I'm working on the port of Jukebox to Gst 1.0 and I have it quite
stable but
On Wed, Oct 3, 2012 at 12:08 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
Not at all. Ignoring the computer is not elegance.
OK. I will send a new version of this patch with all the things that
we were discussing.
--
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio:
Hello,
I'd like to comment that there are many Gst 1.0 plugin decoders that
are not built because of missing dependencies. I had to install
libmad-devel.x86_64 (on my F17) to be able to play MP3 files from
Jukebox.
Daniel, can be this package added as a dependency for sugar-build?
Cheers,
--
On Wed, Oct 3, 2012 at 6:08 PM, Peter Robinson pbrobin...@gmail.com wrote:
The advantage of gstreamer is you can add extra codecs easily by just
installing packages and without recompiling anything and the
functionality should just work without any changes in the application
so I'm not sure
On Mon, Oct 1, 2012 at 11:59 PM, Agustin Zubiaga Sanchez
a...@sugarlabs.org wrote:
Would be nice to have a touch example Activity.
What do you think?
Yes. I started a HelloTouchGestures some time ago when SugarGestures
weren't developed yet and I used a known algorithm to match gestures.
Do
On Tue, Oct 2, 2012 at 6:40 AM, Martin Langhoff
martin.langh...@gmail.com wrote:
Good, but not enough. Compare mtime also to our boot time (ie: now -
uptime). If the file is from before we booted, needs to be nuked.
You say that I should add this test as well, right? I mean, compare if
the file
it looks for all the .goutputstream files in the
instance directory and checks its mtime. If it greater than 1 day or
it was created before we booted, Browse removes the old temporary
file.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
webactivity.py | 38
On Tue, Oct 2, 2012 at 10:32 AM, Agustin Zubiaga Sanchez
a...@sugarlabs.org wrote:
Yes, I can help you but I don't have a touch XO, so I can't test it.
However, I could program it hypothetically, if you want (and you can), to
test my changes.
I can test your changes if you want but I think
On Tue, Oct 2, 2012 at 1:43 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
+except:
+logging.warning('/proc/uptime could not be read')
+uptime = None
Should I use EnvironmentError[1] here too?
Tiny optimization and elegance improvement: just calculate
On Fri, Sep 21, 2012 at 12:55 AM, Martin Langhoff mar...@laptop.org wrote:
Ignore any file with a filename starting with a '.' -- metadatastore
writes its tempfiles prefixed with a '.' .
This patch is OK for me.
Just a comment: this patch removes the possibility to have a property
named
it looks for all the .goutputstream files in the
instance directory and checks its mtime. If it greater than 1 day it
removes the old temporary file.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
webactivity.py | 29 +
1 file changed, 29 insertions(+)
diff --git
the
same page where the user clicked the link in the tab.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
browser.py | 6 ++
1 file changed, 6 insertions(+)
diff --git a/browser.py b/browser.py
index fb8a985..ccdf78c 100644
--- a/browser.py
+++ b/browser.py
@@ -653,6 +653,12 @@ class Browser
On Sat, Sep 29, 2012 at 6:00 PM, Gary Martin garycmar...@googlemail.com wrote:
So if the star is currently enabled (colorized) and you hover over it, you'll
first see the grey rounded rectangle outline, then if you click/press it you
will still see the grey rectangle outline and the star will
On Fri, Sep 21, 2012 at 12:55 AM, Martin Langhoff mar...@laptop.org wrote:
This gives us more complete coverage of cases where ENOSPC or
other errors are hit when creating/updating datastore entries.
I reviewed this patch and I think it's OK. I didn't test it because
I'm not sure how to
On Fri, Sep 21, 2012 at 12:55 AM, Martin Langhoff mar...@laptop.org wrote:
When operating close to ENOSPC, we sometimes end up with
incomplete or invalid on-disk entries. So we prune these
during index rebuild.
I took a look at this patch and it seems to be OK.
--
Kaufmann Manuel
Blog:
Hi,
I reviewed this patch and it seems to be OK for me.
The only thing that I do not understand well is this comment /
section. Can you explain to me this a bit more? Thanks
On Fri, Sep 21, 2012 at 12:55 AM, Martin Langhoff mar...@laptop.org wrote:
+# FIXME: this codepath handles raw
On Thu, Sep 20, 2012 at 12:34 PM, godi...@sugarlabs.org wrote:
+self._summary = None
+self._local_summary = None
Sorry to bother you, I have two questions:
* What each of these variable mean?
* What are the difference between them?
--
Kaufmann Manuel
Blog:
Hello,
I've just realize that there is no feedback on clicking on the star in
the List View to make it Favorite.
1. Go to Home View
2. Click on List View
3. Hover one the star of one no-favorite Activity
4. The star gets colorized
5. Click on it
6. Did I click?
Maybe we can use a 0.5
On Sat, Sep 29, 2012 at 3:52 PM, Gary Martin garycmar...@googlemail.com wrote:
I think my last suggestion was that we should be using the round grey
rectangle outline to show hover, press visual feedback (as we do in the Home
view for Activity icons, though this is currently broken after the
Hello,
I'm working on ImageViewer using SugarGestures.ZoomController and
SugarGestures.RotateController with the signals: angle-changed and
scale-changed.
I realized that those signals are trigged without a change on those
values. For example, if I simply touch the screen with two fingers and
do
On Fri, Sep 28, 2012 at 11:37 AM, Manuel Quiñones ma...@laptop.org wrote:
The Palettes are back, nice page for errors, and many more fixes release.
I'm very happy with this release. Thanks to manuq and gary for they help!
--
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio:
On Fri, Sep 28, 2012 at 11:19 AM, Walter Bender walter.ben...@gmail.com wrote:
+self._jobject.metadata['launch-times'] = '%s, %d' % (
+self._jobject.metadata['launch-times'],
+int(time.time()))
Another approach for this portion. Maybe
On Thu, Sep 27, 2012 at 11:25 AM, Martin Langhoff
martin.langh...@gmail.com wrote:
- The tabs are often too small to show the title.
This behaviour is going to change because we are going to use the same
version of the tabs that is on the Gtk3 port of Terminal. They use all
the available space
Hello,
I'm working on my 1.75 XO with os3 and I feel it really slow. There
are some examples:
- Hover in Favourite and List view
1. Hover in Favourite view
2. Move the mouse directly to List view and hover it
3. It shows the palette after the timeout but the palette square
appears first and
On Fri, Sep 21, 2012 at 8:32 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
So just put img src=file:///path/to/file . That saves a some of
pointless CPU cycles, some RAM.
This old man doesn't like inefficient code, even in small details.
I agree with you in this point but I would like
Browse manages a list of 10 recently closed tab to be able to re-open
them (the most recently closed is opened firstly) by pressing
Ctrl+Shift+T.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
browser.py | 13 +
webactivity.py | 11 +--
2 files changed, 22
The Bookmark toolbar is shown when the first bookmark is added by the
user.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
webactivity.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/webactivity.py b/webactivity.py
index 24f3b44..f9497db 100644
--- a/webactivity.py
+++ b
The Title of the current page is no longer shown in the URL
entry. Now, it's only shown in the tab and the current URL is visible
all the time in the URL entry.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
browser.py| 13 +
webtoolbar.py | 53
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
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
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
On Tue, Sep 18, 2012 at 10:58 PM, James Cameron qu...@laptop.org wrote:
Neat. What method did you use to convert the image?
Python... It is my best friend :)
import base64
base64.b64encode(open('browse-logo.png', 'r').read())
See you,
--
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
On Wed, Sep 19, 2012 at 8:38 AM, Manuel Kaufmann humi...@gmail.com wrote:
Added an Error page with Sugar style that informs the users about
the the page could not be loaded for any reason.
I had to add --no-validate to the git send-email command because
this patch has a line longer than 998
On Mon, Sep 17, 2012 at 7:40 PM, James Cameron qu...@laptop.org wrote:
I've no other comments about the patch.
Thanks for your comments. I'm about to send a new patch.
--
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr:
Datastore will emit the 'datastore.error' signal when the free
available space will be under SPACE_THRESHOLD. This will allow
activities to handle this situation properly. For example, Browse
could cancel a download in progress.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
src/sugar3
It checks for enough space (using Activity.enough_space) before
downloading the file. If not, Browse will cancel the download process
before starting it and an Alert will be shown to the user to inform
this situation.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
downloadmanager.py | 63
Stop the downloading process when this signal is received with the
datastore.LOW_SPACE error code.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
downloadmanager.py | 8
1 file changed, 8 insertions(+)
diff --git a/downloadmanager.py b/downloadmanager.py
index 5ad1a6f..bd8386d
Hello people,
I'd like to comment what I've been doing these days regarding
Downloading a file with Browse without having enough space to keep
it.
* http://bugs.sugarlabs.org/ticket/394
We where discussing about this last week[1] and we found the root
issue of this problem: Sugar is not
Added an Error page with Sugar style that informs the users about
they are not connected to the internet when the page can not reached
for any reason.
This patch contains a HTML template (error_page.tmpl) that is used to
generate the error page with the correct language.
Signed-off-by: Manuel
On Tue, Sep 18, 2012 at 1:55 PM, Manuel Kaufmann humi...@gmail.com wrote:
This patch contains a HTML template (error_page.tmpl) that is used to
generate the error page with the correct language.
Please, comments and suggestions are welcomed here. I didn't find an
existent way (inside Sugar
On Tue, Sep 18, 2012 at 2:54 PM, Daniel Narvaez dwnarv...@gmail.com wrote:
Oh cool, load_alternate_string definitely looks like the way to go.
(it doesn't break history etc).
Yeah!
http://webkitgtk.org/reference/webkitgtk/stable/webkitgtk-webkitwebview.html#WebKitWebView--load-status
Thanks,
On Tue, Sep 18, 2012 at 2:21 PM, Daniel Narvaez dwnarv...@gmail.com wrote:
Perhaps you could use the data protocol to avoid the temporary file
http://www.ietf.org/rfc/rfc2397.txt
I used this to put the images inside the html-string.
img id=browse-logo src=data:image/png;base64,iVBO (...) /img
It checks if there will be more than MIN_DISKFREE_AFTER_DOWNLOAD (20Mb)
after downloading the file. If not, Browse will cancel the download
process before starting it and an Alert will be shown to the user to
inform this situation.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
Gtk.VBox.pack_start() and Gtk.Alignment.new() fixed to run over Gtk3
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
src/jarabe/journal/modalalert.py | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/jarabe/journal/modalalert.py b/src/jarabe/journal
On Thu, Sep 13, 2012 at 4:47 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
Manuel Kaufmann has been looking at SL#394, and looking at the bug
report, it struck me that it was reported backwards. I would have
written: I filled up my disk and it knocked the system out, Sugar
would
On Tue, Sep 11, 2012 at 10:27 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
- During the webkit download -- most probable stage where you'll hit
it. How does Webkit behave? Does Browse need to do anything?
I'm attaching an example that downloads a file with WebKit.
I tried it setting
On Tue, Sep 11, 2012 at 10:27 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
- During datastore.write() -- I truly believe that the
datastore.write() call doesn't literally make a copy of the file --
should just create/update the hardlink and associated metadata
(including progress
On Wed, Sep 12, 2012 at 9:21 AM, Martin Langhoff
martin.langh...@gmail.com wrote:
That's very good handling on webkit's side. And does it remove the
file? IOWs, when you get the signal, what do you see in the tmpfs? Is
there a file filling it, or has the file been removed?
Oh, sorry. I forgot
On Mon, Sep 10, 2012 at 9:49 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
Here, get the content-length... and compare with the free bytes (plus
some padding, say, 15%). Maybe we still want to preserve a minimum
disk space. For example: don't let a download put you below 50MB or
10MB
It checks if there will be more than MIN_DISKFREE_AFTER_DOWNLOAD (50Mb)
after downloading the file. If not, Browse will cancel the download
process before starting it and an Alert will be shown to the user to
inform this situation.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
On Tue, Sep 11, 2012 at 8:03 PM, Gonzalo Odiard gonz...@laptop.org wrote:
Can you try almost fill the xo and copy a big file with the journal from a
pendrive?
I remember a big message in the screen when this happen, and will point you
to the code.
Yes, I've already try that and I commented
On Tue, Sep 11, 2012 at 8:50 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
mkdir /tmp/foo
sudo mount -t tmpfs -o size=1M none /tmp/foo
Now write there to a file in /tmp/foo to see what happens, exactly.
This is what I got:
[olpc@xo-07-30-50 ~]$ mkdir /tmp/foo
[olpc@xo-07-30-50 ~]$
Show WATCH Cursor when the page is loading and LEFT_PTR when the
load finishes.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
browser.py | 4
1 file changed, 4 insertions(+)
diff --git a/browser.py b/browser.py
index 7379d2b..90378cb 100644
--- a/browser.py
+++ b/browser.py
Do not call WebKitDownload.start after .set_destination_uri because it
is no needed. The download will start automatically after
.set_destination_uri.
http://webkitgtk.org/reference/webkitgtk/stable/webkitgtk-webkitwebview.html#WebKitWebView-download-requested
Signed-off-by: Manuel Kaufmann humi
If there are less than 50Mb free on the Hard Disk the downloading
process is canceled and this is informed to the user via an Alert.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
downloadmanager.py | 29 +++--
1 file changed, 27 insertions(+), 2 deletions(-)
diff
If there are less than 50Mb free on the Hard Disk the downloading
process is canceled and this is informed to the user via an Alert.
Signed-off-by: Manuel Kaufmann humi...@gmail.com
---
downloadmanager.py | 28 ++--
1 file changed, 26 insertions(+), 2 deletions(-)
diff
1 - 100 of 414 matches
Mail list logo