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?
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).
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>..}
Paul Davis [Wed, 31 Dec 2014 12:57:51 +0000 (07:57 -0500)]
remove debug output
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
Paul Davis [Wed, 31 Dec 2014 12:20:38 +0000 (07:20 -0500)]
use clock text scaling for big clock window
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
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.
David Robillard [Wed, 31 Dec 2014 03:05:10 +0000 (22:05 -0500)]
Gracefully handle MIDI parse failure.
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.
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.
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
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.
Robin Gareus [Wed, 31 Dec 2014 00:15:39 +0000 (01:15 +0100)]
32/64bit compat
Robin Gareus [Tue, 30 Dec 2014 21:51:52 +0000 (22:51 +0100)]
add a MIDI loopback mode to the Dummy Backend
David Robillard [Tue, 30 Dec 2014 19:45:11 +0000 (14:45 -0500)]
Fix MIDI CC record/playback crash.
David Robillard [Tue, 30 Dec 2014 19:41:22 +0000 (14:41 -0500)]
Fix some mangled whitespace (noop).
David Robillard [Tue, 30 Dec 2014 18:03:22 +0000 (13:03 -0500)]
Revert "Fix occasional MIDI read crash."
This reverts commit
ec947ff8fd2cf229284f757b8bd6b0f96cbd6383.
David Robillard [Tue, 30 Dec 2014 17:49:59 +0000 (12:49 -0500)]
Fix smart mode cursor on audio regions.
Robin Gareus [Tue, 30 Dec 2014 11:28:46 +0000 (12:28 +0100)]
windows: automatically log gdb output
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.
David Robillard [Tue, 30 Dec 2014 02:04:23 +0000 (21:04 -0500)]
Fix internal select all.
David Robillard [Tue, 30 Dec 2014 01:50:39 +0000 (20:50 -0500)]
Fix key bindings for note trim/extend.
David Robillard [Tue, 30 Dec 2014 01:21:32 +0000 (20:21 -0500)]
Fix fallout from sooomeone's busted emacs.
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.
Paul Davis [Tue, 30 Dec 2014 00:55:51 +0000 (19:55 -0500)]
remove unused code
David Robillard [Mon, 29 Dec 2014 23:56:39 +0000 (18:56 -0500)]
Fix MIDI recording display when zoom/etc changes.
Paul Davis [Mon, 29 Dec 2014 23:17:26 +0000 (18:17 -0500)]
fix a few compiler warnings
Paul Davis [Mon, 29 Dec 2014 23:00:24 +0000 (18:00 -0500)]
don't unpack and repack meters unnecessarily during LevelMeterBase::setup_meters()
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.
David Robillard [Mon, 29 Dec 2014 20:12:10 +0000 (15:12 -0500)]
Blind fix for MIDI iteration bug.
David Robillard [Mon, 29 Dec 2014 16:32:21 +0000 (11:32 -0500)]
Fix deadlock while recording MIDI controllers.
Robin Gareus [Mon, 29 Dec 2014 13:36:39 +0000 (14:36 +0100)]
update numbering of midi-test sequences
Robin Gareus [Mon, 29 Dec 2014 13:32:03 +0000 (14:32 +0100)]
add a midi-CC sustain-pedal test sequence
Robin Gareus [Mon, 29 Dec 2014 13:09:46 +0000 (14:09 +0100)]
add 'size' field to midi-sequences
Robin Gareus [Mon, 29 Dec 2014 12:58:15 +0000 (13:58 +0100)]
make it easier to add new midi sequences
Robin Gareus [Mon, 29 Dec 2014 12:36:49 +0000 (13:36 +0100)]
update meters as soon as UI-settings change - amend
64fa63212f7
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)
John Emmas [Mon, 29 Dec 2014 11:06:41 +0000 (11:06 +0000)]
Add some newly introduced source files to our MSVC project (libardour)
David Robillard [Mon, 29 Dec 2014 02:31:33 +0000 (21:31 -0500)]
Automation ghost notes for percussive hits.
David Robillard [Mon, 29 Dec 2014 01:23:52 +0000 (20:23 -0500)]
Show correct ghost hit for percussive tracks.
David Robillard [Mon, 29 Dec 2014 01:03:38 +0000 (20:03 -0500)]
Fix rect select of hit events.
David Robillard [Mon, 29 Dec 2014 00:21:07 +0000 (19:21 -0500)]
Set new note velocity based on surrounding notes.
David Robillard [Mon, 29 Dec 2014 00:05:07 +0000 (19:05 -0500)]
Demote message about empty MIDI tracks to info.
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.
Robin Gareus [Sun, 28 Dec 2014 22:42:04 +0000 (23:42 +0100)]
quick hack to lighten up font scale slider tick-marks
David Robillard [Sun, 28 Dec 2014 22:45:24 +0000 (17:45 -0500)]
Fix events for short notes at region start/end.
David Robillard [Sun, 28 Dec 2014 21:06:21 +0000 (16:06 -0500)]
Update note colors when model changes.
David Robillard [Sun, 28 Dec 2014 20:50:57 +0000 (15:50 -0500)]
MIDI transform dialog.
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.
David Robillard [Sat, 27 Dec 2014 19:03:36 +0000 (14:03 -0500)]
Remove pointless register specifier and warning.
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...
David Robillard [Sat, 27 Dec 2014 17:26:55 +0000 (12:26 -0500)]
Fix potential pop of empty enter stack.
David Robillard [Sat, 27 Dec 2014 05:27:27 +0000 (00:27 -0500)]
Fix typo.
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
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/
Robin Gareus [Sun, 28 Dec 2014 14:01:59 +0000 (15:01 +0100)]
fix marker rendering and layout
Robin Gareus [Sun, 28 Dec 2014 14:01:49 +0000 (15:01 +0100)]
apply font-scale to overall layout (rulers, track-header) - fixes #6088
Robin Gareus [Sun, 28 Dec 2014 13:09:33 +0000 (14:09 +0100)]
add note that font-scale changes require a restart.
Robin Gareus [Sun, 28 Dec 2014 09:20:46 +0000 (10:20 +0100)]
add explicit chmod for good measure
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
Robin Gareus [Sat, 27 Dec 2014 17:05:42 +0000 (18:05 +0100)]
fixup LED size (font-scaling)..
..until there's a better solution.
Paul Davis [Fri, 26 Dec 2014 18:04:40 +0000 (13:04 -0500)]
remove unnecessary scoping
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
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)
John Emmas [Fri, 26 Dec 2014 09:18:23 +0000 (09:18 +0000)]
Remove the source files which got transferred to libpbd
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
John Emmas [Fri, 26 Dec 2014 09:15:17 +0000 (09:15 +0000)]
Add some newly introduced source files to our MSVC project (libpbd)
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)
David Robillard [Thu, 25 Dec 2014 22:30:39 +0000 (17:30 -0500)]
Conditionally remove possibly unused functions.
David Robillard [Thu, 25 Dec 2014 20:32:10 +0000 (15:32 -0500)]
Context menu for applying edits to note selection.
David Robillard [Thu, 25 Dec 2014 18:50:00 +0000 (13:50 -0500)]
Fix warnings.
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.
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.
David Robillard [Wed, 24 Dec 2014 23:39:15 +0000 (18:39 -0500)]
Factor out instrument selector.
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.
David Robillard [Wed, 24 Dec 2014 21:02:56 +0000 (16:02 -0500)]
Fix crash when getting width of item with no bbox.
David Robillard [Wed, 24 Dec 2014 20:11:25 +0000 (15:11 -0500)]
Fix sticky snap mode/type selectors.
David Robillard [Tue, 23 Dec 2014 23:45:21 +0000 (18:45 -0500)]
Support fancy controls for some AU units.
David Robillard [Tue, 23 Dec 2014 23:44:33 +0000 (18:44 -0500)]
Add --no-lrdf configure option.
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.
David Robillard [Tue, 23 Dec 2014 20:56:10 +0000 (15:56 -0500)]
Fix OSX build.
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
Robin Gareus [Wed, 24 Dec 2014 03:55:56 +0000 (04:55 +0100)]
fix clang compilation
error: call to function 'operator>>' that is neither
visible in the template definition nor found by argument-dependent lookup. 'operator>>' should be declared prior to the call site.
IOW. types.h must be included before using ‘ss >> (T) value’ in
template in pbd/configuration.h
Robin Gareus [Wed, 24 Dec 2014 02:56:54 +0000 (03:56 +0100)]
add video tools to windows installer
Robin Gareus [Wed, 24 Dec 2014 01:31:16 +0000 (02:31 +0100)]
fix windows packaging default config
Robin Gareus [Wed, 24 Dec 2014 00:36:46 +0000 (01:36 +0100)]
proper default setup and fallbacks for video on windows
Robin Gareus [Tue, 23 Dec 2014 22:06:46 +0000 (23:06 +0100)]
fix for case-sensitive FS -
aa80515f3
Robin Gareus [Tue, 23 Dec 2014 22:04:38 +0000 (23:04 +0100)]
fix and cleanup
c404ef98 (windows config dir)
Robin Gareus [Tue, 23 Dec 2014 22:00:18 +0000 (23:00 +0100)]
consolidate video-tool filepaths - step three:
prefer versions registered in HKLM Software\Ardour\video
Robin Gareus [Tue, 23 Dec 2014 22:00:05 +0000 (23:00 +0100)]
consolidate video-tool filepaths - step two:
common windows registry query
Robin Gareus [Tue, 23 Dec 2014 17:28:45 +0000 (18:28 +0100)]
consolidate video-tool filepaths - step one
1:1 cut/paste
David Robillard [Tue, 23 Dec 2014 18:46:53 +0000 (13:46 -0500)]
Fix cursor update on nested entry.
For example, if you're in a note and something about the mode changes, it's the
underlying region context that needs to change. So, seems we need a stack of
entry contexts to deal with this sort of thing.
Switching in/out of smart mode still doesn't update immediately because we
don't have the y-coordinate needed to update it.
David Robillard [Tue, 23 Dec 2014 18:36:25 +0000 (13:36 -0500)]
Update canvas cursor on pop.
Greg Zharun [Tue, 23 Dec 2014 15:43:02 +0000 (17:43 +0200)]
[Summary] Fixed audio export on Windows. Added support of windows platform for the function that calculated hardware concurrency.
Because there was no implementation for this function on windows it used to return 0. This meant that no thread was created to process the data.
Paul Davis [Tue, 23 Dec 2014 17:41:32 +0000 (12:41 -0500)]
fix slow behaviour when changing visible track height in Editor::set_visible_track_count()
Paul Davis [Tue, 23 Dec 2014 17:35:58 +0000 (12:35 -0500)]
indent cleanup
Paul Davis [Tue, 23 Dec 2014 02:08:01 +0000 (21:08 -0500)]
change font scaling default in code and default_ui_config to 100%.
Incorrect value was caused by misremembering how Pango::SCALE works.
Paul Davis [Tue, 23 Dec 2014 02:07:31 +0000 (21:07 -0500)]
change font scaling default in code and default_ui_config to 100%.
Incorrect value was caused by misremembering how Pango::SCALE works.
Paul Davis [Tue, 23 Dec 2014 00:47:06 +0000 (19:47 -0500)]
new file, derived from old libs/ardour/configuration.cc