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

2012-04-16 Thread Simon Schampijer
On 04/02/2012 06:40 PM, Sascha Silbe wrote: IEEE 802.11 [2] defines the SSID as a sequence of octets (i.e. bytes), but Sugar treated it as UTF-8 character data. While in most cases the SSID is actually some human-readable string, there's neither a guarantee for that nor does any (de-facto or de-j

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

2012-04-16 Thread Simon Schampijer
This is a follow up of 26df35b0c02881864d0f47782f8ff5b5ce5e187c, OLPC #11721. You can now use again 'fn+space' to reveal the source view of an activity. The keyname was determined using xev. Signed-off-by: Simon Schampijer --- extensions/globalkey/viewsource.py |2 +- 1 files changed, 1 inse

Re: [Sugar-devel] [PATCH] keyhandler: Use textual key names

2012-04-16 Thread Simon Schampijer
On 03/28/2012 11:40 PM, Peter Robinson wrote: On Tue, Mar 27, 2012 at 9:22 PM, Daniel Drake wrote: Conversion of 0x## keycodes is broken in libegg with recent GDK. Switch to the textual names of the keys in question to work around this bug, reference: https://bugzilla.gnome.org/show_bug.cgi?i

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

2012-04-16 Thread Simon Schampijer
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 creating that keyring. In the OLPC images we do create a default keyring on image creation

Re: [Sugar-devel] [PATCH] keyhandler: Use textual key names

2012-04-16 Thread Gary Martin
Hi Simon, On 16 Apr 2012, at 09:46, Simon Schampijer wrote: > On 03/28/2012 11:40 PM, Peter Robinson wrote: >> On Tue, Mar 27, 2012 at 9:22 PM, Daniel Drake wrote: >>> Conversion of 0x## keycodes is broken in libegg with recent GDK. >>> >>> Switch to the textual names of the keys in question to

Re: [Sugar-devel] [PATCH] keyhandler: Use textual key names

2012-04-16 Thread Simon Schampijer
On 04/16/2012 02:23 PM, Gary Martin wrote: Hi Simon, On 16 Apr 2012, at 09:46, Simon Schampijer wrote: On 03/28/2012 11:40 PM, Peter Robinson wrote: On Tue, Mar 27, 2012 at 9:22 PM, Daniel Drake wrote: Conversion of 0x## keycodes is broken in libegg with recent GDK. Switch to the textual

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

