ardour.git
9 years agoShow tempo lines under marker bars.
David Robillard [Thu, 8 Jan 2015 20:24:14 +0000 (15:24 -0500)]
Show tempo lines under marker bars.

9 years agoMore consistent canvas base colours.
David Robillard [Thu, 8 Jan 2015 19:56:47 +0000 (14:56 -0500)]
More consistent canvas base colours.

General ideas: audio is blueish, MIDI is greenish, automation track colour is a
slightly darker version of its parent track colour, canvas base is the same as
the Gtk base.

9 years agoSlightly more distinct beat/subdivision lines.
David Robillard [Thu, 8 Jan 2015 19:41:09 +0000 (14:41 -0500)]
Slightly more distinct beat/subdivision lines.

9 years agoprepare for release candidate tags:
Robin Gareus [Thu, 8 Jan 2015 18:26:03 +0000 (19:26 +0100)]
prepare for release candidate tags:

regexp: /[0—9]+-[0-9]+(-rc[0-9]*)?/
<Major>-<Minor>[-rc[<num>]]
valid tag examples: 4.0, 4.1-rc3, 5.0-rc

9 years agomake MouseTool tooltips more consistent
Ben Loftis [Thu, 8 Jan 2015 17:12:50 +0000 (11:12 -0600)]
make MouseTool tooltips more consistent

9 years agocontinuing menu and keybinding consolidation
Ben Loftis [Thu, 8 Jan 2015 15:47:31 +0000 (09:47 -0600)]
continuing menu and keybinding consolidation

9 years agoShow Measure Lines instead of Show Measures
Ben Loftis [Wed, 7 Jan 2015 22:52:54 +0000 (16:52 -0600)]
Show Measure Lines instead of Show Measures

9 years agoremove hardcoded major version in build scripts
Robin Gareus [Thu, 8 Jan 2015 15:57:46 +0000 (16:57 +0100)]
remove hardcoded major version in build scripts

9 years agoClose polygon borders (fix partially drawn hits).
David Robillard [Thu, 8 Jan 2015 02:25:52 +0000 (21:25 -0500)]
Close polygon borders (fix partially drawn hits).

9 years agotweak boot message so the final message makes more sense
Ben Loftis [Thu, 8 Jan 2015 13:38:08 +0000 (07:38 -0600)]
tweak boot message so the final message makes more sense

9 years agoRedisplay key bindings when reset.
David Robillard [Thu, 8 Jan 2015 02:02:13 +0000 (21:02 -0500)]
Redisplay key bindings when reset.

9 years agoAlow tabbing between fields in metadata editor.
David Robillard [Thu, 8 Jan 2015 01:56:39 +0000 (20:56 -0500)]
Alow tabbing between fields in metadata editor.

9 years agoStart step entry at playhead.
David Robillard [Thu, 8 Jan 2015 01:46:21 +0000 (20:46 -0500)]
Start step entry at playhead.

9 years agoFix select all before/after edit point.
David Robillard [Thu, 8 Jan 2015 01:44:26 +0000 (20:44 -0500)]
Fix select all before/after edit point.

9 years agoFix whitespace (noop).
David Robillard [Thu, 8 Jan 2015 01:12:14 +0000 (20:12 -0500)]
Fix whitespace (noop).

9 years agoDon't select regions with an internal tool.
David Robillard [Thu, 8 Jan 2015 01:04:39 +0000 (20:04 -0500)]
Don't select regions with an internal tool.

9 years agoFix internal/external snap type restoration.
David Robillard [Thu, 8 Jan 2015 00:51:18 +0000 (19:51 -0500)]
Fix internal/external snap type restoration.

9 years agoDraw beat sudivisions according to snap setting.
David Robillard [Thu, 8 Jan 2015 00:05:21 +0000 (19:05 -0500)]
Draw beat sudivisions according to snap setting.

9 years agoFactor out grid beat divisions.
David Robillard [Wed, 7 Jan 2015 23:30:25 +0000 (18:30 -0500)]
Factor out grid beat divisions.

