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

9 years ago[Summary] Bug fix: mistakenly set states of freewheeling thread.
Valeriy Kamyshniy [Thu, 18 Dec 2014 19:16:24 +0000 (21:16 +0200)]
[Summary]  Bug fix: mistakenly set states of freewheeling thread.

9 years agofix up noderun script used on VMs to build releases
Paul Davis [Thu, 18 Dec 2014 16:47:41 +0000 (11:47 -0500)]
fix up noderun script used on VMs to build releases

9 years agospecify shell to use during install, to avoid problems with non-standard shells.
Paul Davis [Thu, 18 Dec 2014 16:40:30 +0000 (11:40 -0500)]
specify shell to use during install, to avoid problems with non-standard shells.

based on github pull request #68 from nulltrek, who noted: "If the system shell
is not syntax compliant with sh (such as fish shell), the install script fails
to execute some lines (like stage2.run:671, fish shell doesn't have the &&
operator) because the "su" command opens a new default shell"

9 years agoThis fixes a bug where an impossible keybinding assignment is possible.
Paul Davis [Thu, 18 Dec 2014 16:14:41 +0000 (11:14 -0500)]
This fixes a bug where an impossible keybinding assignment is possible.

It also makes it behave similar to the gtk keybinder. See Bug 5888 for more
details. From pull request #82 @ github, from Domohawk

9 years agoexpand help menu with various useful entries.
Paul Davis [Thu, 18 Dec 2014 16:09:10 +0000 (11:09 -0500)]
expand help menu with various useful entries.

From Georg Kraus. Addresses #5783, and was github pull request #67. Manually applied via .diff because of merge mechanics issues

9 years agoAdd editor selection state to session history via a SelectionMemento, which
nick_m [Sun, 14 Dec 2014 13:13:38 +0000 (00:13 +1100)]
Add editor selection state to session history via a SelectionMemento, which
combines selection related editor properties with the current editor selection.

The related editor properties are:
mouse mode,
zoom setting,
left frame of the canvas,
y origin of the canvas.

Selection state now includes region views (storing the underlying region id)
and time.

This patch also fixes a region mute undo bug.

9 years agoFix crash if new tempo is set to start at bar #0 / Follow-up for non movable meters
Julien de Kozak [Tue, 9 Dec 2014 07:00:25 +0000 (08:00 +0100)]
Fix crash if new tempo is set to start at bar #0 / Follow-up for non movable meters

9 years agoFix crash if new tempo is set to start at bar #0 / Follow-up for non movable tempos
Julien de Kozak [Mon, 8 Dec 2014 18:11:13 +0000 (19:11 +0100)]
Fix crash if new tempo is set to start at bar #0 / Follow-up for non movable tempos

9 years agoFix crash if new tempo is set to start at bar #0
Julien de Kozak [Sun, 7 Dec 2014 12:54:05 +0000 (13:54 +0100)]
Fix crash if new tempo is set to start at bar #0

9 years agochange Item::visible() to Item::self_visible(); add Item::visible() which returns...
Paul Davis [Thu, 18 Dec 2014 15:30:38 +0000 (10:30 -0500)]
change Item::visible() to Item::self_visible(); add Item::visible() which returns accurate visibility

Child items will be hidden when their ancestors are hidden. The old ::visible() implementation didn't reflect this. In addition,
when changes are made to hidden items (new definition of visible/not visible), don't bother to request redraws, since this will
be done when the item becomes visible again.

9 years agoallow generic i386 builds with OSX/clang
Robin Gareus [Thu, 18 Dec 2014 09:25:39 +0000 (10:25 +0100)]
allow generic i386 builds with OSX/clang

9 years agofix —optimize and —debug-symbols configure flags
Robin Gareus [Thu, 18 Dec 2014 09:22:45 +0000 (10:22 +0100)]
fix —optimize and —debug-symbols configure flags

“execv() arg 2 must contain only strings”

9 years agoDon't assume compiler can avoid copy to const ref.
David Robillard [Thu, 18 Dec 2014 09:03:39 +0000 (04:03 -0500)]
Don't assume compiler can avoid copy to const ref.

9 years agoMute automation via normal mute button.
David Robillard [Thu, 18 Dec 2014 07:25:17 +0000 (02:25 -0500)]
Mute automation via normal mute button.

9 years agoNuke user CFLAGS/CXXFLAGS if debug is set.
David Robillard [Thu, 18 Dec 2014 03:28:14 +0000 (22:28 -0500)]
Nuke user CFLAGS/CXXFLAGS if debug is set.

