ardour.git
7 years agoSpeed up AFL/PFL changes for large sessions
Robin Gareus [Fri, 25 Nov 2016 09:41:23 +0000 (10:41 +0100)]
Speed up AFL/PFL changes for large sessions

update_latency_compensation() and resort_routes() are expensive and
were called for every individual change.

7 years agoThe DisplaySuspender is useless with async Session RTEvents
Robin Gareus [Fri, 25 Nov 2016 09:05:36 +0000 (10:05 +0100)]
The DisplaySuspender is useless with async Session RTEvents

7 years agoDon't allow duplicate playlist names
Robin Gareus [Thu, 24 Nov 2016 21:11:19 +0000 (22:11 +0100)]
Don't allow duplicate playlist names

7 years ago_maps_from_state is legal after unfreeze (restore state)
Robin Gareus [Thu, 24 Nov 2016 20:58:50 +0000 (21:58 +0100)]
_maps_from_state is legal after unfreeze (restore state)

7 years agoa-High/LowPass allow 8K samples inclusive
Robin Gareus [Thu, 24 Nov 2016 20:03:14 +0000 (21:03 +0100)]
a-High/LowPass allow 8K samples inclusive

7 years agomidi ghost region fill colour is per event. don't store it. ensure _outline is set.
nick_m [Thu, 24 Nov 2016 17:50:46 +0000 (04:50 +1100)]
midi ghost region fill colour is per event. don't store it. ensure _outline is set.

7 years agoamend last commit.
nick_m [Thu, 24 Nov 2016 14:06:22 +0000 (01:06 +1100)]
amend last commit.

7 years agomidi scroomer updates streamview during drags.
nick_m [Thu, 24 Nov 2016 13:50:29 +0000 (00:50 +1100)]
midi scroomer updates streamview during drags.

7 years agoFrench translation update
Olivier Humbert [Mon, 21 Nov 2016 20:51:41 +0000 (21:51 +0100)]
French translation update

Mainly improvements to the Preference tabs.

7 years agosmall correction to de.po
edogawa23 [Wed, 23 Nov 2016 22:01:17 +0000 (23:01 +0100)]
small correction to de.po

7 years agoFix mysterious crashes such as #7049
Robin Gareus [Thu, 24 Nov 2016 08:02:47 +0000 (09:02 +0100)]
Fix mysterious crashes such as #7049

Fixes an issue with corrupted std::lists<> due to concurrent writes
to the invalidation list which eventually resulted in
EventLoop::invalidate_request() not invalidating requests.
Concurrency sucks rocks hard.

7 years agoanother hack to accommodate different project names
Robin Gareus [Wed, 23 Nov 2016 20:39:11 +0000 (21:39 +0100)]
another hack to accommodate different project names

Mixbus32C-$MAJOR  + Mixbus32C (dash before major version)
vs Ardour$MAJOR + Ardour
vs Mixbus$MAJOR + Mixbus

7 years agocatch up with .de translation
Edgar Aichinger [Wed, 23 Nov 2016 13:12:57 +0000 (14:12 +0100)]
catch up with .de translation

7 years agoclean up pending region selection if a region goes away.
nick_m [Wed, 23 Nov 2016 04:36:26 +0000 (15:36 +1100)]
clean up pending region selection if a region goes away.

7 years agoMidiRegionView::clear_events() does _selection.clear(). remove the extra one.
nick_m [Wed, 23 Nov 2016 04:32:13 +0000 (15:32 +1100)]
MidiRegionView::clear_events() does _selection.clear(). remove the extra one.

7 years agofix a crash when deleting a MIDI region with CC automation (see recipe below)
nick_m [Wed, 23 Nov 2016 04:29:57 +0000 (15:29 +1100)]
fix a crash when deleting  a MIDI region with CC automation (see recipe below)

- object mode: select a MIDI region that has CC automation.
  Move the mouse over a CC automation event,
  then press backspace to delete the selected region