9 years agoproperly catch RTAV deletion.
Robin Gareus [Wed, 7 Jan 2015 23:41:59 +0000 (00:41 +0100)]
properly catch RTAV deletion.

fixes issue with editor-mixer retaining
a shared-pointer to the deleted route.

9 years agofix meter bridge window size issues
Robin Gareus [Wed, 7 Jan 2015 21:07:23 +0000 (22:07 +0100)]
fix meter bridge window size issues

* no more OSX liveloop (window size < min size)
* properly set min window size
* re-layout metric areas when label height changes
* remove ‘smart’ auto-resize (when tracks are added/removed)
  (it wasn’t smart enough to work on all WMs)

9 years agonow that regions and range selections are exclusive, the separate actions to set...
Ben Loftis [Wed, 7 Jan 2015 21:31:05 +0000 (15:31 -0600)]
now that regions and range selections are exclusive, the separate actions to set ranges or zoom to selections are redundant.  save some menu entries and keybindings by consolidating them. also consolidate some code with new function get_selection_extents().  as a side-effect, this checkin fixes the assert failure in play_with_preroll

9 years agoremove Skip Ranges menu item for now
Ben Loftis [Wed, 7 Jan 2015 20:13:24 +0000 (14:13 -0600)]
remove Skip Ranges menu item for now

9 years agoHigh resolution tempo lines.
David Robillard [Wed, 7 Jan 2015 13:37:20 +0000 (08:37 -0500)]
High resolution tempo lines.

9 years agoImprove contrast of summary.
David Robillard [Wed, 7 Jan 2015 06:42:49 +0000 (01:42 -0500)]
Improve contrast of summary.

9 years agoUpdate background color when theme is changed.
David Robillard [Wed, 7 Jan 2015 06:23:13 +0000 (01:23 -0500)]
Update background color when theme is changed.

9 years agoMusicalTime => Beats.
David Robillard [Wed, 7 Jan 2015 05:12:07 +0000 (00:12 -0500)]
MusicalTime => Beats.

9 years agoAdd modulus operator to MIDI transformer.
David Robillard [Wed, 7 Jan 2015 04:04:28 +0000 (23:04 -0500)]
Add modulus operator to MIDI transformer.

Useful for doing things like making alternating bowing patterns.

9 years agoFix drag of patch changes.
David Robillard [Wed, 7 Jan 2015 03:00:54 +0000 (22:00 -0500)]
Fix drag of patch changes.

9 years agoOnly restore plugin state (of first instance) once.
Robin Gareus [Tue, 6 Jan 2015 19:29:39 +0000 (20:29 +0100)]
Only restore plugin state (of first instance) once.

9 years agoFix for incorrect folder selection for new sessions from bug #6069
Tim Mayberry [Tue, 6 Jan 2015 04:58:39 +0000 (11:58 +0700)]
Fix for incorrect folder selection for new sessions from bug #6069

9 years agoFix Session file filter so session files are displayed in file browser
Tim Mayberry [Tue, 6 Jan 2015 07:02:31 +0000 (14:02 +0700)]
Fix Session file filter so session files are displayed in file browser

This small mistake slipped in with 78d0b2

9 years agonever show windows console.
Robin Gareus [Tue, 6 Jan 2015 01:07:58 +0000 (02:07 +0100)]
never show windows console.

If ardour is launched from a terminal, stdout/stderr works since
9988f661f. Further, the debug-version comes packaged with gdb and
a has a start-menu shortcut for it. There is no need to implicitly
always show a console even for debug builds.

9 years agowindows: re-attach to the console with -mwindows
Robin Gareus [Tue, 6 Jan 2015 01:04:12 +0000 (02:04 +0100)]
windows: re-attach to the console with -mwindows

9 years agoFix MIDI file descriptor leaks.
David Robillard [Mon, 5 Jan 2015 20:50:30 +0000 (15:50 -0500)]
Fix MIDI file descriptor leaks.

Pretty sure this is the cause of MIDI data going missing on save for optimized
builds.  Introduced in 294b99aabf3eb96323a3159b7a5e1b4bfc1ff04a.