9 years agoNo need to yell.
David Robillard [Thu, 18 Dec 2014 03:28:44 +0000 (22:28 -0500)]
No need to yell.

9 years agoTidy up autowaf.py (noop).
David Robillard [Thu, 18 Dec 2014 03:27:56 +0000 (22:27 -0500)]
Tidy up autowaf.py (noop).

9 years agoMIDI bounce.
David Robillard [Thu, 18 Dec 2014 02:48:09 +0000 (21:48 -0500)]
MIDI bounce.

9 years agoSupport stepping bank by shift+scroll/arrow.
David Robillard [Thu, 18 Dec 2014 01:18:11 +0000 (20:18 -0500)]
Support stepping bank by shift+scroll/arrow.

9 years agoRemove some aborts that don't really need to be.
David Robillard [Thu, 18 Dec 2014 00:43:09 +0000 (19:43 -0500)]
Remove some aborts that don't really need to be.

Enforce PatchPrimaryKey sanity at the type level rather than attempting to
check for it everywhere.

Remove dead file.

9 years agoFix display of MIDI notes/regions while recording.
David Robillard [Wed, 17 Dec 2014 23:40:38 +0000 (18:40 -0500)]
Fix display of MIDI notes/regions while recording.

Make record rect transparency configurable.

Factor out some copy-paste streamview code.

9 years agoRemove unused variables.
David Robillard [Wed, 17 Dec 2014 23:36:25 +0000 (18:36 -0500)]
Remove unused variables.

9 years agoadd missing quotes
Robin Gareus [Wed, 17 Dec 2014 21:51:11 +0000 (22:51 +0100)]
add missing quotes

9 years agoFix various MIDI locking issues.
David Robillard [Wed, 17 Dec 2014 21:05:27 +0000 (16:05 -0500)]
Fix various MIDI locking issues.

Attempt to make mistakes much less likely in the future by statically requiring
caller to pass scoped locks where necessary.

9 years agoinsensitive buttons should be shaded towards the gtk_background color, not hardcoded...
Ben Loftis [Wed, 17 Dec 2014 20:17:32 +0000 (14:17 -0600)]
insensitive buttons should be shaded towards the gtk_background color,  not hardcoded gray

9 years agopotentially a better check for MSVC
Paul Davis [Wed, 17 Dec 2014 19:09:18 +0000 (14:09 -0500)]
potentially a better check for MSVC

9 years agoremove debug output
Paul Davis [Wed, 17 Dec 2014 19:08:33 +0000 (14:08 -0500)]
remove debug output

9 years agofix stash-mess for ./waf with a new identical version
Paul Davis [Wed, 17 Dec 2014 19:04:07 +0000 (14:04 -0500)]
fix stash-mess for ./waf with a new identical version

9 years agonew version of waf
Paul Davis [Wed, 17 Dec 2014 19:00:48 +0000 (14:00 -0500)]
new version of waf

9 years agonew wscript using compiler flags dictionary and very basic provision for msvc
Paul Davis [Wed, 17 Dec 2014 18:59:00 +0000 (13:59 -0500)]
new wscript using compiler flags dictionary and very basic provision for msvc

9 years agonew version of autowaf.py (requires rebuild of waf to be used)
Paul Davis [Wed, 17 Dec 2014 18:58:42 +0000 (13:58 -0500)]
new version of autowaf.py (requires rebuild of waf to be used)

9 years agoForce ghost note positive in all circumstances.
David Robillard [Wed, 17 Dec 2014 08:17:07 +0000 (03:17 -0500)]
Force ghost note positive in all circumstances.

9 years agoFix potential crash when right clicks go astray.
David Robillard [Wed, 17 Dec 2014 08:06:23 +0000 (03:06 -0500)]
Fix potential crash when right clicks go astray.

This should be impossible, since nothing but an audio region should have a fade
to begin with, but just doing nothing in this case does no harm.

9 years agoDon't allow drawing notes in rec regions (crash).
David Robillard [Wed, 17 Dec 2014 07:34:30 +0000 (02:34 -0500)]
Don't allow drawing notes in rec regions (crash).

9 years agoFix oops in previous commit.
David Robillard [Wed, 17 Dec 2014 07:10:01 +0000 (02:10 -0500)]
Fix oops in previous commit.

Professionalism is overrated.

9 years agoFix occasional crash when recording MIDI.
David Robillard [Wed, 17 Dec 2014 06:49:46 +0000 (01:49 -0500)]
Fix occasional crash when recording MIDI.

