ardour.git
9 years agowin32_pthread is relevant for both: MSVC & MINGW
Robin Gareus [Tue, 30 Sep 2014 16:52:34 +0000 (18:52 +0200)]
win32_pthread is relevant for both: MSVC & MINGW

9 years agothere's no random() on window, but no matter
Robin Gareus [Tue, 30 Sep 2014 16:51:31 +0000 (18:51 +0200)]
there's no random() on window, but no matter

9 years agoadd missing header include (for snprintf)
Robin Gareus [Tue, 30 Sep 2014 16:51:08 +0000 (18:51 +0200)]
add missing header include (for snprintf)

9 years agorename variable: 'small' is a keyword on mingw/win32
Robin Gareus [Tue, 30 Sep 2014 16:50:41 +0000 (18:50 +0200)]
rename variable: 'small' is a keyword on mingw/win32

9 years agorevert stupid change that breaks python3 and was probably related to other python...
Paul Davis [Tue, 30 Sep 2014 01:37:55 +0000 (21:37 -0400)]
revert stupid change that breaks python3 and was probably related to other python-related issues fixed when support for python3 was added to our wscript files

9 years agofix typos in prev commit.
Robin Gareus [Sun, 28 Sep 2014 19:22:12 +0000 (21:22 +0200)]
fix typos in prev commit.

9 years agoprepare self-extracting installer using 'makeself'
Robin Gareus [Sun, 28 Sep 2014 19:13:18 +0000 (21:13 +0200)]
prepare self-extracting installer using 'makeself'

see also http://megastep.org/makeself/

9 years agopartial fix for #5973 (multi-track midi file import)
Robin Gareus [Sun, 28 Sep 2014 18:36:04 +0000 (20:36 +0200)]
partial fix for #5973 (multi-track midi file import)

9 years agocopy plugin-state from template on session creation (amend 3353b48)
Robin Gareus [Sun, 28 Sep 2014 17:25:40 +0000 (19:25 +0200)]
copy plugin-state from template on session creation (amend 3353b48)

9 years agofix templates: copy plugin state
Robin Gareus [Sun, 28 Sep 2014 16:22:47 +0000 (18:22 +0200)]
fix templates: copy plugin state

9 years agorecursive file copy function
Robin Gareus [Sun, 28 Sep 2014 16:18:03 +0000 (18:18 +0200)]
recursive file copy function

9 years agofix compiler warning from missing default statement in switch
Paul Davis [Sat, 27 Sep 2014 22:09:16 +0000 (18:09 -0400)]
fix compiler warning from missing default statement in switch

9 years agoinvalidate meter's ColorsChanged connection:
Robin Gareus [Sat, 27 Sep 2014 17:17:13 +0000 (19:17 +0200)]
invalidate meter's ColorsChanged connection:

fixes crash: open session, close, open another session, change theme.
old [destoyed] meters from first session were notified about color change.

9 years agoun-hardcode DIN & VU meter-colors,
Robin Gareus [Fri, 26 Sep 2014 14:10:06 +0000 (16:10 +0200)]
un-hardcode DIN & VU meter-colors,

9 years agoend tooltip timeout and display for relevant leave notify events
Paul Davis [Fri, 26 Sep 2014 21:06:38 +0000 (17:06 -0400)]
end tooltip timeout and display for relevant leave notify events

9 years agonext (final?) part of handling missing MIDI files. 3.5.403
Paul Davis [Fri, 26 Sep 2014 19:38:48 +0000 (15:38 -0400)]
next (final?) part of handling missing MIDI files.

If an external-to-session file is missing, consider it a fatal error in session
loading.

If an internal-to-session file is missing, just create a new MIDI source with
the same path and ID, and use that instead.

9 years agonext (final?) part of handling missing MIDI files.
Paul Davis [Wed, 24 Sep 2014 23:03:59 +0000 (19:03 -0400)]
next (final?) part of handling missing MIDI files.

If an external-to-session file is missing, consider it a fatal error in session loading.
If an internal-to-session file is missing, just create a new MIDI source with the same path and ID, and use that instead.