9 years agoupdate windows packaging:
Robin Gareus [Mon, 5 Jan 2015 18:22:19 +0000 (19:22 +0100)]
update windows packaging:

* prepare for A4
* use separate suffix definition (not project-name)

9 years agoprepare for 'ardour4'
Robin Gareus [Mon, 5 Jan 2015 18:07:24 +0000 (19:07 +0100)]
prepare for 'ardour4'

9 years agomingw-bundle: use abstract definition of "ardour3" libdir
Robin Gareus [Mon, 5 Jan 2015 17:38:45 +0000 (18:38 +0100)]
mingw-bundle: use abstract definition of "ardour3" libdir

9 years agounhardcode "Ardour" in ffmpeg encoder comment
Robin Gareus [Mon, 5 Jan 2015 17:37:00 +0000 (18:37 +0100)]
unhardcode "Ardour" in ffmpeg encoder comment

9 years agoun-hardcode "*.ardour" file filters
Robin Gareus [Mon, 5 Jan 2015 17:36:43 +0000 (18:36 +0100)]
un-hardcode "*.ardour" file filters

9 years agoupdate windows user_cache_directory(): same pattern as config dir
Robin Gareus [Mon, 5 Jan 2015 17:29:33 +0000 (18:29 +0100)]
update windows user_cache_directory(): same pattern as config dir

9 years agoremoved hardcoded ".ardour" suffix
Robin Gareus [Mon, 5 Jan 2015 16:48:42 +0000 (17:48 +0100)]
removed hardcoded ".ardour" suffix

9 years agowin: associate session file extention
Robin Gareus [Mon, 5 Jan 2015 15:00:04 +0000 (16:00 +0100)]
win: associate session file extention

9 years agoNew MIDNAM file from e.j.vd.hooven@gmail.com
Paul Davis [Mon, 5 Jan 2015 15:19:48 +0000 (10:19 -0500)]
New MIDNAM file from e.j.vd.hooven@gmail.com

9 years agouse PROGRAM_NAME so the Start Menu and Uninstall entries look like Ardour/Ardour3...
Ben Loftis [Mon, 5 Jan 2015 03:03:33 +0000 (21:03 -0600)]
use PROGRAM_NAME so the Start Menu and Uninstall entries look like Ardour/Ardour3   rather than  ardour/Ardour3

9 years agoadd --mixbus package option
Robin Gareus [Mon, 5 Jan 2015 02:05:01 +0000 (03:05 +0100)]
add --mixbus package option

9 years agoamend prev commit (fix quote)
Robin Gareus [Mon, 5 Jan 2015 01:43:04 +0000 (02:43 +0100)]
amend prev commit (fix quote)

9 years agowindows packaging: project agnostic names & registy
Robin Gareus [Mon, 5 Jan 2015 01:15:19 +0000 (02:15 +0100)]
windows packaging: project agnostic names & registy

9 years agoAccommodate some newly introduced source files for building with MSVC (gtk2_ardour)
John Emmas [Fri, 2 Jan 2015 14:34:29 +0000 (14:34 +0000)]
Accommodate some newly introduced source files for building with MSVC (gtk2_ardour)

9 years agoAccommodate some newly introduced source files for building with MSVC (libpbd)
John Emmas [Fri, 2 Jan 2015 14:33:35 +0000 (14:33 +0000)]
Accommodate some newly introduced source files for building with MSVC (libpbd)

9 years agoIncrease minimum required Glib version to 2.28 for g_get_monotonic_time
Tim Mayberry [Sat, 17 May 2014 01:47:28 +0000 (11:47 +1000)]
Increase minimum required Glib version to 2.28 for g_get_monotonic_time

9 years agoFix Audiofile browser dialog so it appears infront of preference window when selectin...
Tim Mayberry [Fri, 13 Jun 2014 07:12:36 +0000 (17:12 +1000)]
Fix Audiofile browser dialog so it appears infront of preference window when selecting click file

