ardour.git
14 years agoFix crash when going from >2 outputs (2D panner) to <= 2 outputs.
Carl Hetherington [Tue, 22 Dec 2009 01:09:50 +0000 (01:09 +0000)]
Fix crash when going from >2 outputs (2D panner) to <= 2 outputs.

git-svn-id: svn://localhost/ardour2/branches/3.0@6380 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agofully implement and deploy explicit x-thread signal connection syntax (testing comes...
Paul Davis [Mon, 21 Dec 2009 18:23:07 +0000 (18:23 +0000)]
fully implement and deploy explicit x-thread signal connection syntax (testing comes next)

git-svn-id: svn://localhost/ardour2/branches/3.0@6379 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoremove a couple of boost::signals2 trouble spots; fix some --strict compile time...
Paul Davis [Sun, 20 Dec 2009 16:50:41 +0000 (16:50 +0000)]
remove a couple of boost::signals2 trouble spots; fix some --strict compile time warnings

git-svn-id: svn://localhost/ardour2/branches/3.0@6378 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agosubstantial overhaul of MCU code - no more separate thread, just connect to signals...
Paul Davis [Sun, 20 Dec 2009 16:49:55 +0000 (16:49 +0000)]
substantial overhaul of MCU code - no more separate thread, just connect to signals on ports already listened to by the MidiUI thread in libardour (feedback is missing - needs a timeout connection); also reformat some big chunks of code to fit ardour coding style

git-svn-id: svn://localhost/ardour2/branches/3.0@6377 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agouse new syntax for connecting to backend signals that enforces explicit connection...
Paul Davis [Sat, 19 Dec 2009 20:26:31 +0000 (20:26 +0000)]
use new syntax for connecting to backend signals that enforces explicit connection scope, plus a few other related matters

git-svn-id: svn://localhost/ardour2/branches/3.0@6376 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agofix deadlock in protocol manager startup; fix some other ::set_session() SNAFUs;...
Paul Davis [Thu, 17 Dec 2009 23:36:52 +0000 (23:36 +0000)]
fix deadlock in protocol manager startup; fix some other ::set_session() SNAFUs; remove last boost::signals2::connection member from libardour

git-svn-id: svn://localhost/ardour2/branches/3.0@6375 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoadded files
Paul Davis [Thu, 17 Dec 2009 19:04:07 +0000 (19:04 +0000)]
added files

git-svn-id: svn://localhost/ardour2/branches/3.0@6374 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agomake private (non-usable) copy constructor for Selection compile, to follow changes...
Paul Davis [Thu, 17 Dec 2009 18:56:29 +0000 (18:56 +0000)]
make private (non-usable) copy constructor for Selection compile, to follow changes to TrackSelection constructors

git-svn-id: svn://localhost/ardour2/branches/3.0@6373 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoswitch to using boost::signals2 instead of sigc++, at least for libardour. not finish...
Paul Davis [Thu, 17 Dec 2009 18:24:23 +0000 (18:24 +0000)]
switch to using boost::signals2 instead of sigc++, at least for libardour. not finished yet, but compiles, loads sessions, records and can close a session without a crash

git-svn-id: svn://localhost/ardour2/branches/3.0@6372 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoOffer all of a bundle's ports for disconnection / removal when opening a menu over...
Carl Hetherington [Mon, 14 Dec 2009 16:44:20 +0000 (16:44 +0000)]
Offer all of a bundle's ports for disconnection / removal when opening a menu over a bundle's name in the port matrix.

git-svn-id: svn://localhost/ardour2/branches/3.0@6365 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoFix crashes on increasing a bus' number of outputs.
Carl Hetherington [Sun, 13 Dec 2009 23:48:48 +0000 (23:48 +0000)]
Fix crashes on increasing a bus' number of outputs.

git-svn-id: svn://localhost/ardour2/branches/3.0@6364 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoRestore port group tabs.
Carl Hetherington [Sun, 13 Dec 2009 22:21:04 +0000 (22:21 +0000)]
Restore port group tabs.

git-svn-id: svn://localhost/ardour2/branches/3.0@6363 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoRemoved merge tracking for "svnmerge" for
Taybin Rutkin [Sun, 13 Dec 2009 21:45:22 +0000 (21:45 +0000)]
Removed merge tracking for "svnmerge" for
svn+ssh://ardoursvn@subversion.ardour.org/ardour2/branches/build_fixes

git-svn-id: svn://localhost/ardour2/branches/3.0@6361 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoRemove confusing track / group members in TimeSelection struct; time selection
Carl Hetherington [Sun, 13 Dec 2009 21:27:19 +0000 (21:27 +0000)]
Remove confusing track / group members in TimeSelection struct; time selection
applies to the selected tracks.  Some tinkering with how tracks are selected
during time selections.

git-svn-id: svn://localhost/ardour2/branches/3.0@6360 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoAdd missing files.
Carl Hetherington [Sun, 13 Dec 2009 19:37:55 +0000 (19:37 +0000)]
Add missing files.

