13
0
Commit Graph

272 Commits

Author SHA1 Message Date
Carl Hetherington
d57be75d1a Fix logic for setting mixer strip name button widths (#4448).
git-svn-id: svn://localhost/ardour2/branches/3.0@12778 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 13:23:48 +00:00
6fa6514cfd Remove over 500 unnecessary includes (including 54 of session.h).
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-24 06:09:29 +00:00
27a1cf2cf7 Compile cleanly with clang.
To compile Ardour with LLVM/clang, do the usual thing but set the CXX and CC
environment variables, e.g.:

CC=/usr/bin/clang CXX=/usr/bin/clang++ ./waf configure build


git-svn-id: svn://localhost/ardour2/branches/3.0@12418 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 02:54:10 +00:00
ec1ef5d6b5 remove the apparently unnecessary "ui_bind()" macro from entire source base
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25 12:58:19 +00:00
Carl Hetherington
23973bae24 A few tweaks to make Ardour build in GCC -std=c++0x mode.
git-svn-id: svn://localhost/ardour2/branches/3.0@11983 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-15 19:28:44 +00:00
Carl Hetherington
05451a80f2 Remove some never-seen tooltips (overridden by other
things).  Clip output button labels to 7 characters
rather than 6 to fit the English translation of monitor
in (#4627).


git-svn-id: svn://localhost/ardour2/branches/3.0@11340 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-24 21:02:34 +00:00
18714b85bb don't offer to save master bus as a route template
git-svn-id: svn://localhost/ardour2/branches/3.0@11330 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-24 15:32:25 +00:00
Carl Hetherington
5a53f2f1b9 Simple approach to putting plugin controls into the
processor box.


git-svn-id: svn://localhost/ardour2/branches/3.0@11288 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-20 18:02:48 +00:00
9a85516623 cleanup vertical spacing a bit in mixer strip; rename new send options to be more clear on the difference; relabel "sends" button to say "Aux Sends" to be clearer on what it does; code tidy up in processor box and mixer strip
git-svn-id: svn://localhost/ardour2/branches/3.0@10850 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-01 19:34:53 +00:00
28c721bbfe expose Pango::Layout member of ArdourButton; set ellipsizing behaviour for mixer strip name button; add full name tooltip to name button
git-svn-id: svn://localhost/ardour2/branches/3.0@10847 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-01 16:57:29 +00:00
d4030cd32a tweak spacings in the mixer strip, tweak tooltip text for input and output buttons
git-svn-id: svn://localhost/ardour2/branches/3.0@10845 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-30 21:07:43 +00:00
Carl Hetherington
542b1d9653 Control-shift-click rather than just Shift-click to
toggle mixer strip width.


git-svn-id: svn://localhost/ardour2/branches/3.0@10831 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-28 18:45:28 +00:00
a296820caf convert all mixer strip buttons to ArdourButton; not entirely finished because colors in the name and comments buttons don't work as intended - needs a bit of thinking
git-svn-id: svn://localhost/ardour2/branches/3.0@10830 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-28 17:58:15 +00:00
Carl Hetherington
e5dd712ac4 Shift-click on a mixer width button toggles width of all
strips (#4510).


git-svn-id: svn://localhost/ardour2/branches/3.0@10822 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-24 20:07:55 +00:00
05283a6339 Only use ArdourDialog (and thus Gtk::Dialog) for actual dialogs.
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-11-19 00:56:35 +00:00
Carl Hetherington
5cb4efea80 Remove panner altogether, if necessary, when setting up PannerUI. Also reset a mixer strip's peak display when its route is changed (#4485).
git-svn-id: svn://localhost/ardour2/branches/3.0@10668 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-18 00:22:31 +00:00
Carl Hetherington
63ed921cc6 Use capital L for solo safe button in narrow strips and
internationalise small button strings.


git-svn-id: svn://localhost/ardour2/branches/3.0@10653 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 22:26:41 +00:00
Carl Hetherington
ccc5467bca Tooltips for mixer strip width and hide buttons (#4477).
git-svn-id: svn://localhost/ardour2/branches/3.0@10651 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 20:14:58 +00:00
Carl Hetherington
7496295930 Label solo iso / solo lock buttons even on narrow strips
(#4476).


git-svn-id: svn://localhost/ardour2/branches/3.0@10647 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 17:09:17 +00:00
Carl Hetherington
a609ea41db Remove ambiguous checkbutton from Comments... menu item
(does it mean the comments window is open, or that
there are comments?) (part of #4416).


git-svn-id: svn://localhost/ardour2/branches/3.0@10625 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 19:50:42 +00:00
Carl Hetherington
838a1965c9 Fix and de-hackify removal of unnecessary separators in
input/output button popups.


git-svn-id: svn://localhost/ardour2/branches/3.0@10598 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 22:56:58 +00:00
Carl Hetherington
ef4ac379a3 Popup menu over meters in mixer strips to select metering
point (rest of #4419).


git-svn-id: svn://localhost/ardour2/branches/3.0@10569 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-13 15:12:34 +00:00
11a4997037 make mute button span entire strip width if no solo button is shown (i.e. master). has th edownside that the mute and solo buttons are no longer part of the button size group, but things seem to be OK without that
git-svn-id: svn://localhost/ardour2/branches/3.0@10504 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09 10:57:33 +00:00
8f078d7fd4 drastic overhaul of keyboard handling in mixer window. real bindings, key events handled at window level, actions for all processor ops. still the confusing mess of old crap for the processor box context menu (it will die, i feel it)
git-svn-id: svn://localhost/ardour2/branches/3.0@10442 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-04 17:53:21 +00:00
Carl Hetherington
712d7fd5e4 Update mixer strip colours when route active state changes
(#4439).


git-svn-id: svn://localhost/ardour2/branches/3.0@10429 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-03 17:49:12 +00:00
e2945f2f2a force all "core" mixer strip buttons to be the same width
git-svn-id: svn://localhost/ardour2/branches/3.0@10418 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-03 14:53:24 +00:00
Carl Hetherington
3e36dc7746 Don't offer inputs to things as possible output connections, and vice versa (part of #4432).
git-svn-id: svn://localhost/ardour2/branches/3.0@10410 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-03 03:04:51 +00:00
Carl Hetherington
c9ec37afaf Add options to add ports to input/output menus on mixer strips.
git-svn-id: svn://localhost/ardour2/branches/3.0@10408 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-03 02:20:45 +00:00
Carl Hetherington
154c2a35d7 Allow overrides of the user-set visibility stuff and use it to make sure the master bus doesn't get solo isolate etc. (#4431).
git-svn-id: svn://localhost/ardour2/branches/3.0@10407 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-03 01:44:17 +00:00
Carl Hetherington
22d87a18dc Tidy up send-to button handling a bit, should fix #4426 and #4427.
git-svn-id: svn://localhost/ardour2/branches/3.0@10406 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-03 00:42:16 +00:00
bcac4f1c96 rec-enable buttons are now ArdourButtons, but with a minor graphical glitch that will be solved/fixed soon-ish
git-svn-id: svn://localhost/ardour2/branches/3.0@10402 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-02 19:51:59 +00:00
11fdd6cd18 solo buttons are now ArdourButtons
git-svn-id: svn://localhost/ardour2/branches/3.0@10401 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-02 18:48:32 +00:00
592bfa3616 mute and send-alert buttons are now ArdourButtons
git-svn-id: svn://localhost/ardour2/branches/3.0@10397 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-02 16:46:49 +00:00
Carl Hetherington
43f8512732 Fix thinko in recent commit causing mixer strip buttons to not update on connection changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@10381 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 20:57:41 +00:00
Carl Hetherington
5173497c6d Give group and meter point buttons controllable visibility.
git-svn-id: svn://localhost/ardour2/branches/3.0@10376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 02:39:39 +00:00
Carl Hetherington
765b78817f Reclaim space when hiding only one of solo-isolate or solo-lock (#4417).
git-svn-id: svn://localhost/ardour2/branches/3.0@10374 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 02:08:42 +00:00
Carl Hetherington
a423a42d9b Restore comments button, but optionally visible.
git-svn-id: svn://localhost/ardour2/branches/3.0@10348 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29 21:18:26 +00:00
Carl Hetherington
db429c2362 Some limited control of mixer strip component
visibility.


git-svn-id: svn://localhost/ardour2/branches/3.0@10341 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29 20:08:48 +00:00
Carl Hetherington
7bdcc127e3 Use shared_ptr for Port in the AudioEngine; improves thread-safety of the 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-10-28 17:04:09 +00:00
5005ba060e provide control over precisely what aspects of an ArdourButton are rendered, and other button-related miscellany
git-svn-id: svn://localhost/ardour2/branches/3.0@10315 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-27 11:53:16 +00:00
51ab5ccabf new ArdourButton class, to start to provide more control over how our buttons work and appear; use ArdourButtons for monitor, solo isolate and solo safe buttons, and in the processor box; don't save UI config file (canvas colors) to the user's home dir unless one or more parameters were modified by the user
git-svn-id: svn://localhost/ardour2/branches/3.0@10311 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-26 21:01:14 +00:00
bece0eb862 fix mis-sized middle_button_table in mixer strips
git-svn-id: svn://localhost/ardour2/branches/3.0@10279 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-22 12:54:32 +00:00
d1e1ff3993 tweak monitor button colors; move buttons to just below panners
git-svn-id: svn://localhost/ardour2/branches/3.0@10276 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 23:41:49 +00:00
3764eedca0 add initial implementation of explicit monitor (input|disk) control. some behaviour to be worked out, still
git-svn-id: svn://localhost/ardour2/branches/3.0@10256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 18:50:29 +00:00
0938a42440 fixes for 98% of all the warnings/errors reported by OS X gcc on tiger
git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30 17:55:14 +00:00
Carl Hetherington
1145f1ff6c Update Mackie surface state when something is connected to its output port (#3887).
git-svn-id: svn://localhost/ardour2/branches/3.0@10135 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-26 22:22:21 +00:00
Carl Hetherington
186a9599b6 Connect mixer strip to panner shell even if there is currently no panner. Should fix #4318.
git-svn-id: svn://localhost/ardour2/branches/3.0@10094 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-19 09:31:08 +00:00
Carl Hetherington
881b5a43e7 Allow route groups to color their tracks (remainder of
#4064).


git-svn-id: svn://localhost/ardour2/branches/3.0@10043 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-31 19:14:12 +00:00
Carl Hetherington
3b018f6902 Tidy up route colouring a bit so that colours are the
same for both the time axis view and the mixer strip.


git-svn-id: svn://localhost/ardour2/branches/3.0@10035 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-30 15:44:00 +00:00
6dc74f8c87 clean up GUIObjectState API, and use bools when setting "visible" property rather than string (not that it matters); don't unconditionally set visible to true unless a non-hidden track/bus has no visibility property already
git-svn-id: svn://localhost/ardour2/branches/3.0@9843 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-11 20:32:33 +00:00