9 years agofurther tweaks to canvas tooltip mechanism
Paul Davis [Fri, 26 Sep 2014 16:24:47 +0000 (12:24 -0400)]
further tweaks to canvas tooltip mechanism

9 years agodisplay and position canvas tooltip window
Paul Davis [Fri, 26 Sep 2014 15:05:24 +0000 (11:05 -0400)]
display and position canvas tooltip window

9 years agoreinstate tooltip style
Paul Davis [Fri, 26 Sep 2014 15:04:56 +0000 (11:04 -0400)]
reinstate tooltip style

9 years agobasic design of Canvas item tooltip mechanism.
Paul Davis [Fri, 26 Sep 2014 01:43:15 +0000 (21:43 -0400)]
basic design of Canvas item tooltip mechanism.

No window yet to actually display the tooltip.

9 years agonext (final?) part of handling missing MIDI files.
Paul Davis [Wed, 24 Sep 2014 23:03:59 +0000 (19:03 -0400)]
next (final?) part of handling missing MIDI files.

If an external-to-session file is missing, consider it a fatal error in session loading.
If an internal-to-session file is missing, just create a new MIDI source with the same path and ID, and use that instead.

9 years agoDummyBackend: symmetric freq sweep: up/down
Robin Gareus [Wed, 24 Sep 2014 16:46:54 +0000 (18:46 +0200)]
DummyBackend: symmetric freq sweep: up/down

9 years agoDummyBackend: add sine-sweep generators
Robin Gareus [Wed, 24 Sep 2014 15:24:25 +0000 (17:24 +0200)]
DummyBackend: add sine-sweep generators

9 years agofix some double promotion
Robin Gareus [Wed, 24 Sep 2014 15:18:20 +0000 (17:18 +0200)]
fix some double promotion

9 years agoDummyBackend: two more audio-signal generators (useful for waveform check)
Robin Gareus [Tue, 23 Sep 2014 23:11:38 +0000 (01:11 +0200)]
DummyBackend: two more audio-signal generators (useful for waveform check)

9 years agoDummyBackend: MIDI Event Generators
Robin Gareus [Tue, 23 Sep 2014 23:04:19 +0000 (01:04 +0200)]
DummyBackend: MIDI Event Generators

9 years agoALSA backend: initial device selection
Robin Gareus [Tue, 16 Sep 2014 06:59:27 +0000 (08:59 +0200)]
ALSA backend: initial device selection

9 years agofix typo that selected wrong sample rate for 22050Hz export
Paul Davis [Mon, 22 Sep 2014 18:31:06 +0000 (14:31 -0400)]
fix typo that selected wrong sample rate for 22050Hz export

9 years agofix position of left edge of a marker rectangle when the label is on the left, and...
Paul Davis [Mon, 22 Sep 2014 16:03:30 +0000 (12:03 -0400)]
fix position of left edge of a marker rectangle when the label is on the left, and slightly pad the rectangle when the label is on the right

9 years agoalter the way the border of Canvas::Rectangle is drawn to meet the intent that a...
Paul Davis [Mon, 22 Sep 2014 15:35:55 +0000 (11:35 -0400)]
alter the way the border of Canvas::Rectangle is drawn to meet the intent that a single pixel border passes through the corner coordinates

9 years agoFix finding session templates
Colin Fletcher [Mon, 22 Sep 2014 12:21:14 +0000 (13:21 +0100)]
Fix finding session templates

Session templates are directories: use find_paths_matching_filter() rather
that find_files_matching_filter() to search for them. Fix a tiny comment
typo I spotted along the way too.

9 years agoadd Location::set_skip() to allow toggling of skip-functionality for a given Location
Paul Davis [Sat, 20 Sep 2014 03:21:17 +0000 (23:21 -0400)]
add Location::set_skip() to allow toggling of skip-functionality for a given Location

9 years agouse new ARDOUR::Location signals in GUI
Paul Davis [Sat, 20 Sep 2014 02:50:50 +0000 (22:50 -0400)]
use new ARDOUR::Location signals in GUI

Conflicts:
gtk2_ardour/editor_markers.cc

