1f33d1d615
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
2007-09-04 04:48:26 +00:00
b8f488c6e4
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
2007-09-04 04:48:23 +00:00
4535b6ae84
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
2007-09-04 04:48:21 +00:00
96c9b5456f
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
2007-09-04 04:48:18 +00:00
e3364b72cc
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
2007-09-04 04:48:13 +00:00
653a552da5
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
2007-09-04 04:48:11 +00:00
b49e50afac
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
2007-09-04 04:48:09 +00:00
911e30a73a
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
2007-09-04 04:48:06 +00:00
29842063e3
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
2007-09-04 04:48:04 +00:00
f9c202dba0
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
2007-09-04 04:47:54 +00:00
96034486b2
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
2007-09-04 04:47:51 +00:00
3b937a7c44
Rename PBD::SearchPath::get_string to PBD::SearchPath::to_string
...
git-svn-id: svn://localhost/ardour2/trunk@2369 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:47:48 +00:00
39cd07a969
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
2007-09-04 04:47:44 +00:00
54f525770f
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
2007-09-04 04:47:41 +00:00
299b58ebf8
Move CC/Automation regions with parent correctly.
...
git-svn-id: svn://localhost/ardour2/trunk@2363 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-03 16:12:07 +00:00
34907a7d62
Fix CC region view length.
...
git-svn-id: svn://localhost/ardour2/trunk@2360 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-31 19:29:23 +00:00
51c0f6c442
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
2007-08-31 05:02:45 +00:00
056b2a59d5
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
2007-08-28 17:48:37 +00:00
23949886e6
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
2007-08-27 11:21:55 +00:00
9ac7361b69
Add contact information to the contribution page in manual
...
git-svn-id: svn://localhost/ardour2/trunk@2347 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-27 01:03:55 +00:00
b4a50dd9ca
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
2007-08-19 02:45:27 +00:00
0ff6c025c5
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
2007-08-19 02:45:24 +00:00
a7f98aa315
Fix the formatting of appendix elements in the manual
...
git-svn-id: svn://localhost/ardour2/trunk@2329 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-19 02:45:16 +00:00
e486a8d86f
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
2007-08-17 17:25:20 +00:00
fac0379cab
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
2007-08-16 01:53:50 +00:00
286a56245c
Fix the ARDOUR_COMMAND entity in manual entities file
...
git-svn-id: svn://localhost/ardour2/trunk@2310 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-16 01:53:47 +00:00
aede0a6e15
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
2007-08-16 01:53:44 +00:00
f9a7388d7a
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
2007-08-16 01:25:58 +00:00
Doug McLain
356f9ba80a
fix invisible tearoff arrow for light theme
...
git-svn-id: svn://localhost/ardour2/trunk@2302 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-15 04:29:35 +00:00
Carl Hetherington
4bd83a409e
Fix segfault due to uninitialised variable
...
git-svn-id: svn://localhost/ardour2/trunk@2299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-14 10:49:29 +00:00
e0eb5fd335
Remove redundant view <-> model value mapping stuff from AudioRegionGainLine.
...
git-svn-id: svn://localhost/ardour2/trunk@2296 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-13 21:38:04 +00:00
6dc8ec0104
Fix region gain envelope line colour (was 100% transparent).
...
git-svn-id: svn://localhost/ardour2/trunk@2295 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-13 21:19:29 +00:00
2f84a7792b
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
2007-08-13 20:27:38 +00:00
67a0d6b2d9
Fix (edited) MIDI saving restoring (restore note offs/durations correctly).
...
git-svn-id: svn://localhost/ardour2/trunk@2292 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-13 15:32:29 +00:00
5156998e6e
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
2007-08-11 06:17:42 +00:00
861181d742
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
2007-08-11 00:22:57 +00:00
b6855bc209
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
2007-08-10 23:28:53 +00:00
f32a6d0f04
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
2007-08-10 20:55:27 +00:00
1ead67fbd7
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
2007-08-10 19:16:21 +00:00
e14ab95dc5
Remove excessive printing during note dragging.
...
git-svn-id: svn://localhost/ardour2/trunk@2285 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-10 00:32:59 +00:00
078151e4d4
Fix rect select to work in all directions.
...
git-svn-id: svn://localhost/ardour2/trunk@2284 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-09 22:34:56 +00:00
8eded9b7bc
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
2007-08-09 20:50:56 +00:00
08f3fa25c9
Added missing MIDI tool pixmaps.
...
git-svn-id: svn://localhost/ardour2/trunk@2277 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-08 21:05:09 +00:00
430bc18ba2
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
2007-08-08 19:13:36 +00:00
7caaa6a0e9
Multi-note (ie selection) dragging.
...
git-svn-id: svn://localhost/ardour2/trunk@2267 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-08 02:01:14 +00:00
8f6a131e41
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
2007-08-07 20:51:24 +00:00
c80e9d4ac9
Fix note-offs during playback from model.
...
git-svn-id: svn://localhost/ardour2/trunk@2262 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-07 00:28:06 +00:00
f92be1e34c
Ridiculously CPU-chewey rect select (for sustained notes only ATM).
...
git-svn-id: svn://localhost/ardour2/trunk@2261 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-07 00:09:22 +00:00
d07f541cdf
slightly improved fixes for MIDI issues
...
git-svn-id: svn://localhost/ardour2/trunk@2260 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-06 17:50:23 +00:00
6529c7994f
Fix startup crashes from recent MIDI stuff.
...
git-svn-id: svn://localhost/ardour2/trunk@2259 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-06 17:44:07 +00:00