13
0
Commit Graph

1735 Commits

Author SHA1 Message Date
Doug McLain
685fa95e72 only do the widget packing style hack once, instead of everytime there is a theme change
git-svn-id: svn://localhost/ardour2/trunk@2091 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-29 21:12:52 +00:00
Doug McLain
69ea586919 fix compiler warning
git-svn-id: svn://localhost/ardour2/trunk@2090 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-29 20:29:39 +00:00
Doug McLain
9f545076a2 remove color.h
git-svn-id: svn://localhost/ardour2/trunk@2089 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-29 20:05:50 +00:00
Doug McLain
4e4cb140a0 fixed typo
git-svn-id: svn://localhost/ardour2/trunk@2088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-29 18:13:34 +00:00
Doug McLain
4c203503da Moved canvas colors and theme file selection into new ui specific config system, added rest of the files
git-svn-id: svn://localhost/ardour2/trunk@2087 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-29 17:33:35 +00:00
Doug McLain
4c000c13ee Moved canvas colors and theme file selection into new ui specific config system
git-svn-id: svn://localhost/ardour2/trunk@2086 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-29 17:13:09 +00:00
Doug McLain
a67dcdc267 quick fix for weird colorselection bug where alpha gets set to 0 if it wasnt changed from previous value
git-svn-id: svn://localhost/ardour2/trunk@2083 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-29 09:30:10 +00:00
eb296b2c95 Reduce overhead of multi-type-ness (last Summer's SoC):
Use uint32_t instead of size_t counts (halves size of ChanCount on 64-bit).
	Shift DataType values down to eliminate subtraction every index of a ChanCount or *Set.

Allow using DataType directly as an array index (prettier/terser).
Fix some mixed spaces/tabs in file comment headers.


git-svn-id: svn://localhost/ardour2/trunk@2082 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-29 06:58:07 +00:00
44867662a3 Separate MidiBuffer and AudioBuffer into separate headers (trims the dependency tree, and too large to be in one anyway).
git-svn-id: svn://localhost/ardour2/trunk@2081 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-29 04:40:41 +00:00
24ccaac67e Further automation refactoring - bring in the concept of Controllable, work towards
making automation + GUI + play/write/touch generic and easily reusable.
Added bar controller to automation track controls (mostly relevant for MIDI CC, but added for gain and pan too Just Because).
Fixed glaring "redirect" list errors.
Fix plugin controls/automation loading.


git-svn-id: svn://localhost/ardour2/trunk@2080 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-29 04:02:58 +00:00
f8697ed223 remove inadvertently committed objects
git-svn-id: svn://localhost/ardour2/trunk@2079 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-28 19:38:20 +00:00
f95aa76f4a add basic support for the griffin powermate (a control surface) (from ben loftis)
git-svn-id: svn://localhost/ardour2/trunk@2078 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-28 19:35:48 +00:00
39f5c0ad56 Use the file name as the track name when importing audio files, as per bug #1622
git-svn-id: svn://localhost/ardour2/trunk@2076 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-28 13:04:43 +00:00
b5af3bb8e3 allow user tweaking of everything that might have inherent latency; add GUI for track level adjustment and widget that can be (but is not yet) embedded in a plugin GUI
git-svn-id: svn://localhost/ardour2/trunk@2075 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27 22:06:35 +00:00
34be8c2119 Added missing AddMidiCCTrackDialog files.
git-svn-id: svn://localhost/ardour2/trunk@2074 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27 21:58:12 +00:00
fc7a2e9ee1 Added dialog to allow adding any Midi CC track.
Fix display/menu generation when adding a MIDI CC track.
Fix crash bug triggered by recording MIDI track with visible CC child track.


git-svn-id: svn://localhost/ardour2/trunk@2073 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27 21:37:08 +00:00
a43185634c plugin_automation_line.[h|cc] -> processor_automation_line.[h|cc]
git-svn-id: svn://localhost/ardour2/trunk@2072 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27 20:36:58 +00:00
05bcdd1d4c Renamed Insert to Processor and Redirect to IOProcessor.
git-svn-id: svn://localhost/ardour2/trunk@2071 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27 20:23:48 +00:00
09264537c4 Fix annoying warning from canvas var stuff.
git-svn-id: svn://localhost/ardour2/trunk@2070 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27 16:45:57 +00:00
d7bd270aa1 Big ol' automation refactor.
Things with automation parameters now inherit from Automatable, which handles serialization, fetching/adding/removing parameters, etc.
Use AutomationList everywhere instead of Curve, make Curve a member of AutomationList instead (towards other types of "Curve" needed for CC, among other things).
Work towards MIDI CC sending "automation" tracks.


git-svn-id: svn://localhost/ardour2/trunk@2069 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27 15:51:50 +00:00
d7afe01c30 Remove functions from ardour/ardour.h that are now unused
git-svn-id: svn://localhost/ardour2/trunk@2068 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27 12:12:54 +00:00
bf84f3e11e 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
2007-06-27 12:12:52 +00:00
66caf9b7e5 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
2007-06-27 12:12:51 +00:00
7af4e87fa9 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
2007-06-27 12:12:49 +00:00
606229cc79 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
2007-06-27 12:12:48 +00:00
a075a1c3cb 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
2007-06-27 12:12:44 +00:00
e6986c0360 Add ARDOUR::system_data_search_path to ardour/filesystem_paths.h
git-svn-id: svn://localhost/ardour2/trunk@2062 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27 12:12:43 +00:00
327cfc9cb5 Remove unused function ARDOUR::find_config_file
git-svn-id: svn://localhost/ardour2/trunk@2061 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27 12:12:41 +00:00
be26fa02ce 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
2007-06-27 12:12:39 +00:00
f9910c90ea 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
2007-06-27 12:12:38 +00:00
7efe2f0eca 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
2007-06-27 12:12:36 +00:00
7092ef3d08 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
2007-06-27 12:12:34 +00:00
e7a1e2c18e 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
2007-06-27 12:12:31 +00:00
40350c8052 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
2007-06-27 12:12:29 +00:00
bbc289dbe3 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
2007-06-27 12:12:28 +00:00
c37a944b15 Add ARDOUR::config_search_path
git-svn-id: svn://localhost/ardour2/trunk@2053 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27 12:12:26 +00:00
1c8fc3c584 Rename ARDOUR::system_module_directory ARDOUR::ardour_module_directory
git-svn-id: svn://localhost/ardour2/trunk@2052 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27 12:12:24 +00:00
fca7e674c1 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
2007-06-27 12:12:22 +00:00
b82ecabcbf 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
2007-06-27 12:12:20 +00:00
0abcfb16ba 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
2007-06-27 12:12:18 +00:00
1b77a35353 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
2007-06-27 12:12:14 +00:00
28bf53adcc Remove AudioLibrary::path2uri and use Glib::filename_to_uri instead
git-svn-id: svn://localhost/ardour2/trunk@2047 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27 12:12:12 +00:00
18e65da42b 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
2007-06-27 12:12:10 +00:00
e71ec730bf 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
2007-06-27 12:12:09 +00:00
7459379ec4 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
2007-06-27 12:12:07 +00:00
4b0a205830 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
2007-06-27 12:12:06 +00:00
283e8f211f Use ARDOUR::user_config_directory in ARDOUR::user_template_directory
git-svn-id: svn://localhost/ardour2/trunk@2042 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27 12:12:03 +00:00
8d88671178 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
2007-06-27 12:12:00 +00:00
0cab8ee556 Remove inclusion of an unused header file
git-svn-id: svn://localhost/ardour2/trunk@2040 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27 12:11:57 +00:00
b3d2b45615 Remove unused and non-portable utility function
git-svn-id: svn://localhost/ardour2/trunk@2039 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27 12:11:56 +00:00