ardour.git
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

14 years agodon't bother doing port stuff if session is being deleted
Paul Davis [Tue, 1 Dec 2009 13:19:50 +0000 (13:19 +0000)]
don't bother doing port stuff if session is being deleted

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

14 years agoRemove unused editor hscroller code. Add buttons to the left and right of the summar...
Carl Hetherington [Tue, 1 Dec 2009 04:10:06 +0000 (04:10 +0000)]
Remove unused editor hscroller code.  Add buttons to the left and right of the summary to substitute for the equivalent buttons on a scrollbar.

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

14 years agoFix #2933.
Carl Hetherington [Tue, 1 Dec 2009 03:51:02 +0000 (03:51 +0000)]
Fix #2933.

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

14 years agoRevert completely mystifying stupidity in a previous patch of mine, and (properly...
Carl Hetherington [Tue, 1 Dec 2009 02:36:31 +0000 (02:36 +0000)]
Revert completely mystifying stupidity in a previous patch of mine, and (properly) fix crashes when drag-and-drop of plugins fails because of impossible configurations.

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

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

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

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

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

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

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

14 years agorework MTC slave so that speed is computed in the MIDI I/O context, not process(...
Paul Davis [Tue, 1 Dec 2009 01:08:56 +0000 (01:08 +0000)]
rework MTC slave so that speed is computed in the MIDI I/O context, not process() context

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

14 years agoFix double-delete crash.
Carl Hetherington [Tue, 1 Dec 2009 00:58:01 +0000 (00:58 +0000)]
Fix double-delete crash.

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

14 years agoFix potentially uninitialised variable.
Carl Hetherington [Tue, 1 Dec 2009 00:53:36 +0000 (00:53 +0000)]
Fix potentially uninitialised variable.

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

14 years agoClean up confusion wrt showing the bundle manager. Fixes #2930.
Carl Hetherington [Tue, 1 Dec 2009 00:34:45 +0000 (00:34 +0000)]
Clean up confusion wrt showing the bundle manager.  Fixes #2930.

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

14 years agoModify assertion; as far as I can see, ensure_buffers makes no attempt to reduce the
Carl Hetherington [Tue, 1 Dec 2009 00:08:32 +0000 (00:08 +0000)]
Modify assertion; as far as I can see, ensure_buffers makes no attempt to reduce the
number of available buffers, even if it is requested.  So in that case the old
assertion will fire erroneously.

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

14 years agoRemove internal sends to an aux bus when it is removed.
Carl Hetherington [Mon, 30 Nov 2009 23:34:48 +0000 (23:34 +0000)]
Remove internal sends to an aux bus when it is removed.

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

14 years agoVarious optimisations to speed up rec-enable.
Carl Hetherington [Mon, 30 Nov 2009 23:16:28 +0000 (23:16 +0000)]
Various optimisations to speed up rec-enable.

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

14 years agoSpeed up some track state operations (e.g. mute etc.) that affect the editor route...
Carl Hetherington [Mon, 30 Nov 2009 19:48:50 +0000 (19:48 +0000)]
Speed up some track state operations (e.g. mute etc.) that affect the editor route list; should help with #2941

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

14 years agoshow qtr MTC bytes before they are dispatched as a signal, even more
Paul Davis [Mon, 30 Nov 2009 19:11:04 +0000 (19:11 +0000)]
show qtr MTC bytes before they are dispatched as a signal, even more

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

14 years agoshow qtr MTC bytes before they are dispatched as a signal
Paul Davis [Mon, 30 Nov 2009 19:01:13 +0000 (19:01 +0000)]
show qtr MTC bytes before they are dispatched as a signal

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

14 years agomore debugging tweaks
Paul Davis [Mon, 30 Nov 2009 18:49:02 +0000 (18:49 +0000)]
more debugging tweaks

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

14 years agomore debugging tweaks
Paul Davis [Mon, 30 Nov 2009 18:32:59 +0000 (18:32 +0000)]
more debugging tweaks

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

14 years agomore debugging tweaks
Paul Davis [Mon, 30 Nov 2009 17:49:36 +0000 (17:49 +0000)]
more debugging tweaks

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

14 years agoless sensitive locate when master/slave delta is too big
Paul Davis [Mon, 30 Nov 2009 17:38:32 +0000 (17:38 +0000)]
less sensitive locate when master/slave delta is too big

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

14 years agodebug output fixes
Paul Davis [Mon, 30 Nov 2009 17:35:25 +0000 (17:35 +0000)]
debug output fixes

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

14 years agosession has no frames_per_cycle() method
Paul Davis [Mon, 30 Nov 2009 17:09:50 +0000 (17:09 +0000)]
session has no frames_per_cycle() method

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

14 years agotry locating when master is way ahead or behind the slave (ardour)
Paul Davis [Mon, 30 Nov 2009 17:05:36 +0000 (17:05 +0000)]
try locating when master is way ahead or behind the slave (ardour)

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

14 years agocut-n-paste coding error
Paul Davis [Mon, 30 Nov 2009 16:53:10 +0000 (16:53 +0000)]
cut-n-paste coding error

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

14 years agoadd slave,transport and event debugging traces
Paul Davis [Mon, 30 Nov 2009 16:12:13 +0000 (16:12 +0000)]
add slave,transport and event debugging traces

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

14 years agomove some debug trace support code around to a more sane location
Paul Davis [Mon, 30 Nov 2009 13:38:38 +0000 (13:38 +0000)]
move some debug trace support code around to a more sane location

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

14 years agoattempt to remove confusion and errors caused by unclear semantics of _is_embedded...
Paul Davis [Mon, 30 Nov 2009 13:16:38 +0000 (13:16 +0000)]
attempt to remove confusion and errors caused by unclear semantics of _is_embedded for FileSources; member renamed _within_session, and is now ALWAYS determined by the _path of the FileSource, never by the creator

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

14 years agoas 6211, but include menu template file
Paul Davis [Mon, 30 Nov 2009 13:14:29 +0000 (13:14 +0000)]
as 6211, but include menu template file

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

14 years agoremove "New Return" menu option from processor box; make return toggle processor...
Paul Davis [Mon, 30 Nov 2009 13:13:57 +0000 (13:13 +0000)]
remove "New Return" menu option from processor box; make return toggle processor active status, and / do A/B of plugins; add A/B plugins to processor box menu

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

14 years agonew rc config param, try-link-for-embed, controls whether we try hard linking for...
Paul Davis [Mon, 30 Nov 2009 13:12:41 +0000 (13:12 +0000)]
new rc config param, try-link-for-embed, controls whether we try hard linking for embedding files into a session

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

14 years agodebug flag for MTC; make ardour/timecode.h simply include the "authoritative" one...
Paul Davis [Sun, 29 Nov 2009 22:08:18 +0000 (22:08 +0000)]
debug flag for MTC; make ardour/timecode.h simply include the "authoritative" one in libs/surfaces/control_protocol

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

14 years agoprovide operator<< for Timecode::Time
Paul Davis [Sun, 29 Nov 2009 22:06:51 +0000 (22:06 +0000)]
provide operator<< for Timecode::Time

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

14 years agoImplement 2532: option to show tracks with regions under the playhead.
Carl Hetherington [Sun, 29 Nov 2009 12:47:59 +0000 (12:47 +0000)]
Implement 2532: option to show tracks with regions under the playhead.

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

14 years agoMove is_embedded calculation to a single place.
David Robillard [Sat, 28 Nov 2009 22:36:06 +0000 (22:36 +0000)]
Move is_embedded calculation to a single place.

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

14 years agoTweak checkbutton size in the processor box.
Carl Hetherington [Sat, 28 Nov 2009 03:03:45 +0000 (03:03 +0000)]
Tweak checkbutton size in the processor box.

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