Commit Graph

9 Commits

Author SHA1 Message Date
b5ff3b5bbb Don't emit changes when reading.
When the value for a property isn't present in it's JsonObject,
it can be assigned upon reading. Previously this could generate
history events even when just viewing an old diagram with some
of newer properties missing.

Modify the code, so setting to default doesn't count as a change
anymore.
2011-02-19 22:49:20 +01:00
7fa6efbaec Rename LdCanvas to LdDiagramView. 2011-02-19 22:49:20 +01:00
2744d84896 Introduce LdDiagramConnection. 2011-02-02 17:22:34 +01:00
18f5da9529 Add an undo framework to LdDiagram.
Modify LdDiagram and LdDiagramObject to use it.

Trash commit c2403fdcf7.
2011-02-01 14:52:17 +01:00
cf3e4ae473 Fix program messages and gtk-doc comments. 2011-01-28 17:50:21 +01:00
c2403fdcf7 Extend LdDiagramObject.
* Add generic methods for data storage, making it able
  to store data in a hierarchy.
* Reimplement ld_diagram_{get,set}_data_for_param on top
  of the generic methods.
* Add a "data-changed" signal.
2011-01-28 16:29:18 +01:00
17bf37ceba Rename ld_diagram_object_{get,set}_data().
Make small corrections.
2011-01-27 16:31:20 +01:00
1201caf8a4 Use JsonObject for LdDiagramObject parameters.
Make LdDiagramObject a regular class.
2011-01-15 17:59:07 +01:00
616c49a505 Make a separate library.
This is required for gtkdoc-scangobj. So far it's much like it's been
before, the main differences are that source files are in two directories
from now on and the build process has two stages.
2011-01-10 17:07:02 +01:00