[Sugar-devel] Adding pybox2d to Sugar platform?

2011-08-15 Thread Simon Schampijer
Hi, the 2D physics library pybox2d [1] is used in Physics and Pippy, both contain a copy of the code. There have been discussions whether we should add it to the Sugar platform or not. Since it is a library that can be of use to Activity developers and is already in use in more than one

Re: [Sugar-devel] Adding pybox2d to Sugar platform?

2011-08-15 Thread Anish Mangal
On 08/15/2011 11:41 AM, Simon Schampijer wrote: Hi, the 2D physics library pybox2d [1] is used in Physics and Pippy, both contain a copy of the code. There have been discussions whether we should add it to the Sugar platform or not. Since it is a library that can be of use to Activity

Re: [Sugar-devel] Adding pybox2d to Sugar platform?

2011-08-15 Thread Walter Bender
On Mon, Aug 15, 2011 at 2:11 AM, Simon Schampijer si...@schampijer.de wrote: Hi, the 2D physics library pybox2d [1] is used in Physics and Pippy, both contain a copy of the code. There have been discussions whether we should add it to the Sugar platform or not. Since it is a library that

Re: [Sugar-devel] Adding pybox2d to Sugar platform?

2011-08-15 Thread Gonzalo Odiard
+1 to include pybox2d in the platform I am on the fence about this one only because your criteria for inclusion seem to create a pretty low threshold for adding a package and all that it implies (maintenance, support on all platforms, etc.). For example, I use a sprite library in over

Re: [Sugar-devel] Adding pybox2d to Sugar platform?