- the recipe is mentioned in #7049, but seems unrelated.

7 years agoclicking on an automation line selects adjacent points correctly.
nick_m [Wed, 23 Nov 2016 04:09:54 +0000 (15:09 +1100)]
clicking on an automation line selects adjacent points correctly.

7 years agodecouple midi region note range and height from midi streamview.
nick_m [Tue, 22 Nov 2016 21:04:14 +0000 (08:04 +1100)]
decouple midi region note range and height from midi streamview.

- this allows a midi region drag to update the visible notes
  correctly while crossing MIDI streamviews with a differing
  note range.
  as a side effect, fixes a bug where changing
  note range on a track did not draw some notes
  (apply_note_range redisplays the model).

7 years agoson't try to select non-existent notes after editing (and thus crash).
nick_m [Tue, 22 Nov 2016 17:55:56 +0000 (04:55 +1100)]
son't try to select non-existent notes after editing (and thus crash).

- should fix 7135

7 years agoconstify some TempoMap functions.
nick_m [Tue, 22 Nov 2016 14:45:43 +0000 (01:45 +1100)]
constify some TempoMap functions.

7 years agoremove set but not used variable in tempo.cc
nick_m [Tue, 22 Nov 2016 11:51:10 +0000 (22:51 +1100)]
remove set but not used variable in tempo.cc

7 years agoMIDI LFO generator plugin
Robin Gareus [Mon, 21 Nov 2016 20:24:11 +0000 (21:24 +0100)]
MIDI LFO generator plugin

7 years agoamend 66488e117 - BBT clock scrolling handles multiple audio-locked meters.
nick_m [Mon, 21 Nov 2016 16:17:01 +0000 (03:17 +1100)]
amend 66488e117 - BBT clock scrolling handles multiple audio-locked meters.

7 years agodon't display notes that start at region end.
nick_m [Mon, 21 Nov 2016 15:59:57 +0000 (02:59 +1100)]
don't display notes that start at region end.

- its not obvious that this is happening in sustained mode,
  but Percussive reveals all.

7 years agofix thinko in 8e8c4a73f1e.
nick_m [Mon, 21 Nov 2016 15:21:05 +0000 (02:21 +1100)]
fix thinko in 8e8c4a73f1e.

7 years agofilter events in HitCreateDrag, remove some code.
nick_m [Mon, 21 Nov 2016 15:05:32 +0000 (02:05 +1100)]
filter events in HitCreateDrag, remove some code.

7 years agoprevent Percussive mode from displaying a ghost hit at region end.
nick_m [Mon, 21 Nov 2016 15:01:01 +0000 (02:01 +1100)]
prevent Percussive mode from displaying a ghost hit at region end.

7 years agoNoteCreateDrag - remove some code
nick_m [Mon, 21 Nov 2016 14:59:57 +0000 (01:59 +1100)]
NoteCreateDrag - remove some code

7 years agoTempoMap::bbt_duration_at() handles an audio-locked meter.
nick_m [Mon, 21 Nov 2016 13:29:53 +0000 (00:29 +1100)]
TempoMap::bbt_duration_at() handles an audio-locked meter.

- fixes some odd results when scrolling down/up over the BBT clock display.

7 years agoMake Cut mode respect snap modifer
Tim Mayberry [Mon, 21 Nov 2016 12:19:56 +0000 (22:19 +1000)]
Make Cut mode respect snap modifer

7 years agoShow cursor in Cut mode on button press at cutting position
Tim Mayberry [Mon, 21 Nov 2016 10:45:35 +0000 (20:45 +1000)]
Show cursor in Cut mode on button press at cutting position

Previously it would be shown at the mouse cursor position even though the
Region is cut/split at the snap/quantize point if no motion occurred.

7 years agoReparent cursor used in Cut mode so that it is on top and visible
Tim Mayberry [Mon, 21 Nov 2016 10:11:47 +0000 (20:11 +1000)]
Reparent cursor used in Cut mode so that it is on top and visible

