ardour.git
9 years agoDon't show meter-type menu for MIDI-only meters
Robin Gareus [Thu, 23 Oct 2014 12:25:05 +0000 (14:25 +0200)]
Don't show meter-type menu for MIDI-only meters

9 years agoanother round of compiler warning fixes
Robin Gareus [Thu, 23 Oct 2014 03:11:10 +0000 (05:11 +0200)]
another round of compiler warning fixes

9 years agoavoid name conflict with Note (gtk2_ardour/note.h)
Robin Gareus [Thu, 23 Oct 2014 01:40:44 +0000 (03:40 +0200)]
avoid name conflict with Note (gtk2_ardour/note.h)

9 years agosmall round of compiler warning fixes
Robin Gareus [Thu, 23 Oct 2014 01:32:14 +0000 (03:32 +0200)]
small round of compiler warning fixes

9 years agosilence clang ‘unused include file/compiler flag’ warnings
Robin Gareus [Thu, 23 Oct 2014 00:59:47 +0000 (02:59 +0200)]
silence clang ‘unused include file/compiler flag’ warnings

9 years agowindows installer: add option to use zlib (a lot faster)
Robin Gareus [Wed, 22 Oct 2014 21:58:57 +0000 (23:58 +0200)]
windows installer: add option to use zlib (a lot faster)

9 years agofix jack/mingw compilation
Robin Gareus [Wed, 22 Oct 2014 21:57:55 +0000 (23:57 +0200)]
fix jack/mingw compilation

9 years agofix delivery of MMC events under split process cycle conditions
Paul Davis [Wed, 22 Oct 2014 21:06:53 +0000 (17:06 -0400)]
fix delivery of MMC events under split process cycle conditions

9 years agorequire a timestamp on MIDI::MachineControl::send()
Paul Davis [Wed, 22 Oct 2014 21:06:33 +0000 (17:06 -0400)]
require a timestamp on MIDI::MachineControl::send()

9 years agofix timestamps for immediate MIDI events to deal with split process cycle conditions
Paul Davis [Wed, 22 Oct 2014 21:05:58 +0000 (17:05 -0400)]
fix timestamps for immediate MIDI events to deal with split process cycle conditions

9 years agoerror/debug output when dropping MIDI event due to timing now shows MIDI bytes
Paul Davis [Wed, 22 Oct 2014 21:04:12 +0000 (17:04 -0400)]
error/debug output when dropping MIDI event due to timing now shows MIDI bytes

9 years agoremove unused code
Paul Davis [Wed, 22 Oct 2014 21:02:38 +0000 (17:02 -0400)]
remove unused code

9 years agofix all 4 backends' failure to include the main "backend" thread when computing ...
Paul Davis [Wed, 22 Oct 2014 21:02:15 +0000 (17:02 -0400)]
fix all 4 backends' failure to include the main "backend" thread when computing ::in_process_thread()

9 years agoignore negative value locates and MMC locate commands
Paul Davis [Wed, 22 Oct 2014 16:18:31 +0000 (12:18 -0400)]
ignore negative value locates and MMC locate commands

9 years agoprevent negative playhead positions from entering code via serialized state
Paul Davis [Wed, 22 Oct 2014 16:17:59 +0000 (12:17 -0400)]
prevent negative playhead positions from entering code via serialized state

9 years agoremove obsolete jack includes in libardour
Robin Gareus [Wed, 22 Oct 2014 14:56:12 +0000 (16:56 +0200)]
remove obsolete jack includes in libardour

9 years agowindows: allow loading session with absolute path
Robin Gareus [Wed, 22 Oct 2014 13:22:55 +0000 (15:22 +0200)]
windows: allow loading session with absolute path

9 years agohide splash screen on Windows
Robin Gareus [Wed, 22 Oct 2014 12:29:33 +0000 (14:29 +0200)]
hide splash screen on Windows

..until we get GDK window stack to play along.

9 years agorevert to previous waf version
Paul Davis [Wed, 22 Oct 2014 02:58:31 +0000 (22:58 -0400)]
revert to previous waf version

