Tobias Doerffel
4641a8001b
JournallingObject, ProjectJournal: global checkpoint management
...
There's no need for having each JournallingObject maintain it's own
checkpoints and build a complex (and buggy) logic in ProjectJournal
in order to manage all the JournallingObject with their checkpoints.
Instead do it the simple way: in ProjectJournal maintain a stack for
undo checkpoints and a stack for redo checkpoints. On each undo or redo
operation simply push and pop to/from the according stacks and save
and load states of the concerned JournallingObject.
This basically strips most functionality from JournallingObject. All
what's left is the management of its ID which unluckily is still
required in order to properly implement undo/redo of additions and
removals of JournallingObject.
2014-01-07 23:50:27 +01:00
..
2008-10-19 21:47:52 +00:00
2013-02-09 12:33:22 +01:00
2009-02-27 00:25:59 +01:00
2009-08-13 00:52:21 +02:00
2009-08-13 00:52:21 +02:00
2009-08-13 00:52:21 +02:00
2009-08-13 00:52:21 +02:00
2009-08-13 00:52:21 +02:00
2009-08-13 00:52:21 +02:00
2010-07-26 15:59:32 +02:00
2009-08-13 00:52:21 +02:00
2012-11-11 19:45:24 +01:00
2009-08-25 01:30:41 +02:00
2009-11-20 22:36:06 +01:00
2009-08-13 00:52:21 +02:00
2009-08-13 00:52:21 +02:00
2009-08-25 01:42:20 +02:00
2009-08-25 01:42:20 +02:00
2014-01-07 23:48:09 +01:00
2014-01-06 20:38:24 +01:00
2012-05-20 18:25:28 +02:00
2013-06-11 14:50:27 +02:00
2010-08-16 23:40:33 +02:00
2010-08-16 23:40:33 +02:00
2009-12-26 01:09:56 +01:00
2012-01-29 12:12:50 +01:00
2012-05-20 18:25:28 +02:00
2009-08-25 01:42:20 +02:00
2009-08-25 01:42:20 +02:00
2008-06-02 15:53:45 +00:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:42:20 +02:00
2011-07-06 10:51:00 +02:00
2009-08-25 01:42:20 +02:00
2009-08-25 01:42:20 +02:00
2010-08-15 14:00:11 +02:00
2009-08-25 01:42:20 +02:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:42:20 +02:00
2008-10-06 17:08:36 +00:00
2007-08-27 18:25:01 +00:00
2008-06-08 11:30:47 +00:00
2010-08-16 23:40:33 +02:00
2007-11-20 20:29:36 +00:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:42:20 +02:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:30:41 +02:00
2010-05-17 23:36:46 +02:00
2009-08-25 01:30:41 +02:00
2009-08-29 00:07:05 +02:00
2010-05-17 23:36:46 +02:00
2009-08-25 01:42:20 +02:00
2009-08-25 01:42:20 +02:00
2012-05-20 18:25:28 +02:00
2010-05-21 14:14:00 +02:00
2009-08-25 01:30:41 +02:00
2013-01-07 20:28:15 +01:00
2008-06-08 11:30:47 +00:00
2009-08-25 01:42:20 +02:00
2012-11-28 00:10:11 +01:00
2012-11-11 22:42:04 +01:00
2009-08-25 01:42:20 +02:00
2009-10-31 13:38:17 +01:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:42:20 +02:00
2009-08-25 01:42:20 +02:00
2008-09-08 22:48:43 +00:00
2009-08-25 01:30:41 +02:00
2010-08-16 23:40:33 +02:00
2009-09-15 23:51:00 +02:00
2012-02-01 16:58:24 +01:00
2009-08-25 01:30:41 +02:00
2012-11-10 12:50:56 +01:00
2009-09-15 23:51:00 +02:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:30:41 +02:00
2012-11-11 19:39:27 +01:00
2009-08-25 01:30:41 +02:00
2006-08-27 23:24:31 +00:00
2014-01-07 23:50:27 +01:00
2012-10-27 22:32:09 +02:00
2009-08-25 01:42:20 +02:00
2009-08-25 01:42:20 +02:00
2008-07-22 11:36:50 +00:00
2009-08-29 00:07:05 +02:00
2009-08-25 01:42:20 +02:00
2009-08-25 01:30:41 +02:00
2014-01-06 20:40:28 +01:00
2014-01-06 20:39:50 +01:00
2009-08-25 01:42:20 +02:00
2009-08-25 01:30:41 +02:00
2010-08-12 10:30:59 +02:00
2008-04-12 15:10:55 +00:00
2009-08-25 01:42:20 +02:00
2008-09-05 20:52:27 +00:00
2013-01-07 22:06:37 +01:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:30:41 +02:00
2009-08-13 00:52:21 +02:00
2009-08-25 01:42:20 +02:00
2013-01-23 23:08:03 +01:00
2009-08-13 00:52:21 +02:00
2013-11-20 23:54:31 +01:00
2010-01-25 23:27:43 +01:00
2009-08-25 01:42:20 +02:00
2009-08-13 00:52:21 +02:00
2009-08-13 00:52:21 +02:00
2009-08-13 00:52:21 +02:00
2012-11-10 12:50:56 +01:00
2009-08-25 01:30:41 +02:00
2009-08-14 15:37:57 +02:00
2012-01-29 13:07:17 +01:00
2013-02-27 15:46:48 -05:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:30:41 +02:00
2012-01-29 11:36:24 +01:00
2014-01-07 23:48:09 +01:00
2009-08-25 01:42:20 +02:00
2009-08-25 01:30:41 +02:00
2009-03-15 21:50:38 +01:00
2009-08-05 17:19:53 +02:00
2011-06-27 20:27:03 +02:00
2008-07-28 21:39:08 +00:00
2009-08-25 01:42:20 +02:00
2012-05-20 18:25:28 +02:00
2009-08-25 01:30:41 +02:00
2010-10-05 11:25:43 +02:00
2009-08-25 01:42:20 +02:00
2009-06-17 10:43:51 +02:00
2009-10-31 13:38:17 +01:00
2009-08-29 00:07:05 +02:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:30:41 +02:00
2008-12-19 16:21:34 +00:00
2014-01-07 23:50:27 +01:00
2009-08-13 00:52:21 +02:00
2013-02-09 12:33:22 +01:00
2007-08-26 19:02:51 +00:00
2009-08-25 01:42:20 +02:00
2012-10-27 22:32:09 +02:00
2009-08-25 01:42:20 +02:00
2009-08-25 01:42:20 +02:00
2010-08-14 00:26:34 +02:00
2009-08-25 01:30:41 +02:00
2013-06-11 13:19:00 +02:00
2009-08-25 01:42:20 +02:00
2009-10-31 13:38:17 +01:00
2009-10-31 13:38:17 +01:00
2012-05-20 18:25:28 +02:00
2014-01-07 23:04:21 +01:00
2009-08-25 01:42:20 +02:00
2014-01-07 23:48:09 +01:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:42:20 +02:00
2009-08-25 01:42:20 +02:00
2009-08-25 01:42:20 +02:00
2008-10-02 11:48:59 +00:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:42:20 +02:00
2014-01-06 21:15:28 +01:00
2009-08-25 01:42:20 +02:00
2007-08-27 18:25:01 +00:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:30:41 +02:00
2008-06-02 15:53:45 +00:00
2014-01-07 23:48:09 +01:00
2010-08-16 23:40:33 +02:00
2009-08-25 01:42:20 +02:00
2014-01-07 23:48:09 +01:00
2009-08-25 01:42:20 +02:00
2009-08-25 01:42:20 +02:00
2009-08-25 01:42:20 +02:00
2009-03-15 21:50:38 +01:00
2013-02-27 17:29:00 +01:00