git-svn-id: svn://localhost/ardour2/branches/3.0@6359 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoApply Select property of route groups at the Selection object level. Accordingly
Carl Hetherington [Sun, 13 Dec 2009 19:09:52 +0000 (19:09 +0000)]
Apply Select property of route groups at the Selection object level.  Accordingly
simplify code related to selecting tracks.  Add a TrackViewList object rather than
"abusing" TrackSelection in lots of places.

git-svn-id: svn://localhost/ardour2/branches/3.0@6358 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoremove using namespace sigc everywhere to ensure clarity over which bind/mem_fun...
Paul Davis [Sat, 12 Dec 2009 15:02:15 +0000 (15:02 +0000)]
remove using namespace sigc everywhere to ensure clarity over which bind/mem_fun is being used; make Config::map_parameters take a boost::function rather than a sigc::slot ; continue debugging crash caused by regionviews not tracking their Region's lifetime

git-svn-id: svn://localhost/ardour2/branches/3.0@6357 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoFix canvas region layering in non-Stacked modes. Remove unused and confusing TimeAxis...
Nick Mainsbridge [Sat, 12 Dec 2009 12:33:36 +0000 (12:33 +0000)]
Fix canvas region layering in non-Stacked modes. Remove unused and confusing TimeAxisViewItem::selected .

git-svn-id: svn://localhost/ardour2/branches/3.0@6356 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoswitch to use boost::function for UI::call_slot operations, to avoid a serious thread...
Paul Davis [Fri, 11 Dec 2009 23:30:48 +0000 (23:30 +0000)]
switch to use boost::function for UI::call_slot operations, to avoid a serious thread safety issue with libsigc++

git-svn-id: svn://localhost/ardour2/branches/3.0@6355 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agomake all use of bind/mem_fun be explicitly sigc::
Paul Davis [Fri, 11 Dec 2009 23:29:48 +0000 (23:29 +0000)]
make all use of bind/mem_fun be explicitly sigc::

git-svn-id: svn://localhost/ardour2/branches/3.0@6354 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoadded comment
Paul Davis [Fri, 11 Dec 2009 19:23:45 +0000 (19:23 +0000)]
added comment

git-svn-id: svn://localhost/ardour2/branches/3.0@6352 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoadd CTClosure for a closure that takes one argument at call time
Paul Davis [Fri, 11 Dec 2009 19:22:59 +0000 (19:22 +0000)]
add CTClosure for a closure that takes one argument at call time

git-svn-id: svn://localhost/ardour2/branches/3.0@6351 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoadd comments and remove debug output
Paul Davis [Fri, 11 Dec 2009 18:21:08 +0000 (18:21 +0000)]
add comments and remove debug output

git-svn-id: svn://localhost/ardour2/branches/3.0@6350 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agothread-safe but lifetime-unsafe closures for passing closures around instead of sigc...
Paul Davis [Fri, 11 Dec 2009 18:08:30 +0000 (18:08 +0000)]
thread-safe but lifetime-unsafe closures for passing closures around instead of sigc::slot, which is thread-unsafe but lifetime-safe (lifetime safe means that the slot is guaranteed to be safe to use no matter what the lifetime of the object to which it refers is)

git-svn-id: svn://localhost/ardour2/branches/3.0@6349 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoRemove unused pre_drag_region_selection, fix ugly regions when drag-copying (TimeAxis...
Nick Mainsbridge [Fri, 11 Dec 2009 12:13:59 +0000 (12:13 +0000)]
Remove unused pre_drag_region_selection, fix ugly regions when drag-copying (TimeAxisViewItem constructor), fix broken drag threshold, don't reset _grab_frame etc. when move threshold passed, fix region selection during region copy drag.

git-svn-id: svn://localhost/ardour2/branches/3.0@6348 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agofix compilation breakages from the last commit
Paul Davis [Fri, 11 Dec 2009 03:18:17 +0000 (03:18 +0000)]
fix compilation breakages from the last commit

git-svn-id: svn://localhost/ardour2/branches/3.0@6347 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years ago(MAY BREAK COMPILATION - unfinished work, being transferred between machines via...
Paul Davis [Fri, 11 Dec 2009 02:00:22 +0000 (02:00 +0000)]
(MAY BREAK COMPILATION - unfinished work, being transferred between machines via svn) ... start to make MidiControllable bind to a URI, not an object

git-svn-id: svn://localhost/ardour2/branches/3.0@6346 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agosecond part of: fix up scrolling of pixfaders by making them grab keyboard magic...
Paul Davis [Thu, 10 Dec 2009 23:02:04 +0000 (23:02 +0000)]
second part of:  fix up scrolling of pixfaders by making them grab keyboard magic focus when the mouse pointer is within them

