summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_group.cc
AgeCommit message (Collapse)Author
2015-12-03do not show control surface bundles in non-MIDI port matrix.Paul Davis
This will stop being the right thing to do if anyone ever creates a control protocol that uses audio ports.
2015-12-03further improvements to port grouping for the port matrixPaul Davis
Don't show LTC etc. ports in the MIDI matrix; Don't show Scene ports for Ardour or Mixbus, since we don't use them; code renaming
2015-12-03fix mis-assignment of various Ports when constructing the PortGroup list for ↵Paul Davis
the (e.g.) PortMatrix
2015-03-08use pretty names in port-matrixRobin Gareus
maybe this should be an option? So far it’s the matrix only.. gotta start somewhere. PS. No, this is not a new feature. Ardour not doing this is a major bug that severely reduces usability: system:midi_capture_47 WTF? ;-)
2013-12-21longer text descriptionPaul Davis
2013-10-21Unify editor / mixer ordering.nick_m
2013-09-05move MidiPortManager from AudioEngine to SessionPaul Davis
This makes the responsibilities and ownership of non-Route related MIDI ports more clear, and removes a few wierd bits of code. It also ensures that open/close/open on the same session will retain connections for those MIDI ports
2013-08-08remove reference to non-existent headerPaul Davis
2013-08-07major redesign of MIDI port heirarchy and management (part 2)Paul Davis
2013-08-05fix conflicts after merge with masterPaul Davis
2013-08-03fix "other" port-group tabRobin Gareus
Separate port-bundles for each jack client in the connection manager. Previously, apps were only listed as separate bundles if the ports were gathered at different times. ie one app shows up after the other (and if no complete re-scan was triggered) Fixes issue reported by Fons Adriaensen.
2013-07-31even more stuff compilesPaul Davis
2013-07-30remove compile errors (still will not link and JACKPortEngine is not close ↵Paul Davis
to done)
2012-10-26add LTC ports to Ardour-Misc groupRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13352 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-12skeleton framework for LTC-slaveRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-25drastic rethink of the relationship between remote control ID and route ↵Paul Davis
order keys. unless the user explicitly switches to UserOrdered, Route::_remote_control_id is an unallocated pointer, and Route::remote_control_id() simply returns a value based on the relevant order_key() value. Also, change the key used in the Route::order_keys std::map<> from a string to an enum, since there is no evidence that we are benefitting from the theoretical benefit of using a string. Generally tidy up allocation of order keys so that the master and monitor busses always get a "special" MixerSort key value, based on the MMC ID for master (already defined within Ardour), and all other tracks/busses start at zero. Syncing keys between editor and mixer will leave the MixerSort key for the master and monitor bus alone, reflecting the fact that we display these in their own distinct parts of the GUI and they are not orderable like other tracks or busses within the mixer window git-svn-id: svn://localhost/ardour2/branches/3.0@12923 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24Remove over 500 unnecessary includes (including 54 of session.h).David Robillard
It's slightly possible that this causes trivial build failures on different configurations, but otherwise shouldn't cause any problems (i.e. no actual changes other than include/naming/namespace stuff). I deliberately avoided removing libardour-config.h since this can mysteriously break things, though a few of those do seem to be unnecessary. This commit only targets includes of ardour/*.h. There is also a very large number of unnecessary includes of stuff in gtk2_ardour; tackling that should also give a big improvement in build time when things are modified. git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-20Display hardware IO individually in the port matrices unless we are in ↵Carl Hetherington
_show_only_bundles mode. git-svn-id: svn://localhost/ardour2/branches/3.0@12348 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25remove the apparently unnecessary "ui_bind()" macro from entire source basePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-08Attempt to fix some confusions caused by bundles containingCarl Hetherington
different types of port; if we loop over N MIDI channels of a mixed bundle, for example, we must convert 0...N to the indices of the channels within the bundle. Also remove the hack of creating new bundles to contain a subset of another bundle's ports; if you do this, any signals emitted by the other bundle are ignored. Should fix #4454. git-svn-id: svn://localhost/ardour2/branches/3.0@10490 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31Don't show busses tab in MIDI connection managers, sinceCarl Hetherington
there are no MIDI busses yet. git-svn-id: svn://localhost/ardour2/branches/3.0@10365 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-13Stop bundles disappearing from the port matrix when theyCarl Hetherington
have no channels (#4209). Also fix the remove all channels menu option. git-svn-id: svn://localhost/ardour2/branches/3.0@9986 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01Delete trailing whitespaceDavid Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-27revert recent change to cleaner names for MIDI ports, which breaks certain ↵Paul Davis
other code that expects full port names git-svn-id: svn://localhost/ardour2/branches/3.0@9218 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-23remove "alsa_pcm:" prefix from MIDI port names in the port matrix, to make ↵Paul Davis
things slightly easier to read git-svn-id: svn://localhost/ardour2/branches/3.0@9193 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-30Further i18n fix.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8397 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-10prevent the monitor inputs from showing up in the port matrix, fo'realPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8235 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-10don't show monitor bus inputs in matrix(es); relabel tabs in port matrix; ↵Paul Davis
change label for monitoring preference to be clearer git-svn-id: svn://localhost/ardour2/branches/3.0@8234 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-28Use weak_ptr for IOs in the bundle list to avoid holding onto them when a ↵Carl Hetherington
route is removed. Fixes #3395. git-svn-id: svn://localhost/ardour2/branches/3.0@7702 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-17forward port 2.X changes up to and including rev 6767Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7636 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-01Put MIDI sync ports in the Ardour tab of the port matrix.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7527 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-01Fixes to MIDI ports in the matrix.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7526 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-01Fix port matrix crash.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7525 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-30Put Mackie surface ports into the Ardour tab of the port matrix.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7522 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-29Don't display empty tabs in the port matrix.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7521 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-21Sort tracks in the port matrix according to editor order. Fixes #2966.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7458 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-01Allow port matrix to show both audio and midi ports at the same time, and ↵Carl Hetherington
use that facility for route IO selectors. git-svn-id: svn://localhost/ardour2/branches/3.0@7344 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-30Basic tweaks to make the bundles and the port matrix accept that MIDI tracks ↵Carl Hetherington
may have audio IO, and vice versa. Allows connection of instrument tracks using the global port matrix. git-svn-id: svn://localhost/ardour2/branches/3.0@7335 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-26lots of details relating to MIDI file management; try to ignore ALSA ↵Paul Davis
sequencer MIDI ports named "Midi-Through" git-svn-id: svn://localhost/ardour2/branches/3.0@7305 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-30handle deletion of UI objects between the time that a callback is queued ↵Paul Davis
with the UI event loop and the execution of the callback (intrusive, big) git-svn-id: svn://localhost/ardour2/branches/3.0@6807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-05make system tab show up as default (most of the time) in port matrixPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@6459 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-22Fix compile.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6386 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-22Add remove all and disconnect all to port matrix menu. Hide bundles whose ↵Carl Hetherington
channels are already represented by other, larger bundles. git-svn-id: svn://localhost/ardour2/branches/3.0@6381 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-21fully implement and deploy explicit x-thread signal connection syntax ↵Paul Davis
(testing comes next) git-svn-id: svn://localhost/ardour2/branches/3.0@6379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-19use new syntax for connecting to backend signals that enforces explicit ↵Paul Davis
connection scope, plus a few other related matters git-svn-id: svn://localhost/ardour2/branches/3.0@6376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-17switch to using boost::signals2 instead of sigc++, at least for libardour. ↵Paul Davis
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
2009-12-13Restore port group tabs.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6363 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-11make all use of bind/mem_fun be explicitly sigc:: Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@6354 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-10drastic, deep and wide changes to make RouteGroup use ↵Paul Davis
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
2009-12-07Redraw the matrix correctly when available ports change in the currently ↵Carl Hetherington
visible tab. git-svn-id: svn://localhost/ardour2/branches/3.0@6322 d708f5d6-7413-0410-9779-e7cbd77b26cf