7 years agoMake menu item for Add Track/Bus/VCA dialog consistent with window title
Olivier Humbert [Sun, 30 Oct 2016 22:47:31 +0000 (23:47 +0100)]
Make menu item for Add Track/Bus/VCA dialog consistent with window title

7 years agoupdate german translation
Edgar Aichinger [Sun, 20 Nov 2016 21:45:35 +0000 (22:45 +0100)]
update german translation

7 years agofix typo in tempo.cc
nick_m [Sun, 20 Nov 2016 20:08:04 +0000 (07:08 +1100)]
fix typo in tempo.cc

7 years agoclean up HitCreateDrag. should be a no-op.
nick_m [Sun, 20 Nov 2016 17:57:32 +0000 (04:57 +1100)]
clean up HitCreateDrag. should be a no-op.

7 years agofix compilation, rename PercussiveCreateDrag -> HitCreateDrag
nick_m [Sun, 20 Nov 2016 17:20:27 +0000 (04:20 +1100)]
fix compilation, rename PercussiveCreateDrag -> HitCreateDrag

7 years agoonly spray percussive hits during create drag if the grid is in use.
nick_m [Sun, 20 Nov 2016 17:11:54 +0000 (04:11 +1100)]
only spray percussive hits during create drag if the grid is in use.

7 years agorework mouse hit creation (percussive mode) - mostly as per #7130.
nick_m [Sun, 20 Nov 2016 17:02:21 +0000 (04:02 +1100)]
rework mouse hit creation (percussive mode) - mostly as per #7130.

- snap behaviour is round to nearest

- holding down button 1 while dragging creates many
  (if not already present) hits.

7 years agoNoteCreateDrag scope fix - should be a no-op.
nick_m [Sun, 20 Nov 2016 14:46:42 +0000 (01:46 +1100)]
NoteCreateDrag scope fix - should be a no-op.

7 years agouse a minimum note length of whatever 1 px is in beats in NoteCreateDrag.
nick_m [Sun, 20 Nov 2016 14:44:56 +0000 (01:44 +1100)]
use a minimum note length of whatever 1 px is in beats in NoteCreateDrag.

7 years agoMRV handles an alt key press even if nothing happened.
nick_m [Sun, 20 Nov 2016 14:17:24 +0000 (01:17 +1100)]
MRV handles an alt key press even if nothing happened.

- nothing else treats a modifier press as
  a key press event, so don't pass it on.
  amends 0af9fb0d

7 years agofix for short notes being displayed as infinitely long.
nick_m [Sun, 20 Nov 2016 13:17:31 +0000 (00:17 +1100)]
fix for short notes being displayed as infinitely long.

7 years agoAdd a Lua script snippet processing region data from the editor
Robin Gareus [Sat, 19 Nov 2016 20:58:03 +0000 (21:58 +0100)]
Add a Lua script snippet processing region data from the editor

7 years agoAllow to call ARDOUR.DSP Lua functions from UI scripts
Robin Gareus [Sat, 19 Nov 2016 20:18:15 +0000 (21:18 +0100)]
Allow to call ARDOUR.DSP Lua functions from UI scripts

7 years agomake it clear that there is no drag threshold for NoteCreateDrag.
nick_m [Sat, 19 Nov 2016 17:55:34 +0000 (04:55 +1100)]
make it clear that there is no drag threshold for NoteCreateDrag.

7 years agopressing alt while creating a note (snap modifier) keeps mouse_state.
nick_m [Sat, 19 Nov 2016 17:54:20 +0000 (04:54 +1100)]
pressing alt while creating a note (snap modifier) keeps mouse_state.

7 years agoafter creating a note, don't add the ghost note until next motion.
nick_m [Sat, 19 Nov 2016 17:51:38 +0000 (04:51 +1100)]
after creating a note, don't add the ghost note until next motion.