9 years agoduplicate all ARDOUR::Location signals so that we have one static signal that identif...
Paul Davis [Sat, 20 Sep 2014 02:50:34 +0000 (22:50 -0400)]
duplicate all ARDOUR::Location signals so that we have one static signal that identifies the subject location and one member signal that does not

9 years agoplugin widgets were written to use Internal values, so use that for now
Ben Loftis [Thu, 18 Sep 2014 22:25:11 +0000 (17:25 -0500)]
plugin widgets were written to use Internal values, so use that for now

9 years agoFix some inconsistent usage of a Controllables Interface value.
Ben Loftis [Thu, 18 Sep 2014 21:35:03 +0000 (16:35 -0500)]
Fix some inconsistent usage of a Controllables Interface value.
This breaks a lot of controls, because they are misusing it as well.

9 years agoadd action and menu item to control use of skip playback
Paul Davis [Wed, 17 Sep 2014 16:28:36 +0000 (12:28 -0400)]
add action and menu item to control use of skip playback

9 years agodo not mark session dirty during loading process; sync with loaded locations state...
Paul Davis [Wed, 17 Sep 2014 16:28:09 +0000 (12:28 -0400)]
do not mark session dirty during loading process; sync with loaded locations state using standard method

9 years agouse Config->get_skip_playback() when handling Skip events
Paul Davis [Wed, 17 Sep 2014 16:27:21 +0000 (12:27 -0400)]
use Config->get_skip_playback() when handling Skip events

9 years agonew Config var to control whether skip playback is used or not
Paul Davis [Wed, 17 Sep 2014 16:26:52 +0000 (12:26 -0400)]
new Config var to control whether skip playback is used or not

9 years agoadd IsSkip enum to enums.cc
Paul Davis [Wed, 17 Sep 2014 16:26:28 +0000 (12:26 -0400)]
add IsSkip enum to enums.cc

9 years agoshift-drag on range marker bar creates skip ranges, for now
Paul Davis [Wed, 17 Sep 2014 14:59:19 +0000 (10:59 -0400)]
shift-drag on range marker bar creates skip ranges, for now

9 years agoadd new Skip event to SessionEvents
Paul Davis [Wed, 17 Sep 2014 14:31:33 +0000 (10:31 -0400)]
add new Skip event to SessionEvents

9 years agofix small thinko with --no-lxvst option
Paul Davis [Wed, 17 Sep 2014 14:25:57 +0000 (10:25 -0400)]
fix small thinko with --no-lxvst option

9 years agonew code to support creating skip markers
Paul Davis [Wed, 17 Sep 2014 13:39:29 +0000 (09:39 -0400)]
new code to support creating skip markers

9 years agoremove old connections to (now) static Location signals
Paul Davis [Wed, 17 Sep 2014 13:39:05 +0000 (09:39 -0400)]
remove old connections to (now) static Location signals

9 years agoLocations::clear_ranges() leaves punch/loop/session ranges intact if they exist
Paul Davis [Wed, 17 Sep 2014 13:38:42 +0000 (09:38 -0400)]
Locations::clear_ranges() leaves punch/loop/session ranges intact if they exist

9 years agodo not stupidly try to save punch/loop/session ranges during clear_ranges op
Paul Davis [Wed, 17 Sep 2014 13:38:17 +0000 (09:38 -0400)]
do not stupidly try to save punch/loop/session ranges during clear_ranges op

9 years agocorrectly connect to Location static signals
Paul Davis [Wed, 17 Sep 2014 13:37:39 +0000 (09:37 -0400)]
correctly connect to Location static signals

9 years agoadd new type of location, with _flags & IsSkip being non-zero
Paul Davis [Wed, 17 Sep 2014 01:40:12 +0000 (21:40 -0400)]
add new type of location, with _flags & IsSkip being non-zero

9 years agoheader file part of initial attempt to push certain kinds of Locations into LocateRol...
Paul Davis [Wed, 17 Sep 2014 01:33:18 +0000 (21:33 -0400)]
header file part of initial attempt to push certain kinds of Locations into LocateRoll events on the timeline for skip lists

