ardour.git
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

9 years agoadd a midi-CC sustain-pedal test sequence
Robin Gareus [Mon, 29 Dec 2014 13:32:03 +0000 (14:32 +0100)]
add a midi-CC sustain-pedal test sequence

9 years agoadd 'size' field to midi-sequences
Robin Gareus [Mon, 29 Dec 2014 13:09:46 +0000 (14:09 +0100)]
add 'size' field to midi-sequences

9 years agomake it easier to add new midi sequences
Robin Gareus [Mon, 29 Dec 2014 12:58:15 +0000 (13:58 +0100)]
make it easier to add new midi sequences

9 years agoupdate meters as soon as UI-settings change - amend 64fa63212f7
Robin Gareus [Mon, 29 Dec 2014 12:36:49 +0000 (13:36 +0100)]
update meters as soon as UI-settings change - amend 64fa63212f7

9 years agoAdd some newly introduced source files to our MSVC project (gtk2_ardour)
John Emmas [Mon, 29 Dec 2014 11:07:12 +0000 (11:07 +0000)]
Add some newly introduced source files to our MSVC project (gtk2_ardour)

9 years agoAdd some newly introduced source files to our MSVC project (libardour)
John Emmas [Mon, 29 Dec 2014 11:06:41 +0000 (11:06 +0000)]
Add some newly introduced source files to our MSVC project (libardour)

9 years agoAutomation ghost notes for percussive hits.
David Robillard [Mon, 29 Dec 2014 02:31:33 +0000 (21:31 -0500)]
Automation ghost notes for percussive hits.

9 years agoShow correct ghost hit for percussive tracks.
David Robillard [Mon, 29 Dec 2014 01:23:52 +0000 (20:23 -0500)]
Show correct ghost hit for percussive tracks.

9 years agoFix rect select of hit events.
David Robillard [Mon, 29 Dec 2014 01:03:38 +0000 (20:03 -0500)]
Fix rect select of hit events.

9 years agoSet new note velocity based on surrounding notes.
David Robillard [Mon, 29 Dec 2014 00:21:07 +0000 (19:21 -0500)]
Set new note velocity based on surrounding notes.

9 years agoDemote message about empty MIDI tracks to info.
David Robillard [Mon, 29 Dec 2014 00:05:07 +0000 (19:05 -0500)]
Demote message about empty MIDI tracks to info.

9 years agofollow 113bc3b38e, tentative clock-font size update.
Robin Gareus [Sun, 28 Dec 2014 23:05:42 +0000 (00:05 +0100)]
follow 113bc3b38e, tentative clock-font size update.

This really needs a better solution.

9 years agoquick hack to lighten up font scale slider tick-marks
Robin Gareus [Sun, 28 Dec 2014 22:42:04 +0000 (23:42 +0100)]
quick hack to lighten up font scale slider tick-marks

9 years agoFix events for short notes at region start/end.
David Robillard [Sun, 28 Dec 2014 22:45:24 +0000 (17:45 -0500)]
Fix events for short notes at region start/end.

9 years agoUpdate note colors when model changes.
David Robillard [Sun, 28 Dec 2014 21:06:21 +0000 (16:06 -0500)]
Update note colors when model changes.

9 years agoMIDI transform dialog.
David Robillard [Sun, 28 Dec 2014 20:50:57 +0000 (15:50 -0500)]
MIDI transform dialog.

9 years agoFix occasional MIDI read crash.
David Robillard [Sun, 28 Dec 2014 20:14:47 +0000 (15:14 -0500)]
Fix occasional MIDI read crash.

Locking should prevent this from being a problem, but taking a reference to the
cached iterator and mutating it directly causes occasional crashes for me for
reasons I can't quite figure out.

This fixes the issue and is arguably more sane anyway, so whatever.

9 years agoRemove pointless register specifier and warning.
David Robillard [Sat, 27 Dec 2014 19:03:36 +0000 (14:03 -0500)]
Remove pointless register specifier and warning.