9 years agoremove "canvasvar_" from all functions related to obtaining values from ARDOUR_UI...
Paul Davis [Wed, 22 Oct 2014 02:55:08 +0000 (22:55 -0400)]
remove "canvasvar_" from all functions related to obtaining values from ARDOUR_UI::config()

9 years agosome keyboard layouts have KP_Separator instead of KP_Decimal
Ben Loftis [Tue, 21 Oct 2014 21:36:15 +0000 (16:36 -0500)]
some keyboard layouts have KP_Separator instead of KP_Decimal

9 years agoslightly closer to correct color for peak display button when not active.
Paul Davis [Tue, 21 Oct 2014 21:26:52 +0000 (17:26 -0400)]
slightly closer to correct color for peak display button when not active.

This cannot be correct at present because all buttons get a fade applied to them.

9 years agoset correct font for peak display button
Paul Davis [Tue, 21 Oct 2014 21:26:21 +0000 (17:26 -0400)]
set correct font for peak display button

9 years agoadd ::set_layout_font (const Pango::FontDescription&) to ArdourButton
Paul Davis [Tue, 21 Oct 2014 21:25:50 +0000 (17:25 -0400)]
add ::set_layout_font (const Pango::FontDescription&) to ArdourButton

9 years agochange the peak display widget from Gtkmm2ext::FocusEntry to ArdourButton, since...
Paul Davis [Tue, 21 Oct 2014 20:01:23 +0000 (16:01 -0400)]
change the peak display widget from Gtkmm2ext::FocusEntry to ArdourButton, since it is absolutely not editable.

This adds a new button name and corresponding colors in default_ui_config which requires a theme reset

9 years agomigrate build & package scripts to where they belong.
Robin Gareus [Tue, 21 Oct 2014 18:16:10 +0000 (20:16 +0200)]
migrate build & package scripts to where they belong.

The build stack-script remains in ardour-build-tools.

9 years agoa few tweaks to zoom computations so that zoom-to-range works correctly
Paul Davis [Tue, 21 Oct 2014 18:48:45 +0000 (14:48 -0400)]
a few tweaks to zoom computations so that zoom-to-range works correctly

9 years agoremove mouse zoom mode; bind z to zoom-to-range
Paul Davis [Tue, 21 Oct 2014 16:47:53 +0000 (12:47 -0400)]
remove mouse zoom mode; bind z to zoom-to-range

9 years agofix note 15897 on #5589 - only use fader cursor for region gain line when in mouse...
Paul Davis [Tue, 21 Oct 2014 15:50:06 +0000 (11:50 -0400)]
fix note 15897 on #5589 - only use fader cursor for region gain line when in mouse gain mode

9 years agoadd mouse mode enums to enums.cc (just for utility purposes)
Paul Davis [Tue, 21 Oct 2014 15:49:27 +0000 (11:49 -0400)]
add mouse mode enums to enums.cc (just for utility purposes)

9 years agoDisallow midi-note duration changes beyond region boundaries
Robin Gareus [Tue, 21 Oct 2014 13:12:13 +0000 (15:12 +0200)]
Disallow midi-note duration changes beyond region boundaries

Fixes crash/assert with negative Beats.

TODO discuss alternative:
 automatically extend/trim region (if possible) or
 accept but hide notes that are out of bounds. That would need
 some solution for ghost notes which still can have negative Beats
 while dragging.

9 years agofix midi-ghost region y-scale
Robin Gareus [Tue, 21 Oct 2014 12:05:41 +0000 (14:05 +0200)]
fix midi-ghost region y-scale

9 years agofix track height resizing on OSX.
Robin Gareus [Tue, 21 Oct 2014 11:20:17 +0000 (13:20 +0200)]
fix track height resizing on OSX.

If the transport is running, g_idle with G_PRIORITY_DEFAULT_IDLE is
never called.

TODO: check other g_idle functions in libs/gtkmm2ext

9 years agofix region drag/drop from region list
Robin Gareus [Tue, 21 Oct 2014 09:46:15 +0000 (11:46 +0200)]
fix region drag/drop from region list

The canvas’ Y-offset (rulers & scroll) needs to be subtracted here.

9 years agofix stuck key-grab/scrolling.
Robin Gareus [Tue, 21 Oct 2014 09:07:53 +0000 (11:07 +0200)]
fix stuck key-grab/scrolling.

