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
Paul Davis [Mon, 9 Dec 2013 18:39:10 +0000 (13:39 -0500)]
ArdourCanvas::Line::covers() uses distance_to_segment_squared()
Paul Davis [Mon, 9 Dec 2013 18:38:22 +0000 (13:38 -0500)]
debug trace tweaks
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
Paul Davis [Thu, 5 Dec 2013 22:50:28 +0000 (17:50 -0500)]
Merge branch 'master' into cairocanvas
Paul Davis [Wed, 4 Dec 2013 16:45:53 +0000 (11:45 -0500)]
change "cpu" in cpu load backend functions
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
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)
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
Paul Davis [Sat, 30 Nov 2013 16:17:42 +0000 (11:17 -0500)]
fix build
Paul Davis [Sat, 30 Nov 2013 03:31:29 +0000 (22:31 -0500)]
fix merge with master
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
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
Paul Davis [Sat, 30 Nov 2013 03:24:59 +0000 (22:24 -0500)]
fix indentation
Paul Davis [Sat, 30 Nov 2013 03:24:37 +0000 (22:24 -0500)]
add explicit linkage to libtimecode
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
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)
Paul Davis [Wed, 27 Nov 2013 21:19:01 +0000 (16:19 -0500)]
Merge branch 'master' into cairocanvas
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
Paul Davis [Wed, 27 Nov 2013 20:24:24 +0000 (15:24 -0500)]
add error check to call to PortManager::reestablish_ports
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()
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)
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)
Paul Davis [Wed, 27 Nov 2013 17:44:23 +0000 (12:44 -0500)]
remove unintended linkage between libmidipp and jack
Paul Davis [Mon, 25 Nov 2013 14:26:35 +0000 (09:26 -0500)]
Merge branch 'master' into cairocanvas
Sakari Bergen [Sat, 23 Nov 2013 17:11:31 +0000 (19:11 +0200)]
Hande export initialization exceptions gracefully
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
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
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.
Robin Gareus [Wed, 20 Nov 2013 17:54:34 +0000 (18:54 +0100)]
reset time-axis peak when meter-point changes - fixes #5771
Robin Gareus [Tue, 19 Nov 2013 14:51:27 +0000 (15:51 +0100)]
Distinguish Save-as and Snapshot dialog window
Robin Gareus [Sat, 16 Nov 2013 23:33:32 +0000 (00:33 +0100)]
lv2: increase scratch buffer size to request port minimum size
Robin Gareus [Mon, 11 Nov 2013 01:33:57 +0000 (02:33 +0100)]
fix audio-clock sample entry, handle empty entry as NOOP
Paul Davis [Sun, 10 Nov 2013 22:44:15 +0000 (17:44 -0500)]
correct information on waf updates
Robin Gareus [Sat, 9 Nov 2013 12:16:08 +0000 (13:16 +0100)]
allow to include In/Disk button on Meterbridge
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
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
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
Paul Davis [Tue, 5 Nov 2013 16:24:06 +0000 (11:24 -0500)]
remove exportvis changes from autowaf.py
Paul Davis [Tue, 5 Nov 2013 16:15:46 +0000 (11:15 -0500)]
update .po files with --no-fuzzy-matching in use
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
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
Paul Davis [Tue, 5 Nov 2013 15:17:40 +0000 (10:17 -0500)]
back-port two actual bug fixes from cairocanvas branch
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 ... )
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
Julien de Kozak [Tue, 5 Nov 2013 06:51:04 +0000 (07:51 +0100)]
fix tests compilation
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
Paul Davis [Tue, 5 Nov 2013 02:31:58 +0000 (21:31 -0500)]
fix reversed arguments to memset when clearing VST plugin name
Paul Davis [Tue, 5 Nov 2013 02:31:26 +0000 (21:31 -0500)]
initialize MidiModel::Change::patch_id (correctlty?)
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
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.
Paul Davis [Mon, 4 Nov 2013 21:20:10 +0000 (16:20 -0500)]
Merge branch 'master' into cairocanvas
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
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
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.
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
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
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
Paul Davis [Thu, 31 Oct 2013 17:16:51 +0000 (13:16 -0400)]
fix merge with master
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
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
Paul Davis [Thu, 31 Oct 2013 15:48:36 +0000 (11:48 -0400)]
remove debug output
Paul Davis [Thu, 31 Oct 2013 07:10:18 +0000 (03:10 -0400)]
handle enter/leave items when zooming and scrolling occur
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
Paul Davis [Mon, 28 Oct 2013 20:36:11 +0000 (16:36 -0400)]
reduce verbiage and remove visible current_item red rect
Paul Davis [Mon, 28 Oct 2013 20:35:48 +0000 (16:35 -0400)]
fix comment
Paul Davis [Mon, 28 Oct 2013 20:35:31 +0000 (16:35 -0400)]
fix coordinate system for Canvas items_at_point() methods
Paul Davis [Mon, 28 Oct 2013 16:27:33 +0000 (12:27 -0400)]
fix computation of Text bounding box to respect _clamped_width
Paul Davis [Mon, 28 Oct 2013 16:27:03 +0000 (12:27 -0400)]
add coordinate space comment
Paul Davis [Mon, 28 Oct 2013 16:26:40 +0000 (12:26 -0400)]
tweak whitespace and add coordinate space comment
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
nick_m [Mon, 28 Oct 2013 15:04:26 +0000 (02:04 +1100)]
Fix thinko in setting order hint.
Paul Davis [Mon, 28 Oct 2013 13:46:59 +0000 (09:46 -0400)]
fix thinko in declaration of ARDOUR::PortEngine::get_port_by_name()
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
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.
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)
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.
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
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
Paul Davis [Mon, 28 Oct 2013 00:32:33 +0000 (20:32 -0400)]
add error checking and return from attempted NSM-based initialization
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
Robin Gareus [Sun, 27 Oct 2013 08:56:07 +0000 (09:56 +0100)]
add notes about inlined lv2 atom/util.h functions
Robin Gareus [Sun, 27 Oct 2013 08:52:46 +0000 (09:52 +0100)]
expand tabs in reaonablesynth code
Robin Gareus [Sun, 27 Oct 2013 08:51:08 +0000 (09:51 +0100)]
mark some unused variables -- fewer compiler warnings
Robin Gareus [Sat, 26 Oct 2013 15:33:07 +0000 (17:33 +0200)]
make reasonable synth a bit more piano-like.
(overtone + decay time)
Robin Gareus [Sat, 26 Oct 2013 14:42:27 +0000 (16:42 +0200)]
remove c99'ness from rsynth.c - should fix #5751
Robin Gareus [Sat, 26 Oct 2013 10:29:28 +0000 (12:29 +0200)]
Fix french translation of "meterbridge" -- closes #5744
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)
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
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.
Colin Fletcher [Fri, 9 Aug 2013 15:07:45 +0000 (16:07 +0100)]
Edit tempo & meter markers on double-click.
Colin Fletcher [Fri, 9 Aug 2013 15:00:13 +0000 (16:00 +0100)]
Double-click on region pops up region properties.
Colin Fletcher [Fri, 9 Aug 2013 14:59:40 +0000 (15:59 +0100)]
Mark session dirty when a marker is renamed.
Colin Fletcher [Fri, 9 Aug 2013 14:59:12 +0000 (15:59 +0100)]
Make double-click on marker pop up rename dialogue.
Colin Fletcher [Fri, 9 Aug 2013 14:57:37 +0000 (15:57 +0100)]
Add a double-click handler for items in the editor window.
Paul Davis [Fri, 25 Oct 2013 15:52:18 +0000 (11:52 -0400)]
Merge branch 'ordering_fixup' of https://github.com/nmains/ardour
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.
Paul Davis [Thu, 24 Oct 2013 21:55:25 +0000 (17:55 -0400)]
redraw entire MidiStreamView after scroomer drag so that everything is redrawn
Paul Davis [Thu, 24 Oct 2013 21:54:54 +0000 (17:54 -0400)]
add Item::redraw() convenience method
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