ardour.git
14 years agoprovide limited momentary note on/off MIDI binding option; remove some debugging...
Paul Davis [Fri, 1 Jan 2010 18:14:32 +0000 (18:14 +0000)]
provide limited momentary note on/off MIDI binding option; remove some debugging output; add bank selector to generic MIDI UI

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

14 years agoPrevent vertical autoscroll when dragging markers. Fixes #2980.
Carl Hetherington [Fri, 1 Jan 2010 17:39:28 +0000 (17:39 +0000)]
Prevent vertical autoscroll when dragging markers.  Fixes #2980.

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

14 years agonew PBD::ControllableDescriptor class to encapsulate parsing of binding URIs and...
Paul Davis [Thu, 31 Dec 2009 23:43:47 +0000 (23:43 +0000)]
new PBD::ControllableDescriptor class to encapsulate parsing of binding URIs and speed up lookup at runtime

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

14 years agostrsplit(): if first char of a string is the separator, don't push an empty string...
Paul Davis [Thu, 31 Dec 2009 23:43:09 +0000 (23:43 +0000)]
strsplit(): if first char of a string is the separator, don't push an empty string into the return vector

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

14 years agostop metering thread as we disconnect a session from audioengine; explicitly drop...
Paul Davis [Thu, 31 Dec 2009 19:49:22 +0000 (19:49 +0000)]
stop metering thread as we disconnect a session from audioengine; explicitly drop connections early in ~Route so that we don't still have signals being handled while we destruct; fix up some valgrind warnings

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

14 years agoupdate comments on register clobbering
Paul Davis [Thu, 31 Dec 2009 18:19:46 +0000 (18:19 +0000)]
update comments on register clobbering

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

14 years agoun-fix register clobber list for gcc on x86
Paul Davis [Thu, 31 Dec 2009 18:16:03 +0000 (18:16 +0000)]
un-fix register clobber list for gcc on x86

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

14 years agoadd some asm notes, some more registers back to the clobber list, and memset the...
Paul Davis [Thu, 31 Dec 2009 17:51:27 +0000 (17:51 +0000)]
add some asm notes, some more registers back to the clobber list, and memset the fxsave area in FPU::FPU()

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

14 years agoFix assembler clobber lists in BPD::FPU
Sakari Bergen [Thu, 31 Dec 2009 17:41:13 +0000 (17:41 +0000)]
Fix assembler clobber lists in BPD::FPU

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

14 years agoFix AudioGrapher library installation path and enable H/W optimizations in AudioGrapher
Sakari Bergen [Thu, 31 Dec 2009 14:03:30 +0000 (14:03 +0000)]
Fix AudioGrapher library installation path and enable H/W optimizations in AudioGrapher

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

14 years agocorrect usage of return value from Session::Prompt signal
Paul Davis [Wed, 30 Dec 2009 19:44:46 +0000 (19:44 +0000)]
correct usage of return value from Session::Prompt signal

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

14 years agoprovide access to Send + Plugins from MIDI binding maps
Paul Davis [Wed, 30 Dec 2009 19:33:52 +0000 (19:33 +0000)]
provide access to Send + Plugins from MIDI binding maps

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

14 years agomake sure that Parameter that is used by a PluginInsert AutomationControl is the...
Paul Davis [Wed, 30 Dec 2009 19:33:29 +0000 (19:33 +0000)]
make sure that Parameter that is used by a PluginInsert AutomationControl is the one with the ranges set

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

14 years agorestore excess calls to sync-order stuff (for now); allow MIDI controllers to use...
Paul Davis [Wed, 30 Dec 2009 16:48:58 +0000 (16:48 +0000)]
restore excess calls to sync-order stuff (for now); allow MIDI controllers to use the same non-linear fader response as the gui; add various flags to PBD::Controllable and remove URI from that class

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