git-svn-id: svn://localhost/ardour2/branches/3.0@6345 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agofulfill the promise of an in-library Keyboard object, and use platform specific modif...
Paul Davis [Thu, 10 Dec 2009 23:01:45 +0000 (23:01 +0000)]
fulfill the promise of an in-library Keyboard object, and use platform specific modifiers throughout libgtkmm2ext. also fix up scrolling of pixfaders by making them grab keyboard magic focus when the mouse pointer is within them

git-svn-id: svn://localhost/ardour2/branches/3.0@6344 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoadd solo isolate indicator in editor route list
Paul Davis [Thu, 10 Dec 2009 20:51:35 +0000 (20:51 +0000)]
add solo isolate indicator in editor route list

git-svn-id: svn://localhost/ardour2/branches/3.0@6343 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoremoved stupid comments
Paul Davis [Thu, 10 Dec 2009 20:50:41 +0000 (20:50 +0000)]
removed stupid comments

git-svn-id: svn://localhost/ardour2/branches/3.0@6342 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoavoid double delete of UI objects caused by default behaviour of Glib::Private
Paul Davis [Thu, 10 Dec 2009 20:50:12 +0000 (20:50 +0000)]
avoid double delete of UI objects caused by default behaviour of Glib::Private

git-svn-id: svn://localhost/ardour2/branches/3.0@6341 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoforward propagate solo-isolated status to everything fed by a route by something...
Paul Davis [Thu, 10 Dec 2009 18:34:31 +0000 (18:34 +0000)]
forward propagate solo-isolated status to everything fed by a route by something other than a send

git-svn-id: svn://localhost/ardour2/branches/3.0@6340 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agofix recently-added crash when adding new tracks+busses
Paul Davis [Thu, 10 Dec 2009 18:33:54 +0000 (18:33 +0000)]
fix recently-added crash when adding new tracks+busses

git-svn-id: svn://localhost/ardour2/branches/3.0@6339 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agorestore rec-enable, solo & mute functionality; remove all Global*Command cruft; reimp...
Paul Davis [Thu, 10 Dec 2009 17:45:18 +0000 (17:45 +0000)]
restore rec-enable, solo & mute functionality; remove all Global*Command cruft; reimplement momentary solo&mute; refactor session RT event stuff to be even cleaner and finally compatible with everything-is-a-UI idea ; make all UIs derive from a primitive type that pprovides only void call_slot (sigc::slot<void>) as a way to execute arbitrary code in the UI thread

git-svn-id: svn://localhost/ardour2/branches/3.0@6338 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoFix layering while dragging regions over higher ordered tracks, fix for drags that...
Nick Mainsbridge [Thu, 10 Dec 2009 17:23:56 +0000 (17:23 +0000)]
Fix layering while dragging regions over higher ordered tracks, fix for drags that forget which region we dragged from, make selection after move/copy more useable.

git-svn-id: svn://localhost/ardour2/branches/3.0@6337 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agodrastic, deep and wide changes to make RouteGroup use boost::shared_ptr<Route> and...
Paul Davis [Thu, 10 Dec 2009 03:25:32 +0000 (03:25 +0000)]
drastic, deep and wide changes to make RouteGroup use boost::shared_ptr<Route> and boost::shared_ptr<RouteList> to better fit into emerging framework for "RT operations" ; torben's changes to MTC slaving code (sorry for bundling)

git-svn-id: svn://localhost/ardour2/branches/3.0@6334 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agosmall fixlet for region push/pull op, from lincoln
Paul Davis [Wed, 9 Dec 2009 19:00:28 +0000 (19:00 +0000)]
small fixlet for region push/pull op, from lincoln

git-svn-id: svn://localhost/ardour2/branches/3.0@6330 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoOSC is now driven by an event loop; fix up lifetime mgmt of Glib::Source to workaroun...
Paul Davis [Wed, 9 Dec 2009 18:37:06 +0000 (18:37 +0000)]
OSC is now driven by an event loop; fix up lifetime mgmt of Glib::Source to workaround bug in Glib

git-svn-id: svn://localhost/ardour2/branches/3.0@6329 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agomajor design changes: use glib event loop for MIDI thread/UI; rework design of BaseUI...
Paul Davis [Wed, 9 Dec 2009 03:05:14 +0000 (03:05 +0000)]
major design changes: use glib event loop for MIDI thread/UI; rework design of BaseUI and AbstractUI; solo & mute are both temporarily broken; OSC control up next; may segfault during exit

git-svn-id: svn://localhost/ardour2/branches/3.0@6328 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoclosing in on a genuinely general scheme for handling route RT changes, now accomoda...
Paul Davis [Tue, 8 Dec 2009 01:52:49 +0000 (01:52 +0000)]
closing in on a  genuinely general scheme for handling route RT changes, now accomodating per-track, route-group override, natural route group and "all" rec-enable operations. still no sight of solo or mute ops