Problem: mouse-scrolling over a MIDI region in internal edit mode
never released “magic widget focus” (mod keys and global scrolls after
that were ignored). -> added to leave_notify.

Also, the MouseModeChanged signal needs to be emitted when internal edit,
mode changes in order to trigger MidiRegionView::mouse_mode_changed(),
which in turn releases the magic focus while still hovering over a MIDI
region.

9 years agoMidi Region: pass unhandled scroll events to regionview
Robin Gareus [Tue, 21 Oct 2014 09:01:28 +0000 (11:01 +0200)]
Midi Region: pass unhandled scroll events to regionview

see note in MidiRegionView::scroll: “allow PrimaryModifier scroll
through so that it still works for zoom.”

9 years agostopgap solution for VST plugins that call audioMasterWantMidi during effOpen
Robin Gareus [Mon, 20 Oct 2014 21:30:33 +0000 (23:30 +0200)]
stopgap solution for VST plugins that call audioMasterWantMidi during effOpen

audioMasterWantMidi needs plugin _info, but _info is currently only
available after instantiating the plugin in LXVSTPluginInfo::load().

vstfx_instantiate() -> effOpen -> [plugin] -> vst_callback(..,opcode=6,..) -> crash

9 years agoadd support for VST plugins without any parameters
Robin Gareus [Mon, 20 Oct 2014 21:21:58 +0000 (23:21 +0200)]
add support for VST plugins without any parameters

9 years agotrack height fixes:
Robin Gareus [Mon, 20 Oct 2014 18:33:28 +0000 (20:33 +0200)]
track height fixes:

* retain [custom] track-height
  Editor::override_visible_track_count() is called repeatedly (for
  every change), there was a 50/50 chance of it saving the right value.

* adjust default for new sessions: use “Normal” track height until
  told otherwise.

9 years agoOS 10.10 compile fixes
Robin Gareus [Sun, 19 Oct 2014 17:54:01 +0000 (19:54 +0200)]
OS 10.10 compile fixes

 * fix clang pickiness regarding boolean
 * ignore ‘verify’ macro
 * tested with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)

9 years agoseparate host and target (OSX)
Robin Gareus [Sun, 19 Oct 2014 19:26:17 +0000 (21:26 +0200)]
separate host and target (OSX)

9 years agogit ignore OSX packaging
Robin Gareus [Sun, 19 Oct 2014 18:43:38 +0000 (20:43 +0200)]
git ignore OSX packaging

9 years agowindows: don’t popup message box when libjack is not found
Robin Gareus [Fri, 17 Oct 2014 08:58:49 +0000 (10:58 +0200)]
windows: don’t popup message box when libjack is not found

9 years agofix midi automation sliders
Robin Gareus [Thu, 16 Oct 2014 19:21:11 +0000 (21:21 +0200)]
fix midi automation sliders

Allow controls to work without a list. see also 34c1465 and b469cd2

9 years agoadd tearoff reattach for the editor
Paul Davis [Thu, 16 Oct 2014 17:43:07 +0000 (13:43 -0400)]
add tearoff reattach for the editor

9 years agoadd action and menu entry for "reattach all tearoffs".
Paul Davis [Thu, 16 Oct 2014 17:31:20 +0000 (13:31 -0400)]
add action and menu entry for "reattach all tearoffs".

So far only does the transport tearoff

9 years agoadd OSX 10.9 version flags
Robin Gareus [Thu, 16 Oct 2014 14:16:41 +0000 (16:16 +0200)]
add OSX 10.9 version flags

TODO: here, Xcode 6.0.1 and OS10.9.5  mmacosx-version-min=10.5 works
and produces binaries compatible with 10.5 or later, but that may
no be standard. - Please x-check, for now 10.8 should work everywhere.

9 years agoinclude default UI config file in linux package
Paul Davis [Thu, 16 Oct 2014 11:22:26 +0000 (07:22 -0400)]
include default UI config file in linux package

9 years agopackage ui_dark.rc file in linux packages
Paul Davis [Thu, 16 Oct 2014 10:17:48 +0000 (06:17 -0400)]
package ui_dark.rc file in linux packages

