[Sugar-devel] Stepping down as Sugar maintainer

2013-01-06 Thread Sascha Silbe
Hello everyone, I am stepping down as maintainer for Sugar and some related services. This is mostly due to lack of time, but even if I had more of that to spare for Sugar, the way I work is sufficiently different from that of the most active contributors that I'd do more harm than good. For some

Re: [Sugar-devel] Adventures in the land of ENOSPC

2012-09-15 Thread Sascha Silbe
Martin Langhoff writes: > 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 not start again, etc. Oh, btw, it was with Browse". I agre

[Sugar-devel] [PATCH sugar] Add support for connecting to shared upstream network connections via Ad-hoc

2012-09-15 Thread Sascha Silbe
networks is "Ad-hoc Network ". 2. Upstream network connections shared by Dextrose (and probably future Sugar upstream versions). These use an SSID of " network". For any other network, we'll try DHCP, just in case it's an ad-hoc network created with nm-apple

Re: [Sugar-devel] [DESIGN] Views: search behavior

2012-08-28 Thread Sascha Silbe
Simon Schampijer writes: > - if you did a search in View A and then switch to View B the search > from A will not be applied in B, if you switch back to A the search you > did before in A has been cached and is still applied (behavior before > 0.97.2) IMO this makes the most sense to the user

Re: [Sugar-devel] [DESIGN] Journal: confirmation before erasing/duplicating an entry