git-svn-id: svn://localhost/ardour2/branches/3.0@6326 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agobetter, cleaner, more generic version of real-time ping pong, still just for one...
Paul Davis [Mon, 7 Dec 2009 23:51:46 +0000 (23:51 +0000)]
better, cleaner, more generic version of real-time ping pong, still just for one case of rec-enable but more coming soon

git-svn-id: svn://localhost/ardour2/branches/3.0@6325 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agofirst pass at end-to-end RT operation request (GUI->session->RT thread->GUI), just...
Paul Davis [Mon, 7 Dec 2009 21:37:35 +0000 (21:37 +0000)]
first pass at end-to-end RT operation request (GUI->session->RT thread->GUI), just for rec-enable

git-svn-id: svn://localhost/ardour2/branches/3.0@6324 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoRedraw the matrix correctly when available ports change in the currently visible...
Carl Hetherington [Mon, 7 Dec 2009 18:35:42 +0000 (18:35 +0000)]
Redraw the matrix correctly when available ports change in the currently visible tab.

git-svn-id: svn://localhost/ardour2/branches/3.0@6322 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoGive just one system tab rather than mono / stereo. Fix bundles-only mode of the...
Carl Hetherington [Mon, 7 Dec 2009 17:39:13 +0000 (17:39 +0000)]
Give just one system tab rather than mono / stereo.  Fix bundles-only mode of the port matrix.

git-svn-id: svn://localhost/ardour2/branches/3.0@6321 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoRoute::set_meter_point() is now conceptually RT safe, although it still takes a write...
Paul Davis [Mon, 7 Dec 2009 14:18:06 +0000 (14:18 +0000)]
Route::set_meter_point() is now conceptually RT safe, although it still takes a write lock on the processor list. this allows it to be called when setting rec-enable status on a route. not thoroughly tested, and still incomplete - single route rec-enables should probably use this pathway, and there is still no cross-thread cleanup from an RT route op request

git-svn-id: svn://localhost/ardour2/branches/3.0@6320 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoFix a couple of crashes with empty matrices. Some small optimisations.
Carl Hetherington [Mon, 7 Dec 2009 00:41:50 +0000 (00:41 +0000)]
Fix a couple of crashes with empty matrices.  Some small optimisations.
Correctly handle descenders on text when plotting labels.  Minor layout
improvements.  Add some drawings of what's going on in the port matrix
so that I don't keep losing them.

git-svn-id: svn://localhost/ardour2/branches/3.0@6319 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoEliminate double reversible commit from time stretch, and make the stretch operation...
Sampo Savolainen [Sun, 6 Dec 2009 21:00:43 +0000 (21:00 +0000)]
Eliminate double reversible commit from time stretch, and make the stretch operation lengthen / shorten the region as per operation.

git-svn-id: svn://localhost/ardour2/branches/3.0@6318 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoMerged revisions 6292,6294-6295,6311,6314 via svnmerge from
Taybin Rutkin [Sun, 6 Dec 2009 14:21:46 +0000 (14:21 +0000)]
Merged revisions 6292,6294-6295,6311,6314 via svnmerge from
svn+ssh://ardoursvn@subversion.ardour.org/ardour2/branches/build_fixes

........
  r6292 | trutkin | 2009-12-05 08:31:25 -0500 (Sat, 05 Dec 2009) | 1 line

  remove scons build files
........
  r6294 | trutkin | 2009-12-05 09:11:17 -0500 (Sat, 05 Dec 2009) | 2 lines

  cairomm
  remove unnecessary vendor libraries as we now rely on the developer to install them
........
  r6295 | trutkin | 2009-12-05 09:12:54 -0500 (Sat, 05 Dec 2009) | 2 lines

  soundtouch
  remove unnecessary vendor libraries as we now rely on the developer to install them
........
  r6311 | trutkin | 2009-12-05 23:38:49 -0500 (Sat, 05 Dec 2009) | 2 lines

  glibmm2, gtkmm2, libgnomecanvasmm, sigc++2
  remove unnecessary vendor libraries as we now rely on the developer to install them
........
  r6314 | trutkin | 2009-12-06 09:15:49 -0500 (Sun, 06 Dec 2009) | 4 lines

  remove scons referencing from Makefile

  - TODO: should move cscope stuff to waf and get rid of the Makefile
........

git-svn-id: svn://localhost/ardour2/branches/3.0@6315 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoMerged revisions 6293,6296-6306,6308 via svnmerge from
Taybin Rutkin [Sun, 6 Dec 2009 04:35:48 +0000 (04:35 +0000)]
Merged revisions 6293,6296-6306,6308 via svnmerge from
svn+ssh://ardoursvn@subversion.ardour.org/ardour2/branches/build_fixes

........
  r6293 | trutkin | 2009-12-05 08:49:37 -0500 (Sat, 05 Dec 2009) | 2 lines

  fix if-statement in build script
