d767a064b6
Use sys::exists instead of g_file_test in session.cc
...
git-svn-id: svn://localhost/ardour2/trunk@2399 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 07:15:01 +00:00
b821426d4a
Remove unused utility function elapsed_time_to_str
...
git-svn-id: svn://localhost/ardour2/trunk@2398 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 07:14:58 +00:00
a87d7bfe27
Remove declaration of unused and undefined method in Session class
...
git-svn-id: svn://localhost/ardour2/trunk@2397 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 07:14:50 +00:00
ef9f07ea64
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
2007-09-04 06:05:26 +00:00
62e1d70659
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
2007-09-04 06:05:23 +00:00
960218a9d3
Remove inclusion of unused header file
...
git-svn-id: svn://localhost/ardour2/trunk@2394 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 06:05:21 +00:00
db53aaab51
Remove inclusion of unused header file
...
git-svn-id: svn://localhost/ardour2/trunk@2393 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 06:05:19 +00:00
18767c39f7
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
2007-09-04 06:05:17 +00:00
7a5a4bb568
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
2007-09-04 05:26:35 +00:00
189071eae2
Remove unused functions Session::possible_states
...
git-svn-id: svn://localhost/ardour2/trunk@2390 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 05:26:34 +00:00
e2f919d76b
Use ardour/session_state_utils.h in Editor::redisplay_snapshots
...
git-svn-id: svn://localhost/ardour2/trunk@2389 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 05:26:31 +00:00
a9d70383d1
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
2007-09-04 05:26:28 +00:00
673fb6a0ed
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
2007-09-04 05:26:26 +00:00
078e867f3c
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
2007-09-04 05:26:24 +00:00
bf69e8f09a
Remove three unused temporary variables from Session::save_template
...
git-svn-id: svn://localhost/ardour2/trunk@2385 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:48:42 +00:00
05b4d05d12
Use ARDOUR::create_backup_file in Session::save_state
...
git-svn-id: svn://localhost/ardour2/trunk@2384 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:48:39 +00:00
dd51b6a6b8
Use ARDOUR::create_backup_file in Session::remove_state
...
git-svn-id: svn://localhost/ardour2/trunk@2383 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:48:36 +00:00
8058475a3d
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
2007-09-04 04:48:33 +00:00
e7398da7ec
Remove unused function PBD::copy_file
...
git-svn-id: svn://localhost/ardour2/trunk@2381 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:48:30 +00:00
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