13
0
Commit Graph

10886 Commits

Author SHA1 Message Date
3ec7a620a3 use fixed fall-off time for k-meter 2013-08-08 15:24:15 -04:00
1da655c2eb Fix special handling of 'zoom vertical' scroll wheel modifier key.
gtkmm2ext/keyboard.cc has a special case to emit a signal on the key-up of
the modifier key used to adjust track heights in conjunction with the
scroll wheel, so that the same track continues to be resized even when
it's shrunk to no longer be under the mouse cursor. However, this code
assumed that the modifier key for this was <Shift>.

Fix it to use the event->state bit corresponding to
ScrollZoomVerticalModifier instead, and rename the relevant functions to
clarify that it's the 'zoom vertical' modifier key they're dealing with.

Partially fixes #5610.
2013-08-08 15:24:15 -04:00
c222acecaa fix #5609 (import with 1 track per channel mis-associates tracks + channels)
when using ImportDistinctChannels, correctly name regions so that playlists for each channel/track
are also named differently, and thus reloaded properly when the session is reloaded.
2013-08-08 15:24:15 -04:00
59b18de1d3 meterbridge metrics update:
* display metrics for every used meter-type
* show metrics between meters with differnet types
* update text and label alignment for meterbridge
* fix crash when deleting metrics-strip (zero route)
* clean up metric pattern code (use float for dBFS)
2013-08-08 15:24:15 -04:00
d31c0f759c restore session backwards compatibility to 3.3 2013-08-08 15:24:15 -04:00
0738d74637 minor tweaks to meter-names and legend 2013-08-08 15:24:15 -04:00
553d393d30 implement new meter types 2013-08-08 15:24:15 -04:00
bd2ddc09ab Revert "Revert new meter types (postponed until after 3.3 release)"
This reverts commit d80f672e84.
2013-08-08 15:23:11 -04:00
fd5c8e11e1 re-nice rendering of channel-splitting icon 2013-08-08 15:23:11 -04:00
5ccd13ea78 Wrap calls to add_shortcut_folder() in try { ... } block.
Gtk::FileChooserButton::add_shortcut_folder() throws a Glib::Error
exception if the folder being added already has a shortcut, causing the
'New session' dialogue to appear empty when choosing 'New...' from the
Session menu. This happens if Ardour's default session folder is
set to a location that has a standard shortcut in the Gtk file chooser,
e.g. the user's home directory, desktop, &c.

Catch the exception in ArdourStartup::setup_new_session_page(), so that the
'New session' dialogue appears as expected, and likewise in
ARDOUR_UI::open_session() to avoid a similar problem there.

Fixes #5591.
2013-08-08 15:23:11 -04:00
ba0b825d02 update processor-name (short|long) when mixer-strip width changes 2013-08-08 15:23:11 -04:00
844a958d29 adjust meter-width when configuration changes
fixes http://tracker.ardour.org/view.php?id=5592
2013-08-08 15:23:11 -04:00
67c5652edb reset meter when meter-point changes 2013-08-08 15:23:10 -04:00
271981d3f7 mixer metric background color fix (MIDI & inactive)
fixes http://tracker.ardour.org/view.php?id=5594
2013-08-08 15:23:10 -04:00
a943cfd662 revert to right-side mixer metric-labels 2013-08-08 15:23:10 -04:00
416b8d424c don't hide ticks in narrow mode 2013-08-08 15:23:10 -04:00
699f2717eb meter metrics: ignore global font-scaling 2013-08-08 15:23:10 -04:00
dbe31bcf22 add a stripe-pattern to the meters 2013-08-08 15:23:10 -04:00
60b429806f use ArdourMono font for metric patterns 2013-08-08 15:23:10 -04:00
00803110f8 move mixer-metric pattern to the left 2013-08-08 15:23:10 -04:00
94e40537f7 fix typo 2013-08-08 15:23:10 -04:00
8fd9a72085 possible fix for 5591 (show elements after re-adding them) 2013-08-08 15:23:10 -04:00
90e282c450 work around sparse motion notification events when tooltips are disabled
fixes http://tracker.ardour.org/view.php?id=5174
2013-08-08 15:23:10 -04:00
56020b8f8c bump actual publically visible version (oops) 2013-08-08 15:23:10 -04:00
ec99830110 meter-state 17 and 49 + code-comment 2013-08-08 15:23:10 -04:00
a4edd1ed7a possible fix for http://tracker.ardour.org/view.php?id=5586 2013-08-08 15:23:10 -04:00
b0a239d9f8 rework metering states 2, 6, 18 and 22 2013-08-08 15:23:10 -04:00
3ad975d9ca fix re-drawing of splitting icon 2013-08-08 15:23:10 -04:00
7157fc1bdd revert functionality of f842e8af2 (meter display in DISK mode) 2013-08-08 15:23:10 -04:00
b5da0c852f Revert "C++11 Building - Use new style struct field inititializing" (this code
change breaks gcc on several platforms).