7 years agoNoteCreateDrag starts on button press.
nick_m [Sat, 19 Nov 2016 17:49:18 +0000 (04:49 +1100)]
NoteCreateDrag starts on button press.

- removes the separation between click and
  drag-creation of notes noth now handled by the drag code).

7 years agoNoteCreateDrag::grid_frames works over a tempo change.
nick_m [Sat, 19 Nov 2016 17:42:20 +0000 (04:42 +1100)]
NoteCreateDrag::grid_frames works over a tempo change.

7 years agoremove unused variable.
nick_m [Sat, 19 Nov 2016 10:42:50 +0000 (21:42 +1100)]
remove unused variable.

7 years agofurther to 1a6a72b57, handle deleting a note while a non-selected one is entered.
nick_m [Sat, 19 Nov 2016 10:40:41 +0000 (21:40 +1100)]
further to 1a6a72b57, handle deleting a note while a non-selected one is entered.

7 years agoFix for widget visibility with detached preferences window
Tim Mayberry [Sat, 19 Nov 2016 03:51:32 +0000 (13:51 +1000)]
Fix for widget visibility with detached preferences window

Should finally resolve bug #7002

The reason 95e3f766 didn't resolve this is because OptionEditorContainer ctor
is called before adding all the widgets in RCOptionEditor so they will still be
hidden.

7 years agoDon't allow recursive calls to EngineDialog
Robin Gareus [Sat, 19 Nov 2016 03:54:36 +0000 (04:54 +0100)]
Don't allow recursive calls to EngineDialog

OK -> start_engine() can eg. trigger an interactive plugin scan,
which in turn leaves the EngineDialog responsive. changing settings
or clicking OK again can lead to undefined behavior.

7 years agofix ambiguity
Robin Gareus [Sat, 19 Nov 2016 00:36:34 +0000 (01:36 +0100)]
fix ambiguity

7 years agoDisable OSX 10.5/PPC support (MacVST is Cocoa UI only)
Robin Gareus [Fri, 18 Nov 2016 23:45:13 +0000 (00:45 +0100)]
Disable OSX 10.5/PPC support (MacVST is Cocoa UI only)

7 years agoGenerally speaking we use Glib::usleep() now in preference to standard ::usleep()
John Emmas [Fri, 18 Nov 2016 20:01:43 +0000 (20:01 +0000)]
Generally speaking we use Glib::usleep() now in preference to standard ::usleep()

7 years agoRemove the MSVC 'poll()' emulation now that Ardour's stopped using poll()
John Emmas [Fri, 18 Nov 2016 18:17:39 +0000 (18:17 +0000)]
Remove the MSVC 'poll()' emulation now that Ardour's stopped using poll()

7 years agoOSC: mark session dirty if setup changes
Len Ovens [Fri, 18 Nov 2016 16:43:58 +0000 (08:43 -0800)]
OSC: mark session dirty if setup changes

7 years agofix for ghost note becoming stuck after note selection deleted.
nick_m [Fri, 18 Nov 2016 16:03:20 +0000 (03:03 +1100)]
fix for ghost note becoming stuck after note selection deleted.

- thanks ristic for the report

7 years agoOSC: issue 7116 fix send enable not working
Len Ovens [Fri, 18 Nov 2016 15:53:40 +0000 (07:53 -0800)]
OSC: issue 7116 fix send enable not working

7 years agoRecursively scan for MacVSTs
Robin Gareus [Fri, 18 Nov 2016 01:36:04 +0000 (02:36 +0100)]
Recursively scan for MacVSTs

7 years agoremove thinko in MidiRegion::post_set().
nick_m [Thu, 17 Nov 2016 19:48:44 +0000 (06:48 +1100)]
remove thinko in MidiRegion::post_set().

- should fix incorrect midi region length on split.

7 years agoFix track-templates with sidechains -- closes #7117
Robin Gareus [Thu, 17 Nov 2016 15:29:08 +0000 (16:29 +0100)]
Fix track-templates with sidechains -- closes #7117