14 years agomake generic MIDI control track remote control ID changes; fixup messes in the editor...
Paul Davis [Wed, 30 Dec 2009 12:41:10 +0000 (12:41 +0000)]
make generic MIDI control track remote control ID changes; fixup messes in the editor+mixer that caused excessive calls to SyncOrderKey stuff. generic MIDI still doesn't track editor/mixer order changes if we're not syncing both windows

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

14 years agofix crash caused by closing down JACK but not telling JACK_MidiPorts about it
Paul Davis [Wed, 30 Dec 2009 02:58:57 +0000 (02:58 +0000)]
fix crash caused by closing down JACK but not telling JACK_MidiPorts about it

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

14 years agoeditors for control protocols (generalized); editor for Generic MIDI that allows...
Paul Davis [Tue, 29 Dec 2009 21:31:14 +0000 (21:31 +0000)]
editors for control protocols (generalized); editor for Generic MIDI that allows choosing a MIDI binding map (or none); support banking in binding URLs, and other miscellany related to generic MIDI; save+restore JACK_MidiPort connection state (but cause a crash at shutdown time)

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

14 years agoadd sysex support to MIDI binding maps, and a couple more functions
Paul Davis [Mon, 28 Dec 2009 23:55:33 +0000 (23:55 +0000)]
add sysex support to MIDI binding maps, and a couple more functions

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

14 years agoadd missing files
Paul Davis [Mon, 28 Dec 2009 20:52:13 +0000 (20:52 +0000)]
add missing files

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

14 years agoMIDI binding maps make their debut
Paul Davis [Mon, 28 Dec 2009 16:49:44 +0000 (16:49 +0000)]
MIDI binding maps make their debut

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

14 years agoSome HIG and wording improvements to the right-click region context menu. Closes...
Carl Hetherington [Mon, 28 Dec 2009 03:20:23 +0000 (03:20 +0000)]
Some HIG and wording improvements to the right-click region context menu.  Closes #2968.

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

14 years agoRemove unnecessary _fade_{in,out}_shape members from AudioRegion.
Carl Hetherington [Mon, 28 Dec 2009 02:54:04 +0000 (02:54 +0000)]
Remove unnecessary _fade_{in,out}_shape members from AudioRegion.
Copy fade in / out to new regions created by filters, which should fix 2972.

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

14 years agoRemove as well as destroying last capture regions. Closes #2971.
Carl Hetherington [Mon, 28 Dec 2009 02:23:20 +0000 (02:23 +0000)]
Remove as well as destroying last capture regions.  Closes #2971.

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

14 years agoChris reports that boost 1.39 is sufficient.
Carl Hetherington [Mon, 28 Dec 2009 01:44:21 +0000 (01:44 +0000)]
Chris reports that boost 1.39 is sufficient.

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

14 years agoCheck for boost/signals2.hpp and an appropriate version of the boost library. Closes...
Carl Hetherington [Mon, 28 Dec 2009 01:13:19 +0000 (01:13 +0000)]
Check for boost/signals2.hpp and an appropriate version of the boost library.  Closes #2963.

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

14 years ago- Fix process callbakc handling during export
Sakari Bergen [Sun, 27 Dec 2009 22:09:40 +0000 (22:09 +0000)]
- Fix process callbakc handling during export
- Fix filename handling when exporting multiple files
- Some updates to audiographer

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

14 years agoRe-integrate export-optimization branch.
Sakari Bergen [Sun, 27 Dec 2009 14:46:23 +0000 (14:46 +0000)]
Re-integrate export-optimization branch.
Export now happens directly to file (unless normalizing is required), and can be easily optimized even further.
The Session process connection is still broken during export (as it was before this commit also).

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

14 years agochange the way thread name is managed and accessed; store thread name for JACK thread...
Paul Davis [Sat, 26 Dec 2009 16:15:11 +0000 (16:15 +0000)]
change the way thread name is managed and accessed; store thread name for JACK thread(s); remove bits of debugging output

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