9 years agoFix for Clock updates
Tim Mayberry [Fri, 2 Jan 2015 15:07:50 +0000 (22:07 +0700)]
Fix for Clock updates

9 years agofix big clock aspect ratio, and add minimum size to avoid resize glitches
Paul Davis [Fri, 2 Jan 2015 14:01:11 +0000 (09:01 -0500)]
fix big clock aspect ratio, and add minimum size to avoid resize glitches

9 years agoremember big clock window scaling, or rather, recompute it accurately
Paul Davis [Fri, 2 Jan 2015 13:23:56 +0000 (08:23 -0500)]
remember big clock window scaling, or rather, recompute it accurately

9 years agoAdd automation track control points to undo history (and selection_op history).
nick_m [Tue, 23 Dec 2014 17:29:43 +0000 (04:29 +1100)]
Add automation track control points to undo history (and selection_op history).

9 years agoFix previous commit.
nick_m [Mon, 22 Dec 2014 18:09:21 +0000 (05:09 +1100)]
Fix previous commit.

9 years agoMake editor undo/redo actions sensitive at appropriate times.
nick_m [Mon, 22 Dec 2014 17:52:29 +0000 (04:52 +1100)]
Make editor undo/redo actions sensitive at appropriate times.

9 years agoRemoved unrelated change in Selection::set_state () (clear_points()).
nick_m [Mon, 22 Dec 2014 14:26:10 +0000 (01:26 +1100)]
Removed unrelated change in Selection::set_state () (clear_points()).

9 years agoSeparate selection operations into their own temporary history mechanism.
nick_m [Mon, 22 Dec 2014 13:30:23 +0000 (00:30 +1100)]
Separate selection operations into their own temporary history mechanism.
The user can now replay *all* earlier selection operations until the next
session undo/redo command, or the completion of a new operation.
Nothing relating to selection ops is stored, and selection operation history
is begun on first idle.

Selection operation history is fundamentally different from the history of
operations which act on a selection in terms of both their viewport and the
amount of information required to replay them.
WRT undo, the user of a selection op doesn't care about the viewport state
at the beginning of an op, but rather that at the end of the previous one.

9 years agoMove Timers/Timeouts from ARDOUR_UI into functions in timers.h and use PBD::Timers
Tim Mayberry [Thu, 25 Dec 2014 15:02:00 +0000 (22:02 +0700)]
Move Timers/Timeouts from ARDOUR_UI into functions in timers.h and use PBD::Timers

9 years agoAdd PBD debug macros for recording timing data
Tim Mayberry [Sat, 27 Dec 2014 06:18:38 +0000 (13:18 +0700)]
Add PBD debug macros for recording timing data

9 years agoAdd PBD::DEBUG::GUITiming debug bit
Tim Mayberry [Thu, 25 Dec 2014 09:23:35 +0000 (16:23 +0700)]
Add PBD::DEBUG::GUITiming debug bit

9 years agoAdd tests that show the timing differences between the Glib/mm based timeouts
Tim Mayberry [Mon, 22 Dec 2014 05:44:12 +0000 (12:44 +0700)]
Add tests that show the timing differences between the Glib/mm based timeouts

This shows that PBD::Timer is pretty much identical in terms of timing and CPU
usage as Glib TimeoutSources.

They also show the differences on Windows when setting the minimum Multimedia Timer
resolution using timeBeginPeriod

9 years agoAdd PBD::Timer/StandardTimer/BlinkTimer classes for convenient timeouts
Tim Mayberry [Thu, 25 Dec 2014 13:44:06 +0000 (20:44 +0700)]
Add PBD::Timer/StandardTimer/BlinkTimer classes for convenient timeouts

9 years agoAdd Timing, TimingData and Timed classes for time measurement to pbd/timing.h
Tim Mayberry [Mon, 22 Dec 2014 05:39:57 +0000 (12:39 +0700)]
Add Timing, TimingData and Timed classes for time measurement to pbd/timing.h

9 years agoAdd dummy backend in Fedora based mingw-w64 build scripts
Tim Mayberry [Sat, 20 Dec 2014 07:17:38 +0000 (14:17 +0700)]
Add dummy backend in Fedora based mingw-w64 build scripts