9 years agoClean up note delta command code.
David Robillard [Fri, 26 Dec 2014 17:22:55 +0000 (12:22 -0500)]
Clean up note delta command code.

Use Variant to store the value and the same code path for all properties.

Factor out getting the value of whatever property instead of special casing the
handling.

Towards using this stuff for some fancy things...

9 years agoFix potential pop of empty enter stack.
David Robillard [Sat, 27 Dec 2014 17:26:55 +0000 (12:26 -0500)]
Fix potential pop of empty enter stack.

9 years agoFix typo.
David Robillard [Sat, 27 Dec 2014 05:27:27 +0000 (00:27 -0500)]
Fix typo.

9 years agoreduce clumsiness of font-scale slider:
Robin Gareus [Sun, 28 Dec 2014 18:29:39 +0000 (19:29 +0100)]
reduce clumsiness of font-scale slider:

* work-around update/snap on release
* remove textual display with decimals
* towards ending the 'font-scale percent' discussion

9 years agouse ldflags for wine linking
Robin Gareus [Sun, 28 Dec 2014 14:18:39 +0000 (15:18 +0100)]
use ldflags for wine linking

fixes issue with eg. wine-unstable:
--also-libdir=/usr/lib/i386-linux-gnu/wine-unstable/

9 years agofix marker rendering and layout
Robin Gareus [Sun, 28 Dec 2014 14:01:59 +0000 (15:01 +0100)]
fix marker rendering and layout

9 years agoapply font-scale to overall layout (rulers, track-header) - fixes #6088
Robin Gareus [Sun, 28 Dec 2014 14:01:49 +0000 (15:01 +0100)]
apply font-scale to overall layout (rulers, track-header) - fixes #6088

9 years agoadd note that font-scale changes require a restart.
Robin Gareus [Sun, 28 Dec 2014 13:09:33 +0000 (14:09 +0100)]
add note that font-scale changes require a restart.

9 years agoadd explicit chmod for good measure
Robin Gareus [Sun, 28 Dec 2014 09:20:46 +0000 (10:20 +0100)]
add explicit chmod for good measure

9 years agofix [rare] concurrent build issue:
Robin Gareus [Sun, 28 Dec 2014 09:20:25 +0000 (10:20 +0100)]
fix [rare] concurrent build issue:

