ardour.git
10 years agomake PolyLine use distance_to_segment_squared(), and add separate (null, for now...
Paul Davis [Mon, 9 Dec 2013 22:24:34 +0000 (17:24 -0500)]
make PolyLine use distance_to_segment_squared(), and add separate (null, for now) method Curve::covers(Duple) because the math there needs to be different, maybe

10 years agoArdourCanvas::Line::covers() uses distance_to_segment_squared()
Paul Davis [Mon, 9 Dec 2013 18:39:10 +0000 (13:39 -0500)]
ArdourCanvas::Line::covers() uses distance_to_segment_squared()

10 years agodebug trace tweaks
Paul Davis [Mon, 9 Dec 2013 18:38:22 +0000 (13:38 -0500)]
debug trace tweaks

10 years agoadd a utility function to Canvas to compute distance from a point to a line segment
Paul Davis [Mon, 9 Dec 2013 18:35:07 +0000 (13:35 -0500)]
add a utility function to Canvas to compute distance from a point to a line segment

10 years agoMerge branch 'master' into cairocanvas
Paul Davis [Thu, 5 Dec 2013 22:50:28 +0000 (17:50 -0500)]
Merge branch 'master' into cairocanvas

10 years agochange "cpu" in cpu load backend functions
Paul Davis [Wed, 4 Dec 2013 16:45:53 +0000 (11:45 -0500)]
change "cpu" in cpu load backend functions

10 years agominor tweaks to MIDI clock support, including delivery of position events/messages...
Paul Davis [Tue, 3 Dec 2013 04:34:12 +0000 (23:34 -0500)]
minor tweaks to MIDI clock support, including delivery of position events/messages when stopped

10 years agodon't run MIDI clock "tick" if session is silent (e.g. due to a locate)
Paul Davis [Tue, 3 Dec 2013 04:33:33 +0000 (23:33 -0500)]
don't run MIDI clock "tick" if session is silent (e.g. due to a locate)

10 years agofix continuous send of MIDI start/position/stop messages introduced by mistake
Paul Davis [Sun, 1 Dec 2013 17:18:57 +0000 (12:18 -0500)]
fix continuous send of MIDI start/position/stop messages introduced by mistake

10 years agofix build
Paul Davis [Sat, 30 Nov 2013 16:17:42 +0000 (11:17 -0500)]
fix build

10 years agofix merge with master
Paul Davis [Sat, 30 Nov 2013 03:31:29 +0000 (22:31 -0500)]
fix merge with master

10 years agofix up a bunch of confusion regarding the size/capacity/allocation of audio & midi...
Paul Davis [Sat, 30 Nov 2013 03:26:33 +0000 (22:26 -0500)]
fix up a bunch of confusion regarding the size/capacity/allocation of audio & midi buffers

10 years agodrop capacity argument from Buffer constructor, since the abstract class cannot ...
Paul Davis [Sat, 30 Nov 2013 03:25:36 +0000 (22:25 -0500)]
drop capacity argument from Buffer constructor, since the abstract class cannot (and should not) do anything with it

10 years agofix indentation
Paul Davis [Sat, 30 Nov 2013 03:24:59 +0000 (22:24 -0500)]
fix indentation

10 years agoadd explicit linkage to libtimecode
Paul Davis [Sat, 30 Nov 2013 03:24:37 +0000 (22:24 -0500)]
add explicit linkage to libtimecode

10 years agomake JACK backend return the right set of values when asked for buffer sizes or sampl...
Paul Davis [Wed, 27 Nov 2013 22:41:54 +0000 (17:41 -0500)]
make JACK backend return the right set of values when asked for buffer sizes or sample rate of a device other than the one in use

10 years agodo not push new state to backend from audio/MIDI setup until OK or Apply are clicked...
Paul Davis [Wed, 27 Nov 2013 22:41:22 +0000 (17:41 -0500)]
do not push new state to backend from audio/MIDI setup until OK or Apply are clicked (i.e. do not do this when device is changed)

10 years agoMerge branch 'master' into cairocanvas
Paul Davis [Wed, 27 Nov 2013 21:19:01 +0000 (16:19 -0500)]
Merge branch 'master' into cairocanvas

10 years agoadd 0.5 second sleep after closing JACK connection so that next startup/connect is...
Paul Davis [Wed, 27 Nov 2013 20:25:10 +0000 (15:25 -0500)]
add 0.5 second sleep after closing JACK connection so that next startup/connect is likely to work (allowing JACK time to shutdown). Ugh

10 years agoadd error check to call to PortManager::reestablish_ports
Paul Davis [Wed, 27 Nov 2013 20:24:24 +0000 (15:24 -0500)]
add error check to call to PortManager::reestablish_ports

10 years agomove AudioBackend::_start() into protected, and expand a bit on documenting ::start...
Paul Davis [Wed, 27 Nov 2013 19:27:27 +0000 (14:27 -0500)]
move AudioBackend::_start() into protected, and expand a bit on documenting ::start() vs ::_start()

10 years agoadd yet more missing parts of previous commit re: libmidi++ and JACK (files not saved...
Paul Davis [Wed, 27 Nov 2013 19:08:22 +0000 (14:08 -0500)]
add yet more missing parts of previous commit re: libmidi++ and JACK (files not saved in emacs, sigh)

10 years agoadd missing parts of previous commit re: libmidi++ and JACK (files not saved in emacs...
Paul Davis [Wed, 27 Nov 2013 18:53:58 +0000 (13:53 -0500)]
add missing parts of previous commit re: libmidi++ and JACK (files not saved in emacs, sigh)

10 years agoremove unintended linkage between libmidipp and jack
Paul Davis [Wed, 27 Nov 2013 17:44:23 +0000 (12:44 -0500)]
remove unintended linkage between libmidipp and jack

10 years agoMerge branch 'master' into cairocanvas
Paul Davis [Mon, 25 Nov 2013 14:26:35 +0000 (09:26 -0500)]
Merge branch 'master' into cairocanvas

10 years agoHande export initialization exceptions gracefully
Sakari Bergen [Sat, 23 Nov 2013 17:11:31 +0000 (19:11 +0200)]
Hande export initialization exceptions gracefully

10 years agoFix invalid assertions in AudioGrapher SampleFormatConverter
Sakari Bergen [Sat, 23 Nov 2013 16:42:14 +0000 (18:42 +0200)]
Fix invalid assertions in AudioGrapher SampleFormatConverter

This fixes an export crash with e.g. 8-bit export

10 years agofix for toolbar master-meter w/o master bus and/or detached toolbar
Robin Gareus [Sat, 23 Nov 2013 15:48:26 +0000 (16:48 +0100)]
fix for toolbar master-meter w/o master bus and/or detached toolbar

10 years agofix crash @ session-restore of plugins windows
Robin Gareus [Fri, 22 Nov 2013 17:22:55 +0000 (18:22 +0100)]
fix crash @ session-restore of plugins windows

The question is: why is _owner not set [yet], when the
window is restored. This rather smells like a race condition.

10 years agoreset time-axis peak when meter-point changes - fixes #5771
Robin Gareus [Wed, 20 Nov 2013 17:54:34 +0000 (18:54 +0100)]
reset time-axis peak when meter-point changes - fixes #5771

10 years agoDistinguish Save-as and Snapshot dialog window
Robin Gareus [Tue, 19 Nov 2013 14:51:27 +0000 (15:51 +0100)]
Distinguish Save-as and Snapshot dialog window

10 years agolv2: increase scratch buffer size to request port minimum size
Robin Gareus [Sat, 16 Nov 2013 23:33:32 +0000 (00:33 +0100)]
lv2: increase scratch buffer size to request port minimum size

10 years agofix audio-clock sample entry, handle empty entry as NOOP
Robin Gareus [Mon, 11 Nov 2013 01:33:57 +0000 (02:33 +0100)]
fix audio-clock sample entry, handle empty entry as NOOP

10 years agocorrect information on waf updates
Paul Davis [Sun, 10 Nov 2013 22:44:15 +0000 (17:44 -0500)]
correct information on waf updates

10 years agoallow to include In/Disk button on Meterbridge
Robin Gareus [Sat, 9 Nov 2013 12:16:08 +0000 (13:16 +0100)]
allow to include In/Disk button on Meterbridge

10 years agoreally no reason to support ARDOUR_EN anymore ... we have a preference dialog item... 3.5.74
Paul Davis [Tue, 5 Nov 2013 19:20:03 +0000 (14:20 -0500)]
really no reason to support ARDOUR_EN anymore ... we have a preference dialog item to enable/disable translation

10 years agoon OS X 10.7 at least, LANG is set by the system, so do not bail out of language...
Paul Davis [Tue, 5 Nov 2013 18:43:25 +0000 (13:43 -0500)]
on OS X 10.7 at least, LANG is set by the system, so do not bail out of language stuff early just because it is set

10 years agorevert to waf 1.6.11 for master branch, with current autowaf.py
Paul Davis [Tue, 5 Nov 2013 16:24:25 +0000 (11:24 -0500)]
revert to waf 1.6.11 for master branch, with current autowaf.py

10 years agoremove exportvis changes from autowaf.py
Paul Davis [Tue, 5 Nov 2013 16:24:06 +0000 (11:24 -0500)]
remove exportvis changes from autowaf.py

10 years agoupdate .po files with --no-fuzzy-matching in use
Paul Davis [Tue, 5 Nov 2013 16:15:46 +0000 (11:15 -0500)]
update .po files with --no-fuzzy-matching in use

10 years agoupdate waf with new autowaf that uses --no-fuzzy-matching when running msgmerge
Paul Davis [Tue, 5 Nov 2013 16:10:51 +0000 (11:10 -0500)]
update waf with new autowaf that uses --no-fuzzy-matching when running msgmerge

10 years agoadd autowaf.py since we have branched from drobilla's version due to export visibilit...
Paul Davis [Tue, 5 Nov 2013 16:09:03 +0000 (11:09 -0500)]
add autowaf.py since we have branched from drobilla's version due to export visibility stuff

10 years agoback-port two actual bug fixes from cairocanvas branch
Paul Davis [Tue, 5 Nov 2013 15:17:40 +0000 (10:17 -0500)]
back-port two actual bug fixes from cairocanvas branch

10 years agofix incorrect use of sizeof() in snprintf (function never actually used in ardour...
Paul Davis [Tue, 5 Nov 2013 15:17:22 +0000 (10:17 -0500)]
fix incorrect use of sizeof() in snprintf (function never actually used in ardour,but ... )

10 years agoupdate packaging tools to always use revision.cc to determine version number, not...
Paul Davis [Tue, 5 Nov 2013 14:35:03 +0000 (09:35 -0500)]
update packaging tools to always use revision.cc to determine version number, not text in top level wscript

10 years agofix tests compilation
Julien de Kozak [Tue, 5 Nov 2013 06:51:04 +0000 (07:51 +0100)]
fix tests compilation

10 years agotry to fix various warnings from gcc when optimization flags are enabled
Paul Davis [Tue, 5 Nov 2013 02:32:41 +0000 (21:32 -0500)]
try to fix various warnings from gcc when optimization flags are enabled

10 years agofix reversed arguments to memset when clearing VST plugin name
Paul Davis [Tue, 5 Nov 2013 02:31:58 +0000 (21:31 -0500)]
fix reversed arguments to memset when clearing VST plugin name

10 years agoinitialize MidiModel::Change::patch_id (correctlty?)
Paul Davis [Tue, 5 Nov 2013 02:31:26 +0000 (21:31 -0500)]
initialize MidiModel::Change::patch_id (correctlty?)

10 years agologic fix for SMF meta-event is-text determination, plus some gcc optimization-based...
Paul Davis [Tue, 5 Nov 2013 02:30:40 +0000 (21:30 -0500)]
logic fix for SMF meta-event is-text determination, plus some gcc optimization-based unusued fixes

10 years agokeep processing LV2 Ringbuffer once it is allocated
Robin Gareus [Tue, 5 Nov 2013 01:06:20 +0000 (02:06 +0100)]
keep processing LV2 Ringbuffer once it is allocated

Discard messages in LV2PluginUI::write_to_ui() if the
ringbuffer exists but the UI is not active.

This fixes "[ERROR]: Error writing from plugin to UI" messages
if the UI was once active but has been closed since.

This is a hotfix solution, eventually the LV2 backend should be updated
and a function LV2Plugin::disable_ui_emmission() implemented.

10 years agoMerge branch 'master' into cairocanvas
Paul Davis [Mon, 4 Nov 2013 21:20:10 +0000 (16:20 -0500)]
Merge branch 'master' into cairocanvas

10 years agodo not hard-code version number anymore - define via git or libs/ardour/revision.cc
Paul Davis [Mon, 4 Nov 2013 19:19:10 +0000 (14:19 -0500)]
do not hard-code version number anymore - define via git or libs/ardour/revision.cc

10 years agodrop use of bounding box to determine whether an item covers a point; add Item::cover...
Paul Davis [Mon, 4 Nov 2013 16:56:10 +0000 (11:56 -0500)]
drop use of bounding box to determine whether an item covers a point; add Item::covers(Duple const&)

Default implementation for Item still uses bounding box, but specializations for Arc (Circle), Polygon, Line and PolyLine have been added

10 years agoFix invalid silence trimmer end-of-input behavior (multiple EndOfInputs)
Sakari Bergen [Sun, 3 Nov 2013 19:22:00 +0000 (21:22 +0200)]
Fix invalid silence trimmer end-of-input behavior (multiple EndOfInputs)

This caused an export bug when:
a) normalizing
b) adding silence to end
c) having more than one channel

The sound was corrupted by repeating each jack frame as many times
as there were channels.

10 years agosend enter events to EVERY newly entered item (ignore the bool return from the event...
Paul Davis [Sun, 3 Nov 2013 15:07:00 +0000 (10:07 -0500)]
send enter events to EVERY newly entered item (ignore the bool return from the event handler); other canvas debugging aids;switch items_at_point() to use canvas coordinates

10 years agoall events propagate out of the canvas in canvas coordinates now, so revert changes...
Paul Davis [Thu, 31 Oct 2013 20:43:35 +0000 (16:43 -0400)]
all events propagate out of the canvas in canvas coordinates now, so revert changes in editor_drags.cc that worked around this not being the case

10 years agomake region fade in/out curve shapes into PolyLines not Polygons so that they don...
Paul Davis [Thu, 31 Oct 2013 19:39:29 +0000 (15:39 -0400)]
make region fade in/out curve shapes into PolyLines not Polygons so that they don't close the stroke path at the top/bottom

10 years agofix merge with master
Paul Davis [Thu, 31 Oct 2013 17:16:51 +0000 (13:16 -0400)]
fix merge with master

10 years agofix window/canvas coordinate confusion in drag code, apparently fixing up lots of...
Paul Davis [Thu, 31 Oct 2013 16:41:02 +0000 (12:41 -0400)]
fix window/canvas coordinate confusion in drag code, apparently fixing up lots of things with just 1 line

10 years agofinally (?) fix up logic for rectangle drawing (fill+stroke) to tackle what is hopefu...
Paul Davis [Thu, 31 Oct 2013 15:49:36 +0000 (11:49 -0400)]
finally (?) fix up logic for rectangle drawing (fill+stroke) to tackle what is hopefully the last of the expose problems

10 years agoremove debug output
Paul Davis [Thu, 31 Oct 2013 15:48:36 +0000 (11:48 -0400)]
remove debug output

10 years agohandle enter/leave items when zooming and scrolling occur
Paul Davis [Thu, 31 Oct 2013 07:10:18 +0000 (03:10 -0400)]
handle enter/leave items when zooming and scrolling occur

10 years agonotable changes to try to improve most of enter/leave handling for canvas items
Paul Davis [Thu, 31 Oct 2013 03:36:30 +0000 (23:36 -0400)]
notable changes to try to improve most of enter/leave handling for canvas items

10 years agoreduce verbiage and remove visible current_item red rect
Paul Davis [Mon, 28 Oct 2013 20:36:11 +0000 (16:36 -0400)]
reduce verbiage and remove visible current_item red rect

10 years agofix comment
Paul Davis [Mon, 28 Oct 2013 20:35:48 +0000 (16:35 -0400)]
fix comment

10 years agofix coordinate system for Canvas items_at_point() methods
Paul Davis [Mon, 28 Oct 2013 20:35:31 +0000 (16:35 -0400)]
fix coordinate system for Canvas items_at_point() methods

10 years agofix computation of Text bounding box to respect _clamped_width
Paul Davis [Mon, 28 Oct 2013 16:27:33 +0000 (12:27 -0400)]
fix computation of Text bounding box to respect _clamped_width

10 years agoadd coordinate space comment
Paul Davis [Mon, 28 Oct 2013 16:27:03 +0000 (12:27 -0400)]
add coordinate space comment

10 years agotweak whitespace and add coordinate space comment
Paul Davis [Mon, 28 Oct 2013 16:26:40 +0000 (12:26 -0400)]
tweak whitespace and add coordinate space comment

10 years agostreamline button press event handling code a little, and tweak enter/leave debugging...
Paul Davis [Mon, 28 Oct 2013 16:25:41 +0000 (12:25 -0400)]
streamline button press event handling code a little, and tweak enter/leave debugging text

10 years agoFix thinko in setting order hint.
nick_m [Mon, 28 Oct 2013 15:04:26 +0000 (02:04 +1100)]
Fix thinko in setting order hint.

10 years agofix thinko in declaration of ARDOUR::PortEngine::get_port_by_name()
Paul Davis [Mon, 28 Oct 2013 13:46:59 +0000 (09:46 -0400)]
fix thinko in declaration of ARDOUR::PortEngine::get_port_by_name()

10 years agoMerge branch 'master--optional-external-libs' of https://github.com/nphilipp/ardour
Paul Davis [Mon, 28 Oct 2013 12:54:29 +0000 (08:54 -0400)]
Merge branch 'master--optional-external-libs' of https://github.com/nphilipp/ardour

10 years agoallow overriding optimization flags completely
Nils Philippsen [Mon, 28 Oct 2013 08:32:37 +0000 (09:32 +0100)]
allow overriding optimization flags completely

If an optimization level ("-O<something>") is present in the argument
for --arch, do not prepend default optimization flags.

10 years agoallow linking unbundled versions of some libraries
Nils Philippsen [Sat, 26 Oct 2013 14:58:14 +0000 (16:58 +0200)]
allow linking unbundled versions of some libraries

(libltc, rubberband, taglib, vamp-sdk)

10 years agogtk2_ardour: link fftw3f directly
Nils Philippsen [Sat, 26 Oct 2013 14:22:05 +0000 (16:22 +0200)]
gtk2_ardour: link fftw3f directly

This is needed to be able to unbundle some libraries.

10 years agogive those who insist on seeing the mixer window and/or editor mixer on stupidly...
Paul Davis [Mon, 28 Oct 2013 00:55:06 +0000 (20:55 -0400)]
give those who insist on seeing the mixer window and/or editor mixer on stupidly small screens the chance to do so

10 years agofurther fixes for NSM-based startup
Paul Davis [Mon, 28 Oct 2013 00:48:48 +0000 (20:48 -0400)]
further fixes for NSM-based startup

Most, move initialization of Audio/MIDI setup window before NSM initialization, to make sure it is available if/when needed

10 years agoadd error checking and return from attempted NSM-based initialization
Paul Davis [Mon, 28 Oct 2013 00:32:33 +0000 (20:32 -0400)]
add error checking and return from attempted NSM-based initialization

10 years agosilence warning for ancient libc users&devs :)
Robin Gareus [Sun, 27 Oct 2013 16:03:49 +0000 (17:03 +0100)]
silence warning for ancient libc users&devs :)