9 years agoFix alleged use of uninitialized variable.
David Robillard [Wed, 31 Dec 2014 22:32:21 +0000 (17:32 -0500)]
Fix alleged use of uninitialized variable.

Looks like a guaranteed else branch to me, but who am I to argue with gcc?

9 years agoAdd missing Variant => LV2 Atom case.
David Robillard [Wed, 31 Dec 2014 22:16:28 +0000 (17:16 -0500)]
Add missing Variant => LV2 Atom case.

(Not likely to actually be used any time soon but fixes warning and does
something reasonable if lossy).

9 years agofix incorrect test for valid MIDI events.
Paul Davis [Wed, 31 Dec 2014 15:32:50 +0000 (10:32 -0500)]
fix incorrect test for valid MIDI events.

Only channel messages have the form <statusbyte>{<nonstatusbyte>..}

9 years agoremove debug output
Paul Davis [Wed, 31 Dec 2014 12:57:51 +0000 (07:57 -0500)]
remove debug output

9 years agoFix range "arithmetic"
Paul Davis [Wed, 31 Dec 2014 12:43:43 +0000 (07:43 -0500)]
Fix range "arithmetic"

Subtracting anything from an empty range should return an empty range, not an assert() failure

9 years agouse clock text scaling for big clock window
Paul Davis [Wed, 31 Dec 2014 12:20:38 +0000 (07:20 -0500)]
use clock text scaling for big clock window

9 years agoadd the ability to use cairo scaling to warp the rendering of the main clock text
Paul Davis [Wed, 31 Dec 2014 11:52:47 +0000 (06:52 -0500)]
add the ability to use cairo scaling to warp the rendering of the main clock text

9 years agoLoad what we can from broken/truncated MIDI files.
David Robillard [Wed, 31 Dec 2014 04:07:19 +0000 (23:07 -0500)]
Load what we can from broken/truncated MIDI files.

We're still a very long way from tolerant of weird SMF files (libsmf takes a
"crash if input is not exactly perfect" philosophy, if we're going to be polite
and elevate such a thing to "philosophy"), but at least we'll get what's there
from files truncated by old broken versions of Ardour or other situations.

9 years agoGracefully handle MIDI parse failure.
David Robillard [Wed, 31 Dec 2014 03:05:10 +0000 (22:05 -0500)]
Gracefully handle MIDI parse failure.

9 years agodon't take temporary copy of MIDI sequence
Robin Gareus [Wed, 31 Dec 2014 02:12:57 +0000 (03:12 +0100)]
don't take temporary copy of MIDI sequence

fixes potential boost shared_ptr double free.

9 years agoFix stuck note display while recording.
David Robillard [Wed, 31 Dec 2014 01:01:18 +0000 (20:01 -0500)]
Fix stuck note display while recording.

This doesn't make sense, but I'm okay with that.

9 years agorename "Convert to Region In-Place" to "Separate" since it is known by that name...
Paul Davis [Wed, 31 Dec 2014 00:52:44 +0000 (19:52 -0500)]
rename "Convert to Region In-Place" to "Separate" since it is known by that name elsehwere and in the code

9 years agoFix display of MIDI while recording.
David Robillard [Wed, 31 Dec 2014 00:14:29 +0000 (19:14 -0500)]
Fix display of MIDI while recording.

... almost.  There are some artifacts when you zoom out while recording that I
can't figure out, but whatever.

Also fix performance issues caused by last attempt at rec display while zoom.

9 years ago32/64bit compat
Robin Gareus [Wed, 31 Dec 2014 00:15:39 +0000 (01:15 +0100)]
32/64bit compat

9 years agoadd a MIDI loopback mode to the Dummy Backend
Robin Gareus [Tue, 30 Dec 2014 21:51:52 +0000 (22:51 +0100)]
add a MIDI loopback mode to the Dummy Backend

9 years agoFix MIDI CC record/playback crash.
David Robillard [Tue, 30 Dec 2014 19:45:11 +0000 (14:45 -0500)]
Fix MIDI CC record/playback crash.

