ardour.git
7 years agoadd clamp for adding points to a ControlList from a (G)UI
Paul Davis [Mon, 9 Jan 2017 12:42:08 +0000 (12:42 +0000)]
add clamp for adding points to a ControlList from a (G)UI

7 years agoclamp values appropriately in AutomationLine::view_to_model_y()
Paul Davis [Mon, 9 Jan 2017 12:41:49 +0000 (12:41 +0000)]
clamp values appropriately in AutomationLine::view_to_model_y()

Before this, drags from one automation track to another could add illegal/stupid values to an automation line. Presumably there needs to be another bounds check in ControlList

7 years agouse reduced height for automation lines when firrst added, not just after a resizing
Paul Davis [Mon, 9 Jan 2017 12:29:24 +0000 (12:29 +0000)]
use reduced height for automation lines when firrst added, not just after a resizing

7 years agotweak previous commit to make desc.max_unbound "more correct"
Paul Davis [Mon, 9 Jan 2017 12:29:04 +0000 (12:29 +0000)]
tweak previous commit to make desc.max_unbound "more correct"

7 years agofix ranges for LADSPA unbounded toggle parameters.
Paul Davis [Mon, 9 Jan 2017 11:58:39 +0000 (11:58 +0000)]
fix ranges for LADSPA unbounded toggle parameters.

Used to be 0..4, now 0..1. The 4 is still used as an arbitrary
upper bound for non-toggled parameters

7 years agoTweak Preference label
Robin Gareus [Sun, 8 Jan 2017 16:45:37 +0000 (17:45 +0100)]
Tweak Preference label

7 years agoNO-OP: whitespace
Robin Gareus [Sun, 8 Jan 2017 16:45:21 +0000 (17:45 +0100)]
NO-OP: whitespace

7 years agoFix Pane size allocation:
Robin Gareus [Sun, 8 Jan 2017 16:44:40 +0000 (17:44 +0100)]
Fix Pane size allocation:

* Skip calling allocate on recently hidden children.
* Don't [temporarily] call size_allocate with negative sizes

7 years agoFix crash when changing Pane widgets -- #7198
Robin Gareus [Sun, 8 Jan 2017 11:29:30 +0000 (12:29 +0100)]
Fix crash when changing Pane widgets -- #7198

Gtkmm2Ext::Pane::on_add() uses a pointer to a std::vector<> element
in the destroy notify callback. If the vector is modified, that pointer
becomes invalid.

Add 2 widgets "A", "B". remove "B", add another one "C".
Now if A is destroyed, notify_child_destroyed(PTR) points to
invalid memory and not to "A".

7 years agoprototype track/bus sharing: state-export
Robin Gareus [Sun, 8 Jan 2017 00:23:01 +0000 (01:23 +0100)]
prototype track/bus sharing: state-export

7 years agoFix shared-pointer list creation from Lua
Robin Gareus [Sat, 7 Jan 2017 23:30:41 +0000 (00:30 +0100)]
Fix shared-pointer list creation from Lua

7 years agoamend massive thinko in last commit (actually works).
nick_m [Fri, 6 Jan 2017 18:28:56 +0000 (05:28 +1100)]
amend massive thinko in last commit (actually works).

7 years agofix incorrect _start after a split.
nick_m [Fri, 6 Jan 2017 18:18:45 +0000 (05:18 +1100)]
fix incorrect _start after a split.

- when splitting a region where quantized notes start on the
  split point, the notes would sometimes vanish due to us deriving
  an exact quarter-note from the supplied frame.
  this only affects midi regions, as other region types
  have contents which are completely frame-based.

7 years agofix route ordering (and related possible crash on re-order)
Robin Gareus [Fri, 6 Jan 2017 17:40:21 +0000 (18:40 +0100)]
fix route ordering (and related possible crash on re-order)

7 years agoamend 4cb009058 (if newly active tempo became last it had no curve)
nick_m [Fri, 6 Jan 2017 16:39:24 +0000 (03:39 +1100)]
amend 4cb009058 (if newly active tempo became last it had no curve)

7 years agoTempoMap - do frame conversion outside the lock when possible.
nick_m [Fri, 6 Jan 2017 15:59:07 +0000 (02:59 +1100)]
TempoMap - do frame conversion outside the lock when possible.

7 years agoremove some excessive methods from TempoMap.
nick_m [Fri, 6 Jan 2017 15:52:02 +0000 (02:52 +1100)]
remove some excessive methods from TempoMap.

- the beginning of what hopefully will be a saner 'pulse' definition

