13
0
Commit Graph

384 Commits

Author SHA1 Message Date
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
8d5065bc32 remove, convert, comment several cerr statements
git-svn-id: svn://localhost/ardour2/branches/3.0@12378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-22 12:57:05 +00:00
4235e9a1a2 a variety of mostly unused parameter errors from OS X Lion's compiler
git-svn-id: svn://localhost/ardour2/branches/3.0@12148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-02 20:29:46 +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
19a197ecbc Remove long-commented-out code; formatting tweaks; other no-ops.
git-svn-id: svn://localhost/ardour2/branches/3.0@12062 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-23 01:13:34 +00:00
Carl Hetherington
70d2b1060f Fix a couple of missing PROGRAM_NAMEs, and remove some jargon from the sample rate mismatch prompt.
git-svn-id: svn://localhost/ardour2/branches/3.0@12061 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-23 01:02:33 +00:00
a382da4918 force small screen profile if ARDOUR_NARROW_SCREEN is set in the environment
git-svn-id: svn://localhost/ardour2/branches/3.0@11996 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-17 19:13:04 +00:00
d86a078483 hide splash window under certain error conditions
git-svn-id: svn://localhost/ardour2/branches/3.0@11705 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-16 15:51:33 +00:00
9593d6e9cf patch from colinf to handle default session dir a little better
git-svn-id: svn://localhost/ardour2/branches/3.0@11694 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-15 12:04:00 +00:00
Carl Hetherington
0d7c6f77d4 Patch from colinf to put a tooltip in the recent session
display.


