Commit Graph

600 Commits

Author SHA1 Message Date
Jonathan Moore Liles 7dc9a475e9 Bypass magnetic snap for loop points. 2008-07-05 23:42:16 -05:00
Jonathan Moore Liles 55ebea2c94 Make template field visible again on New Project Dialog. 2008-06-26 22:58:15 -05:00
Jonathan Moore Liles b74e93868a Fix typo in region menu. 2008-06-23 22:47:53 -05:00
Jonathan Moore Liles d7077cda19 Add normalize and remove to region menu. 2008-06-22 20:04:17 -05:00
Jonathan Moore Liles d4535ab52e Clean up sequence widget class. 2008-06-22 20:01:09 -05:00
Jonathan Moore Liles 9335a97933 Fix bug in log entry diffing. 2008-06-22 00:48:07 -05:00
Jonathan Moore Liles 6e7f0ee46f Clean up TLE class. 2008-06-21 23:31:46 -05:00
Jonathan Moore Liles cffcec79ab Don't zoom in so far on new projects. 2008-06-21 22:57:14 -05:00
Jonathan Moore Liles a36f515f65 Keep track of default project path across sessions. 2008-06-21 22:15:05 -05:00
Jonathan Moore Liles f50c8318ff Clean up takes menu building. Add 'remove' action. 2008-06-21 22:01:04 -05:00
Jonathan Moore Liles 4731dea3b3 Move Options/Project/Timeline to Project/Settings in the menu bar. 2008-06-21 21:06:12 -05:00
Jonathan Moore Liles 05110222e6 Cleanup logos. 2008-06-21 20:35:55 -05:00
Jonathan Moore Liles fd747b235f Display more useful error messages when project loading fails. 2008-06-21 18:47:24 -05:00
Jonathan Moore Liles 621e278f38 Actually check project info when loading. 2008-06-21 16:28:17 -05:00
Jonathan Moore Liles 9c19d865bb More comments. 2008-06-20 23:38:29 -05:00
Jonathan Moore Liles eb11a409d2 Actually store captures under sources/ subdirectory. 2008-06-19 23:04:37 -05:00
Jonathan Moore Liles 170b11010e Cleanups and commenting. 2008-06-19 21:55:47 -05:00
Jonathan Moore Liles 6d9a5bb1d5 Hide currently unused Template combobox in New_Project_Dialog. 2008-06-18 21:23:59 -05:00
Jonathan Moore Liles a7d9e30038 Cleanup includes. 2008-06-17 23:01:22 -05:00
Jonathan Moore Liles c1217e649b Cleanups. 2008-06-17 22:41:15 -05:00
Jonathan Moore Liles f4c825949e Add keybinding to select sequence widget under playhead. 2008-06-17 22:09:09 -05:00
Jonathan Moore Liles 9c21fb209a Display more specific error messages when project open fails. 2008-06-15 21:44:45 -05:00
Jonathan Moore Liles 38182a85e3 Cleanup Project_Info_Dialog. 2008-06-15 21:18:25 -05:00
Jonathan Moore Liles 93464cec05 Add some missing GPL headers. 2008-06-15 19:36:16 -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 0e34509e51 Don't use invalid info in the Timebase callback if no tempo map exists. 2008-06-13 23:51:15 -05:00
Jonathan Moore Liles c55b01dc68 Don't draw 'end' cursor, for now. 2008-06-12 21:21:24 -05:00
Jonathan Moore Liles a09c85f39e Clean up Project_Info_Dialog. 2008-06-12 21:21:08 -05:00
Jonathan Moore Liles 723bcf2bd7 Add length and number of tracks to Project_Info_Dialog. 2008-06-11 22:52:34 -05:00
Jonathan Moore Liles 3740c8a566 TLE: Cause Quit action to return, rather than simply calling exit. 2008-06-10 23:50:18 -05:00
Jonathan Moore Liles 5e5e79b412 Add Project_Info_Dialog. 2008-06-10 22:43:13 -05:00
Jonathan Moore Liles a842c129ad Cleanups. 2008-06-10 20:55:39 -05:00
Jonathan Moore Liles 957eed1f15 Notify user when JACK disconnects us. 2008-06-10 19:54:20 -05:00
Jonathan Moore Liles 635acb78e1 Move code out of transport header. Turn off record button after recording has stopped. 2008-06-09 21:14:43 -05:00
Jonathan Moore Liles 077086e538 Maybe rebuffer on normalize. 2008-06-09 21:04:52 -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 d8ed74d093 Get rid of useless message. 2008-06-07 10:35:23 -05:00
Jonathan Moore Liles aa0f65af21 Make deletion of container widgets undoable! 2008-06-05 23:14:00 -05:00
Jonathan Moore Liles 0eeb63749f Oops. Fix Log_Entry diff'ing. 2008-06-05 22:26:51 -05:00
Jonathan Moore Liles ea38dd48b9 Don't respond to Timeline keybindings when Timeline is inactive. 2008-06-05 22:07:56 -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 92513bfb21 Fix TLE control group dimensions. 2008-06-05 21:49:38 -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 e239f780ea Print an an error message if JACK cannot connect. Ignore SIGPIPE (that JACK sends). 2008-06-04 21:11:17 -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 6e3e41f9ba Split Log_Entry class into files of its own. 2008-06-03 22:22:13 -05:00
Jonathan Moore Liles 9ae6c0ea5e Wrap pthreads in a Thread class. Implement basic thread role checking. 2008-06-01 20:52:25 -05:00
Jonathan Moore Liles 08e50292c8 Permit setting tempo from (bar) range. 2008-05-31 20:54:01 -05:00
Jonathan Moore Liles 18800a97d9 Snap loop points and add menu action to clear them. 2008-05-31 20:15:32 -05:00
Jonathan Moore Liles 801c1c484c Don't drop frames when buffer crosses loop boundaries. 2008-05-31 20:15:32 -05:00
Jonathan Moore Liles e8ea8724ce First approximation of looping regions at playback. 2008-05-31 20:15:32 -05:00
Jonathan Moore Liles dbe80ad8e6 Begin to support region loop points. 2008-05-31 20:15:32 -05:00
Jonathan Moore Liles e48c429fd6 Fix zoom-dependent error in snap code. 2008-05-31 20:15:01 -05:00
Jonathan Moore Liles 54fe22e2d4 Make 'fit' zoom action reset the viewport position. 2008-05-31 20:14:55 -05:00
Jonathan Moore Liles d248786085 Clean up menu code. Assure valid callbacks. 2008-05-30 18:48:44 -05:00
Jonathan Moore Liles f0cfdd01c8 Make the sequence focus color more obvious. 2008-05-30 10:21:39 -05:00
Jonathan Moore Liles a004e4a193 Always show control points when control sequence is focused. 2008-05-30 10:15:12 -05:00
Jonathan Moore Liles f048c4ccaa Fix misdraw while scrolling. 2008-05-29 23:17:41 -05:00
Jonathan Moore Liles f5c15e3941 Delay slow-sync rebuffer until absolutely necessary. 2008-05-29 23:11:56 -05:00
Jonathan Moore Liles f0a973d652 Cleanup menu generation. 2008-05-29 22:34:42 -05:00
Jonathan Moore Liles c98016d5e4 Move Track context menu over to the same system that Sequence and Audio_Region use. 2008-05-29 22:28:56 -05:00
Jonathan Moore Liles 4bb22f2506 Move keyboard bindings for timeline. 2008-05-29 21:28:26 -05:00
Jonathan Moore Liles fd9497f044 Implement move playhead by beat. 2008-05-29 17:45:04 -05:00
Jonathan Moore Liles 0acc95509e Clean up display of annotation regions. 2008-05-29 16:54:10 -05:00
Jonathan Moore Liles 3d3998cccb Always draw region boxes with horizontal shading. 2008-05-29 16:54:03 -05:00
Jonathan Moore Liles b17623720e Change the way project length is calculated. 2008-05-29 16:10:49 -05:00
Jonathan Moore Liles 5543edf8ec Fit zoom when opening project. 2008-05-29 15:46:17 -05:00
Jonathan Moore Liles 7b03a7fb4d Lock open project. 2008-05-29 15:45:59 -05:00
Jonathan Moore Liles edb665ebc3 Handle keypress events properly for the selection. 2008-05-29 13:01:10 -05:00
Jonathan Moore Liles 4163d0230b Draw crossfades properly even when zoomed way in. 2008-05-29 11:38:06 -05:00
Jonathan Moore Liles ea8c35d0fe Rewrite Audio_Region context menu. Use the menu for handling region specific shortcuts. 2008-05-29 01:11:35 -05:00
Jonathan Moore Liles 43e561982b Work on timeline menu actions. 2008-05-28 20:31:06 -05:00
Jonathan Moore Liles 8a3a38b2a0 Properly clear pushed and belowmouse at sequence widget destruction time. 2008-05-28 01:13:23 -05:00
Jonathan Moore Liles 6330fde479 Fix format for HMS clock. 2008-05-28 00:20:45 -05:00
Jonathan Moore Liles 5fb04e863b Add next/prev widget bindings for sequences. 2008-05-28 00:19:14 -05:00
Jonathan Moore Liles 60a6c29197 Clean up build. 2008-05-27 23:21:01 -05:00
Jonathan Moore Liles dc7d769cf7 Fix order of disk stream thread destruction. 2008-05-27 21:44:57 -05:00
Jonathan Moore Liles 54f0fd2fd9 Fix uninitialized members found by valgrind. 2008-05-27 19:38:45 -05:00
Jonathan Moore Liles 2c502795ab Remove dead code. 2008-05-27 19:37:42 -05:00
Jonathan Moore Liles 455dc11dc8 Fix order of track destruction. 2008-05-27 19:37:41 -05:00
Jonathan Moore Liles c8eb82d124 Make timeline 'length' dynamic. 2008-05-27 18:47:47 -05:00
Jonathan Moore Liles b4e2a6b4b6 makefile: improve git integration 2008-05-27 16:27:19 -05:00
Jonathan Moore Liles 9dedd7b837 Don't let timeline scrollbar eat Home and End. 2008-05-26 22:57:54 -05:00
Jonathan Moore Liles 622a4a68dc Make sequence jumping and duplication work for all sequence widgets. 2008-05-26 22:49:27 -05:00
Jonathan Moore Liles 424b1b9b8f Clean up keyboard focus navigation. 2008-05-26 22:32:35 -05:00
Jonathan Moore Liles 035474e17c Clean up a number of focus/event handling problems. 2008-05-26 19:29:05 -05:00
Jonathan Moore Liles 331078c3b2 Move Engine portion of Control_Sequence into Engine/. 2008-05-26 14:39:50 -05:00
Jonathan Moore Liles 2fe8d7b401 Move Fl_Menu_Settings into FL/. Add makefile rules to rebuild dependencies. 2008-05-26 13:14:55 -05:00
Jonathan Moore Liles 318144baed Clean up comments. 2008-05-26 10:16:19 -05:00
Jonathan Moore Liles 4c45197003 Fix order of destruction for sequences. 2008-05-26 01:20:49 -05:00
Jonathan Moore Liles 3717eb12c3 Avoid deadlock. 2008-05-26 00:46:49 -05:00
Jonathan Moore Liles 3ef7b52ebc Get rid of duplicate :color field. 2008-05-26 00:46:37 -05:00
Jonathan Moore Liles 53876092f4 Permit removing tracks while the transport is rolling, since it doesn't hurt anymore. 2008-05-25 23:19:13 -05:00
Jonathan Moore Liles b20156053e Add appropriate locking. Make control sequences removable. 2008-05-25 23:08:25 -05:00
Jonathan Moore Liles 03465d82b0 Add color choice to region popup menu. 2008-05-25 22:40:38 -05:00
Jonathan Moore Liles ebc059ac31 Don't bother rebuffering if the transport isn't rolling. 2008-05-25 21:51:55 -05:00
Jonathan Moore Liles 0e1ac2563d Overhaul timeline event handling. 2008-05-25 21:51:36 -05:00
Jonathan Moore Liles 0525433a41 Improve about dialog. 2008-05-25 19:03:43 -05:00
Jonathan Moore Liles d521c2af23 Cleanup debug header. 2008-05-25 17:34:26 -05:00
Jonathan Moore Liles c210a65a00 Shutdown IO threads before destroying Disk_Stream. 2008-05-25 17:27:24 -05:00
Jonathan Moore Liles d2afffbb7c Don't trash memory with timeline menu stuff. 2008-05-25 15:48:37 -05:00
Jonathan Moore Liles 9b38190211 Add locking. Don't call handle_widget_change often while dragging. 2008-05-25 14:11:28 -05:00
Jonathan Moore Liles 9f567c6966 TLE: clean up menubar. 2008-05-25 13:45:20 -05:00
Jonathan Moore Liles 0d40ca5b6b build: use git to generate lists of sources for makefile. 2008-05-25 09:39:29 -05:00
Jonathan Moore Liles 26b9f2cf6b Move more timeline keybindings into menu. 2008-05-25 01:18:30 -05:00
Jonathan Moore Liles 06a0518463 Rearrange menus. Keep timeline menu in timeline class and share it with popup menu. 2008-05-25 01:14:17 -05:00
Jonathan Moore Liles 3d40848e52 TLE: Rename menu items. 2008-05-24 23:31:41 -05:00
Jonathan Moore Liles ba430eb236 Add 't' key on timeline to add a tempo point using the current range as the beat length. 2008-05-24 22:27:23 -05:00
Jonathan Moore Liles 734e3b555b Cleanup. 2008-05-23 18:48:44 -05:00
Jonathan Moore Liles 1616465e39 Overhaul capture finalization. 2008-05-22 21:23:41 -05:00
Jonathan Moore Liles 232d23915a Mipmap peak building actually happens in the UI thread, not the IO thread.
Therefore, it is always necessary to fork when mipmapping peaks after capture.
2008-05-22 18:12:51 -05:00
Jonathan Moore Liles 33c646109f Adapt other classes to the new handle_widget_change() method. 2008-05-22 17:02:39 -05:00
Jonathan Moore Liles 8eb4cb8735 Cleanup. 2008-05-22 15:58:36 -05:00
Jonathan Moore Liles c79d48c663 Rebuffer when an audio region is moved. 2008-05-22 15:34:21 -05:00
Jonathan Moore Liles 6c9e2c8c07 Add locking for sequence widget drags. 2008-05-22 14:20:15 -05:00
Jonathan Moore Liles 98507e60bd Add locking for track widget drags. 2008-05-22 14:19:39 -05:00
Jonathan Moore Liles f9fb837c58 Add missing GPL headers. 2008-05-22 11:34:33 -05:00
Jonathan Moore Liles df93c3f8ef Minor build cleanup. 2008-05-22 02:13:27 -05:00
Jonathan Moore Liles bd82f954a8 Move (mostly) all Engine functionality into Engine/ directory. 2008-05-22 02:05:49 -05:00
Jonathan Moore Liles 0840face8f Cleanup. 2008-05-21 22:05:10 -05:00
Jonathan Moore Liles 2a1eac2731 Set visual at startup. 2008-05-21 22:02:38 -05:00
Jonathan Moore Liles 821250d9de Allow the user to use r+drag to set the range. 2008-05-21 21:49:14 -05:00
Jonathan Moore Liles 3938253a5a Change the way cursor caps are drawn. 2008-05-21 21:29:06 -05:00
Jonathan Moore Liles d9a8ec1d13 Minor cleanups. 2008-05-21 19:40:25 -05:00
Jonathan Moore Liles fc6ffee22e Handle missing sources gracefully. 2008-05-20 19:46:02 -05:00
Jonathan Moore Liles 7e72339ea9 configure: always name *_LIBS and *_FLAGS in uppercase. 2008-05-20 16:07:03 -05:00
Jonathan Moore Liles 48d7f61f8a Respond appropriately to changes in JACK buffer size. 2008-05-19 23:30:08 -05:00
Jonathan Moore Liles 97f0283780 Add locking to redraws triggered while recording. 2008-05-19 00:07:42 -05:00
Jonathan Moore Liles 8d385de54c Draw secondary cursors on timeline instead of in the overlay. 2008-05-18 22:45:37 -05:00
Jonathan Moore Liles ef254cfbae Initialize properties in the right order. 2008-05-18 22:45:07 -05:00
Jonathan Moore Liles 11add2dd63 Oops. Don't allow an unselected sequence widget to drag past 0 either. 2008-05-18 22:06:14 -05:00
Jonathan Moore Liles 47dbf6c537 Clear up a load of compiler warnings. 2008-05-18 22:01:09 -05:00
Jonathan Moore Liles 9ef454291a Fix selection issues.
This fixes the bug where some selected wigets would disappear to frame 0.
It also prevents moving any widget behind 0.
2008-05-18 21:40:42 -05:00
Jonathan Moore Liles 06de784661 Minor cleanup. 2008-05-18 21:01:59 -05:00
Jonathan Moore Liles d40bc52a5a Cleanups. Move waveform scaling into Waveform class. 2008-05-18 19:42:27 -05:00
Jonathan Moore Liles 8d7bee3050 Improve about dialog. 2008-05-18 19:31:27 -05:00
Jonathan Moore Liles 3e1a32c8be Cleanup. 2008-05-18 00:09:18 -05:00
Jonathan Moore Liles 117d7cf9f7 Move helper functions out of 'configure' script. 2008-05-17 21:52:57 -05:00
Jonathan Moore Liles 60132b8595 Work on freewheel mode. 2008-05-17 20:45:56 -05:00
Jonathan Moore Liles 5cd2475609 Cleanup build. 2008-05-18 00:15:39 +00:00
Jonathan Moore Liles 2695f9eed5 Add some framework for freewheeling mode. 2008-05-17 16:37:41 -05:00
Jonathan Moore Liles 9261c3fea6 Improve the appearance of message dialogs. 2008-05-17 13:42:50 -05:00
Jonathan Moore Liles f920867579 Build mipmap peaks in capture IO thread, but don't wait on it to finish. May be incorrect. 2008-05-17 11:23:37 -05:00
Jonathan Moore Liles b57acca314 Fork for building peak mipmaps after recording. 2008-05-17 00:35:21 -05:00
Jonathan Moore Liles f4661611a0 Get stop frame right when finalizing regions. 2008-05-17 00:34:42 -05:00