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

10 years agofix drawing of a canvas LineSet object
Paul Davis [Thu, 24 Oct 2013 21:13:22 +0000 (17:13 -0400)]
fix drawing of a canvas LineSet object

10 years agofix computation of rectangle bounding box
Paul Davis [Thu, 24 Oct 2013 21:13:03 +0000 (17:13 -0400)]
fix computation of rectangle bounding box

10 years agofix computation of canvas text item bounding box
Paul Davis [Thu, 24 Oct 2013 21:12:28 +0000 (17:12 -0400)]
fix computation of canvas text item bounding box

10 years agoremove unnecessary initialization of fill color for streamview rect
Paul Davis [Thu, 24 Oct 2013 21:11:29 +0000 (17:11 -0400)]
remove unnecessary initialization of fill color for streamview rect

10 years agofix placement of black/white note lines/bars in MIDI streamview
Paul Davis [Thu, 24 Oct 2013 21:11:07 +0000 (17:11 -0400)]
fix placement of black/white note lines/bars in MIDI streamview

10 years agofix MMC
Paul Davis [Wed, 23 Oct 2013 17:51:04 +0000 (13:51 -0400)]
fix MMC

MTC and MIDI Clock port input handling was moved into the process/RT thread(s) during audioengine work, but MMC was
left orphaned. Add it to the port(s) handled by the MIDI UI thread.

Also, remove PortChange request from MidiUI because it has no meaning anymore

10 years agoReport an error to stderr if creation of jack command line fails.
Colin Fletcher [Wed, 23 Oct 2013 15:10:36 +0000 (16:10 +0100)]
Report an error to stderr if creation of jack command line fails.

Output a simple message to stderr if get_jack_command_line_string() still
fails for any reason.

10 years agoDon't ever pass -d for device name to dummy jackd driver
Colin Fletcher [Wed, 23 Oct 2013 16:46:51 +0000 (17:46 +0100)]
Don't ever pass -d for device name to dummy jackd driver

10 years agoFix setting playback & capture channel counts for jackd dummy backend.
Colin Fletcher [Tue, 22 Oct 2013 17:48:26 +0000 (18:48 +0100)]
Fix setting playback & capture channel counts for jackd dummy backend.

Unlike all the other jack backends which allow setting the number of inputs and
outputs with -i & -o, the dummy backend uses -P & -C for this. Make the jackd
command line use these options when the dummy backend is requested with a
specified input or output channel count.

10 years agoDon't fail jackd command line creation for jack dummy backend.
Colin Fletcher [Wed, 23 Oct 2013 15:03:18 +0000 (16:03 +0100)]
Don't fail jackd command line creation for jack dummy backend.

The dummy jackd backend doesn't require a device to be specified, so much
of the error checking in get_jack_command_line_string() is irrelevant, if
not actively wrong, when the dummy backend is specified.

Only perform the checks if the chosen jack backend is not the dummy.

10 years agoadd script to clean up translations
Robin Gareus [Wed, 23 Oct 2013 18:02:30 +0000 (20:02 +0200)]
add script to clean up translations

10 years agoremove fuzzy and obsolete translations
Robin Gareus [Wed, 23 Oct 2013 18:01:23 +0000 (20:01 +0200)]
remove fuzzy and obsolete translations

10 years agomake fixed IO ports untranslatable
Robin Gareus [Wed, 23 Oct 2013 16:02:49 +0000 (18:02 +0200)]
make fixed IO ports untranslatable

Outdated and fuzzy translations of MTC, MTC, LTC, etc caused
various issues (duplicate jack port names, exceptions, crashes).
Functionality should not be affected by translations (for now).

10 years agoFix midi-note length when quantizing a swing rhythm
Robin Gareus [Wed, 23 Oct 2013 15:40:35 +0000 (17:40 +0200)]
Fix midi-note length when quantizing a swing rhythm

Note: 'swing' probably requires a 2nd iteration:
first quantize notes to the grid, then apply beat shift.

10 years agoslightly more information in group render DEBUG_TRACE output
Paul Davis [Wed, 23 Oct 2013 14:39:26 +0000 (10:39 -0400)]
slightly more information in group render DEBUG_TRACE output