2012-08-21 Thread Sascha Silbe
Gary Martin writes: > Duplicate > Do you want to duplicate ? ((x) Cancel > ((√) Duplicate) For erasing Activities and Journal entries, a confirmation alert is important as there's no way to recover from a mistake. For Duplicate, however, it's easy to just delete the new entry.

Re: [Sugar-devel] [DESIGN] higher-resolution thumbnails

2012-08-21 Thread Sascha Silbe
Gary Martin writes: > +1 though this is raises the question of what resolution would be good > enough. Ideally we would store images at the full display resolution, > and try to minimise the storage space tradeoff by being more > aggressive on compression. +1 on storing in native display size. F

Re: [Sugar-devel] [PATCH sugar] Example objects support

2012-08-21 Thread Sascha Silbe
Martin Abente Lahaye writes: [src/jarabe/journal/volumestoolbar.py] [_set_up_activities_examples()] [...] > +activities = [] > +for home_activity in home_model._activities: > +if home_activity.is_journal(): > +continue > + > +activity_name =

Re: [Sugar-devel] [REMINDER] Development team meeting --- 21 August 2012 (15:00 UTC)

2012-08-21 Thread Sascha Silbe
Simon Schampijer writes: > - - review process and code acceptance policy [1] Sascha [1] message-id:"toek3x5b15n@mimosa.sascha.silbe.org" https://lists.sugarlabs.org/archive/sugar-devel/2012-August/thread.html#38893 -- http://sascha.silbe.org/ http://www.infra-silbe.de/ pgpuiI2Hcu5

Re: [Sugar-devel] Maintenance, reviews, QA & co

2012-08-21 Thread Sascha Silbe
Simon Schampijer writes: >> VI. Accept patches into mainline that are likely to increase the number >> of contributors using Sugar themselves (A) or to increase their >> usage of Sugar, even if the patch doesn't directly benefit the XO >> target user base. It should not have a

Re: [Sugar-devel] [PATCH sugar] Frame: reveal Palette on left click for device, friends and clipboard items v2

2012-08-21 Thread Sascha Silbe
Simon Schampijer writes: > As well the clipboard icons will reveal now the Palette on left > click. This is also true when selecting a clipboard item. Technically we > have to listen to the 'button-release-event' of the child widget > as the RadioToolButton does only emit a clicked signal. Using

Re: [Sugar-devel] [DESIGN] unfocus search entries in Views and the Journal

2012-08-21 Thread Sascha Silbe
Simon Schampijer writes: > I would suggest the following new behavior: > > - the entry is unfocused by default, the canvas is focused > > - the entry contains a hint (e.g. "Search in your Journal..."), adding a > placeholder text is available in GTK+3.2 [2] > > - when the user starts typing the

[Sugar-devel] Maintenance, reviews, QA & co

2012-08-11 Thread Sascha Silbe
Dear Sugar Labs members, == Executive Summary == The current review process isn't a good fit for the current Sugar contributors and causes a lot of frustration on both sides. There are better ways to reach the same goals. The two major changes to the review process I'll propose in this email are

Re: [Sugar-devel] [HELP] Shell port to GTK3+: Removing hardcoded styles-- facing issue

2012-08-10 Thread Sascha Silbe
Kartik Kumar writes: > Then I made changes to aboutcomputer/view.py to load the CSS: (changes are > highlighted in bold): Diffs are usually easier to read, especially in MUAs that don't render font attributes for HTML mails. If you want all of the previous code to be included in the diff, you ca

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

2012-08-07 Thread Sascha Silbe
same keys as Gnome 2 [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

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

2012-08-07 Thread Sascha Silbe
minor change over v4 that doesn't affect the behaviour (including UI layout). Sascha Silbe (3): Properly wrap labels in the Network Control Panel (GTK#318276 workaround) Add proxy configuration support to Network Control Panel sugar-session: export manual Gnome proxy settings as $http_

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

2012-08-07 Thread Sascha Silbe
d-off-by: Sascha Silbe --- v4->v5: no changes original version->v4: Add support for no_proxy, some minor changes bin/sugar-session| 29 + extensions/cpsection/network/view.py | 34 +- 2 files changed, 62 inser

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

2012-08-07 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 --- v5->v4: no changes v4: introduced this patch into the series extensions/cpsection/network/view.py |

Re: [Sugar-devel] [PATCH sugar 1/7] SugarEventIcon: Add a hippo-free implementation of the CanvasIcon

2012-08-06 Thread Sascha Silbe
ly too bad, but I am pretty sure that > gtk.EventBox.set_visible_window(False) should work fine here. Doesn't look that way to me: <> So for the original patch: Acked-by: Sascha Silbe Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/

Re: [Sugar-devel] [PATCH sugar 6/7] Remove hippo mentions

2012-08-06 Thread Sascha Silbe
Simon Schampijer writes: [docs/controls.txt] > It is a spec. I would leave it and someone can look at updating it or > remove it. But has not to be decided in this patch series. OK, let's just merge Daniel's patch as-is then: Acked-by: Sascha Silbe Sascha -- http://sascha

Re: [Sugar-devel] [PATCH sugar 7/7] Drop unused intro.py

2012-08-06 Thread Sascha Silbe
Simon Schampijer writes: [src/intro/intro.py] > It has been moved a long time ago, outside this patch series. I guess > Daniel came across this when grepping for hippo. OK. Please mention in the commit message that it has been unused since 1f91f7f7afd34143721ac66936546e950369. Sascha -- h

Re: [Sugar-devel] [PATCH sugar 3/7] Views: Replace the hippo based layout with one using GTK+ containers

2012-08-06 Thread Sascha Silbe
Simon Schampijer writes: [...] > src/jarabe/desktop/transitionbox.py | 50 + > src/jarabe/journal/detailview.py | 73 +++ [...] [src/jarabe/desktop/Makefile.am] > @@ -15,4 +15,5 @@ sugar_PYTHON = \ > schoolserver.py \ > snowflakel

Re: [Sugar-devel] [PATCH sugar 0/7] Remove last hippo occurrences from the shell

2012-08-06 Thread Sascha Silbe
Simon Schampijer writes: > This is a patch series to make the Sugar shell hippo free. Based on the > work that has been done in [1] and [2]. It incorporates the patch from > Sascha to move the EventIcon into the shell temporary. [...] Thanks for the patch series and especially for the detailed

Re: [Sugar-devel] [PATCH sugar 5/7] Move SpreadLayout logic to favoriteslayout.py

2012-08-06 Thread Sascha Silbe
Simon Schampijer writes: > From: Daniel Narvaez > > The SpreadLayout derives now from the ViewLayout. The ViewLayout > has a grid by default and the allocation happens here as well. I don't see any code moves in this patch, just removal. Like for "Drop unused intro.py" (7/7), the removal should

Re: [Sugar-devel] [PATCH sugar 7/7] Drop unused intro.py

2012-08-06 Thread Sascha Silbe
Simon Schampijer writes: > From: Daniel Narvaez > > It was moved inside jarabe and ported to GTK+. This file should be removed in the same patch that added the code to jarabe, so that the code movement can easily be tracked and the actual code changes be examined. Sascha -- http://sascha.silb

Re: [Sugar-devel] [PATCH sugar 6/7] Remove hippo mentions

2012-08-06 Thread Sascha Silbe
decide to keep the file for some reason: Acked-by: Sascha Silbe Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/ pgpvzWTpZ4aUc.pgp Description: PGP signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists

Re: [Sugar-devel] [PATCH sugar 2/7] ControlPanel AboutMe section: use the EventIcon from the shell

2012-08-06 Thread Sascha Silbe
Simon Schampijer writes: > We had a similar implmentation of the EventIcon in this section, now > we can reuse the one from the shell. Once the EventIcon patch has been merged: Acked-by: Sascha Silbe Thanks for the clean-up! Sascha -- http://sascha.silbe.org/ http://www.infra-si

Re: [Sugar-devel] [PATCH sugar 1/7] SugarEventIcon: Add a hippo-free implementation of the CanvasIcon

2012-08-06 Thread Sascha Silbe
Simon Schampijer writes: > The icon consists of an GtkEventBox and an IconBuffer. The > GtkEventBox is a subclass of GtkBin which has its own window > and therefor is used to catch events for our IconBuffer > which does not have it's own window. [...] This is fine from my side, but as discussed

Re: [Sugar-devel] [PATCH sugar 4/7] Journal: set white background in the ExpandedEntry of the Detail View

2012-08-06 Thread Sascha Silbe
Simon Schampijer writes: > Change the ExpandedEntry class to subclass gtk.EventBox because the > gtk.VBox doesn't have a gtk.gdk.Window associated and the background > can't be set otherwise. Is this a bug affecting current mainline master or is it a result of applying one of the other patches i

Re: [Sugar-devel] How to have "CellRenderer.props" take effect, without a UI refresh?

2012-07-30 Thread Sascha Silbe
Ajay Garg writes: >> [adding short-circuit logic to >> jarabe.journal.listview.BaseListView.refresh()] [...] >> What we should do is enhancing the logic to >> >> a) just redraw instead of querying the back-end again for changes we >>triggered ourselves and / or >> b) update our model based on