9 years agoinitial attempt to push certain kinds of Locations into LocateRoll events on the...
Paul Davis [Wed, 17 Sep 2014 01:32:58 +0000 (21:32 -0400)]
initial attempt to push certain kinds of Locations into LocateRoll events on the timeline for skip lists

9 years agoLocations should listen to location changed signals, and emit its own changed() signal
Paul Davis [Wed, 17 Sep 2014 01:31:19 +0000 (21:31 -0400)]
Locations should listen to location changed signals, and emit its own changed() signal

9 years agochange Location "change" signals of various kinds to be static
Paul Davis [Wed, 17 Sep 2014 01:30:16 +0000 (21:30 -0400)]
change Location "change" signals of various kinds to be static

9 years agoset the CairoWidget focus handler; reset focus when the mouse pointer leaves the...
Paul Davis [Tue, 16 Sep 2014 16:46:39 +0000 (12:46 -0400)]
set the CairoWidget focus handler; reset focus when the mouse pointer leaves the Editor window

9 years agoArdourButton should call the focus handler of CairoWidget from its button press event
Paul Davis [Tue, 16 Sep 2014 16:45:21 +0000 (12:45 -0400)]
ArdourButton should call the focus handler of CairoWidget from its button press event

9 years agoadd a focus handling callback so that all button press events on CairoWidgets will...
Paul Davis [Tue, 16 Sep 2014 16:42:39 +0000 (12:42 -0400)]
add a focus handling callback so that all button press events on CairoWidgets will cause a focus reset.

9 years agoescape should reset focus as well as abort drags/clear selection
Paul Davis [Tue, 16 Sep 2014 15:09:12 +0000 (11:09 -0400)]
escape should reset focus as well as abort drags/clear selection

9 years agofix API errors after cherry-picking empty MIDI file fixes from cairocanvas
Paul Davis [Mon, 15 Sep 2014 23:53:10 +0000 (19:53 -0400)]
fix API errors after cherry-picking empty MIDI file fixes from cairocanvas

9 years agoif a (file) source really cannot be found, differentiate between audio & MIDI.
Paul Davis [Mon, 15 Sep 2014 18:09:01 +0000 (14:09 -0400)]
if a (file) source really cannot be found, differentiate between audio & MIDI.

For now, recovering from missing MIDI is a no-can-do situation (because MIDI is inherently data-editable).

9 years agofix up condition where a MIDI filesource is marked empty, not found, and its _path...
Paul Davis [Mon, 15 Sep 2014 16:38:54 +0000 (12:38 -0400)]
fix up condition where a MIDI filesource is marked empty, not found, and its _path member is not set correctly

9 years agoFileSource should not generate its own error message when a file is missing
Paul Davis [Mon, 15 Sep 2014 16:38:16 +0000 (12:38 -0400)]
FileSource should not generate its own error message when a file is missing

Conflicts:
libs/ardour/file_source.cc

9 years agotentative fix for losing (empty) MIDI files. Incomplete because testing shows issues...
Paul Davis [Thu, 28 Aug 2014 18:01:52 +0000 (14:01 -0400)]
tentative fix for losing (empty) MIDI files. Incomplete because testing shows issues with some workflows

9 years agoif a (file) source really cannot be found, differentiate between audio & MIDI.
Paul Davis [Mon, 15 Sep 2014 18:09:01 +0000 (14:09 -0400)]
if a (file) source really cannot be found, differentiate between audio & MIDI.

For now, recovering from missing MIDI is a no-can-do situation (because MIDI is inherently data-editable).

9 years agofix up condition where a MIDI filesource is marked empty, not found, and its _path...
Paul Davis [Mon, 15 Sep 2014 16:38:54 +0000 (12:38 -0400)]
fix up condition where a MIDI filesource is marked empty, not found, and its _path member is not set correctly

9 years agoFileSource should not generate its own error message when a file is missing
Paul Davis [Mon, 15 Sep 2014 16:38:16 +0000 (12:38 -0400)]
FileSource should not generate its own error message when a file is missing

9 years agotentative fix for losing (empty) MIDI files. Incomplete because testing shows issues...
Paul Davis [Thu, 28 Aug 2014 18:01:52 +0000 (14:01 -0400)]
tentative fix for losing (empty) MIDI files. Incomplete because testing shows issues with some workflows