This reverts commit bf153e58a5.
2013-08-08 15:23:10 -04:00
33ecb22e87 yet another meter+monitoring detail:
"explicit Monitor DISK" + "Transport Stop" + "not track rec-en"
 -> meter is always zero
2013-08-08 15:23:10 -04:00
a3d5ba3397 fix metering states 34, 38, 49, 50, 53 and 54
for state descriptions see
http://www.oofus.co.uk/ardour/Ardour3MonitorModesV3.pdf
2013-08-08 15:23:10 -04:00
15aa2a224e zero meters for inactive tracks 2013-08-08 15:23:10 -04:00
fdab1c9639 move ff* structs & typedef into dedicated namespace
(further avoid conflicts with plugins)
2013-08-08 15:23:10 -04:00
d95c2aaaa7 increase spacing between meter ticks and labels 2013-08-08 15:23:10 -04:00
7b3968bf5f RMS meter - reset after calculating new data 2013-08-08 15:23:10 -04:00
ae544dc6c7 fix "monitor mode 11"
see http://www.oofus.co.uk/ardour/Ardour3MonitorModesV2.pdf
the overall logic can probably be simplified somewhat
track-rec-enable on -> always monitor input
2013-08-08 15:23:10 -04:00
a29dcc5a47 fix input metering:
if meter==input, meter depends on In/Disk
see also 29108187ed
2013-08-08 15:23:10 -04:00
Michael R. Fisher
d872a0a31b Add c++11 enablement options in wscript
- adds "--cxx11" toggle for ./waf configure
- The switch adds appropriate compiler flags and tests the compiler
  for usability of c++11
- This 'should' be compatible for linux, osx, and windows systems
  that have gcc and/or clang with support c++11
2013-08-08 15:23:10 -04:00
Michael R. Fisher
ea08feec48 Temporary OSX/Clang/C++11 workaround
- Adds a directive that includes <vector> upon specific conditions
- WIP
2013-08-08 15:23:10 -04:00
Michael R. Fisher
636a8f0eda Dereference pointers in ctors where appropriate. (c++11 wants this) 2013-08-08 15:23:09 -04:00
Michael R. Fisher
0c23314e3f C++11 Building - Use new style struct field inititializing
- clang with std=c++11 enabled was failing here
2013-08-08 15:23:09 -04:00
Michael R. Fisher
5a97ae6bd6 Include evoral/Note.hpp before pbd/compose.h
- This workaround prevents a clang compiler error about template
  visibility
2013-08-08 15:23:09 -04:00
Michael R. Fisher
8f33b7101f Allow compiling with c++11 enabled 2013-08-08 15:23:09 -04:00
Michael R. Fisher
b102e1425c C++11 Building - Add space between macros and quoted strings 2013-08-08 15:23:09 -04:00
Michael R. Fisher
270edc18ad Typo fixed: call class method instead of trying to use as a variable 2013-08-08 15:23:09 -04:00
Michael R. Fisher
e38cb7de36 OSX GUI - Prevent compiler errors when -std=c++11 is switched on 2013-08-08 15:23:09 -04:00
6602c6659e finally get to the bottom of where NO_PLUGIN_STATE needs to be in order to be useful 2013-08-08 15:23:09 -04:00
dc0ee761d2 more plugin state debugging 2013-08-08 15:23:09 -04:00
25cbd8fb40 tweaks to NO_PLUGIN_STATE logic 2013-08-08 15:23:09 -04:00