7 years agomore no-op renaming - TempoSection::compute_c_func_* -> compute_c_
nick_m [Fri, 6 Jan 2017 15:34:24 +0000 (02:34 +1100)]
more no-op renaming - TempoSection::compute_c_func_* -> compute_c_

7 years agoclear up _initial vs _locked_to_meter TempoSection ambiguity.
nick_m [Fri, 6 Jan 2017 15:29:14 +0000 (02:29 +1100)]
clear up _initial vs _locked_to_meter TempoSection ambiguity.

7 years agomore inactive tempi fixes.
nick_m [Fri, 6 Jan 2017 15:25:42 +0000 (02:25 +1100)]
more inactive tempi fixes.

7 years agoactually make import of tempo maps at selected point work (missed line from 3060a458eb)
nick_m [Fri, 6 Jan 2017 14:46:52 +0000 (01:46 +1100)]
actually make import of tempo maps at selected point work (missed line from 3060a458eb)

7 years agorename TempoSection::c_func() -> c(). ensure constant tempi have this set to 0.
nick_m [Fri, 6 Jan 2017 14:27:06 +0000 (01:27 +1100)]
rename TempoSection::c_func() -> c(). ensure constant tempi have this set to 0.

7 years agofix some inactive tempi bugs
nick_m [Fri, 6 Jan 2017 14:12:09 +0000 (01:12 +1100)]
fix some inactive tempi bugs

- no tempo curve for inactive tempi

- inactive and meter-locked tempi cannot be deleted.

7 years agoRevert transport frame color in Ardour. But now its theme-able for those who are...
Ben Loftis [Thu, 5 Jan 2017 23:41:40 +0000 (17:41 -0600)]
Revert transport frame color in Ardour.  But now its theme-able for those who are interested.

7 years agomake entire transport bar have its own background, specifically themeable
Paul Davis [Thu, 5 Jan 2017 22:22:05 +0000 (22:22 +0000)]
make entire transport bar have its own background, specifically themeable

7 years agoTweak spacings and layout of the Tempo+Meter dialogs.
Ben Loftis [Thu, 5 Jan 2017 20:50:57 +0000 (14:50 -0600)]
Tweak spacings and layout of the Tempo+Meter dialogs.

7 years agoUn-bunch the bunched-up Keybindings editor widgets.
Ben Loftis [Thu, 5 Jan 2017 20:31:27 +0000 (14:31 -0600)]
Un-bunch the bunched-up Keybindings editor widgets.

7 years agodisallow mini-timebar navigation when recording
Robin Gareus [Thu, 5 Jan 2017 16:27:21 +0000 (17:27 +0100)]
disallow mini-timebar navigation when recording

7 years agoVCA number-label: match track/bus header behavior
Robin Gareus [Thu, 5 Jan 2017 14:08:42 +0000 (15:08 +0100)]
VCA number-label: match track/bus header behavior

7 years agoAttempt to lighten the transport area slightly. A little help needed here, Paul
Ben Loftis [Thu, 5 Jan 2017 16:01:11 +0000 (10:01 -0600)]
Attempt to lighten the transport area slightly.  A little help needed here, Paul

7 years agotempo dialog disallows changing bbt position of a meter-locked tempo.
nick_m [Thu, 5 Jan 2017 15:56:01 +0000 (02:56 +1100)]
tempo dialog disallows changing bbt position of a meter-locked tempo.

7 years agowarn when adding / replacing a tempo fails.
nick_m [Thu, 5 Jan 2017 15:26:02 +0000 (02:26 +1100)]
warn when adding / replacing a tempo fails.

7 years agomake previous commit compile (lua)
nick_m [Thu, 5 Jan 2017 15:22:33 +0000 (02:22 +1100)]
make previous commit compile (lua)

7 years agoprevent meter-locked tempi from being moved directly when replacing.
nick_m [Thu, 5 Jan 2017 15:20:45 +0000 (02:20 +1100)]
prevent meter-locked tempi from being moved directly when replacing.

- the audio-locked meter owns it.

7 years agoallow importing tempo maps at selected position.
nick_m [Thu, 5 Jan 2017 15:14:17 +0000 (02:14 +1100)]
allow importing tempo maps at selected position.

7 years agoensure tempo lines use correct tempo type (constant/ramped)
nick_m [Thu, 5 Jan 2017 14:59:47 +0000 (01:59 +1100)]
ensure tempo lines use correct tempo type (constant/ramped)

7 years agoModify playlist option labels in Duplicate Track/Bus dialog
Tim Mayberry [Thu, 5 Jan 2017 13:03:22 +0000 (23:03 +1000)]
Modify playlist option labels in Duplicate Track/Bus dialog