7 years agofix incorrect subdivision when dragging/trimming regions using magnetic snap.
nick_m [Thu, 17 Nov 2016 14:04:30 +0000 (01:04 +1100)]
fix incorrect subdivision when dragging/trimming regions using magnetic snap.

- amends d2d2308588e84

7 years agofix type in prev. commit
Robin Gareus [Thu, 17 Nov 2016 13:08:26 +0000 (14:08 +0100)]
fix type in prev. commit

7 years agoGUI to disable MacVST at runtime
Robin Gareus [Thu, 17 Nov 2016 13:06:29 +0000 (14:06 +0100)]
GUI to disable MacVST at runtime

7 years agoAdd runtime option to disable MacVST
Robin Gareus [Thu, 17 Nov 2016 13:06:03 +0000 (14:06 +0100)]
Add runtime option to disable MacVST

7 years agoAllow to migrate sessions with VST plugins
Robin Gareus [Thu, 17 Nov 2016 13:05:40 +0000 (14:05 +0100)]
Allow to migrate sessions with VST plugins

7 years agotry VST2.4's VSTPluginMain first
Robin Gareus [Thu, 17 Nov 2016 12:03:36 +0000 (13:03 +0100)]
try VST2.4's VSTPluginMain first

This fixes a crash with loading u-he Diva on windows.

7 years agofix mingw64 debug build
Robin Gareus [Thu, 17 Nov 2016 11:58:28 +0000 (12:58 +0100)]
fix mingw64 debug build

7 years agoAdd example script to modulate parmaters globally
Robin Gareus [Wed, 16 Nov 2016 17:55:40 +0000 (18:55 +0100)]
Add example script to modulate parmaters globally

7 years agomagnetic snap uses note divisor appropriately.
nick_m [Wed, 16 Nov 2016 17:08:13 +0000 (04:08 +1100)]
magnetic snap uses note divisor appropriately.

- also looks nicer when resizing MIDI regions.

7 years agofix 32bit+PPC OSX builds
Robin Gareus [Wed, 16 Nov 2016 16:24:08 +0000 (17:24 +0100)]
fix 32bit+PPC OSX builds

7 years agofix incorrect return type for Editor::get_grid_music_divisions().
nick_m [Wed, 16 Nov 2016 16:13:16 +0000 (03:13 +1100)]
fix incorrect return type for Editor::get_grid_music_divisions().

7 years agoFix crash when fanning out from editor mixer
Robin Gareus [Wed, 16 Nov 2016 04:24:01 +0000 (05:24 +0100)]
Fix crash when fanning out from editor mixer

when creating a new track or bus editor-selection changes and the
editor-mixer's _route changes.

7 years agoRevert "disable MacVST support (until it's ready)"
Robin Gareus [Wed, 16 Nov 2016 00:25:29 +0000 (01:25 +0100)]
Revert "disable MacVST support (until it's ready)"

This reverts commit e0766e8f74e740cd24645f3712873a1b669e4995.

7 years agofix library depends for OSX vst scanner
Robin Gareus [Wed, 16 Nov 2016 00:23:21 +0000 (01:23 +0100)]
fix library depends for OSX vst scanner

7 years agoupdate MSVC project in the wake of cf1651e6
Robin Gareus [Tue, 15 Nov 2016 22:11:50 +0000 (23:11 +0100)]
update MSVC project in the wake of cf1651e6

7 years agoa better fix for 6ed8c113a25 (scope)
nick_m [Tue, 15 Nov 2016 18:18:35 +0000 (05:18 +1100)]
a better fix for 6ed8c113a25 (scope)

7 years agoRegion:;set_state() should always set quarter_note.
nick_m [Tue, 15 Nov 2016 18:03:14 +0000 (05:03 +1100)]
Region:;set_state() should always set quarter_note.

- fix for 4.x sessions showing notes stacked at session start.

7 years agoMacVST UI resizing
Robin Gareus [Tue, 15 Nov 2016 16:20:34 +0000 (17:20 +0100)]
MacVST UI resizing