14 years agorationalize destruction pathway (some more); tidy-ify some ImageFrame code
Paul Davis [Fri, 25 Dec 2009 21:06:52 +0000 (21:06 +0000)]
rationalize destruction pathway (some more); tidy-ify some ImageFrame code

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

14 years agoclean up editor mixer strip when session is going away; slightly improved boost debugging
Paul Davis [Thu, 24 Dec 2009 04:04:01 +0000 (04:04 +0000)]
clean up editor mixer strip when session is going away; slightly improved boost debugging

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

14 years agoGive titles to Gtkmm2ext::Choice prompts, and do some minor cleanups to prompt text.
Carl Hetherington [Wed, 23 Dec 2009 01:26:33 +0000 (01:26 +0000)]
Give titles to Gtkmm2ext::Choice prompts, and do some minor cleanups to prompt text.

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

14 years agoFix assertion failure on dropping a track out of rec-arm.
Carl Hetherington [Wed, 23 Dec 2009 00:51:26 +0000 (00:51 +0000)]
Fix assertion failure on dropping a track out of rec-arm.

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

14 years agoPrevent a crash in the situation where:
Carl Hetherington [Wed, 23 Dec 2009 00:33:03 +0000 (00:33 +0000)]
Prevent a crash in the situation where:
 1. session teardown starts
 2. editor responds by removing and destroying all TimeAxisViews
 3. session then asks all routes to drop refs
 4. the editor is called by each route's drop refs handler to remove the associated TimeAxisView
 5. that TimeAxisView has already been destroyed in (2)

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

14 years agoFix assertion failure on creating a new session.
Carl Hetherington [Tue, 22 Dec 2009 23:02:44 +0000 (23:02 +0000)]
Fix assertion failure on creating a new session.

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

14 years agocleanup up cleanup at session destruction; clarify the meaning of 3 signals (DropRefe...
Paul Davis [Tue, 22 Dec 2009 20:21:43 +0000 (20:21 +0000)]
cleanup up cleanup at session destruction; clarify the meaning of 3 signals (DropReferences & Destroyed in libardour ; CatchDeletion in the GTK UI); clarify ownership of objects (session no longer pays attention to DropReferences for objects that it is considered to own, such as routes, sources, etc); fix up MIDI parsing and a couple of other places by correcting syntax for return of values from a boost::signals2::signal (possible danger elsewhere to be checked)

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

14 years agoFix crash on session close.
Carl Hetherington [Tue, 22 Dec 2009 01:14:02 +0000 (01:14 +0000)]
Fix crash on session close.

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

14 years agoFix assertion failure on transmission of MIDI clock.
Carl Hetherington [Tue, 22 Dec 2009 01:13:44 +0000 (01:13 +0000)]
Fix assertion failure on transmission of MIDI clock.

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

14 years agoFix compile.
Carl Hetherington [Tue, 22 Dec 2009 01:13:22 +0000 (01:13 +0000)]
Fix compile.

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

14 years agoFix show/hide of editor summary.
Carl Hetherington [Tue, 22 Dec 2009 01:13:06 +0000 (01:13 +0000)]
Fix show/hide of editor summary.

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

14 years agoRefactor and clean up some confusion in dragging code.
Carl Hetherington [Tue, 22 Dec 2009 01:12:41 +0000 (01:12 +0000)]
Refactor and clean up some confusion in dragging code.

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

14 years agoFix comments.
Carl Hetherington [Tue, 22 Dec 2009 01:11:25 +0000 (01:11 +0000)]
Fix comments.

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

14 years agoSmall refactoring of determine_visible_control_points.
Carl Hetherington [Tue, 22 Dec 2009 01:11:06 +0000 (01:11 +0000)]
Small refactoring of determine_visible_control_points.

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

14 years agoAdd remove all and disconnect all to port matrix menu. Hide bundles whose channels...
Carl Hetherington [Tue, 22 Dec 2009 01:10:25 +0000 (01:10 +0000)]
Add remove all and disconnect all to port matrix menu.  Hide bundles whose channels are already represented by other, larger bundles.

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

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