Paul Davis [Sun, 25 Jan 2015 17:53:48 +0000 (12:53 -0500)]
fix incorrect logic when loading session via NextStep document API
Paul Davis [Sun, 25 Jan 2015 17:51:59 +0000 (12:51 -0500)]
fix declaration of Cocoa NSApplicationDelegate methods
Paul Davis [Sun, 25 Jan 2015 16:42:14 +0000 (11:42 -0500)]
Revert "alter default disk chunk sizes"
This reverts commit
3068e55e5141eb95f7b9ff49ac711d42fba7a753.
Robin Gareus [Sun, 25 Jan 2015 09:19:46 +0000 (10:19 +0100)]
add a simple status indicator to the Engine Dialog
Robin Gareus [Sun, 25 Jan 2015 09:19:06 +0000 (10:19 +0100)]
audio-engine use internal API to stop
emit signal(s) when engine is stopped due to backend
change.
Robin Gareus [Sun, 25 Jan 2015 09:18:33 +0000 (10:18 +0100)]
fix latency measurement result display
If measurement is fast (<100ms), the GUI timeout function
never displayed the measured value.
Robin Gareus [Sun, 25 Jan 2015 00:55:36 +0000 (01:55 +0100)]
midi note paste undo fix.
Paul Davis [Sun, 25 Jan 2015 00:27:28 +0000 (19:27 -0500)]
make butler thread merely ask for session state save, not actually do the save itself.
This prevents the possibility of cross-thread calls in the GUI when it adds its state
to the session via extra XML
Paul Davis [Sun, 25 Jan 2015 00:17:13 +0000 (19:17 -0500)]
add handler for, and connect to, Session::SaveSessionRequested
Paul Davis [Sun, 25 Jan 2015 00:06:31 +0000 (19:06 -0500)]
Add a new signal (not yet used) to initiate session saves; alter signal name for existing signal used to allow other objects to add XML state to session
Paul Davis [Sun, 25 Jan 2015 00:05:05 +0000 (19:05 -0500)]
alter default disk chunk sizes
Paul Davis [Sat, 24 Jan 2015 23:53:10 +0000 (18:53 -0500)]
add function to get data width for ARDOUR::SampleFormat
Paul Davis [Sat, 24 Jan 2015 19:08:19 +0000 (14:08 -0500)]
ScrollGroup::covers_{window,canvas}() need to account for possible non-zero position of the group.
They also do NOT need to consider scroll offset
Paul Davis [Sat, 24 Jan 2015 19:07:36 +0000 (14:07 -0500)]
ScrollGroups are kept in their own list, so ::window_to_canvas() does not need to inspect root group children to find them
Conflicts:
libs/canvas/canvas.cc
Robin Gareus [Sat, 24 Jan 2015 22:39:34 +0000 (23:39 +0100)]
ALSA backend: synchronous switch to/from freewheeling
Robin Gareus [Sat, 24 Jan 2015 21:45:42 +0000 (22:45 +0100)]
DummyBackend: sync switch to freewheeling
Robin Gareus [Sat, 24 Jan 2015 19:40:07 +0000 (20:40 +0100)]
fix copy/drag abort.
Paul Davis [Sat, 24 Jan 2015 17:26:58 +0000 (12:26 -0500)]
make MouseCursors invalid cursor API be static; use to initialize default cursor value in Drag API; use C API to set canvas cursor
Paul Davis [Fri, 23 Jan 2015 21:17:35 +0000 (16:17 -0500)]
make -n (numfiles) argument do something
Paul Davis [Fri, 23 Jan 2015 20:15:29 +0000 (15:15 -0500)]
allow use of null pointer as a valid cursor (implies using cursor of parent window)
Paul Davis [Fri, 23 Jan 2015 18:45:21 +0000 (13:45 -0500)]
fix indentation from prior commit
GZharun [Fri, 23 Jan 2015 12:46:23 +0000 (14:46 +0200)]
[Summary] Fixed bug 45163: Trim range from right corner of timeline leads Tracks to crash
[Details] Crash was provoked because of an attempt to add commands to the session reversible command, but when autoscroll started and trim began with autoscroll the session reversible command was not created for for Trim Drag.
Paul Davis [Fri, 23 Jan 2015 17:25:24 +0000 (12:25 -0500)]
add write tester script
Paul Davis [Fri, 23 Jan 2015 17:25:14 +0000 (12:25 -0500)]
adjust sftest.cc to be more usable as a write-bandwidth tester
Paul Davis [Fri, 23 Jan 2015 17:24:53 +0000 (12:24 -0500)]
fix small bug when using -N for nocache
Paul Davis [Thu, 22 Jan 2015 17:52:06 +0000 (12:52 -0500)]
split apart read and write chunk size and offer platform-dependent sizes for reading. Write chunk size should remain unchanged from before.
Robin Gareus [Fri, 23 Jan 2015 01:16:21 +0000 (02:16 +0100)]
fix crash at exit if location-ui was used
LocationEditRow members are destroyed after ~LocationUI()
destroys the clock_group. -> segfault in ~LocationEditRow()
Ben Loftis [Thu, 22 Jan 2015 21:00:13 +0000 (15:00 -0600)]
move control app button adjacent to sample rate and bufsize settings
Ben Loftis [Thu, 22 Jan 2015 20:54:56 +0000 (14:54 -0600)]
remove channelcount selectors for mixbus
Paul Davis [Thu, 22 Jan 2015 17:21:15 +0000 (12:21 -0500)]
really re-fix linux cache clear
Robin Gareus [Thu, 22 Jan 2015 17:16:07 +0000 (18:16 +0100)]
calculus is a lost art.
Paul Davis [Thu, 22 Jan 2015 17:15:39 +0000 (12:15 -0500)]
fix buffer cache flush for linux, and avoid incorrect indirection in interleaved case
Paul Davis [Thu, 22 Jan 2015 16:38:28 +0000 (11:38 -0500)]
Revert "use product-neutral name for LV2 install dir"
This reverts commit
44ca3c948c00a5403400d8cd46e5258ab13ff5be.
Paul Davis [Thu, 22 Jan 2015 16:27:49 +0000 (11:27 -0500)]
adjust run-readtest.sh so that it can be used as-is for testing multiple blocksizes
Paul Davis [Thu, 22 Jan 2015 16:22:29 +0000 (11:22 -0500)]
remove useless error output
Paul Davis [Thu, 22 Jan 2015 02:20:07 +0000 (21:20 -0500)]
use product-neutral name for LV2 install dir
Robin Gareus [Wed, 21 Jan 2015 21:26:14 +0000 (22:26 +0100)]
update selection clock
Robin Gareus [Wed, 21 Jan 2015 19:24:39 +0000 (20:24 +0100)]
set Theme buttons on state reset
cleaner version of last commit, set GUI elements
on state-reset.
Robin Gareus [Wed, 21 Jan 2015 18:41:15 +0000 (19:41 +0100)]
initialize theme > gradient sliders.
Robin Gareus [Wed, 21 Jan 2015 18:35:04 +0000 (19:35 +0100)]
apply Theme > “Show waveform clipping”
fixes http://tracker.ardour.org/view.php?id=5589#c15515
Paul Davis [Tue, 20 Jan 2015 22:19:23 +0000 (17:19 -0500)]
correct run-readtest.sh for use on OS X as well
Paul Davis [Tue, 20 Jan 2015 21:17:53 +0000 (16:17 -0500)]
tweaks to make more C-like and quieten down if desired; plus additional output at end
Paul Davis [Tue, 20 Jan 2015 21:17:32 +0000 (16:17 -0500)]
add script for running readtest
Robin Gareus [Tue, 20 Jan 2015 20:25:59 +0000 (21:25 +0100)]
clarify reasonable synth description.
Robin Gareus [Tue, 20 Jan 2015 17:29:35 +0000 (18:29 +0100)]
few more read-test tweaks:
* add a file-limit option
* print max elapsed read time
Robin Gareus [Tue, 20 Jan 2015 17:01:38 +0000 (18:01 +0100)]
fix bundled LV2 installation path (waf install)
Robin Gareus [Tue, 20 Jan 2015 00:27:47 +0000 (01:27 +0100)]
readtest: print min/avg report at end
Robin Gareus [Mon, 19 Jan 2015 23:57:22 +0000 (00:57 +0100)]
NOOP, re-indent
Robin Gareus [Mon, 19 Jan 2015 23:55:11 +0000 (00:55 +0100)]
fix to compile with gcc on linux
Robin Gareus [Mon, 19 Jan 2015 23:54:48 +0000 (00:54 +0100)]
rename readtest (.c not .cc)
Robin Gareus [Mon, 19 Jan 2015 23:46:58 +0000 (00:46 +0100)]
few more basic ControList/Curve Tests
Guido Aulisi [Sat, 16 Aug 2014 10:26:33 +0000 (12:26 +0200)]
Curve::_get_vector: fix return value when veclen == 1
When the crossfade length is only 1 frame, I got strange
gain coefficients from get_vector (63 in my case).
The function wrongly returned the x axis value.
Robin Gareus [Mon, 19 Jan 2015 22:53:52 +0000 (23:53 +0100)]
2-point Curve Linear Interpolation Test
Paul Davis [Mon, 19 Jan 2015 21:18:48 +0000 (16:18 -0500)]
C fix for readtest (git command ordering caused this)
Paul Davis [Mon, 19 Jan 2015 21:17:16 +0000 (16:17 -0500)]
various fixes and improvements
Paul Davis [Mon, 19 Jan 2015 21:16:51 +0000 (16:16 -0500)]
new C version of readtester, without libsndfile
Robin Gareus [Mon, 19 Jan 2015 21:14:58 +0000 (22:14 +0100)]
minimalistic Evoral::Curve Unit Test.
Paul Davis [Mon, 19 Jan 2015 19:57:24 +0000 (14:57 -0500)]
new read tester for investigating read bandwidth issues
nick_m [Mon, 19 Jan 2015 17:49:44 +0000 (04:49 +1100)]
Fixes for when rubberbanding_snaps_to_grid config setting is off.
The initial point and the ultimately selected items were always following
the snap settings. Also the VCC was displaying incorrectly on button press.
Robin Gareus [Mon, 19 Jan 2015 16:50:50 +0000 (17:50 +0100)]
Hotfix crash in OSX engine dialog.
This is not really a fix, just some quick hack
to make ardour start at all if there’s no prior
CoreAudio EngineState in the config.
Ben Loftis [Mon, 19 Jan 2015 13:29:25 +0000 (07:29 -0600)]
use C locale, because POSIX locale is not supported on windows, and operation is undefined. C works on all platforms
John Emmas [Sun, 18 Jan 2015 18:52:24 +0000 (18:52 +0000)]
On Windows, #include <shellapi.h> so we can use ShellExecute()
Ben Loftis [Sun, 18 Jan 2015 17:16:28 +0000 (11:16 -0600)]
fix open_uri for windows
Ben Loftis [Sun, 18 Jan 2015 15:43:05 +0000 (09:43 -0600)]
Dramatically improve windows session-save-time by avoiding recursive calls to set_locale.
David Robillard [Sun, 18 Jan 2015 03:19:57 +0000 (22:19 -0500)]
Fix MIDI bounce/consolidate note resolution.
David Robillard [Sun, 18 Jan 2015 02:33:00 +0000 (21:33 -0500)]
Fix stuck notes in short MIDI regions.
Robin Gareus [Sat, 17 Jan 2015 21:38:48 +0000 (22:38 +0100)]
consistent display of period-size.
Robin Gareus [Sat, 17 Jan 2015 21:02:36 +0000 (22:02 +0100)]
fix panner send-strip color
Robin Gareus [Sat, 17 Jan 2015 20:28:59 +0000 (21:28 +0100)]
display current buffer size - hopefully w/o breaking ASIO
Robin Gareus [Sat, 17 Jan 2015 20:09:37 +0000 (21:09 +0100)]
Robin Gareus [Sat, 17 Jan 2015 20:02:00 +0000 (21:02 +0100)]
Engine Dialog: fix various signal connections
connect/disconnect button was connected multiple times
Also the button allowed to start a backend with
invalid settings (after changing backend).
Q: does “Connect to” make sense? It’s redundant with
“Apply”.
Robin Gareus [Sat, 17 Jan 2015 18:51:57 +0000 (19:51 +0100)]
engine dialog fix buffersize sensitivity
Robin Gareus [Sat, 17 Jan 2015 18:50:48 +0000 (19:50 +0100)]
update engine dialog UI state
fixes crash when jack is started externally
and the dialog is displayed later.
The current state e.g. avail buffer sizes is not
are queried from the backend, Apply,OK -> crash
because the dropdown is empty)
nick_m [Sat, 17 Jan 2015 18:25:23 +0000 (05:25 +1100)]
Fix some ignored region selection changes (probably others).
Fix ignored right click track selection change.
Robin Gareus [Sat, 17 Jan 2015 17:19:25 +0000 (18:19 +0100)]
waf: fix concurrency issue with duplicate targets
The same source file cannot safely be used in different wscripts
with concurrency (if they were in the same wscript it works
.c.1.o .c.2.o, etc).
[387/764] c: libs/fst/vstwin.c -> build/libs/fst/vstwin.c.1.o
[731/764] c: libs/fst/vstwin.c -> build/libs/fst/vstwin.c.1.o
[746/764] cxxprogram: build/libs/fst/scanner.cc.1.o build/libs/fst/vstwin.c.1.o -> build/libs/fst/ardour-vst-scanner.exe
[750/764] cxxshlib: [...] build/libs/fst/vstwin.c.1.o [...] -> build/libs/ardour/ardour-3.dll
and about one every full moon (depending on concurrency) it failed:
missing file: 'build/libs/fst/vstwin.c.1.o'
David Robillard [Sat, 17 Jan 2015 03:06:10 +0000 (22:06 -0500)]
Revert "Kludgey fix for invisible playhead when scrolled."
This reverts commit
8f823388d9bd5aa8e297ab05be8c9fb323518945.
David Robillard [Sat, 17 Jan 2015 03:04:26 +0000 (22:04 -0500)]
Compute arrow bbox manually to appease crazy canvas.
David Robillard [Sat, 17 Jan 2015 02:04:38 +0000 (21:04 -0500)]
Kludgey fix for invisible playhead when scrolled.
The problem this is avoiding makes absolutely no sense. Either I'm dumb, or
something is more deeply wrong with scroll group bounding boxes, or both, but I
don't care anymore. This works. Viva release mode.
Robin Gareus [Sat, 17 Jan 2015 00:26:29 +0000 (01:26 +0100)]
David Robillard [Sat, 17 Jan 2015 00:09:47 +0000 (19:09 -0500)]
Put playhead on top of everything.
Achieve this by adding a new hscroll group just for cursors.
That requires a slightly smarter window_to_canvas() to deal with overlapping
sensitive scroll groups. New rule is that scroll groups can overlap, but the
most sensitive one found from the top down will be chosen to translate
coordinates. This basically means don't overlap scroll groups with different
sensitivities.
In the presence of scroll groups, having a canvas-wide window_to_canvas()
and/or canvas_to_window() fundamentally makes no sense. At some point in the
glorious future we should kill those and use only item-relative coordinate
translation.
David Robillard [Fri, 16 Jan 2015 23:36:58 +0000 (18:36 -0500)]
Update arrow bbox when geometry changes.
David Robillard [Fri, 16 Jan 2015 23:26:54 +0000 (18:26 -0500)]
Fix clipping for scroll groups an offset bbox.
Ben Loftis [Fri, 16 Jan 2015 23:14:06 +0000 (17:14 -0600)]
ASIO devices have a preferred buffersize.
pass this value up so it can be used by the engine dialog.
if for some reason the engine dialog still doesn't have a buffersize selected, print an error and try 512 instead of crashing.
Robin Gareus [Fri, 16 Jan 2015 21:24:04 +0000 (22:24 +0100)]
DMG background images for Mixbus
Robin Gareus [Fri, 16 Jan 2015 21:21:12 +0000 (22:21 +0100)]
mixbus quick-start PDF is history
David Robillard [Fri, 16 Jan 2015 19:52:40 +0000 (14:52 -0500)]
Fix hidden notes at trimmed region start.
nick_m [Fri, 16 Jan 2015 17:55:05 +0000 (04:55 +1100)]
Fix note resize double undo bug.
Newly drawn notes are selected.
Clear midi note selection on Selection::set_state().
David Robillard [Thu, 15 Jan 2015 01:31:38 +0000 (20:31 -0500)]
Fix setting command key bindings on OSX.
Robin Gareus [Wed, 14 Jan 2015 19:10:34 +0000 (20:10 +0100)]
don’t show “-all-“ group with currently does nothing.
Robin Gareus [Wed, 14 Jan 2015 18:29:55 +0000 (19:29 +0100)]
JACK: add support for device names with whitespace
This is backwards compatible, quotes are only added if needed.
JACK1 < 0.123.1-30 and JACK2 < 1.9.10-25 fail with either
whitespace or quotes, so nothing is lost.
nick_m [Wed, 14 Jan 2015 14:39:00 +0000 (01:39 +1100)]
Reduce selection loss when changing mouse modes.
Never change selection when smart mode toggled.
nick_m [Wed, 14 Jan 2015 13:06:16 +0000 (00:06 +1100)]
A test for less brutall deselection on mouse mode change.
Mostly stops toggling smart mode from doing anything to the selection.
Ben Loftis [Wed, 14 Jan 2015 12:30:16 +0000 (06:30 -0600)]
toggling smart mode is just an option.
it should not force mouse-mode to Object
it should not clear the current object selection
David Robillard [Wed, 14 Jan 2015 04:53:28 +0000 (23:53 -0500)]
Remove drag code from automation region view.
Let the editor handle it like (almost) everything else.
David Robillard [Wed, 14 Jan 2015 04:30:37 +0000 (23:30 -0500)]
Fix automation range drag and implement for MIDI.
Range select rect sticks around now after switching to the draw tool, but
disappears if a note selection is made. Not sure if draw is really the most
appropriate tool here (particularly if we ever implement actual pencil-like
drawing); edit contents seems more appropriate but that would probably cause
more selection issues, so here we are.
Ben Loftis [Tue, 13 Jan 2015 19:33:42 +0000 (13:33 -0600)]
when the mouse tool changes, smart mode should have no effect on clearing selections
Robin Gareus [Tue, 13 Jan 2015 17:36:10 +0000 (18:36 +0100)]
fix auditioning of regions with offset - fixes #6131
nick_m [Tue, 13 Jan 2015 11:52:02 +0000 (22:52 +1100)]
Don't reuse _optimization_iterator - fixes crash on multiple note delete undo.
nick_m [Tue, 13 Jan 2015 10:41:30 +0000 (21:41 +1100)]
Fix missing selection undo for track header click and route list select.
David Robillard [Tue, 13 Jan 2015 06:00:53 +0000 (01:00 -0500)]
Give tempo dialog initial focus to BPM spinner.