ardour.git
16 years agoRemove functions from ardour/ardour.h that are now unused
Tim Mayberry [Wed, 27 Jun 2007 12:12:54 +0000 (12:12 +0000)]
Remove functions from ardour/ardour.h that are now unused

git-svn-id: svn://localhost/ardour2/trunk@2068 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse PBD::find_file_in_search_path and ardour/filesystem_paths.h to find splash image...
Tim Mayberry [Wed, 27 Jun 2007 12:12:52 +0000 (12:12 +0000)]
Use PBD::find_file_in_search_path and ardour/filesystem_paths.h to find splash image in About dialog

git-svn-id: svn://localhost/ardour2/trunk@2067 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse ARDOUR::system_data_search_path instead of get_system_data_path in ARDOUR::system...
Tim Mayberry [Wed, 27 Jun 2007 12:12:51 +0000 (12:12 +0000)]
Use ARDOUR::system_data_search_path instead of get_system_data_path in ARDOUR::system_template_directory

git-svn-id: svn://localhost/ardour2/trunk@2066 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove two directories from ARDOUR_PATH that now longer need to be included explicitly
Tim Mayberry [Wed, 27 Jun 2007 12:12:49 +0000 (12:12 +0000)]
Remove two directories from ARDOUR_PATH that now longer need to be included explicitly

git-svn-id: svn://localhost/ardour2/trunk@2065 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse PBD::find_file_in_search_path and ardour/filesystem_paths.h to find icons
Tim Mayberry [Wed, 27 Jun 2007 12:12:48 +0000 (12:12 +0000)]
Use PBD::find_file_in_search_path and ardour/filesystem_paths.h to find icons

git-svn-id: svn://localhost/ardour2/trunk@2064 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse PBD::find_file_in_search_path and ardour/filesystem_paths.h to find pixmaps
Tim Mayberry [Wed, 27 Jun 2007 12:12:44 +0000 (12:12 +0000)]
Use PBD::find_file_in_search_path and ardour/filesystem_paths.h to find pixmaps

git-svn-id: svn://localhost/ardour2/trunk@2063 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoAdd ARDOUR::system_data_search_path to ardour/filesystem_paths.h
Tim Mayberry [Wed, 27 Jun 2007 12:12:43 +0000 (12:12 +0000)]
Add ARDOUR::system_data_search_path to ardour/filesystem_paths.h

git-svn-id: svn://localhost/ardour2/trunk@2062 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove unused function ARDOUR::find_config_file
Tim Mayberry [Wed, 27 Jun 2007 12:12:41 +0000 (12:12 +0000)]
Remove unused function ARDOUR::find_config_file

git-svn-id: svn://localhost/ardour2/trunk@2061 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse signal_toggled instead of signal_clicked in ThemeManager so a theme is only ...
Tim Mayberry [Wed, 27 Jun 2007 12:12:39 +0000 (12:12 +0000)]
Use signal_toggled instead of signal_clicked in ThemeManager so a theme is only "loaded" once.

git-svn-id: svn://localhost/ardour2/trunk@2060 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoMove some code from ARDOUR_UI::setup_theme to ThemeManager::setup_theme
Tim Mayberry [Wed, 27 Jun 2007 12:12:38 +0000 (12:12 +0000)]
Move some code from ARDOUR_UI::setup_theme to ThemeManager::setup_theme

git-svn-id: svn://localhost/ardour2/trunk@2059 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse PBD::find_file_in_search_path instead of ARDOUR::find_config_file to find key...
Tim Mayberry [Wed, 27 Jun 2007 12:12:36 +0000 (12:12 +0000)]
Use PBD::find_file_in_search_path instead of ARDOUR::find_config_file to find key bindings file

git-svn-id: svn://localhost/ardour2/trunk@2058 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoMove ARDOUR_UI::ThemeChanged signal into Gtkmm2ext::UI
Tim Mayberry [Wed, 27 Jun 2007 12:12:34 +0000 (12:12 +0000)]
Move ARDOUR_UI::ThemeChanged signal into Gtkmm2ext::UI

This means ThemeManager no longer depends on ARDOUR_UI

