Update Beta2

12 views
Skip to first unread message

mike...@gmail.com

unread,
Feb 5, 2009, 7:39:39 PM2/5/09
to PatchworkEditor
OK,

Fixed lots of things, broke some too. Most importantly, updated to the
new version of DMP (20090203) and user edits are not removed during
the time of a server sync. (when the light is yellow)

Still to do:

* Fix the dodgy update user display code. Theres a bug in there
somewhere. (decoding UTF-8? special chars? who knows)
* Clean up the code.
- Remove all the Print's, and old comments that no longer belong to
any code =]

* Move to MobWrite V3
* the MobWrite Calc Patch is done in 3 different places in
PatchworkEditor. Its prolly going to be easier to move all this into
its own class, and have hooks to control where the information goes.
* Lots and lots of error handling.
- If Patch does not "fit" Original, it crashes.

* Fix the blasted seg fault on tab close.
* Find out why other Gedit plugins don't like this one. (and so seg
fault)

New GUI features planned:

* Turn on Code Highlighting via code.
* User Pass Areas, Or atleast an idea how users will connect/control
plugin.
* Config Box.

MikeyB

mike...@gmail.com

unread,
Feb 6, 2009, 12:07:47 AM2/6/09
to PatchworkEditor
MobWrite V3 supported

SegFault is found, gtk.gdk.threads_init() is at fault. maybe im doing
something wrong?

mike...@gmail.com

unread,
Feb 6, 2009, 8:27:24 AM2/6/09
to PatchworkEditor
Seg Fault fixed!

It seems Gedit can't handle GTK threads. Bugger..

Nevermind. Code has been changed to use fork(), and pipe() calls..

the "print" commands spotted around the place have been replaced with
Logging.debug() (Thanx Neil!)

Installed Python Outline Gedit plugin (as it seemed useful) and seems
to run along side nicely.

A side-effect tho is that ive added more bugs than ive fixed =] Error
handling is now at the top of my list as its so so poor at the moment.

More Todos:

* Move Fork(), Pipe(), cPickle() and gtk_io_add_watch() into a generic
class to make things tidy.

MikeyB
Reply all
Reply to author
Forward
0 new messages