string.h 'index' is a global declaration
marked legacy in 2001 and removed in posix.1-2008

10 years agoadd notes about inlined lv2 atom/util.h functions
Robin Gareus [Sun, 27 Oct 2013 08:56:07 +0000 (09:56 +0100)]
add notes about inlined lv2 atom/util.h functions

10 years agoexpand tabs in reaonablesynth code
Robin Gareus [Sun, 27 Oct 2013 08:52:46 +0000 (09:52 +0100)]
expand tabs in reaonablesynth code

10 years agomark some unused variables -- fewer compiler warnings
Robin Gareus [Sun, 27 Oct 2013 08:51:08 +0000 (09:51 +0100)]
mark some unused variables -- fewer compiler warnings

10 years agomake reasonable synth a bit more piano-like.
Robin Gareus [Sat, 26 Oct 2013 15:33:07 +0000 (17:33 +0200)]
make reasonable synth a bit more piano-like.

(overtone + decay time)

10 years agoremove c99'ness from rsynth.c - should fix #5751
Robin Gareus [Sat, 26 Oct 2013 14:42:27 +0000 (16:42 +0200)]
remove c99'ness from rsynth.c - should fix #5751

10 years agoFix french translation of "meterbridge" -- closes #5744
Robin Gareus [Sat, 26 Oct 2013 10:29:28 +0000 (12:29 +0200)]
Fix french translation of "meterbridge" -- closes #5744