........
  r6296 | trutkin | 2009-12-05 09:30:19 -0500 (Sat, 05 Dec 2009) | 5 lines

  rearrange GTKOSX and darwin dependencies

  - moved some GTKOSX include paths to generic darwin
  - made GTKOSX dependent on being on darwin anyways
........
  r6297 | trutkin | 2009-12-05 09:35:09 -0500 (Sat, 05 Dec 2009) | 2 lines

  move coreaudio and audiounit handling to darwin section
........
  r6298 | trutkin | 2009-12-05 09:53:40 -0500 (Sat, 05 Dec 2009) | 3 lines

  use True/False instead of 1/0
  fix another if-statement where it should be an elif-statement
........
  r6299 | trutkin | 2009-12-05 14:11:09 -0500 (Sat, 05 Dec 2009) | 10 lines

  fixes to get libardour building

  - can't cast away volatile, so copy _transport_frame before emitting it.
  - const_reverse_iterator::operator!=() isn't defined in this version of gcc.
  - removed annoying HERE WE ARE CAAudioFile.h #warning.
  - removed unnecessary include of sndfile.h in session.h.
  - we don't want to set -march=i686 on the mac, so indent this if-statement so
    it's only run on linux.
  - DEBUG_STR() fails in the NDEBUG case, so wrap its use in an #ifndef NDEBUG
........
  r6300 | trutkin | 2009-12-05 15:48:29 -0500 (Sat, 05 Dec 2009) | 2 lines

  remove old scons-style CXXFLAGS_FOO in favor of just CXXFLAGS
........
  r6301 | trutkin | 2009-12-05 16:01:10 -0500 (Sat, 05 Dec 2009) | 8 lines

  clean up configure flags

  - removed useless --aubio and --syslibs flags.  The syslibs value is ignored
    as we don't bring our own libraries with us anymoreand we use aubio
    automatically if it's available
  - added ways to turn off fpu_optimization and NLS
  - fixed compiling on the mac without fpu_optimization
........
  r6302 | trutkin | 2009-12-05 18:12:46 -0500 (Sat, 05 Dec 2009) | 5 lines

  go back to prior uselib method for COREAUDIO, AUDIOUNIT, and GTKOSX

  - fixed compile of CoreAudioSource
  - re-did inclusion of coremidi_midiport.cc to depend on COREAUDIO presence
........
  r6303 | trutkin | 2009-12-05 18:59:02 -0500 (Sat, 05 Dec 2009) | 5 lines

  fixed compiler warnings about classes with virtual member functions, but no virtual destructor.

  - Changed Metering to not use foo() = 0; to indicate it shouldn't be instantiated, but
    private: Metering(), which is more idiomatic.
........
  r6304 | trutkin | 2009-12-05 19:25:41 -0500 (Sat, 05 Dec 2009) | 2 lines

  TOP_MENUBAR isn't used when building ardour.menus.  Removed.
........
  r6305 | trutkin | 2009-12-05 19:46:11 -0500 (Sat, 05 Dec 2009) | 5 lines

  fix some AudioUnit compile errors

  - update AudioUnit to use ChanCount
  - fix some namespacing issues in audio_unit.h
........
  r6306 | trutkin | 2009-12-05 20:08:48 -0500 (Sat, 05 Dec 2009) | 2 lines

  make --extra-warn useful
........
  r6308 | trutkin | 2009-12-05 22:59:42 -0500 (Sat, 05 Dec 2009) | 10 lines

  fix compiling/linking with --coreaudio

  - rearrange ardour_ui.h header in editor.cc to avoid conflict
  - midi++ depends on OSX as well as COREAUDIO
  - fixed including frameworks
  - tweaked --extra-warn again.  it's kinda redundent with --strict
  - improved indentation in wscript
  - use #ifdef HAVE_COREMIDI, not #if HAVE_COREMIDI.  #if isn't interchangable
    with #ifdef and won't work if HAVE_COREMIDI is defined with no value.
........