7 years agoconsolidate VST UI code
Robin Gareus [Tue, 15 Nov 2016 16:07:55 +0000 (17:07 +0100)]
consolidate VST UI code

7 years agoconsolidate VSTState functions
Robin Gareus [Tue, 15 Nov 2016 16:07:04 +0000 (17:07 +0100)]
consolidate VSTState functions

7 years agoAccommodate a newly introduced source file in our MSVC project (libardour)
John Emmas [Tue, 15 Nov 2016 11:12:25 +0000 (11:12 +0000)]
Accommodate a newly introduced source file in our MSVC project (libardour)

(although I'm not sure if it's actually used yet in the Windows build).

7 years agoreally fix windows compilation.
Robin Gareus [Tue, 15 Nov 2016 02:25:32 +0000 (03:25 +0100)]
really fix windows compilation.

7 years agoamend 5dc24971009 ...get the windows version to compile.
Robin Gareus [Tue, 15 Nov 2016 02:21:02 +0000 (03:21 +0100)]
amend 5dc24971009 ...get the windows version to compile.

eventually vststate_init() needs cleaning up, but not tonight.

7 years agoFrench translation update
Olivier Humbert [Tue, 15 Nov 2016 01:03:35 +0000 (02:03 +0100)]
French translation update

more translations

7 years agoAdding myself
Olivier Humbert [Tue, 15 Nov 2016 00:35:28 +0000 (01:35 +0100)]
Adding myself

adding my name

7 years agoFrench translation update
Olivier Humbert [Tue, 15 Nov 2016 00:32:04 +0000 (01:32 +0100)]
French translation update

one small fix

7 years agoFrench translation update
Olivier Humbert [Tue, 15 Nov 2016 00:24:56 +0000 (01:24 +0100)]
French translation update

A few more translations and fixes for French.

7 years agoFrench translation update
Olivier Humbert [Thu, 10 Nov 2016 01:26:55 +0000 (02:26 +0100)]
French translation update

This one:
* adds a French translation for a string
* adds myself on the header

7 years agoFrench translation update
Olivier Humbert [Thu, 10 Nov 2016 00:17:01 +0000 (01:17 +0100)]
French translation update

This translates one string.

7 years agorework 8e3b6c9ac (fstwin is C code, not C++)
Robin Gareus [Tue, 15 Nov 2016 01:49:30 +0000 (02:49 +0100)]
rework 8e3b6c9ac (fstwin is C code, not C++)

7 years agofix another typo (f30fbcaaf)
Robin Gareus [Tue, 15 Nov 2016 00:17:47 +0000 (01:17 +0100)]
fix another typo (f30fbcaaf)

7 years agoAdd missing #include
Robin Gareus [Mon, 14 Nov 2016 23:43:28 +0000 (00:43 +0100)]
Add missing #include

7 years agoFix some typo.
Robin Gareus [Mon, 14 Nov 2016 23:43:17 +0000 (00:43 +0100)]
Fix some typo.

7 years agoFix intermittent hang when stopping PortaudioBackend
Tim Mayberry [Mon, 14 Nov 2016 23:19:24 +0000 (09:19 +1000)]
Fix intermittent hang when stopping PortaudioBackend

This issue is not always reproducible but when it does occur it happens
somewhat consistently on both 32bit and 64bit builds(Tested on Windows 7).

The midiOutReset call does not return (or it takes so long that it might as
well be indefinite) and as it is not strictly necessary just remove it.

Resolves: http://tracker.ardour.org/view.php?id=7095

7 years agoshow VST preset clean/dirty state
Robin Gareus [Mon, 14 Nov 2016 23:32:19 +0000 (00:32 +0100)]
show VST preset clean/dirty state

7 years agoMacVST Program/Preset support
Robin Gareus [Mon, 14 Nov 2016 23:01:27 +0000 (00:01 +0100)]
MacVST Program/Preset support