[Sugar-devel] Moderation on bugs.sl.o (was: Re: Syntax error in ./configure jhbuild file)

2012-03-20 Thread Sascha Silbe
Excerpts from Gonzalo Odiard's message of 2012-03-12 20:51:05 +0100: Moderation? Are you logged? In what trac did you created the ticket? bugs.sl.o subjects all first-time users to moderation in order to combat SPAM. After the first action was reviewed by a moderator, they will get added to a

Re: [Sugar-devel] Error compiling with jhbuild

2012-03-20 Thread Sascha Silbe
Excerpts from Manuel Quiñones's message of 2012-03-20 13:15:05 +0100: El día 19 de marzo de 2012 21:20, Manuel Kaufmann humi...@gmail.com escribió: I wrote a Post on my blog explaining how to compile sugar in Debian Testing using what I discover and I learn from silbe. Thanks!

Re: [Sugar-devel] [PATCH] Remove the workaround for missing gobject-introspection bindings of Rsvg

2012-03-20 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2012-03-20 13:39:10 +0100: gobject introspection bindings for librsvg have been pushed to librsvg master [1] in 2.35.0, which solved [2]. We only have slight adopts to make in our usage, for example we can not pass the data property to the default

Re: [Sugar-devel] Moderation on bugs.sl.o

2012-03-20 Thread Sascha Silbe
Excerpts from Gonzalo Odiard's message of 2012-03-20 18:53:39 +0100: I didn't know that. Who check these pending tickets? Apparently only me currently. I walked a few people through the process when it was introduced, but they're all not very active at Sugar Labs anymore. The work load is

[Sugar-devel] [PATCH sugar-toolkit-gtk3] configure.ac: Require gobject-introspection

2012-03-19 Thread Sascha Silbe
'. Stop. much later in the build. Fix this by using the appropriate autoconf macro. Signed-off-by: Sascha Silbe si...@activitycentral.com --- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index ea782c3..bbe28c8 100644

Re: [Sugar-devel] xephyr error on Fedora 16

2012-03-19 Thread Sascha Silbe
Excerpts from Manuel Kaufmann's message of 2012-03-15 15:08:51 +0100: After compiling sugar with jhbuild in Fedora 16, I'm tryin to run the emulator but I'm getting this error: Failed to start server. Please check output above for any message Well, like it says, the actual error message is

Re: [Sugar-devel] Some questions about root and olpc logins.

2012-03-19 Thread Sascha Silbe
Excerpts from Ajay Garg's message of 2012-03-16 20:10:11 +0100: I just compared the root and olpc logins functioning on os883.img, and my F14 laptop; and I am curious about the following things :: [User can become root without password and related behaviour] In addition to what others have

