Commit graph

28928 commits

Author SHA1 Message Date
Robin Gareus
7c381dab6e
Downgrade "using all channels" warning to info - part 2 2020-01-25 04:17:53 +01:00
Robin Gareus
5a841ef462
Tweaks to build/package scripts for new waf
* Windows: delete waf installed .dll.a files
* Windows: override waf's conf.env.LIBDIR = conf.env.BINDIR
  with explicit --libdir
* Windows: fix asm (`x86_64-w64-mingw32-as` -D flag is for
  debug messages, -D defines are not available)
* Mac: override waf adding -install_name (and
  -Wl,-compatibility_version -Wl,-current_version)
  by moving -dynamiclib from linkflags to ldflags
* Mac: Allow libs with compat version number suffix
  (not needed anymore, but may help in the future)
2020-01-25 04:07:42 +01:00
Robin Gareus
06b2eb1c27
Explicitly use OSX
Previously this was inherited via PBD.

On MacOS/X,  this adds
  "-undefined dynamic_lookup -flat_namespace"
and various "-framework .." options to linkflags

Without this flag, .dylibs fail to link usually because
of missing `-lintl` (Undefined symbols: "_libintl_dgettext")

On other systems this is a NO-OP:
CFLAGS_OSX, CXXFLAGS_OSX and LINKFLAGS_OSX
are only set on the darwin platform.
2020-01-25 04:07:41 +01:00
Robin Gareus
1d2cfd6f2d
Change waf/darwin default compiler to prefer gcc (if available) 2020-01-25 04:07:41 +01:00
Robin Gareus
19603d075f
Update waf to v2.0.19 2020-01-25 04:07:41 +01:00
David Runge
2e9ac80e99
Towards waf python 2+3 support 2020-01-25 04:07:37 +01:00
Robin Gareus
dfe712c564
Consistent GTK Look/Feel
gtk/gtksettings.c uses different default themes for
Window and Linux/Mac which results in subtle layout differences,
In particular TreeView headers and Tabs.

"MS-Windows" style is hardcoded in gtk msw_rc_style.c
and ardour's clearlooks.rc starts with different defaults.