git-svn-id: svn://localhost/ardour2/trunk@2057 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse PBD::find_file_in_search_path in ThemeManager to find the rc file.
Tim Mayberry [Wed, 27 Jun 2007 12:12:31 +0000 (12:12 +0000)]
Use PBD::find_file_in_search_path in ThemeManager to find the rc file.

git-svn-id: svn://localhost/ardour2/trunk@2056 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse PBD::find_file_in_search_path instead of find_config_file in ActionManager::init
Tim Mayberry [Wed, 27 Jun 2007 12:12:29 +0000 (12:12 +0000)]
Use PBD::find_file_in_search_path instead of find_config_file in ActionManager::init

git-svn-id: svn://localhost/ardour2/trunk@2055 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoAdd ARDOUR::ardour_search_path that contains the directories in the ARDOUR_PATH envir...
Tim Mayberry [Wed, 27 Jun 2007 12:12:28 +0000 (12:12 +0000)]
Add ARDOUR::ardour_search_path that contains the directories in the ARDOUR_PATH environment variable.

Rename ARDOUR::config_search_path to ARDOUR::system_config_search_path

Use PBD::find_file_in_search_path in Configuration::load_state

git-svn-id: svn://localhost/ardour2/trunk@2054 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoAdd ARDOUR::config_search_path
Tim Mayberry [Wed, 27 Jun 2007 12:12:26 +0000 (12:12 +0000)]
Add ARDOUR::config_search_path

git-svn-id: svn://localhost/ardour2/trunk@2053 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRename ARDOUR::system_module_directory ARDOUR::ardour_module_directory
Tim Mayberry [Wed, 27 Jun 2007 12:12:24 +0000 (12:12 +0000)]
Rename ARDOUR::system_module_directory ARDOUR::ardour_module_directory

git-svn-id: svn://localhost/ardour2/trunk@2052 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoAdd PBD::system_data_directories and PBD::system_config_directories
Tim Mayberry [Wed, 27 Jun 2007 12:12:22 +0000 (12:12 +0000)]
Add PBD::system_data_directories and PBD::system_config_directories

These two functions are for convenience and wrap the glib functions
g_get_system_data_dirs and g_get_system_config_dirs.

git-svn-id: svn://localhost/ardour2/trunk@2051 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse sys::path and ARDOUR::user_config_directory in VSTPlugin::get_state
Tim Mayberry [Wed, 27 Jun 2007 12:12:20 +0000 (12:12 +0000)]
Use sys::path and ARDOUR::user_config_directory in VSTPlugin::get_state

This is so I can remove ARDOUR::get_user_ardour_path which is replaced by
ARDOUR::user_config_directory

git-svn-id: svn://localhost/ardour2/trunk@2050 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoReplace code for finding ControlProtocols/Surface plugins with a portable equivalent.
Tim Mayberry [Wed, 27 Jun 2007 12:12:18 +0000 (12:12 +0000)]
Replace code for finding ControlProtocols/Surface plugins with a portable equivalent.

Remove Session::control_protocol_path and the supporting non-portable
Session::suffixed_search_path from Session.

Add ARDOUR::control_protocol_search_path which is used in place of
Session::control_protocol_path

Replace ARDOUR::get_system_module_path with ARDOUR::system_module_directory which
is used by ARDOUR::control_protocol_search_path

