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

9 years agoLimit Wiimote surface discovery to 5 connection attempts
Tim Mayberry [Sun, 21 Dec 2014 02:03:36 +0000 (09:03 +0700)]
Limit Wiimote surface discovery to 5 connection attempts

If you don't connect a Wiimote then the connection attempts were
endless.

9 years agoquiet apt-get for windows x-compile
Robin Gareus [Sun, 21 Dec 2014 02:04:09 +0000 (03:04 +0100)]
quiet apt-get for windows x-compile

9 years agofix newly introduced deadlock when cloning MIDI regions
Paul Davis [Sat, 20 Dec 2014 19:09:33 +0000 (14:09 -0500)]
fix newly introduced deadlock when cloning MIDI regions

9 years agoAdd some newly introduced source files to our MSVC project (gtk2_ardour)
John Emmas [Sat, 20 Dec 2014 09:30:17 +0000 (09:30 +0000)]
Add some newly introduced source files to our MSVC project (gtk2_ardour)

9 years agoFix various cursor problems.
David Robillard [Sat, 20 Dec 2014 06:11:28 +0000 (01:11 -0500)]
Fix various cursor problems.

Add a new scoped cursor system that makes it much harder to screw up and end up
with stick cursors and so on.

9 years agoMaintain correct tracker state on MIDI overwrite.
David Robillard [Fri, 19 Dec 2014 23:09:36 +0000 (18:09 -0500)]
Maintain correct tracker state on MIDI overwrite.

This is a little hard-edged in that edits while rolling will prematurely chop
off any playing notes, but at least the state of things actually reflects
reality.  More sophisticated solution hopefully to come...

9 years agoRevert "Change default for region selection after split on Mixbus"
Colin Fletcher [Fri, 19 Dec 2014 20:40:27 +0000 (20:40 +0000)]
Revert "Change default for region selection after split on Mixbus"

This shouldn't be necessary: Mixbus should probably just have a different
value for the default in their source tree instead.

This (partially) reverts commit 631467f0bb2a2756c4216738ded804663b44a2a1:
I now realise that I accidentally rolled another fix (missing "region-" in
config variable name) in there too: sorry about that.

9 years agofix double-free/crash at session close
Robin Gareus [Fri, 19 Dec 2014 20:30:22 +0000 (21:30 +0100)]
fix double-free/crash at session close

9 years agoChange default for region selection after split on Mixbus
Colin Fletcher [Wed, 17 Dec 2014 18:48:50 +0000 (18:48 +0000)]
Change default for region selection after split on Mixbus

Mixbus prefers that both the newly-created regions as well as the existing
selection are selected after splitting selected regions: make this the
default on Mixbus.

9 years agoImplement configurable region selection after split
Colin Fletcher [Tue, 18 Nov 2014 13:58:37 +0000 (13:58 +0000)]
Implement configurable region selection after split

Implement the configured behaviour of region selection after split.

9 years agoAdd a config option to control region selection after split.
Colin Fletcher [Tue, 18 Nov 2014 13:52:42 +0000 (13:52 +0000)]
Add a config option to control region selection after split.

Add a configuration variable to choose the behaviour of the region
selection after splitting selected regions.

Add options to choose between all eight possible combinations of 'existing
unmodified selected regions', 'newly-created regions to left of split',
and 'newly-created regions to right of split', but comment out all but the
three least crazy ones for now. If anyone wants them, they're there.

9 years agonew color modifiers plus adjust default time axis view item/region transparency to 0.7
Paul Davis [Fri, 19 Dec 2014 17:07:04 +0000 (12:07 -0500)]
new color modifiers plus adjust default time axis view item/region transparency to 0.7

9 years agomore color/modifier tweaks
Paul Davis [Fri, 19 Dec 2014 17:06:42 +0000 (12:06 -0500)]
more color/modifier tweaks

9 years agoallow theme control of sync mark colors
Paul Davis [Fri, 19 Dec 2014 15:07:20 +0000 (10:07 -0500)]
allow theme control of sync mark colors

9 years agoadd more controllable modifiers for region transparency
Paul Davis [Fri, 19 Dec 2014 14:53:51 +0000 (09:53 -0500)]
add more controllable modifiers for region transparency

9 years agoadd ArdourCanvas::change_alpha()
Paul Davis [Fri, 19 Dec 2014 14:53:26 +0000 (09:53 -0500)]
add ArdourCanvas::change_alpha()

Time to move away from rgba macros

9 years agoAdd some newly introduced source files to our MSVC project (gtk2_ardour)
John Emmas [Fri, 19 Dec 2014 10:41:02 +0000 (10:41 +0000)]
Add some newly introduced source files to our MSVC project (gtk2_ardour)

9 years agoExpand transport buttons to fill vertical space.
David Robillard [Fri, 19 Dec 2014 04:20:17 +0000 (23:20 -0500)]
Expand transport buttons to fill vertical space.

9 years agoMove object tool to "grab" tool (key g).
David Robillard [Fri, 19 Dec 2014 01:33:10 +0000 (20:33 -0500)]
Move object tool to "grab" tool (key g).

Makes all tools under the left hand and eliminates the need for toggling.

9 years agoRemove mouse mode toggling.
David Robillard [Fri, 19 Dec 2014 01:26:43 +0000 (20:26 -0500)]
Remove mouse mode toggling.

9 years agoRestore snap when switching to/from internal.
David Robillard [Wed, 17 Dec 2014 04:02:28 +0000 (23:02 -0500)]
Restore snap when switching to/from internal.

9 years agoUse color modifiers for dynamic region styles.
David Robillard [Wed, 17 Dec 2014 01:37:16 +0000 (20:37 -0500)]
Use color modifiers for dynamic region styles.

9 years agoFix copy paste of MIDI and track automation.
David Robillard [Tue, 16 Dec 2014 19:37:40 +0000 (14:37 -0500)]
Fix copy paste of MIDI and track automation.

9 years agoMake MIDI regions translucent for internal tools.
David Robillard [Sat, 13 Dec 2014 01:22:16 +0000 (20:22 -0500)]
Make MIDI regions translucent for internal tools.

9 years agoEnforce internal/external selection exclusivity.
Ben Loftis [Fri, 12 Dec 2014 23:16:50 +0000 (17:16 -0600)]
Enforce internal/external selection exclusivity.

9 years agoMake tools toggle-like by switching to last mode.
David Robillard [Tue, 9 Dec 2014 19:00:12 +0000 (14:00 -0500)]
Make tools toggle-like by switching to last mode.

9 years agoRemove internal edit mode and add "content" tool.
David Robillard [Tue, 9 Dec 2014 04:00:00 +0000 (23:00 -0500)]
Remove internal edit mode and add "content" tool.