This forces the default style to a non-existent one.
(might also help with https://tracker.ardour.org/view.php?id=5605)
2020-01-25 03:56:10 +01:00
Robin Gareus
0db559c0ac
Special case checkbox border color in Treeview 2020-01-25 03:40:04 +01:00
Robin Gareus
7c2ec72495
Revert "add styling specifics for TreeViews so that checkboxes are properly visible"
This reverts commit 82cf46d781.
2020-01-25 03:40:04 +01:00
Paul Davis
70588baeac handle engine failure between audio/MIDI setup and end of plugin scan 2020-01-24 15:56:37 -07:00
Paul Davis
13ecf633a3 after handling the first click on the audio/MIDI setup, mark it insensitive to prevent subsequent (dbl) clicks changing engine state 2020-01-24 15:56:37 -07:00
Paul Davis
a416829379 make audio/MIDI setup dialog use ArdourDialog::_sensitive 2020-01-24 15:56:37 -07:00
Paul Davis
f2ee30c0ec add ArdourDialog::set_ui_sensitive() to provide a way to mark an arbitrary ArdourDialog as "should not respond to user input" 2020-01-24 15:56:37 -07:00
Ben Loftis
9ee8b3f176 theme-ing: fix tooltip and knob surround colors on caineville,clear-gray themes 2020-01-24 15:56:55 -06:00
Ben Loftis
11d4d3455f theme-ing: replace missing feedback button color 2020-01-24 15:42:15 -06:00
Ben Loftis
639d9cc0bc theme-ing: fix generic-ui knob color, and remove knob surround gradients 2020-01-24 15:35:10 -06:00
Robin Gareus
f9e7f10695
Downgrade "using all channels" warning to info message 2020-01-24 21:16:40 +01:00
Robin Gareus
cbbbf76934
Fix Eno discography 2020-01-24 21:15:57 +01:00
Robin Gareus
df8c0d949e
Engine: debug-print alignment 2020-01-24 19:15:21 +01:00
Paul Davis
72e385af46 tentative fix for stop-transport not working after a locate at loop end 2020-01-23 23:41:39 -07:00
Robin Gareus
201d7cb2fd
Backport Mixbus change (offer gap as preference)
Mixbus defaults this to on (4px), Ardour to off (0px)
2020-01-24 01:42:05 +01:00
Ben Loftis
6f4f28928d Export Dialog: catch major changes, and mark the session dirty. Otherwise changes can be silently lost. 2020-01-23 17:16:41 -06:00
Robin Gareus
1c97cdb33d
Remove debug print (amends 978de9) 2020-01-23 22:42:29 +01:00
Paul Davis
71ccca52a9 add more debug output 2020-01-23 14:25:38 -07:00
Paul Davis
7da3305a04 use Session::locate_initiated(), appropriately 2020-01-23 14:25:38 -07:00
Paul Davis
5949fec987 add Session::locate_initiated()
This differs from ::locate_pending() by covering either phase of a locate - declick or refill
2020-01-23 14:25:38 -07:00
Paul Davis
587631f1d9 add TransportFSM::declicking_for_locate() 2020-01-23 14:25:38 -07:00
Paul Davis
56d00ef32a extend DEBUG_TRACE output 2020-01-23 14:25:38 -07:00
Paul Davis
ef12a4f5a9 NOOP: whitespace/indent fixes from emacs 2020-01-23 14:25:38 -07:00
Paul Davis
215d5d556f handle possible failure of a region rename 2020-01-23 14:25:38 -07:00
Paul Davis
87a5990e54 MIDI-region specific naming logic
plus slight cleanup of Region::set_name().

Note that issues with ARDOUR::legalize_for_path() not excluding colons still remain
2020-01-23 14:25:38 -07:00
Paul Davis
24f8a90278 use a better "legalize for path" method when exporting
The goal is to be compatible with filesystems everywhere
2020-01-23 14:25:38 -07:00
Paul Davis
c3f7940f25 NOOP: remove blank line 2020-01-23 14:25:38 -07:00
Paul Davis
31db7e91d8 remove no-longer used PostTransportWork bits and renumber the rest 2020-01-23 14:25:38 -07:00
Paul Davis
9b7db16a0b after the butler has finished work, by definition there is nothing left to do 2020-01-23 14:25:38 -07:00
Paul Davis
3f4021c4ea variable not used without debug mode 2020-01-23 14:25:38 -07:00
Ben Loftis
c8faadee4b Fit Selection (Vertical): if we cant fit all selected tracks, report that to the user. But still fit what we can. 2020-01-23 14:11:18 -06:00
Nikolaus Gullotta
85f27b28be
Only select all routes in a given group if the group is active 2020-01-23 12:58:59 -06:00
Ben Loftis
142ce953da Split Select-All-Tracks into 2 appropriately named actions
Existing function select-all-tracks is now renamed select-all-visible-lanes, to match its behavior.

New function select-all-tracks will select all Tracks, as the name implies.

To maintain consistency for those users who actively used select-all-tracks,
  the default shortcut ctrl+t  will continue calling select-all-visible-lanes.
2020-01-22 10:33:15 -06:00
Paul Davis
61e7f3176b do not clear any PostTransportWork flags in butler thread
doing this was causing the TFSM to get stuck in "WaitingForButler"
2020-01-21 21:50:35 -07:00
Paul Davis
a765e52b47 add a heuristic to avoid refilling playback buffers at transport stop
If we're within 1/6th of the size of the reserved buffer of the target sample, no need to refill
2020-01-21 21:50:35 -07:00
Paul Davis
981ee0060a remove debug output 2020-01-21 21:50:35 -07:00
Robin Gareus
95f3977f07
Do not install static libs
There is no need to deploy .a with ardour installations.
2020-01-22 02:00:25 +01:00
Robin Gareus
81c3bf175a
Keep track/bus number visible when disabling track 2020-01-22 01:45:18 +01:00
Robin Gareus
6914671736
Propagate ::route_active_changed() methods 2020-01-22 01:35:18 +01:00
Robin Gareus
6ce1c326a9
Display LV2 plugin-name with errors/warnings 2020-01-21 22:32:59 +01:00
Nikolaus Gullotta
db03860924 Fix sessions not building according to template
AFAICT, this was broken by either 5beeca2 or 242774e
2020-01-21 09:05:22 -06:00
Ben Loftis
d8d737adc4 Make it more obvious when a track is Inactive
Inactive tracks will now hide all controls and display only the track name
 in parenthesis.

Color-change is not sufficient by itself to distinguish an inactive track
 from an active one  (consider the case of just 2 tracks...)
2020-01-20 16:03:22 -06:00
Ben Loftis
7966d02534 Change tape-machine-mode to auto-input-does-talkback (gtk part) 2020-01-20 13:34:05 -06:00
Ben Loftis
9d2a209f60 Change tape-machine-mode to auto-input-does-talkback (libardour part)
In prior versions: if Auto Input was enabled, the default behavior was
to monitor the Input of all tracks when stopped; even if they aren't armed.

Tape Machine Mode changed the behavior of Auto Input so that it doesn't
always monitor the track inputs when transport is stopped.

After some discussion on IRC, we determined that Tape mode is likely
more practical for a DAW user, and therefore a better default.

Rather than default an ambiguously-named preference "on", we decided
to invert the behavior, rename it sensibly(?), and default it OFF.
2020-01-20 12:19:15 -06:00