9 years agoremove duplicate windows includes
Robin Gareus [Thu, 16 Oct 2014 09:51:47 +0000 (11:51 +0200)]
remove duplicate windows includes

9 years agoMerge branch 'cairocanvas'
Paul Davis [Thu, 16 Oct 2014 09:12:52 +0000 (05:12 -0400)]
Merge branch 'cairocanvas'

9 years agowhen cancelling an import, call DropReferences so that the Session forgets about...
Paul Davis [Thu, 16 Oct 2014 01:12:19 +0000 (21:12 -0400)]
when cancelling an import, call DropReferences so that the Session forgets about the new sources.

Not doing this leaves the sources in the session list and then the session fails to open on next load
because the files are not there.

Arguably we should not announce the new files until they are complete, but this is a simpler fix for now.

9 years agoforward port ffd5c24 from master (extend video file ext list)
Robin Gareus [Wed, 15 Oct 2014 23:15:45 +0000 (01:15 +0200)]
forward port ffd5c24 from master (extend video file ext list)

9 years agoremove debug output
Paul Davis [Wed, 15 Oct 2014 23:08:46 +0000 (19:08 -0400)]
remove debug output

9 years agowhen flushing notifications/signals from an ARDOUR::Playlist, emit the RegionAdded...
Paul Davis [Wed, 15 Oct 2014 22:44:17 +0000 (18:44 -0400)]
when flushing notifications/signals from an ARDOUR::Playlist, emit the RegionAdded/ContentsChanged signals first so that when LayersChanged is sent, the receivers know about all the new regions

9 years agoadd mutex/lock to all Evoral::SMF methods that use _smf/libsmf, to avoid inadvertent...
Paul Davis [Wed, 15 Oct 2014 19:12:02 +0000 (15:12 -0400)]
add mutex/lock to all Evoral::SMF methods that use _smf/libsmf, to avoid inadvertent corruption via multithreaded access.

Serialization of Session::save_state() will already protect against most of this, but there is really no
good reason why Evoral::SMF's API should require single-threaded/explicit serialization.

9 years agoallow internal generators to make noise, even if we are not rolling, and using auto...
Ben Loftis [Wed, 15 Oct 2014 16:09:00 +0000 (11:09 -0500)]
allow internal generators to make noise, even if we are not rolling, and using auto-input

9 years agoallow zero-latency sessions
Robin Gareus [Wed, 15 Oct 2014 13:49:49 +0000 (15:49 +0200)]
allow zero-latency sessions

e.g. sessions with disconnected master-out,
or Dummmy (both jack and ardour) with no latency.

9 years agomake backend selection by product name more explicit
Paul Davis [Tue, 14 Oct 2014 20:58:11 +0000 (16:58 -0400)]
make backend selection by product name more explicit

9 years agocorrect msg in fatal error
Paul Davis [Tue, 14 Oct 2014 16:57:39 +0000 (12:57 -0400)]
correct msg in fatal error

9 years agoremove code commented out in 0874426a (2009/06)
Paul Davis [Tue, 14 Oct 2014 16:56:28 +0000 (12:56 -0400)]
remove code commented out in 0874426a (2009/06)

9 years agoContainers should not consider the size of invisible items when computing their own...
Paul Davis [Tue, 14 Oct 2014 02:40:08 +0000 (22:40 -0400)]
Containers should not consider the size of invisible items when computing their own bounding boxes.

This fixes issues related to the rulers container believing it was taller than it actually is, and possibly other issues also