To indicate it is only copying the current "active" playlist and not all
playlists as discussed on IRC some time ago.

Resolves: #7149

7 years agovariation of a PR from ngeiwei that adds MIDI channel info to controller names
Paul Davis [Thu, 5 Jan 2017 09:56:45 +0000 (09:56 +0000)]
variation of a PR from ngeiwei that adds MIDI channel info to controller names

7 years agofix assumed typo from LV2_SUPPORT PR recently committed
Paul Davis [Thu, 5 Jan 2017 09:56:07 +0000 (09:56 +0000)]
fix assumed typo from LV2_SUPPORT PR recently committed

7 years agoadapted wscript for macos sierra
powerpaul17 [Mon, 5 Dec 2016 11:57:41 +0000 (12:57 +0100)]
adapted wscript for macos sierra

7 years agofixed compilation on osx, minimal version was wrong
Paul Tirk [Fri, 18 Nov 2016 00:39:45 +0000 (01:39 +0100)]
fixed compilation on osx, minimal version was wrong

7 years agoOne more fix.
Olivier Humbert [Fri, 2 Dec 2016 20:49:17 +0000 (21:49 +0100)]
One more fix.

7 years agoAnother fix.
Olivier Humbert [Fri, 2 Dec 2016 20:43:58 +0000 (21:43 +0100)]
Another fix.

7 years agoUndo (bad) fix
Olivier Humbert [Fri, 2 Dec 2016 20:40:44 +0000 (21:40 +0100)]
Undo (bad) fix

7 years agoOne fix
Olivier Humbert [Fri, 2 Dec 2016 19:07:41 +0000 (20:07 +0100)]
One fix

7 years agoFrench translation update
Olivier Humbert [Thu, 1 Dec 2016 03:01:28 +0000 (04:01 +0100)]
French translation update

7 years agoFrench translation update
Olivier Humbert [Thu, 1 Dec 2016 02:15:02 +0000 (03:15 +0100)]
French translation update

7 years agoanother fix
Olivier Humbert [Thu, 1 Dec 2016 02:12:04 +0000 (03:12 +0100)]
another fix

7 years agofixes
Olivier Humbert [Thu, 1 Dec 2016 02:07:45 +0000 (03:07 +0100)]
fixes

7 years agoFrench translation update
Olivier Humbert [Thu, 1 Dec 2016 02:05:22 +0000 (03:05 +0100)]
French translation update

7 years agoFrench translation update
Olivier Humbert [Thu, 1 Dec 2016 02:04:23 +0000 (03:04 +0100)]
French translation update

7 years agoFrench translation update
Olivier Humbert [Thu, 1 Dec 2016 02:03:12 +0000 (03:03 +0100)]
French translation update

7 years agoFrench translation update
Olivier Humbert [Thu, 1 Dec 2016 01:57:50 +0000 (02:57 +0100)]
French translation update

7 years agoUpdate cubasish-ardour.colors
cooltehno [Thu, 29 Dec 2016 23:21:21 +0000 (03:21 +0400)]
Update cubasish-ardour.colors

7 years agoUpdate clear_gray-ardour.colors
cooltehno [Thu, 29 Dec 2016 23:13:26 +0000 (03:13 +0400)]
Update clear_gray-ardour.colors

7 years agoUpdate caineville-ardour.colors
cooltehno [Thu, 29 Dec 2016 23:08:10 +0000 (03:08 +0400)]
Update caineville-ardour.colors

7 years agoUpdate blueberry_milk-ardour.colors
cooltehno [Thu, 29 Dec 2016 22:56:16 +0000 (02:56 +0400)]
Update blueberry_milk-ardour.colors

7 years agosyncing with upstream
Dobroslav Slavenskoj [Thu, 8 Dec 2016 20:42:13 +0000 (15:42 -0500)]
syncing with upstream

7 years agoFixing LV2_SUPPORT #ifdefs
Dobroslav Slavenskoj [Thu, 8 Dec 2016 20:37:07 +0000 (15:37 -0500)]
Fixing LV2_SUPPORT #ifdefs

7 years agosome german translation improvements
Edgar Aichinger [Mon, 5 Dec 2016 11:53:12 +0000 (12:53 +0100)]
some german translation improvements

7 years agoUpdate TRANSLATORS
Olivier Humbert [Wed, 30 Nov 2016 22:20:22 +0000 (23:20 +0100)]
Update TRANSLATORS

* Better wording and explanation for the gtk2_ardour/appdata/po/fr.po .
* Adds special case translating (slashes and pipes).