git-svn-id: svn://localhost/ardour2/branches/3.0@11642 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-10 11:39:43 +00:00
Carl Hetherington
ec1e3a1f60 Remove RemoveLastCapture action which duplicates remove-last-capture.
git-svn-id: svn://localhost/ardour2/branches/3.0@11640 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-10 00:27:38 +00:00
Ben Loftis
208703da53 show loop markers when looping is initiated
git-svn-id: svn://localhost/ardour2/branches/3.0@11610 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-06 22:56:56 +00:00
Carl Hetherington
a7a445c044 Remove some unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@11596 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-05 13:18:43 +00:00
Carl Hetherington
5e32265e27 Remove some unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@11594 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-05 01:19:20 +00:00
bb98baf413 fix a few dangling uses of Ardour as program name, in favor of PROGRAM_NAME
git-svn-id: svn://localhost/ardour2/branches/3.0@11563 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-29 20:18:18 +00:00
efb1e10ff7 fix coloring of global rec-enable button when actively recording; fix related issue when loading a session with an already rec-enabled track
git-svn-id: svn://localhost/ardour2/branches/3.0@11468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-07 18:28:09 +00:00
b08d13706f remove additional "mid" color from ArdourButton; replace Active/Mid widget state with ExplicitActive/ImplicitActive; represent implicit-active state with colored border around ArdourButton; tune button colors; new rounded_foo() functions, some in use, some not in use right now
git-svn-id: svn://localhost/ardour2/branches/3.0@11466 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-07 17:43:55 +00:00
aeb4617b1d tweak "joined" buttons to have no border color
git-svn-id: svn://localhost/ardour2/branches/3.0@11460 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-06 18:38:02 +00:00
1f0f5e89bb separate header dependencies on button joiner, and make each button joiner look up the right color for the type of buttons it contains
git-svn-id: svn://localhost/ardour2/branches/3.0@11440 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-03 18:49:43 +00:00
ac268b1224 use button joiner to link play range/roll for "always play range" option. coloring and details of drawing still to be finalized
git-svn-id: svn://localhost/ardour2/branches/3.0@11437 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-03 04:18:30 +00:00
af90dc2bae add a way to create a new MIDI track with an instrument pre-selected
git-svn-id: svn://localhost/ardour2/branches/3.0@11421 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-02 04:12:23 +00:00
7629120cda many changes, large and small, related to smart mode editing, range/region selection, and behaviour of playhead when always-play-range is enabled. could be buggy, but probably in subtle (or even very subtle) ways rather than obvious
git-svn-id: svn://localhost/ardour2/branches/3.0@11394 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-30 22:53:22 +00:00
a880cb543d some improvements to the add track/bus dialog to make it more obvious how to add MIDI tracks
git-svn-id: svn://localhost/ardour2/branches/3.0@11348 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-25 18:45:19 +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
c2a93a9b38 if creating the splash fails for any reason, don't crash later when trying to use it
git-svn-id: svn://localhost/ardour2/branches/3.0@11272 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-19 22:25:03 +00:00
Carl Hetherington
c7427287c1 Reinstate command line option to hide splash screen.
git-svn-id: svn://localhost/ardour2/branches/3.0@11224 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-10 23:42:42 +00:00
b53c92b652 the return of the splash, with a few changes to help with window layering a little
git-svn-id: svn://localhost/ardour2/branches/3.0@11222 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-10 18:21:39 +00:00
Carl Hetherington
05626747f0 Patch from colinf to use session_name_is_legal for snapshots too (#4548).
git-svn-id: svn://localhost/ardour2/branches/3.0@10945 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-09 15:20:14 +00:00
86ac8536d2 centralize legal-session-name-checkng and include : and ; in characters that we disallow, because they conflict with search path conventions on *nix and windows
git-svn-id: svn://localhost/ardour2/branches/3.0@10943 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-09 03:06:58 +00:00
Carl Hetherington
1d59cfce56 Missing translations.
git-svn-id: svn://localhost/ardour2/branches/3.0@10769 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 12:35:25 +00:00
0e2173d2ae Add default OK button to "JACK exited" dialog.
Remove odd pointless Gtk::ButtonsType casts.

Related to ticket 4364.  As of this commit all uses of MessageDialog are
verified to have buttons (we use BUTTONS_NONE occasionally, but in all
cases we add buttons later).


git-svn-id: svn://localhost/ardour2/branches/3.0@10686 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-18 20:22:49 +00:00
792df333a2 fix some issues with delta clocks, while introducing a couple more since the clock can now show +ve and -ve offsets, but -ve ones computed incorrectly for timecode and BBT
git-svn-id: svn://localhost/ardour2/branches/3.0@10681 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-18 18:06:16 +00:00
b25fbc8a95 all new implementation of audio clocks, with entirely new editing model. not entirely finished, but lookable, and usable
git-svn-id: svn://localhost/ardour2/branches/3.0@10662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-17 22:49:13 +00:00
Carl Hetherington
6e1aa92eb8 Doxygen tweaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@10644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 02:03:30 +00:00
Carl Hetherington
b426e7d5e4 Tidy a couple of minor things up.
git-svn-id: svn://localhost/ardour2/branches/3.0@10607 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 02:06:09 +00:00
c66955386e make PluginManager API more in line with other singletons; do initial plugin discovery before beginning to construct the UI, so that if plugins create GUIs (e.g for license verification) they don't cause a run loop to catch the UIManager in an inconsistent state with menus defined but actions missing
git-svn-id: svn://localhost/ardour2/branches/3.0@10586 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 17:41:29 +00:00
Carl Hetherington
aa38d43c69 Reset toolbar label widths on DPI change (may fix
#4433).


git-svn-id: svn://localhost/ardour2/branches/3.0@10577 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 11:31:27 +00:00
1fc6f18ef2 lower-case solo/audition/feedback buttons
git-svn-id: svn://localhost/ardour2/branches/3.0@10547 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 16:45:03 +00:00
47a11efb12 put JACK time master option into Session -> Properties -> Timecode, and fully remove the time master button
git-svn-id: svn://localhost/ardour2/branches/3.0@10546 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 16:42:38 +00:00
9bb07c0524 capitalize solo/audition/feedback buttons
git-svn-id: svn://localhost/ardour2/branches/3.0@10544 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 16:19:37 +00:00
Carl Hetherington
cd2047cbff Change the feedback alert to a flashing button; works
around part of #4432.


git-svn-id: svn://localhost/ardour2/branches/3.0@10539 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 13:52:27 +00:00
f96ccb1958 ardour-button-ize zoom buttons; move MIDI panic button to transport bar
git-svn-id: svn://localhost/ardour2/branches/3.0@10528 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-10 18:04:34 +00:00
6449c2e5c8 more ardour-button-ization; fix transparency of selection rects; use "correct" cursors when entering and leaving selection rect handles; color tweaks for a few buttons
git-svn-id: svn://localhost/ardour2/branches/3.0@10527 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-10 15:25:01 +00:00
244eaa55fb provide global prelight option (its in Edit -> Preferences->Interface)
git-svn-id: svn://localhost/ardour2/branches/3.0@10514 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09 20:10:05 +00:00
Carl Hetherington
69c88d165d Alert the user if a connection is made which causes
feedback, and preserve the route graph in the state
that it was in before the feedback was introduced. The
intent being to simplify the code, reduce the number of
areas of code which must consider feedback, and fix a
few bugs.


git-svn-id: svn://localhost/ardour2/branches/3.0@10510 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09 17:44:39 +00:00
17da9339c2 move auto-input into session options/properties dialog, move auto-play and auto-return next to the transport buttons; show ">24hrs" when there is truly a lot of disk space available
git-svn-id: svn://localhost/ardour2/branches/3.0@10507 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09 17:29:23 +00:00
121860f9d4 auto (return,play,input) and click buttons become ArdourButtons ("transport option button"), plus new colors from oofus
git-svn-id: svn://localhost/ardour2/branches/3.0@10506 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09 14:38:58 +00:00
138ad804f0 use hovering/show click for transport buttons, and remove fixed-size size requests (image padding in the buttons needs some work)
git-svn-id: svn://localhost/ardour2/branches/3.0@10479 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-07 19:15:13 +00:00
f690d687d3 convert transport buttons to ArdourButton
git-svn-id: svn://localhost/ardour2/branches/3.0@10473 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-07 17:23:27 +00:00
Carl Hetherington
337e010345 Allocate some thread-local buffers for the GUI thread so that the PluginEqGui impulse analysis can use them (fixes #4418).
git-svn-id: svn://localhost/ardour2/branches/3.0@10387 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 23:19:03 +00:00