Export ARDOUR_SURFACES_PATH in gtk2_ardour/ardev_common.sh which is returned
by ARDOUR::control_protocol_search_path if defined. This means the control surfaces
in the libs/surfaces/* directories can now be used without installing them.

Add pbd/file_utils.h/cc containing functions for finding files matching a certain
pattern

Update documentation in SearchPath and add another constructor that takes
a sys::path

git-svn-id: svn://localhost/ardour2/trunk@2049 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove AudioLibrary::uri2path and use Glib::filename_from_path in its place
Tim Mayberry [Wed, 27 Jun 2007 12:12:14 +0000 (12:12 +0000)]
Remove AudioLibrary::uri2path and use Glib::filename_from_path in its place

git-svn-id: svn://localhost/ardour2/trunk@2048 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove AudioLibrary::path2uri and use Glib::filename_to_uri instead
Tim Mayberry [Wed, 27 Jun 2007 12:12:12 +0000 (12:12 +0000)]
Remove AudioLibrary::path2uri and use Glib::filename_to_uri instead

git-svn-id: svn://localhost/ardour2/trunk@2047 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse sys::path and ARDOUR::user_config_directory in AudioLibrary for portablility
Tim Mayberry [Wed, 27 Jun 2007 12:12:10 +0000 (12:12 +0000)]
Use sys::path and ARDOUR::user_config_directory in AudioLibrary for portablility

Use Glib::filename_to_uri to create the src uri(which didn't look valid as it was)

git-svn-id: svn://localhost/ardour2/trunk@2046 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse sys::path and ARDOUR::user_config_directory in ARDOUR::read/write_recent_sessions
Tim Mayberry [Wed, 27 Jun 2007 12:12:09 +0000 (12:12 +0000)]
Use sys::path and ARDOUR::user_config_directory in ARDOUR::read/write_recent_sessions

git-svn-id: svn://localhost/ardour2/trunk@2045 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse sys::path and ARDOUR::user_config_directory in Configuration::save_state for...
Tim Mayberry [Wed, 27 Jun 2007 12:12:07 +0000 (12:12 +0000)]
Use sys::path and ARDOUR::user_config_directory in Configuration::save_state for portability

git-svn-id: svn://localhost/ardour2/trunk@2044 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse ARDOUR::user_config_directory in Configuration::*instant_xml
Tim Mayberry [Wed, 27 Jun 2007 12:12:06 +0000 (12:12 +0000)]
Use ARDOUR::user_config_directory in Configuration::*instant_xml

Stateful::add_instant_xml was modified so it would create the user
config directory if it doesn't exist, create_directories may throw
if it cannot be created. This isn't a change in behaviour as
ARDOUR::get_user_ardour_path also throws an exception(although I
can't see any existing code to handle it)

git-svn-id: svn://localhost/ardour2/trunk@2043 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse ARDOUR::user_config_directory in ARDOUR::user_template_directory
Tim Mayberry [Wed, 27 Jun 2007 12:12:03 +0000 (12:12 +0000)]
Use ARDOUR::user_config_directory in ARDOUR::user_template_directory

git-svn-id: svn://localhost/ardour2/trunk@2042 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoAdd ARDOUR::user_config_directory in new header ardour/filesystem_paths.h
Tim Mayberry [Wed, 27 Jun 2007 12:12:00 +0000 (12:12 +0000)]
Add ARDOUR::user_config_directory in new header ardour/filesystem_paths.h

git-svn-id: svn://localhost/ardour2/trunk@2041 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove inclusion of an unused header file
Tim Mayberry [Wed, 27 Jun 2007 12:11:57 +0000 (12:11 +0000)]
Remove inclusion of an unused header file

git-svn-id: svn://localhost/ardour2/trunk@2040 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove unused and non-portable utility function
Tim Mayberry [Wed, 27 Jun 2007 12:11:56 +0000 (12:11 +0000)]
Remove unused and non-portable utility function

git-svn-id: svn://localhost/ardour2/trunk@2039 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove inclusion of an unused header file
Tim Mayberry [Wed, 27 Jun 2007 12:11:53 +0000 (12:11 +0000)]
Remove inclusion of an unused header file

git-svn-id: svn://localhost/ardour2/trunk@2038 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix for blank (null) strings being saved for any color with an r value that contained...
Doug McLain [Tue, 26 Jun 2007 23:50:20 +0000 (23:50 +0000)]
Fix for blank (null) strings being saved for any color with an r value that contained a leading zero

git-svn-id: svn://localhost/ardour2/trunk@2037 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago(Untested) loop recording support in MIDI Diskstream (fix compilation broken by loop...
David Robillard [Tue, 26 Jun 2007 04:16:17 +0000 (04:16 +0000)]
(Untested) loop recording support in MIDI Diskstream (fix compilation broken by loop recording changes).

git-svn-id: svn://localhost/ardour2/trunk@2036 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* Added (let's call it revealed) ability to record while the transport is looping.
Jesse Chappell [Tue, 26 Jun 2007 02:16:54 +0000 (02:16 +0000)]
* Added (let's call it revealed) ability to record while the transport is looping.
  This works for both Internal (seamless) and JACK sync, new regions are created
  each cycle around the loop and stacked on top of each other.  It is recommended
  for now that automatic crossfades be turned off when doing this.
  Punch-In/Out may be used also (this used to be the only way to accomplish recording
  while looping, but now the GUI represents it without goofiness.

* Fixed the stuttering/stuck problem when looping with JACK sync

* Fixed gui bug that prevented record-disable when latch record option is on

* Fixed issue where it would rec-enable unnecessarily when passing through the punch-out point

* Fixed corner case in diskstream record length (that no one would ever notice)

git-svn-id: svn://localhost/ardour2/trunk@2035 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoremoved redundant creation of a system rc file
Doug McLain [Mon, 25 Jun 2007 22:58:57 +0000 (22:58 +0000)]
removed redundant creation of a system rc file

git-svn-id: svn://localhost/ardour2/trunk@2033 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agomake libsndfile build with or without flac support based on flac version checking
Doug McLain [Mon, 25 Jun 2007 21:26:34 +0000 (21:26 +0000)]
make libsndfile build with or without flac support based on flac version checking

git-svn-id: svn://localhost/ardour2/trunk@2032 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agouse different symbol for flac version check, the other one wasn't working correctly
Doug McLain [Mon, 25 Jun 2007 18:29:44 +0000 (18:29 +0000)]
use different symbol for flac version check, the other one wasn't working correctly

git-svn-id: svn://localhost/ardour2/trunk@2031 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoDisable excessive colour debugging print statements.
David Robillard [Sun, 24 Jun 2007 17:48:11 +0000 (17:48 +0000)]
Disable excessive colour debugging print statements.

git-svn-id: svn://localhost/ardour2/trunk@2030 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix loading inserts from 2.0 sessions.
David Robillard [Sat, 23 Jun 2007 22:12:16 +0000 (22:12 +0000)]
Fix loading inserts from 2.0 sessions.

git-svn-id: svn://localhost/ardour2/trunk@2029 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoAdded missing file.
David Robillard [Sat, 23 Jun 2007 20:15:34 +0000 (20:15 +0000)]
Added missing file.

git-svn-id: svn://localhost/ardour2/trunk@2028 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoInsert/Redirect refactoring, towards better MIDI support in mixer strip, and
David Robillard [Sat, 23 Jun 2007 20:13:13 +0000 (20:13 +0000)]
Insert/Redirect refactoring, towards better MIDI support in mixer strip, and
http://ardour.org/node/1043 style things.

git-svn-id: svn://localhost/ardour2/trunk@2027 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoSplit PortInsert and PluginInsert into their own files.
David Robillard [Wed, 20 Jun 2007 03:39:19 +0000 (03:39 +0000)]
Split PortInsert and PluginInsert into their own files.

git-svn-id: svn://localhost/ardour2/trunk@2026 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoMade plugin input/output counts multi-typed (towards MIDI plugins, instruments, etc).
David Robillard [Wed, 20 Jun 2007 03:05:16 +0000 (03:05 +0000)]
Made plugin input/output counts multi-typed (towards MIDI plugins, instruments, etc).
Cleaning up/genericification of Insert interface.
Fixed meter count for pre-fader metering (was # inputs, not # channels at end of pre-fader redirect list).
Work on redirect list stream handling, better error reporting (towards automatically adding 'adaptors' in the future?).

git-svn-id: svn://localhost/ardour2/trunk@2025 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove references to ardour.colors.
David Robillard [Sun, 17 Jun 2007 16:07:06 +0000 (16:07 +0000)]
Remove references to ardour.colors.

git-svn-id: svn://localhost/ardour2/trunk@2024 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix SMF file directory (midifiles instead of audiofiles).
David Robillard [Sun, 17 Jun 2007 05:35:25 +0000 (05:35 +0000)]
Fix SMF file directory (midifiles instead of audiofiles).

git-svn-id: svn://localhost/ardour2/trunk@2023 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove unused method Session::template_dir
Tim Mayberry [Sun, 17 Jun 2007 00:53:33 +0000 (00:53 +0000)]
Remove unused method Session::template_dir

git-svn-id: svn://localhost/ardour2/trunk@2022 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoWhitespace fixes in ardour/session.h
Tim Mayberry [Sun, 17 Jun 2007 00:53:26 +0000 (00:53 +0000)]
Whitespace fixes in ardour/session.h

git-svn-id: svn://localhost/ardour2/trunk@2021 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove unused method Session::delete_template
Tim Mayberry [Sun, 17 Jun 2007 00:53:18 +0000 (00:53 +0000)]
Remove unused method Session::delete_template

git-svn-id: svn://localhost/ardour2/trunk@2020 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove unused method Session::rename_template
Tim Mayberry [Sun, 17 Jun 2007 00:53:11 +0000 (00:53 +0000)]
Remove unused method Session::rename_template

git-svn-id: svn://localhost/ardour2/trunk@2019 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoReinstate code removed in rev 1917 that creates the text tags for the log window
Tim Mayberry [Sun, 17 Jun 2007 00:53:04 +0000 (00:53 +0000)]
Reinstate code removed in rev 1917 that creates the text tags for the log window

This was causing an assertion each time a log message is sent as the text tags
are uninitialized.

git-svn-id: svn://localhost/ardour2/trunk@2018 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoModify Session::save_template for portablity
Tim Mayberry [Sun, 17 Jun 2007 00:52:57 +0000 (00:52 +0000)]
Modify Session::save_template for portablity

git-svn-id: svn://localhost/ardour2/trunk@2017 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse ARDOUR::system/user_template_directory in NewSessionDialog for portability
Tim Mayberry [Sun, 17 Jun 2007 00:52:51 +0000 (00:52 +0000)]
Use ARDOUR::system/user_template_directory in NewSessionDialog for portability

git-svn-id: svn://localhost/ardour2/trunk@2016 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoAdd ardour/template_utils.h that contains ARDOUR::user_template_directory and ARDOUR...
Tim Mayberry [Sun, 17 Jun 2007 00:52:45 +0000 (00:52 +0000)]
Add ardour/template_utils.h that contains ARDOUR::user_template_directory and ARDOUR::system_template_directory

git-svn-id: svn://localhost/ardour2/trunk@2015 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove unused Session::template_path method
Tim Mayberry [Sun, 17 Jun 2007 00:52:39 +0000 (00:52 +0000)]
Remove unused Session::template_path method

git-svn-id: svn://localhost/ardour2/trunk@2014 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoModify PBD::Stateful::add_instant_xml/instant_xml to take a PBD::sys::path instead...
Tim Mayberry [Sun, 17 Jun 2007 00:52:32 +0000 (00:52 +0000)]
Modify PBD::Stateful::add_instant_xml/instant_xml to take a PBD::sys::path instead of a string

git-svn-id: svn://localhost/ardour2/trunk@2013 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoMake Stateful::*instant_xml methods protected and non-virtual
Tim Mayberry [Sun, 17 Jun 2007 00:47:40 +0000 (00:47 +0000)]
Make Stateful::*instant_xml methods protected and non-virtual

Add add_instant_xml and instant_xml methods to the Session class which call
the corresponding Stateful methods with the session directory for the
directory argument

Add add_instant_xml and instant_xml methods to the Configuration class which
call the Stateful methods with ARDOUR::get_user_ardour_path() for the directory
argument

git-svn-id: svn://localhost/ardour2/trunk@2012 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoMove Stateful class declared in pbd/stateful.h into the PBD namespace
Tim Mayberry [Sun, 17 Jun 2007 00:47:33 +0000 (00:47 +0000)]
Move Stateful class declared in pbd/stateful.h into the PBD namespace

git-svn-id: svn://localhost/ardour2/trunk@2011 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoWhitespace fixes in pbd/stateful.h
Tim Mayberry [Sun, 17 Jun 2007 00:47:24 +0000 (00:47 +0000)]
Whitespace fixes in pbd/stateful.h

git-svn-id: svn://localhost/ardour2/trunk@2010 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse Session::session_directory in ARDOUR_UI::display_cleanup_results for portability
Tim Mayberry [Sun, 17 Jun 2007 00:47:18 +0000 (00:47 +0000)]
Use Session::session_directory in ARDOUR_UI::display_cleanup_results for portability

git-svn-id: svn://localhost/ardour2/trunk@2009 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove unused method Session::get_template_list
Tim Mayberry [Sun, 17 Jun 2007 00:47:11 +0000 (00:47 +0000)]
Remove unused method Session::get_template_list

git-svn-id: svn://localhost/ardour2/trunk@2008 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove unused method Session::export_dir
Tim Mayberry [Sun, 17 Jun 2007 00:47:04 +0000 (00:47 +0000)]
Remove unused method Session::export_dir

git-svn-id: svn://localhost/ardour2/trunk@2007 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse Session::session_directory to access the export path for a session instead of...
Tim Mayberry [Sun, 17 Jun 2007 00:46:57 +0000 (00:46 +0000)]
Use Session::session_directory to access the export path for a session instead of Session::export_dir

git-svn-id: svn://localhost/ardour2/trunk@2006 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove unused method Session::peak_dir
Tim Mayberry [Sun, 17 Jun 2007 00:46:50 +0000 (00:46 +0000)]
Remove unused method Session::peak_dir

git-svn-id: svn://localhost/ardour2/trunk@2005 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse SessionDirectory::peak_path in place of Session::peak_dir in Session::second_stag...
Tim Mayberry [Sun, 17 Jun 2007 00:46:43 +0000 (00:46 +0000)]
Use SessionDirectory::peak_path in place of Session::peak_dir in Session::second_stage_init

git-svn-id: svn://localhost/ardour2/trunk@2004 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse SessionDirectory and sys::path in Session::peak_path_from_audio_path for portability
Tim Mayberry [Sun, 17 Jun 2007 00:46:37 +0000 (00:46 +0000)]
Use SessionDirectory and sys::path in Session::peak_path_from_audio_path for portability

git-svn-id: svn://localhost/ardour2/trunk@2003 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove unused methods Session::sound_dir and Session::old_sound_dir
Tim Mayberry [Sun, 17 Jun 2007 00:46:30 +0000 (00:46 +0000)]
Remove unused methods Session::sound_dir and Session::old_sound_dir

git-svn-id: svn://localhost/ardour2/trunk@2002 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse Session::session_directory to access the sound path of the session in Editor...
Tim Mayberry [Sun, 17 Jun 2007 00:46:23 +0000 (00:46 +0000)]
Use Session::session_directory to access the sound path of the session in Editor::write_region and Editor::write_audio_range

git-svn-id: svn://localhost/ardour2/trunk@2001 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse Session::session_directory and sys::path in Editor::embed_sndfile to create a...
Tim Mayberry [Sun, 17 Jun 2007 00:46:18 +0000 (00:46 +0000)]
Use Session::session_directory and sys::path in Editor::embed_sndfile to create a path in a portable fashion

git-svn-id: svn://localhost/ardour2/trunk@2000 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoAdd an method for to accessing a Session's SessionDirectory
Tim Mayberry [Sun, 17 Jun 2007 00:46:12 +0000 (00:46 +0000)]
Add an method for to accessing a Session's SessionDirectory

git-svn-id: svn://localhost/ardour2/trunk@1999 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove Session::midi_dir...again.
Tim Mayberry [Sun, 17 Jun 2007 00:46:05 +0000 (00:46 +0000)]
Remove Session::midi_dir...again.

git-svn-id: svn://localhost/ardour2/trunk@1998 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoReplace Session::discover_best_sound/midi_dir with Session::get_best_session_director...
Tim Mayberry [Sun, 17 Jun 2007 00:45:58 +0000 (00:45 +0000)]
Replace Session::discover_best_sound/midi_dir with Session::get_best_session_directory_for_new_source

git-svn-id: svn://localhost/ardour2/trunk@1997 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoForward declare the SessionDirectory class in session.h to reduce compilation depende...
Tim Mayberry [Sun, 17 Jun 2007 00:45:50 +0000 (00:45 +0000)]
Forward declare the SessionDirectory class in session.h to reduce compilation dependencies

git-svn-id: svn://localhost/ardour2/trunk@1996 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove unneeded temporary variable.
Tim Mayberry [Sun, 17 Jun 2007 00:45:43 +0000 (00:45 +0000)]
Remove unneeded temporary variable.

git-svn-id: svn://localhost/ardour2/trunk@1995 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix time canvas separator lines.
David Robillard [Sat, 16 Jun 2007 23:55:23 +0000 (23:55 +0000)]
Fix time canvas separator lines.

git-svn-id: svn://localhost/ardour2/trunk@1994 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix MIDI track base colour.
David Robillard [Sat, 16 Jun 2007 20:11:31 +0000 (20:11 +0000)]
Fix MIDI track base colour.

git-svn-id: svn://localhost/ardour2/trunk@1993 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove unused controls_hbox.
David Robillard [Sat, 16 Jun 2007 20:00:18 +0000 (20:00 +0000)]
Remove unused controls_hbox.
Use shorter labels for zoom box to avoid wasted/ugly horizontal space to the right of track controls (present on high DPI screens?  best I could come up with, controls refuse to horizontally expand :/)

git-svn-id: svn://localhost/ardour2/trunk@1992 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoMove (default) colours from code to rc file.
David Robillard [Sat, 16 Jun 2007 17:48:08 +0000 (17:48 +0000)]
Move (default) colours from code to rc file.
Write/read colours from XML in hex (ie usual RGBA values).
Fix "clipped aveform" typo in canvas vars.

git-svn-id: svn://localhost/ardour2/trunk@1991 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix marker label text colour.
David Robillard [Sat, 16 Jun 2007 15:28:42 +0000 (15:28 +0000)]
Fix marker label text colour.

git-svn-id: svn://localhost/ardour2/trunk@1990 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoadd missing header
Doug McLain [Fri, 15 Jun 2007 22:58:14 +0000 (22:58 +0000)]
add missing header

git-svn-id: svn://localhost/ardour2/trunk@1989 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoMajor Theme Manager changes, see ardour-dev
Doug McLain [Fri, 15 Jun 2007 22:12:06 +0000 (22:12 +0000)]
Major Theme Manager changes, see ardour-dev

git-svn-id: svn://localhost/ardour2/trunk@1988 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoMajor Theme Manager changes, see ardour-dev
Doug McLain [Fri, 15 Jun 2007 22:08:27 +0000 (22:08 +0000)]
Major Theme Manager changes, see ardour-dev

git-svn-id: svn://localhost/ardour2/trunk@1987 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse boost::shared_ptr instead of raw pointers for RouteUI track (etc) accessors ...
David Robillard [Fri, 15 Jun 2007 22:05:07 +0000 (22:05 +0000)]
Use boost::shared_ptr instead of raw pointers for RouteUI track (etc) accessors (fix FIXME in route_ui.h).

git-svn-id: svn://localhost/ardour2/trunk@1986 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoExtend time canvas to use available space to the rigt (and line up nicely).
David Robillard [Fri, 15 Jun 2007 20:11:09 +0000 (20:11 +0000)]
Extend time canvas to use available space to the rigt (and line up nicely).

git-svn-id: svn://localhost/ardour2/trunk@1985 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemoved panner UI from MIDI track mixer strip.
David Robillard [Fri, 15 Jun 2007 19:58:19 +0000 (19:58 +0000)]
Removed panner UI from MIDI track mixer strip.
Fix MIDI track controls and mixer strip colours.
Changed selected track controls colour to be more visible and match selected tool colour.

git-svn-id: svn://localhost/ardour2/trunk@1984 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUser toggling of editor region/route/etc list, ala editor mixer.
David Robillard [Fri, 15 Jun 2007 07:39:20 +0000 (07:39 +0000)]
User toggling of editor region/route/etc list, ala editor mixer.
Canvas, from sea to shining sea.

git-svn-id: svn://localhost/ardour2/trunk@1983 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRedraw MIDI region views on zoom and track height changes.
David Robillard [Sat, 9 Jun 2007 06:10:30 +0000 (06:10 +0000)]
Redraw MIDI region views on zoom and track height changes.
Disable excessive/old debug prints.
Fix region view heights.

git-svn-id: svn://localhost/ardour2/trunk@1982 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse double MIDI timestamps (towards tempo based time, and more-than-sample-accurate...
David Robillard [Sat, 9 Jun 2007 02:07:59 +0000 (02:07 +0000)]
Use double MIDI timestamps (towards tempo based time, and more-than-sample-accurate LV2 MIDI plugin application).
Eliminate double iteration over MIDIRingBuffer read to translate timestamps.

git-svn-id: svn://localhost/ardour2/trunk@1981 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix time skew after MIDI recording (added missing conversion from delta time to audio...
David Robillard [Fri, 8 Jun 2007 23:03:32 +0000 (23:03 +0000)]
Fix time skew after MIDI recording (added missing conversion from delta time to audio frames).
Fix crash bug in MIDI recording.

git-svn-id: svn://localhost/ardour2/trunk@1980 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoWrite MIDI files to interchange/sessionname/midifiles (for real this time).
David Robillard [Thu, 7 Jun 2007 23:12:04 +0000 (23:12 +0000)]
Write MIDI files to interchange/sessionname/midifiles (for real this time).

git-svn-id: svn://localhost/ardour2/trunk@1979 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoLogarithmic MIDI metering.
David Robillard [Thu, 7 Jun 2007 21:04:37 +0000 (21:04 +0000)]
Logarithmic MIDI metering.

git-svn-id: svn://localhost/ardour2/trunk@1978 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove two unused temporary variables from SearchPath::add_subdirectory_to_paths
Tim Mayberry [Thu, 7 Jun 2007 03:25:06 +0000 (03:25 +0000)]
Remove two unused temporary variables from SearchPath::add_subdirectory_to_paths

git-svn-id: svn://localhost/ardour2/trunk@1977 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRefactor Session::setup_raid_path Session::raid_path to use PBD::SearchPath
Tim Mayberry [Thu, 7 Jun 2007 03:25:00 +0000 (03:25 +0000)]
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

16 years agoRename SearchPath::get_search_path_string to SearchPath::get_string
Tim Mayberry [Thu, 7 Jun 2007 03:24:53 +0000 (03:24 +0000)]
Rename SearchPath::get_search_path_string to SearchPath::get_string

git-svn-id: svn://localhost/ardour2/trunk@1975 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoAdd SearchPath class to libpbd
Tim Mayberry [Thu, 7 Jun 2007 03:24:46 +0000 (03:24 +0000)]
Add SearchPath class to libpbd

git-svn-id: svn://localhost/ardour2/trunk@1974 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove unused PBD::Path class.
Tim Mayberry [Thu, 7 Jun 2007 03:24:38 +0000 (03:24 +0000)]
Remove unused PBD::Path class.

git-svn-id: svn://localhost/ardour2/trunk@1973 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse sys::path and SessionDirectory in Session::find_all_sources for portability
Tim Mayberry [Thu, 7 Jun 2007 03:24:31 +0000 (03:24 +0000)]
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

16 years agoRemove unused Session methods for re/storing favorite directories.
Tim Mayberry [Thu, 7 Jun 2007 03:24:25 +0000 (03:24 +0000)]
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

16 years agoUse SessionDirectory instead of Session::sound_dir in Session::cleanup_sources
Tim Mayberry [Thu, 7 Jun 2007 03:24:18 +0000 (03:24 +0000)]
Use SessionDirectory instead of Session::sound_dir in Session::cleanup_sources

git-svn-id: svn://localhost/ardour2/trunk@1970 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse SessionDirectory instead of Session::sound_dir in Session::audio_path_from_name
Tim Mayberry [Thu, 7 Jun 2007 03:24:12 +0000 (03:24 +0000)]
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

16 years agoUse SessionDirectory for generating the sound directory path in Session::remove_empty...
Tim Mayberry [Thu, 7 Jun 2007 03:24:05 +0000 (03:24 +0000)]
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