ardour.git
10 years agoALSA rt-thread priority fixes
Robin Gareus [Fri, 6 Jun 2014 18:37:00 +0000 (20:37 +0200)]
ALSA rt-thread priority fixes

10 years agoALSA backend: prevent possible crash destruction of a-r-d
Robin Gareus [Fri, 6 Jun 2014 14:45:20 +0000 (16:45 +0200)]
ALSA backend: prevent possible crash destruction of a-r-d

10 years agoALSA & Dummy: implement port [un]registration_callback
Robin Gareus [Fri, 6 Jun 2014 11:53:07 +0000 (13:53 +0200)]
ALSA & Dummy: implement port [un]registration_callback

10 years agoinstall libardouralsautil into the normal libdir, not a subdir
Paul Davis [Sat, 7 Jun 2014 12:30:35 +0000 (08:30 -0400)]
install libardouralsautil into the normal libdir, not a subdir

10 years agoRevert windows backend search expression to "*backend.dll"
Tim Mayberry [Sat, 7 Jun 2014 03:46:25 +0000 (13:46 +1000)]
Revert windows backend search expression to "*backend.dll"

10 years agoDon't use module versioning with dummy backend when building with mingw
Tim Mayberry [Sat, 7 Jun 2014 02:58:51 +0000 (12:58 +1000)]
Don't use module versioning with dummy backend when building with mingw

10 years agoDon't use module versioning with jack backend in the mingw build
Tim Mayberry [Sat, 7 Jun 2014 01:26:40 +0000 (11:26 +1000)]
Don't use module versioning with jack backend in the mingw build

10 years agoUpdate pango.modules and remove reference to old pango module version
Tim Mayberry [Thu, 22 May 2014 11:04:36 +0000 (21:04 +1000)]
Update pango.modules and remove reference to old pango module version

Fedora 19 and 20 use same 1.8.0 module path

10 years agoOnly copy necessary config files to package directory
Tim Mayberry [Thu, 22 May 2014 11:02:08 +0000 (21:02 +1000)]
Only copy necessary config files to package directory

Also use -L flag so files are actually copied and not linked

10 years agoAdded LV2 libs and bundled LV2 plugins to windows packaging scripts
Tim Mayberry [Thu, 22 May 2014 02:51:05 +0000 (12:51 +1000)]
Added LV2 libs and bundled LV2 plugins to windows packaging scripts

10 years agoInclude stdint.h for int64_t type
Tim Mayberry [Tue, 20 May 2014 03:24:45 +0000 (13:24 +1000)]
Include stdint.h for int64_t type

10 years agoFix timecode target so it is just libtimecode.so and not liblibtimecode.so
Tim Mayberry [Tue, 3 Jun 2014 13:39:34 +0000 (23:39 +1000)]
Fix timecode target so it is just libtimecode.so and not liblibtimecode.so

10 years agoChange define to be consistant even though it isn't currently used
Tim Mayberry [Tue, 3 Jun 2014 12:36:16 +0000 (22:36 +1000)]
Change define to be consistant even though it isn't currently used

10 years agoFix paths in ardourvst.in
Tim Mayberry [Tue, 3 Jun 2014 12:32:50 +0000 (22:32 +1000)]
Fix paths in ardourvst.in

10 years agoFix paths in ardour.sh
Tim Mayberry [Tue, 3 Jun 2014 12:27:36 +0000 (22:27 +1000)]
Fix paths in ardour.sh

10 years agoFix install path of ardour_system.rc
Tim Mayberry [Tue, 3 Jun 2014 12:19:22 +0000 (22:19 +1000)]
Fix install path of ardour_system.rc

10 years agofix position where rubberband rect is drawn
Paul Davis [Fri, 6 Jun 2014 12:32:35 +0000 (08:32 -0400)]
fix position where rubberband rect is drawn

10 years agoWhen rendering a Canvas::Rectangle take its _position into account, even though in...
Paul Davis [Fri, 6 Jun 2014 12:32:05 +0000 (08:32 -0400)]
When rendering a Canvas::Rectangle take its _position into account, even though in general this is always (0,0) within its parent

