I've commited some further work on the Undo/Redo framework.
Most stuff is starting to work now.

Left to finish is:
* Zigzagline (and all orth_conn based objects) needs to get an object menu
  that can be used to add line segments. How should this work?

* Undoing and then redoing the creation of a Textobject crashes.

* Layer creation and deletion must be undoable.

* Add get/set_state to all objects. (Only standard is done.)

* Object grouping and ungrouping must be undoable.

* Maybe undo info for modification of extents and modification bit.

* Add a configurable limit on the depth of the undo stack. Unlimited depth
  can take pretty much memory.

* Remove all traces of is_empty(). It doesn't work with undo anyway.

* Bug: Keyboard accels must be disabled whilst dragging an object or
  handle, else stuff can crash easily by deleting (Ctrl-X) while dragging.

* Should layer showing/hiding be undoable?

Any comments?

People intrested in Dia development might want to look at the code or even
help out with the stuff that needs to be done.

I'm going away. Might be able to work more on Dia on Sunday.

/ Alex


Reply via email to