9 years agofix note 0015914 (part of #5589)
Paul Davis [Tue, 14 Oct 2014 01:02:20 +0000 (21:02 -0400)]
fix note 0015914 (part of #5589)

9 years agofix note 0015900 on #5589 (cursor doesn't change when switching edit point
Paul Davis [Mon, 13 Oct 2014 19:19:07 +0000 (15:19 -0400)]
fix note 0015900 on #5589 (cursor doesn't change when switching edit point

9 years agoremove default/testing tooltips from the canvas
Paul Davis [Mon, 13 Oct 2014 17:53:07 +0000 (13:53 -0400)]
remove default/testing tooltips from the canvas

9 years agotweak implementation of Session::audible_frame() to be a little more defensible,...
Paul Davis [Mon, 13 Oct 2014 03:00:14 +0000 (23:00 -0400)]
tweak implementation of Session::audible_frame() to be a little more defensible, and correct problems with record align/playhead position while disconnected from physical outputs

9 years agomigrate windows build script to ardour-build-tools repository
Robin Gareus [Sun, 12 Oct 2014 09:33:51 +0000 (11:33 +0200)]
migrate windows build script to ardour-build-tools repository

9 years agofix scanning of VST shell plugins
Robin Gareus [Sat, 11 Oct 2014 20:19:23 +0000 (22:19 +0200)]
fix scanning of VST shell plugins

9 years agoadd script to run vst-scanner in gdb
Robin Gareus [Sat, 11 Oct 2014 19:00:59 +0000 (21:00 +0200)]
add script to run vst-scanner in gdb

9 years agorevert 8ca546e - original version was correct (note added)
Robin Gareus [Sat, 11 Oct 2014 13:00:52 +0000 (15:00 +0200)]
revert 8ca546e - original version was correct (note added)

9 years agoadd a Dummy Backend Loopback mode:
Robin Gareus [Sat, 11 Oct 2014 12:47:35 +0000 (14:47 +0200)]
add a Dummy Backend Loopback mode:

9 years agoamend 5d0303b - fix editor summary leak
Robin Gareus [Sat, 11 Oct 2014 11:36:52 +0000 (13:36 +0200)]
amend 5d0303b - fix editor summary leak

9 years agofix LTC generator latency compensation.
Robin Gareus [Sat, 11 Oct 2014 09:15:08 +0000 (11:15 +0200)]
fix LTC generator latency compensation.

9 years agosubtle changes to accomplish two goals (1) playhead should stop where the user presse...
Paul Davis [Fri, 10 Oct 2014 17:22:45 +0000 (13:22 -0400)]
subtle changes to accomplish two goals (1) playhead should stop where the user pressed stopped (2) captured regions should end where the playhead ends

9 years agoensure registration of all SessionEvent types
Paul Davis [Fri, 10 Oct 2014 17:21:46 +0000 (13:21 -0400)]
ensure registration of all SessionEvent types

9 years agomake output of SessionEventManager::dump_events() a bit more readable
Paul Davis [Fri, 10 Oct 2014 17:20:28 +0000 (13:20 -0400)]
make output of SessionEventManager::dump_events() a bit more readable

9 years agofix memory leak in editor summary.
Robin Gareus [Fri, 10 Oct 2014 14:18:03 +0000 (16:18 +0200)]
fix memory leak in editor summary.

9 years agoamend previous commit
Robin Gareus [Fri, 10 Oct 2014 13:24:52 +0000 (15:24 +0200)]
amend previous commit

blame gitx 0.15.1949: it updates the stage view
even though the changes are not staged.

9 years agoadd script to run ardour in valgrind/massif
Robin Gareus [Fri, 10 Oct 2014 13:03:26 +0000 (15:03 +0200)]
add script to run ardour in valgrind/massif

9 years agocleanup unused nested regions:
Robin Gareus [Fri, 10 Oct 2014 12:12:48 +0000 (14:12 +0200)]
cleanup unused nested regions:

This and two previous commits fixes #5979

9 years agoProperly count nested regions
Robin Gareus [Fri, 10 Oct 2014 12:11:43 +0000 (14:11 +0200)]
Properly count nested regions

9 years agore-reference regions during uncombine - #5979
Robin Gareus [Fri, 10 Oct 2014 12:05:49 +0000 (14:05 +0200)]
re-reference regions during uncombine - #5979

9 years agoadd support for OSX 10.9 clang's lldb (there's no gdb on 10.9)
Robin Gareus [Thu, 9 Oct 2014 07:56:18 +0000 (09:56 +0200)]
add support for OSX 10.9 clang's lldb  (there's no gdb on 10.9)

9 years agofix dup free in waves/midi:
Robin Gareus [Thu, 9 Oct 2014 07:48:54 +0000 (09:48 +0200)]
fix dup free in waves/midi:

The PortMidi queue just holds a pointer to the midi events.
The same Midi events are free()d during WavesMidiBuffer::clear()
which is called at cycle start for every buffer and in the dtor
of the WavesMidiBuffer.