[Sugar-devel] [PATCH Maze] Allow collaboration (SL #3296)

2012-04-16 Thread Manuel Kaufmann
Replaced "get_buddy" function by "lookup_buddy" as suggested the Error message. In this version is not allowed to play with more than one player in each XO (using the gamepad keywords). This is because a known issue [1] and we can not handle the child's nick properly. The "mesh.PARTICIPANT_ADD" e

[Sugar-devel] new-patch

2012-04-16 Thread Ariel Calzada
>From b330bc11f58b82eaecbbd41224077da381e62408 Mon Sep 17 00:00:00 2001 From: Ariel Calzada Date: Mon, 16 Apr 2012 11:02:19 -0500 Subject: [PATCH] =?UTF-8?q?Added=20decode=20utf-8=20and=20normalize=20string?= =?UTF-8?q?=20for=20fixing=20bug=20in=20nick=20that=20don't=20display=20well?= =?UTF-8?

Re: [Sugar-devel] new-patch

2012-04-16 Thread Anish Mangal
On Mon, Apr 16, 2012 at 21:37, Ariel Calzada wrote: > > From b330bc11f58b82eaecbbd41224077da381e62408 Mon Sep 17 00:00:00 2001 > From: Ariel Calzada > Date: Mon, 16 Apr 2012 11:02:19 -0500 > Subject: [PATCH] =?UTF-8?q?Added=20decode=20utf-8=20and=20normalize=20string?= >  =?UTF-8?q?=20for=20fixin

Re: [Sugar-devel] [PATCH Maze] Allow collaboration (SL #3296)

2012-04-16 Thread Rafael Ortiz
On Mon, Apr 16, 2012 at 10:07 AM, Manuel Kaufmann wrote: > Replaced "get_buddy" function by "lookup_buddy" as suggested the Error > message. > > In this version is not allowed to play with more than one player in each XO > (using the gamepad keywords). This is because a known issue [1] and we can

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

[Sugar-devel] [PATCH] This patch fix the bug, accent nicknames are not displayed well

2012-04-16 Thread Ariel Calzada
This patch is for fixing the bug in the display of nicknames with accents like áéíóúñ --- player.py | 18 ++ 1 files changed, 10 insertions(+), 8 deletions(-) diff --git a/player.py b/player.py index 5e9e8db..a6636dc 100644 --- a/player.py +++ b/player.py @@ -8,17 +8,17 @@ #

[Sugar-devel] [PATCH] This patch fix the bug, accent nicknames are not displayed well

2012-04-16 Thread Ariel Calzada
This patch is for fixing the bug in the display of nicknames with accents like áéíóúñ in maze activity --- player.py | 18 ++ 1 files changed, 10 insertions(+), 8 deletions(-) diff --git a/player.py b/player.py index 5e9e8db..a6636dc 100644 --- a/player.py +++ b/player.py @@ -

Re: [Sugar-devel] [PATCH] This patch fix the bug, accent nicknames are not displayed well

2012-04-16 Thread Rafael Ortiz
On Mon, Apr 16, 2012 at 2:13 PM, Ariel Calzada wrote: > This patch is for fixing the bug in the display of nicknames with accents > like áéíóúñ > in maze activity > > --- > player.py | 18 ++ > 1 files changed, 10 insertions(+), 8 deletions(-) > > diff --git a/player.py b/player

Re: [Sugar-devel] [PATCH] Touchpad icon: update for upstream kernel API

2012-04-16 Thread Simon Schampijer
On 11/25/2011 09:10 PM, Daniel Drake wrote: The HGPK pentablet selection code has gone upstream, but with a different interface from the version included in previous OLPC kernels. The interface is now: echo -n pentablet> hgpk_mode Port the touchpad icon to this new API. Compatibility w

Re: [Sugar-devel] [PATCH] Touchpad icon: update for upstream kernel API

2012-04-16 Thread Daniel Drake
On Mon, Apr 16, 2012 at 1:48 PM, Simon Schampijer wrote: > This patch is needed now for latest kernel on the XO-1. Tested on the latest > 12.1.0 builds. OK, pushed with the changes noted earlier in the thread. Happy to act on the rest of Sascha's feeback if it solidifies. cheers Daniel _

[Sugar-devel] [ASLO] Release Read-99

2012-04-16 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4028 Sugar Platform: 0.96 - 0.96 Download Now: http://activities.sugarlabs.org/downloads/file/27974/read-99.xo Release notes: Initialize current page and number of pages in the toolbar - SL #3434 Updated pt translation Sugar Labs Activit

Re: [Sugar-devel] [PATCH] Touchpad icon: update for upstream kernel API

2012-04-16 Thread Frederick Grose
On Mon, Apr 16, 2012 at 4:06 PM, Daniel Drake wrote: > On Mon, Apr 16, 2012 at 1:48 PM, Simon Schampijer > wrote: > > This patch is needed now for latest kernel on the XO-1. Tested on the > latest > > 12.1.0 builds. > > OK, pushed with the changes noted earlier in the thread. > Happy to act on t

[Sugar-devel] [PATCH] Prevent handling network devices twice (OLPC#11782)

2012-04-16 Thread Daniel Drake
Due to the asynchronous way that dbus works, it is possible to receive a network device listed in the initial GetDevices call, and as a DeviceAdded signal, if the device appears during Sugar initialisation. Check to see that a device is really new before processing it. Fixes a case seen by Manuel

[Sugar-devel] [ASLO] Release Maze-18

2012-04-16 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4071 Sugar Platform: 0.82 - 0.96 Download Now: http://activities.sugarlabs.org/downloads/file/27975/maze-18.xo Release notes: Sugar Labs Activities http://activities.sugarlabs.org ___ Sugar-d

Re: [Sugar-devel] [ASLO] Release Maze-18

2012-04-16 Thread Rafael Ortiz
On Mon, Apr 16, 2012 at 9:41 PM, Sugar Labs Activities < activit...@sugarlabs.org> wrote: > Activity Homepage: > http://activities.sugarlabs.org/addon/4071 > > Sugar Platform: > 0.82 - 0.96 > > Download Now: > http://activities.sugarlabs.org/downloads/file/27975/maze-18.xo > > Release notes: > > >

[Sugar-devel] [PATCH Maze] Collaboration: allow multiple users in the same XO

2012-04-16 Thread Manuel Kaufmann
This is a workaround to the problem with the real nick on a jabber server[1]. Now, we are using the unique identifier (mesh.my_handle or event.handle) for each player in the game plus a "-%d" at the end of the uid. This value (Player.uid) is added only when the Activity is shared otherwise this fie

Re: [Sugar-devel] [PATCH Maze] Collaboration: allow multiple users in the same XO

2012-04-16 Thread Manuel Kaufmann
On Tue, Apr 17, 2012 at 00:24, Manuel Kaufmann wrote: > This new workaround allow to distinguish between many users (up to 3) for each > XO laptop -using the gamepad keys. I just tested it with only one XO and a Sugar JHBuild instance because I have got just one XO. Please, if you have more than