7 years agoAdd a po file to be translated
Olivier Humbert [Wed, 30 Nov 2016 20:59:32 +0000 (21:59 +0100)]
Add a po file to be translated

7 years agoProposed fix managing shared playlists (see #7150)
Julien ROGER [Wed, 30 Nov 2016 16:02:20 +0000 (17:02 +0100)]
Proposed fix managing shared playlists (see #7150)

Actually, when duplicating a track with "share playlist", the current
playlist is owned by the new created track(orig-track-id). The sharing
mecanism is made by diskstreams pointing on the same(shared) playlist.
Since playlist now owned by the new track, selecting another playlist in
the original track "forgets" the playlist for this track.You can't
select the shared playlist anymore from the original track.

This commit adds a way to keep trace of shared playlist between tracks.

7 years agoAdd missing function call in error message when compiling for windows
Tim Mayberry [Thu, 5 Jan 2017 00:06:17 +0000 (10:06 +1000)]
Add missing function call in error message when compiling for windows

7 years agomake status bar themeable
Paul Davis [Wed, 4 Jan 2017 23:05:02 +0000 (23:05 +0000)]
make status bar themeable

7 years agoallow import of Beethoven's fifth.
nick_m [Wed, 4 Jan 2017 16:49:59 +0000 (03:49 +1100)]
allow import of Beethoven's fifth.

- more popular tunes to follow.

7 years agoadd Meter::operator==.
nick_m [Wed, 4 Jan 2017 16:48:35 +0000 (03:48 +1100)]
add Meter::operator==.

7 years agoFile [MIDI] display preference under Appearance
Robin Gareus [Wed, 4 Jan 2017 13:17:18 +0000 (14:17 +0100)]
File [MIDI] display preference under Appearance

7 years agodisallow tempi of 0 ntpm or less.
nick_m [Wed, 4 Jan 2017 13:15:14 +0000 (00:15 +1100)]
disallow tempi of 0 ntpm or less.

7 years agofix import of multiple time signatures.
nick_m [Wed, 4 Jan 2017 13:13:43 +0000 (00:13 +1100)]
fix import of multiple time signatures.

7 years agofix memory corruption any time a SysEx display object is deleted
Paul Davis [Tue, 3 Jan 2017 22:09:47 +0000 (22:09 +0000)]
fix memory corruption any time a SysEx display object is deleted

7 years agoMidiRegion::clone() needs to ensure that the model is loaded before calling MidiSourc...
Paul Davis [Tue, 3 Jan 2017 22:09:27 +0000 (22:09 +0000)]
MidiRegion::clone() needs to ensure that the model is loaded before calling MidiSource::write_to()

7 years agofix color file installation
Robin Gareus [Tue, 3 Jan 2017 16:34:36 +0000 (17:34 +0100)]
fix color file installation

7 years agonote display performance.
nick_m [Tue, 3 Jan 2017 13:19:31 +0000 (00:19 +1100)]
note display performance.

use boost::unordered_map as a note store for ghost & midi region
views.

as per otiginal method, only notes within regoin bounds are stored.

7 years agoExtend/update LV2 license interface
Robin Gareus [Tue, 3 Jan 2017 12:26:48 +0000 (13:26 +0100)]
Extend/update LV2 license interface

7 years agoUpdate links to preference pages
Robin Gareus [Tue, 3 Jan 2017 09:05:05 +0000 (10:05 +0100)]
Update links to preference pages

7 years agos/GUI/Appearance/ -- part twelve of expected 27 prefs updates
Robin Gareus [Mon, 2 Jan 2017 19:18:51 +0000 (20:18 +0100)]
s/GUI/Appearance/ -- part twelve of expected 27 prefs updates

7 years agoMove items not relevant for appearance out of "GUI" preferences
Robin Gareus [Mon, 2 Jan 2017 19:15:34 +0000 (20:15 +0100)]
Move items not relevant for appearance out of "GUI" preferences

7 years agofix VCA vertical alignment
Robin Gareus [Mon, 2 Jan 2017 16:41:15 +0000 (17:41 +0100)]
fix VCA vertical alignment

7 years agoallow to shrink mixer left-side pane
Robin Gareus [Mon, 2 Jan 2017 16:16:29 +0000 (17:16 +0100)]
allow to shrink mixer left-side pane

7 years agoremove VCA title/heading (increases min width)
Robin Gareus [Mon, 2 Jan 2017 16:16:11 +0000 (17:16 +0100)]
remove VCA title/heading (increases min width)

7 years agoEnforce minimum pane sizes
Robin Gareus [Mon, 2 Jan 2017 16:13:56 +0000 (17:13 +0100)]
Enforce minimum pane sizes

* enforce minimum size of child widgets
* honor manually set child-minsize in size-requests
* ignore hidden children (eg. VCA)
* clamp divider position (instead of just ignoring out-of-bounds moves)

7 years agoallow Lua session scripts to inject [immediate] RT-events
Robin Gareus [Mon, 2 Jan 2017 16:03:33 +0000 (17:03 +0100)]
allow Lua session scripts to inject [immediate] RT-events

7 years agoAdd an example script to start recording on a MIDI event
Robin Gareus [Sun, 1 Jan 2017 23:52:25 +0000 (00:52 +0100)]
Add an example script to start recording on a MIDI event

7 years agoWhitelist bit32 Lua library for session rt-scripts
Robin Gareus [Sun, 1 Jan 2017 23:46:01 +0000 (00:46 +0100)]
Whitelist bit32 Lua library for session rt-scripts

7 years agoMatch API: add rt_context option for en/disable_record()
Robin Gareus [Sun, 1 Jan 2017 23:26:21 +0000 (00:26 +0100)]
Match API: add rt_context option for en/disable_record()

This allows to call maybe_enable_record () from Lua session or DSP scripts

7 years agoOnly display pull-up/down if it's being used.
Robin Gareus [Sun, 1 Jan 2017 15:14:59 +0000 (16:14 +0100)]
Only display pull-up/down if it's being used.

7 years agoFix flat buttons for the shuttle-ctrl
Robin Gareus [Sat, 31 Dec 2016 19:57:07 +0000 (20:57 +0100)]
Fix flat buttons for the shuttle-ctrl

7 years agoAdd keyboard option reset
Robin Gareus [Sat, 31 Dec 2016 18:35:31 +0000 (19:35 +0100)]
Add keyboard option reset

7 years agoOSC: remove unused overall feedback calls and variables
Len Ovens [Sat, 31 Dec 2016 16:01:23 +0000 (08:01 -0800)]
OSC: remove unused overall feedback calls and variables

7 years agoOSC: remove feedback enable from GUI (unused)
Len Ovens [Sat, 31 Dec 2016 15:42:51 +0000 (07:42 -0800)]
OSC: remove feedback enable from GUI (unused)

7 years agore-fine preferences dialog part eleven of 27 (probably)
Robin Gareus [Sat, 31 Dec 2016 03:50:37 +0000 (04:50 +0100)]
re-fine preferences dialog part eleven of 27 (probably)

7 years agoamend 3afe3f32df (remove unused global feedback option)
Robin Gareus [Sat, 31 Dec 2016 03:35:41 +0000 (04:35 +0100)]
amend 3afe3f32df (remove unused global feedback option)

That commit accidentally removed unrelated code in generic-midi surface
which just happened to have the same name (get/set_midi_feedback) as the
unused preference.

Regardless, there was more cruft there. GMCP midicontrollables now use
the control surfaces' feedback option.

7 years agoRemove some (no longer needed) source files from our MSVC project (gtk2_ardour)
John Emmas [Sat, 31 Dec 2016 11:10:11 +0000 (11:10 +0000)]
Remove some (no longer needed) source files from our MSVC project (gtk2_ardour)

7 years agoPrefs treeview borders
Robin Gareus [Fri, 30 Dec 2016 17:44:33 +0000 (18:44 +0100)]
Prefs treeview borders

7 years agore-fine preferences dialog part ten of 27 (probably)
Robin Gareus [Fri, 30 Dec 2016 17:29:15 +0000 (18:29 +0100)]
re-fine preferences dialog part ten of 27 (probably)

7 years agoRemove cruft (old MIDI feedback API)
Robin Gareus [Fri, 30 Dec 2016 16:29:08 +0000 (17:29 +0100)]
Remove cruft (old MIDI feedback API)

7 years agore-group preferences part eight and nine of 27 (probably)
Robin Gareus [Fri, 30 Dec 2016 16:04:50 +0000 (17:04 +0100)]
re-group preferences part eight and nine of 27 (probably)

7 years agore-group preferences part seven of 27 (probably)
Robin Gareus [Fri, 30 Dec 2016 14:45:53 +0000 (15:45 +0100)]
re-group preferences part seven of 27 (probably)

7 years agore-group preferences part six of 27 (probably)
Robin Gareus [Fri, 30 Dec 2016 14:26:00 +0000 (15:26 +0100)]
re-group preferences part six of 27 (probably)