10 years agomake middle-click on piano roll track header more usefully select/unselect notes
Paul Davis [Wed, 23 Oct 2013 14:38:50 +0000 (10:38 -0400)]
make middle-click on piano roll track header more usefully select/unselect notes

10 years agofix up drawing of MIDI note "lines" on track canvas, which were in the wrong places
Paul Davis [Wed, 23 Oct 2013 14:38:09 +0000 (10:38 -0400)]
fix up drawing of MIDI note "lines" on track canvas, which were in the wrong places

10 years agoNew routes are placed after highest selected route.
nick_m [Wed, 23 Oct 2013 14:27:13 +0000 (01:27 +1100)]
New routes are placed after highest selected route.

10 years agorelax requirement on lv2 stack
Robin Gareus [Wed, 23 Oct 2013 11:45:28 +0000 (13:45 +0200)]
relax requirement on lv2 stack

10 years agofix confusion in Canvas::LineSet over window vs. item coordinates that affected redra...
Paul Davis [Wed, 23 Oct 2013 01:12:47 +0000 (21:12 -0400)]
fix confusion in Canvas::LineSet over window vs. item coordinates that affected redraw (or not) of MIDI track note lines when the canvas origin != 0

10 years agofix midi quantization - part two
Robin Gareus [Wed, 23 Oct 2013 00:12:50 +0000 (02:12 +0200)]
fix midi quantization - part two

include position offset in rounding

10 years agofix midi quantization - part one
Robin Gareus [Tue, 22 Oct 2013 23:25:46 +0000 (01:25 +0200)]
fix midi quantization - part one

subtract offset if region was truncated at the beginning.

10 years agoinitialize plugin param descriptor struct
Robin Gareus [Tue, 22 Oct 2013 23:23:21 +0000 (01:23 +0200)]
initialize plugin param descriptor struct

10 years agomerge from master
Paul Davis [Tue, 22 Oct 2013 19:29:44 +0000 (15:29 -0400)]
merge from master

10 years agodo not use --tags to get git description/version
Paul Davis [Tue, 22 Oct 2013 18:51:14 +0000 (14:51 -0400)]
do not use --tags to get git description/version

10 years agoMerge branch 'unify_display_ordering' of https://github.com/nmains/ardour
Paul Davis [Tue, 22 Oct 2013 18:33:21 +0000 (14:33 -0400)]
Merge branch 'unify_display_ordering' of https://github.com/nmains/ardour

10 years agoMerge branch 'miscfix' of https://github.com/mojofunk/ardour
Paul Davis [Tue, 22 Oct 2013 18:32:57 +0000 (14:32 -0400)]
Merge branch 'miscfix' of https://github.com/mojofunk/ardour

10 years agohonor LV2 units:midiNote: display Note name instead of integer 3.5.14
Robin Gareus [Tue, 22 Oct 2013 15:26:30 +0000 (17:26 +0200)]
honor LV2 units:midiNote: display Note name instead of integer

10 years agofix bundling of .mo files in OS X bundles
Paul Davis [Tue, 22 Oct 2013 15:08:50 +0000 (11:08 -0400)]
fix bundling of .mo files in OS X bundles

10 years agofix locale path in OS X bundles
Paul Davis [Tue, 22 Oct 2013 15:08:31 +0000 (11:08 -0400)]
fix locale path in OS X bundles