9 years agouse new parameter to limit minimum length of any range location
Paul Davis [Tue, 16 Dec 2014 18:03:09 +0000 (13:03 -0500)]
use new parameter to limit minimum length of any range location

9 years agoadd new parameter for minimum value of any range location
Paul Davis [Tue, 16 Dec 2014 18:02:53 +0000 (13:02 -0500)]
add new parameter for minimum value of any range location

9 years agoVarious color tweaks.
David Robillard [Tue, 16 Dec 2014 05:05:45 +0000 (00:05 -0500)]
Various color tweaks.

This commit changes some color names, nuke your theme.  This isn't quite ideal
yet, but takes some steps towards where I think things should go aesthetically:

Make automation tracks/regions colors correspond to their parent's type.

Make selected MIDI notes outlined in red like most everything else, and scrap
separate min/mid/max fill colors for selected MIDI notes.

Color automation ghost MIDI notes based on original note color.

Try to kill 90's looking brightish gray gradients in general.

9 years agoFix control point colors.
David Robillard [Tue, 16 Dec 2014 05:04:06 +0000 (00:04 -0500)]
Fix control point colors.

9 years agoFix marker bars "gradient" colors.
David Robillard [Tue, 16 Dec 2014 05:02:06 +0000 (00:02 -0500)]
Fix marker bars "gradient" colors.

9 years agofix editing of nested/group item colors in theme manager
Paul Davis [Mon, 15 Dec 2014 20:54:10 +0000 (15:54 -0500)]
fix editing of nested/group item colors in theme manager

9 years agotry alternate Glib:: API for conversion from UTF-8 to ascii in Mackie support code
Paul Davis [Mon, 15 Dec 2014 20:06:10 +0000 (15:06 -0500)]
try alternate Glib:: API for conversion from UTF-8 to ascii in Mackie support code

9 years agoadd some alpha to "covered region" coloration
Paul Davis [Mon, 15 Dec 2014 19:49:17 +0000 (14:49 -0500)]
add some alpha to "covered region" coloration

9 years agonominal fix for sending UTF-8 text to Mackie surface
Paul Davis [Mon, 15 Dec 2014 19:44:05 +0000 (14:44 -0500)]
nominal fix for sending UTF-8 text to Mackie surface

9 years agofix some missing color definitions
Paul Davis [Mon, 15 Dec 2014 19:31:43 +0000 (14:31 -0500)]
fix some missing color definitions

9 years agomake editor rubber band rect have appropriate transparency
Paul Davis [Mon, 15 Dec 2014 18:37:25 +0000 (13:37 -0500)]
make editor rubber band rect have appropriate transparency

9 years agoadd localeguard to read floating point values correctly when loading theme modifiers
Paul Davis [Mon, 15 Dec 2014 18:30:56 +0000 (13:30 -0500)]
add localeguard to read floating point values correctly when loading theme modifiers

9 years agotweak up transparency editor in theme panel
Paul Davis [Mon, 15 Dec 2014 17:48:31 +0000 (12:48 -0500)]
tweak up transparency editor in theme panel

9 years agomove theme manager into preferences window
Paul Davis [Mon, 15 Dec 2014 17:32:41 +0000 (12:32 -0500)]
move theme manager into preferences window

9 years agoadd editor to Theme Manager for modifiers
Paul Davis [Mon, 15 Dec 2014 17:07:05 +0000 (12:07 -0500)]
add editor to Theme Manager for modifiers

9 years agoadd getters for SVAModifier
Paul Davis [Mon, 15 Dec 2014 17:06:53 +0000 (12:06 -0500)]
add getters for SVAModifier

9 years agofinal modifier
Paul Davis [Mon, 15 Dec 2014 15:47:51 +0000 (10:47 -0500)]
final modifier

9 years agonext 2 modifiers
Paul Davis [Mon, 15 Dec 2014 15:46:15 +0000 (10:46 -0500)]
next 2 modifiers

9 years agonext modifier
Paul Davis [Mon, 15 Dec 2014 15:43:39 +0000 (10:43 -0500)]
next modifier

9 years agonext modifier
Paul Davis [Mon, 15 Dec 2014 15:41:46 +0000 (10:41 -0500)]
next modifier

9 years agoremove unused color
Paul Davis [Mon, 15 Dec 2014 15:37:50 +0000 (10:37 -0500)]
remove unused color

9 years agonext modifier
Paul Davis [Mon, 15 Dec 2014 15:36:38 +0000 (10:36 -0500)]
next modifier

9 years agonext modifier
Paul Davis [Mon, 15 Dec 2014 15:32:17 +0000 (10:32 -0500)]
next modifier