Commit Graph

61 Commits

Author SHA1 Message Date
Jonathan Moore Liles cf0576e6ff Remove unnecessary debugging output. 2009-01-11 22:18:56 -06:00
Jonathan Moore Liles 5446629c3e Use a single hash table for storing loggables and unjournaled state. 2009-01-11 22:18:55 -06:00
Jonathan Moore Liles f5c81d53be Remove unnecessary code from unjournaled state loader. 2009-01-11 22:18:55 -06:00
Jonathan Moore Liles f365b9d8f7 Add some error checking to unjournaled state save/load. 2009-01-11 22:18:54 -06:00
Jonathan Moore Liles 0032dce478 Use a hash instead of an array for indexing loggables. 2009-01-11 22:18:53 -06:00
Jonathan Moore Liles 15a579774c Implement storage and loading of unjournaled state for Loggable objects. 2009-01-11 22:18:53 -06:00
Jonathan Moore Liles 3e86584ad3 Clean up signedness problems in Loggable ID treatment. 2009-01-11 17:38:50 -06:00
Jonathan Moore Liles 8a76b01db9 Fix occasional segfault upon loading snapshots.
Sometimes the situation could arise where a log ID referred to by a
log entry's property list coincided with the temporary log ID
associated with the object being created--usually resulting in an
immediate segfault. Assigning the final log ID BEFORE setting the
properties prevents this from happening.
2008-12-18 01:18:41 -06:00
Jonathan Moore Liles 74ffa575d9 Oops. Write journal entries in proper order when generating snapshot. 2008-08-04 00:06:45 -05:00
Jonathan Moore Liles 37935df806 Take fades into consideration when splitting regions.
Also, fix journalling bug in region splitting.
2008-07-30 23:03:16 -05:00
Jonathan Moore Liles d2a8373cff Add module information to debugging output. 2008-07-29 21:30:45 -05:00
Jonathan Moore Liles b4e41435e1 Fix uninitialized memory. 2008-07-14 23:07:47 -05:00
Jonathan Moore Liles dbc73860ca Fix heisenbug in journaling. 2008-07-11 23:30:07 -05:00
Jonathan Moore Liles 9c19d865bb More comments. 2008-06-20 23:38:29 -05:00
Jonathan Moore Liles 170b11010e Cleanups and commenting. 2008-06-19 21:55:47 -05:00
Jonathan Moore Liles bb7e7b46f6 Clean up some new warnings from the new version of GCC. 2008-06-15 19:19:44 -05:00
Jonathan Moore Liles a842c129ad Cleanups. 2008-06-10 20:55:39 -05:00
Jonathan Moore Liles 4235e0ee05 Allow Undo to go beyond the last block in the journal. 2008-06-08 22:12:08 -05:00
Jonathan Moore Liles 0eeb63749f Oops. Fix Log_Entry diff'ing. 2008-06-05 22:26:51 -05:00
Jonathan Moore Liles ded97d5197 Fix error in progress display when creating a new project. 2008-06-05 21:57:09 -05:00
Jonathan Moore Liles e86ef478c0 Make load progress work for projects loaded from the command line too. 2008-06-05 21:30:34 -05:00
Jonathan Moore Liles f684703840 Show progress when opening project. 2008-06-04 23:27:55 -05:00
Jonathan Moore Liles f093abb887 Automatically save a snapshot when close()'ing a project.
This snapshot, if up-to-date, may be used to accellerate loading of
projects with very long histories.
2008-06-04 21:10:37 -05:00
Jonathan Moore Liles c3603a8bfd Add comments. 2008-06-03 23:41:53 -05:00
Jonathan Moore Liles 2a67c132f4 Cleanups. 2008-06-03 23:28:28 -05:00
Jonathan Moore Liles f370219f17 Continue refactoring Log_Entry. 2008-06-03 22:47:26 -05:00
Jonathan Moore Liles 6a324b45c3 Split more of Log_Entry out. 2008-06-03 22:34:36 -05:00
Jonathan Moore Liles 8eb4cb8735 Cleanup. 2008-05-22 15:58:36 -05:00
Jonathan Moore Liles f9fb837c58 Add missing GPL headers. 2008-05-22 11:34:33 -05:00
Jonathan Moore Liles 4422c354f7 Cleanup open/new behavior. 2008-05-16 23:34:44 -05:00
Jonathan Moore Liles 1edc236960 Journaling fixes. 2008-05-07 10:19:55 -05:00
Jonathan Moore Liles 9aa52f3e18 Fix memory leaks reported by valgrind. 2008-05-06 21:42:36 -05:00
Jonathan Moore Liles 42e0e380bd Destroy sequence contents in sequence destructor.
Destroy loggables in correct order.
2008-05-06 21:00:36 -05:00
Jonathan Moore Liles 11e11d97b2 Always terminate escape return string. 2008-05-06 00:34:46 -05:00
Jonathan Moore Liles 2881479cc2 Fix invalid read found by valgrind. 2008-05-05 23:25:05 -05:00
Jonathan Moore Liles 89d64f66e4 Try to fix some issues with journal replay and compaction. 2008-05-05 18:24:21 -05:00
Jonathan Moore Liles 1025201398 Escape/unescape newlines in string parameters of journal messages. 2008-05-05 13:35:04 -05:00
Jonathan Moore Liles c3a20870f7 Big fix for loggability which was broken by the previous attempt at making Time and Tempo sequences unlogged. 2008-05-05 00:29:39 -05:00
Jonathan Moore Liles 33d78a726a Rename Region class to Audio_Region 2008-05-04 19:04:20 -05:00
Jonathan Moore Liles 727b256b4b Output journal snapshot as a single transaction. 2008-05-04 02:35:35 -05:00
Jonathan Moore Liles 594f711533 Make new session dialog actually work. 2008-05-04 02:32:54 -05:00
Jonathan Moore Liles af523475c4 Work on making system reset possible. 2008-05-03 17:50:32 -05:00
Jonathan Moore Liles 5f4fd49867 Minor cleanups. 2008-05-03 11:46:48 -05:00
Jonathan Moore Liles 95f8a8905a Fix errors found by valgrind. 2008-04-28 11:48:35 -05:00
Jonathan Moore Liles 0eb8babb3e Fix interaction between shortcut handling and multiple undo. 2008-04-28 03:29:59 -05:00
Jonathan Moore Liles 6bcadabe8d Clean up logic in control sequence display options. 2008-04-27 14:37:52 -05:00
Jonathan Moore Liles 82ada52b71 Fix error in quote parsing of log entries. 2008-04-26 21:45:24 -05:00
Jonathan Moore Liles 55a1e60484 Add marks to ruler. 2008-04-26 06:58:50 -05:00
Jonathan Moore Liles 783ba38120 Begin to make tracks removable. 2008-04-25 16:35:51 -05:00
Jonathan Moore Liles 6b97c912eb Fig logging for captures. 2008-04-25 02:35:55 -05:00