Re: [Sugar-devel] [Dextrose] Local server equivalent of "jabber.sugarlabs.org"

2012-03-28 Thread Jerry Vonau
On Thu, 2012-03-29 at 10:25 +0530, Ajay Garg wrote: > Hi all. > > I am wanting to play around with a Jabber server, which is same in the > basics as "jabber.sugarlabs.org". > So, what should I install locally? jabberd? ejabberd? any other > server? > > Looking forward to a reply. > > Thanks and

[Sugar-devel] Local server equivalent of "jabber.sugarlabs.org"

2012-03-28 Thread Ajay Garg
Hi all. I am wanting to play around with a Jabber server, which is same in the basics as "jabber.sugarlabs.org". So, what should I install locally? jabberd? ejabberd? any other server? Looking forward to a reply. Thanks and Regards, Ajay ___ Sugar-deve

Re: [Sugar-devel] [PATCH Maze] Buttons to generate a harder or an easier level

2012-03-28 Thread Manuel Quiñones
El día 28 de marzo de 2012 20:36, Manuel Kaufmann escribió: > On Wed, Mar 28, 2012 at 20:35, Manuel Kaufmann wrote: >> diff --git a/activity.py b/activity.py >> index f21efdd..d5ea2eb 100755 >> --- a/activity.py >> +++ b/activity.py > > Here is the new PATCH with the index updated. So, you can ap

Re: [Sugar-devel] [PATCH Maze] Buttons to generate a harder or an easier level

2012-03-28 Thread Manuel Kaufmann
On Wed, Mar 28, 2012 at 20:35, Manuel Kaufmann wrote: > diff --git a/activity.py b/activity.py > index f21efdd..d5ea2eb 100755 > --- a/activity.py > +++ b/activity.py Here is the new PATCH with the index updated. So, you can apply it without any problem. Thanks! -- Kaufmann Manuel Blog: http:/

[Sugar-devel] [PATCH Maze] Buttons to generate a harder or an easier level

2012-03-28 Thread Manuel Kaufmann
Added two buttons in the toolbar to generate a new level (harder or easier). These butons do the same work than '+' and '-' keys respectively. This commit solves ticket: #3376 Signed-off-by: Manuel Kaufmann --- activity.py | 36 +++- game.py |7 ++-

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

2012-03-28 Thread Peter Robinson
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?id=672950 > > This fixes the frame key on X

Re: [Sugar-devel] [PATCH][Browse] Update progress bar and stop/reload buttons when switching tabs

2012-03-28 Thread Simon Schampijer
This one looks good as well, please get it in. Regards, Simon On 03/23/2012 01:05 PM, Manuel Quiñones wrote: Calling the _set_status and _set_progress methods in the web toolbar directly when a new tab is activated. Also the callback for load-status is disconnected now in the previous tab,

Re: [Sugar-devel] [PATCH Browse] Pass URI instead of file path when the activity starts from a file

2012-03-28 Thread Simon Schampijer
On 03/28/2012 08:46 PM, Manuel Quiñones wrote: If the MIME type of the file that the activity reads is not "text/plain" or "text/uri-list", it will load the file as-is in the default tab. But WebKit needs an URI, and we are passing the file path. Appending 'file://' to the file path solves the

Re: [Sugar-devel] [PATCH Browse] Store empty strings instead of None in the places sqlite database.

2012-03-28 Thread Simon Schampijer
Please push that one. Regards, Simon On 03/28/2012 05:59 PM, Manuel Quiñones wrote: The SQL model sets "text" as the fields type for uri and title. However, sqlite uses a dynamic type sistem [1] and our Place class was initializing those attributes with None. As a consequence, when the user

[Sugar-devel] [PATCH Browse] Pass URI instead of file path when the activity starts from a file

2012-03-28 Thread Manuel Quiñones
If the MIME type of the file that the activity reads is not "text/plain" or "text/uri-list", it will load the file as-is in the default tab. But WebKit needs an URI, and we are passing the file path. Appending 'file://' to the file path solves the issue. This fixes second part of #3300 . Signed

Re: [Sugar-devel] [PATCH Maze v2] Save and restore state of the game

2012-03-28 Thread Rafael Ortiz
On Tue, Mar 27, 2012 at 8:17 AM, Manuel Kaufmann wrote: > On Tue, Mar 27, 2012 at 10:15, Manuel Kaufmann wrote: > > Ability to 'save' (when the user closes the Activity) and 'restore' > (when the > > user launch it from the Journal or the Home without holding Alt) the > state of > > the game. >

[Sugar-devel] [PATCH Browse] Store empty strings instead of None in the places sqlite database.

2012-03-28 Thread Manuel Quiñones
The SQL model sets "text" as the fields type for uri and title. However, sqlite uses a dynamic type sistem [1] and our Place class was initializing those attributes with None. As a consequence, when the user types something in the toolbar entry, and a search is made to show a drop-down list for au

[Sugar-devel] [PATCH Browse] Store empty strings instead of None in the places sqlite database.

2012-03-28 Thread Manuel Quiñones
The SQL model sets "text" as the fields type for uri and title. However, sqlite uses a dynamic type sistem [1] and our Place class was initializing those attributes with None. As a consequence, when the user types something in the toolbar entry, and a search is made to show a drop-down list for au

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

2012-03-28 Thread Simon Schampijer
On 03/27/2012 10: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?id=672950 This fixes the frame key on XO laptops running

[Sugar-devel] [PATCH Maze] Buttons to generate a harder or an easier level

2012-03-28 Thread Manuel Kaufmann
Addedi two buttons in the toolbar to generate a new level (harder or easier). These butons do the same work than '+' and '-' keys respectively. This commit solves ticket: #3376 Signed-off-by: Manuel Kaufmann --- activity.py | 36 +++- game.py |5 +

Re: [Sugar-devel] [PATCH sugar] Do not display APs that announce the ssid in invalid utf-8 data, OLPC #11698

2012-03-28 Thread Simon Schampijer
On 03/27/2012 11:32 PM, Sascha Silbe wrote: Excerpts from Simon Schampijer's message of 2012-03-27 10:19:30 +0200: Sugar is not doing well in dealing with non-utf8 data. If an AP does not announce the ssid in valid utf-8 data Sugar will fail in certain ways. That's an odd way to put it. The a