Re: [Sugar-devel] Help activity future

2012-07-30 Thread Sascha Silbe
Gonzalo Odiard writes: > I was looking at Mallard, but I didn't wanted impose over the people > writing the content, the charge of learning a new markup. > > For us, is difficult found people available to write the content, > (the last full manual is from Sugar 0.82) > then, I think we should try

[Sugar-devel] [PATCH sugar 2/2] Switch to private implementation of EventIcon

2012-07-24 Thread Sascha Silbe
EventIcon will only be used by the non-hippo-canvas GTK2 version of sugar, but neither by the GTK3 version of sugar nor by any Activity. Shipping EventIcon as part of sugar removes the need to rely on an unreleased version of sugar-toolkit. Signed-off-by: Sascha Silbe --- extensions/cpsection

[Sugar-devel] [PATCH sugar 0/2] Move EventIcon to sugar

2012-07-24 Thread Sascha Silbe
en by the hippo-canvas removal project, not a change to sugar. Sascha Silbe (1): Switch to private implementation of EventIcon Simon Schampijer (1): SugarEventIcon: Add a hippo-free implementation of the CanvasIcon extensions/cpsection/aboutme/view.py |3 +- src/jarabe/de

[Sugar-devel] [PATCH sugar 1/2] SugarEventIcon: Add a hippo-free implementation of the CanvasIcon

2012-07-24 Thread Sascha Silbe
garIcon and the SugarEventIcon. This patch is highly based on the work from Walter Bender, Daniel Drake and Raul Gutierrez Segales. Signed-off-by: Simon Schampijer [moved from sugar-toolkit to sugar] Signed-off-by: Sascha Silbe [1] http://developer.gnome.org/gtk/2.24/GtkEventBox.html [2] http:

Re: [Sugar-devel] How to have "CellRenderer.props" take effect, without a UI refresh?

2012-07-24 Thread Sascha Silbe
Ajay Garg writes: [toggling favourite star causes a "listview-refresh"] >> What exactly do you mean by "listview-refresh"? Do you mean a) a redraw >> of the current content or b) some operation that causes us to query the >> data store (or file system)? > > By refresh, I mean to say that the data

Re: [Sugar-devel] How to have "CellRenderer.props" take effect, without a UI refresh?

2012-07-24 Thread Sascha Silbe
Ajay Garg writes: > This piece of code works as expected, and the toggling-UI-effect takes > place as soon as the star/favorite-icon is clicked (that is, the > mouse-pointer need not be hovered away). > But note that, there is listview-refresh involved after each toggling of > the star/favorite-i

Re: [Sugar-devel] [ANNOUNCE] Design meeting Wednesday July 18th 2012 - 15:00 UTC 1hr

2012-07-16 Thread Sascha Silbe
Gary C Martin writes: > It's time to start reviving the IRC Design Meetings for the next Sugar > release cycle! Thanks for restarting the Design Team meetings! [...] > Time: Wednesday July 18th 2012 - 15:00 UTC for 1hr > Place: #sugar-meeting Unfortunately, I'm unavailable on Wed+Thu (always,

Re: [Sugar-devel] GSM string question

2012-07-16 Thread Sascha Silbe
Chris Leonard writes: > Can someone please explain the purpose of these GSM strings? > > In Sugar 0.94, they did *NOT* say (DEPRECATED/UNUSED), but in Sugar > 0.96 and Sugar 0.97, they say (DEPRECATED/UNUSED) > > If they are really deprecated or unused, why are we still carrying > them in the UI?

Re: [Sugar-devel] [PATCH sugar] Drop the sugar-ui-check script

2012-07-04 Thread Sascha Silbe
Daniel Narvaez writes: > Subject: Re: [Sugar-devel] [PATCH sugar] Drop the sugar-ui-check script > From: Daniel Narvaez > > This was used by the old buildbot implementation. Now it's unused > and it's not working anymore anyway. Thanks for the patch! Pushed with slightly modified description as

Re: [Sugar-devel] Enable gnome-keyring to autostart in sugar-emulator

2012-07-04 Thread Sascha Silbe
Gonzalo Odiard writes: > Why is > > Signed-off-by: Caspar Bothmer > > if the patch was done by Daniel? Because Caspar changed the patch. See the kernel patch submission guide [1], section 12) Sign your work: >> [...] Rule (b) allows you to adjust the code, but then it is very >> impolite to ch