2011-08-15 Thread Walter Bender
On Mon, Aug 15, 2011 at 8:39 AM, Gonzalo Odiard gonz...@laptop.org wrote: +1 to include pybox2d in the platform  I am on the fence about this one only because your criteria for inclusion seem to create a pretty low threshold for adding a package and all that it implies (maintenance, support

Re: [Sugar-devel] opening a url with WebActivity

2011-08-15 Thread Sebastian Silva
To the best of my knowledge this is not supported and is a big elephant in the room. Intent system seems wonderful like a nice car, but not being able to open a URI, is like having no shoes. Regards, Sebastian El 15/08/11 18:02, Erik Blankinship escribió: I think an intent mechanism will be

Re: [Sugar-devel] [PATCH sugar] Do startup animation of the activity icon using scaling and alpha - v3

2011-08-15 Thread Gonzalo Odiard
Simon, I can reproduce what you see, but _without_ applying my patch, and i think is another bug. When I stat sugar (and only the first time) the network device icon in the frame is pulsing, if I try to connect to the network pulsing over a ap icon in the neighbor view, the icon in the frame start

Re: [Sugar-devel] opening a url with WebActivity

2011-08-15 Thread Gonzalo Odiard
I agree with Sebastian here. We can plan the long term solution, but right now we need a simple solution to give the user a better experience and do not replicate a lot of code. Gonzalo On Mon, Aug 15, 2011 at 10:05 AM, Sebastian Silva sebast...@somosazucar.org wrote: To the best of my

[Sugar-devel] [PATCH] adding icon for accessing user documents in Journal volumes toolbar

2011-08-15 Thread Walter Bender
From: Walter Bender walter.ben...@gmail.com This patch adds an icon to sugar-artwork devices to represent the user's $HOME/Documents directory. This icon is used when mounting $HOME/Documents to the volumestoolbar in the Sugar Journal. The icon has been reviewed by the design team as per:

[Sugar-devel] [PATCH] adding $HOME/Documents to volumestoolbar

2011-08-15 Thread Walter Bender
From: Walter Bender walter.ben...@gmail.com This patch adds $HOME/Documents to the volume toolbar in the Journal view. The rationale is to make it easier for people to move files in and out of the data store from the file system -- a feature oft requested by teachers. It also means that Sugar

[Sugar-devel] [PATCH] Initial stamp size set based on the display's DPI

2011-08-15 Thread Manuel Quiñones
Fixes SL #2966 . Signed-off-by: Manuel Quiñones ma...@laptop.org --- Area.py |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/Area.py b/Area.py index 2e40d00..d953005 100644 --- a/Area.py +++ b/Area.py @@ -72,6 +72,8 @@ import pango from fill import fill from

Re: [Sugar-devel] [PATCH sugar] Wireless network Frame device: Add text for disconnected state

2011-08-15 Thread Simon Schampijer
On 06/30/2011 10:41 PM, Sascha Silbe wrote: Showing just an empty palette whenever we are disconnected (e.g. because no favourite AP is in range) is rather confusing for users. Signed-off-by: Sascha Silbesi...@activitycentral.com Acked-By: Simon Schampijer si...@laptop.org Regards, Simon

Re: [Sugar-devel] [PATCH sugar-toolkit] Remove the Keep button from the activity toolbar

2011-08-15 Thread Martin Langhoff
On Mon, Aug 15, 2011 at 1:32 PM, Simon Schampijer si...@schampijer.de wrote: Thanks for the review! After general consensus pushed as: http://git.sugarlabs.org/sugar-toolkit/mainline/commit/0082e10f8ebc201d0837dc67ba739d9079903e45 Great! m --  martin.langh...@gmail.com  mar...@laptop.org

Re: [Sugar-devel] [PATCH sugar] Add duplicate functionality to the Journal and enhance copy functionality

2011-08-15 Thread Simon Schampijer
Pushed as: http://git.sugarlabs.org/sugar/mainline/commit/2148b47c2a5910eeb14fe827059585bef09fc111 Thanks for everyone involved who made this happen. Regards, Simon On 08/12/2011 08:01 PM, Simon Schampijer wrote: This patch adds a duplicate option to the Journal entry palette and the

[Sugar-devel] [PATCH] Add 'clone' to view source submenu

2011-08-15 Thread Walter Bender
From: Walter Bender walter.ben...@gmail.com This patch adds a Clone submenu to the view source toolbar, enabling the cloning of an activity for end-user modification. As per the design team meeting, this patch includes the generation of an .xo bundle to be copied to the Journal of the cloned

Re: [Sugar-devel] [PATCH sugar v2] Prevent view source display of some binary and junk files (SL#2854)

2011-08-15 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of Mon Aug 01 21:59:35 +0200 2011: On 08/01/2011 08:34 PM, Sascha Silbe wrote: From: Walter Benderwalter.ben...@gmail.com This patch addresses the issue raised in SL#2854: the exclusion of some file types from being displayed by viewsource. This

Re: [Sugar-devel] [PATCH] adding icon for accessing user documents in Journal volumes toolbar

2011-08-15 Thread Sascha Silbe
Excerpts from Walter Bender's message of Mon Aug 15 16:43:18 +0200 2011: From: Walter Bender walter.ben...@gmail.com This patch adds an icon to sugar-artwork devices to represent the user's $HOME/Documents directory. This icon is used when mounting $HOME/Documents to the volumestoolbar in

[Sugar-devel] [PATCH] Add clone to view source submenu

2011-08-15 Thread Walter Bender
From: Walter Bender walter.ben...@gmail.com This patch adds a Clone submenu to the view source toolbar, enabling the cloning of an activity for end-user modification. As per the design team meeting, this patch includes the generation of an .xo bundle to be copied to the Journal of the cloned

[Sugar-devel] ASCII keypresses

2011-08-15 Thread Art Hunkins
In a new activity I'm working on, I'm catching (and passing on) ASCII keypresses with the following Python snippet: def onKeyPress(self, widget, event): if self.p: self.w.set_channel(ascii, event.keyval) def playcsd(self, widget): if self.p == False: self.p = True self.w.play()

Re: [Sugar-devel] ASCII keypresses

2011-08-15 Thread James Cameron
On Mon, Aug 15, 2011 at 06:23:07PM -0400, Art Hunkins wrote: In a new activity I'm working on, I'm catching (and passing on) ASCII keypresses with the following Python snippet: def onKeyPress(self, widget, event): if self.p: self.w.set_channel(ascii, event.keyval) def playcsd(self,

Re: [Sugar-devel] Adding pybox2d to Sugar platform?

2011-08-15 Thread James Cameron
As a Pippy maintainer. My vote is -1, due to the burden of maintenance, and the lowering of the bar for inclusion. Having dug into the pybox2d code now and then, I've been astounded at the quality. Pippy only uses it for an example, xolympics, and perhaps this could be moved out of Pippy into

Re: [Sugar-devel] [DESIGN] Browse: move stop/reload button into the url entry

2011-08-15 Thread Rafael Ortiz
On Sun, Aug 14, 2011 at 3:51 PM, Sascha Silbe sascha-ml-reply-to-201...@silbe.org wrote: Excerpts from Simon Schampijer's message of Sat Aug 13 17:02:42 +0200 2011: Attached is a screenshot of that. The button does have the same change behavior as before (changes to stop when loading the

Re: [Sugar-devel] ASCII keypresses

2011-08-15 Thread Art Hunkins
To clarify: an a keypress needs to be sent for a single cycle, then nothing further until another key - or another a - is pressed. It's not clear to me that the second a would be sent, without somehow checking that the first one had been released. And then, of course, a different key could

Re: [Sugar-devel] ASCII keypresses

2011-08-15 Thread James Cameron
Perhaps your question is How do I defeat autorepeat? When a key is pressed down, you will get a key-press-event for it. When a key is released, you will get a key-release-event for it. If a key is pressed, held down, and then released, you will get an initial key-press-event, then a