ardour.git
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.

9 years agofix memory leak, changing semantics of PatchManager (needs x-check)
Robin Gareus [Thu, 11 Sep 2014 00:35:33 +0000 (02:35 +0200)]
fix memory leak, changing semantics of PatchManager (needs x-check)

9 years agofix a bunch of memory leaks
Robin Gareus [Thu, 11 Sep 2014 00:34:09 +0000 (02:34 +0200)]
fix a bunch of memory leaks

9 years agofix race-condition/segfault at exit:
Robin Gareus [Thu, 11 Sep 2014 00:32:36 +0000 (02:32 +0200)]
fix race-condition/segfault at exit:

suppress route-group-reorder signal when
session is being destroyed.

9 years agoproperly retain LV2PluginInfo
Robin Gareus [Thu, 11 Sep 2014 00:28:57 +0000 (02:28 +0200)]
properly retain LV2PluginInfo

9 years agoinitialize uninitialzed var
Robin Gareus [Wed, 10 Sep 2014 20:33:23 +0000 (22:33 +0200)]
initialize uninitialzed var

9 years agolook for per-cursor-set hotspot info file when setting up mouse cursors
Paul Davis [Wed, 10 Sep 2014 23:40:24 +0000 (19:40 -0400)]
look for per-cursor-set hotspot info file when setting up mouse cursors

9 years agofix/improve/test hotspot file parsing
Paul Davis [Wed, 10 Sep 2014 23:39:52 +0000 (19:39 -0400)]
fix/improve/test hotspot file parsing

9 years agoadd extra (default-ed) argument to ::get_icon_path() to allow it to be used to look...
Paul Davis [Wed, 10 Sep 2014 23:39:15 +0000 (19:39 -0400)]
add extra (default-ed) argument to ::get_icon_path() to allow it to be used to look for icon-related but non-image files

9 years agoimprove code for cursor creation; nominally use CursorInfo
Paul Davis [Wed, 10 Sep 2014 22:52:04 +0000 (18:52 -0400)]
improve code for cursor creation; nominally use CursorInfo
even though we have no info files yet

9 years agoadd copyright header comments
Paul Davis [Wed, 10 Sep 2014 22:50:58 +0000 (18:50 -0400)]
add copyright header comments

9 years agomove CursorInfo members into public access
Paul Davis [Wed, 10 Sep 2014 22:38:30 +0000 (18:38 -0400)]
move CursorInfo members into public access

9 years agoadd new (mostly) static class to permit lookup of cursor image hotspots
Paul Davis [Wed, 10 Sep 2014 20:47:49 +0000 (16:47 -0400)]
add new (mostly) static class to permit lookup of cursor image hotspots

9 years agoadd --no-lxvst option
Robin Gareus [Wed, 10 Sep 2014 18:55:32 +0000 (20:55 +0200)]
add --no-lxvst option

9 years agoprint "Scanning folders for bundled LV2s" only once.
Robin Gareus [Wed, 10 Sep 2014 18:44:17 +0000 (20:44 +0200)]
print "Scanning folders for bundled LV2s" only once.

9 years agodelete route-groups before flushing routes.
Robin Gareus [Wed, 10 Sep 2014 18:43:30 +0000 (20:43 +0200)]
delete route-groups before flushing routes.

9 years agogrep unused styles from gtkrc
Robin Gareus [Wed, 10 Sep 2014 15:52:20 +0000 (17:52 +0200)]
grep unused styles from gtkrc

9 years agodisable Midi Audition Synth if it cannot be found
Robin Gareus [Wed, 10 Sep 2014 14:55:49 +0000 (16:55 +0200)]
disable Midi Audition Synth if it cannot be found

no repetitive messages.

9 years agofix selection color in barcontroller's entry
Robin Gareus [Wed, 10 Sep 2014 11:16:01 +0000 (13:16 +0200)]
fix selection color in barcontroller's entry

9 years agobetter safe than sorry.
Robin Gareus [Wed, 10 Sep 2014 11:11:22 +0000 (13:11 +0200)]
better safe than sorry.

9 years agofix d421602c24
Robin Gareus [Wed, 10 Sep 2014 10:49:21 +0000 (12:49 +0200)]
fix d421602c24

9 years agodelete session XML object after loading and setting state.
Robin Gareus [Wed, 10 Sep 2014 03:18:09 +0000 (05:18 +0200)]
delete session XML object after loading and setting state.

9 years agofree LV2 world after initial scan
Robin Gareus [Wed, 10 Sep 2014 01:31:03 +0000 (03:31 +0200)]
free LV2 world after initial scan

9 years agoplug a major mem hog.
Robin Gareus [Tue, 9 Sep 2014 21:53:27 +0000 (23:53 +0200)]
plug a major mem hog.

(default empty session is now ~140MB RSS, was 280MB)
libXML memory was only free() at exit

9 years agoNOOP, indent & whitespace fixes
Robin Gareus [Tue, 9 Sep 2014 12:40:22 +0000 (14:40 +0200)]
NOOP, indent & whitespace fixes