9 years agofix compiler warning
Paul Davis [Thu, 28 Aug 2014 18:01:12 +0000 (14:01 -0400)]
fix compiler warning

9 years agofix compiler warnings
Paul Davis [Thu, 28 Aug 2014 18:00:52 +0000 (14:00 -0400)]
fix compiler warnings

9 years agofix compiler warning
Paul Davis [Thu, 28 Aug 2014 18:00:31 +0000 (14:00 -0400)]
fix compiler warning

9 years agofix various loop-initiation faults
Ben Loftis [Mon, 15 Sep 2014 17:44:45 +0000 (12:44 -0500)]
fix various loop-initiation faults

9 years agofix double-click-shows-region-properties in Ripple mode
Ben Loftis [Mon, 15 Sep 2014 16:43:12 +0000 (11:43 -0500)]
fix double-click-shows-region-properties in Ripple mode

9 years agochange dummy backend to default to _("Silence").
Robin Gareus [Sat, 13 Sep 2014 20:51:42 +0000 (22:51 +0200)]
change dummy backend to default to _("Silence").

9 years agoosx packaging tweaks:
Robin Gareus [Sat, 13 Sep 2014 20:19:51 +0000 (22:19 +0200)]
osx packaging tweaks:

* include dummy if available
* don't complain about existing vfork dir

9 years agofix osx bundle script for new .rc file names
Robin Gareus [Sat, 13 Sep 2014 20:18:56 +0000 (22:18 +0200)]
fix osx bundle script for new .rc file names

9 years ago*t*racks not *c*hannels (amend 009ced9640)
Robin Gareus [Sat, 13 Sep 2014 17:57:04 +0000 (19:57 +0200)]
*t*racks not *c*hannels (amend 009ced9640)

9 years agofix CPI window handling:
Robin Gareus [Sat, 13 Sep 2014 14:59:02 +0000 (16:59 +0200)]
fix CPI window handling:

Move control-surface editor-window management to the control surface.
The Preferences-Dialog is not aware of session specific or surface
specific actions and cannot properly manage the window.

9 years agofix crash when importing midi files with >1 midi-channel -- fixes #5965
Robin Gareus [Sat, 13 Sep 2014 14:34:01 +0000 (16:34 +0200)]
fix crash when importing midi files with >1 midi-channel -- fixes #5965

9 years agoupdate ghost track colors:
Robin Gareus [Sat, 13 Sep 2014 13:19:33 +0000 (15:19 +0200)]
update ghost track colors:

'clip' and 'wave' need to have the same value,
since only either of them is painted.

desaturate background and show some wave-fill.

9 years agoNOOP, format default-config values
Robin Gareus [Sat, 13 Sep 2014 13:09:59 +0000 (15:09 +0200)]
NOOP, format default-config values

9 years agoFix restore of Jack driver setting
Colin Fletcher [Tue, 9 Sep 2014 10:01:09 +0000 (11:01 +0100)]
Fix restore of Jack driver setting

A small hack to ensure that the driver setting in the audio engine dialog
is restored when ardour starts up and when switching drivers.

9 years agoReturn playhead to last start position when aborting capture
Colin Fletcher [Sat, 2 Aug 2014 11:26:04 +0000 (12:26 +0100)]
Return playhead to last start position when aborting capture

9 years agoMake zoom-to-session include regions currently being recorded
Colin Fletcher [Sat, 2 Aug 2014 11:52:51 +0000 (12:52 +0100)]
Make zoom-to-session include regions currently being recorded

9 years agoFix spurious 'You cannot put a CD marker at this location' error
Colin Fletcher [Tue, 29 Jul 2014 15:33:39 +0000 (16:33 +0100)]
Fix spurious 'You cannot put a CD marker at this location' error

Fix the spurious error that occurs when loading a session where any marker
(not necessarily a CD marker) is located at 0 on the timeline.