10 years agoalsa + dummy backend, proper [re]initialization
Robin Gareus [Fri, 6 Jun 2014 01:43:39 +0000 (03:43 +0200)]
alsa + dummy backend, proper [re]initialization

10 years agoproperly setup port system latency for Dummy & ALSA backend
Robin Gareus [Thu, 5 Jun 2014 22:57:30 +0000 (00:57 +0200)]
properly setup port system latency for Dummy & ALSA backend

10 years agoclip rendering of ScrollGroup to just the part of the canvas covered by the scroll...
Paul Davis [Thu, 5 Jun 2014 22:18:28 +0000 (18:18 -0400)]
clip rendering of ScrollGroup to just the part of the canvas covered by the scroll group.

This stops tracks from appearing to scroll up under the rulers, among other things.

10 years agofix up drawing and selection process for range selections (caused by subtle change...
Paul Davis [Thu, 5 Jun 2014 21:06:36 +0000 (17:06 -0400)]
fix up drawing and selection process for range selections (caused by subtle change in semantics of TimeAxisView::covered_by_y_range())

10 years agofix issues with verbose canvas cursor because it was in a horizontally-only scroll...
Paul Davis [Thu, 5 Jun 2014 19:33:56 +0000 (15:33 -0400)]
fix issues with verbose canvas cursor because it was in a horizontally-only scroll group

10 years agoremove needlessly-added method
Paul Davis [Thu, 5 Jun 2014 19:22:26 +0000 (15:22 -0400)]
remove needlessly-added method

10 years agoreinstate a canvas group where we reparent regions while dragging, so that they are...
Paul Davis [Thu, 5 Jun 2014 19:16:55 +0000 (15:16 -0400)]
reinstate a canvas group where we reparent regions while dragging, so that they are always on top.

I mistakenly removed this during the onecanvas changes.

10 years agofix problems with expose/redraws from canvas where requested area goes way outside...
Paul Davis [Thu, 5 Jun 2014 18:42:46 +0000 (14:42 -0400)]
fix problems with expose/redraws from canvas where requested area goes way outside the integer range allowed by GTK/GDK

10 years agostreamline logic for setting waveform colors
Paul Davis [Thu, 5 Jun 2014 18:12:40 +0000 (14:12 -0400)]
streamline logic for setting waveform colors

10 years agotweak logic for region coloring, particularly when muted
Paul Davis [Thu, 5 Jun 2014 18:07:26 +0000 (14:07 -0400)]
tweak logic for region coloring, particularly when muted

10 years agopass ardour's pid to the device reservation script.
Robin Gareus [Thu, 5 Jun 2014 17:49:23 +0000 (19:49 +0200)]
pass ardour's pid to the device reservation script.

terminate a-r-d when ardour crashes or exits unexpectedly.

10 years agounify Fade-Handle Cursors
Robin Gareus [Thu, 5 Jun 2014 16:57:45 +0000 (18:57 +0200)]
unify Fade-Handle Cursors

10 years agoRevert "frankenstein'ed fade+trim cursors"
Robin Gareus [Thu, 5 Jun 2014 16:53:40 +0000 (18:53 +0200)]
Revert "frankenstein'ed fade+trim cursors"

This reverts commit 3b717da78378ebc7b97250a06fccf38e11cd3ace.

10 years agoremove more unusued colors from TimeAxisViewItem
Paul Davis [Thu, 5 Jun 2014 16:34:47 +0000 (12:34 -0400)]
remove more unusued colors from TimeAxisViewItem

10 years agodon't build a-r-d if alsa backend is not built
Robin Gareus [Thu, 5 Jun 2014 16:18:56 +0000 (18:18 +0200)]
don't build a-r-d if alsa backend is not built

10 years agoadd default timeout for old dbus headers
Robin Gareus [Thu, 5 Jun 2014 16:18:37 +0000 (18:18 +0200)]
add default timeout for old dbus headers

10 years agoremove unused label_color from TimeAxisViewItem
Paul Davis [Thu, 5 Jun 2014 16:04:34 +0000 (12:04 -0400)]
remove unused label_color from TimeAxisViewItem

10 years agohopefully fix up selection of color for region name text, under all conditions
Paul Davis [Thu, 5 Jun 2014 16:00:24 +0000 (12:00 -0400)]
hopefully fix up selection of color for region name text, under all conditions

10 years agoremove debugging output
Paul Davis [Thu, 5 Jun 2014 15:29:17 +0000 (11:29 -0400)]
remove debugging output

10 years agobasic, initial structure for canvas widget item
Paul Davis [Wed, 4 Jun 2014 03:57:12 +0000 (23:57 -0400)]
basic, initial structure for canvas widget item

10 years agoallow public access to CairoWidget::render()
Paul Davis [Wed, 4 Jun 2014 03:56:08 +0000 (23:56 -0400)]
allow public access to CairoWidget::render()

10 years agomake alsa/ardour dbus-device request tool generally useful.
Robin Gareus [Thu, 5 Jun 2014 16:02:43 +0000 (18:02 +0200)]
make alsa/ardour dbus-device request tool generally useful.

10 years agoALSA backend: require both in+output.
Robin Gareus [Thu, 5 Jun 2014 01:27:19 +0000 (03:27 +0200)]
ALSA backend: require both in+output.

10 years agomark dbus reservation tool optional
Robin Gareus [Thu, 5 Jun 2014 01:26:52 +0000 (03:26 +0200)]
mark dbus reservation tool optional

10 years agoincrease system-exec timeouts for kill.
Robin Gareus [Thu, 5 Jun 2014 00:09:18 +0000 (02:09 +0200)]
increase system-exec timeouts for kill.

10 years agoDBus ALSA device reservation
Robin Gareus [Thu, 5 Jun 2014 00:08:56 +0000 (02:08 +0200)]
DBus ALSA device reservation

10 years agoproper dbus device reservation
Robin Gareus [Wed, 4 Jun 2014 23:55:31 +0000 (01:55 +0200)]
proper dbus device reservation

10 years agoChange the function signature for 'abs(int64_t)' (Windows) so that it doesn't conflic...
John Emmas [Wed, 4 Jun 2014 17:12:30 +0000 (18:12 +0100)]
Change the function signature for 'abs(int64_t)' (Windows) so that it doesn't conflict with more recent versions of MSVC

10 years agobreak out ALSA related functions into libardouralsautil
Robin Gareus [Wed, 4 Jun 2014 17:16:37 +0000 (19:16 +0200)]
break out ALSA related functions into libardouralsautil

10 years agoALSA: tentative hack to request audio-device.
Robin Gareus [Wed, 4 Jun 2014 15:09:55 +0000 (17:09 +0200)]
ALSA: tentative hack to request audio-device.

10 years agoALSA backend: engine.halted_callback if the process thread dies
Robin Gareus [Wed, 4 Jun 2014 15:04:25 +0000 (17:04 +0200)]
ALSA backend: engine.halted_callback if the process thread dies

10 years agoif the user chooses to stop the jack-backend, mark it as stopped. Don't display the...
Robin Gareus [Wed, 4 Jun 2014 14:58:53 +0000 (16:58 +0200)]
if the user chooses to stop the jack-backend, mark it as stopped. Don't display the "..was shutdown .. was not fast enough.." message.

10 years agofixes to change engines while Ardour is running.
Robin Gareus [Wed, 4 Jun 2014 14:54:17 +0000 (16:54 +0200)]
fixes to change engines while Ardour is running.

When a new backend is selected, it is loaded to query
available devices etc. This effectively drops the current backend.

10 years ago Add newly introduced sources to MSVC project
John Emmas [Wed, 4 Jun 2014 12:50:06 +0000 (13:50 +0100)]
 Add newly introduced sources to MSVC project

(scroll_group stuff)

10 years agoRevert "add API to query a processor's frozen state."
Robin Gareus [Wed, 4 Jun 2014 00:40:19 +0000 (02:40 +0200)]
Revert "add API to query a processor's frozen state."

Theoretically one could alter the plugins after a delivery even on a
frozen track. ..or even change settings, the ordering and add/remove
plugins after the frozen part of a track.

We won't go there. Frozen is frozen. this API is not needed after all.

This reverts commit a771dea20332bf31162ccb13a518e0348b441dd1.

10 years agoRevert "Revert "ALSA backend: separate flags for is-running and should-be-running""
Robin Gareus [Wed, 4 Jun 2014 00:39:39 +0000 (02:39 +0200)]
Revert "Revert "ALSA backend: separate flags for is-running and should-be-running""

sorry, c/p error
This reverts commit 9658b77327c21d5748604b882f67c5004ffd10ad.

10 years agoRevert "ALSA backend: separate flags for is-running and should-be-running"
Robin Gareus [Wed, 4 Jun 2014 00:34:58 +0000 (02:34 +0200)]
Revert "ALSA backend: separate flags for is-running and should-be-running"

Theoretically one could alter the plugins after a delivery even on a
frozen track. ..or even change settings, the ordering and add/remove
plugins after the frozen part of a track.

We won't go there. Frozen is frozen. this API is not needed after all.

This reverts commit 6d89488d64d44ed4b3283308a583b320300553c8.

10 years agoALSA backend: separate flags for is-running and should-be-running
Robin Gareus [Tue, 3 Jun 2014 22:56:20 +0000 (00:56 +0200)]
ALSA backend: separate flags for is-running and should-be-running

10 years agoadd API to query a processor's frozen state.
Robin Gareus [Wed, 4 Jun 2014 00:23:24 +0000 (02:23 +0200)]
add API to query a processor's frozen state.

10 years agodisable pluginbox in RouteUI window when a track is frozen
Robin Gareus [Tue, 3 Jun 2014 22:27:01 +0000 (00:27 +0200)]
disable pluginbox in RouteUI window when a track is frozen

10 years agore-work bounce/freeze. Freezer stops at first active delivery.
Robin Gareus [Tue, 3 Jun 2014 19:08:45 +0000 (21:08 +0200)]
re-work bounce/freeze. Freezer stops at first active delivery.

amend to 8f52bf7d9f

10 years agoALSABackend: elaborate on start-up error cases
Robin Gareus [Tue, 3 Jun 2014 00:16:56 +0000 (02:16 +0200)]
ALSABackend: elaborate on start-up error cases

10 years agoRevert "When writing '.jackdrc' make sure we enclose any device names in
Paul Davis [Wed, 4 Jun 2014 00:08:26 +0000 (20:08 -0400)]
Revert "When writing '.jackdrc' make sure we enclose any device names in
quotation marks". This patch is incorrect. The string quoting must be done ONLY
when creating a string to be written to ~/.jackdrc or similar, not when
constructing an argument list.

This reverts commit 5626ea2b1f480bcdd5413c041ee9921fc299ab80.

10 years agofix two mysterious problems with stdint types
Paul Davis [Tue, 3 Jun 2014 20:38:33 +0000 (16:38 -0400)]
fix two mysterious problems with stdint types

10 years agomerge onecanvas and cairocanvas branches, and manually resolve conflicts, including...
Paul Davis [Tue, 3 Jun 2014 20:37:53 +0000 (16:37 -0400)]
merge onecanvas and cairocanvas branches, and manually resolve conflicts, including rounding in item_to_window() methods

10 years agomore profound changes to canvas scrolling, in particular find appropriate ScrollGroup...
Paul Davis [Tue, 3 Jun 2014 19:57:56 +0000 (15:57 -0400)]
more profound changes to canvas scrolling, in particular find appropriate ScrollGroup for Canvas::{window,canvas}_to_{canvas,window}()

10 years agofix missing leftover Canvas::pick_current_item() which was confusing button release...
Paul Davis [Sat, 24 May 2014 21:29:57 +0000 (17:29 -0400)]
fix missing leftover Canvas::pick_current_item() which was confusing button release event coordinates

10 years agouse window-based coordinates when picking current item so that we get per-item (per...
Paul Davis [Sat, 24 May 2014 02:05:08 +0000 (22:05 -0400)]
use window-based coordinates when picking current item so that we get per-item (per-scroll-group,really) computation of position and coverage.

10 years agovarious changes to get independent scrolling to work better in canvas. mostly tweaks...
Paul Davis [Fri, 23 May 2014 03:05:18 +0000 (23:05 -0400)]
various changes to get independent scrolling to work better in canvas. mostly tweaks relating to how scroll offsets are used during rendering.

Event handling offsets still require work.

10 years agoclean up ArdourCanvas::Arrow implementation to remove unshown polygon/head
Paul Davis [Fri, 23 May 2014 02:33:04 +0000 (22:33 -0400)]
clean up ArdourCanvas::Arrow implementation to remove unshown polygon/head

10 years agoremove utterly useless unused code
Paul Davis [Fri, 23 May 2014 02:32:26 +0000 (22:32 -0400)]
remove utterly useless unused code

10 years agoremove useless groups from timebar area, clarify scroll group naming in editor
Paul Davis [Wed, 21 May 2014 23:15:08 +0000 (19:15 -0400)]
remove useless groups from timebar area, clarify scroll group naming in editor

10 years agorationalize and centralize computation of positional offset and scroll offset for...
Paul Davis [Wed, 21 May 2014 23:14:40 +0000 (19:14 -0400)]
rationalize and centralize computation of positional offset and scroll offset for canvas items

10 years agoremove timebar canvas item from markers
Paul Davis [Wed, 21 May 2014 23:13:58 +0000 (19:13 -0400)]
remove timebar canvas item from markers

10 years agoinline ScrollGroup::canvas_position() for no particular reason
Paul Davis [Wed, 21 May 2014 23:13:26 +0000 (19:13 -0400)]
inline ScrollGroup::canvas_position() for no particular reason

10 years agoremove timebar canvas and just use a single canvas instead. This is just part one...
Paul Davis [Wed, 21 May 2014 15:12:57 +0000 (11:12 -0400)]
remove timebar canvas and just use a single canvas instead. This is just part one - lots of minor fixes to be done

10 years agoavoid recursing through the entire canvas when scrolling - only scroll explicitly...
Paul Davis [Wed, 21 May 2014 14:25:28 +0000 (10:25 -0400)]
avoid recursing through the entire canvas when scrolling - only scroll explicitly identified ScrollGroups

10 years agoremove incorrect calls to Editor::maybe_autoscroll() from specific Drag classes ...
Paul Davis [Wed, 21 May 2014 13:25:36 +0000 (09:25 -0400)]
remove incorrect calls to Editor::maybe_autoscroll() from specific Drag classes (autoscroll is handled by the Drag manager)

10 years agowhitespace deletion
Paul Davis [Wed, 21 May 2014 13:25:08 +0000 (09:25 -0400)]
whitespace deletion

10 years agodifferent approach to independent scrolling, involving ArdourCanvas::ScrollGroup
Paul Davis [Wed, 21 May 2014 03:08:15 +0000 (23:08 -0400)]
different approach to independent scrolling, involving ArdourCanvas::ScrollGroup

The idea now is that a scroll group item can be added to the canvas which will causes its children to scroll in either or both
directions (horizontal or vertical). There are few complications: the position() of the ScrollGroup is ambiguous depending
on whether you want it with scroll taken into account or not, so Item::canvas_position() was added, which defaults to
the same value as Item::position() but is overridden by ScrollGroup to return the position independent of scrolling. This
method is used when translating between item/canvas/window coordinate systems.

Note that the basic idea is that we MOVE the scroll group when a scroll happens. This mirrors what happens in the GnomeCanvas,
where Nick Mainsbridge came up with a great idea that allowed unification of the time bar and track canvases.

10 years agoremove unused variable
Paul Davis [Wed, 21 May 2014 03:04:23 +0000 (23:04 -0400)]
remove unused variable

10 years agoinitial redesign of canvas scrolling to facilitate independent x- and y-axis scrollin...
Paul Davis [Sun, 18 May 2014 16:22:23 +0000 (12:22 -0400)]
initial redesign of canvas scrolling to facilitate independent x- and y-axis scrolling of specific groups within the canvas.

This commit should cause no change in behaviour, but contains all the code and changes necessary
for the next step

10 years agonon-copy region drag now creates a new track when a region is dragged to the drop...
Paul Davis [Sat, 17 May 2014 19:51:08 +0000 (15:51 -0400)]
non-copy region drag now creates a new track when a region is dragged to the drop zone

10 years agopart one of allowing region drag to the bottom (drop-zone) rect of track canvas
Paul Davis [Sat, 17 May 2014 16:17:16 +0000 (12:17 -0400)]
part one of allowing region drag to the bottom (drop-zone) rect of track canvas

10 years agoWhen writing '.jackdrc' make sure we enclose any device names in quotation marks
John Emmas [Tue, 3 Jun 2014 13:04:10 +0000 (14:04 +0100)]
When writing '.jackdrc' make sure we enclose any device names in quotation marks

(in Windows, device names almost always contain whitespace)

10 years agoKeep this #include consistent with similar ones
John Emmas [Tue, 3 Jun 2014 13:02:05 +0000 (14:02 +0100)]
Keep this #include consistent with similar ones

(evoral/evoral doesn't get used anywhere else)

10 years agofix wscript for x-compiling
Robin Gareus [Tue, 3 Jun 2014 00:06:22 +0000 (02:06 +0200)]
fix wscript for x-compiling

10 years agoALSA backend: tweak midi parser (fix start mid sequence)
Robin Gareus [Mon, 2 Jun 2014 23:00:58 +0000 (01:00 +0200)]
ALSA backend: tweak midi parser (fix start mid sequence)

10 years agoALSA backend: device detection
Robin Gareus [Mon, 2 Jun 2014 22:50:26 +0000 (00:50 +0200)]
ALSA backend: device detection

10 years agofix linking against libasound
Robin Gareus [Mon, 2 Jun 2014 19:09:21 +0000 (21:09 +0200)]
fix linking against libasound

10 years agomake ALSA backend optional and disable by default
Robin Gareus [Mon, 2 Jun 2014 18:33:12 +0000 (20:33 +0200)]
make ALSA backend optional and disable by default

10 years agoALSA backend: add raw midi parser
Robin Gareus [Mon, 2 Jun 2014 17:20:04 +0000 (19:20 +0200)]
ALSA backend: add raw midi parser

10 years agoALSA backend: raw midi prototype
Robin Gareus [Mon, 2 Jun 2014 14:52:07 +0000 (16:52 +0200)]
ALSA backend: raw midi prototype

10 years agoALSA backend (based on Dummy backend and zita-alsa-pcmi)
Robin Gareus [Mon, 2 Jun 2014 12:29:19 +0000 (14:29 +0200)]
ALSA backend (based on Dummy backend and zita-alsa-pcmi)

10 years agoallow latency measurement at startup
Robin Gareus [Sun, 1 Jun 2014 19:43:48 +0000 (21:43 +0200)]
allow latency measurement at startup

10 years agotentative fix for requesting driver+device list from backend
Robin Gareus [Sun, 1 Jun 2014 19:43:03 +0000 (21:43 +0200)]
tentative fix for requesting driver+device list from backend

10 years agofix errors in manual conflict resolution
Paul Davis [Mon, 2 Jun 2014 15:42:35 +0000 (11:42 -0400)]
fix errors in manual conflict resolution

10 years agomerge with master and fix 4 conflicts by hand
Paul Davis [Mon, 2 Jun 2014 15:32:13 +0000 (11:32 -0400)]
merge with master and fix 4 conflicts by hand

10 years agoDummyBackend: fix midi event mux+sorting
Robin Gareus [Mon, 2 Jun 2014 10:19:35 +0000 (12:19 +0200)]
DummyBackend: fix midi event mux+sorting

10 years agofix display of cd-track-detail UI
Robin Gareus [Sun, 1 Jun 2014 17:48:21 +0000 (19:48 +0200)]
fix display of cd-track-detail UI

10 years agofix --with-dummy config option
Robin Gareus [Sun, 1 Jun 2014 16:18:32 +0000 (18:18 +0200)]
fix --with-dummy config option

10 years agoDummy backend, revise small things
Robin Gareus [Sun, 1 Jun 2014 16:18:08 +0000 (18:18 +0200)]
Dummy backend, revise small things