9 years agoclean up midi channel controls
Robin Gareus [Tue, 9 Sep 2014 12:39:36 +0000 (14:39 +0200)]
clean up midi channel controls

9 years agofix scoomer scroll-wheel max value
Robin Gareus [Tue, 9 Sep 2014 12:31:33 +0000 (14:31 +0200)]
fix scoomer scroll-wheel max value

9 years agoAdd 'libs/pbd/pbd/pthread_utils.h' to our pbd project (msvc)
John Emmas [Tue, 9 Sep 2014 11:06:47 +0000 (12:06 +0100)]
Add 'libs/pbd/pbd/pthread_utils.h' to our pbd project (msvc)

9 years agoImplement the new pthread macros (for the Waves audio backend)
John Emmas [Tue, 9 Sep 2014 11:05:14 +0000 (12:05 +0100)]
Implement the new pthread macros (for the Waves audio backend)

9 years agoRe-introduce our pthread macros (after fixing an earlier typo)
John Emmas [Tue, 9 Sep 2014 11:03:52 +0000 (12:03 +0100)]
Re-introduce our pthread macros (after fixing an earlier typo)

these are so we can differentiate between 'libpthread' and 'libpthread-win32' (whose implementation is subtlely - though annoyingly! - different)

9 years agoRevert "Add a couple of pthread helper macros"
John Emmas [Tue, 9 Sep 2014 07:26:26 +0000 (08:26 +0100)]
Revert "Add a couple of pthread helper macros"

This reverts commit 8d0ec2403f3444e3a53d16b21f2f8557abd71b55.

9 years agohave another go at vertical text alignment
Robin Gareus [Tue, 9 Sep 2014 00:26:58 +0000 (02:26 +0200)]
have another go at vertical text alignment

9 years agoadd an easy way to debug button sizes
Robin Gareus [Mon, 8 Sep 2014 23:29:47 +0000 (01:29 +0200)]
add an easy way to debug button sizes

9 years agocomplete list from 68f0694ac0
Robin Gareus [Mon, 8 Sep 2014 23:24:17 +0000 (01:24 +0200)]
complete list from 68f0694ac0

9 years agotweak button text y-alignment
Robin Gareus [Mon, 8 Sep 2014 22:43:32 +0000 (00:43 +0200)]
tweak button text y-alignment

9 years agofix TAV text-entry size.
Robin Gareus [Mon, 8 Sep 2014 22:05:14 +0000 (00:05 +0200)]
fix TAV text-entry size.

for now: no round corners, gtk-entry + its frame
packing messes things up

9 years agoremove arbitrary button sizing for edit mode buttons
Ben Loftis [Mon, 8 Sep 2014 20:02:16 +0000 (15:02 -0500)]
remove arbitrary button sizing for edit mode buttons

9 years agofix typo in b9f075143
Robin Gareus [Mon, 8 Sep 2014 18:59:17 +0000 (20:59 +0200)]
fix typo in b9f075143

9 years agoVertically align Midi Notes, Piano Roll & Canvas Line Grid
Robin Gareus [Mon, 8 Sep 2014 16:44:32 +0000 (18:44 +0200)]
Vertically align Midi Notes, Piano Roll & Canvas Line Grid

9 years agofix color of top-most MIDI note line on the canvas
Robin Gareus [Mon, 8 Sep 2014 16:43:52 +0000 (18:43 +0200)]
fix color of top-most MIDI note line on the canvas

9 years agodon't start track-resize on scroomer click
Robin Gareus [Mon, 8 Sep 2014 16:43:28 +0000 (18:43 +0200)]
don't start track-resize on scroomer click

9 years agoMove Scroomer out of Track Selection Box:
Robin Gareus [Mon, 8 Sep 2014 16:43:08 +0000 (18:43 +0200)]
Move Scroomer out of Track Selection Box:

* no horiz space between Piano-Roll & Track
* 1:1 mapping of note's vertical space (no border)

9 years agovertical pixel alignment of all TAV elements
Robin Gareus [Mon, 8 Sep 2014 16:42:41 +0000 (18:42 +0200)]
vertical pixel alignment of all TAV elements

9 years agoALSA|Dummy: ignore port unregistration when engine is stopped
Robin Gareus [Sun, 7 Sep 2014 23:25:56 +0000 (01:25 +0200)]
ALSA|Dummy: ignore port unregistration when engine is stopped

When changing Engine parameters, ardour first stops
the engine and only later when re-etablishing ports
unregisters/re-registers them.

ALSA: silently ignore port unregs and silently accept registrations
Dummy: print a PBD::info message,

9 years agoALSA|Dummy Backend: do as jack does:
Robin Gareus [Sun, 7 Sep 2014 20:50:57 +0000 (22:50 +0200)]
ALSA|Dummy Backend: do as jack does:

when the backend is closed, unregister all ports.

9 years agofix midi audition port-connect warning
Robin Gareus [Sun, 7 Sep 2014 20:21:12 +0000 (22:21 +0200)]
fix midi audition port-connect warning