[709/779] subst: headless/hardev_common.sh.in -> build/headless/hardev_common_waf.sh
[710/779] hardev_common_waf.sh: -> build/headless/hardev_common_waf.sh
chmod: cannot access `headless/hardev_common_waf.sh': No such file or directory

9 years agofixup LED size (font-scaling)..
Robin Gareus [Sat, 27 Dec 2014 17:05:42 +0000 (18:05 +0100)]
fixup LED size (font-scaling)..

..until there's a better solution.

9 years agoremove unnecessary scoping
Paul Davis [Fri, 26 Dec 2014 18:04:40 +0000 (13:04 -0500)]
remove unnecessary scoping

9 years agofix "alt+g" duplicate range selection.
Robin Gareus [Fri, 26 Dec 2014 12:05:28 +0000 (13:05 +0100)]
fix "alt+g" duplicate range selection.

This is a somewhat wacky workaround but no there is
no better solution in sight.

Related bug:
 select range, save, quit, restart & re-load session
-> range selected but tool == object

9 years agoSome of libardour's istream and ostream operators are needed outside of libardour...
John Emmas [Fri, 26 Dec 2014 09:21:23 +0000 (09:21 +0000)]
Some of libardour's istream and ostream operators are needed outside of libardour - so let's make them exportable

(currently, only the istream operators are needed but we might as well do them both)

9 years agoRemove the source files which got transferred to libpbd
John Emmas [Fri, 26 Dec 2014 09:18:23 +0000 (09:18 +0000)]
Remove the source files which got transferred to libpbd

9 years agoclass 'PBD::Configuration' doesn't actually get exported from libpbd - so make sure...
John Emmas [Fri, 26 Dec 2014 09:16:58 +0000 (09:16 +0000)]
class 'PBD::Configuration' doesn't actually get exported from libpbd - so make sure we don't decorate it with LIBPBD_API

9 years agoAdd some newly introduced source files to our MSVC project (libpbd)
John Emmas [Fri, 26 Dec 2014 09:15:17 +0000 (09:15 +0000)]
Add some newly introduced source files to our MSVC project (libpbd)

9 years agoAdd some newly introduced source files to our MSVC project (gtk2_ardour)
John Emmas [Fri, 26 Dec 2014 09:14:01 +0000 (09:14 +0000)]
Add some newly introduced source files to our MSVC project (gtk2_ardour)

9 years agoConditionally remove possibly unused functions.
David Robillard [Thu, 25 Dec 2014 22:30:39 +0000 (17:30 -0500)]
Conditionally remove possibly unused functions.

9 years agoContext menu for applying edits to note selection.
David Robillard [Thu, 25 Dec 2014 20:32:10 +0000 (15:32 -0500)]
Context menu for applying edits to note selection.

9 years agoFix warnings.
David Robillard [Thu, 25 Dec 2014 18:50:00 +0000 (13:50 -0500)]
Fix warnings.

9 years agoRemove warning when adding MIDI model controls.
David Robillard [Thu, 25 Dec 2014 01:41:14 +0000 (20:41 -0500)]
Remove warning when adding MIDI model controls.

This is fine, unlike the other cases, MidiTrack is not the only thing that can
have a MIDI automation control.

9 years agoAdd instrument selector to import dialog.
David Robillard [Thu, 25 Dec 2014 01:07:10 +0000 (20:07 -0500)]
Add instrument selector to import dialog.

Idea here is for importing large multi-track MIDI files to be immediately
listenable upon play without tediously adding a ton of instrument plugins
manually.

9 years agoFactor out instrument selector.
David Robillard [Wed, 24 Dec 2014 23:39:15 +0000 (18:39 -0500)]
Factor out instrument selector.

9 years agoFix potential memory errors with note player.
David Robillard [Wed, 24 Dec 2014 21:54:38 +0000 (16:54 -0500)]
Fix potential memory errors with note player.

Seems unlikely, but if the event firing stuff is off, it could trigger the
issue (#5502) and/or a possible memory leak.

9 years agoFix crash when getting width of item with no bbox.
David Robillard [Wed, 24 Dec 2014 21:02:56 +0000 (16:02 -0500)]
Fix crash when getting width of item with no bbox.

9 years agoFix sticky snap mode/type selectors.
David Robillard [Wed, 24 Dec 2014 20:11:25 +0000 (15:11 -0500)]
Fix sticky snap mode/type selectors.

9 years agoSupport fancy controls for some AU units.
David Robillard [Tue, 23 Dec 2014 23:45:21 +0000 (18:45 -0500)]
Support fancy controls for some AU units.

9 years agoAdd --no-lrdf configure option.
David Robillard [Tue, 23 Dec 2014 23:44:33 +0000 (18:44 -0500)]
Add --no-lrdf configure option.

9 years agoFix position of AU GUIs.
David Robillard [Tue, 23 Dec 2014 22:31:23 +0000 (17:31 -0500)]
Fix position of AU GUIs.

I'm not sure if this will be right everywhere, but it's perfectly centered for
me and corresponds to the spacing/padding that's present, so it seems right.

9 years agoFix OSX build.
David Robillard [Tue, 23 Dec 2014 20:56:10 +0000 (15:56 -0500)]
Fix OSX build.

9 years agowindows package details:
Robin Gareus [Wed, 24 Dec 2014 13:33:48 +0000 (14:33 +0100)]
windows package details:

* add 'bug' icon for gdb
* add a shortcut to xjadeo (if installed)
* quiet rsync