Downgrading an activity is now made possible. When a .xo file of a version
older than the currently installed version is clicked, a downgrading option is
made available, by popping up of a confirmation alert. Depending upton the
choice selected you can downgrade the activity.
v1 - v2. Named
On Sat, 2010-10-16 at 03:07 +0530, shan...@seeta.in wrote:
+
+# Copyright (C) 2008 One Laptop Per Child
Why assign copyright to OLPC two years ago? This new file should be
copyrighted in 2010 by Seeta (or maybe Activity Central).
--
// Bernie Innocenti - http://codewiz.org/
\X/ Sugar
Tomeu prefers ' for strings, so let's use it wherever we don't have a good
reason to use .
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/src/sugar/dispatch/saferef.py b/src/sugar/dispatch/saferef.py
index 709d292..1632b34 100644
--- a/src/sugar/dispatch/saferef.py
+++
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/maint-helper.py b/maint-helper.py
index 8496f06..b963e7f 100755
--- a/maint-helper.py
+++ b/maint-helper.py
@@ -22,7 +22,7 @@ import re
import datetime
import subprocess
-source_exts = [ '.py', '.c', '.h', '.cpp' ]
+source_exts =
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/maint-helper.py b/maint-helper.py
index 50f7d07..fea9b3c 100755
--- a/maint-helper.py
+++ b/maint-helper.py
@@ -16,7 +16,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth
assert a debugging tool, not meant to guard critical code paths. See e.g.
Language Reference section 6.3, first paragraph:
Assert statements are a convenient way to insert debugging assertions into a
program:
The same section also explains that enabling optimization will cause assert
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/maint-helper.py b/maint-helper.py
index d7c5d5b..8496f06 100755
--- a/maint-helper.py
+++ b/maint-helper.py
@@ -23,12 +23,15 @@ import datetime
import subprocess
source_exts = [ '.py', '.c', '.h', '.cpp' ]
+COPYRIGHT = 'Copyright
Adapt to upstream format change.
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/src/sugar/logger.py b/src/sugar/logger.py
index ebb766d..b4cba6c 100644
--- a/src/sugar/logger.py
+++ b/src/sugar/logger.py
@@ -65,7 +65,7 @@ def set_level(level):
logging.warning('Invalid log
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/src/sugar/dispatch/saferef.py b/src/sugar/dispatch/saferef.py
index 6eb0d9e..709d292 100644
--- a/src/sugar/dispatch/saferef.py
+++ b/src/sugar/dispatch/saferef.py
@@ -5,7 +5,8 @@ Provides a way to safely weakref any function,
Follow the convention of marking known-unused (but required for
de-marshalling purposes) variables by postfixing them with an underscore.
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/src/sugar/dispatch/dispatcher.py b/src/sugar/dispatch/dispatcher.py
index eb2dd7e..dd6230b
This is important for Sugar because the XO has a small screen where long lines
would make the code hard to understand (because you need to constantly scroll
horizontally).
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/src/sugar/dispatch/__init__.py
Excerpts from Sascha Silbe's message of Fri Oct 15 23:46:25 +0200 2010:
Check out the --subject-prefix option of git format-patch. git send-email
delegates the actual patch preparation to git format-patch (unless you
pass it a pre-formatted patch as a file).
Forgot to mention: Because it's
Renaming license to license_name even makes the code slightly easier to
understand.
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/maint-helper.py b/maint-helper.py
index 4f8a0be..8bd35ce 100755
--- a/maint-helper.py
+++ b/maint-helper.py
@@ -129,21 +129,21 @@ def
The patch disables the Start and Start With menu items for files
which can't be opened by any installed activity and instead
replace it with a hover dropdown with a menu item 'No activity
installed to start entry'
---
src/jarabe/journal/palettes.py | 42 +++
has_key() has been deprecated for quite some time now.
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/maint-helper.py b/maint-helper.py
index b963e7f..4f8a0be 100755
--- a/maint-helper.py
+++ b/maint-helper.py
@@ -79,7 +79,7 @@ def cmd_build_snapshot():
print 'Update
The git repository of Sugar should be easy enough to discover these days. If
we want to make it easier, a README would be a better place.
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/maint-helper.py b/maint-helper.py
index fea9b3c..d7c5d5b 100755
--- a/maint-helper.py
+++
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/src/sugar/dispatch/saferef.py b/src/sugar/dispatch/saferef.py
index 56166d9..bb73b5d 100644
--- a/src/sugar/dispatch/saferef.py
+++ b/src/sugar/dispatch/saferef.py
@@ -126,7 +126,7 @@ class BoundMethodWeakref(object):
pylint isn't smart enough to analyse the contents of gio, so squelch the
warning.
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/src/sugar/mime.py b/src/sugar/mime.py
index 7f3f5ff..c4b847b 100644
--- a/src/sugar/mime.py
+++ b/src/sugar/mime.py
@@ -134,6 +134,7 @@ def
traceback is the name of a parameter of the function we are wrapping,
so we shouldn't change it.
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/src/sugar/logger.py b/src/sugar/logger.py
index b4cba6c..c242194 100644
--- a/src/sugar/logger.py
+++ b/src/sugar/logger.py
@@ -65,7
Team,
Thank you. Appreciate your feedback.
I have revised the patch which restores its existing behavior for bundles
and have incorporated Frederick's idea of having a common and an
understandable English wording.
http://lists.sugarlabs.org/archive/sugar-devel/2010-October/027925.html
Looking
On Sat, Oct 16, 2010 at 05:29:35PM +0530, Mukul Gupta wrote:
Team,
Thank you. Appreciate your feedback.
I have revised the patch which restores its existing behavior for bundles
and have incorporated Frederick's idea of having a common and an
understandable English wording.
The patch disables the Start and Start With menu items for files
which can't be opened by any installed activity and instead
replace it with a hover dropdown with a menu item 'No activity
installed to start entry'
---
src/jarabe/journal/palettes.py | 42 +++
On Sat, Oct 16, 2010 at 05:16:31PM +0530, Mukul Gupta wrote:
The patch disables the Start and Start With menu items for files
which can't be opened by any installed activity and instead
replace it with a hover dropdown with a menu item 'No activity
installed to start entry'
---
New variable text_status defined which could keep the track of the status of
text being entered and save it when activity is stopped.
Signed-off-by: ishan bansal is...@seeta.in,anubhav aggarwal anub...@seeta.in
---
Area.py | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
On Sat, Oct 16, 2010 at 01:31:02PM +0530, shan...@seeta.in wrote:
Downgrading an activity is now made possible. When a .xo file of a version
older than the currently installed version is clicked, a downgrading option
is made available, by popping up of a confirmation alert. Depending upton
On Fri, Oct 15, 2010 at 05:36:09PM +, Sascha Silbe wrote:
Make sugar-datastore as PEP8 / pylint clean as possible (again). All remaining
complaints are pylint bugs (doesn't recognise keyword arguments in decorators)
resp. shortcomings in pep8 (cannot selectively disable a warning for a
On 16 Oct 2010, at 14:14, Aleksey Lim alsr...@member.fsf.org wrote:
On Sat, Oct 16, 2010 at 01:31:02PM +0530, shan...@seeta.in wrote:
Downgrading an activity is now made possible. When a .xo file of a version
older than the currently installed version is clicked, a downgrading option
is
Hi Sacha
I had submitted the patch for the http://bugs.sugarlabs.org/ticket/2170
You can check the patch at
http://lists.sugarlabs.org/archive/sugar-devel/2010-September/026963.html
Wish if you could review it and provide me feedback on any improvement
required.
Regards
ishan
On Sun, Oct 17, 2010 at 12:58:27AM +0530, Ishan Bansal wrote:
Hi Aleksey
I had submitted the patch for the http://bugs.sugarlabs.org/ticket/2318
You can check the patch at
http://www.mail-archive.com/sugar-devel@lists.sugarlabs.org/msg16721.html
Wish if you could review it and provide
On Sun, 2010-10-17 at 01:06 +0530, Ishan Bansal wrote:
Hi Sacha
I had submitted the patch for the
http://bugs.sugarlabs.org/ticket/2170
You can check the patch at
http://lists.sugarlabs.org/archive/sugar-devel/2010-September/026963.html
Wish if you could review it and provide me
Hi Aleksey
I had submitted the patch for the http://bugs.sugarlabs.org/ticket/2318
You can check the patch at
http://www.mail-archive.com/sugar-devel@lists.sugarlabs.org/msg16721.html
Wish if you could review it and provide me feedback on any improvement
required.
Regards
Ishan
Excerpts from anubhav's message of Sat Oct 16 22:25:00 +0200 2010:
[src/jarabe/journal/versionalert.py: 147 lines skipped]
If we really need that much code just for asking the user for
confirmation then we're doing something wrong.
Sascha
--
http://sascha.silbe.org/
http://www.infra-silbe.de/
On Sun, 2010-10-17 at 01:55 +0530, anub...@seeta.in wrote:
+def __install_cancel_cb(self, button):
+'''The opener will listen on the destroy signal
+'''
+logging.debug('1')
This...
+self.destroy()
+
+def __install_ok_cb(self, button):
+
Excerpts from Ishan Bansal's message of Sat Oct 16 21:36:56 +0200 2010:
You can check the patch at
http://lists.sugarlabs.org/archive/sugar-devel/2010-September/026963.html
Wish if you could review it and provide me feedback on any improvement
required.
If you'd like to remind everyone (or
Signed-off-by: Ayush Goyal ay...@seeta.in
---
Area.py | 40 +
icons/invert-colors.svg | 387 +++
toolbox.py | 22 ++-
3 files changed, 441 insertions(+), 8 deletions(-)
create mode 100644 icons/invert-colors.svg
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/extensions/cpsection/keyboard/model.py
b/extensions/cpsection/keyboard/model.py
index b7186e2..82456d3 100644
--- a/extensions/cpsection/keyboard/model.py
+++ b/extensions/cpsection/keyboard/model.py
@@ -20,7 +20,7 @@ import xklavier
This is the sugar part of the style cleanups I've wanted to land at
least two releases ago, but kept missing the window.
I have done some basic testing, but naturally cannot test all code
paths I've touched (some even appear to be unused). This is why I'd like
to land this right after we branched
This avoids the overhead from the string formatting on production systems.
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/src/jarabe/desktop/favoritesview.py
b/src/jarabe/desktop/favoritesview.py
index b06f672..e6c2c44 100644
--- a/src/jarabe/desktop/favoritesview.py
+++
This only touches the globals that were flagged by pep8 due to white space
issues.
I've also left the sunflower layout variables alone. AFAICT this layout is
currently unused and should be removed instead (or factored out like the snow
flake layout and reenabled).
Signed-off-by: Sascha Silbe
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/extensions/cpsection/aboutcomputer/model.py
b/extensions/cpsection/aboutcomputer/model.py
index 898d79c..77d3b86 100644
--- a/extensions/cpsection/aboutcomputer/model.py
+++ b/extensions/cpsection/aboutcomputer/model.py
@@ -40,7 +40,7
If two different entities have the same name, things get messy.
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/src/jarabe/desktop/schoolserver.py
b/src/jarabe/desktop/schoolserver.py
index 720fc40..aea2357 100644
--- a/src/jarabe/desktop/schoolserver.py
+++
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/src/jarabe/model/bundleregistry.py
b/src/jarabe/model/bundleregistry.py
index 1edee8f..931c59b 100644
--- a/src/jarabe/model/bundleregistry.py
+++ b/src/jarabe/model/bundleregistry.py
@@ -216,6 +216,7 @@ class
This is important for Sugar because the XO has a small screen where long lines
would make the code hard to understand (because you need to constantly scroll
horizontally).
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/extensions/cpsection/datetime/view.py
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/src/jarabe/desktop/activitieslist.py
b/src/jarabe/desktop/activitieslist.py
index e97d5b0..6c9c764 100644
--- a/src/jarabe/desktop/activitieslist.py
+++ b/src/jarabe/desktop/activitieslist.py
@@ -420,8 +420,8 @@ class
logging.exception() handles exceptions nicely for us, no need to explicitly
use traceback.
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/extensions/cpsection/updater/backends/aslo.py
b/extensions/cpsection/updater/backends/aslo.py
index 016e5e8..eec54b0 100644
---
Only register_laptop and RegisterError are meant to be public API. Proper
marking of private / public makes it easier to see which code changes break
API (or not).
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/src/jarabe/desktop/schoolserver.py
has_key() has been deprecated for quite some time now.
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/src/jarabe/desktop/meshbox.py b/src/jarabe/desktop/meshbox.py
index 99734a2..1b3ccda 100644
--- a/src/jarabe/desktop/meshbox.py
+++ b/src/jarabe/desktop/meshbox.py
@@ -119,7
Adapt to upstream format change.
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/src/jarabe/config.py.in b/src/jarabe/config.py.in
index 6c418e9..d22ee9a 100644
--- a/src/jarabe/config.py.in
+++ b/src/jarabe/config.py.in
@@ -14,7 +14,7 @@
# along with this program; if not, write
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/extensions/deviceicon/network.py b/extensions/deviceicon/network.py
index a3a003f..ffec677 100644
--- a/extensions/deviceicon/network.py
+++ b/extensions/deviceicon/network.py
@@ -697,8 +697,8 @@ class OlpcMeshDeviceView(ToolButton):
__active_window_changed_cb() is not referenced anywhere and contains broken
code.
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/src/jarabe/view/palettes.py b/src/jarabe/view/palettes.py
index cb30ed8..d9c1f6b 100644
--- a/src/jarabe/view/palettes.py
+++
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/extensions/deviceicon/network.py b/extensions/deviceicon/network.py
index 8c86fca..a3a003f 100644
--- a/extensions/deviceicon/network.py
+++ b/extensions/deviceicon/network.py
@@ -23,7 +23,6 @@ import logging
import hashlib
import
pylint isn't smart enough to figure out the contents of ParseResult and
gtk.Invisible, so squelch the warning.
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/src/jarabe/frame/clipboard.py b/src/jarabe/frame/clipboard.py
index 65872ef..be2b902 100644
---
Most of the code uses , so adjust the few deviations.
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/docs/release_howto.txt b/docs/release_howto.txt
index db877e0..841809a 100644
--- a/docs/release_howto.txt
+++ b/docs/release_howto.txt
@@ -1,7 +1,7 @@
-''' This is the release
Follow the convention of marking known-unused (but required for
de-marshalling purposes) variables by postfixing them with an underscore.
Signed-off-by: Sascha Silbe sascha-...@silbe.org
diff --git a/src/jarabe/desktop/favoriteslayout.py
b/src/jarabe/desktop/favoriteslayout.py
index
On Wed, 2010-10-13 at 16:10 +0200, Simon Schampijer wrote:
I am doing XO builds containing the latest Sugar (0.90) for the XO [2].
So given from your information, that should be a good way for you to
test 0.90.
Indeed, we are testing these builds. Thanks for preparing them.
55 matches
Mail list logo