summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix.cc
AgeCommit message (Collapse)Author
2010-08-24Put a bit of padding between the tabs and the window edge.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7675 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-24Tweak arrangement of labels and tabs in port matrices.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7674 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-24Fix port matrix menu checkbox when the window is closed. Make the port ↵Carl Hetherington
matrix origin the bottom left when tabs are on left and bottom. Don't shrink the port matrix when auto-resizing it. git-svn-id: svn://localhost/ardour2/branches/3.0@7673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-27Improve resize behaviour of port matrices when their content size changes.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7507 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-27Fix route port matrix to only display the relevant port types.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7505 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-05-08Remove use of i18n macros in headers. Prevents our gettext.h being included ↵Carl Hetherington
before libintl.h, which causes failures when ENABLE_NLS is not defined (bug #3111) git-svn-id: svn://localhost/ardour2/branches/3.0@7081 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-05Make port matrix notice when connections are changed outside of ardour.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6858 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-15Escape underscores in port matrix menus correctly so that track names etc. ↵Carl Hetherington
with underscores get displayed properly. git-svn-id: svn://localhost/ardour2/branches/3.0@6491 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-14Offer all of a bundle's ports for disconnection / removal when opening a ↵Carl Hetherington
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
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-12remove using namespace sigc everywhere to ensure clarity over which ↵Paul Davis
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
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-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
2009-12-07Fix a couple of crashes with empty matrices. Some small optimisations.Carl Hetherington
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
2009-12-05Clean up and comment PortMatrix event handling a bit.Carl Hetherington
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
2009-12-04Some tweaks to fix bug with the tab handling when rescanning or when ports ↵Carl Hetherington
disappear. git-svn-id: svn://localhost/ardour2/branches/3.0@6287 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-04Hide port matrix notebook tabs if there's only one.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6279 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-01don't bother doing port stuff if session is being deletedPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@6240 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-30Various optimisations to speed up rec-enable.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6227 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-25Seconds out, the people vs. the port matrix, round 7.Carl Hetherington
Some spacing adjustments. Remove the hacky RouteBundle which caused more problems than it solved. Put notebook tabs close to the headings in the matrix. Some other minor tweaks. git-svn-id: svn://localhost/ardour2/branches/3.0@6179 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-18Port port group type labels in-line with the tabs.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6118 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-18Rework port matrix to use Gtk notebook tabs to select visible groups.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6117 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-14Small cleanups to port matrix context menu.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-10Various adjustments to user bundle handling, with the general aim of ↵Carl Hetherington
allowing the user to create meaningful bundles with respect to their sound card an outboard setup, and having those user bundles take priority over ardour-generated ones. git-svn-id: svn://localhost/ardour2/branches/3.0@6050 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-07Various tweaks to the bundle manager.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6030 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14Strip trailing whitespace and fix other whitespace errors (e.g. space/tab ↵David Robillard
mixing). Whitespace changes only. Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-11Some thread safety for the previous commit.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5766 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-11Make the port matrix notice if JACK ports are registered or unregistered.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5765 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-29Modify hacks associated with initial sizing of port matrices to try and make ↵Carl Hetherington
things work with both fluxbox and metacity. git-svn-id: svn://localhost/ardour2/branches/3.0@5604 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-02A couple of port matrix cleanups.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5455 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-22Various fixups to bundle manager. Add a separator between the benign and ↵Carl Hetherington
more serious menu options on the port matrix context menu. Finally (maybe) fix port matrix sizing issues relatively nicely. git-svn-id: svn://localhost/ardour2/branches/3.0@5409 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-20Clean up handling of add/remove/rename channels in the port matrix. Hence ↵Carl Hetherington
make it possible to do these things for any bundle (give or take). Clean up port matrix context menu. git-svn-id: svn://localhost/ardour2/branches/3.0@5393 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-19Use the word `port' rather than `channel' when adding channels to a route's ↵Carl Hetherington
bundle. Don't mouseover on hidden groups in the matrix. git-svn-id: svn://localhost/ardour2/branches/3.0@5385 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-19Restore add channel option to port matrix context menu.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5383 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-19Port matrix tweaks: scroll wheel support; use the correct verb for ↵Carl Hetherington
disassociation in the menu; fixes for gaps appearing when groups are hidden. git-svn-id: svn://localhost/ardour2/branches/3.0@5382 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-18Various tweaks to the port matrix.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5380 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-18Better fix for non-rearrangement after open for the port matrix.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-17Various tweaks to the port matrix: open to full size; remove buttons and ↵Carl Hetherington
move their functionality into a context menu; set maximum size hint to stop port matrix windows being resized beyond their useful size; remove visibility checkbuttons - visibility now controlled through menu or by clicking on group names; port groups fold down to a small tab when hidden; don't swap the orientation of the matrix once it has been opened. git-svn-id: svn://localhost/ardour2/branches/3.0@5373 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-17Use track colours in the port matrix.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5367 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-03Support for the port matrix working at the bundle level and hiding details ↵Carl Hetherington
of ports. git-svn-id: svn://localhost/ardour2/branches/3.0@5029 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10Bit of a hack to make the port matrix for port inserts at least vaguely usable.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@4516 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10Fix disassociation of all from a single channel.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@4515 d708f5d6-7413-0410-9779-e7cbd77b26cf