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

9 years agofix clang compilation
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

9 years agoadd video tools to windows installer
Robin Gareus [Wed, 24 Dec 2014 02:56:54 +0000 (03:56 +0100)]
add video tools to windows installer

9 years agofix windows packaging default config
Robin Gareus [Wed, 24 Dec 2014 01:31:16 +0000 (02:31 +0100)]
fix windows packaging default config

9 years agoproper default setup and fallbacks for video on windows
Robin Gareus [Wed, 24 Dec 2014 00:36:46 +0000 (01:36 +0100)]
proper default setup and fallbacks for video on windows

9 years agofix for case-sensitive FS - aa80515f3
Robin Gareus [Tue, 23 Dec 2014 22:06:46 +0000 (23:06 +0100)]
fix for case-sensitive FS - aa80515f3

9 years agofix and cleanup c404ef98 (windows config dir)
Robin Gareus [Tue, 23 Dec 2014 22:04:38 +0000 (23:04 +0100)]
fix and cleanup c404ef98 (windows config dir)

9 years agoconsolidate video-tool filepaths - step three:
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

9 years agoconsolidate video-tool filepaths - step two:
Robin Gareus [Tue, 23 Dec 2014 22:00:05 +0000 (23:00 +0100)]
consolidate video-tool filepaths - step two:

common windows registry query

9 years agoconsolidate video-tool filepaths - step one
Robin Gareus [Tue, 23 Dec 2014 17:28:45 +0000 (18:28 +0100)]
consolidate video-tool filepaths - step one

1:1 cut/paste

9 years agoFix cursor update on nested entry.
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.

9 years agoUpdate canvas cursor on pop.
David Robillard [Tue, 23 Dec 2014 18:36:25 +0000 (13:36 -0500)]
Update canvas cursor on pop.

9 years ago[Summary] Fixed audio export on Windows. Added support of windows platform for the...
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.

9 years agofix slow behaviour when changing visible track height in Editor::set_visible_track_co...
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()

9 years agoindent cleanup
Paul Davis [Tue, 23 Dec 2014 17:35:58 +0000 (12:35 -0500)]
indent cleanup

9 years agochange font scaling default in code and default_ui_config to 100%.
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.

9 years agochange font scaling default in code and default_ui_config to 100%.
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.

9 years agonew file, derived from old libs/ardour/configuration.cc
Paul Davis [Tue, 23 Dec 2014 00:47:06 +0000 (19:47 -0500)]
new file, derived from old libs/ardour/configuration.cc

9 years agomove ARDOUR::Configuration and ARDOUR::ConfigVariable into libpbd
Paul Davis [Mon, 22 Dec 2014 23:53:19 +0000 (18:53 -0500)]
move ARDOUR::Configuration and ARDOUR::ConfigVariable into libpbd

9 years agoreorder members and constructors to ensure null pointers for ARDOUR_UI::{editor,mixer}
Paul Davis [Mon, 22 Dec 2014 23:52:40 +0000 (18:52 -0500)]
reorder members and constructors to ensure null pointers for ARDOUR_UI::{editor,mixer}

9 years agoconsolidate zoom-to-range and zoom-to-regions into: zoom-to-selection. ToDo: zoom...
Ben Loftis [Mon, 22 Dec 2014 17:59:05 +0000 (11:59 -0600)]
consolidate zoom-to-range and zoom-to-regions into: zoom-to-selection.  ToDo: zoom to selection of midi notes, control points, tracks(?)

9 years agodon't append .config to %LOCALAPPDATA%\<ProgramName>\
Robin Gareus [Mon, 22 Dec 2014 22:04:23 +0000 (23:04 +0100)]
don't append .config to %LOCALAPPDATA%\<ProgramName>\

::user_config_directory() could use some general cleanup
an x-platform consolidation, but today is not the day.

9 years agofix spelling error in MSVC compiler flags dictionary
Paul Davis [Mon, 22 Dec 2014 19:05:40 +0000 (14:05 -0500)]
fix spelling error in MSVC compiler flags dictionary

9 years agomove all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration
Paul Davis [Mon, 22 Dec 2014 18:39:41 +0000 (13:39 -0500)]
move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration

9 years agono use of GUI parameters in libardour
Paul Davis [Sun, 21 Dec 2014 18:49:45 +0000 (13:49 -0500)]
no use of GUI parameters in libardour

9 years agoAdd some preliminary options for building with msvc and waf
John Emmas [Mon, 22 Dec 2014 17:41:02 +0000 (17:41 +0000)]
Add some preliminary options for building with msvc and waf

9 years agoDon't check for 'dlopen' or 'dlfcn.h' if we're building with MSVC
John Emmas [Mon, 22 Dec 2014 17:38:30 +0000 (17:38 +0000)]
Don't check for 'dlopen' or 'dlfcn.h' if we're building with MSVC

9 years agofix color parsing on 32bit systems
Robin Gareus [Mon, 22 Dec 2014 03:48:32 +0000 (04:48 +0100)]
fix color parsing on 32bit systems

9 years agoreduce all default font sizes on Linux by 80%
Paul Davis [Sun, 21 Dec 2014 16:55:03 +0000 (11:55 -0500)]
reduce all default font sizes on Linux by 80%

If you use font scaling of 80% you may wish to reset it to 100% to get almost the exact same font sizes as previously. Normal size is now 8pt,
rather then 10pt as before

9 years agorestore ardour-style ruler labels for timecode ruler.
Paul Davis [Sun, 21 Dec 2014 16:53:15 +0000 (11:53 -0500)]
restore ardour-style ruler labels for timecode ruler.

Also reduce font size used to a cross-platform single definition.

9 years agochange SessionEvent::Immediate to -1, and ensure that clear_events() uses it rather...
Paul Davis [Mon, 24 Nov 2014 07:52:14 +0000 (09:52 +0200)]
change SessionEvent::Immediate to -1, and ensure that clear_events() uses it rather than a hard-coded value

This fixes a design error of using zero as the flag for an "Immediate" event's action frame. Zero
is a perfectly legitimate action frame for an event (e.g. a Skip event), and using zero was causing
skip events with action-frame == 0 to be treated as immediate, not scheduled.

9 years agoCopy pixmaps and icon files to wherever they're required at run time
John Emmas [Sun, 21 Dec 2014 13:15:34 +0000 (13:15 +0000)]
Copy pixmaps and icon files to wherever they're required at run time