Re: [Sugar-devel] Please review two important bug fixes (was: Re: [PATCH sugar] Journal detail view: don't choke on invalid 'keep' property, [PATCH sugar-datastore] Ensure we return valid internal / c

2012-03-13 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2012-03-13 13:57:00 +0100: On 03/06/2012 10:24 PM, Sascha Silbe wrote: [1] https://patchwork.sugarlabs.org/patch/1032/ [2] https://patchwork.sugarlabs.org/patch/1136/ Both are fine to push with the amended description. Pushed as 9fd345f [1

[Sugar-devel] Read and Browse dependencies (was: Re: error in ./sugar-jhbuild update)

2012-03-13 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2012-02-10 12:19:02 +0100: Sascha, attached is a patch that should update the Fedora deps. I moved the 'gnome-python2-evince' dep to the individual Fedora-version configs that need it, and created the missing F14-F16 configs. Thanks for the patch,

[Sugar-devel] Please review two important bug fixes (was: Re: [PATCH sugar] Journal detail view: don't choke on invalid 'keep' property, [PATCH sugar-datastore] Ensure we return valid internal / calcu

2012-03-06 Thread Sascha Silbe
Excerpts from Sascha Silbe's message of 2012-01-09 12:02:12 +0100: Excerpts from Sascha Silbe's message of 2011-11-02 23:28:28 +0100: [sugar patch] Properties of data store entries can get corrupted, e.g. due to low level crashes or running out of battery (see OLPC#11372 [1] for a

Re: [Sugar-devel] [IAEP] Google Summer of Code

2012-02-28 Thread Sascha Silbe
Excerpts from Walter Bender's message of 2012-02-09 03:49:42 +0100: Done. Two ideas already posted. There are at least ten ideas posted by now (thanks go to Walter and a few others). Most of the look quite interesting, but also rather demanding. The description doesn't always reflect how hard

Re: [Sugar-devel] Can we be a little more friendly to Ubuntu users

2012-02-27 Thread Sascha Silbe
Excerpts from Edward Mokurai Cherlin's message of 2012-02-27 03:08:42 +0100: [pulling in debian-olpc-devel where the Debian efforts to package Sugar are coordinated] The big picture answer, apart from instructions for non-standard installations from non-standard repositories, is to work with

Re: [Sugar-devel] [PATCH sugar v2] sl#2890, au#694: Changing to more user-friendly message.

2012-02-20 Thread Sascha Silbe
Excerpts from Ajay Garg's message of 2012-02-20 06:57:33 +0100: Earlier, the Registration failed message seemed more like a threat. The new message sounds more like an information-conveying one. [...] I don't see any improvement over the previous patch [1] that would address the concerns I had

[Sugar-devel] [PATCH sugar 2/4] Journal: Increase timeout for data store operations (see SL#2319)

2012-02-19 Thread Sascha Silbe
-connection-internal_8h_source.html#l00045 [3] https://bugs.sugarlabs.org/ticket/2480 [4] https://bugs.sugarlabs.org/ticket/1546 Signed-off-by: Sascha Silbe si...@activitycentral.com --- src/jarabe/journal/model.py | 24 1 files changed, 16 insertions(+), 8 deletions

[Sugar-devel] [PATCH sugar 1/4] Actually use property filesize for showing file size in Journal Details View

2012-02-19 Thread Sascha Silbe
up checking it out regardless. Fix this by moving the optimisation to jarabe.journal.model.get_file_size(), using explicit short-circuiting. Signed-off-by: Sascha Silbe si...@activitycentral.com --- src/jarabe/journal/expandedentry.py |4 ++-- src/jarabe/journal/model.py |7

[Sugar-devel] [PATCH sugar-toolkit 3/4] Increase timeout for data store operations (see SL#1936)

2012-02-19 Thread Sascha Silbe
-internal_8h_source.html#l00045 Signed-off-by: Sascha Silbe si...@activitycentral.com --- src/sugar/datastore/datastore.py | 55 + 1 files changed, 31 insertions(+), 24 deletions(-) diff --git a/src/sugar/datastore/datastore.py b/src/sugar/datastore/datastore.py index

[Sugar-devel] [PATCH sugar-toolkit 4/4] Increase timeout for data store operations (see SL#1936)

2012-02-19 Thread Sascha Silbe
-internal_8h_source.html#l00045 Signed-off-by: Sascha Silbe si...@activitycentral.com --- src/sugar3/datastore/datastore.py | 55 + 1 files changed, 31 insertions(+), 24 deletions(-) diff --git a/src/sugar3/datastore/datastore.py b/src/sugar3/datastore/datastore.py index

[Sugar-devel] [PATCH v4 sugar 0/3] Improve proxy support

2012-02-14 Thread Sascha Silbe
This series includes a completely reworked version of the Proxy Control Panel (now Proxy section in the Network Control Panel) patch. The new version has been based on Simon Schampijers mock-up [1], reflecting UI changes requested by both Simon and Gary Martin [2]. Sascha Silbe (3): Properly

[Sugar-devel] [PATCH v4 sugar 1/3] Properly wrap labels in the Network Control Panel (GTK#318276 workaround)

2012-02-14 Thread Sascha Silbe
handler that sets the requested size of the label to the actual allocation. [1] https://bugzilla.gnome.org/show_bug.cgi?id=318276 Signed-off-by: Sascha Silbe si...@activitycentral.com --- This is v4 of the series, but the first time it includes this patch. extensions/cpsection/network/view.py | 42

[Sugar-devel] [PATCH v4 sugar 2/3] Add proxy configuration support to Network Control Panel

2012-02-14 Thread Sascha Silbe
[2]. This implements the Proxy Settings Feature [3]. [1] https://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol [2] http://people.gnome.org/~bmsmith/gconf-docs/C/gnome-vfs.html [3] https://wiki.sugarlabs.org/go/Features/Proxy_Settings Signed-off-by: Sascha Silbe si...@activitycentral.com

[Sugar-devel] [PATCH v4 sugar 3/3] sugar-session: export manual Gnome proxy settings as $http_proxy

2012-02-14 Thread Sascha Silbe
. Signed-off-by: Sascha Silbe si...@activitycentral.com --- original version-v4: Add support for no_proxy, some minor changes bin/sugar-session| 29 + extensions/cpsection/network/view.py | 34 +- 2 files changed

Re: [Sugar-devel] [Sugar 1/2] Only add a group of selections to the clipboard if there are anything available.

2012-02-06 Thread Sascha Silbe
) continue +cb_selections.append(selection) +if len(cb_selections) 0: A blank line before the if block would help visually distinguishing between the for loop and the if block. Acked-by: Sascha Silbe si...@activitycentral.com PS: Formatting

Re: [Sugar-devel] [PATCH Sugar] sl#3316: Wireless modem error should refer to My Settings

2012-02-06 Thread Sascha Silbe
(the backslash-newline pair), as the open parenthesis implicitly continues the line. See also PEP-8, section Code lay-out, Maximum line length. Acked-by: Sascha Silbe si...@activitycentral.com Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: PGP signature

Re: [Sugar-devel] [PATCH] sl#3076: Add a submenu in journal-palette, to copy a journal entry to the Documents folder.

2012-02-06 Thread Sascha Silbe
Excerpts from Ajay Garg's message of 2012-02-03 19:33:36 +0100: [src/jarabe/journal/journalactivity.py] [...] +def get_mount_point(self): +return self._mount_point If this were a useful or necessary change (see below), we should change the name to something like

Re: [Sugar-devel] [sugar-toolkit PATCH] sl#3317: Batch Operations on Journal Entries (Copy, Erase)

2012-02-06 Thread Sascha Silbe
Excerpts from Ajay Garg's message of 2012-02-05 21:47:47 +0100: The patch summary (subject line) doesn't describe what this patch does, only in what context it is useful. Also, please note that sugar-toolkit (GTK2) is in maintenance mode; API changes need to be targeted at sugar-toolkit-gtk3.

Re: [Sugar-devel] [PATCH Sugar] Implementation of Text to Speech in Sugar Feature - v5

2012-02-06 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2012-02-01 20:19:14 +0100: Gonzalo adjusted the description. But AFAICT never published it anywhere, so there was no way for me to review it. I think we can really push this one now. Any other comments? There are a couple of points still open from

Re: [Sugar-devel] [PATCH] sl#2815: Localization fixes.

2012-01-31 Thread Sascha Silbe
Excerpts from David Mason's message of 2012-01-31 03:16:14 +0100: David, I'm assuming you replied in private accidentally, so I'm bringing the thread back on-list. Similar to your previous patch [1], gettext already flags this as a format string. As this particular example is a bit more

Re: [Sugar-devel] [PATCH sugar] sugar-session: export manual Gnome proxy settings as $http_proxy

2012-01-30 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2012-01-26 19:01:37 +0100: [http_proxy env var vs. Gnome gconf proxy settings] can you give a few examples which ones are using which method? My fist hit was wget using the env variable [1]. More light on that welcome. The protocol_proxy environment

Re: [Sugar-devel] [PATCH sugar v2] Add Control Panel for proxy settings

2012-01-30 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2012-01-26 19:15:49 +0100: When applying the patch me and Manuel get: fatal: corrupt patch at line 414 Your MUA has probably mangled the patch. Applying the copy [1] from Patchwork works fine for me: sascha.silbe@twin:~/sugar-jhbuild/source/sugar$

Re: [Sugar-devel] [PATCH sugar v2] Add Control Panel for proxy settings

2012-01-30 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2012-01-30 12:56:57 +0100: Following the recommendations in [1] I have been applying a workaround in GTK2 to get a better wrapping for the labels *. I was about to ask whether we really need that complicated approach as we don't change the layout

Re: [Sugar-devel] [Sugar] Implement text to speech in Sugar feature - v2

2012-01-30 Thread Sascha Silbe
Excerpts from Gonzalo Odiard's message of 2012-01-25 17:46:01 +0100: Please use pep8 and pylint [2] to check your code prior to submission [3,4]. I have used it. If you see any problem tell me. I saw at least one occasion of three blank lines in a row. Nothing serious, but pep8 will

Re: [Sugar-devel] [FEATURES][DESIGN] Network proxy configuration

2012-01-24 Thread Sascha Silbe
Excerpts from Gary Martin's message of 2012-01-23 03:02:59 +0100: Do you think this functionality could be folded into the Network CP UI or are there a heap of inputs? We could make better use of Network CP horizontal space regarding text blocks, and gain some vertical space to reduce

[Sugar-devel] [PATCH sugar v2] Add Control Panel for proxy settings

2012-01-24 Thread Sascha Silbe
as much as possible. [1] https://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol Signed-off-by: Anish Mangal an...@sugarlabs.org [replaced description; merged fix-up patches from Aleksey; style fixes; added WPAD hint; fixed needs_restart defaults bug] Signed-off-by: Sascha Silbe si

[Sugar-devel] [PATCH sugar] sugar-session: export manual Gnome proxy settings as $http_proxy

2012-01-24 Thread Sascha Silbe
variable to be updated. [factored out into separate function; some clean-ups; added description] Signed-off-by: Sascha Silbe si...@activitycentral.com --- bin/sugar-session | 26 ++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/bin/sugar-session b/bin/sugar

Re: [Sugar-devel] [Sugar] Implement text to speech in Sugar feature - v2

2012-01-23 Thread Sascha Silbe
Excerpts from godiard's message of 2012-01-17 22:49:31 +0100: Added controls to pause/stop and addressed suggestions in the review process. Please put the changelog below the marker line, i.e. below this one: --- Please add a description. Besides other things I'm missing a clear mention

Re: [Sugar-devel] [PATCH 1/5] sl#2789: Localization fixes.

2012-01-23 Thread Sascha Silbe
Excerpts from Ajay Garg's message of 2012-01-19 22:35:28 +0100: Signed-off-by: Ajay Garg a...@activitycentral.com Please describe your changes in more detail than localization fixes. E.g.: Fix capitalisation of acronyms marked for translation (fixes SL#2789) Otherwise, this looks good to me.

Re: [Sugar-devel] [PATCH 2/5] sl#2815: Localization fixes.

2012-01-23 Thread Sascha Silbe
Excerpts from Ajay Garg's message of 2012-01-20 21:39:36 +0100: Just one more question, can the TRANS label string span multiple lines? That is, is something like :: # TRANS: first line text # second line text # third line text As the gettext

Re: [Sugar-devel] [PATCH 3/5] sl#2816: Localization fixes.

2012-01-23 Thread Sascha Silbe
Excerpts from Ajay Garg's message of 2012-01-19 22:36:08 +0100: Like mentioned for the first patch in the series (BTW, please post series as a thread (git send-email --thread; this option is enabled by default so you seem to have explicitly deactivated it), please provide a better description

[Sugar-devel] Ctrl+Alt+BS handling (was: Re: [PATCH 4/5] sl#3029: Localization fixes.)

2012-01-23 Thread Sascha Silbe
Excerpts from James Cameron's message of 2012-01-20 05:35:21 +0100: On Fri, Jan 20, 2012 at 09:42:34AM +0530, Anish Mangal wrote: Yes, you're correct in pointing out that ctrl+alt+erase won't work in OLPC builds (and in Dextrose-3 till now), but on request by OLPC-Australia, this key

Re: [Sugar-devel] [PATCH 4/5] sl#3029: Localization fixes.

2012-01-23 Thread Sascha Silbe
Excerpts from Ajay Garg's message of 2012-01-19 22:36:26 +0100: Signed-off-by: Ajay Garg a...@activitycentral.com How about: Capitalise Sugar in strings marked for translation (fixes SL#3029) The patch itself looks good. Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/

Re: [Sugar-devel] [PATCH] sl#3149: Localization fixes.

2012-01-23 Thread Sascha Silbe
Excerpts from Ajay Garg's message of 2012-01-23 14:48:16 +0100: --- Removed unncessary gettext notations; plus added TRANS labels for not translating format-specifier tokens. When posting revised versions of patches, please: 1. Note the patch version in the subject prefix, in addition to

Re: [Sugar-devel] [PATCH browse] Append the current Sugar (Sucrose) version to the user agent

2012-01-23 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2012-01-16 12:52:00 +0100: Furthermore we need to modify the Sugar version in Browse accordingly with each Sugar release as the Sugar version is only availble in the shell and not in the toolkit. As others pointed out (and you obviously noticed

Re: [Sugar-devel] [PATCH] sl#2815: Localization fixes.

2012-01-23 Thread Sascha Silbe
Excerpts from Ajay Garg's message of 2012-01-23 14:47:28 +0100: + +# TRANS: do not translate the token %(hour)d:%(min).2d. Only translate the token remaining. secondary_text = _('%(hour)d:%(min).2d remaining') % \ {'hour':

Re: [Sugar-devel] [PATCH] sl#2955: fixing the exception.

2012-01-23 Thread Sascha Silbe
Excerpts from Ajay Garg's message of 2012-01-20 22:23:48 +0100: --- Now, the execution takes place, only if the handle is present already (as per Daniel Drake). Please put the patch description (as opposed to comments and changelog) _above_ the marker line. fixing the exception isn't a

[Sugar-devel] [PATCH sugar v3] Journal detail view: don't choke on invalid 'keep' property (fixes SL#1591)

2012-01-23 Thread Sascha Silbe
as a string we can avoid the ValueError that might happen when trying to convert the property value to an integer. [1] https://dev.laptop.org/ticket/11372 Reported-by: Gary Martin garycmar...@googlemail.com Signed-off-by: Sascha Silbe si...@activitycentral.com --- v1-v2: fix get_keep() as well

Re: [Sugar-devel] [PATCH] add activity counter to metadata

2012-01-19 Thread Sascha Silbe
Excerpts from Walter Bender's message of 2012-01-17 12:10:18 +0100: We agreed to a less ambitious intervention in the Journal for 0.96, but the goal of my data capture is to provide feedback not just to the administrator, but to the teacher and child directly in the Journal itself. Can you

Re: [Sugar-devel] Getting Journal entries off an XO at the end of a project?

2012-01-17 Thread Sascha Silbe
Excerpts from Christoph Derndorfer's message of 2012-01-13 20:29:34 +0100: [Backup activity] Make a backup of the Journal entries... The process is make an .tar.gz of all entries and save in a folder into an usb: /backup/SN## (SN#... is the serial of the XO) Slight correction: JEBs

Re: [Sugar-devel] Getting Journal entries off an XO at the end of a project?

2012-01-17 Thread Sascha Silbe
Excerpts from Christoph Derndorfer's message of 2012-01-13 19:56:51 +0100: (a) Have the pupils copy relevant files they want to keep to USB drives via the Journal or the Sugar commander Activity (b) Ask them to favorite things they want to keep in the Journal and then run a script that

Re: [Sugar-devel] [PATCH] Use empy from the distribution

2012-01-17 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2011-12-22 14:03:41 +0100: empy [1] has been packaged for distributions by now (see Fedora package name python-empy [2] or Debian package name python-empy [3]). Drop the local copy and add empy as a dependency. Thanks for the patch. Please reference

Re: [Sugar-devel] [PATCH sugar-datastore] Ensure we return valid internal / calculated properties

2012-01-17 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2012-01-10 14:19:59 +0100: It would be good to add here information what the patch does, that it adds the uid and filesize to the metadata but does not write it to disk etc. How about this additional paragraph: We now determine and fill in the

Re: [Sugar-devel] [PATCH sugar] Journal detail view: don't choke on invalid 'keep' property

2012-01-17 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2012-01-10 14:26:46 +0100: There is another place in the code where we retrieve the 'keep' property, I would suggest something like: [...] @@ -419,7 +419,8 @@ class ExpandedEntry(hippo.CanvasBox): self._update_title_sid = None

[Sugar-devel] [PATCH sugar v2] Journal detail view: don't choke on invalid 'keep' property (fixes SL#1591)

2012-01-17 Thread Sascha Silbe
as a string we can avoid the ValueError that might happen when trying to convert the property value to an integer. [1] https://dev.laptop.org/ticket/11372 Reported-by: Gary Martin garycmar...@googlemail.com Signed-off-by: Sascha Silbe si...@activitycentral.com --- v1-v2: fix get_keep() as well

Re: [Sugar-devel] [PATCH sugar] SugarAdhoc networks: make 'connect' option in Palette available

2012-01-16 Thread Sascha Silbe
what we're doing. Acked-by: Sascha Silbe si...@activitycentral.com Sascha [1] https://wiki.sugarlabs.org/go/Development_Team/Code_Review#Patch_submission -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: PGP signature

Re: [Sugar-devel] [PATCH] add activity counter to metadata

2012-01-16 Thread Sascha Silbe
Excerpts from Walter Bender's message of 2012-01-12 18:39:46 +0100: This patch adds/updates a new metadata field to instances of Sugar Activities. Specifically, it maintains a count of how many times an activity instance has be accessed. The mechanism used is to increment a counter each time

Re: [Sugar-devel] [REMINDER] Development team meeting --- 10. Jan 2012 (15:00 UTC)

2012-01-10 Thread Sascha Silbe
Excerpts from Walter Bender's message of 2012-01-10 18:19:33 +0100: As per today's discussion, here is a version of Write to Journal anytime that uses a textview widget, showing the contents of the Description field. [1] In my mind: Pros: all notes are visible. Cons: takes up lots of vertical

Re: [Sugar-devel] downloading disk images via bittorrent (was: 883 on XO1)

2012-01-10 Thread Sascha Silbe
Excerpts from Richard A. Smith's message of 2012-01-08 20:01:55 +0100: Having builds available via bittorrent or some other p2p tool would be very useful when the dev team in in China. MirrorBrain (the tool used to host download.sugarlabs.org) can automatically create torrent files [1,2]. (*)

Re: [Sugar-devel] [DESIGN] Write to Journal Anytime

2012-01-09 Thread Sascha Silbe
Excerpts from Walter Bender's message of 2012-01-09 04:55:54 +0100: Haven't had a chance to write up the notes from today's meeting, but the log is available here [1]. The idea has morphed somewhat. But no plans for a tag mechanism for 0.96. Thanks for the log. I like the shift to a more

Re: [Sugar-devel] [PATCH sugar-toolkit-gtk3] Finally remove the keep button completely

2012-01-09 Thread Sascha Silbe
it only for backwards compatibility. Reviewed-By: Sascha Silbe si...@activitycentral.com Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: PGP signature ___ Sugar-devel mailing list Sugar-devel

Re: [Sugar-devel] [PATCH browse] Adopt to WebKit API for title of the browser widget

2012-01-09 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2012-01-04 14:34:29 +0100: [webactivity.py] @@ -426,7 +426,7 @@ class WebActivity(activity.Activity): browser = self._tabbed_view.current_browser if not self._jobject.metadata['title_set_by_user'] == '1': -

Re: [Sugar-devel] [PATCH calculate] Remove dependency on CanvasIcon

2012-01-09 Thread Sascha Silbe
Excerpts from Sascha Silbe's message of 2011-11-14 21:59:11 +0100: The code that used CanvasIcon was commented out in 2007 already. [...] Gary, can you include this patch in Calculate, please? Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: PGP

Re: [Sugar-devel] [PATCH sugar] Journal detail view: don't choke on invalid 'keep' property, [PATCH sugar-datastore] Ensure we return valid internal / calculated properties

2012-01-09 Thread Sascha Silbe
Excerpts from Sascha Silbe's message of 2011-11-02 23:28:28 +0100: [sugar patch] Properties of data store entries can get corrupted, e.g. due to low level crashes or running out of battery (see OLPC#11372 [1] for a real-life example). In addition any activity can - accidentally or on purpose -

Re: [Sugar-devel] [PATCH 1/2] Allow to build outside the source directory

2012-01-09 Thread Sascha Silbe
Excerpts from Marco Pesenti Gritti's message of 2011-12-07 18:01:05 +0100: Signed-off-by: Marco Pesenti Gritti ma...@marcopg.org Thanks for the patch! It contains a few issues that prevent me for pushing it as-is. It would have been easy to fix them up prior to pushing, but I'd like to use

Re: [Sugar-devel] [PATCH 2/2] Ensure we have an m4 directory before running intltoolize

2012-01-09 Thread Sascha Silbe
Excerpts from Marco Pesenti Gritti's message of 2011-12-07 18:01:06 +0100: Fixes the following error: ln: failed to create symbolic link `m4/intltool.m4': No such file or directory cp: cannot create regular file `m4/intltool.m4': No such file or directory Does it have any impact on the

[Sugar-devel] Determining time since connection was established; traffic stats

2012-01-09 Thread Sascha Silbe
Hi! In Sugar, we're showing showing how long a GSM connection has been up as well as how much traffic has been going over the link. This has been contributed directly by a Sugar deployment, so I gather it's rather important for their use case (probably ISPs charging by volume and / or connection

[Sugar-devel] [PATCH sugar] Partial fix for GSM connection time (see SL#2992; fixes SL#1727)

2012-01-09 Thread Sascha Silbe
/archives/networkmanager-list/2012-January/thread.html#00022 [5] https://bugs.sugarlabs.org/ticket/1727 Signed-off-by: Sascha Silbe si...@activitycentral.com --- extensions/deviceicon/network.py | 73 - 1 files changed, 47 insertions(+), 26 deletions(-) diff

Re: [Sugar-devel] [PATCH sugar-base] Add support for IPython 0.11+

2011-12-20 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2011-07-27 12:17:11 +0200: The outer try does check for an import error as well. Maybe it is clearer to do: try: # IPython 0.11+ from IPython.core.ultratb import AutoFormattedTB except ImportError: # IPython 0.10.2 and below

[Sugar-devel] [PATCH sugar-toolkit-gtk3] Drop broken sugar-menu C module

2011-12-19 Thread Sascha Silbe
The sugar-menu C module is going to be replaced by Python code soon and doesn't even compile anymore (thus aborting the build with an error). Signed-off-by: Sascha Silbe si...@activitycentral.com --- Either this patch or Daniels patch Reimplement Palettes for GTK3 [1] needs to land in sugar

Re: [Sugar-devel] [PATCH sugar-toolkit] Restructure for new /usr/bin/sugar-activity behaviour

2011-12-19 Thread Sascha Silbe
/bin/ from paths (it assumes Sugar is installed using native distro packages and doesn't add any useful information). Acked-by: Sascha Silbe si...@activitycentral.com Please coordinate pushing with me on #sugar as we need to land three different patches (remove sugar-activity from sugar [1

Re: [Sugar-devel] [PATCH sugar-toolkit-gtk3] sugar-activity: import and make independent of sugar-toolkit GTK versions

2011-12-19 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2011-12-19 18:53:30 +0100: One thing I don't like with moving the 'sugar-activity' inside sugar-toolkit-gtk3 is that we make the sugar-toolkit-gtk3 dependent on the sugar-toolkit-gtk2 as we use modules from it: That's inherent to the porting

Re: [Sugar-devel] [PATCH] sugar-activity: make independent of sugar-toolkit GTK versions

2011-12-13 Thread Sascha Silbe
Excerpts from Daniel Drake's message of 2011-12-09 22:25:28 +0100: As we move to adding support for a second UI toolkit (GTK+ 3.x), the sugar-activity binary used by all activities must become backend-toolkit-independent. Given that sugar-activity is the only thing in sugar that Python-based

[Sugar-devel] sugar-toolkit-gtk3 maintainers: Daniel Drake, Simon Schampijer

2011-12-13 Thread Sascha Silbe
Hello everyone! During todays Development Team meeting [1], we we agreed that Daniel Drake will maintain the new sugar-toolkit-gtk3 together with Simon Schampijer, leaving me free to focus on the existing Glucose modules (also together with Simon). Good luck to the new (and old) maintainers!

Re: [Sugar-devel] [PATCH sugar-toolkit-gtk3] SugarExt: fix compile without pygtk

2011-12-13 Thread Sascha Silbe
Excerpts from Daniel Drake's message of 2011-12-13 20:54:25 +0100: We no longer compile this against pygtk, so remove the include. Add the now-required Python.h include in its place. Reviewed-By: Sascha Silbe si...@activitycentral.com Sascha -- http://sascha.silbe.org/ http://www.infra

Re: [Sugar-devel] [PATCH] Remove sugar-activity

2011-12-13 Thread Sascha Silbe
is somewhat specific to activities built with sugar-toolkit. From this point onwards sugar-toolkit-gtk3 will become a required part of the platform and hence installed on all user's systems. Acked-by: Sascha Silbe si...@activitycentral.com Please hold off on pushing this until sugar-jhbuild has been

Re: [Sugar-devel] [PATCH sugar-toolkit-gtk3] Add MAINTAINERS file

2011-12-13 Thread Sascha Silbe
Excerpts from Daniel Drake's message of 2011-12-13 20:55:01 +0100: Just point at the wiki where the info is kept. Requested by Sascha Silbe. Reviewed-by: Sascha Silbe si...@activitycentral.com Thanks for the patch. Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de

Re: [Sugar-devel] [PATCH v2][sucrose-0.94][RFC] Add capability to connect to WPA/WPA2-Enterprise networks

2011-12-12 Thread Sascha Silbe
Excerpts from Anish Mangal's message of 2011-12-09 16:08:57 +0100: I guess there is great work being done by dsd et. al to get NM 0.9 stuff working with sugar/0.96+. I'd be happy to assist with reviewing porting etc. if upstream thinks this a valuable addition for mainline. To that end

Re: [Sugar-devel] [sugar] Add quz and aym to ALL_LINGUAS (take 2)

2011-12-06 Thread Sascha Silbe
Excerpts from Bernie Innocenti's message of 2011-11-25 16:34:51 +0100: Signed-off-by: Bernie Innocenti ber...@codewiz.org Marked as deferred for now as it's not suitable yet for upstream Sugar, see [1,2]. Sascha [1]

Re: [Sugar-devel] [PATCH] Start filtered activity with keyboard

2011-12-06 Thread Sascha Silbe
Excerpts from Gonzalo Odiard's message of 2011-12-06 17:06:19 +0100: I can't reach to a agreement with Simon about how display to the user he can start the activity selected. We already have a kind of cursor that we could enhance: Moving the pointer over an activity icon shows a rounded

Re: [Sugar-devel] [PATCH] Start filtered activity with keyboard

2011-12-06 Thread Sascha Silbe
Excerpts from Gonzalo Odiard's message of 2011-12-06 19:41:51 +0100: Yes. I have tried this. The problem we found, is while the filter show one activity selected, the user can move the cursor over other activities, and then show the same rounded rectangle over the two activities (one

[Sugar-devel] Dextrose 3 patches report

2011-12-05 Thread Sascha Silbe
Garg) 3. Don't choke on non-integer activities (Ajay Garg) sugar-toolkit: 4. Add new languages: quz and aym (bernie) 5. Tell GTK that Palettes are pop-ups (Sascha Silbe) 1.+4. are recent additions and need additional information before they can be submitted upstream. In particular it's important

[Sugar-devel] sugar-toolkit-gtk3 patches

2011-12-05 Thread Sascha Silbe
Hi Simon et al., sugar-toolkit-gtk3 is starting to get into shape (branch silbe-rework-20111205). Remaining issues: 1. 7431584: Restructure for new /usr/bin/sugar-activity behaviour (Daniel Drake) This patch, back-ported to the GTK2 sugar-toolkit, and it's sugar counterpart should be

Re: [Sugar-devel] [PATCH] Control Panel, Power section: check if powerd is available OLPC #11437

2011-11-28 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2011-11-28 10:42:05 +0100: On the XO 1.75 '/ofw' is not used anymore on the XO-1.75, '/proc/device-tree' is used now instead. Check if powerd is available to determine if the power section is displayed or not. How about: Recent versions of the

Re: [Sugar-devel] [PATCH] Bundlebuilder: don't fail to package if git is not installed, OLPC #11341

2011-11-28 Thread Sascha Silbe
('SourcePackager: this is not a git repository,' ' falling back to filtered list') Acked-by: Sascha Silbe si...@activitycentral.com You might want to fix the author name. ;) Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: PGP signature

Re: [Sugar-devel] [PATCH] Start filtered activity with keyboard

2011-11-28 Thread Sascha Silbe
Excerpts from godiard's message of 2011-11-07 13:06:45 +0100: From: Gonzalo Odiard godi...@gmail.com This patch complement the filter functionality in the home view. If only one activity is selected, Return key start the activity. Nice one. Both Return (default action, i.e. resume latest)

Re: [Sugar-devel] [PATCH] Control Panel, Power section: check if powerd is available OLPC #11437

2011-11-28 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2011-11-28 15:49:27 +0100: [proposed commit message] Sounds good. The patch itself is fine? Yup, the code changes are definitely a good idea. Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: PGP signature

[Sugar-devel] Create new owner keys as RSA keys instead of DSA

2011-11-15 Thread Sascha Silbe
, no regression occured. src/pstest.py in sugar-presence-service also contains code to create and parse DSA keys. Since sugar-presence-service is deprecated and pstest.py isn't used during normal operation, I've not bothered to make it use RSA keys instead. Sascha Silbe (2): [sugar-toolkit

[Sugar-devel] [PATCH 1/2 sugar-toolkit] Accept RSA key as owner key

2011-11-15 Thread Sascha Silbe
Sugar currently uses the owner key as an opaque string, not as an actual key. This means the key type doesn't matter, we can just as easily use an RSA key. Signed-off-by: Sascha Silbe si...@activitycentral.com --- src/sugar/profile.py | 10 ++ 1 files changed, 6 insertions(+), 4

[Sugar-devel] [PATCH 2/2 sugar] Create new owner keys as RSA keys instead of DSA

2011-11-15 Thread Sascha Silbe
-requirements-for-random-k-value/ [3] http://www.debian.org/security/2008/dsa-1571 [4] http://rdist.root.org/2009/05/17/the-debian-pgp-disaster-that-almost-was/ [5] http://web.monkeysphere.info/news/release-0.24-1/ Signed-off-by: Sascha Silbe si...@activitycentral.com --- src/jarabe/intro/window.py

Re: [Sugar-devel] [PATCH 2/2 sugar] Create new owner keys as RSA keys instead of DSA

2011-11-15 Thread Sascha Silbe
Excerpts from Samuel Greenfeld's message of 2011-11-15 15:23:58 +0100: Has anyone in the security field (such as Ivan Krstić) reviewed this proposal? Are there any potential performance impacts by switching key types for slower systems such as the XO-1? A few quick tests have shown no

Re: [Sugar-devel] [PATCH] Simple NetworkManager-0.9 port

2011-11-14 Thread Sascha Silbe
Excerpts from Daniel Drake's message of 2011-11-11 18:18:31 +0100: On Mon, Oct 24, 2011 at 6:41 PM, Sascha Silbe si...@activitycentral.com wrote: [GSM settings] -    def undo(self): -        self._model.undo() What happened to the undo functionality? Since we still apply the changes

[Sugar-devel] [PATCH calculate] Remove dependency on CanvasIcon

2011-11-14 Thread Sascha Silbe
The code that used CanvasIcon was commented out in 2007 already. Signed-off-by: Sascha Silbe si...@activitycentral.com --- calculate.py |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/calculate.py b/calculate.py index 91cf276..5b45698 100644 --- a/calculate.py +++ b

Re: [Sugar-devel] [PATCH sugar-datastore] Ensure we return valid internal / calculated properties

2011-11-06 Thread Sascha Silbe
Excerpts from James Cameron's message of 2011-11-02 23:42:59 +0100: I'm glad to see fixes for corrupted metadata, but I wonder if the application (the datastore process) is properly asking the kernel to retain the data? I wouldn't like to see it block on a sync, but I thought there were ways

[Sugar-devel] [PATCH sugar-toolkit PoC v2] Taphold for Palettes

2011-11-04 Thread Sascha Silbe
interaces. This patch is a hack to add taphold support to Sugar palettes for evaluation purposes. The real thing (TM) should hook into GTK instead in order to make it work beyond just Sugar palettes. Signed-off-by: Sascha Silbe si...@activitycentral.com --- v1-v2: Added previously uncommitted fixes

[Sugar-devel] [PATCH sugar-datastore] Ensure we return valid internal / calculated properties

2011-11-02 Thread Sascha Silbe
. [1] https://dev.laptop.org/ticket/11372 Reported-by: Gary Martin garycmar...@googlemail.com Signed-off-by: Sascha Silbe si...@activitycentral.com --- Passes the test suite - at least after fixing the latter to accept decimal strings instead of just integers for the 'filesize' property

Re: [Sugar-devel] 11.3.0 release candidate 4 (build 883) released

2011-11-01 Thread Sascha Silbe
Excerpts from Gary Martin's message of 2011-10-31 19:41:21 +0100: - On reboot the Journal now shows 3 corrupt entries (see attached screen shot) with no name and unknown metadata. None of the three entries allow invoking the details view or raise their palette so can not be erased via the

[Sugar-devel] Journal choking on invalid / missing metadata (was: Re: 11.3.0 release candidate 4 (build 883) released)

2011-11-01 Thread Sascha Silbe
Excerpts from Gonzalo Odiard's message of 2011-11-01 13:09:55 +0100: [Trimmed the CC list to spare others from the gory details] Reproduced here, datastore.log does not show anything, but shell.log show: [...] Thanks! Can you file a ticket at bugs.sl.o (if you use the link from my previous

Re: [Sugar-devel] sugar-toolkit-gtk3 plans

2011-10-29 Thread Sascha Silbe
Excerpts from Daniel Drake's message of 2011-10-29 12:12:54 +0200: If we get things into good shape, we are planning to commit all this to master tomorrow evening. We have already made lots of progress including a somewhat functional theme and a major palette-related headache solved. Code and

[Sugar-devel] [PATCH sugar-toolkit PoC] taphold for Palettes

2011-10-29 Thread Sascha Silbe
interaces. This patch is a hack to add taphold support to Sugar palettes for evaluation purposes. The real thing (TM) should hook into GTK instead in order to make it work beyond just Sugar palettes. Signed-off-by: Sascha Silbe si...@activitycentral.com --- src/sugar/graphics/palettewindow.py | 88

Re: [Sugar-devel] [PATCH v4 sugar] Journal: don't fail to load if an activity icon is broken (fixes SL#3200)

2011-10-24 Thread Sascha Silbe
Excerpts from Sascha Silbe's message of 2011-10-18 17:32:03 +0200: If the activity-provided icon could not be loaded, the Journal previously died on start-up, rendering Sugar effectively unusable. Now we fall back to the standard icon (in the What filter combo box). SL#3203 has been filed to

Re: [Sugar-devel] [PATCH sugar] Make sure we use the Sugar cursor in the intro screen, OLPC #10712

2011-10-24 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2011-10-18 17:37:17 +0200: As stated in the ticket Metacity sets the cursor after it's startup, so we need to make sure Metacity is already running before we set the cursor. This is what the current code has been doing. We do show the intro screen

Re: [Sugar-devel] [PATCH] Disable the search entry in the activities list view and in the Journal - SL #3205

2011-10-24 Thread Sascha Silbe
Excerpts from godiard's message of 2011-10-20 17:03:46 +0200: If not disabled, a entry appear over the treeview at bottom, right when the user type something and the widget have focus. The ObjectChooser use the same object than the Journal. What happened to the idea of using

<    1   2   3   4   5   6   7   8   9   10   >