9 years agoBe sure to initialise ExportFormatSpecification::_soundcloud_upload
Colin Fletcher [Tue, 29 Jul 2014 14:29:54 +0000 (15:29 +0100)]
Be sure to initialise ExportFormatSpecification::_soundcloud_upload

Initialise _soundcloud_upload in all constructors of
ExportFormatSpecification.

9 years agoAdd 2 new source files to our 'gtkmm2ext' project (MSVC)
John Emmas [Sat, 13 Sep 2014 08:56:58 +0000 (09:56 +0100)]
Add 2 new source files to our 'gtkmm2ext' project (MSVC)

9 years agoMinor - copy our built executable to a suitable folder for packaging (MSVC)
John Emmas [Sat, 13 Sep 2014 08:55:53 +0000 (09:55 +0100)]
Minor - copy our built executable to a suitable folder for packaging (MSVC)

9 years agoreasonable dB range for waveform clipping indicator
Robin Gareus [Fri, 12 Sep 2014 23:47:34 +0000 (01:47 +0200)]
reasonable dB range for waveform clipping indicator

9 years agodon't clamp wave-fill alpha value when using region color
Robin Gareus [Fri, 12 Sep 2014 23:46:04 +0000 (01:46 +0200)]
don't clamp wave-fill alpha value when using region color

9 years agoNOOP, remove trailing whitespace
Robin Gareus [Fri, 12 Sep 2014 23:44:05 +0000 (01:44 +0200)]
NOOP, remove trailing whitespace

9 years agowaveform drawing details:
Robin Gareus [Fri, 12 Sep 2014 23:34:27 +0000 (01:34 +0200)]
waveform drawing details:

* proper y-pixel alignment (+.5px offset)
* outline: draw dots (not 1px lines)
* shape: round towards peak (use signal, not top/bot)
* honor 2px red selection border
* work-around canvas rect +1 issue
* always draw clipping line towards center
* draw at most one clip-line at either side of 0.
* exact 1px wide zero line
* fix spread calculation for rectified view

9 years agoadd required visibility macros to Gtkmm2ext::CursorInfo
Paul Davis [Fri, 12 Sep 2014 18:33:18 +0000 (14:33 -0400)]
add required visibility macros to Gtkmm2ext::CursorInfo

9 years agowaveform: really draw 1px lines.
Robin Gareus [Fri, 12 Sep 2014 14:43:20 +0000 (16:43 +0200)]
waveform: really draw 1px lines.

9 years agoupdate waveform drawing for zoomed-in, non-overlapping min/max peaks
Robin Gareus [Fri, 12 Sep 2014 14:42:55 +0000 (16:42 +0200)]
update waveform drawing for zoomed-in, non-overlapping min/max peaks

9 years agofix crash at session close/exit if a midi-control-surface is used
Robin Gareus [Thu, 11 Sep 2014 17:29:55 +0000 (19:29 +0200)]
fix crash at session close/exit if a midi-control-surface is used

The "real" problem was that MidiControlUI is destroyed
while there are still MIDIControllables around that
still have a signal connection to a Controllable:
  controllable->Destroyed(..., MidiControlUI::instance())
If a Contrallable is deleted after the MidiControlUI
event loop is gone, the Destroyed() signal can create odd
situations...

9 years agoAPI flush static cairo pattern cache
Robin Gareus [Thu, 11 Sep 2014 00:40:18 +0000 (02:40 +0200)]
API flush static cairo pattern cache

(should probably be cleaned regularly
e.g. meterbridge resize)

9 years agoadd new MCP device file for original Mackie Control
Paul Davis [Thu, 11 Sep 2014 16:55:53 +0000 (12:55 -0400)]
add new MCP device file for original Mackie Control

9 years agoprovide compile-time-enabled/disabled debugging of connections being made to PBD...
Paul Davis [Thu, 11 Sep 2014 16:00:35 +0000 (12:00 -0400)]
provide compile-time-enabled/disabled debugging of connections being made to PBD::Signal via PBD::SignalBase::set_debug_connection()

9 years agomake valgrind output a bit more readable.
Robin Gareus [Thu, 11 Sep 2014 00:37:42 +0000 (02:37 +0200)]
make valgrind output a bit more readable.