9 years agoyet another rec-button [no]blink fix
Robin Gareus [Sun, 7 Sep 2014 19:03:25 +0000 (21:03 +0200)]
yet another rec-button [no]blink fix

9 years agoremove debug message
Robin Gareus [Sun, 7 Sep 2014 18:42:50 +0000 (20:42 +0200)]
remove debug message

9 years agofix (auto-expand) typo in f23f379b3
Robin Gareus [Sun, 7 Sep 2014 18:33:11 +0000 (20:33 +0200)]
fix (auto-expand) typo in f23f379b3

9 years agoNOOP, re-indent, remove trailing whitespace, sort includes
Robin Gareus [Sun, 7 Sep 2014 18:11:28 +0000 (20:11 +0200)]
NOOP, re-indent, remove trailing whitespace, sort includes

9 years agodon't loose a redraw.
Robin Gareus [Sun, 7 Sep 2014 18:23:22 +0000 (20:23 +0200)]
don't loose a redraw.

This more or less obsoletes the DisplaySuspender.
While RAII is nice, the DisplaySuspender cannot be
used from outside gtk2_ardour eg Mute/Solo signals
notifications from libardour (which don't originate
from the GUI).

The DisplaySuspender is still useful, because it
explicitly disables re-display and forces a single
expose at the end.

9 years agospecial case track-header buttons
Robin Gareus [Sun, 7 Sep 2014 16:50:57 +0000 (18:50 +0200)]
special case track-header buttons

9 years agoyet another button tweak..
Robin Gareus [Sun, 7 Sep 2014 16:50:34 +0000 (18:50 +0200)]
yet another button tweak..

9 years agoprepare support for [color] style name postfix
Robin Gareus [Sun, 7 Sep 2014 01:02:28 +0000 (03:02 +0200)]
prepare support for [color] style name postfix

9 years agono horiz canvas scroll over track-header automation fader
Robin Gareus [Sun, 7 Sep 2014 00:32:29 +0000 (02:32 +0200)]
no horiz canvas scroll over track-header automation fader

9 years agotweak vertical size/position and layering of recording rect
Paul Davis [Sun, 7 Sep 2014 16:00:06 +0000 (12:00 -0400)]
tweak vertical size/position and layering of recording rect

9 years agocorrect the variable used to name the file when loading the default UI config file
Paul Davis [Sun, 7 Sep 2014 15:53:52 +0000 (11:53 -0400)]
correct the variable used to name the file when loading the default UI config file

9 years agotweak initial x-axis location of a recording rect (from grygorii zharun @ waves)
Paul Davis [Sun, 7 Sep 2014 15:34:24 +0000 (11:34 -0400)]
tweak initial x-axis location of a recording rect (from grygorii zharun @ waves)

9 years agoadd Session::record_location()
Paul Davis [Sun, 7 Sep 2014 15:33:47 +0000 (11:33 -0400)]
add Session::record_location()

9 years agorename input/source file for default UI configuration
Paul Davis [Sun, 7 Sep 2014 14:48:09 +0000 (10:48 -0400)]
rename input/source file for default UI configuration

9 years agofix names of included files
Paul Davis [Sun, 7 Sep 2014 14:47:39 +0000 (10:47 -0400)]
fix names of included files

9 years agoEnsure complete sync with previous UI configuration files
Paul Davis [Sun, 7 Sep 2014 14:27:23 +0000 (10:27 -0400)]
Ensure complete sync with previous UI configuration files
(since some changes here were cherry-picked from the waves codebase)

9 years agochange all GUI config files (GTK RC and our own XML config files) to use product...
Paul Davis [Sun, 7 Sep 2014 14:25:46 +0000 (10:25 -0400)]
change all GUI config files (GTK RC and our own XML config files) to use product-neutral names

Conflicts:

gtk2_ardour/ui_config.cc
gtk2_ardour/ui_default.conf.in
gtk2_ardour/wscript

9 years agofix packaging scripts to use new system config file name; NOTE: this file should...
Paul Davis [Sun, 7 Sep 2014 14:23:03 +0000 (10:23 -0400)]
fix packaging scripts to use new system config file name; NOTE: this file should probably be included in Windows packages but appears not to be

Conflicts:

tools/linux_packaging/build

9 years agorename system and user config files with product-neutral names
Paul Davis [Thu, 4 Sep 2014 16:31:30 +0000 (12:31 -0400)]
rename system and user config files with product-neutral names

9 years agoadd Canvas::Ruler::set_metric() to allow ruler metrics to be changed dynamically
Paul Davis [Fri, 5 Sep 2014 18:45:27 +0000 (14:45 -0400)]
add Canvas::Ruler::set_metric() to allow ruler metrics to be changed dynamically

9 years agochange Metric element of a Canvas::Ruler item into a pointer internally
Paul Davis [Fri, 5 Sep 2014 18:42:06 +0000 (14:42 -0400)]
change Metric element of a Canvas::Ruler item into a pointer internally

9 years agofix [git] version header file creation for old python
Robin Gareus [Sat, 6 Sep 2014 20:19:52 +0000 (22:19 +0200)]
fix [git] version header file creation for old python