git-svn-id: svn://localhost/ardour2/branches/3.0@6310 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoInitialized merge tracking via "svnmerge" with revisions "1-6291" from
Taybin Rutkin [Sun, 6 Dec 2009 04:31:55 +0000 (04:31 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-6291" from
svn+ssh://ardoursvn@subversion.ardour.org/ardour2/branches/build_fixes

git-svn-id: svn://localhost/ardour2/branches/3.0@6309 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agofix for first of taybin's 2 problems - do not use uninitialized Port* in check on...
Paul Davis [Sun, 6 Dec 2009 03:02:45 +0000 (03:02 +0000)]
fix for first of taybin's 2 problems - do not use uninitialized Port* in check on existing devices

git-svn-id: svn://localhost/ardour2/branches/3.0@6307 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoClean up and comment PortMatrix event handling a bit.
Carl Hetherington [Sat, 5 Dec 2009 03:04:54 +0000 (03:04 +0000)]
Clean up and comment PortMatrix event handling a bit.
Fix problems with attempts to access Session after it has been
destroyed.

git-svn-id: svn://localhost/ardour2/branches/3.0@6290 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoMake port inserts work.
Carl Hetherington [Fri, 4 Dec 2009 22:56:39 +0000 (22:56 +0000)]
Make port inserts work.

git-svn-id: svn://localhost/ardour2/branches/3.0@6289 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agomove generic parts of Keyboard into gtkmm2ext. imperfectly done, but makes modifiers...
Paul Davis [Fri, 4 Dec 2009 22:51:32 +0000 (22:51 +0000)]
move generic parts of Keyboard into gtkmm2ext. imperfectly done, but makes modifiers available in libgtkmm2ext now

git-svn-id: svn://localhost/ardour2/branches/3.0@6288 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoSome tweaks to fix bug with the tab handling when rescanning or when ports disappear.
Carl Hetherington [Fri, 4 Dec 2009 22:37:52 +0000 (22:37 +0000)]
Some tweaks to fix bug with the tab handling when rescanning or when ports disappear.

git-svn-id: svn://localhost/ardour2/branches/3.0@6287 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoSave some unnecessary updates of the processor box.
Carl Hetherington [Fri, 4 Dec 2009 21:45:07 +0000 (21:45 +0000)]
Save some unnecessary updates of the processor box.

git-svn-id: svn://localhost/ardour2/branches/3.0@6286 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoswitch ActionManager to a namespace; move generic part into libgtkmm2ext
Paul Davis [Fri, 4 Dec 2009 20:52:04 +0000 (20:52 +0000)]
switch ActionManager to a namespace; move generic part into libgtkmm2ext

git-svn-id: svn://localhost/ardour2/branches/3.0@6285 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agohandle left/right scroll in editor summary, and use secondary & tertiary modifiers...
Paul Davis [Fri, 4 Dec 2009 20:17:38 +0000 (20:17 +0000)]
handle left/right scroll in editor summary, and use secondary & tertiary modifiers to change scrolling distances

git-svn-id: svn://localhost/ardour2/branches/3.0@6284 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agocross-thread handling of SessionEvent allocation/deallocation, with widespread conseq...
Paul Davis [Fri, 4 Dec 2009 19:24:09 +0000 (19:24 +0000)]
cross-thread handling of SessionEvent allocation/deallocation, with widespread consequences

git-svn-id: svn://localhost/ardour2/branches/3.0@6283 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoUse a shared_ptr for SessionPlaylists so that it can be explicitly destroyed in ...
Carl Hetherington [Fri, 4 Dec 2009 19:09:08 +0000 (19:09 +0000)]
Use a shared_ptr for SessionPlaylists so that it can be explicitly destroyed in ~Session to ease debugging.

git-svn-id: svn://localhost/ardour2/branches/3.0@6282 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoFix crash that I introduced with a recent bug fix.
Carl Hetherington [Fri, 4 Dec 2009 18:13:25 +0000 (18:13 +0000)]
Fix crash that I introduced with a recent bug fix.

git-svn-id: svn://localhost/ardour2/branches/3.0@6281 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoMake processor box send faders adjust their size correctly.
Carl Hetherington [Fri, 4 Dec 2009 17:45:11 +0000 (17:45 +0000)]
Make processor box send faders adjust their size correctly.

git-svn-id: svn://localhost/ardour2/branches/3.0@6280 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoHide port matrix notebook tabs if there's only one.
Carl Hetherington [Fri, 4 Dec 2009 13:06:13 +0000 (13:06 +0000)]
Hide port matrix notebook tabs if there's only one.

git-svn-id: svn://localhost/ardour2/branches/3.0@6279 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoTweak mouseover on port matrix.
Carl Hetherington [Fri, 4 Dec 2009 12:49:58 +0000 (12:49 +0000)]
Tweak mouseover on port matrix.

git-svn-id: svn://localhost/ardour2/branches/3.0@6278 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoArrange port insert matrix horizontally.
Carl Hetherington [Fri, 4 Dec 2009 12:32:33 +0000 (12:32 +0000)]
Arrange port insert matrix horizontally.

git-svn-id: svn://localhost/ardour2/branches/3.0@6277 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoFix setup of port insert IO names.
Carl Hetherington [Fri, 4 Dec 2009 11:08:53 +0000 (11:08 +0000)]
Fix setup of port insert IO names.

git-svn-id: svn://localhost/ardour2/branches/3.0@6276 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agomove Session::Event into SessionEvent class; add SessionEventManager (Session IS...
Paul Davis [Fri, 4 Dec 2009 02:15:12 +0000 (02:15 +0000)]
move Session::Event into SessionEvent class; add SessionEventManager (Session IS-A SessionEventManager); make session ops to toggle all track rec-enable be atomic with respect to process()

git-svn-id: svn://localhost/ardour2/branches/3.0@6273 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoGPL boilerplate.
Carl Hetherington [Thu, 3 Dec 2009 21:55:15 +0000 (21:55 +0000)]
GPL boilerplate.

git-svn-id: svn://localhost/ardour2/branches/3.0@6272 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoAdd missing files.
Carl Hetherington [Thu, 3 Dec 2009 21:53:08 +0000 (21:53 +0000)]
Add missing files.

git-svn-id: svn://localhost/ardour2/branches/3.0@6271 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoMove some (most) playlist-related code and data into a separate object
Carl Hetherington [Thu, 3 Dec 2009 21:52:10 +0000 (21:52 +0000)]
Move some (most) playlist-related code and data into a separate object
(SessionPlaylists).  Main point being to ensure that, when a Session
is destroyed (especially as a result of its constructor throwing an
exception) SessionPlaylists::track is disconnected from its signal
at the same time as the list of playlists is destroyed.  Otherwise
problems abound.

git-svn-id: svn://localhost/ardour2/branches/3.0@6270 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agomore tweaks to MTC slave code (still not functional), including removing race conditi...
Paul Davis [Thu, 3 Dec 2009 18:44:06 +0000 (18:44 +0000)]
more tweaks to MTC slave code (still not functional), including removing race conditions when resetting slave state; make Session catch on its own saved preferences, which has not been happening; make switching sync sources avoid race conditions

git-svn-id: svn://localhost/ardour2/branches/3.0@6269 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoMove region name slightly to partially fix #2948.
Carl Hetherington [Thu, 3 Dec 2009 02:34:24 +0000 (02:34 +0000)]
Move region name slightly to partially fix #2948.

git-svn-id: svn://localhost/ardour2/branches/3.0@6268 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoFix previous commit.
Carl Hetherington [Thu, 3 Dec 2009 02:22:36 +0000 (02:22 +0000)]
Fix previous commit.

git-svn-id: svn://localhost/ardour2/branches/3.0@6267 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoFix #2947.
Carl Hetherington [Thu, 3 Dec 2009 00:14:24 +0000 (00:14 +0000)]
Fix #2947.

git-svn-id: svn://localhost/ardour2/branches/3.0@6266 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agomore MTC stuff, including toggleable use of torben's PI controller
Paul Davis [Wed, 2 Dec 2009 21:26:26 +0000 (21:26 +0000)]
more MTC stuff, including toggleable use of torben's PI controller

git-svn-id: svn://localhost/ardour2/branches/3.0@6265 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agopossibly useful PI controller from torben by way of jack2
Paul Davis [Wed, 2 Dec 2009 20:20:53 +0000 (20:20 +0000)]
possibly useful PI controller from torben by way of jack2

git-svn-id: svn://localhost/ardour2/branches/3.0@6264 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoadd appleutility wscript
Paul Davis [Wed, 2 Dec 2009 02:26:37 +0000 (02:26 +0000)]
add appleutility wscript

git-svn-id: svn://localhost/ardour2/branches/3.0@6263 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoPatch from lincoln to fix #1601: strange behaviour when duplicating multiple regions.
Carl Hetherington [Tue, 1 Dec 2009 23:56:29 +0000 (23:56 +0000)]
Patch from lincoln to fix #1601: strange behaviour when duplicating multiple regions.

git-svn-id: svn://localhost/ardour2/branches/3.0@6262 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoClean up some confusion about zoom focus and the edit point.
Carl Hetherington [Tue, 1 Dec 2009 23:31:02 +0000 (23:31 +0000)]
Clean up some confusion about zoom focus and the edit point.

git-svn-id: svn://localhost/ardour2/branches/3.0@6261 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoRepair marker and region names that I broke.
Carl Hetherington [Tue, 1 Dec 2009 22:26:44 +0000 (22:26 +0000)]
Repair marker and region names that I broke.

git-svn-id: svn://localhost/ardour2/branches/3.0@6260 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agocontinue with MTC debugging
Paul Davis [Tue, 1 Dec 2009 21:42:45 +0000 (21:42 +0000)]
continue with MTC debugging

git-svn-id: svn://localhost/ardour2/branches/3.0@6259 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agomake ALSA MIDI I/O work with timestamps; more MTC debug tracing
Paul Davis [Tue, 1 Dec 2009 21:28:31 +0000 (21:28 +0000)]
make ALSA MIDI I/O work with timestamps; more MTC debug tracing

git-svn-id: svn://localhost/ardour2/branches/3.0@6258 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoPrevent some segfaults when trying to send MTC when there is no port to send it to.
Carl Hetherington [Tue, 1 Dec 2009 19:08:59 +0000 (19:08 +0000)]
Prevent some segfaults when trying to send MTC when there is no port to send it to.

git-svn-id: svn://localhost/ardour2/branches/3.0@6257 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoFix scrollwheel operation in editor.
Carl Hetherington [Tue, 1 Dec 2009 18:38:24 +0000 (18:38 +0000)]
Fix scrollwheel operation in editor.

git-svn-id: svn://localhost/ardour2/branches/3.0@6256 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoadjust to use timestamped MTC messages
Paul Davis [Tue, 1 Dec 2009 18:32:29 +0000 (18:32 +0000)]
adjust to use timestamped MTC messages

git-svn-id: svn://localhost/ardour2/branches/3.0@6255 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agogeneralize hans' midi_clock_timestamp to be a general timestamp for incoming MIDI...
Paul Davis [Tue, 1 Dec 2009 18:31:00 +0000 (18:31 +0000)]
generalize hans' midi_clock_timestamp to be a general timestamp for incoming MIDI data (from JACK); make JACK_MidiPort::read() abort, because it should never ever be called; make JACK_MidiPort::~JackMIDIPort() unregister ports when it is destroyed; pass along the timestamp to MTC qtr and full signals

git-svn-id: svn://localhost/ardour2/branches/3.0@6254 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoStop editor summary viewbox being moved too far down in y.
Carl Hetherington [Tue, 1 Dec 2009 18:25:36 +0000 (18:25 +0000)]
Stop editor summary viewbox being moved too far down in y.

git-svn-id: svn://localhost/ardour2/branches/3.0@6253 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoget non-JACK MIDI I/O working again, with debug tracing, naturally
Paul Davis [Tue, 1 Dec 2009 17:11:11 +0000 (17:11 +0000)]
get non-JACK MIDI I/O working again, with debug tracing, naturally

git-svn-id: svn://localhost/ardour2/branches/3.0@6252 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agocontinue with MTC debugging
Paul Davis [Tue, 1 Dec 2009 16:16:22 +0000 (16:16 +0000)]
continue with MTC debugging

git-svn-id: svn://localhost/ardour2/branches/3.0@6251 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agocontinue with MTC debugging
Paul Davis [Tue, 1 Dec 2009 15:46:25 +0000 (15:46 +0000)]
continue with MTC debugging

git-svn-id: svn://localhost/ardour2/branches/3.0@6250 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoVarious tweaks to group tabs, the main upshot of which is that you can start
Carl Hetherington [Tue, 1 Dec 2009 15:32:42 +0000 (15:32 +0000)]
Various tweaks to group tabs, the main upshot of which is that you can start
a drag in an empty part of the group tab display and drag out a new route
group.

git-svn-id: svn://localhost/ardour2/branches/3.0@6249 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agocontinue with MTC debugging
Paul Davis [Tue, 1 Dec 2009 15:30:02 +0000 (15:30 +0000)]
continue with MTC debugging

git-svn-id: svn://localhost/ardour2/branches/3.0@6248 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agocontinue with MTC debugging
Paul Davis [Tue, 1 Dec 2009 15:16:11 +0000 (15:16 +0000)]
continue with MTC debugging

git-svn-id: svn://localhost/ardour2/branches/3.0@6247 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoReset the dialog when it is closed with partial (incomplete) changes to clocks. ...
Carl Hetherington [Tue, 1 Dec 2009 13:25:07 +0000 (13:25 +0000)]
Reset the dialog when it is closed with partial (incomplete) changes to clocks.  Fixes part of #254.

git-svn-id: svn://localhost/ardour2/branches/3.0@6246 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agomore changes to try to improve MTC handling even in slightly pathological cases
Paul Davis [Tue, 1 Dec 2009 13:24:08 +0000 (13:24 +0000)]
more changes to try to improve MTC handling even in slightly pathological cases

git-svn-id: svn://localhost/ardour2/branches/3.0@6245 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agofix logic problems with startup assistant; make initial page buttons of startup activ...
Paul Davis [Tue, 1 Dec 2009 13:23:27 +0000 (13:23 +0000)]
fix logic problems with startup assistant; make initial page buttons of startup activatable to save mousing; grow recent sessions scrolled window if there are more than 4 recent sessions to display

git-svn-id: svn://localhost/ardour2/branches/3.0@6244 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agonow that MTC can cause a timecode format change, make sure that our handling of the...
Paul Davis [Tue, 1 Dec 2009 13:21:41 +0000 (13:21 +0000)]
now that MTC can cause a timecode format change, make sure that our handling of the change is threadsafe

git-svn-id: svn://localhost/ardour2/branches/3.0@6243 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agoremove debugging text
Paul Davis [Tue, 1 Dec 2009 13:20:47 +0000 (13:20 +0000)]
remove debugging text

git-svn-id: svn://localhost/ardour2/branches/3.0@6242 d708f5d6-7413-0410-9779-e7cbd77b26cf

14 years agomake text to describe timecode-source-is-synced option hopelessly more verbose
Paul Davis [Tue, 1 Dec 2009 13:20:36 +0000 (13:20 +0000)]
make text to describe timecode-source-is-synced option hopelessly more verbose

git-svn-id: svn://localhost/ardour2/branches/3.0@6241 d708f5d6-7413-0410-9779-e7cbd77b26cf