13
0
Commit Graph

876 Commits

Author SHA1 Message Date
8635f0e897 Update to clearlooks from gtk-engines-2.16.0
git-svn-id: svn://localhost/ardour2/branches/3.0@3857 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-05 00:09:32 +00:00
ad4919ce92 Assortment of minor changes from 2.0-ongoing.
git-svn-id: svn://localhost/ardour2/branches/3.0@3852 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-03 18:24:38 +00:00
21c4721a68 Remove unnecessary #include.
git-svn-id: svn://localhost/ardour2/branches/3.0@3849 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-03 04:04:14 +00:00
ec6ab8a048 Apply panners/automation patch from torbenh (Panner is-a Processor).
git-svn-id: svn://localhost/ardour2/branches/3.0@3848 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-03 03:16:19 +00:00
612850c41b Apply automation fix patch from torbenh.
git-svn-id: svn://localhost/ardour2/branches/3.0@3847 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-03 02:19:12 +00:00
620475f9ac Fix libardour library version.
git-svn-id: svn://localhost/ardour2/branches/3.0@3846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-03 02:18:55 +00:00
a9021cdd1d Add waf build script.
git-svn-id: svn://localhost/ardour2/branches/3.0@3843 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-30 15:34:54 +00:00
ed751e0ad8 Move midi_util.h.
Fix building without aubio.


git-svn-id: svn://localhost/ardour2/branches/3.0@3842 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-30 15:19:49 +00:00
9829cd08fe remove pointless JACK error message; don't add every track as an automatic bundle, just busses
git-svn-id: svn://localhost/ardour2/branches/3.0@3841 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-30 14:34:24 +00:00
9a30bb2aec Separate low level details of SMF reading/writing from concept of 'midi source in ardour'.
git-svn-id: svn://localhost/ardour2/branches/3.0@3839 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-30 00:45:26 +00:00
b5ec66ae6c Can't call the wrong function when there's only one of them: remove ARDOUR::Parameter and just use Evoral::Parameter (move Ardour specific functionality to EventTypeMap where it belongs).
Less than pretty in places but easily seddable just in case...


git-svn-id: svn://localhost/ardour2/branches/3.0@3838 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-29 22:47:40 +00:00
03f188cc8b Remove ARDOUR::Parameter::is_integer.
git-svn-id: svn://localhost/ardour2/branches/3.0@3837 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-29 20:50:21 +00:00
Sakari Bergen
ef9beb3f60 * Fixed const correctness error in Location
* Reworked ExportMainDialog in preparation for the creation of CD and region export dialogs:
  * Separated ExportPresetSelector and ExportFileNotebook from ExportMainDialog
  * Made ExportTimespanSelector polymorphic regarding single/multiple timespan mode
  * renamed ExportMainDialog to ExportDialog and made it easily customizable
  * created ExportRangeDialog and ExportSelectionDialog, these can be later customized more if necessary


git-svn-id: svn://localhost/ardour2/branches/3.0@3834 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-29 17:01:52 +00:00
Sakari Bergen
474f8bc376 Made Export format compatibility checking a bit more robust
git-svn-id: svn://localhost/ardour2/branches/3.0@3829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-29 10:02:35 +00:00
400f8bb03d still call Port::cycle_start() for output ports; remove otification calls from Playlist::add_region() (torben)
git-svn-id: svn://localhost/ardour2/branches/3.0@3828 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-29 09:44:25 +00:00
d6ce0641a7 Remove unused can_send_feedback API.
git-svn-id: svn://localhost/ardour2/branches/3.0@3827 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-29 02:02:24 +00:00
7eadc684a5 Plugin automation fixes from torbenh.
git-svn-id: svn://localhost/ardour2/branches/3.0@3826 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-29 01:22:21 +00:00
f387fef0c0 JackPort::connect() fixup from torben
git-svn-id: svn://localhost/ardour2/branches/3.0@3825 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-28 23:13:16 +00:00
9f3b11444b fix up botched changes from earlier /* blush */
git-svn-id: svn://localhost/ardour2/branches/3.0@3824 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-28 22:56:43 +00:00
598c3cc958 Fix shadowing problem with *Control::set_value.
Fix nasty situation when setting value on a plugin automation control that's playing back.