9 years agoFix some mangled whitespace (noop).
David Robillard [Tue, 30 Dec 2014 19:41:22 +0000 (14:41 -0500)]
Fix some mangled whitespace (noop).

9 years agoRevert "Fix occasional MIDI read crash."
David Robillard [Tue, 30 Dec 2014 18:03:22 +0000 (13:03 -0500)]
Revert "Fix occasional MIDI read crash."

This reverts commit ec947ff8fd2cf229284f757b8bd6b0f96cbd6383.

9 years agoFix smart mode cursor on audio regions.
David Robillard [Tue, 30 Dec 2014 17:49:59 +0000 (12:49 -0500)]
Fix smart mode cursor on audio regions.

9 years agowindows: automatically log gdb output
Robin Gareus [Tue, 30 Dec 2014 11:28:46 +0000 (12:28 +0100)]
windows: automatically log gdb output

9 years agoFix occasional crash when saving MIDI.
David Robillard [Tue, 30 Dec 2014 03:01:41 +0000 (22:01 -0500)]
Fix occasional crash when saving MIDI.

I can't figure out why a change has a NULL note; that shouldn't happen, but it
does.  Worse case scenario is some undo loss, so better to print something
informative and soldier on than crash.  Hopefully this will help track down the
real cause with more testing.

9 years agoFix internal select all.
David Robillard [Tue, 30 Dec 2014 02:04:23 +0000 (21:04 -0500)]
Fix internal select all.

9 years agoFix key bindings for note trim/extend.
David Robillard [Tue, 30 Dec 2014 01:50:39 +0000 (20:50 -0500)]
Fix key bindings for note trim/extend.

9 years agoFix fallout from sooomeone's busted emacs.
David Robillard [Tue, 30 Dec 2014 01:21:32 +0000 (20:21 -0500)]
Fix fallout from sooomeone's busted emacs.

9 years agoFix off-by-one MIDI note names.
David Robillard [Tue, 30 Dec 2014 01:18:57 +0000 (20:18 -0500)]
Fix off-by-one MIDI note names.

Much like everything else in midnam, it's not specified whether the numbers are
0 or 1 relative, but everything out there seems to be 0 relative and this
matches the canvas, so go with that.

9 years agoremove unused code
Paul Davis [Tue, 30 Dec 2014 00:55:51 +0000 (19:55 -0500)]
remove unused code

9 years agoFix MIDI recording display when zoom/etc changes.
David Robillard [Mon, 29 Dec 2014 23:56:39 +0000 (18:56 -0500)]
Fix MIDI recording display when zoom/etc changes.

9 years agofix a few compiler warnings
Paul Davis [Mon, 29 Dec 2014 23:17:26 +0000 (18:17 -0500)]
fix a few compiler warnings

9 years agodon't unpack and repack meters unnecessarily during LevelMeterBase::setup_meters()
Paul Davis [Mon, 29 Dec 2014 23:00:24 +0000 (18:00 -0500)]
don't unpack and repack meters unnecessarily during LevelMeterBase::setup_meters()

9 years agoAvoid another potential deadlock for good measure.
David Robillard [Mon, 29 Dec 2014 22:56:53 +0000 (17:56 -0500)]
Avoid another potential deadlock for good measure.

Firing these signals while locked is not a good idea, Sequence/ControlList need
a better design for this that accounts for recording and lockedness.

9 years agoBlind fix for MIDI iteration bug.
David Robillard [Mon, 29 Dec 2014 20:12:10 +0000 (15:12 -0500)]
Blind fix for MIDI iteration bug.

9 years agoFix deadlock while recording MIDI controllers.
David Robillard [Mon, 29 Dec 2014 16:32:21 +0000 (11:32 -0500)]
Fix deadlock while recording MIDI controllers.

9 years agoupdate numbering of midi-test sequences
Robin Gareus [Mon, 29 Dec 2014 13:36:39 +0000 (14:36 +0100)]
update numbering of midi-test sequences