Re: [Sugar-devel] Enable gnome-keyring to autostart in sugar-emulator

2012-07-04 Thread Sascha Silbe
Daniel Narvaez writes: > Thanks. Can you please push the patch with updated log? Pushed as f0ee9e9 [1] to master. AFAIK (and the commit message doesn't state the opposite), it doesn't fix any user-visible issue, so I haven't pushed to the stable branch (sucrose-0.96). Sascha [1] http://git.su

Re: [Sugar-devel] Enable gnome-keyring to autostart in sugar-emulator

2012-07-04 Thread Sascha Silbe
Daniel Narvaez writes: > Thanks. Can you please push the patch with updated log? We will do that today. Thanks again for the patch and for your patience. This change wasn't quite as simple as it looks; it took us some time to understand the root cause of the bug and sorting out the details (we t

Re: [Sugar-devel] [PATCH sugar-toolkit] presence: use RoomConfig1 to configure channel properties (#3629)

2012-07-03 Thread Sascha Silbe
Daniel Drake writes: > On Tue, Jul 3, 2012 at 8:04 AM, Sascha Silbe > wrote: >> It seems the if/elif blocks and the else block now handle cases that are >> different in nature. While if block vs. elif block distinguishes between >> the versions of Telepathy in use,

Re: [Sugar-devel] [PATCH sugar-toolkit] presence: use RoomConfig1 to configure channel properties (#3629)

2012-07-03 Thread Sascha Silbe
Daniel Drake writes: [...] > However, as of Telepathy-0.24.0, these properties have gone away. > > http://telepathy.freedesktop.org/spec/Channel_Type_Text.html > Changed in 0.24.0. This interface used to have a bunch of clunky > Telepathy.Properties. They have been removed in favour o

Re: [Sugar-devel] [PATCH sugar-toolkit] presence: use RoomConfig1 to configure channel properties (#3629)

2012-07-02 Thread Sascha Silbe
Daniel Drake writes: > This code was still using regular Telepathy properties to > set important configuration such as Anonymous=False. > > However, as of Telepathy-0.24.0, these properties have gone away. [...] > Fixes sharing of activities over gabble on new platforms such > as Fedora 17. What

Re: [Sugar-devel] sugarless.py Implode version

2012-07-02 Thread Sascha Silbe
James Cameron writes: > On Thu, Jun 28, 2012 at 11:36:25AM -0300, Gonzalo Odiard wrote: >> +1 to keep the sugarless version working. >> In the future, I hope we have more activities working in Gnome too. > > I would like to see every activity as a menu option in the GNOME > menus. ;-} Then you

Re: [Sugar-devel] test automation

2012-07-02 Thread Sascha Silbe
Sridhar Dhanapalan writes: > I am keen to explore ways to improve the quality and delivery time of > code. Is there any work being done to automate testing of code? Yes, I've been working on this whenever I have time. We already have a data store test suite [3-5] and a semi-automated set of test

Re: [Sugar-devel] Passphrase must be re-entered when XO loses then regains wifi connection

2012-06-26 Thread Sascha Silbe
Ajay Garg writes: > NM may (re-)request the secrets in the following cases :: > > a) > Wifi connection is lost. (Yes, even if the AP is switched off permanently, > the dialog-box keeps popping up periodically). > > b) > After being lost, the wifi connection is again within the range. > > c) > Whe

Re: [Sugar-devel] [PATCH sugar] Unset gnome keyring environment variables

2012-06-26 Thread Sascha Silbe
Simon Schampijer writes: > Thanks Daniel for the patch. > > Looks good to me and reading the bug conversation this looks like the > right thing to do to me. > > Sascha, you said you wanted to adjust some description? Yes, the review showed the actual code change to be good, but the issue is com

Re: [Sugar-devel] Sugar Digest 2012-06-23

2012-06-25 Thread Sascha Silbe
Walter Bender writes: > == Sugar Digest == > > 5. Daniel Francis, a youth from Uruguay, has joined Developer Team > meetings and will be mentored by Sascha Silbe in reviewing patches to > Sugar itself. A nice example for other aspiring contributors. The nice flurry of new contri

Re: [Sugar-devel] Passphrase must be re-entered when XO loses then regains wifi connection

2012-06-25 Thread Sascha Silbe
Anish Mangal writes: > The issue of sugar prompting users to enter wifi passphrase after a > connection is broken and is re-established[1] has been in Sugar/OLPC > for some time. > > The purpose of this email is to understand the causes of this: It's a long-standing NetworkManager issue. See the

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

2012-06-05 Thread Sascha Silbe
Sascha Silbe writes: > 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? Ping. Sascha -- http://sascha.silbe.org/

Re: [Sugar-devel] [PATCH sugar] Set the SUGAR_LANGPACKDIR env variable when reading the GConf key, part of SL #3654

2012-06-05 Thread Sascha Silbe
Simon Schampijer writes: > We can not mix static and dynamic gconf bindings in one process, > | > export path as env variable so it can be read by sugar-activity > when launching the activity. This patch series would have been easier to review if it had been a single thr

