ardour.git
7 years agoDo not constrain vertical size without need
Julien "_FrnchFrgg_" RIVAUD [Sat, 20 Aug 2016 16:11:55 +0000 (18:11 +0200)]
Do not constrain vertical size without need

A value of -1 means "let the widget use its natural size in that
direction".

7 years agoUse ArdourButton::Square mode instead of ad-hoc sizing
Julien "_FrnchFrgg_" RIVAUD [Sat, 20 Aug 2016 16:11:13 +0000 (18:11 +0200)]
Use ArdourButton::Square mode instead of ad-hoc sizing

7 years agoUse set_sizing_text in generic plugin ui
Julien "_FrnchFrgg_" RIVAUD [Sat, 20 Aug 2016 14:05:18 +0000 (16:05 +0200)]
Use set_sizing_text in generic plugin ui

7 years agoInvalidate char_pixel_* on possible font change
Julien "_FrnchFrgg_" RIVAUD [Sat, 20 Aug 2016 14:01:15 +0000 (16:01 +0200)]
Invalidate char_pixel_* on possible font change

So that the padding and other elements always correctly depend on the
font instead of the default GTK font (which might have a wildly
different size from the fixed size fonts of Ardour's custom theme).

7 years agoArdourButton: add text for measuring decoupled from display text
Julien "_FrnchFrgg_" RIVAUD [Sat, 20 Aug 2016 13:46:41 +0000 (15:46 +0200)]
ArdourButton: add text for measuring decoupled from display text

In the normal course of events, an ArdourButton requests just enough
space to display its elements. In particular the size will change when
the text does. Yet, in several cases it is better to avoid layout jittering; until now ArdourButton users manually set a static size on the button at creation time.

Introduce new API to set the text used for measuring the button size
separately from the text that will be displayed. In most cases this
enables the callers to replace

    set_size_request_to_display_given_text(button, text, w, h);

where w and h were hard-coded to cater for other button elements, by

    button.set_sizing_text(text);

which will make ArdourButton correctly compute the size request in all
cases with its real elements and padding. ArdourButton users can call

    button.set_sizing_text("");

to get the size request depend on displayed text (which is the default).

7 years agoFix colors of disabled spin buttons (and maybe others)
Julien "_FrnchFrgg_" RIVAUD [Fri, 19 Aug 2016 22:25:22 +0000 (00:25 +0200)]
Fix colors of disabled spin buttons (and maybe others)

The insensitive state should not get a base color that's the same as the
enabled one, or the difference is not visible enough (only the text
color changes). In fact, since the goal of the entry modifications is to
aid visibility during user input, there is no reason to override the
insensitive colors.

Just inherit the insensitive colors of the global style.

Also fix a comment that was attached to the wrong declaration.

7 years agoOSC: Add setup to GUI
Len Ovens [Fri, 19 Aug 2016 21:22:55 +0000 (14:22 -0700)]
OSC: Add setup to GUI

7 years agofix optimized build compilation
Robin Gareus [Fri, 19 Aug 2016 20:38:10 +0000 (22:38 +0200)]
fix optimized build compilation

7 years agoAmend last commit - remove some code.
nick_m [Fri, 19 Aug 2016 19:41:12 +0000 (05:41 +1000)]
Amend last commit - remove some code.

7 years agoSwap tempo/meter colours when hovering. Use entered marker for these as well.
nick_m [Fri, 19 Aug 2016 18:36:52 +0000 (04:36 +1000)]
Swap tempo/meter colours when hovering. Use entered marker for these as well.

- Note : entered_marker modifies the 'p' press, locating to the
  currently hovered-over marker.

7 years agoAdd a colour for music-locked meters.
nick_m [Fri, 19 Aug 2016 18:33:51 +0000 (04:33 +1000)]
Add a colour for music-locked meters.

7 years agofix missing API for no-app-nap when building on OS X < 10.9
Paul Davis [Fri, 19 Aug 2016 17:19:23 +0000 (13:19 -0400)]
fix missing API for no-app-nap when building on OS X < 10.9

7 years agoRevert last commit (269a08a2b1).
nick_m [Fri, 19 Aug 2016 15:58:56 +0000 (01:58 +1000)]
Revert last commit (269a08a2b1).

7 years agoAllow both types of constrained drag (again).
nick_m [Fri, 19 Aug 2016 15:46:04 +0000 (01:46 +1000)]
Allow both types of constrained drag (again).

- Holding the constraint modifier at the time of grab gives constrained x.

- Holding the constraint modifier after the grab but before the first motion
  constrains to the direction of first movement.

7 years agoExtending an empty selection selects the clicked region.
nick_m [Fri, 19 Aug 2016 15:34:53 +0000 (01:34 +1000)]
Extending an empty selection selects the clicked region.

- fixes a crash where the first operation on loading a session
  is a constrained drag

7 years agoand another typo gone in in 9702020
Robin Gareus [Fri, 19 Aug 2016 15:21:51 +0000 (17:21 +0200)]
and another typo gone in in 9702020

7 years agoadd code to disable AppNap on OS X/MacOS
Paul Davis [Fri, 19 Aug 2016 15:12:05 +0000 (11:12 -0400)]
add code to disable AppNap on OS X/MacOS

Should build on versions before 10.9 and run everywhere due to respondsToSelector check.

7 years agofix typo in 9702020
Robin Gareus [Fri, 19 Aug 2016 14:23:32 +0000 (16:23 +0200)]
fix typo in 9702020

7 years agoRemove unused lines in clearlooks.rc.in
Julien "_FrnchFrgg_" RIVAUD [Fri, 19 Aug 2016 13:49:24 +0000 (15:49 +0200)]
Remove unused lines in clearlooks.rc.in

7 years agoad rest of Stripable API to lua
Paul Davis [Fri, 19 Aug 2016 13:40:07 +0000 (09:40 -0400)]
ad rest of Stripable API to lua

7 years agoMove 'round()' / 'trunc()' etc so that they won't conflict with any versions already...
John Emmas [Fri, 19 Aug 2016 11:56:34 +0000 (12:56 +0100)]
Move 'round()' / 'trunc()' etc so that they won't conflict with any versions already available in MSVC

7 years agoFor MSVC, 'using namespace whatever' doesn't help us to differentiate between ambiguo...
John Emmas [Fri, 19 Aug 2016 09:21:26 +0000 (10:21 +0100)]
For MSVC, 'using namespace whatever' doesn't help us to differentiate between ambiguous type names

so... given that 'Rectangle' is a type name that's commonly found in several different namespaces, we'll need to specify explicitly which one we want.

7 years ago'roundf()' wasn't introduced in MSVC until VS2013 - so for the time being, let's...
John Emmas [Fri, 19 Aug 2016 09:19:32 +0000 (10:19 +0100)]
'roundf()' wasn't introduced in MSVC until VS2013 - so for the time being, let's emulate it using 'floorf()'

7 years agoAvoid CamelCase in color names
Julien "_FrnchFrgg_" RIVAUD [Fri, 19 Aug 2016 12:41:36 +0000 (14:41 +0200)]
Avoid CamelCase in color names

7 years agohandle edge-case where jack-meta-data may be NULL, but the call succeeds
Robin Gareus [Fri, 19 Aug 2016 12:38:22 +0000 (14:38 +0200)]
handle edge-case where jack-meta-data may be NULL, but the call succeeds

this fixes #6968

7 years agofix failure to remove keyvalue from Keyboard::state on key release
Paul Davis [Fri, 19 Aug 2016 12:32:28 +0000 (08:32 -0400)]
fix failure to remove keyvalue from Keyboard::state on key release

7 years agoMIDI polyphonic pressure, part 2
Paul Davis [Thu, 18 Aug 2016 16:35:15 +0000 (12:35 -0400)]
MIDI polyphonic pressure, part 2

7 years agoattempt to handle poly-pressure (polyphonic aftertouch) similarly to other MIDI messages
Paul Davis [Thu, 18 Aug 2016 13:44:20 +0000 (09:44 -0400)]
attempt to handle poly-pressure (polyphonic aftertouch) similarly to other MIDI messages

7 years agoOSC:: needs the .h file too...
Len Ovens [Fri, 19 Aug 2016 02:16:53 +0000 (19:16 -0700)]
OSC:: needs the .h file too...

7 years agoOSC: make remote port setting possible, add default surface variables
Len Ovens [Fri, 19 Aug 2016 02:15:57 +0000 (19:15 -0700)]
OSC: make remote port setting possible, add default surface variables

7 years agoinitialize uninitialized variable
Robin Gareus [Fri, 19 Aug 2016 01:31:20 +0000 (03:31 +0200)]
initialize uninitialized variable

7 years agoUpdate automated Plugin Controlls when seeking and not rolling
Robin Gareus [Fri, 19 Aug 2016 01:31:08 +0000 (03:31 +0200)]
Update automated Plugin Controlls when seeking and not rolling

7 years agoMake automation state buttons active when not on Manual
Julien "_FrnchFrgg_" RIVAUD [Fri, 19 Aug 2016 00:48:39 +0000 (02:48 +0200)]
Make automation state buttons active when not on Manual

With the same color code as the fader automation button on mixer strips.
This is especially usefull when use_knob is true (e.g. for a-EQ) because
the automation only shows one letter and a "Write" state can thus be
easy to miss.

7 years agoRemove unused space in gain_meter's automation menu
Julien "_FrnchFrgg_" RIVAUD [Thu, 18 Aug 2016 22:12:48 +0000 (00:12 +0200)]
Remove unused space in gain_meter's automation menu

7 years agofix Aux-Send Panner Linking
Robin Gareus [Thu, 18 Aug 2016 23:14:21 +0000 (01:14 +0200)]
fix Aux-Send Panner Linking

7 years agofix SNAFU in track-properties script
Robin Gareus [Thu, 18 Aug 2016 17:49:16 +0000 (19:49 +0200)]
fix SNAFU in track-properties script

7 years agoAdd missing return
Julien "_FrnchFrgg_" RIVAUD [Thu, 18 Aug 2016 14:32:38 +0000 (16:32 +0200)]
Add missing return

7 years agoMake ArdourButton detect when a grab should stop being pressed
Julien "_FrnchFrgg_" RIVAUD [Thu, 18 Aug 2016 14:09:50 +0000 (16:09 +0200)]
Make ArdourButton detect when a grab should stop being pressed

If for whatever reason a grab is taken (e.g. a menu popping up) while
somebody is pressing a mouse button on an ArdourButton, then the
ArdourButton will not get the mouse button release event and will look
stuck in pressed position.

The leave notify event is fired if the mouse is still on the
ArdourButton while the grab is taken, but not if the user was dragging
the mouse outside of the button.

The only reliable way is to listen for the grab_broken_event signal.
Do so.

7 years agodon't show empty time axis view context menus
Paul Davis [Thu, 18 Aug 2016 12:16:22 +0000 (08:16 -0400)]
don't show empty time axis view context menus

7 years agoMake buttons in track headers behave more like Gtk::MenuToolButton
Julien "_FrnchFrgg_" RIVAUD [Thu, 18 Aug 2016 08:42:43 +0000 (10:42 +0200)]
Make buttons in track headers behave more like Gtk::MenuToolButton

Make their popup menus show attached, and on mouse down, but keep the
context menu behavior on middle- and right-click for the group button
that reacted to those (probably an oversight but some users might have
got the habit of right-clicking).

This also makes the group deletion on Ctrl+click happen on mouse down
instead of mouse up which is not a great difference and avoids
complicating the code.

7 years agoMake name_button behave more like a Gtk::MenuToolButton
Julien "_FrnchFrgg_" RIVAUD [Thu, 18 Aug 2016 08:42:43 +0000 (10:42 +0200)]
Make name_button behave more like a Gtk::MenuToolButton

Make it popup its menu in attached mode, and on mouse down, but keep the
context menu behavior on right-click.

7 years agoMake in/out buttons behave more like Gtk::MenuToolButton
Julien "_FrnchFrgg_" RIVAUD [Thu, 18 Aug 2016 08:42:43 +0000 (10:42 +0200)]
Make in/out buttons behave more like Gtk::MenuToolButton

Make them popup their menu as if attached rather than as a context menu.

7 years agoremoved commented code, now that the comment is actually correct
Paul Davis [Thu, 18 Aug 2016 03:13:49 +0000 (23:13 -0400)]
removed commented code, now that the comment is actually correct

7 years agofix hard/impossible trimming situation
Paul Davis [Thu, 18 Aug 2016 03:09:33 +0000 (23:09 -0400)]
fix hard/impossible trimming situation

7 years agoGUI does an even stronger check on no undo/redo while recording
Paul Davis [Wed, 17 Aug 2016 23:22:15 +0000 (19:22 -0400)]
GUI does an even stronger check on no undo/redo while recording

7 years agodo not allow undo/redo while actively recording
Paul Davis [Wed, 17 Aug 2016 23:21:45 +0000 (19:21 -0400)]
do not allow undo/redo while actively recording

7 years agoUse a real dropdown for AutoState in automation lanes
Julien "_FrnchFrgg_" RIVAUD [Wed, 17 Aug 2016 21:37:17 +0000 (23:37 +0200)]
Use a real dropdown for AutoState in automation lanes

7 years agoAlign the currently selected automation state on dropdown
Julien "_FrnchFrgg_" RIVAUD [Wed, 17 Aug 2016 19:14:47 +0000 (21:14 +0200)]
Align the currently selected automation state on dropdown

By passing the current text of the automation button we can make the
dropdown menu align with the current mode. This will only work for
full-size automation buttons, not when use-knob is true, but in that
case it feels wrong to popup on top of the button anyway.

Also make the menu show on mouse down like a real dropdown.

7 years agoReport quarter note rather than beat position to AU plugins.
nick_m [Wed, 17 Aug 2016 19:42:30 +0000 (05:42 +1000)]
Report quarter note rather than beat position to AU plugins.

7 years agoUse quarter pulses (quarter notes) for VST's ppqBar, ppqPos and cycleStart/EndPos.
nick_m [Wed, 17 Aug 2016 19:39:44 +0000 (05:39 +1000)]
Use quarter pulses (quarter notes) for VST's ppqBar, ppqPos and cycleStart/EndPos.

7 years agoAdd methods for plugin APIs to obtsin quarter pulses ('beats' for AU) from the tempo...
nick_m [Wed, 17 Aug 2016 19:36:24 +0000 (05:36 +1000)]
Add methods for plugin APIs to obtsin quarter pulses ('beats' for AU) from the tempo map.

7 years agoadd some track properties example script
Robin Gareus [Wed, 17 Aug 2016 18:30:20 +0000 (20:30 +0200)]
add some track properties example script

7 years agoOSC: Add value feedback to strip fader and trim
Len Ovens [Wed, 17 Aug 2016 15:24:57 +0000 (08:24 -0700)]
OSC: Add value feedback to strip fader and trim

7 years agofix ramped BPM reporting to AU and VST plugins
Robin Gareus [Wed, 17 Aug 2016 15:17:00 +0000 (17:17 +0200)]
fix ramped BPM reporting to AU and VST plugins

7 years agoupcoming codenames
Robin Gareus [Wed, 17 Aug 2016 15:03:06 +0000 (17:03 +0200)]
upcoming codenames

7 years agofix LV2 BPM report (use ramped tempo)
Robin Gareus [Wed, 17 Aug 2016 15:02:56 +0000 (17:02 +0200)]
fix LV2 BPM report (use ramped tempo)

7 years agoa-Reverb: Fixed bug with the reverb all pass filters causing bad sound
Damien Zammit [Wed, 17 Aug 2016 14:39:54 +0000 (00:39 +1000)]
a-Reverb: Fixed bug with the reverb all pass filters causing bad sound

7 years agoMake MixerStrip's automation menu behave like a dropdown
Julien "_FrnchFrgg_" RIVAUD [Wed, 17 Aug 2016 12:30:28 +0000 (14:30 +0200)]
Make MixerStrip's automation menu behave like a dropdown

7 years agoThese are not the scripts you're looking for
Julien "_FrnchFrgg_" RIVAUD [Wed, 17 Aug 2016 00:04:27 +0000 (02:04 +0200)]
These are not the scripts you're looking for

7 years agoMake the group button in MixerStrip behave like a dropdown
Julien "_FrnchFrgg_" RIVAUD [Tue, 16 Aug 2016 01:05:43 +0000 (03:05 +0200)]
Make the group button in MixerStrip behave like a dropdown

Since it mostly is a multiple-choice menu.

7 years agoFix anchored popups with separators in them
Julien "_FrnchFrgg_" RIVAUD [Tue, 16 Aug 2016 23:38:19 +0000 (01:38 +0200)]
Fix anchored popups with separators in them

The code computing the position of the popup menu used to compare the
given string to each MenuItem::get_label() result, but that method
actually replaces the content (child) of the MenuItem if that child is
not already a Gtk::Label. In particular, this breaks menu separators.

Avoid the issue by checking by hand if the only child of the MenuItem is
a Label, and directly compare the label text.

7 years agoReplace positioning function with popup helper
Julien "_FrnchFrgg_" RIVAUD [Mon, 15 Aug 2016 23:57:58 +0000 (01:57 +0200)]
Replace positioning function with popup helper

Because all uses of the function positioning menus anchored to a widget
were as callback argument to Gtk::Menu::popup() where the caller needed
to correctly bind arguments, this led to repeated and a bit obscure code.

Wrap the logic into an helper function that takes care of all that, and
update the callers.

7 years agofix issue with WM close/delete ("X") button not working for window proxied dialogs...
Paul Davis [Tue, 16 Aug 2016 17:56:53 +0000 (13:56 -0400)]
fix issue with WM close/delete ("X") button not working for window proxied dialogs (e.g. add route dialog)

7 years agoAlso send lv2:timePosition whenever BBT or Tempo changes
Robin Gareus [Tue, 16 Aug 2016 11:11:49 +0000 (13:11 +0200)]
Also send lv2:timePosition whenever BBT or Tempo changes

This mostly fixes an issue with notifying plugins about tempo-ramps
and BPM changes.

remaining to be fixed (in tempo.h):
```
_session.tempo_map().metric_at(frame_position).tempo().beats_per_minute()
```
currently returns the most recent *fixed* tempo at or before
`frame_position`. All other Plugin types are affected by this as well.

7 years agofix copy/paste typo in bc0bb6cae
Robin Gareus [Mon, 15 Aug 2016 23:01:36 +0000 (01:01 +0200)]
fix copy/paste typo in bc0bb6cae

7 years agoturn comments into doxygen doc
Robin Gareus [Mon, 15 Aug 2016 22:22:49 +0000 (00:22 +0200)]
turn comments into doxygen doc

7 years agoextend lua-doc to show properties
Robin Gareus [Mon, 15 Aug 2016 22:21:59 +0000 (00:21 +0200)]
extend lua-doc to show properties

7 years agoadd some missing enum bindings (for config variables)
Robin Gareus [Mon, 15 Aug 2016 22:20:36 +0000 (00:20 +0200)]
add some missing enum bindings (for config variables)

7 years agoallow for whitespace in XDG_DESKTOP_DIR
Robin Gareus [Mon, 15 Aug 2016 20:18:23 +0000 (22:18 +0200)]
allow for whitespace in XDG_DESKTOP_DIR

This allows for example "Área de Trabalho"

7 years agoexpose SessionConfiguration as lua bindings
Robin Gareus [Mon, 15 Aug 2016 20:16:08 +0000 (22:16 +0200)]
expose SessionConfiguration as lua bindings

7 years agoRe-enable luabridge addProperty()
Robin Gareus [Mon, 15 Aug 2016 20:13:29 +0000 (22:13 +0200)]
Re-enable luabridge addProperty()

In preparation to expose ARDOUR::SessionConfiguration.
Also change the return-type to bool to match Ardour's set/get API

7 years agoallow constrained-drag of MIDI notes to work
Paul Davis [Mon, 15 Aug 2016 15:20:17 +0000 (11:20 -0400)]
allow constrained-drag of MIDI notes to work

7 years agoAdd missing line feed in midi_region_view.cc
nick_m [Mon, 15 Aug 2016 14:56:08 +0000 (00:56 +1000)]
Add missing line feed in midi_region_view.cc

7 years agoMidi region ghost note uses beat-based note time calculation.
nick_m [Mon, 15 Aug 2016 14:52:18 +0000 (00:52 +1000)]
Midi region ghost note uses beat-based note time calculation.

7 years agoFix frame-based beat calculation in MidiRegionView::snap_frame_to_grid_underneath()
nick_m [Mon, 15 Aug 2016 14:48:54 +0000 (00:48 +1000)]
Fix frame-based beat calculation in MidiRegionView::snap_frame_to_grid_underneath()

- this caused the ghost note under the pointer to behave badly when
  hovering near an audio-locked meter.

7 years agoEnforce rounding to beat as >= 0.0
nick_m [Mon, 15 Aug 2016 14:43:08 +0000 (00:43 +1000)]
Enforce rounding to beat as >= 0.0

7 years agoExpose Stripable Color & Ordering API to Lua
Robin Gareus [Mon, 15 Aug 2016 14:37:44 +0000 (16:37 +0200)]
Expose Stripable Color & Ordering API to Lua

We can't easily use C++ references with Lua closures, so
new API (pointer to PresentationInfo) was added.

7 years agoedit text regarding the "required" nature of JACK during installation process
Paul Davis [Sun, 14 Aug 2016 13:53:07 +0000 (09:53 -0400)]
edit text regarding the "required" nature of JACK during installation process

7 years agochange PBD::Transmitter code to use PBD::Signal<> not sigc::signal<>, since the latte...
Paul Davis [Sun, 14 Aug 2016 12:33:23 +0000 (08:33 -0400)]
change PBD::Transmitter code to use PBD::Signal<> not sigc::signal<>, since the latter is not thread safe

7 years agoDon't call any Transmitter from realtime context
Robin Gareus [Sat, 13 Aug 2016 22:47:03 +0000 (00:47 +0200)]
Don't call any Transmitter from realtime context

This fixes a crash when TempoMap::bbt_at_frame_rt() is called
for a latent effect at position 00:00:00:00 and frame is < 0.

7 years agoRemove assumption that the meter starts at frame 0 in Editor::apply_midi_note_edit_op...
nick_m [Sat, 13 Aug 2016 18:49:37 +0000 (04:49 +1000)]
Remove assumption that the meter starts at frame 0 in Editor::apply_midi_note_edit_op_to_region().

7 years agoSync User Interactoin tooltips with new default settings.
nick_m [Sat, 13 Aug 2016 17:03:16 +0000 (03:03 +1000)]
Sync User Interactoin tooltips with new default settings.

7 years agoChoose some non-overlapping defaults for User Interaction modifier keys.
nick_m [Sat, 13 Aug 2016 16:41:20 +0000 (02:41 +1000)]
Choose some non-overlapping defaults for User Interaction modifier keys.

7 years agoAdd a new modifier combination that allows overlap with snap-related defaults.
nick_m [Sat, 13 Aug 2016 16:15:03 +0000 (02:15 +1000)]
Add a new modifier combination that allows overlap with snap-related defaults.

- this should be enough to handle all of the current possibilities.

7 years agoUser Interaction pref shows the push points modifier in the 'beginning a drag' row.
nick_m [Sat, 13 Aug 2016 16:07:34 +0000 (02:07 +1000)]
User Interaction pref shows the push points modifier in the 'beginning a drag' row.

- it is currently dual use (move both ends of a range marker
    during drag / push control points at the beginning of a drag).
  this may have to be separated, but as it is called the push
  points modifier, it belongs here.

7 years agoResolve potential ambiguity between the constraint modifier and the copy modifier...
nick_m [Sat, 13 Aug 2016 15:50:51 +0000 (01:50 +1000)]
Resolve potential ambiguity between the constraint modifier and the copy modifier when beginning a drag.

7 years agoEnsure RelevantModifierKeyMask is updated on each modifier change.
nick_m [Sat, 13 Aug 2016 15:16:48 +0000 (01:16 +1000)]
Ensure RelevantModifierKeyMask is updated on each modifier change.

- fixes bug where changing prefs in User Interaction
  only took effect on restart.

7 years agoEnsure BBTRulerDrag operates within the tempo map.
nick_m [Fri, 12 Aug 2016 19:37:18 +0000 (05:37 +1000)]
Ensure BBTRulerDrag operates within the tempo map.

7 years agoEnsure positive length whan drag-adding new midi region.
nick_m [Fri, 12 Aug 2016 19:23:59 +0000 (05:23 +1000)]
Ensure positive length whan drag-adding new midi region.

7 years agoAlways send start property changes when a midi region trim alters position.
nick_m [Fri, 12 Aug 2016 18:18:21 +0000 (04:18 +1000)]
Always send start property changes when a midi region trim alters position.

- ensures gui updates correctly.

7 years agoAudio-locked midi region fixes.
nick_m [Fri, 12 Aug 2016 18:02:46 +0000 (04:02 +1000)]
Audio-locked midi region fixes.

- don't alter region frame length on tempo change or position change.

- set region _start correctly (see comments) on tempo map change.

- ensure audio-locked region's beat is set on tempo map change

7 years agoAllow negative return in TempoMap::beat_at_frame() and its exact_ variant.
nick_m [Fri, 12 Aug 2016 16:23:07 +0000 (02:23 +1000)]
Allow negative return in TempoMap::beat_at_frame() and its exact_ variant.

- audio-locked midi regions can be start-trimmed properly
  when close to 1|1|0
- a midi region placed before the first meter
  will continue the tempo curve and first meter.

Only a couple of callers require change, as bbt_at_beat() already
deals with this.

7 years agoadd nstewart to authors
Robin Gareus [Sat, 13 Aug 2016 14:12:12 +0000 (16:12 +0200)]
add nstewart to authors

7 years agoAdd "Marker Toggle" #5193
Nathan Stewart [Sat, 13 Aug 2016 14:02:43 +0000 (16:02 +0200)]
Add "Marker Toggle" #5193

7 years agoNobody expects the LV2 inquisition!
Robin Gareus [Sat, 13 Aug 2016 12:51:57 +0000 (14:51 +0200)]
Nobody expects the LV2 inquisition!

7 years agotweak strings now that 5.0 is out
Robin Gareus [Sat, 13 Aug 2016 12:51:15 +0000 (14:51 +0200)]
tweak strings now that 5.0 is out

7 years agoadd RMS region normalization option
Robin Gareus [Sat, 13 Aug 2016 12:50:59 +0000 (14:50 +0200)]
add RMS region normalization option

7 years agoAnother step towards gcc-ABI detection when installing as root
Robin Gareus [Fri, 12 Aug 2016 22:31:56 +0000 (00:31 +0200)]
Another step towards gcc-ABI detection when installing as root

makeself extracts the file with owner-only access.
When the installer itself runs as root, NORM_USER won't be able to
call the abi-test tool.

7 years agorevert 388a8fc9; prefer gcc4 if we can't determine the ABI
Robin Gareus [Fri, 12 Aug 2016 20:21:29 +0000 (22:21 +0200)]
revert 388a8fc9; prefer gcc4 if we can't determine the ABI

7 years agocheck for null pointer in Locations::remove()
Paul Davis [Fri, 12 Aug 2016 16:48:29 +0000 (12:48 -0400)]
check for null pointer in Locations::remove()