10 years agofix issues with recording while synced to JACK (non-pure-virtual method added to...
Paul Davis [Mon, 21 Oct 2013 20:24:24 +0000 (16:24 -0400)]
fix issues with recording while synced to JACK (non-pure-virtual method added to AudioBackend) and remove pause() from AudioEngine/AudioBackend APIs

10 years agouse new default SR + bufsize values in engine dialog
Paul Davis [Mon, 21 Oct 2013 15:40:46 +0000 (11:40 -0400)]
use new default SR + bufsize values in engine dialog

10 years agoadd default sample rate and buffer size methods to AudioBackend
Paul Davis [Mon, 21 Oct 2013 15:33:38 +0000 (11:33 -0400)]
add default sample rate and buffer size methods to AudioBackend

10 years agofix endless messages about MIDI events being dropped.
Paul Davis [Mon, 21 Oct 2013 15:24:31 +0000 (11:24 -0400)]
fix endless messages about MIDI events being dropped.

track-owned MIDI port buffers (at the Ardour level) get ::flush_buffers() called twice, once by Delivery::flush_buffers() which is called
at the end of MidiTrack::rol() to push data out in graph order, and then finally as a last-chance effort in PortManager::cycle_end().

This should not cause a repeated attempt to write the same data, but it was. Fixed by marking the buffer empty once its data has
been flushed into a backend port buffer.

10 years agoRemove random character at start of wscript file
Tim Mayberry [Fri, 11 Oct 2013 03:59:12 +0000 (13:59 +1000)]
Remove random character at start of wscript file

10 years agoForward declare NSM_Client class in ardour_ui.h
Tim Mayberry [Thu, 15 Aug 2013 10:35:33 +0000 (20:35 +1000)]
Forward declare NSM_Client class in ardour_ui.h

nsm.h pulls in winsock2.h and with the mingw build and it causes endless
warnings from the compiler

10 years agoFix check button handling in Memory Warning Dialog
Tim Mayberry [Wed, 31 Jul 2013 09:53:28 +0000 (19:53 +1000)]
Fix check button handling in Memory Warning Dialog

10 years agoFix two minor memory leaks in pending state dialog
Tim Mayberry [Wed, 31 Jul 2013 09:38:32 +0000 (19:38 +1000)]
Fix two minor memory leaks in pending state dialog

10 years agoadd missing waflib include to rsynth.lv2
Robin Gareus [Sun, 20 Oct 2013 15:29:03 +0000 (17:29 +0200)]
add missing waflib include to rsynth.lv2

10 years agobundled LV2 plugin build and deployment
Robin Gareus [Sun, 20 Oct 2013 15:24:59 +0000 (17:24 +0200)]
bundled LV2 plugin build and deployment

10 years agofix typo (rsynth.lv2 configure)
Robin Gareus [Sun, 20 Oct 2013 13:28:13 +0000 (15:28 +0200)]
fix typo (rsynth.lv2 configure)

10 years agoUnify editor / mixer ordering.
nick_m [Sun, 20 Oct 2013 13:19:43 +0000 (00:19 +1100)]
Unify editor / mixer ordering.

10 years agofix bad merge that brought OSC headers back into gtk2_ardour
Paul Davis [Sun, 20 Oct 2013 13:04:48 +0000 (09:04 -0400)]
fix bad merge that brought OSC headers back into gtk2_ardour

10 years agofix compilation
Paul Davis [Sun, 20 Oct 2013 13:04:27 +0000 (09:04 -0400)]
fix compilation

10 years agoadd reasonablesynth.lv2
Robin Gareus [Sun, 20 Oct 2013 02:31:07 +0000 (04:31 +0200)]
add reasonablesynth.lv2

A reasonably simple synth to allow new users to 'hear midi'.
This is a first step. It still needs proper install and bundling.

10 years agoreplace rather than append to SUIL_MODULE_DIR
Robin Gareus [Sat, 19 Oct 2013 16:16:34 +0000 (18:16 +0200)]
replace rather than append to SUIL_MODULE_DIR

should fix http://tracker.ardour.org/view.php?id=5679

10 years agoMerge branch 'master' into cairocanvas
Paul Davis [Fri, 18 Oct 2013 19:39:12 +0000 (15:39 -0400)]
Merge branch 'master' into cairocanvas

10 years agofix missing Click outputs for new sessions
Paul Davis [Fri, 18 Oct 2013 19:20:19 +0000 (15:20 -0400)]
fix missing Click outputs for new sessions

10 years agomerge with master and fix 2 conflicts
Paul Davis [Thu, 17 Oct 2013 02:06:56 +0000 (22:06 -0400)]
merge with master and fix 2 conflicts

10 years agoremember to fix up libnames in backends, missed the 3.5 tag but this is just the...
Paul Davis [Thu, 17 Oct 2013 01:28:41 +0000 (21:28 -0400)]
remember to fix up libnames in backends, missed the 3.5 tag but this is just the build script

10 years agofix typo from earlier change to conditionalize driver-change in audio backend 3.5
Paul Davis [Wed, 16 Oct 2013 02:05:10 +0000 (22:05 -0400)]
fix typo from earlier change to conditionalize driver-change in audio backend