Robin Gareus [Wed, 11 Jun 2014 10:59:08 +0000 (12:59 +0200)]
prepare midi buffer API for midi-delaylines
Robin Gareus [Wed, 11 Jun 2014 10:54:37 +0000 (12:54 +0200)]
fix midi buffer erase()
Paul Davis [Tue, 10 Jun 2014 22:50:42 +0000 (18:50 -0400)]
Revert "do not allow canvas cursor changes while a drag is in progress". This
was a bad idea. There are lots of reasons to want to change cursors while
dragging, even if we don't do that yet.
This reverts commit
144033e55c004a68c9b6433ba26d92baf5cfa6d1.
Paul Davis [Tue, 10 Jun 2014 20:46:09 +0000 (16:46 -0400)]
do not allow canvas cursor changes while a drag is in progress
Paul Davis [Tue, 10 Jun 2014 18:40:10 +0000 (14:40 -0400)]
first pass an alternate cursor set (updates expected soon)
Paul Davis [Tue, 10 Jun 2014 18:39:08 +0000 (14:39 -0400)]
make the icon set selector actually do something
Paul Davis [Tue, 10 Jun 2014 18:23:14 +0000 (14:23 -0400)]
add icon set selector to theme manager
Paul Davis [Tue, 10 Jun 2014 18:22:59 +0000 (14:22 -0400)]
add ::get_icon_sets() to utils
Paul Davis [Tue, 10 Jun 2014 16:38:31 +0000 (12:38 -0400)]
change ::get_icon_path() and ::get_icon() to accept an "icon set" name to provide ability to use different sets of icons; use when creating MouseCursors
Paul Davis [Tue, 10 Jun 2014 15:00:15 +0000 (11:00 -0400)]
remove ambiguous use of Rect (on OS X)
Paul Davis [Tue, 10 Jun 2014 14:07:04 +0000 (10:07 -0400)]
fix crash recovery: add new constructors to SndFileSource, AudioFileSource, add a new SourceFactory method and finally tweak
AudioDiskstream::use_pending_capture_data() to create both the required whole-file and the in-playlist regions
Paul Davis [Tue, 10 Jun 2014 03:42:12 +0000 (23:42 -0400)]
remove instances of RGBA_TO_UINT() macro from region_view.cc
Paul Davis [Tue, 10 Jun 2014 03:39:07 +0000 (23:39 -0400)]
remove instances of RGBA_TO_UINT() macro from audio_region_view.cc
Paul Davis [Tue, 10 Jun 2014 03:33:14 +0000 (23:33 -0400)]
remove more unusued color members from TimeAxisViewItem
Paul Davis [Tue, 10 Jun 2014 03:28:32 +0000 (23:28 -0400)]
substantial changes in color management, involving a reduction in the use of Gdk::Color and more consistent logic for region coloring.
Group tabs now also get the text drawn in an appropriately contrast-y color
Robin Gareus [Tue, 10 Jun 2014 02:22:34 +0000 (04:22 +0200)]
wrap MIDI timecode at 24h
Robin Gareus [Tue, 10 Jun 2014 02:12:08 +0000 (04:12 +0200)]
really fix sending MIDI timecode.
Robin Gareus [Tue, 10 Jun 2014 01:18:05 +0000 (03:18 +0200)]
fix crash when trying to send MMC of timecode > 255 hours
Robin Gareus [Tue, 10 Jun 2014 00:21:22 +0000 (02:21 +0200)]
close dir opened with opendir() - fixes accumulated fd for plugin state saves
Paul Davis [Mon, 9 Jun 2014 19:39:57 +0000 (15:39 -0400)]
use Canvas::LineSet for tempolines rather than N different Canvas::Line items plus a cache
Paul Davis [Mon, 9 Jun 2014 19:39:19 +0000 (15:39 -0400)]
fix Canvas::LineSet implementation to support horizontal and vertical linesets
Paul Davis [Mon, 9 Jun 2014 14:55:37 +0000 (10:55 -0400)]
allow a drag down over the drop zone to be "reversed" and the region moved back up into existing tracks
Paul Davis [Mon, 9 Jun 2014 14:02:38 +0000 (10:02 -0400)]
forward scroll events from track control headers to the canvas, to get consistent scroll behaviour (whatever that behaviour is)
Paul Davis [Mon, 9 Jun 2014 13:11:04 +0000 (09:11 -0400)]
change height of canvas drop so last 20 pixels of bottom track is still visible when fully scrolled down
Paul Davis [Mon, 9 Jun 2014 13:09:21 +0000 (09:09 -0400)]
rename Editor::_canvas_bottom_rect as Editor::_canvas_drop_zone; increase its size; remove debug message
Paul Davis [Mon, 9 Jun 2014 13:08:51 +0000 (09:08 -0400)]
fix up fit-selected-tracks so that we are filling the trackview area, not the entire canvas (which now includes rulers)
Paul Davis [Mon, 9 Jun 2014 12:39:38 +0000 (08:39 -0400)]
remove global canvas scroll offset, to provide no-scroll-parent == no-scroll behaviour
Robin Gareus [Sun, 8 Jun 2014 19:04:30 +0000 (21:04 +0200)]
some misc tweaks to the ALSA Backend
Robin Gareus [Sun, 8 Jun 2014 19:03:50 +0000 (21:03 +0200)]
reset accumulated capture offset on file roll-over.
(previously it was not reset as long as rec-arm and rec-enable
remained enabled)
Paul Davis [Sun, 8 Jun 2014 18:41:29 +0000 (14:41 -0400)]
fix problem with calls to Editor::trackview_by_y_position() when using motion events. The coordinate passed in was in canvas space and the method expected trackview space
To handle any further issues like this, I generalized and added an optional argument specifying that the canvas=>trackview transform is required, thus
centralizing where this done.
Paul Davis [Sun, 8 Jun 2014 17:13:44 +0000 (13:13 -0400)]
fix borked logic controlling whether/when to draw clip/outline pixels/lines in waveviews
Paul Davis [Sun, 8 Jun 2014 17:01:47 +0000 (13:01 -0400)]
Merge branch 'waveview_caching_for_upstream' of https://github.com/nmains/ardour into cairocanvas
nick_m [Sun, 8 Jun 2014 16:50:14 +0000 (02:50 +1000)]
Use global clip level from prefs. Restore clip colour, \
Paul Davis [Sun, 8 Jun 2014 15:26:25 +0000 (11:26 -0400)]
introduce Drag::_trackview_only which indicates that all y-axis positions for the pointer during a drag should be relative to the top of the trackview group.
More or less all drags except for Cursor (playhead) and drags in the range marker bars have this true (which is the default value)
Paul Davis [Sun, 8 Jun 2014 15:24:28 +0000 (11:24 -0400)]
when delivering enter/leave events to canvas items, ensure that the event coordinates are in canvas space, not window space
This fixes a variety of borkage in the canvas at present
Paul Davis [Sun, 8 Jun 2014 15:23:36 +0000 (11:23 -0400)]
add Item::canvas_origin() for convenience
Paul Davis [Sun, 8 Jun 2014 15:23:00 +0000 (11:23 -0400)]
fix crash caused by click-on-region-name if name highlights are not in use - such a click is not a trim operation under those conditions
Robin Gareus [Sun, 8 Jun 2014 15:19:10 +0000 (17:19 +0200)]
fix 'use_latency_button' (broken in prev. commit)
Robin Gareus [Sun, 8 Jun 2014 13:53:15 +0000 (15:53 +0200)]
ALSA Backend: align midi output buffer with n_periods (currently 2)
Robin Gareus [Sun, 8 Jun 2014 12:48:10 +0000 (14:48 +0200)]
basic Midi latency measurement GUI (re-use Audio latency notebook)
Robin Gareus [Sun, 8 Jun 2014 09:18:18 +0000 (11:18 +0200)]
prepare MIDI latency measurement (backend)
Robin Gareus [Sat, 7 Jun 2014 23:07:03 +0000 (01:07 +0200)]
implement midi capture alignment:
For audio: not writing frames to the capture ringbuffer offsets
the recording.
For midi: we need to keep track of the record range
and subtract the accumulated difference from the event time.
Robin Gareus [Sat, 7 Jun 2014 16:35:37 +0000 (18:35 +0200)]
remove some 1920 tick constants and leave notes for some others.
nick_m [Sat, 7 Jun 2014 15:47:38 +0000 (01:47 +1000)]
Use a dumb cache for waveview ImageSurfaces. This halves the size of the
previous one, but usually ends up using three of them at the current
CACHE_HIGH_WATER setting.
Should result in a smaller memory footprint for sessions with
multiple copies of nearby audio segments (electronic style).
The downside is the larger memory footprint for linear recording
sessions if CACHE_HIGH_WATER > 1 (1 giving a max of two
half - sized cache entries per audio stream).
Robin Gareus [Sat, 7 Jun 2014 15:43:12 +0000 (17:43 +0200)]
limit automation event density - fixes #5928
Constrain control points to one per tick (1/1920 beats).
Prior to this it was possible to set two values to the
same time (interpolation and iteration failed).
Robin Gareus [Fri, 6 Jun 2014 22:13:32 +0000 (00:13 +0200)]
ALSA backend: separate systemic audio+midi latency
Robin Gareus [Fri, 6 Jun 2014 20:35:05 +0000 (22:35 +0200)]
check for xjadeo/xjremote >= 0.7.7
Robin Gareus [Fri, 6 Jun 2014 20:23:43 +0000 (22:23 +0200)]
update for xjadeo 0.7.7 (don't connect to jackd by default)
Robin Gareus [Fri, 6 Jun 2014 18:37:00 +0000 (20:37 +0200)]
ALSA rt-thread priority fixes
Robin Gareus [Fri, 6 Jun 2014 14:45:20 +0000 (16:45 +0200)]
ALSA backend: prevent possible crash destruction of a-r-d
Robin Gareus [Fri, 6 Jun 2014 11:53:07 +0000 (13:53 +0200)]
ALSA & Dummy: implement port [un]registration_callback
Paul Davis [Sat, 7 Jun 2014 12:30:35 +0000 (08:30 -0400)]
install libardouralsautil into the normal libdir, not a subdir
Tim Mayberry [Sat, 7 Jun 2014 03:46:25 +0000 (13:46 +1000)]
Revert windows backend search expression to "*backend.dll"
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
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
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
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
Tim Mayberry [Thu, 22 May 2014 02:51:05 +0000 (12:51 +1000)]
Added LV2 libs and bundled LV2 plugins to windows packaging scripts
Tim Mayberry [Tue, 20 May 2014 03:24:45 +0000 (13:24 +1000)]
Include stdint.h for int64_t type
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
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
Tim Mayberry [Tue, 3 Jun 2014 12:32:50 +0000 (22:32 +1000)]
Fix paths in ardourvst.in
Tim Mayberry [Tue, 3 Jun 2014 12:27:36 +0000 (22:27 +1000)]
Fix paths in ardour.sh
Tim Mayberry [Tue, 3 Jun 2014 12:19:22 +0000 (22:19 +1000)]
Fix install path of ardour_system.rc
Paul Davis [Fri, 6 Jun 2014 12:32:35 +0000 (08:32 -0400)]
fix position where rubberband rect is drawn
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
Robin Gareus [Fri, 6 Jun 2014 01:43:39 +0000 (03:43 +0200)]
alsa + dummy backend, proper [re]initialization
Robin Gareus [Thu, 5 Jun 2014 22:57:30 +0000 (00:57 +0200)]
properly setup port system latency for Dummy & ALSA backend
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.
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())
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
Paul Davis [Thu, 5 Jun 2014 19:22:26 +0000 (15:22 -0400)]
remove needlessly-added method
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.
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
Paul Davis [Thu, 5 Jun 2014 18:12:40 +0000 (14:12 -0400)]
streamline logic for setting waveform colors
Paul Davis [Thu, 5 Jun 2014 18:07:26 +0000 (14:07 -0400)]
tweak logic for region coloring, particularly when muted
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.
Robin Gareus [Thu, 5 Jun 2014 16:57:45 +0000 (18:57 +0200)]
unify Fade-Handle Cursors
Robin Gareus [Thu, 5 Jun 2014 16:53:40 +0000 (18:53 +0200)]
Revert "frankenstein'ed fade+trim cursors"
This reverts commit
3b717da78378ebc7b97250a06fccf38e11cd3ace.
Paul Davis [Thu, 5 Jun 2014 16:34:47 +0000 (12:34 -0400)]
remove more unusued colors from TimeAxisViewItem
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
Robin Gareus [Thu, 5 Jun 2014 16:18:37 +0000 (18:18 +0200)]
add default timeout for old dbus headers
Paul Davis [Thu, 5 Jun 2014 16:04:34 +0000 (12:04 -0400)]
remove unused label_color from TimeAxisViewItem
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
Paul Davis [Thu, 5 Jun 2014 15:29:17 +0000 (11:29 -0400)]
remove debugging output
Paul Davis [Wed, 4 Jun 2014 03:57:12 +0000 (23:57 -0400)]
basic, initial structure for canvas widget item
Paul Davis [Wed, 4 Jun 2014 03:56:08 +0000 (23:56 -0400)]
allow public access to CairoWidget::render()
Robin Gareus [Thu, 5 Jun 2014 16:02:43 +0000 (18:02 +0200)]
make alsa/ardour dbus-device request tool generally useful.
Robin Gareus [Thu, 5 Jun 2014 01:27:19 +0000 (03:27 +0200)]
ALSA backend: require both in+output.
Robin Gareus [Thu, 5 Jun 2014 01:26:52 +0000 (03:26 +0200)]
mark dbus reservation tool optional
Robin Gareus [Thu, 5 Jun 2014 00:09:18 +0000 (02:09 +0200)]
increase system-exec timeouts for kill.
Robin Gareus [Thu, 5 Jun 2014 00:08:56 +0000 (02:08 +0200)]
DBus ALSA device reservation
Robin Gareus [Wed, 4 Jun 2014 23:55:31 +0000 (01:55 +0200)]
proper dbus device reservation
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
Robin Gareus [Wed, 4 Jun 2014 17:16:37 +0000 (19:16 +0200)]
break out ALSA related functions into libardouralsautil
Robin Gareus [Wed, 4 Jun 2014 15:09:55 +0000 (17:09 +0200)]
ALSA: tentative hack to request audio-device.
Robin Gareus [Wed, 4 Jun 2014 15:04:25 +0000 (17:04 +0200)]
ALSA backend: engine.halted_callback if the process thread dies
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.
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.
John Emmas [Wed, 4 Jun 2014 12:50:06 +0000 (13:50 +0100)]
Add newly introduced sources to MSVC project
(scroll_group stuff)