13
0
Commit Graph

383 Commits

Author SHA1 Message Date
a94bbda76c Refactor Session::setup_raid_path Session::raid_path to use PBD::SearchPath
git-svn-id: svn://localhost/ardour2/trunk@1976 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:25:00 +00:00
2c8d0460c2 Rename SearchPath::get_search_path_string to SearchPath::get_string
git-svn-id: svn://localhost/ardour2/trunk@1975 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:24:53 +00:00
82b884b707 Add SearchPath class to libpbd
git-svn-id: svn://localhost/ardour2/trunk@1974 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:24:46 +00:00
1e7ff46a81 Remove unused PBD::Path class.
git-svn-id: svn://localhost/ardour2/trunk@1973 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:24:38 +00:00
5fa419129d Use sys::path and SessionDirectory in Session::find_all_sources for portability
git-svn-id: svn://localhost/ardour2/trunk@1972 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:24:31 +00:00
df7358904a Remove unused Session methods for re/storing favorite directories.
This sort of functionality is also now supported directly by Gtk+.


git-svn-id: svn://localhost/ardour2/trunk@1971 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:24:25 +00:00
131366d046 Use SessionDirectory instead of Session::sound_dir in Session::cleanup_sources
git-svn-id: svn://localhost/ardour2/trunk@1970 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:24:18 +00:00
91f6efcbe9 Use SessionDirectory instead of Session::sound_dir in Session::audio_path_from_name
git-svn-id: svn://localhost/ardour2/trunk@1969 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:24:12 +00:00
8222f62216 Use SessionDirectory for generating the sound directory path in Session::remove_empty_sounds
git-svn-id: svn://localhost/ardour2/trunk@1968 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:24:05 +00:00
5dcea083d7 Add a SessionDirectory to the Session class
git-svn-id: svn://localhost/ardour2/trunk@1967 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:23:58 +00:00
3c446f0920 Use ARDOUR::peakfile_suffix in audiofilesource.cc
git-svn-id: svn://localhost/ardour2/trunk@1966 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:23:51 +00:00
f3b51babe3 Use ARDOUR::peakfile_suffix in place of a couple of string constants
git-svn-id: svn://localhost/ardour2/trunk@1965 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:23:46 +00:00
ec642bb95a Add peak file extension to ardour/filename_extensions.h/cc
git-svn-id: svn://localhost/ardour2/trunk@1964 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:23:39 +00:00
ee78f64092 Remove unused method Session::dead_sound_dir
git-svn-id: svn://localhost/ardour2/trunk@1963 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:23:33 +00:00
e3d73847ea Add ARDOUR::surfaces_dir_name to directory_names.h/cc
git-svn-id: svn://localhost/ardour2/trunk@1962 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:23:26 +00:00
4afbeb664a Use ARDOUR::templates_dir_name in session_state.cc
git-svn-id: svn://localhost/ardour2/trunk@1961 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:23:19 +00:00
f8a39386e7 Add ARDOUR::templates_dir_name to directory_names.h/cc
git-svn-id: svn://localhost/ardour2/trunk@1959 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:23:05 +00:00
9091ba932d Fixed MIDI crash bug.
Added some asserts to gtkmm2ext that hopefully may catch a bug I might have possibly seen once or twice, probably.
Fixed uninitialized value in time_axis_view.cc.


git-svn-id: svn://localhost/ardour2/trunk@1958 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 02:07:49 +00:00
ca40990444 Fix MIDI session path problems (thanks timbyr).
Fix conversion warnings in smf_source.cc. 


git-svn-id: svn://localhost/ardour2/trunk@1957 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-06 15:39:56 +00:00
3718a85c29 merge essej's fix for OS X
git-svn-id: svn://localhost/ardour2/trunk@1956 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-06 01:16:05 +00:00
7852cc219c Save MIDI files to interchange/sessionname/midifiles (instead of audiofiles).
Fix some uninitialized variables in Streamview.
Tempo-based SMF source (internally only).
Horrible crash on MIDI record finish.


git-svn-id: svn://localhost/ardour2/trunk@1955 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-05 16:39:23 +00:00
e9de0dec8a Fix MIDI metering to not "clip" on many notes.
git-svn-id: svn://localhost/ardour2/trunk@1951 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-04 03:24:14 +00:00
10a282777a MIDI metering.
git-svn-id: svn://localhost/ardour2/trunk@1950 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-04 01:38:28 +00:00
70fd14afe8 Show selected MIDI track in editor mixer.
Minor code cleanups.


git-svn-id: svn://localhost/ardour2/trunk@1949 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-04 00:05:33 +00:00
b0e91bfa08 Fix MIDI region loading.
Add model loading and destroying to SMFSource.
Load and display MIDI region data on session load.


git-svn-id: svn://localhost/ardour2/trunk@1947 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-03 20:06:01 +00:00
b6814c4839 Fix vertical order of MIDI notes.
Extend current active notes to end of region while recording.
Initialize note state correctly.


