Carl Hetherington [Tue, 2 Oct 2007 16:37:26 +0000 (16:37 +0000)]
Make hide all automation work again.
git-svn-id: svn://localhost/ardour2/trunk@2507
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Mon, 1 Oct 2007 17:19:09 +0000 (17:19 +0000)]
Prevent plugins appearing twice on the automation submenu.
git-svn-id: svn://localhost/ardour2/trunk@2505
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Mon, 1 Oct 2007 17:18:04 +0000 (17:18 +0000)]
Remove some apparently out-of-date code which was causing a segfault on show all automation.
git-svn-id: svn://localhost/ardour2/trunk@2504
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Sampo Savolainen [Thu, 27 Sep 2007 19:05:27 +0000 (19:05 +0000)]
Make sure plugins are activated at least once before they are cleaned up
git-svn-id: svn://localhost/ardour2/trunk@2495
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Sampo Savolainen [Tue, 25 Sep 2007 17:56:39 +0000 (17:56 +0000)]
Make sure activate() and deactivate() are never run multiple times in a
row. Make cleanup work nicely
git-svn-id: svn://localhost/ardour2/trunk@2485
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Wed, 19 Sep 2007 02:41:31 +0000 (02:41 +0000)]
Fix for incorrect directory being chosen in which to create session directory when manually entering directory in file chooser.
Fixes bug 1852 for the trunk, similar fix has already been applied to 2.0-ongoing
git-svn-id: svn://localhost/ardour2/trunk@2471
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Thu, 13 Sep 2007 14:48:00 +0000 (14:48 +0000)]
Fix GTK warning.
git-svn-id: svn://localhost/ardour2/trunk@2464
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Tue, 11 Sep 2007 11:27:59 +0000 (11:27 +0000)]
click reset error fixed, plus some older work on sends+panners i/o counts
git-svn-id: svn://localhost/ardour2/trunk@2456
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Tue, 11 Sep 2007 11:26:39 +0000 (11:26 +0000)]
make sure that AudioRegion::set_live_state() notifies interested parties when normalization gain changes
git-svn-id: svn://localhost/ardour2/trunk@2455
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Tue, 11 Sep 2007 10:43:55 +0000 (10:43 +0000)]
make OSC thread register with GUI
git-svn-id: svn://localhost/ardour2/trunk@2453
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 11 Sep 2007 03:14:32 +0000 (03:14 +0000)]
Always show CC region, whether empty or not (ie whether MidiModel contains any events for that CC or not). Can't add events though... yet....
git-svn-id: svn://localhost/ardour2/trunk@2451
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 11 Sep 2007 02:24:54 +0000 (02:24 +0000)]
Fix note range menu item initial value (it probably should be saved and restored though...).
git-svn-id: svn://localhost/ardour2/trunk@2449
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 10 Sep 2007 22:48:08 +0000 (22:48 +0000)]
Fix crash on playhead relocate in MIDI regions w/o CC data.
git-svn-id: svn://localhost/ardour2/trunk@2448
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 10 Sep 2007 22:25:22 +0000 (22:25 +0000)]
Fix note separator lines adaptation to changing track height.
git-svn-id: svn://localhost/ardour2/trunk@2447
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Mon, 10 Sep 2007 00:06:58 +0000 (00:06 +0000)]
Avoid dereferencing invalidated iterator when removing selected regions. Fixes bug 1703.
git-svn-id: svn://localhost/ardour2/trunk@2443
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Sun, 9 Sep 2007 10:05:21 +0000 (10:05 +0000)]
Fix a misdefinition in ardour/recent_sessions.h
git-svn-id: svn://localhost/ardour2/trunk@2436
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Sun, 9 Sep 2007 10:05:16 +0000 (10:05 +0000)]
If sys::copy_file fails, try and remove the target file before throwing an exception
git-svn-id: svn://localhost/ardour2/trunk@2435
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Sun, 9 Sep 2007 10:05:13 +0000 (10:05 +0000)]
Use sys::path and sys::rename in Session::rename_state for portability
git-svn-id: svn://localhost/ardour2/trunk@2434
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Sun, 9 Sep 2007 10:05:06 +0000 (10:05 +0000)]
Modify Session::load_history for portability
git-svn-id: svn://localhost/ardour2/trunk@2433
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Sun, 9 Sep 2007 10:04:58 +0000 (10:04 +0000)]
Modify Session::save_history for portability
git-svn-id: svn://localhost/ardour2/trunk@2432
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Sun, 9 Sep 2007 10:04:54 +0000 (10:04 +0000)]
Add function sys::rename to pbd/filesystem.h/cc. Renames a file, uses g_rename.
git-svn-id: svn://localhost/ardour2/trunk@2431
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Sun, 9 Sep 2007 10:04:47 +0000 (10:04 +0000)]
Add history_suffix to ardour/filename_extensions.cc
git-svn-id: svn://localhost/ardour2/trunk@2430
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Sun, 9 Sep 2007 10:04:43 +0000 (10:04 +0000)]
Use std::transform with sys::basename in ARDOUR::get_file_names_no_extension
git-svn-id: svn://localhost/ardour2/trunk@2429
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 6 Sep 2007 03:38:28 +0000 (03:38 +0000)]
Fix automation region stacking.
git-svn-id: svn://localhost/ardour2/trunk@2425
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 6 Sep 2007 02:30:39 +0000 (02:30 +0000)]
Deep "automation regions" support.
Fix zoom/height/etc changing for automation region views.
Broke smooth automation region dragging (make omelette, break eggs, etc).
git-svn-id: svn://localhost/ardour2/trunk@2424
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Doug McLain [Wed, 5 Sep 2007 20:09:35 +0000 (20:09 +0000)]
dont fill the initial gm rec, since it gets overdrawn by the metrics pixmap anyway
git-svn-id: svn://localhost/ardour2/trunk@2421
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Wed, 5 Sep 2007 02:18:49 +0000 (02:18 +0000)]
Fix opening session when manually entering path in the file chooser. Fixes bug 1853.
git-svn-id: svn://localhost/ardour2/trunk@2419
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Wed, 5 Sep 2007 01:53:51 +0000 (01:53 +0000)]
Fix source directory paths so that the session name element is "legalized" and compatible with 2.0
Fixes bug 1854.
git-svn-id: svn://localhost/ardour2/trunk@2418
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 09:01:37 +0000 (09:01 +0000)]
Remove unused header includes from ardour/session_directory.cc
git-svn-id: svn://localhost/ardour2/trunk@2414
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 09:01:35 +0000 (09:01 +0000)]
Use PBD::sys::operator/ instead of PBD::sys::path::operator/= in ARDOUR::SessionDirectory
git-svn-id: svn://localhost/ardour2/trunk@2413
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 09:01:32 +0000 (09:01 +0000)]
Add PBD::sys::operator/ to pbd/filesystem for convenient path building
git-svn-id: svn://localhost/ardour2/trunk@2412
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 09:01:31 +0000 (09:01 +0000)]
Use sys::remove instead of ::unlink in Session::remove_empty_sounds for portability
git-svn-id: svn://localhost/ardour2/trunk@2411
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 09:01:28 +0000 (09:01 +0000)]
Add ARDOUR::TapeFileMatcher class for matching filenames and use it in Session::remove_empty_sounds
git-svn-id: svn://localhost/ardour2/trunk@2410
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 09:01:25 +0000 (09:01 +0000)]
Use PBD::get_files_in_directory instead of PBD::Scanner in Session::remove_empty_sounds
git-svn-id: svn://localhost/ardour2/trunk@2409
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 09:01:22 +0000 (09:01 +0000)]
Use path::leaf instead of sys::basename in SessionDirectory::sound/midi_path
sys::basename now matches boost::filesystem behaviour so if a session name
had a dot in it the session name used in the interchange directory would be
truncated.
git-svn-id: svn://localhost/ardour2/trunk@2408
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 09:01:21 +0000 (09:01 +0000)]
Use path::leaf in sys::basename and sys::extension
git-svn-id: svn://localhost/ardour2/trunk@2407
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 09:01:19 +0000 (09:01 +0000)]
Add path::leaf method function to the PBD::sys::path class
git-svn-id: svn://localhost/ardour2/trunk@2406
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 09:01:17 +0000 (09:01 +0000)]
Add PBD::sys::extension for getting the filename extension of a file
git-svn-id: svn://localhost/ardour2/trunk@2405
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 09:01:15 +0000 (09:01 +0000)]
Modify PBD::sys::basename to match boost::filesystem behaviour and document it.
This makes this function equivalent to PBD::basename_nosuffix, sys::basename
takes a path as an argument rather than a string but that is ok as a path can
automatically constructed from a string.
git-svn-id: svn://localhost/ardour2/trunk@2404
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 09:01:12 +0000 (09:01 +0000)]
Add path::branch_path to the PBD::sys::path class
This is basically equivalent to Glib::path_get_dirname but returning an
empty string(path) if a path doesn't contain any directory components rather
than "."
git-svn-id: svn://localhost/ardour2/trunk@2403
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 09:01:09 +0000 (09:01 +0000)]
Fix to avoid overwriting the backup file of a 0.99 session when opening a session
This is equivalent to the fix applied as rev 2244 to the 2.0-ongoing branch
git-svn-id: svn://localhost/ardour2/trunk@2402
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 07:15:19 +0000 (07:15 +0000)]
Add some documentation regarding the PBD::sys namespace and my justifications for writing that code
git-svn-id: svn://localhost/ardour2/trunk@2401
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 07:15:17 +0000 (07:15 +0000)]
Change the SessionDirectory constructor to take a sys::path instead of a string
git-svn-id: svn://localhost/ardour2/trunk@2400
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 07:15:01 +0000 (07:15 +0000)]
Use sys::exists instead of g_file_test in session.cc
git-svn-id: svn://localhost/ardour2/trunk@2399
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 07:14:58 +0000 (07:14 +0000)]
Remove unused utility function elapsed_time_to_str
git-svn-id: svn://localhost/ardour2/trunk@2398
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 07:14:50 +0000 (07:14 +0000)]
Remove declaration of unused and undefined method in Session class
git-svn-id: svn://localhost/ardour2/trunk@2397
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 06:05:26 +0000 (06:05 +0000)]
Use Session::_session_dir instead of Session::_path when calling Session::setup_raid_path in Session::set_state
git-svn-id: svn://localhost/ardour2/trunk@2396
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 06:05:23 +0000 (06:05 +0000)]
Use PBD::find_file_in_search_path instead of PathScanner in ARDOUR_UI::install_actions to test for AniComp
git-svn-id: svn://localhost/ardour2/trunk@2395
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 06:05:21 +0000 (06:05 +0000)]
Remove inclusion of unused header file
git-svn-id: svn://localhost/ardour2/trunk@2394
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 06:05:19 +0000 (06:05 +0000)]
Remove inclusion of unused header file
git-svn-id: svn://localhost/ardour2/trunk@2393
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 06:05:17 +0000 (06:05 +0000)]
Remove unused constant max_layer, which is also incorrectly defined as UCHAR_MAX when layer_t is uint32_t
Defining it using std::numeric_limits<layer_t>::max() would of avoided
this inconsistancy but as it unused it is doesn't really matter I guess.
git-svn-id: svn://localhost/ardour2/trunk@2392
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 05:26:35 +0000 (05:26 +0000)]
Only show child rows for session snapshots when there is more than 1 snapshot in the recent session treeview of the NewSessionDialog
git-svn-id: svn://localhost/ardour2/trunk@2391
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 05:26:34 +0000 (05:26 +0000)]
Remove unused functions Session::possible_states
git-svn-id: svn://localhost/ardour2/trunk@2390
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 05:26:31 +0000 (05:26 +0000)]
Use ardour/session_state_utils.h in Editor::redisplay_snapshots
git-svn-id: svn://localhost/ardour2/trunk@2389
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 05:26:28 +0000 (05:26 +0000)]
Use functions from ardour/session_state_utils.h instead of ardour/session.h in ARDOUR_UI::redisplay_recent_sessions
git-svn-id: svn://localhost/ardour2/trunk@2388
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 05:26:26 +0000 (05:26 +0000)]
Use functions in ardour/session_state_utils.h instead of ardour/session.h in NewSessionDialog::reset_recent
git-svn-id: svn://localhost/ardour2/trunk@2387
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 05:26:24 +0000 (05:26 +0000)]
Add ARDOUR::get_state_files_in_directory and ARDOUR::get_file_names_no_extension to ardour/session_state_utils.h/cc
git-svn-id: svn://localhost/ardour2/trunk@2386
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:48:42 +0000 (04:48 +0000)]
Remove three unused temporary variables from Session::save_template
git-svn-id: svn://localhost/ardour2/trunk@2385
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:48:39 +0000 (04:48 +0000)]
Use ARDOUR::create_backup_file in Session::save_state
git-svn-id: svn://localhost/ardour2/trunk@2384
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:48:36 +0000 (04:48 +0000)]
Use ARDOUR::create_backup_file in Session::remove_state
git-svn-id: svn://localhost/ardour2/trunk@2383
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:48:33 +0000 (04:48 +0000)]
Add function ARDOUR::create_backup_file in new header ardour/session_state_utils.h/cc
git-svn-id: svn://localhost/ardour2/trunk@2382
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:48:30 +0000 (04:48 +0000)]
Remove unused function PBD::copy_file
git-svn-id: svn://localhost/ardour2/trunk@2381
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:48:26 +0000 (04:48 +0000)]
Use PBD::sys::copy_file instead of PBD::copy_file in Session::load_state
git-svn-id: svn://localhost/ardour2/trunk@2380
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:48:23 +0000 (04:48 +0000)]
Use PBD::sys::path instead of PBD::copy_file in Session::save_state
git-svn-id: svn://localhost/ardour2/trunk@2379
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:48:21 +0000 (04:48 +0000)]
Use PBD::sys::copy_file instead of PBD::copy_file in Session::remote_state
Replace one line C style comments with C++ equivalent in Session::remove_state
git-svn-id: svn://localhost/ardour2/trunk@2378
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:48:18 +0000 (04:48 +0000)]
Use PBD::sys::copy_file instead of PBD::copy_file in Session::create_session_file_from_template
git-svn-id: svn://localhost/ardour2/trunk@2377
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:48:13 +0000 (04:48 +0000)]
Add function PBD::sys::copy_file intended to replace PBD::copy_file
Basically moving PBD::copy_file implementation to pbd/filesystem.h/cc.
The implementation itself looks like it could be improved to use
much less memory when copying big files by reading and writing in
chunks but I don't think that is an issue at present.
git-svn-id: svn://localhost/ardour2/trunk@2376
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:48:11 +0000 (04:48 +0000)]
Use functions in pbd/filesystem.h in Session::save_state for portability
Add ARDOUR::temp_suffix to ardour/filename_extensions.h/cc
git-svn-id: svn://localhost/ardour2/trunk@2375
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:48:09 +0000 (04:48 +0000)]
Use functions from pbd/filesystem.h in Session::remove_state for portability
Add ARDOUR::backup_suffix to ardour/filename_extensions.h/cc
git-svn-id: svn://localhost/ardour2/trunk@2374
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:48:06 +0000 (04:48 +0000)]
Use sys::remove instead of ::unlink in Session::remove_pending_capture_state for portability
git-svn-id: svn://localhost/ardour2/trunk@2373
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:48:04 +0000 (04:48 +0000)]
Add function PBD::sys::remove as a wrapper to g_unlink
API is intended to be indentical(apart from the string type) to boost::filesystem::remove
git-svn-id: svn://localhost/ardour2/trunk@2372
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:47:54 +0000 (04:47 +0000)]
Use PBD::sys::path and SessionDirectory in Session::remove_pending_capture_state for portability
git-svn-id: svn://localhost/ardour2/trunk@2371
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:47:51 +0000 (04:47 +0000)]
Use sys::path and SessionDirectory in Session::create_session_file_from_template for portability
git-svn-id: svn://localhost/ardour2/trunk@2370
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:47:48 +0000 (04:47 +0000)]
Rename PBD::SearchPath::get_string to PBD::SearchPath::to_string
git-svn-id: svn://localhost/ardour2/trunk@2369
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:47:44 +0000 (04:47 +0000)]
Use sys::path and SessionDirectory classes in Session::load_state for portability
git-svn-id: svn://localhost/ardour2/trunk@2368
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Tue, 4 Sep 2007 04:47:41 +0000 (04:47 +0000)]
Use PBD::sys::exists instead of Glib::file_test in Session::load_state
git-svn-id: svn://localhost/ardour2/trunk@2367
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 3 Sep 2007 16:12:07 +0000 (16:12 +0000)]
Move CC/Automation regions with parent correctly.
git-svn-id: svn://localhost/ardour2/trunk@2363
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 31 Aug 2007 19:29:23 +0000 (19:29 +0000)]
Fix CC region view length.
git-svn-id: svn://localhost/ardour2/trunk@2360
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 31 Aug 2007 05:02:45 +0000 (05:02 +0000)]
Reading of MIDI CC from MIDI regions (MidiModel). UI still needs work though..
Various fixes for linear/integer AutomationList interpolation (for CC).
git-svn-id: svn://localhost/ardour2/trunk@2359
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 28 Aug 2007 17:48:37 +0000 (17:48 +0000)]
Split MidiModel::Note out to ARDOUR::Note in it's own file (midi_model.h was getting fat).
Initial work on MidiModel iterator.
git-svn-id: svn://localhost/ardour2/trunk@2355
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Mon, 27 Aug 2007 11:21:55 +0000 (11:21 +0000)]
Restrict template filechooser to displaying only template files. Fixes bug 1823.
It previously allowed ardour session files and session backup files to be
selected as templates, this was causing strange behaviour or segmentation
faults. see bug report for more details.
git-svn-id: svn://localhost/ardour2/trunk@2348
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Mon, 27 Aug 2007 01:03:55 +0000 (01:03 +0000)]
Add contact information to the contribution page in manual
git-svn-id: svn://localhost/ardour2/trunk@2347
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Sun, 19 Aug 2007 02:45:27 +0000 (02:45 +0000)]
Remove any backup files resulting from formatting the manual in make clean
git-svn-id: svn://localhost/ardour2/trunk@2331
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Sun, 19 Aug 2007 02:45:24 +0000 (02:45 +0000)]
Modify the format make target to correctly find all xml files in the xml/ directory and any subdirectories
git-svn-id: svn://localhost/ardour2/trunk@2330
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Sun, 19 Aug 2007 02:45:16 +0000 (02:45 +0000)]
Fix the formatting of appendix elements in the manual
git-svn-id: svn://localhost/ardour2/trunk@2329
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 17 Aug 2007 17:25:20 +0000 (17:25 +0000)]
Per-region MIDI CC "automation".
Extremely broken in several ways.
This commit brought to you by the letters D, R, and my need to switch machines.
git-svn-id: svn://localhost/ardour2/trunk@2323
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 16 Aug 2007 01:53:50 +0000 (01:53 +0000)]
Add warning to manual help target about running scons before building the manual
git-svn-id: svn://localhost/ardour2/trunk@2311
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 16 Aug 2007 01:53:47 +0000 (01:53 +0000)]
Fix the ARDOUR_COMMAND entity in manual entities file
git-svn-id: svn://localhost/ardour2/trunk@2310
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 16 Aug 2007 01:53:44 +0000 (01:53 +0000)]
Use scons to generate manual entities so the manual version is consistant with the Ardour version
git-svn-id: svn://localhost/ardour2/trunk@2309
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 16 Aug 2007 01:25:58 +0000 (01:25 +0000)]
Make SMFSource suck significantly less.
Read from MidiRingbuffer directly into model, don't read MidiRingBuffer into a new midi buffer, then into the model.
Pass rec data to UI via model instead of a separate buffer.
Read MIDI CC data into MidiModel (though not actually used yet).
Made quantization toggle edited flag so model is saved.
git-svn-id: svn://localhost/ardour2/trunk@2308
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Doug McLain [Wed, 15 Aug 2007 04:29:35 +0000 (04:29 +0000)]
fix invisible tearoff arrow for light theme
git-svn-id: svn://localhost/ardour2/trunk@2302
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Tue, 14 Aug 2007 10:49:29 +0000 (10:49 +0000)]
Fix segfault due to uninitialised variable
git-svn-id: svn://localhost/ardour2/trunk@2299
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 13 Aug 2007 21:38:04 +0000 (21:38 +0000)]
Remove redundant view <-> model value mapping stuff from AudioRegionGainLine.
git-svn-id: svn://localhost/ardour2/trunk@2296
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 13 Aug 2007 21:19:29 +0000 (21:19 +0000)]
Fix region gain envelope line colour (was 100% transparent).
git-svn-id: svn://localhost/ardour2/trunk@2295
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 13 Aug 2007 20:27:38 +0000 (20:27 +0000)]
Remove excessive SMF "Wrote EOT" printing.
Shave a few bytes off each ControlPoint if not used by a Curve (24 bytes on 64-bit).
git-svn-id: svn://localhost/ardour2/trunk@2294
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 13 Aug 2007 15:32:29 +0000 (15:32 +0000)]
Fix (edited) MIDI saving restoring (restore note offs/durations correctly).
git-svn-id: svn://localhost/ardour2/trunk@2292
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 11 Aug 2007 06:17:42 +0000 (06:17 +0000)]
Saving of edited MIDI data to disk (on session save).
Seems to be a pretty random problem with note duration restoring though...
git-svn-id: svn://localhost/ardour2/trunk@2290
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 11 Aug 2007 00:22:57 +0000 (00:22 +0000)]
Fix MIDI file names on recording (don't write out a ton of useless empty .mid files).
Preliminary hooks for writing model to file (still does nothing).
git-svn-id: svn://localhost/ardour2/trunk@2289
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 10 Aug 2007 23:28:53 +0000 (23:28 +0000)]
Fix crash on audio region bounce. Not sure if it's correct though...
git-svn-id: svn://localhost/ardour2/trunk@2288
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 10 Aug 2007 20:55:27 +0000 (20:55 +0000)]
Fix some evil "tabs".
Switch canvas cursor for MIDI tools.
Fix delete tool bug (touch delete always on).
git-svn-id: svn://localhost/ardour2/trunk@2287
d708f5d6-7413-0410-9779-
e7cbd77b26cf