git-svn-id: svn://localhost/ardour2/branches/3.0@3823 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-28 21:20:43 +00:00
edbe4a3307 prepare_input/cycle_start fix up round 2 (torben's location); torben's fix for autoconnect
git-svn-id: svn://localhost/ardour2/branches/3.0@3822 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-28 21:09:58 +00:00
43b17b5df1 changes from torben for processor/plugin count determination and other fixes; rework cycle_start() mess, first pass
git-svn-id: svn://localhost/ardour2/branches/3.0@3821 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-28 20:40:53 +00:00
3b424fd8b5 Invalidate line cache when zoomed out to invisible line levels.
Reduce line cache size to 128.


git-svn-id: svn://localhost/ardour2/branches/3.0@3819 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-28 15:22:07 +00:00
Sakari Bergen
6b50ba341d * Improved export error handling, streamlined ExportFailed
* Cleaned out export related visibility in Session, and simpified Session <--> export component communication in general
* Removed export_status.h header dependency from session.h
* Added check for libsndfile FLAC and Ogg Vorbis compatibility
* Added ExportFileFactory, leading in cleaner code in ExportProcessor, and better extensibility for possible future non-libsndfile formats


git-svn-id: svn://localhost/ardour2/branches/3.0@3818 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-28 11:11:38 +00:00
909995338c Fix warnings.
Mostly fix MIDI track resizing wackiness (from torbenh).


git-svn-id: svn://localhost/ardour2/branches/3.0@3817 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-27 18:07:37 +00:00
86b747890e fix initialization of ancestral region info in region copy constructor (dup'ed from 2.X)
git-svn-id: svn://localhost/ardour2/branches/3.0@3815 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-27 06:53:34 +00:00
ce693248dc minor optimization tweak for metering
git-svn-id: svn://localhost/ardour2/branches/3.0@3814 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-27 06:52:27 +00:00
a09bc7ef13 robustify MidiModel::unmarshal_note()
git-svn-id: svn://localhost/ardour2/branches/3.0@3813 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-27 06:51:23 +00:00
5e7abcecc4 Remove duplicate and always NULL Session peak functions.
git-svn-id: svn://localhost/ardour2/branches/3.0@3811 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-26 19:26:17 +00:00
Sakari Bergen
6f4daaae0a Improved ExportProfileManager error handling, and added some missing (?) initialization
git-svn-id: svn://localhost/ardour2/branches/3.0@3807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-26 12:33:16 +00:00
Sakari Bergen
572fa80aa7 Add Import from session -functionality
git-svn-id: svn://localhost/ardour2/branches/3.0@3805 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-26 08:29:30 +00:00
95d82d7a16 An actual tempo line cache (not quite perfect when scrolling left, but miles ahead of the previous one didn't really help at all).
Tempo line updating done immediately/directly rather than in an idle handler.
Looking for feedback how this works for other people, performance wise...
Feel-wise, the obvious lag between scrolling and tempo lines being drawn is now gone.


git-svn-id: svn://localhost/ardour2/branches/3.0@3799 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-23 22:23:39 +00:00
1bee7c3f93 Make PBD::SearchPath less silly/boilerplatey.
Remove unnecessary copy in find_matching_files_in_search_path.


git-svn-id: svn://localhost/ardour2/branches/3.0@3797 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-23 15:55:34 +00:00
22dc575e4c Fix merge regression: use TempoLines class instead of same built in to editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@3795 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-23 14:36:26 +00:00
ffaf827d93 Eliminate a ton of unnecessary complete redrawing in MIDI stream views:
Only resize vertically (don't reaload model) on range changes.
Keep track of range in model while loading (writing to model), rather than double display MIDI regions to find out.
Don't go crazy and chew CPU blinking around and doing nothing on initial show of MIDI track context menu.
Change radio 'full range' and 'contents range' menu items to non-radio actions that just set the range appropriately.
Fix crashes on some esoteric case of control data I can't figure out, but fixed anyway, so I guess it all worked out well in the end for everybody.


git-svn-id: svn://localhost/ardour2/branches/3.0@3794 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-23 02:40:29 +00:00
Sampo Savolainen
234d56a8c4 Fixed overflow issue. Code originally meant to truncate the 64 bit integer did not work as assembler doesn't "cast" variables like C does. get_cycles() was passing the memory address of a 32 bit unsigned int to the x86 call which required 64 bits of storage space. The extra 32 bits corrupted whatever was on the stack next to the variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@3793 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-22 20:44:46 +00:00
9aad7b5727 Speed up MIDI import (and non-cached cases of ControlList::eval) by a factor of roughly eleventy billion.
git-svn-id: svn://localhost/ardour2/branches/3.0@3790 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-22 17:47:21 +00:00
a23d6cd50c Fix loading midi controller data.
git-svn-id: svn://localhost/ardour2/branches/3.0@3788 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-22 16:59:32 +00:00
a2d2f738cb Move event specific ringbuffer stuff to evoral.
Sane event type interface between evoral and libardour (no more shared magic numbers).
Cleanup Evoral::Sequence iterator, fix bugs, probably introduce new ones.
Move MIDI specific event functions to Evoral::MIDIEvent (is-a Evoral::Event).


git-svn-id: svn://localhost/ardour2/branches/3.0@3785 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-22 16:28:02 +00:00
a43d53e3b9 - Call channel pressure channel pressure, not aftertouch (that's key specific).
- Add context menu items to add a bender or pressure automation track to a MIDI track.
- Now just need to figure out creation of program change events and you can create
  everything MIDI ardour understands from the GUI...


git-svn-id: svn://localhost/ardour2/branches/3.0@3782 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-21 18:08:18 +00:00
ca12fe9733 Fix CC interpolation (i.e. output a maximum reslution stream of CC for a line segment).
git-svn-id: svn://localhost/ardour2/branches/3.0@3781 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-21 17:11:11 +00:00
e14187aadd Display recorded controller data (fix show all/existing automation).
git-svn-id: svn://localhost/ardour2/branches/3.0@3779 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-21 16:17:02 +00:00
Sakari Bergen
eec19ca7af * Added filename extension definitions for export presets and format profiles
* Export Preset widget doesn't allow overwriting existing presets 
* Some error detection for export preset loading
* Moved some serialization code away from ExportProfileManager to respective classes


git-svn-id: svn://localhost/ardour2/branches/3.0@3778 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-20 22:06:02 +00:00
79f59951e3 Fix precedence error.
git-svn-id: svn://localhost/ardour2/branches/3.0@3777 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-20 19:02:58 +00:00
Sakari Bergen
bc6c3ca9d5 Remove ogg and flac compile flags from libs/ardour and gtk2_ardour. This removes the FLAC/assert.h problem.
git-svn-id: svn://localhost/ardour2/branches/3.0@3774 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-20 17:30:24 +00:00
27dd248369 Fix sigc building.
git-svn-id: svn://localhost/ardour2/branches/3.0@3773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-20 15:49:48 +00:00
7aea02083a Restore visible CC/etc automation tracks on session load.
Fix CC/channel mismatch when creating a new CC track.
Always display CC with 1-based numbering (like channel).


git-svn-id: svn://localhost/ardour2/branches/3.0@3763 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-19 17:24:52 +00:00
Sakari Bergen
68f04adec1 * Added PBD::UUID
* uuid headers are needed for building!
* Export presets and format profiles use UUID
* Moved ExportPreset class away from ExportProfileManager
* Workaround for Gtk::NoteBook bug in ExportMainDialog


git-svn-id: svn://localhost/ardour2/branches/3.0@3762 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-19 16:56:01 +00:00
fa4bca989b Fix paul's spacey tabs mucking up everything :)
git-svn-id: svn://localhost/ardour2/branches/3.0@3761 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-19 14:55:46 +00:00
6f8cd63450 chris goddard's region list patch; port 2.X marker drag/move changes to 3.0; compilation fixes-post-evoral
git-svn-id: svn://localhost/ardour2/branches/3.0@3760 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-19 14:38:46 +00:00