10 years agofix up ordering/timing of naming for TimeAxisViewItem (so that canvas debugging...
Paul Davis [Fri, 25 Oct 2013 17:30:01 +0000 (13:30 -0400)]
fix up ordering/timing of naming for TimeAxisViewItem  (so that canvas debugging is more useful)

10 years agodon't request redraw of a Canvas item if it marked invisible
Paul Davis [Fri, 25 Oct 2013 17:29:23 +0000 (13:29 -0400)]
don't request redraw of a Canvas item if it marked invisible

10 years agoDon't allow loop, punch, or session range markers to be renamed.
Colin Fletcher [Fri, 9 Aug 2013 15:24:24 +0000 (16:24 +0100)]
Don't allow loop, punch, or session range markers to be renamed.

Don't allow loop, punch, or session range markers to be renamed, even when
double-clicked.

10 years agoEdit tempo & meter markers on double-click.
Colin Fletcher [Fri, 9 Aug 2013 15:07:45 +0000 (16:07 +0100)]
Edit tempo & meter markers on double-click.

10 years agoDouble-click on region pops up region properties.
Colin Fletcher [Fri, 9 Aug 2013 15:00:13 +0000 (16:00 +0100)]
Double-click on region pops up region properties.

10 years agoMark session dirty when a marker is renamed.
Colin Fletcher [Fri, 9 Aug 2013 14:59:40 +0000 (15:59 +0100)]
Mark session dirty when a marker is renamed.

10 years agoMake double-click on marker pop up rename dialogue.
Colin Fletcher [Fri, 9 Aug 2013 14:59:12 +0000 (15:59 +0100)]
Make double-click on marker pop up rename dialogue.

10 years agoAdd a double-click handler for items in the editor window.
Colin Fletcher [Fri, 9 Aug 2013 14:57:37 +0000 (15:57 +0100)]
Add a double-click handler for items in the editor window.

10 years agoMerge branch 'ordering_fixup' of https://github.com/nmains/ardour
Paul Davis [Fri, 25 Oct 2013 15:52:18 +0000 (11:52 -0400)]
Merge branch 'ordering_fixup' of https://github.com/nmains/ardour

10 years agoUse add_route_dialog's transient_for() window to determine track selection for order_...
nick_m [Fri, 25 Oct 2013 15:37:45 +0000 (02:37 +1100)]
Use add_route_dialog's transient_for() window to determine track selection for order_hint.

10 years agoredraw entire MidiStreamView after scroomer drag so that everything is redrawn
Paul Davis [Thu, 24 Oct 2013 21:55:25 +0000 (17:55 -0400)]
redraw entire MidiStreamView after scroomer drag so that everything is redrawn

10 years agoadd Item::redraw() convenience method
Paul Davis [Thu, 24 Oct 2013 21:54:54 +0000 (17:54 -0400)]
add Item::redraw() convenience method

10 years agoexpand bounding box of all objects by 0.5 before computing intersection for render...
Paul Davis [Thu, 24 Oct 2013 21:14:12 +0000 (17:14 -0400)]
expand bounding box of all objects by 0.5 before computing intersection for render cycle; alter debug output