9 years agofix wavesbackend midi timing
Robin Gareus [Thu, 9 Oct 2014 07:43:53 +0000 (09:43 +0200)]
fix wavesbackend midi timing

9 years agofix setting OSX DMG background for 10.9.X
Robin Gareus [Wed, 8 Oct 2014 17:16:31 +0000 (19:16 +0200)]
fix setting OSX DMG background for 10.9.X

9 years agoinitialize some uninitialized vars - closes #5974
Robin Gareus [Wed, 8 Oct 2014 17:16:21 +0000 (19:16 +0200)]
initialize some uninitialized vars - closes #5974

9 years agoMSVC - add support for 'HAVE_NEW_LV2'
John Emmas [Wed, 8 Oct 2014 14:03:39 +0000 (15:03 +0100)]
MSVC - add support for 'HAVE_NEW_LV2'

(after updating to the latest versions of serd, sord, sratom and lilv)

9 years agoWhen building 'libs/pbd/cpus.cc' (with MSVC) make sure we know what 'PTW32_VERSION' is
John Emmas [Wed, 8 Oct 2014 14:00:51 +0000 (15:00 +0100)]
When building 'libs/pbd/cpus.cc' (with MSVC) make sure we know what 'PTW32_VERSION' is

9 years agoAdd a newly introduced header file to our MSVC project (dummy_audiobackend)
John Emmas [Wed, 8 Oct 2014 13:58:57 +0000 (14:58 +0100)]
Add a newly introduced header file to our MSVC project (dummy_audiobackend)

9 years agoupdate osx DMG icon tool paths
Robin Gareus [Tue, 7 Oct 2014 23:00:51 +0000 (01:00 +0200)]
update osx DMG icon tool paths

OS 10.9 no longer has /Developer, but
DeRez, Rez & SetFile are in $PATH since at least 10.6

9 years agowin-build:
Robin Gareus [Tue, 7 Oct 2014 22:57:37 +0000 (00:57 +0200)]
win-build:

* /tmp -> /var/tmp for persistence
* allow 32 & 64bit stacks to co-exist
* enable ASIO/waves backend by default

9 years agoadd correct copyright statements to all files in Waves backend except those derived...
Paul Davis [Tue, 7 Oct 2014 20:09:29 +0000 (16:09 -0400)]
add correct copyright statements to all files in Waves backend except those derived from portaudio/portmidi

This follows the letter sent from Waves Audio Ltd. to Paul Davis dated February 20th 2014 agreeing to release this code
under the GNU Public License, version 2, with copyright owned by Waves Audio Ltd

9 years agofix crashes for plugin using maxBlockLength during latency compute.
Robin Gareus [Tue, 7 Oct 2014 19:45:46 +0000 (21:45 +0200)]
fix crashes for plugin using maxBlockLength during latency compute.

9 years agoavoid a set of calls to gettext() and/or cousins from global constructor scope
Paul Davis [Tue, 7 Oct 2014 18:27:12 +0000 (14:27 -0400)]
avoid a set of calls to gettext() and/or cousins from global constructor scope

9 years agoadd explanatory comment for future historians
Paul Davis [Tue, 7 Oct 2014 14:57:08 +0000 (10:57 -0400)]
add explanatory comment for future historians

9 years agoNOOP, proper label for flat carbon header includes
Robin Gareus [Tue, 7 Oct 2014 14:53:10 +0000 (16:53 +0200)]
NOOP, proper label for flat carbon header includes

9 years agoOSX 10.9.5 clang++ loves nil more than ever
Robin Gareus [Tue, 7 Oct 2014 12:48:08 +0000 (14:48 +0200)]
OSX 10.9.5 clang++ loves nil more than ever

#undef nil // for sigc++ compat does no longer work as expected.

9 years agoOSX 10.9.5 compile fixes - part one
Robin Gareus [Tue, 7 Oct 2014 12:46:06 +0000 (14:46 +0200)]
OSX 10.9.5 compile fixes - part one

9 years ago64bit windows VSTs
Robin Gareus [Sun, 5 Oct 2014 16:11:11 +0000 (18:11 +0200)]
64bit windows VSTs