git-svn-id: svn://localhost/ardour2/trunk@1945 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-02 00:55:32 +00:00
7bfe236ba7 maybe fix flac stuff
git-svn-id: svn://localhost/ardour2/trunk@1944 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-02 00:35:09 +00:00
b32765571b Preliminary visible MIDI notes in MidiRegionView.
git-svn-id: svn://localhost/ardour2/trunk@1943 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-01 23:27:29 +00:00
01a780eb4d round 2 of denormal handling changes - detect DAZ support at runtime, and use accordingly. move all FPU feature detection into PBD::FPU
git-svn-id: svn://localhost/ardour2/trunk@1939 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-01 20:29:36 +00:00
38ed75ff97 merge denormal handling work from 2.0-ongoing
git-svn-id: svn://localhost/ardour2/trunk@1937 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-01 02:27:21 +00:00
0f2f4d8efc Rewrote MidiRingBuffer to more efficiently pack data (flat pack stamps, sizes, and event data into a single buffer).
Eliminate a double-copy on MIDI playback (MidiRingBuffer -> MidiBuffer).
Various MIDI diskstream/source/SMF fixes (only write when appropriate, handle transport locates, etc).
Fix MIDI rec region size/offset problems.
Code cleanups.


git-svn-id: svn://localhost/ardour2/trunk@1934 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-31 21:37:20 +00:00
52a8242a11 fixup botched xfade-as-audioregion; apply work from 2.0-ongoing
git-svn-id: svn://localhost/ardour2/trunk@1933 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-31 21:15:28 +00:00
539aa71d18 (MERGED FROM rev 1924 on 2.0-ongoing) fix some (all? not likely) problems with dragging close to 2^32-1 frames
git-svn-id: svn://localhost/ardour2/trunk@1925 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-30 03:31:49 +00:00
Doug McLain
e1f57ba8f0 New theme manager, with option to select between dark and light theme. Cleanups to ardours handling of the ui rc file during startup, and changed the monitoring options to be global instead of session specific. More details about the theme stuff comign to ardour-dev
git-svn-id: svn://localhost/ardour2/trunk@1917 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-25 20:29:12 +00:00
376c5381ed (merge from 2.0-ongoing -r1911:1912) fix audio clock handling of key press; fix crash bug caused by mapping over a region list selection that includes rows without regions; also merge sampo's redirect undo/state fixes from 2.0-ongoing
git-svn-id: svn://localhost/ardour2/trunk@1913 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-23 00:06:16 +00:00
48d078b975 virtualize audioregion, make crossfade IS-A audioregion
git-svn-id: svn://localhost/ardour2/trunk@1889 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-21 22:12:06 +00:00
b99c6c6e1d When loading sessions, create any missing session directories rather than throwing an exception.
Change the meaning of the return value of SessionDirectory::create and add documentation to explain usage.

Add PBD::sys::filesystem_error to indicate a filesystem error and throw it where necessary.

Change the semantics of PBD::sys::create_directory/ies functions to match boost::filesystem


git-svn-id: svn://localhost/ardour2/trunk@1884 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-19 11:31:27 +00:00
Carl Hetherington
fd6408e6ba Rename ARDOUR::Connection to ARDOUR::Bundle, a few minor cleanups along the way.
git-svn-id: svn://localhost/ardour2/trunk@1882 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-18 15:58:01 +00:00
Carl Hetherington
452daa6371 Remove region raise() and lower(). Try to do region layering better.
git-svn-id: svn://localhost/ardour2/trunk@1881 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-18 13:55:25 +00:00
Taybin Rutkin
de9187f0ed fix for compiling with COREAUDIO=yes. Hopefully this fix will prevent future drifting.
git-svn-id: svn://localhost/ardour2/trunk@1880 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-18 11:06:54 +00:00
Taybin Rutkin
91b67c1d98 fix for linking midi++ on MacOSX.
git-svn-id: svn://localhost/ardour2/trunk@1879 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-18 03:01:52 +00:00
f160408d4b Add SessionDirectory::export_path and make sure it gets created in SessionDirectory::create
git-svn-id: svn://localhost/ardour2/trunk@1878 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-18 02:46:40 +00:00
355a988c3f Remove Session::create_session_directory as it is no longer used
git-svn-id: svn://localhost/ardour2/trunk@1876 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-18 02:46:27 +00:00
b8a14dff49 Use SessionDirectory class in place of Session::create_session_directory when creating a session from a template
git-svn-id: svn://localhost/ardour2/trunk@1875 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-18 02:46:19 +00:00
04c1ce1960 Add PBD::sys::path class that has a similar API to boost::filesystem::path but using glib/mm filesystem utility functions
Add ARDOUR::SessionDirectory class

Use SessionDirectory to create the session directory structure when creating a new session


git-svn-id: svn://localhost/ardour2/trunk@1874 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-18 02:46:12 +00:00
113b80adb0 Move directory names out of Session class and into directory_names.h/cc files
git-svn-id: svn://localhost/ardour2/trunk@1873 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-18 02:46:05 +00:00
e88f2f2e2f Rename Session::create to Session::create_session_directory and use bool to indicate success/failure
git-svn-id: svn://localhost/ardour2/trunk@1872 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-18 02:45:56 +00:00
944601ec2d Move code from Session::create into the Session constructors
git-svn-id: svn://localhost/ardour2/trunk@1871 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-18 02:45:49 +00:00
0b0c764f4c Add Session::create_session_file_from_template method
git-svn-id: svn://localhost/ardour2/trunk@1870 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-18 02:45:36 +00:00
5f7f6e092a Add Session::create_session_file method
git-svn-id: svn://localhost/ardour2/trunk@1869 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-18 02:45:29 +00:00