summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix.cc
AgeCommit message (Collapse)Author
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-06-05Stripable signals moved to PresentationInfoPaul Davis
2016-05-31first vaguely working version using PresentationInfoPaul Davis
remote control ID and "order keys" have been removed.
2016-04-14Simplify port add/remove error messages.Robin Gareus
The detailed information is no longer correct with flexible routing since pin management.
2016-04-03Prevent deletion of last port using the PortMatrix.Robin Gareus
2015-10-15rework 8b80fe0, use std::string, not char*Robin Gareus
2015-10-14Avoid calls to Glib::ustring << operator at all cost.Robin Gareus
Glib::operator<<(std::ostream&, Glib::ustring const&) involves loadlocale which is not thread-safe on OSX. This fixes various seemingly random crashes on OSX.
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-04-05Port matrix useability fix.nick_m
When a page has changed, leave the adjustment where it is on the axis whose size remains the same. On the changed axis, set the scroller to zero.
2015-03-08Bundle API user update 2/2Robin Gareus
cherry-pickable follow up to 0582221
2014-11-14add abort() to non-reached codeRobin Gareus
This cleans up a lot of false-positives in static analysis and also helps compilers to optimize code paths in general. (tagging the fatal stingstream operator as ‘noreturn’ is far less trivial)
2014-10-27fix potential crash at session close (when port-matrix is visible)Robin Gareus
remove_aux_or_listen() -> PortMatrix::route_processors_changed() -> setup_global_ports() -> PortGroupList::gather() -> crash if some session ports were already removed.
2014-10-19OS 10.10 compile fixesRobin Gareus
* fix clang pickiness regarding boolean * ignore ‘verify’ macro * tested with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2014-01-10Merge windows+cc branch into cairocanvas branch. Not finished, need to now ↵Paul Davis
merge windows branch to get changes from there
2013-10-21Unify editor / mixer ordering.nick_m
2013-08-24fix merge conflicts from masterPaul Davis
2013-08-03fix gtk "child->parent == NULL" assertsRobin Gareus
2013-08-03disallow invalid port-removalRobin Gareus
do not allow port-removal if the port would be re-added immediately after that again because the main-delivery actually needs it. As a side effect this prevents this crash: * create a stereo-track, then remove one output -> unhandled exception "AudioEngine::PortRegistrationFailure&" The problem: - the port is removed from the RCU ports list, but Port::drop() (which calls jack_port_unregister) is only called from the Port's destructor at some later time. (because a reference to the port still exists elsewhere) - the jack-port is not yet removed. - meanwhile Delivery::configure_io comes along and notices that there are more audio-buffers than ports and tries to re-register the port. - but the port still exists in jack, so it fails and throws an exception ...which is not handled.
2013-08-02Merge branch 'master' into windowsPaul Davis
2013-08-02keep port-matrix in sync when deleting ports. and fix segfault on session ↵Robin Gareus
close with io-matrix visible
2013-07-11Fix ambiguous type CheckMenuItem that is also defined via windows.hPaul Davis
2013-07-10amend to 212d2ac5d and 8becd4413 - fix port connection matrix crash on closeRobin Gareus
2012-10-23escape markup text that may contain non-legal characters (for GMarkup). this ↵Paul Davis
may need to be done more widely git-svn-id: svn://localhost/ardour2/branches/3.0@13318 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-27first pass at the big rethink of managing sort order keys for editor and ↵Paul Davis
mixer. this appears to work, but remote control IDs are not yet correct (frequently off by one because of the presence of the master bus in the editor) git-svn-id: svn://localhost/ardour2/branches/3.0@12953 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-06-14Fix crash on close.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12719 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21Slightly hacky improvement to embolden the labels ofCarl Hetherington
connection matrix tabs when they have connections. git-svn-id: svn://localhost/ardour2/branches/3.0@12371 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21Fix assertion failure on some right-clicks.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12360 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-20Rename can_add_channel slightly and add mysteriously-missing calls to it so ↵Carl Hetherington
that you don't get offered the chance to add ports where none can be added. git-svn-id: svn://localhost/ardour2/branches/3.0@12349 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-05-02a variety of mostly unused parameter errors from OS X Lion's compilerPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12148 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-12-07Check that adding a port to an IO is ok with the processorsCarl Hetherington
in its route, and raise an error if not (part of #4535). git-svn-id: svn://localhost/ardour2/branches/3.0@10938 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-02Re-allow adding ports to empty bundles (#4408), and fix disassociation ↵Carl Hetherington
(disconnection) menu options as well. git-svn-id: svn://localhost/ardour2/branches/3.0@10388 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01Fix out-of-whack notebook tabs wrt their contents in certain port matrices, ↵Carl Hetherington
broken by my recent tinkering (#4422). git-svn-id: svn://localhost/ardour2/branches/3.0@10384 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31Reverse the order of vertical tabs in the port matrixCarl Hetherington
when they are on the right hand side, for reasons explained in the comment. git-svn-id: svn://localhost/ardour2/branches/3.0@10366 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-09-27Fix assertion failure on clicking on bundles whose channels are all of the ↵Carl Hetherington
wrong type. git-svn-id: svn://localhost/ardour2/branches/3.0@10147 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-14Hopefully fix follow-up bug in #4209.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@9989 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-02-24don't show remove port options for individual ports if there is only one ↵Paul Davis
(port matrix) git-svn-id: svn://localhost/ardour2/branches/3.0@8951 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-29Fix crash on unchecking show individual ports (#3740).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8607 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-10Fix crash on mouseover.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8236 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03Offer options to add un-natural port types to routes. Sort of helps with #3578.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8169 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-25Prevent removal of route inputs when the plugins cannot be configured with ↵Carl Hetherington
the new number. Rework locking so that the process lock is held from the point that a route input is removed until after the processors are reconfigured; fixes #3548. git-svn-id: svn://localhost/ardour2/branches/3.0@8089 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-06Another hacky fix for deadlocks when updating the port matrix.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7747 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-24Setup tab directions correctly depending on where they are located.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7676 d708f5d6-7413-0410-9779-e7cbd77b26cf