[Sugar-devel] Fwd: Mentor request for PyDebug Activity

2009-10-14 Thread Luke Faraone
-- Forwarded message --
From: George Hunt 
Date: Wed, Oct 14, 2009 at 17:56
Subject: [support-gang] Mentor request for PyDebug Activity
To: Developers List , Support Gangsters <
support-g...@laptop.org>


I am excited about developing a tool to help me develop other XO
Activities.  When I shared my ideas with Adam Holt, he suggested that I seek
a mentor, or a few partners to help me clarify my ideas, and increase the
usefulness of the end product.   I am writing this to request such help.

As a programmer, I'm fairly new to python.  I started writing assembly
language in 1975 for the terminal division of Hewlett--Packard, which was
soon to become the Personal Computer division.  I only started python after
I got my G1G1 in early 2008.

I'm fairly averse to re-inventing the wheel.  So I have been thinking of
combining Activities that already run on the XO as my main strategy.

At this point I have hacked together Write, Terminal, and  Browse to all
exist in a notebook under the Sugar toolbar.  I can read and write
Activity.xo files from the journal.  So I've learned a lot from what is
already written.  Whatever the final form factor, the work I've done up to
now will not be lost.

At this point I'm debating whether to substitute gedit for the functionality
of abiword.  Gedit includes many of the feature a programmer is looking for.
It is extensively internationalized. It has a  python extension system that
I think will make for easy integration into my application.

I'm leaning towards the structure of a remote debugger, even though the
client and server will mostly reside on the same machine.  I'd like for the
application to be insulated from errant client programs.

I'm having a lot of fun, and feeling much more productive than I did a few
months ago.

I'd love to hear from a few people who are willing to help me perfect my
ideas or have experience that could keep me from going down unfruitful
paths. I've written a wiki page trying to pull together some of my ideas:
http://wiki.laptop.org/go/Python_Debugger_activity_for_the_XO.  There is
also a little more bio info about me at
http://wiki.laptop.org/go/User:GeorgeHuntd

Thanks,

George

___
support-gang mailing list
support-g...@lists.laptop.org
http://lists.laptop.org/listinfo/support-gang




-- 
Luke Faraone
http://luke.faraone.cc
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Fwd: Mentor request for PyDebug Activity

2009-10-14 Thread Benjamin M. Schwartz
> From: George Hunt 

I'm very excited to hear about this project, and I hope you'll keep us
updated with your progress.  Anything that makes Sugar a better
"self-hosting" development environment is tremendously valuable for us.

> At this point I'm debating whether to substitute gedit for the functionality
> of abiword.

IMHO, your best option is to use gtksourceview [1].  This is the GTK
source code editing widget that is used by gedit.  gtksourceview provides
syntax highlighting, line numbers, and undo/redo functionality.  You can
see it in use in Sugar in the Pippy source code [2].  Unlike gedit,
gtksourceview is guaranteed to be present in any Sugar installation.

Good luck!

--Ben

[1] http://projects.gnome.org/gtksourceview/
[2]
http://git.sugarlabs.org/projects/pippy/repos/mainline/blobs/master/pippy_app.py#line123



signature.asc
Description: OpenPGP digital signature
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel