ardour.git
9 years agofew more basic ControList/Curve Tests
Robin Gareus [Mon, 19 Jan 2015 23:46:58 +0000 (00:46 +0100)]
few more basic ControList/Curve Tests

9 years agoCurve::_get_vector: fix return value when veclen == 1
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.

9 years ago2-point Curve Linear Interpolation Test
Robin Gareus [Mon, 19 Jan 2015 22:53:52 +0000 (23:53 +0100)]
2-point Curve Linear Interpolation Test

9 years agoC fix for readtest (git command ordering caused this)
Paul Davis [Mon, 19 Jan 2015 21:18:48 +0000 (16:18 -0500)]
C fix for readtest (git command ordering caused this)

9 years agovarious fixes and improvements
Paul Davis [Mon, 19 Jan 2015 21:17:16 +0000 (16:17 -0500)]
various fixes and improvements

9 years agonew C version of readtester, without libsndfile
Paul Davis [Mon, 19 Jan 2015 21:16:51 +0000 (16:16 -0500)]
new C version of readtester, without libsndfile

9 years agominimalistic Evoral::Curve Unit Test.
Robin Gareus [Mon, 19 Jan 2015 21:14:58 +0000 (22:14 +0100)]
minimalistic Evoral::Curve Unit Test.

9 years agonew read tester for investigating read bandwidth issues
Paul Davis [Mon, 19 Jan 2015 19:57:24 +0000 (14:57 -0500)]
new read tester for investigating read bandwidth issues

9 years agoFixes for when rubberbanding_snaps_to_grid config setting is off.
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.

9 years agoHotfix crash in OSX engine dialog.
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.

9 years agouse C locale, because POSIX locale is not supported on windows, and operation is...
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

9 years agoOn Windows, #include <shellapi.h> so we can use ShellExecute()
John Emmas [Sun, 18 Jan 2015 18:52:24 +0000 (18:52 +0000)]
On Windows, #include <shellapi.h> so we can use ShellExecute()

9 years agofix open_uri for windows
Ben Loftis [Sun, 18 Jan 2015 17:16:28 +0000 (11:16 -0600)]
fix open_uri for windows

9 years agoDramatically improve windows session-save-time by avoiding recursive calls to set_locale.
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.

9 years agoFix MIDI bounce/consolidate note resolution.
David Robillard [Sun, 18 Jan 2015 03:19:57 +0000 (22:19 -0500)]
Fix MIDI bounce/consolidate note resolution.

9 years agoFix stuck notes in short MIDI regions.
David Robillard [Sun, 18 Jan 2015 02:33:00 +0000 (21:33 -0500)]
Fix stuck notes in short MIDI regions.

9 years agoconsistent display of period-size.
Robin Gareus [Sat, 17 Jan 2015 21:38:48 +0000 (22:38 +0100)]
consistent display of period-size.

9 years agofix panner send-strip color
Robin Gareus [Sat, 17 Jan 2015 21:02:36 +0000 (22:02 +0100)]
fix panner send-strip color

9 years agodisplay current buffer size - hopefully w/o breaking ASIO
Robin Gareus [Sat, 17 Jan 2015 20:28:59 +0000 (21:28 +0100)]
display current buffer size - hopefully w/o breaking ASIO

9 years agofix 20ea90a1 for winegcc
Robin Gareus [Sat, 17 Jan 2015 20:09:37 +0000 (21:09 +0100)]
fix 20ea90a1 for winegcc

9 years agoEngine Dialog: fix various signal connections
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”.

9 years agoengine dialog fix buffersize sensitivity
Robin Gareus [Sat, 17 Jan 2015 18:51:57 +0000 (19:51 +0100)]
engine dialog fix buffersize sensitivity

9 years agoupdate engine dialog UI state
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)

9 years agoFix some ignored region selection changes (probably others).
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.

9 years agowaf: fix concurrency issue with duplicate targets
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'

9 years agoRevert "Kludgey fix for invisible playhead when scrolled."
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.

9 years agoCompute arrow bbox manually to appease crazy canvas.
David Robillard [Sat, 17 Jan 2015 03:04:26 +0000 (22:04 -0500)]
Compute arrow bbox manually to appease crazy canvas.

9 years agoKludgey fix for invisible playhead when scrolled.
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.

9 years agofix 05a612b
Robin Gareus [Sat, 17 Jan 2015 00:26:29 +0000 (01:26 +0100)]
fix 05a612b

9 years agoPut playhead on top of everything.
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.

9 years agoUpdate arrow bbox when geometry changes.
David Robillard [Fri, 16 Jan 2015 23:36:58 +0000 (18:36 -0500)]
Update arrow bbox when geometry changes.

9 years agoFix clipping for scroll groups an offset bbox.
David Robillard [Fri, 16 Jan 2015 23:26:54 +0000 (18:26 -0500)]
Fix clipping for scroll groups an offset bbox.

9 years agoASIO devices have a preferred buffersize.
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.

9 years agoDMG background images for Mixbus
Robin Gareus [Fri, 16 Jan 2015 21:24:04 +0000 (22:24 +0100)]
DMG background images for Mixbus

9 years agomixbus quick-start PDF is history
Robin Gareus [Fri, 16 Jan 2015 21:21:12 +0000 (22:21 +0100)]
mixbus quick-start PDF is history

9 years agoFix hidden notes at trimmed region start.
David Robillard [Fri, 16 Jan 2015 19:52:40 +0000 (14:52 -0500)]
Fix hidden notes at trimmed region start.

9 years agoFix note resize double undo bug.
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().

9 years agoFix setting command key bindings on OSX.
David Robillard [Thu, 15 Jan 2015 01:31:38 +0000 (20:31 -0500)]
Fix setting command key bindings on OSX.

9 years agodon’t show “-all-“ group with currently does nothing.
Robin Gareus [Wed, 14 Jan 2015 19:10:34 +0000 (20:10 +0100)]
don’t show “-all-“ group with currently does nothing.

9 years agoJACK: add support for device names with whitespace
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.

9 years agoReduce selection loss when changing mouse modes.
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.

9 years agoA test for less brutall deselection on mouse mode change.
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.

9 years agotoggling smart mode is just an option.
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

9 years agoRemove drag code from automation region view.
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.

9 years agoFix automation range drag and implement for MIDI.
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.

9 years agowhen the mouse tool changes, smart mode should have no effect on clearing selections
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

9 years agofix auditioning of regions with offset - fixes #6131
Robin Gareus [Tue, 13 Jan 2015 17:36:10 +0000 (18:36 +0100)]
fix auditioning of regions with offset - fixes #6131

9 years agoDon't reuse _optimization_iterator - fixes crash on multiple note delete undo.
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.

9 years agoFix missing selection undo for track header click and route list select.
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.

9 years agoGive tempo dialog initial focus to BPM spinner.
David Robillard [Tue, 13 Jan 2015 06:00:53 +0000 (01:00 -0500)]
Give tempo dialog initial focus to BPM spinner.

9 years agoLTC: don’t flag “no lock” until delta was at zero at least least once.
Robin Gareus [Mon, 12 Jan 2015 22:17:39 +0000 (23:17 +0100)]
LTC: don’t flag “no lock” until delta was at zero at least least once.

9 years agoshow title bar for big clock window
Robin Gareus [Mon, 12 Jan 2015 21:34:08 +0000 (22:34 +0100)]
show title bar for big clock window

fixes #6116
(on OSX and [most] Linux WMs the title-bar was implicitly present)

9 years agosmall tool to debug .peak files
Robin Gareus [Mon, 12 Jan 2015 19:45:34 +0000 (20:45 +0100)]
small tool to debug .peak files

9 years agoadd an explicit indicator for LTC lock
Robin Gareus [Mon, 12 Jan 2015 19:27:23 +0000 (20:27 +0100)]
add an explicit indicator for LTC lock

9 years agostrict OSX packaging, fail on error
Robin Gareus [Mon, 12 Jan 2015 17:57:02 +0000 (18:57 +0100)]
strict OSX packaging, fail on error

9 years agoforce complete peak compute.
Robin Gareus [Mon, 12 Jan 2015 02:08:14 +0000 (03:08 +0100)]
force complete peak compute.

Do not skip peaks when creating peak files while recording.
Fixes missing peaks in #6127

(TODO: after double-check and sign-off, remove ‘force’
parameter from ::compute_and_write_peaks API)

9 years agoFollowing my last change we can now give 'MSVCArdour3.vsprops.in' its correct name
John Emmas [Mon, 12 Jan 2015 14:47:44 +0000 (14:47 +0000)]
Following my last change we can now give 'MSVCArdour3.vsprops.in' its correct name

This change is MSVC specific and shouldn't affect the other builds

9 years agoWhen building with MSVC make sure any backends / panners etc get copied to the correc...
John Emmas [Mon, 12 Jan 2015 14:43:22 +0000 (14:43 +0000)]
When building with MSVC make sure any backends / panners etc get copied to the correct target folder

(i.e. 'lib/ardour3' or 'lib/mixbus3' as appropriate)

These changes are MSVC specific and shouldn't affect the other builds

9 years agoDon't default to grab mode when undoing selection.
David Robillard [Mon, 12 Jan 2015 07:31:27 +0000 (02:31 -0500)]
Don't default to grab mode when undoing selection.

I'm not sure how/why this ever happens, but it does, switching the tool when it
shouldn't, which is annoying.  I'm also not sure if this fallback is necessary
for some reason, but it seems to work fine without for me.

9 years agoFix whitespace.
David Robillard [Mon, 12 Jan 2015 07:05:19 +0000 (02:05 -0500)]
Fix whitespace.

9 years agoMerge duplicated code.
David Robillard [Mon, 12 Jan 2015 07:04:55 +0000 (02:04 -0500)]
Merge duplicated code.

9 years agoTrim include tree.
David Robillard [Mon, 12 Jan 2015 07:04:08 +0000 (02:04 -0500)]
Trim include tree.

9 years agoFix crash when undoing note delete.
David Robillard [Mon, 12 Jan 2015 07:03:49 +0000 (02:03 -0500)]
Fix crash when undoing note delete.

9 years agoFix broken whitespace (noop).
David Robillard [Mon, 12 Jan 2015 06:02:58 +0000 (01:02 -0500)]
Fix broken whitespace (noop).

9 years agoPut tempo lines below tracks.
David Robillard [Mon, 12 Jan 2015 06:02:37 +0000 (01:02 -0500)]
Put tempo lines below tracks.

9 years agoRemove unused vertical scroll group.
David Robillard [Mon, 12 Jan 2015 06:01:44 +0000 (01:01 -0500)]
Remove unused vertical scroll group.

9 years agoFix mouse event position offset bug.
David Robillard [Mon, 12 Jan 2015 05:57:10 +0000 (00:57 -0500)]
Fix mouse event position offset bug.

Search scroll groups for event delivery from top to bottom rather than bottom
to top.  Overlapping scroll groups still aren't properly supported by the
canvas, but currently all we care about is that the top one gets the event, so
the hscroll group (tempo lines) can be below the hvscroll group (tracks), but
the latter gets events.

9 years agoRevert "hotfix z-stacking"
David Robillard [Mon, 12 Jan 2015 02:41:17 +0000 (21:41 -0500)]
Revert "hotfix z-stacking"

This reverts commit 03f0229bcfc35916f81c6187948df3ea3b79a976.

Mitigate the fallout from said overly aggressive revert: preserve the alpha
values to not break the color configuration for when the lines are fixed.

9 years agoadd a midi->audio dummy backend mode.
Robin Gareus [Sun, 11 Jan 2015 14:58:28 +0000 (15:58 +0100)]
add a midi->audio dummy backend mode.

this allows to easily debug latency compensation
as well as visualize lost midi events.

9 years agoremove track-selection requirement so fit_selected_tracks works as coded. change...
Ben Loftis [Sun, 11 Jan 2015 17:46:36 +0000 (11:46 -0600)]
remove track-selection requirement so fit_selected_tracks works as coded.  change name to fit-selection.  remove action to zoom (both axes) because this can trivially be accomplished by clicking (f)it and (z)oom sequentially, and it frees a keybinding.  remaining bug: Fitting a selection of MIDI regions doesnt work right

9 years agohotfix z-stacking
Robin Gareus [Sun, 11 Jan 2015 13:13:54 +0000 (14:13 +0100)]
hotfix z-stacking

This reverts commit 780c1762 and e70c9a3
Both combined introduced various bugs:

* rubberband-selection has a scroll-offset
* region drag/drop has wrong y-offset
* ranges (loop etc) are above the playhead
* possible scroll performance hit (long unclipped
  lines in h_scroll_group)

on the downside: time-grid is now no longer visible behind
the rulers. Doing that will require a different approach…

9 years agoclean up whitespace & debug output in 44203ce
Robin Gareus [Sun, 11 Jan 2015 01:55:48 +0000 (02:55 +0100)]
clean up whitespace & debug output in 44203ce

9 years agoRaise threshold for showing ticks for a bit.
David Robillard [Sun, 11 Jan 2015 00:38:37 +0000 (19:38 -0500)]
Raise threshold for showing ticks for a bit.

This fixes two zoom levels (the closest that shows bars, and the next closest)
that had the same tick resolution despite enough space.

9 years agoRaise regions about tempo lines.
David Robillard [Sun, 11 Jan 2015 00:38:21 +0000 (19:38 -0500)]
Raise regions about tempo lines.

9 years agoconsistent autobuild log output
Robin Gareus [Sat, 10 Jan 2015 18:39:45 +0000 (19:39 +0100)]
consistent autobuild log output

9 years agogracefully handle missing .midnam
Robin Gareus [Sat, 10 Jan 2015 18:31:50 +0000 (19:31 +0100)]
gracefully handle missing .midnam

Fixes bug: Add a .midnam to local preferences.
use it in a session. delete the .midnam,
reload session -> crash

9 years agoFix AutomationTrackItem rubberband click thinking it was unhandled.
nick_m [Sat, 10 Jan 2015 17:07:31 +0000 (04:07 +1100)]
Fix AutomationTrackItem rubberband click thinking it was unhandled.
Fix several other cases where a single mouse click could cause several
(not nested) selection ops.
Fix missing selection memento for midi notes and midi commands.
Rename some variables.
Fix random style issues.

9 years agoAccommodate a newly introduced #define ('LIBARDOUR') when building with MSVC
John Emmas [Sat, 10 Jan 2015 12:15:47 +0000 (12:15 +0000)]
Accommodate a newly introduced #define ('LIBARDOUR') when building with MSVC

These changes are MSVC specific and shouldn't affect the other builds.

9 years agoAccommodate a newly introduced #define ('PROGRAM_VERSION') when building with MSVC
John Emmas [Sat, 10 Jan 2015 12:13:33 +0000 (12:13 +0000)]
Accommodate a newly introduced #define ('PROGRAM_VERSION') when building with MSVC

This change is MSVC specific and shouldn't affect the other builds.

9 years agoAdd a newly introduced header file to our MSVC project (libevoral)
John Emmas [Sat, 10 Jan 2015 11:58:58 +0000 (11:58 +0000)]
Add a newly introduced header file to our MSVC project (libevoral)

This change is MSVC specific and shouldn't affect the other builds.

9 years agoAdd support for the C99 function 'log2()' which is newly needed by 'gtk2_ardour/tempo...
John Emmas [Sat, 10 Jan 2015 11:56:24 +0000 (11:56 +0000)]
Add support for the C99 function 'log2()' which is newly needed by 'gtk2_ardour/tempo_lines.cc' (but isn't available from MSVC).

These changes are MSVC specific and shouldn't affect the other builds.

(incidentally, libpbd already offers a function called 'fast_log2()'. Not sure if that could have been used instead...)

9 years agoFix initial display of grouped MIDI region colors.
David Robillard [Fri, 9 Jan 2015 22:49:16 +0000 (17:49 -0500)]
Fix initial display of grouped MIDI region colors.

9 years agoUse quotes to include local library headers.
David Robillard [Fri, 9 Jan 2015 22:48:58 +0000 (17:48 -0500)]
Use quotes to include local library headers.

9 years agofix select-all-regions-within (it used to select everything overlapped)
Ben Loftis [Fri, 9 Jan 2015 18:20:02 +0000 (12:20 -0600)]
fix select-all-regions-within (it used to select everything overlapped)

9 years agomake set_selection_from_region do something visible
Ben Loftis [Fri, 9 Jan 2015 17:14:34 +0000 (11:14 -0600)]
make set_selection_from_region do something visible

9 years agostash Bring Into Session inside the Cleanup submenu
Ben Loftis [Thu, 8 Jan 2015 22:27:24 +0000 (16:27 -0600)]
stash Bring Into Session inside the Cleanup submenu

9 years agoadd .m2t video extension
Robin Gareus [Fri, 9 Jan 2015 17:05:27 +0000 (18:05 +0100)]
add .m2t video extension

9 years agoremove cruft (old unused pre-git version files)
Robin Gareus [Thu, 8 Jan 2015 19:31:23 +0000 (20:31 +0100)]
remove cruft (old unused pre-git version files)

9 years agofix LTC alignment.
Robin Gareus [Fri, 9 Jan 2015 05:02:36 +0000 (06:02 +0100)]
fix LTC alignment.

LTC-slave: offset the parsed LTC-frame instead of changing the
frame's timestamp. This fixes an issue with freewheel timeout and
delta-calculation. Align transport-time with output to match
capture alignment: "with existing material".

LTC-generator: follow suit. align clock with master-bus out.
This is a semi-permanent workaround. Once [tracks feeding] the
master-bus is/are delayed to align to output. The generator
needs to use (worst_track_latency not worst_playback_latency)

9 years agoRevert "don't unpack and repack meters unnecessarily during LevelMeterBase::setup_met...
Robin Gareus [Fri, 9 Jan 2015 02:18:43 +0000 (03:18 +0100)]
Revert "don't unpack and repack meters unnecessarily during LevelMeterBase::setup_meters()"

This reverts commit d00e035fe0618c8e3f4c87c6386fc87efb58cd62.

..which introduced a bug.

Meter count and type may change when switching the meter point or simply
when selecting a different track in the editor-mixer. Additional meters
were not unpacked and remained on canvas.

Ideally we'd just remove the excess meters or meters where the type
changed, but that's far more complex than just repacking them all.

9 years agoFix offset events when consolidating MIDI range.
David Robillard [Fri, 9 Jan 2015 04:28:02 +0000 (23:28 -0500)]
Fix offset events when consolidating MIDI range.

9 years agoMore contrast between different division lines.
David Robillard [Fri, 9 Jan 2015 02:10:54 +0000 (21:10 -0500)]
More contrast between different division lines.

9 years agoStop showing bar lines sooner.
David Robillard [Fri, 9 Jan 2015 02:10:13 +0000 (21:10 -0500)]
Stop showing bar lines sooner.

Not sure if this is a DPI dependent thing, but when zooming out some of the
steps had way too dense bar lines for me.

9 years agoFix windows key bindings.
David Robillard [Fri, 9 Jan 2015 01:15:02 +0000 (20:15 -0500)]
Fix windows key bindings.

I am not sure if this is correct, but since the name in the bindings didn't
match that in keyboard.cc, the modifier was just ignored, which results in
conflicting bindings and consequent bugs.

"Meta" seems to be the name for this thing (oddly, to me), so I chose that,
though since my window manager steals this key (as basically all the standard
ones do these days) I can't tell if these bindings actually work with the
desired key.

9 years agoFix show MIDI regions using track color.
David Robillard [Fri, 9 Jan 2015 00:59:40 +0000 (19:59 -0500)]
Fix show MIDI regions using track color.

9 years agoFix inactive track header color.
David Robillard [Fri, 9 Jan 2015 00:22:09 +0000 (19:22 -0500)]
Fix inactive track header color.

9 years agoPrevent note trim to zero length (shown as stuck).
David Robillard [Fri, 9 Jan 2015 00:13:00 +0000 (19:13 -0500)]
Prevent note trim to zero length (shown as stuck).

The reasonable value 1 tick doesn't seem to work here, presumably it gets lost
in rounding conversion somewhere.  Instead use a really small power of two
reciprocal.  Once we use actual beats and ticks we can fix this to be a minimum
of one tick (the actual minimum length for a note).

9 years agoFix value ramps to reach specified upper value.
David Robillard [Thu, 8 Jan 2015 23:47:08 +0000 (18:47 -0500)]
Fix value ramps to reach specified upper value.

9 years agoClamp value spinner when valid range changes.
David Robillard [Thu, 8 Jan 2015 23:46:16 +0000 (18:46 -0500)]
Clamp value spinner when valid range changes.

9 years agoMeter-like note colours, but still mostly green.
David Robillard [Thu, 8 Jan 2015 23:34:18 +0000 (18:34 -0500)]
Meter-like note colours, but still mostly green.

The previous colours made low velocity notes almost invisible.  This fixes that
and attempts meter-like colours where yellowish is high, but without going all
the way into red for a generally consistent range of colors.