Paul Davis [Wed, 25 Jun 2014 15:34:37 +0000 (11:34 -0400)]
add UIConfig variable for lock timer
Paul Davis [Wed, 25 Jun 2014 12:29:23 +0000 (08:29 -0400)]
wscript fix for wavesaudio backend - use correct name for CoreM[iI][dD][iI] framework on Lion and other versions
Paul Davis [Wed, 25 Jun 2014 12:28:36 +0000 (08:28 -0400)]
new timer-based GUI locking code
Paul Davis [Tue, 24 Jun 2014 16:28:45 +0000 (12:28 -0400)]
there's no me in proaudio
Ben Loftis [Tue, 24 Jun 2014 15:46:53 +0000 (10:46 -0500)]
last piece of scroll-wheel checkin, oops
Ben Loftis [Tue, 24 Jun 2014 15:32:41 +0000 (10:32 -0500)]
add scroll wheel handler to canvas
Paul Davis [Tue, 24 Jun 2014 15:26:33 +0000 (11:26 -0400)]
actual style specs for lock dialog button
Paul Davis [Tue, 24 Jun 2014 15:26:21 +0000 (11:26 -0400)]
a bit more styling for that lock dialog
Paul Davis [Tue, 24 Jun 2014 15:02:59 +0000 (11:02 -0400)]
rename closed padlock icon
Paul Davis [Tue, 24 Jun 2014 15:01:41 +0000 (11:01 -0400)]
new padlock icons (48x48)
Paul Davis [Tue, 24 Jun 2014 14:14:07 +0000 (10:14 -0400)]
add a modal lock dialog for better testing (and someone might find it useful, too)
Paul Davis [Tue, 24 Jun 2014 13:56:08 +0000 (09:56 -0400)]
add ability to save current action sensitivities and restore them, and to disable all action sensitivity.
This is needed to be able to lock the application fully on OS X, where the global menu bar would still allow interaction
even when a modal dialog is displayed.
Paul Davis [Tue, 24 Jun 2014 13:54:51 +0000 (09:54 -0400)]
playing with oofus' preferences for selected region coloring
Robin Gareus [Mon, 23 Jun 2014 23:08:50 +0000 (01:08 +0200)]
fix
f6aaa16 (boost shared pointer)
Paul Davis [Mon, 23 Jun 2014 19:24:08 +0000 (15:24 -0400)]
return of the zero line
Paul Davis [Mon, 23 Jun 2014 19:12:30 +0000 (15:12 -0400)]
revert drawing of rectified waves back to previous approach since it (might be) slightly more efficient and is simpler to understand; add comments
Paul Davis [Mon, 23 Jun 2014 18:57:55 +0000 (14:57 -0400)]
completely rethink waveform rendering (again)
There are 3 possible components to draw at each x-axis position: the waveform "line", the zero line and an outline/clip indicator.
We have to decide which of the 3 to draw at each position, pixel by pixel. This makes the rendering less efficient but it is
the only way I can see to do this correctly.
Paul Davis [Mon, 23 Jun 2014 14:29:30 +0000 (10:29 -0400)]
reset time axis view item name text color when selected status changes
Paul Davis [Mon, 23 Jun 2014 14:06:52 +0000 (10:06 -0400)]
fix logic error that meant one side of the waveform outline is not drawn; draw zero line before outline, for better effects with low amplitude waves
Robin Gareus [Mon, 23 Jun 2014 10:16:35 +0000 (12:16 +0200)]
don't let enumerated device list strings go out of scope.
Robin Gareus [Mon, 23 Jun 2014 09:56:58 +0000 (11:56 +0200)]
statically allocate midi-options
fixes possible segfault when the data in the vector
goes out of scope due to RVO.
Robin Gareus [Mon, 23 Jun 2014 02:26:53 +0000 (04:26 +0200)]
for backends w/o control, save a fake state with only the "active" attribute.
This makes ardour start directly with external jack without asking if jack
was previously used. It also retains jackd settings if jackd was previously
started by ardour.
Paul Davis [Mon, 23 Jun 2014 01:58:07 +0000 (21:58 -0400)]
when exporting regions, use ::legalize_for_path() on the playlist name so that filenames are legal.
Also, use Glib::build_filename() rather than hardcoding / as the separator. How did this escape the search for this error?
Robin Gareus [Sun, 22 Jun 2014 22:48:47 +0000 (00:48 +0200)]
en/disable internal send+returns with tracks en/disable.
Robin Gareus [Sun, 22 Jun 2014 21:16:32 +0000 (23:16 +0200)]
Do not allow to de/activate a track while the transport is rolling.
roll_delay and latency are only re-calculated when the transport is stopped.
de/activating a track is also not RT-safe.
Paul Davis [Sun, 22 Jun 2014 19:24:11 +0000 (15:24 -0400)]
button click (release, to be precise) within the canvas drop zone cancels all object and track selections
Robin Gareus [Sun, 22 Jun 2014 16:21:10 +0000 (18:21 +0200)]
fix latency-measurement dialog back-button.
Robin Gareus [Sun, 22 Jun 2014 16:20:22 +0000 (18:20 +0200)]
ALSA-backend: dedicated Midi-Buffer n-periods (only use for HW output)
Paul Davis [Sun, 22 Jun 2014 15:41:05 +0000 (11:41 -0400)]
more canvas refactoring.
Remove Canvas::Layout, use Canvas::Container for the same purpose, move child-rendering into Item::render_children() so that it
could theoretically be used by any derived type.
Paul Davis [Sun, 22 Jun 2014 13:53:14 +0000 (09:53 -0400)]
add missing new files for canvas redesign
Paul Davis [Sun, 22 Jun 2014 13:34:39 +0000 (09:34 -0400)]
Merge branch 'canvasredesign' into cairocanvas
Paul Davis [Sun, 22 Jun 2014 13:29:16 +0000 (09:29 -0400)]
explicitly qualify cast to ArdourCanvas::Container so that it works.
I assume that gcc is failing to complain about ambiguity with Gtk::Container even though there should
really be no ambiguity
John Emmas [Sun, 22 Jun 2014 12:29:17 +0000 (13:29 +0100)]
Rename all 3 backends for the MSVC sln file
John Emmas [Sun, 22 Jun 2014 12:11:59 +0000 (13:11 +0100)]
Rename dummy backend to match Tim's name
John Emmas [Sun, 22 Jun 2014 11:53:13 +0000 (12:53 +0100)]
Rename jack backend to match Tim's name
John Emmas [Sun, 22 Jun 2014 11:51:43 +0000 (12:51 +0100)]
Rename waves backend to match Tim's name
Paul Davis [Sat, 21 Jun 2014 15:44:22 +0000 (11:44 -0400)]
use newly factored canvas in gtk2_ardour
Paul Davis [Sat, 21 Jun 2014 15:43:42 +0000 (11:43 -0400)]
refactor Canvas so that all Items have children; add Container abstract base class; rename Group as "Layout" and retain only drawing semantics
Robin Gareus [Sat, 21 Jun 2014 11:51:46 +0000 (13:51 +0200)]
virtual abstraction of Alsa Raw+Seq
Robin Gareus [Sat, 21 Jun 2014 09:50:24 +0000 (11:50 +0200)]
prepare ALSA sequencer
Robin Gareus [Sat, 21 Jun 2014 09:49:40 +0000 (11:49 +0200)]
alsa sequencer device/port listing
Paul Davis [Sat, 21 Jun 2014 01:51:59 +0000 (21:51 -0400)]
fix some confusion when redrawing editor/mixer track/strip displays after track/bus deletion
The code relied on the idea that the order-key resync that occurs after deletion would change the order keys and thus cause
a redisplay. But since both the editor and mixer can initiate an order-key resync, the other window's resync will actually
do nothing (the order keys will already be correct). This led to the incorrect placement of material in the tracks canvas,
because the first resync triggered a redisplay while the route still existed, and then the second resync didn't cause a
redisplay (repositioning) but the canvas elements representing the track went away.
Fixed by forcing a redisplay in both editor and mixer if a route deletion is believed to be triggering a row deletion
in their underlying data models.
Paul Davis [Thu, 19 Jun 2014 19:06:48 +0000 (15:06 -0400)]
ensure that all waveviews have ALL their colors set accurately before first render
Avoids occasional bright red zero line drawn because the color(s) had not been reset correctly
Paul Davis [Thu, 19 Jun 2014 17:47:53 +0000 (13:47 -0400)]
explanatory comment
Paul Davis [Thu, 19 Jun 2014 17:45:05 +0000 (13:45 -0400)]
correct conversion of drop y-position into trackview for drag-n-drop of external files
Robin Gareus [Thu, 19 Jun 2014 17:43:13 +0000 (19:43 +0200)]
no more stack smashing, renice debug messages
Robin Gareus [Thu, 19 Jun 2014 17:42:59 +0000 (19:42 +0200)]
latency measurement dialog updates:
* distinguish errors: no ports and no engine.
* fix "No measurement results yet" message at successful end
* stop update callback
Robin Gareus [Thu, 19 Jun 2014 17:42:46 +0000 (19:42 +0200)]
engine-dialog: properly restore previous active state
Robin Gareus [Thu, 19 Jun 2014 17:42:19 +0000 (19:42 +0200)]
rework raw-midi drain strategy (workaround for sync devices)
Robin Gareus [Wed, 18 Jun 2014 18:53:43 +0000 (20:53 +0200)]
fix port-unregister (on failed latency measurement)
Paul Davis [Thu, 19 Jun 2014 17:18:42 +0000 (13:18 -0400)]
fix non-working cmd-Q on OS X. For some reason the shenanigans related to removing it from various menus as part of OS X standards breaks the accel system
Paul Davis [Thu, 19 Jun 2014 15:18:37 +0000 (11:18 -0400)]
change the way font specifications are used in UI config files
If no font family is specified, enforce use of Sans to match GTK behaviour (which we inadvertently relied on, it appears)
Paul Davis [Thu, 19 Jun 2014 15:16:27 +0000 (11:16 -0400)]
modifications to region drag implementation
(1) if we're dragging over the drop zone, then x-axis motion is irrelevant for threshold-of-move
(2) store original time axis view of a dragged region so that if we create a new track with the region drag, it can be the same height
Paul Davis [Thu, 19 Jun 2014 03:49:07 +0000 (23:49 -0400)]
various fixes for places that used get_font_for_style() ... converted to use UIConfiguration::get_canvasvar_*Font()
Paul Davis [Thu, 19 Jun 2014 03:48:13 +0000 (23:48 -0400)]
add bold monospace font specs to canvas_vars/ardour3_ui_default.conf
Paul Davis [Thu, 19 Jun 2014 13:25:49 +0000 (09:25 -0400)]
use new canvas cursor API to manage cursors while embedding audio
Paul Davis [Thu, 19 Jun 2014 13:25:24 +0000 (09:25 -0400)]
fix potential crash in Editor::set_canvas_cursor() if inadvertently passed a null cursor (semantics are different on OS X vs. X Window)
John Emmas [Thu, 19 Jun 2014 10:49:51 +0000 (11:49 +0100)]
Remove (no longer needed) sources from an MSVC project
John Emmas [Thu, 19 Jun 2014 10:47:49 +0000 (11:47 +0100)]
Move the definition for 'strtok_r' (to avoid clashing with a different definition in pthread_win32)
Paul Davis [Thu, 19 Jun 2014 02:48:24 +0000 (22:48 -0400)]
change verbose cursor font selection to use canvas variable mechanism, plus a few developing comment edits
Paul Davis [Thu, 19 Jun 2014 01:03:25 +0000 (21:03 -0400)]
more work on cursor tracking state
Paul Davis [Thu, 19 Jun 2014 01:03:11 +0000 (21:03 -0400)]
explanatory comment
Paul Davis [Thu, 19 Jun 2014 01:02:51 +0000 (21:02 -0400)]
fix naming of selection rect-related items
Paul Davis [Thu, 19 Jun 2014 01:02:30 +0000 (21:02 -0400)]
if we're not going to notify parents of bbox changes while an item is hidden, we need to remind it when the item is hidden or shown
nick_m [Wed, 18 Jun 2014 15:52:21 +0000 (01:52 +1000)]
Summary changes :
* Use correct image format for background image
* Construct thr ImageSurface as per cairo docs
* Place start/end markers in background image
Tempo bars :
* adjust beats display threshold to (hopefully) coincide with BBT ruler better.
Paul Davis [Wed, 18 Jun 2014 15:20:10 +0000 (11:20 -0400)]
Merge branch 'canvas_tweaks' of https://github.com/nmains/ardour into cairocanvas
Paul Davis [Wed, 18 Jun 2014 14:24:59 +0000 (10:24 -0400)]
a whole slew of changes related to centralizing and rationalizing cursor management.
Debugging output left in place to help address the reports that will come in as people test this more
nick_m [Wed, 18 Jun 2014 14:06:32 +0000 (00:06 +1000)]
Canvas tweaks.
* Only queue a draw for changed items that are set visible and in-window.
Paul Davis [Tue, 17 Jun 2014 15:35:13 +0000 (11:35 -0400)]
Merge branch 'cache_fixes' of https://github.com/nmains/ardour into cairocanvas
Paul Davis [Tue, 17 Jun 2014 15:34:47 +0000 (11:34 -0400)]
a set of 3 fixes that cure Canvas::Text leaving dirty pixels when being dragged. or might not - testing is non-deterministic, which is alarming
Paul Davis [Tue, 17 Jun 2014 15:34:10 +0000 (11:34 -0400)]
use a different approach for indicating expose rects (from robin gareus). #ifdef'd out by default
Robin Gareus [Tue, 17 Jun 2014 14:15:16 +0000 (16:15 +0200)]
prepare midi-latency measurement using sysex messages
Robin Gareus [Tue, 17 Jun 2014 13:51:49 +0000 (15:51 +0200)]
highlight send-panner
nick_m [Tue, 17 Jun 2014 14:16:51 +0000 (00:16 +1000)]
Cache entries are now region colour aware.
Paul Davis [Tue, 17 Jun 2014 12:09:00 +0000 (08:09 -0400)]
Merge branch 'pathscanner-refactor' of https://github.com/mojofunk/ardour into cairocanvas
Paul Davis [Tue, 17 Jun 2014 12:08:44 +0000 (08:08 -0400)]
Merge branch 'summary_background' of https://github.com/nmains/ardour into cairocanvas
Paul Davis [Tue, 17 Jun 2014 12:08:07 +0000 (08:08 -0400)]
a set of inter-related subtle changes to get vertical autoscrolling to work, or at least work better.
nick_m [Tue, 17 Jun 2014 11:44:36 +0000 (21:44 +1000)]
Render tracks and regions to a background image in the editor summary.
Connect to editor's SelectionChanged signal to display corresponding region colour change.
Tim Mayberry [Tue, 17 Jun 2014 03:29:31 +0000 (13:29 +1000)]
Remove PathScanner class from libpbd
Tim Mayberry [Tue, 17 Jun 2014 11:41:29 +0000 (21:41 +1000)]
Replace all use of PathScanner with equivalent functions from pbd/file_utils.h
Tim Mayberry [Tue, 17 Jun 2014 02:53:12 +0000 (12:53 +1000)]
Remove unused header includes
Tim Mayberry [Tue, 17 Jun 2014 02:37:43 +0000 (12:37 +1000)]
Add default arguments to match those in PathScanner::operator()
Tim Mayberry [Tue, 17 Jun 2014 02:16:37 +0000 (12:16 +1000)]
Move member functions from PathScanner to functions in pbd/file_utils.h
This allows us to remove PathScanner source file and keep PathScanner class
as header only until it is removed
Tim Mayberry [Tue, 17 Jun 2014 01:48:46 +0000 (11:48 +1000)]
Move PathScanner::operator() into header
Tim Mayberry [Tue, 17 Jun 2014 01:39:04 +0000 (11:39 +1000)]
Remove unused methods in PathScanner
Now that these methods are only a few lines it doesn't make much sense
to keep them seeing as they are unused. There are also functions with
near identical functionality in pbd/file_utils.h
Tim Mayberry [Tue, 17 Jun 2014 01:32:51 +0000 (11:32 +1000)]
Rename PathScanner::run_scan_internal to PathScanner::find_files_matching_filter
Tim Mayberry [Tue, 17 Jun 2014 01:22:52 +0000 (11:22 +1000)]
Remove PathScanner::run_scan and use PathScanner::run_scan_internal directly
Tim Mayberry [Tue, 17 Jun 2014 01:15:10 +0000 (11:15 +1000)]
Add PathScanner::find_files_matching_regex and move regexp usage to one place
Tim Mayberry [Tue, 17 Jun 2014 00:44:36 +0000 (10:44 +1000)]
Remove member filter argument from PathScanner methods and use normal filter for regex
Also use regfree to free memory of compiled patterns
Tim Mayberry [Mon, 16 Jun 2014 10:39:45 +0000 (20:39 +1000)]
Change PBD::PathScanner API to return results by value to avoid inadvertent memory leaks
Robin Gareus [Mon, 16 Jun 2014 21:58:52 +0000 (23:58 +0200)]
remove debug output
Robin Gareus [Mon, 16 Jun 2014 21:36:29 +0000 (23:36 +0200)]
hide "turn down volume" label for midi-latency measurement
Robin Gareus [Mon, 16 Jun 2014 20:08:52 +0000 (22:08 +0200)]
more alsa-midi debugging
Robin Gareus [Mon, 16 Jun 2014 18:22:31 +0000 (20:22 +0200)]
more midi latency detection debugging
Robin Gareus [Mon, 16 Jun 2014 17:44:23 +0000 (19:44 +0200)]
debug alsa midi latency measurement
Robin Gareus [Mon, 16 Jun 2014 15:56:52 +0000 (17:56 +0200)]
fix pango font style (prev commit)
Robin Gareus [Mon, 16 Jun 2014 15:30:22 +0000 (17:30 +0200)]
no more red latency messages
Robin Gareus [Sun, 15 Jun 2014 22:55:26 +0000 (00:55 +0200)]
fix typo in comment of prev. commit
Robin Gareus [Sun, 15 Jun 2014 22:51:45 +0000 (00:51 +0200)]
fix region un/combine, based on a patch by Tom Brand
Robin Gareus [Sun, 15 Jun 2014 18:46:06 +0000 (20:46 +0200)]
another edge-case, don't crash on invalid files with zero channels