e3a33330a4
rename closed padlock icon
2014-06-24 11:02:59 -04:00
1e160bca9a
new padlock icons (48x48)
2014-06-24 11:01:41 -04:00
a12f43fa46
add a modal lock dialog for better testing (and someone might find it useful, too)
2014-06-24 10:14:07 -04:00
f147846863
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.
2014-06-24 09:56:16 -04:00
dae3b26f18
playing with oofus' preferences for selected region coloring
2014-06-24 09:56:16 -04:00
5b5e8df627
fix f6aaa16
(boost shared pointer)
2014-06-24 01:09:12 +02:00
199ac89d40
return of the zero line
2014-06-23 15:24:08 -04:00
a743e68a0c
revert drawing of rectified waves back to previous approach since it (might be) slightly more efficient and is simpler to understand; add comments
2014-06-23 15:12:30 -04:00
437099fff9
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.
2014-06-23 14:57:55 -04:00
c44ebde5d6
reset time axis view item name text color when selected status changes
2014-06-23 10:29:30 -04:00
71c417948e
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
2014-06-23 10:06:59 -04:00
07fafac36e
don't let enumerated device list strings go out of scope.
2014-06-23 12:16:35 +02:00
fb51bdb892
statically allocate midi-options
...
fixes possible segfault when the data in the vector
goes out of scope due to RVO.
2014-06-23 11:56:58 +02:00
371bf59a94
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.
2014-06-23 05:12:08 +02:00
c13b74cd76
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?
2014-06-22 21:58:16 -04:00
f6aaa1660b
en/disable internal send+returns with tracks en/disable.
2014-06-23 00:48:47 +02:00
14c6dfab07
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.
2014-06-22 23:18:00 +02:00
b46652c3c9
button click (release, to be precise) within the canvas drop zone cancels all object and track selections
2014-06-22 15:24:26 -04:00
3624d93001
fix latency-measurement dialog back-button.
2014-06-22 18:28:24 +02:00
16ffff10cd
ALSA-backend: dedicated Midi-Buffer n-periods (only use for HW output)
2014-06-22 18:28:24 +02:00
6a5d805b38
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.
2014-06-22 11:41:05 -04:00
f0933bf005
add missing new files for canvas redesign
2014-06-22 09:53:14 -04:00
ff46a3c3a2
Merge branch 'canvasredesign' into cairocanvas
2014-06-22 09:34:39 -04:00
99f9b3456a
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
2014-06-22 09:29:16 -04:00
88caf84b81
Rename all 3 backends for the MSVC sln file
2014-06-22 13:29:17 +01:00
436302fd16
Rename dummy backend to match Tim's name
2014-06-22 13:11:59 +01:00
f46a1508d9
Rename jack backend to match Tim's name
2014-06-22 12:53:13 +01:00
07b71fd005
Rename waves backend to match Tim's name
2014-06-22 12:51:43 +01:00
0796ccfb65
use newly factored canvas in gtk2_ardour
2014-06-21 11:44:22 -04:00
a8bd6ecc4f
refactor Canvas so that all Items have children; add Container abstract base class; rename Group as "Layout" and retain only drawing semantics
2014-06-21 11:43:42 -04:00
6648074a13
virtual abstraction of Alsa Raw+Seq
2014-06-21 13:51:46 +02:00
5e436fc8fc
prepare ALSA sequencer
2014-06-21 11:51:11 +02:00
359a968e61
alsa sequencer device/port listing
2014-06-21 11:51:11 +02:00
5d6dc388f7
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.
2014-06-20 21:52:24 -04:00
237741d187
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
2014-06-19 15:06:48 -04:00
2ebaf2e45a
explanatory comment
2014-06-19 13:47:58 -04:00
f5edb5a022
correct conversion of drop y-position into trackview for drag-n-drop of external files
2014-06-19 13:45:22 -04:00
8c8928a99c
no more stack smashing, renice debug messages
2014-06-19 19:44:15 +02:00
edd9e730ef
latency measurement dialog updates:
...
* distinguish errors: no ports and no engine.
* fix "No measurement results yet" message at successful end
* stop update callback
2014-06-19 19:44:15 +02:00
07759bbbf2
engine-dialog: properly restore previous active state
2014-06-19 19:44:15 +02:00
bc67e47048
rework raw-midi drain strategy (workaround for sync devices)
2014-06-19 19:44:14 +02:00
157161e482
fix port-unregister (on failed latency measurement)
2014-06-19 19:44:14 +02:00
a0392a2349
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
2014-06-19 13:18:42 -04:00
01df705f70
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)
2014-06-19 11:18:44 -04:00
280fc81e05
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
2014-06-19 11:18:44 -04:00
276e8b48ce
various fixes for places that used get_font_for_style() ... converted to use UIConfiguration::get_canvasvar_*Font()
2014-06-19 11:18:44 -04:00
0d160a865b
add bold monospace font specs to canvas_vars/ardour3_ui_default.conf
2014-06-19 11:18:43 -04:00
66a5d09f36
use new canvas cursor API to manage cursors while embedding audio
2014-06-19 09:26:00 -04:00
f552c1cc5c
fix potential crash in Editor::set_canvas_cursor() if inadvertently passed a null cursor (semantics are different on OS X vs. X Window)
2014-06-19 09:26:00 -04:00
592654936e
Remove (no longer needed) sources from an MSVC project
2014-06-19 11:49:51 +01:00