Re: [Sugar-devel] 0.96 Change?

2012-06-05 Thread Sascha Silbe
Art Hunkins writes: > I notice that for Sugar 0.96 it seems necessary, in copying a file from the > Terminal to a USB stick, to do: > cp myfile.py /run/media/liveuser/myUSB/myfile.py (perhaps I've got > liveuser and myUSB reversed) > instead of the much simpler (in 0.94 and before): > cp my

Re: [Sugar-devel] Object Chooser (was Re: Etoys mp3 files)

2012-06-05 Thread Sascha Silbe
Ajay Garg writes: > a) > As mentioned in one of the earlier emails, 'get_properties' method needs to > succeed to open a journal/external-USB-drive object. > So, my query is : is the end-result just opening of the file (from > journal/external-USB-drive), or something more too ? get_properties()

Re: [Sugar-devel] Object Chooser

2012-06-05 Thread Sascha Silbe
Bert Freudenberg writes: > On 04.06.2012, at 14:13, Bert Freudenberg wrote: > >> So you're saying that in the response, the second argument would more >> properly be named object_id_or_full_path. And to distinguish the two >> cases, we have to look at its first character: if it is '/' then it's >

Re: [Sugar-devel] Etoys mp3 files

2012-06-04 Thread Sascha Silbe
Ajay Garg writes: > As seen from the logs, the (mp3) file that was opened, was present in a USB > pen drive. > ANY ENTRY, when accessed via USB-pen-drive, will give this error (i.e. mp3, > jpeg, png - any file). Can you give more details, please? I can't reproduce the problem with Read on mainli

Re: [Sugar-devel] [ASLO] Release Terminal-38

2012-06-01 Thread Sascha Silbe
Gonzalo Odiard writes: > I think is not a good idea publish a activity with serious regressions like > this. +1 Anyone interested in the current state of development can clone the git repository and use "./setup.py dev". For everybody else it's going to be a rather bad surprise. Especially sinc

Re: [Sugar-devel] [PATCH Write] Optional data when it exports a file SL #2795

2012-05-30 Thread Sascha Silbe
Manuel Kaufmann writes: > 'keep' and 'share-scope' are optional metadata for the activity metadata, so > we > should use them only if they are set before and if not we should use default > values for them. This patch fixes it. [...] Reviewed-By:

Re: [Sugar-devel] Lists in foreign languages (was Port Gtk 3 (Chat.activity))

2012-05-30 Thread Sascha Silbe
fors...@ozonline.com.au writes: > http://fedoraproject.org/wiki/Mailing_list_guidelines#Use_the_common_language > http://tech.groups.yahoo.com/group/editplus/message/5510 +1 Like James I usually don't read non-English posts (with no English translation included), though less because of concerns

Re: [Sugar-devel] [ASLO] Media mount point

2012-05-30 Thread Sascha Silbe
Alan Jhonn Aguiar Schwyn writes: > And the "back compatibility" ??And all the activities/programs that > search in /media ?? > ___ They should use proper API (gio on recent distros, HAL on old OLPC OS builds) rather than hardcoding paths. Check out the

Re: [Sugar-devel] [PATCH Sugar] Set favourites layout to RingLayout if it's not set in gconf SL #3652

2012-05-29 Thread Sascha Silbe
Manuel Quiñones writes: > Thanks, I see, seems that my gconf setup is wrong because is returning > None for that key. This is in sugar-jhbuild [...] There's a good chance you're running into Gnome#664031. GConf 3.2.4+ has my fix. Sascha [1] https://bugzilla.gnome.org/show_bug.cgi?id=664031 --

[Sugar-devel] bundlebuilder broken without git (was: Re: [Release] Clock-8)

2012-05-29 Thread Sascha Silbe
James Cameron writes: > However, testing using the StopWatch activity directory showed that > Sugar still wanted git to be installed, and the directory to be a git > repository as well before setup.py would run the dist_xo target. It seems the fix for that somehow got through the cracks. I ack'e

Re: [Sugar-devel] [PATCH Sugar] Set favourites layout to RingLayout if it's not set in gconf SL #3652

2012-05-29 Thread Sascha Silbe
Manuel Quiñones writes: > This prevent crashing jhbuild's sugar emulator startup if there is not > a gconf setting for '/desktop/sugar/desktop/favorites_layout'. We already set a default for favorites_layout in sugar.schemas (data/sugar.schemas.in). If you're getting None, your gconf setup is br

Re: [Sugar-devel] [PATCH Sugar] Inhibit power suspend while playing text to speech - OLPC #11830

2012-05-22 Thread Sascha Silbe
Sascha Silbe writes: [...] > 1. UPower API > >UPower has a D-Bus API to set "latency requirements" [1,2]. The >UPower back-end code uses the kernel PM QoS interface [3] to set the >requested CPU (DMA) latency (in µs, up to ~35 minutes) and network >t

[Sugar-devel] Closing audio devices on activity switch (was: Re: [PATCH powerd] audio inhibit support)

