summaryrefslogtreecommitdiff
path: root/gtk2_ardour/global_port_matrix.cc
AgeCommit message (Collapse)Author
2019-08-03Update GPL boilerplate and (C)Robin Gareus
Copyright-holder and year information is extracted from git log. git history begins in 2005. So (C) from 1998..2005 is lost. Also some (C) assignment of commits where the committer didn't use --author.
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2013-09-12incomplete merge of master into windows (requires upcoming changes to master ↵Paul Davis
to be complete)
2013-09-05fix a problem creating and displaying connected status for ports not owned ↵Paul Davis
by ardour (e.g. system:....) This was caused by using jack_port_get_connections() which will not return the correct status for ports owned by another JACK client. Because of the potential for deadlock by calling jack_port_get_all_connections(), an extra argument was added to several PortEngine:: API calls to specify whether the call is in a process-callback context, which defaults to true. The only place where false is passed is within the GlobalPortMatrix when we need to determine whether two non-ardour ports are connected.
2013-07-30remove compile errors (still will not link and JACKPortEngine is not close ↵Paul Davis
to done)
2013-07-11Change/improve enum as IN and OUT are defined via windows.hPaul Davis
2013-07-10fix port-matrix (update with session)Robin Gareus
2012-11-04a variety of fixes aimed at preventing crashes caused by the (global) port ↵Paul Davis
matrix (window) not really noticing that the session has gone away git-svn-id: svn://localhost/ardour2/branches/3.0@13378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20Add a menu option and key press (F) in port matrices to flip the selected ↵Carl Hetherington
row and columns in the matrix. git-svn-id: svn://localhost/ardour2/branches/3.0@12804 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
2011-11-19Only use ArdourDialog (and thus Gtk::Dialog) for actual dialogs.David Robillard
Fixes #4364. I havn't fully tested every single dialog and window (heck, I don't even know how to get at half of them), and there may be some packing niggles, but this is the bulk of the work. The Gnome 3 kiddies can close their dialogs now, anyway :) git-svn-id: svn://localhost/ardour2/branches/3.0@10699 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28Use shared_ptr for Port in the AudioEngine; improves thread-safety of the ↵Carl Hetherington
audio engine's port list as a writer cannot destroy a port in one thread while the port list is being iterated in another. git-svn-id: svn://localhost/ardour2/branches/3.0@10327 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
2010-12-14make global connection window inherit from ArdourDialogPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8269 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-27rest of process lock removal, plus no GUIs for internal returnsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8112 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-27take process lock in global port matrix' set_state() method; use namespace ↵Paul Davis
ARDOUR too git-svn-id: svn://localhost/ardour2/branches/3.0@8105 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-20Fix a few dialogues which don't reset their session pointer correctly on a ↵Carl Hetherington
new session. Fixes #3342. git-svn-id: svn://localhost/ardour2/branches/3.0@7451 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
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-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-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-16Allow ardour to manipulate connections between two JACK ports that don't ↵Carl Hetherington
belong to us. git-svn-id: svn://localhost/ardour2/branches/3.0@6100 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-14Allow multiple bundles with the same ports in the bundle editor, otherwise ↵Carl Hetherington
sometimes important bundles can be incorrectly hidden. git-svn-id: svn://localhost/ardour2/branches/3.0@6087 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-19Tidy up window titles, according to GNOME HIG and as suggested in mantis 2803.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5805 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-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-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-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-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-05-13Remove some extraneous includes. reorder some others (fixes compilation on ↵Nick Mainsbridge
fedora 10). git-svn-id: svn://localhost/ardour2/branches/3.0@5073 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-14If a bundle's channel has no ports associated with it, you can't connectCarl Hetherington
it to anything; mark things up accordingly in the port matrix. git-svn-id: svn://localhost/ardour2/branches/3.0@4557 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10Duh. Simplify previous commit.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@4520 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10Add a rescan button.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@4519 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-09Fixes to bundle manager to make it vaguely usable.Carl Hetherington
Rework signal handling for bundles so that all changes should now be noticed by port matrices. git-svn-id: svn://localhost/ardour2/branches/3.0@4501 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-30More port matrix re-working. Global matrix now has separate visibility buttonsCarl Hetherington
for ins and outs. The matrix will now be arranged so that more ports are labelled horizontally than vertically, to aid readability. git-svn-id: svn://localhost/ardour2/branches/3.0@4467 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-26Make global port matrix a Gtk::Window rather than an ArdourDialog.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@4445 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-25Some refactoring. Add port group headers to the port matrix.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@4443 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-23Add global port matrix dialogs.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@4434 d708f5d6-7413-0410-9779-e7cbd77b26cf