Hi.

The latest batch of changes that have made their way to the public repo
over the last few days have almost entirely been dealing with undo/redo
operations. Layer addition, deletion, and clearing are all now actions
that can be undone or redone. For example, open a new drawing, then add
a sublayer, then draw some stuff in the sublayer. Now, delete all the
entities in the sublayer, then delete the sublayer itself. Hit 'undo'
and watch the sublayer reappear, and better still you can 'undo' again
to recreate the deleted entities in that back-from-the-dead layer.

There have also been some changes regarding the use of the message
controlling function ignore(). The program will now raise an error if
you try to ignore() a message you are already ignore()ing. This change
was made as the ignore() and receive() functions are not recursive, so
it was probable (and indeed happening) that you could prematurely
receive() a message type that you still want to ignore.

Lastly, a few changes were made to the 'gtkpycad.py' script in an effort
to better handle errors loading drawings listed on the command line. The
changes were simple repositioning of try/finally and try/except blocks
but the result should be that any drawing that fails to load will now
just print some error message but the program will still start, whereas
previously the error would stop PythonCAD from running.

The subversion upgrade has seemed to work without a hitch, and the
changes all going into the code look like they are working smoothly, so
things are still on track for a release in a couple of weeks. I'll be
away for much of the next week so there won't be new stuff at the repo
after tomorrow until late next week or thereabouts.

Art
-- 
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822
_______________________________________________
PythonCAD mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/pythoncad

Reply via email to