2012-05-22 Thread Sascha Silbe
[CC'ing sugar-devel as this is about Activity development] Walter Bender writes: [Closing the audio device when switching from Measure to something else] >> What about non-sugarised audio players? Jukebox seems to be broken, so >> someone using a Gnome application (e.g. Rhythmbox) instead would

Re: [Sugar-devel] [PATCH Sugar] Inhibit power suspend while playing text to speech - OLPC #11830

2012-05-21 Thread Sascha Silbe
Gonzalo Odiard writes: [...] > That is a complete nonsense to me. [...] I'm not going to reply to your mail in detail because it wasn't constructive in any way; I even felt it to be slightly ad-hominem. See my other mails (including a patch, and maybe another one later today or tomorrow) for th

Re: [Sugar-devel] [PATCH Sugar] Inhibit power suspend while playing text to speech - OLPC #11830

2012-05-21 Thread Sascha Silbe
[CC'ing devel@l.l.o because it touches operation of low-level software components on OLPC OS] Paul Fox writes: > the problem is that there's no good operating system mechanism that > powerd can use to know that audio is truly in use. > > it's possible to know that the audio device has been open

Re: [Sugar-devel] Dr.Geo on XO 1

2012-05-20 Thread Sascha Silbe
Bert Freudenberg writes: > Nope, that was not it. I compiled with -mtune=geode, makes no > difference. Make sure to set -march= to something appropriate. -march tells gcc what instructions it can use (so anything that doesn't support these instructions will fail to run the resulting executable),

Re: [Sugar-devel] [PATCH InfoSlicer] Change encoding to UTF8 SL #3607

2012-05-15 Thread Sascha Silbe
Manuel Kaufmann writes: > I had to change the encoding to UTF8 of xol.py because it was DOS and [...] AFAICT what you did was changing the line endings from DOS style (CRLF) to Unix style (LF-only). That didn't survive the round trip through email, BTW: I don't see any actual change, just exactl

Re: [Sugar-devel] [PATCH Sugar] Inhibit power suspend while playing text to speech - OLPC #11830

2012-05-15 Thread Sascha Silbe
Gonzalo Odiard writes: > Using powerd-inhibit-suspend directory is how ALL the activities are > working today, Quantity isn't the same as quality. That everybody is doing it doesn't make it suddenly a good idea. Quite the contrary, as platform developers we have the responsibility to take the l

Re: [Sugar-devel] [PATCH 1/6] Update test activity.info

2012-05-14 Thread Sascha Silbe
"=?UTF-8?q?Manuel=20Qui=C3=B1ones?=" writes: > Signed-off-by: Manuel Quiñones "Update test activity.info" isn't really anything useful. The same kind of information is available directly from git. You should mention what you changed and why. E.g.: {{{ Replace deprecated activity.info fields s

Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-05-14 Thread Sascha Silbe
"Eduardo H. Silva" writes: > I have a question, could activities add new entries to the semantic > datastore? For example, Paint and Write when installed would add these > items: > > Painted a picture of,IsActionOf,Paint > Wrote,IsActionOf,Write > > Then you could use this information to be used

Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-05-14 Thread Sascha Silbe
Ran "redstore -v" in a separate xterm. Sugar (latest mainline master) starts up fine, but trying to resume a file from external storage (USB stick) fails with the following errors: shell.log: {{{ 1337031865.456647 DEBUG root: get_file asked for file with path '/media/Debian Inst/Jou

Re: [Sugar-devel] [PATCH Sugar] Inhibit power suspend while playing text to speech - OLPC #11830

2012-05-14 Thread Sascha Silbe
godi...@sugarlabs.org writes: > To avoid stoping playing the text when the xo go to sleep. > This patch creates a file in /var/run/powerd-inhibit-suspend/ > and remove it when finish. /var/run/powerd-* is an implementation detail of a particular downstream implementation of power management (name

Re: [Sugar-devel] Wanting to know a bit of (NetworkManager) workflow upon resume-from-suspend

2012-05-14 Thread Sascha Silbe
Paul Fox writes: > yes. i think we hope there won't actually be any more of those, but > if there are, that patch will be there. Great, thanks! Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/ pgpHKRhP9wUQ2.pgp Description: PGP signature ___

Re: [Sugar-devel] Wanting to know a bit of (NetworkManager) workflow upon resume-from-suspend

2012-05-14 Thread Sascha Silbe
Ajay Garg writes: > I tried once again the "Case 2"; and upon resume-from-suspend, the > icons appeared fine at my end. OK, that's good and bad. Good in the sense that my patch may not be to blame; bad in that you encountered a problem that couldn't be reproduced. It may come back later and bite

Re: [Sugar-devel] [PATCH Log 2/2] Log collector adds user's logs and list installed activities

2012-05-14 Thread Sascha Silbe
Manuel Kaufmann writes: > On Sun, May 13, 2012 at 8:51 AM, Sascha Silbe > wrote: >> This won't work if Sugar isn't installed in /usr (e.g. when using >> sugar-jhbuild). > > Why do you say this won't work? > > If the user doesn't have any acti

Re: [Sugar-devel] XO names when sharing with server

2012-05-14 Thread Sascha Silbe
David Leeming writes: > ? Did you use freshly-installed clients (XO-1s) or did you retain any data > From previous installations (either by upgrading or restoring from backup > after flashing)? > > Yes, newly installed clients and server. But let me confirm that again in a > couple of days when I

Re: [Sugar-devel] [PATCH v2 Terminal] Prevent Sugar capture z and q send them to vte SL #3222 OLPC #11836 Used the same approach than the solution for the Escape capture when the activity

2012-05-13 Thread Sascha Silbe
Manuel Kaufmann writes: > On Thu, May 10, 2012 at 11:05 AM, Manuel Quiñones wrote: >> Tested-by: James Cameron > > I tested this patch and it works. Thanks for testing! If you put a Tested-By: line similar to James' in your mail, Patchwork [1] will pick it up automatically and if the maintaine

Re: [Sugar-devel] [PATCH Log 2/2] Log collector adds user's logs and list installed activities

2012-05-13 Thread Sascha Silbe
Manuel Kaufmann writes: [logcollect.py] > @@ -229,10 +229,11 @@ class MachineProperties: > > def installed_activities(self): > s = '' > -for path in glob.glob('/usr/share/activities/*.activity'): > +for path in glob.glob('/usr/share/sugar/activities/*.activity'):

Re: [Sugar-devel] XO names when sharing with server

2012-05-13 Thread Sascha Silbe
David Leeming writes: > I am sure this has been covered before, but would appreciate a reference to > the thread... This is the relevant ticket: SL#2355 [1]. Did you use freshly-installed clients (XO-1s) or did you retain any data From previous installations (either by upgrading or restoring fr

Re: [Sugar-devel] Unit testing an activity

2012-05-07 Thread Sascha Silbe
"Taylor Rose (RIT Student)" writes: > Does anyone have advice about how to run unit tests for an activity? I am > working on a video conferencing activity called Open Video > Chat. > I'd like to be able to run some basic unit tests on the activity but I

[Sugar-devel] [PATCH v3 sugar-datastore 2/2] Add API to check/wait for index rebuild to finish (SL#1160)

2012-05-01 Thread Sascha Silbe
and providing inconsistent API. This patch provides a reasonable middle ground that we can build on. If or when data store rebuilds happen rarely in the field, we can still switch to blocking at start-up. [1] https://bugs.sugarlabs.org/ticket/1160 [2] https://bugs.sugarlabs.org/ticket/1546 Signe

[Sugar-devel] [PATCH v3 sugar-datastore 0/2] consistent search results

2012-05-01 Thread Sascha Silbe
t) is that it can produce inconsistent results in some cases. Sascha Silbe (2): find(): fix sort order in ambiguous cases Add API to check/wait for index rebuild to finish (SL#1160) src/carquinyol/datastore.py | 38 ++ src/carquinyol/indexstore.py |

[Sugar-devel] [PATCH v3 sugar-datastore 1/2] find(): fix sort order in ambiguous cases

2012-05-01 Thread Sascha Silbe
asing Xapian document id in the matching direction. Signed-off-by: Sascha Silbe --- v2->v3: Better handling of unsupported order_by values, as pointed out by Simon src/carquinyol/indexstore.py |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ca

[Sugar-devel] [ANNOUNCE] bugs.sl.o (Trac): added component name to notification mail subject

2012-04-24 Thread Sascha Silbe
Hello everyone, I've modified the subject line of Trac notification emails to include the name of the component the ticket was filed against. This should help scanning the notification emails, both visually and automatically (tagging). Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.d

Re: [Sugar-devel] sugar.po string change

2012-04-24 Thread Sascha Silbe
Excerpts from Chris Leonard's message of 2012-04-24 07:33:37 +0200: > Why did this change land in glucose 0.94 sugar.po instead of glucose > 0.95 sugar.po ? > > > ../src/jarabe/desktop/keydialog.py:94 > A wireless encryption key is required for\n > the wireless network '%s'. It already land

Re: [Sugar-devel] [Sugar] Show a clean error in log if not libraries needed to do tts - SL #3345

2012-04-23 Thread Sascha Silbe
Excerpts from godiard's message of 2012-03-09 19:44:08 +0100: > From: Gonzalo Odiard How about this for a patch summary and description: Handle missing gst-plugins-espeak gracefully (fixes SL#3345) The text-to-speech support in Sugar (jarabe.model.speech) depends on gst-plugins-espeak [1]. Whi

Re: [Sugar-devel] [PATCH sugar] Create a default unencrypted keyring, OLPC #10290

2012-04-23 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2012-04-16 12:33:05 +0200: > This patch does create an ununcrypted default keyring > if there is not one available already. This will stop > prompts for unlocking the keyring after logging into > Sugar. > > In GNOME the session manager deals with creati

Re: [Sugar-devel] [PATCH] When a object is removed from the clipboard try, select the last available v2 - SL #1266

2012-04-23 Thread Sascha Silbe
Excerpts from godiard's message of 2012-04-20 16:35:52 +0200: > From: Gonzalo Odiard > More context would be useful. I had to read the ticket to understand what this patch is about. > v2: If there no more objects in the try, clean the clipboard Please put the changelog below the marker line

Re: [Sugar-devel] [PATCH] Only add one time every object in the clipboard v3 - SL #3371

2012-04-23 Thread Sascha Silbe
Excerpts from godiard's message of 2012-04-20 16:17:46 +0200: > This patch change the behaviour of the clipboard tray, > every object is added only one time, if already exist, > the already added object is selected. It's worth mentioning that even though the entry is just selected, we still trigg

Re: [Sugar-devel] [PATCH sugar] Don't treat SSID as UTF-8 character sequence (fixes SL#2023)

2012-04-17 Thread Sascha Silbe
Excerpts from Sascha Silbe's message of 2012-04-11 23:40:55 +0200: [embedded NUL in SSIDs] > Yes, that's the one case I wanted to test but couldn't (quickly) get > HostAP to do it. I'm now quite sure that with the current versions, I can't get either iwconfig (which can be used to set up a Prism

Re: [Sugar-devel] [PATCH sugar-0.94] Don't treat SSID as UTF-8 character sequence (fixes SL#2023)

2012-04-16 Thread Sascha Silbe
Excerpts from Sascha Silbe's message of 2012-04-10 20:39:18 +0200: > This is a backport of 7f8ba95a66780828531eba0494e004757bf45c71. [...] > This backport was not tested in any way. Tested: - filtering on ASCII and non-ASCII parts of the name of and connecting to: - an unsecured AP with a UTF-8

Re: [Sugar-devel] [PATCH sugar] Fix shortcut for view source

2012-04-16 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2012-04-16 10:42:39 +0200: [extensions/globalkey/viewsource.py] > -BOUND_KEYS = ['0xEC', 'v'] > +BOUND_KEYS = ['XF86KbdLightOnOff', 'v'] Is "Keyboard light on/off" really a key that we want to trigger View Source? Maybe it's what current OLPC images cal

Re: [Sugar-devel] Compiling sugar with jhbuild in Fedora 17

2012-04-15 Thread Sascha Silbe
Excerpts from Manuel Kaufmann's message of 2012-04-15 01:43:41 +0200: > I installed Fedora 17 in my Netbook, I ran "depscheck" and I installed > all the depencies to compile sugar but I'm getting this error: > > configure: error: Package requirements (telepathy-glib >= 0.11.9) were not > met: >

Re: [Sugar-devel] jhbuild in Ubuntu

2012-04-14 Thread Sascha Silbe
Excerpts from Manuel Kaufmann's message of 2012-04-14 09:19:48 +0200: > I've just installed Ubuntu 11.10 in my netbook and I tried to compile > Sugar on it. I'm getting this error: > > humitos@eulogia:~/sugar-jhbuild$ ./sugar-jhbuild depscheck > Warning: unknown distro version, automatic fallback

Re: [Sugar-devel] Running an activity through ssh

2012-04-13 Thread Sascha Silbe
Excerpts from Manuel Kaufmann's message of 2012-04-13 18:07:51 +0200: > I'm trying to run an Activity over "ssh -C -X" to my XO. [...] > Is there a way to do this? Sugar and the Gnome platform it builds on generally assume there's a single, local, graphical session. In particular, the D-Bus sessi

Re: [Sugar-devel] [PATCH sugar] Don't treat SSID as UTF-8 character sequence (fixes SL#2023)

2012-04-11 Thread Sascha Silbe
Excerpts from Martin Langhoff's message of 2012-04-10 21:43:20 +0200: > There is only one thing that still worries me. According to the spec, > the ESSID may also contain nulls in the middle of the array. I don't > know how NM handles such cases in its communication with nm-client via > d-bus. I d

Re: [Sugar-devel] [PATCH sugar] Fix Traceback when connecting to a network for the first time

2012-04-10 Thread Sascha Silbe
Excerpts from Sascha Silbe's message of 2012-04-10 21:18:29 +0200: > Thanks for the review! Pushed as 7f8ba95 [1] to master. Sorry, this should have read b0cd1c [2]. Sascha [2] https://git.sugarlabs.org/sugar/mainline/commit/b0cd1c99318f5fd95d254b263cd53b3f852c527a -- http://sascha.silbe.org/

Re: [Sugar-devel] [PATCH sugar] Don't treat SSID as UTF-8 character sequence (fixes SL#2023)

2012-04-10 Thread Sascha Silbe
Excerpts from Daniel Drake's message of 2012-04-03 19:22:52 +0200: > Had a quick read through the patch, looks good. Thanks for the review! Pushed as 7f8ba95 [1] to master. Backport to 0.94 prepared [2], but not tested yet. Sascha [1] https://git.sugarlabs.org/sugar/mainline/commit/7f8ba95a667

  1   2   3   4   5   6   7   8   9   10   >