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
David Robillard [Fri, 10 Aug 2007 19:16:21 +0000 (19:16 +0000)]
Touch select (hold left <Shift> or <Control>).
Fix crash on note delete.
git-svn-id: svn://localhost/ardour2/trunk@2286
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 10 Aug 2007 00:32:59 +0000 (00:32 +0000)]
Remove excessive printing during note dragging.
git-svn-id: svn://localhost/ardour2/trunk@2285
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 9 Aug 2007 22:34:56 +0000 (22:34 +0000)]
Fix rect select to work in all directions.
git-svn-id: svn://localhost/ardour2/trunk@2284
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 9 Aug 2007 20:50:56 +0000 (20:50 +0000)]
Make MIDI tools actually do something. Sorta. Sometimes.
When the moon is right.
Cosmic radiation may be a factor.
Prayer may not be an entirely bad idea, just in case.
git-svn-id: svn://localhost/ardour2/trunk@2283
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Wed, 8 Aug 2007 21:05:09 +0000 (21:05 +0000)]
Added missing MIDI tool pixmaps.
git-svn-id: svn://localhost/ardour2/trunk@2277
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Wed, 8 Aug 2007 19:13:36 +0000 (19:13 +0000)]
First appearance of MIDI edit tool bar. Toggles when delete held, but otherwise still useless, pending some UI figuring out...
git-svn-id: svn://localhost/ardour2/trunk@2275
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Wed, 8 Aug 2007 02:01:14 +0000 (02:01 +0000)]
Multi-note (ie selection) dragging.
git-svn-id: svn://localhost/ardour2/trunk@2267
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 7 Aug 2007 20:51:24 +0000 (20:51 +0000)]
Fix note separator lines from stealing mouse events.
Fix shutdown crash (one of many, namely the least nasty).
Failed attempt at getting MIDI edits to apply ASAP (Diskstream::playlist_modified isn't the magic I'd hoped it was).
git-svn-id: svn://localhost/ardour2/trunk@2265
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 7 Aug 2007 00:28:06 +0000 (00:28 +0000)]
Fix note-offs during playback from model.
git-svn-id: svn://localhost/ardour2/trunk@2262
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 7 Aug 2007 00:09:22 +0000 (00:09 +0000)]
Ridiculously CPU-chewey rect select (for sustained notes only ATM).
git-svn-id: svn://localhost/ardour2/trunk@2261
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Mon, 6 Aug 2007 17:50:23 +0000 (17:50 +0000)]
slightly improved fixes for MIDI issues
git-svn-id: svn://localhost/ardour2/trunk@2260
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 6 Aug 2007 17:44:07 +0000 (17:44 +0000)]
Fix startup crashes from recent MIDI stuff.
git-svn-id: svn://localhost/ardour2/trunk@2259
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 6 Aug 2007 16:43:14 +0000 (16:43 +0000)]
Added missing files.
git-svn-id: svn://localhost/ardour2/trunk@2258
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Mon, 6 Aug 2007 14:19:19 +0000 (14:19 +0000)]
merge changes to libmidi++ API from 2.0-ongoing
git-svn-id: svn://localhost/ardour2/trunk@2256
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 6 Aug 2007 06:09:41 +0000 (06:09 +0000)]
Fix note range toggling (ie actually change visible range when menu option selected). Still some issue with initial value...
Don't raise tempo lines to top on editor canvas, they steal events. Same problem on time canvas, but harder to solve...
git-svn-id: svn://localhost/ardour2/trunk@2255
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 6 Aug 2007 05:30:18 +0000 (05:30 +0000)]
Genericificationalizeified AudioFilter (now Filter).
Added primitive (non-undoable, placeholder, etc) quantization.
git-svn-id: svn://localhost/ardour2/trunk@2254
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Mon, 6 Aug 2007 04:45:24 +0000 (04:45 +0000)]
Fix for deadlock in Session::remove_source that was committed in rev 1815
git-svn-id: svn://localhost/ardour2/trunk@2253
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 6 Aug 2007 01:00:23 +0000 (01:00 +0000)]
Brought back visual indication of delete dragging.
git-svn-id: svn://localhost/ardour2/trunk@2251
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 6 Aug 2007 00:35:29 +0000 (00:35 +0000)]
Don't draw measure lins a ton of times... but still drawn twice on initial session display :/
git-svn-id: svn://localhost/ardour2/trunk@2250
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 5 Aug 2007 23:33:21 +0000 (23:33 +0000)]
Clear selection when clicking region background (usual HiGgey stuff).
git-svn-id: svn://localhost/ardour2/trunk@2249
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 5 Aug 2007 23:17:40 +0000 (23:17 +0000)]
I can't believe it's not one canvas! (TM)
git-svn-id: svn://localhost/ardour2/trunk@2248
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 5 Aug 2007 21:31:02 +0000 (21:31 +0000)]
Pulled tempo line stuff out into it's own relatively self-contained class.
Draw tempo lines on time canvas and connect them up all pretty-like to the ruler ticks.
Still needs some visual tweaking, but... they draw! Finally!
git-svn-id: svn://localhost/ardour2/trunk@2247
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 5 Aug 2007 00:50:54 +0000 (00:50 +0000)]
Selection deleting.
git-svn-id: svn://localhost/ardour2/trunk@2246
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 5 Aug 2007 00:33:14 +0000 (00:33 +0000)]
Note selection via clicking (including multi-note selection via ctrl/shift clicking).
git-svn-id: svn://localhost/ardour2/trunk@2245
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 4 Aug 2007 18:43:32 +0000 (18:43 +0000)]
Theme-ified MIDI note colours, implemented automagic crossfading thereof.
git-svn-id: svn://localhost/ardour2/trunk@2243
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 4 Aug 2007 17:02:24 +0000 (17:02 +0000)]
Fix vertical note dragging 'double distance' bug.
Obey snap for note dragging.
git-svn-id: svn://localhost/ardour2/trunk@2242
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 4 Aug 2007 15:51:04 +0000 (15:51 +0000)]
Line up percussion hits correctly.
git-svn-id: svn://localhost/ardour2/trunk@2241
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 4 Aug 2007 05:34:51 +0000 (05:34 +0000)]
Obey snap setting for MIDI stuff.
git-svn-id: svn://localhost/ardour2/trunk@2238
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 4 Aug 2007 04:18:34 +0000 (04:18 +0000)]
Moved note height/range/etc stuff from MidiRegionView to MidiStreamView, since it's all shared anyway.
Fixed positioning of percussion hits.
Note row separator lines (ie a "piano roll".. if it counts as a piano roll without an actual piano on the side of it, anyway).
git-svn-id: svn://localhost/ardour2/trunk@2237
d708f5d6-7413-0410-9779-
e7cbd77b26cf