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

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

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

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

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

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

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

9 years agoremove color 105 since nothing uses it
Paul Davis [Mon, 15 Dec 2014 14:48:13 +0000 (09:48 -0500)]
remove color 105 since nothing uses it

9 years agonext modifier, and remove color 102 since nothing uses it
Paul Davis [Mon, 15 Dec 2014 14:47:39 +0000 (09:47 -0500)]
next modifier, and remove color 102 since nothing uses it

9 years agonext modifier
Paul Davis [Mon, 15 Dec 2014 14:30:14 +0000 (09:30 -0500)]
next modifier

9 years agofix typo
Paul Davis [Mon, 15 Dec 2014 14:29:04 +0000 (09:29 -0500)]
fix typo

9 years agoadd 22 modifiers to dark.colors and start using the first one (for crossfade alpha)
Paul Davis [Mon, 15 Dec 2014 14:05:25 +0000 (09:05 -0500)]
add 22 modifiers to dark.colors and start using the first one (for crossfade alpha)

9 years agofix incorrect item name for color
Paul Davis [Mon, 15 Dec 2014 14:05:01 +0000 (09:05 -0500)]
fix incorrect item name for color

9 years agoAdd UIConfiguration::color_mod (colorname, modifiername) to get a modified color
Paul Davis [Mon, 15 Dec 2014 14:04:41 +0000 (09:04 -0500)]
Add UIConfiguration::color_mod (colorname, modifiername) to get a modified color

9 years agomore fixes to SVAModifier constructor(s)
Paul Davis [Mon, 15 Dec 2014 14:03:52 +0000 (09:03 -0500)]
more fixes to SVAModifier constructor(s)

9 years agofix meter color definitions (extra 0x in every one)
Paul Davis [Mon, 15 Dec 2014 12:50:34 +0000 (07:50 -0500)]
fix meter color definitions (extra 0x in every one)

9 years agoAdd a newly introduced header file to our MSVC project (libpbd)
John Emmas [Mon, 15 Dec 2014 10:26:06 +0000 (10:26 +0000)]
Add a newly introduced header file to our MSVC project (libpbd)

9 years agoRemove (no longer needed) header files from our MSVC project (gtk2_ardour)
John Emmas [Mon, 15 Dec 2014 10:22:20 +0000 (10:22 +0000)]
Remove (no longer needed) header files from our MSVC project (gtk2_ardour)

9 years agoadd missing UIConfiguration::modifier()
Paul Davis [Mon, 15 Dec 2014 04:48:20 +0000 (23:48 -0500)]
add missing UIConfiguration::modifier()

9 years agofix up SVAModifier constructors
Paul Davis [Mon, 15 Dec 2014 04:41:31 +0000 (23:41 -0500)]
fix up SVAModifier constructors

9 years agofix XML syntax error
Paul Davis [Mon, 15 Dec 2014 04:36:11 +0000 (23:36 -0500)]
fix XML syntax error

9 years agobasic code to use SVModifier plus one definition in dark.colors
Paul Davis [Mon, 15 Dec 2014 04:34:59 +0000 (23:34 -0500)]
basic code to use SVModifier plus one definition in dark.colors

9 years agoadd SVAModifier to ArdourCanvas color code
Paul Davis [Mon, 15 Dec 2014 04:34:36 +0000 (23:34 -0500)]
add SVAModifier to ArdourCanvas color code

9 years agofix up requested color names everywhere.
Paul Davis [Sun, 14 Dec 2014 21:15:38 +0000 (16:15 -0500)]
fix up requested color names everywhere.

Thank <deity> for emacs ... space-uncamelcase-word-at-point FTW

9 years agonew version of dark.colors
Paul Davis [Sun, 14 Dec 2014 21:14:47 +0000 (16:14 -0500)]
new version of dark.colors

9 years agoremove now-unused headers
Paul Davis [Sun, 14 Dec 2014 21:14:32 +0000 (16:14 -0500)]
remove now-unused headers

9 years agoremove base color concept from UIConfiguration and ThemeManager.
Paul Davis [Sun, 14 Dec 2014 21:14:18 +0000 (16:14 -0500)]
remove base color concept from UIConfiguration and ThemeManager.

What used to be "relative colors" (defined relative to base colors) are now defined
in absolute terms.

9 years agoinitial pass to replace all UIConfiguration::get_XXXXXX() calls with UIConfiguration...
Paul Davis [Sun, 14 Dec 2014 17:27:07 +0000 (12:27 -0500)]
initial pass to replace all UIConfiguration::get_XXXXXX() calls with UIConfiguration::color(name).

IMPORTANT: names have not been downcased and spaced yet, so many colors are not found

9 years agomove ScopedFileDescriptor into libpbd and use it
Paul Davis [Sun, 14 Dec 2014 17:26:00 +0000 (12:26 -0500)]
move ScopedFileDescriptor into libpbd and use it

9 years agomerge conflict resolution (text colors are no longer specified explicitly)
Paul Davis [Sun, 14 Dec 2014 17:18:55 +0000 (12:18 -0500)]
merge conflict resolution (text colors are no longer specified explicitly)

9 years agofixed merge conflict
Paul Davis [Fri, 12 Dec 2014 20:28:16 +0000 (15:28 -0500)]
fixed merge conflict

9 years agoOnly attempt to close our peakfile '_fd' if we have a valid handle
John Emmas [Sun, 14 Dec 2014 10:39:29 +0000 (10:39 +0000)]
Only attempt to close our peakfile '_fd' if we have a valid handle

(yesterday's fix was needed in a 2nd place)

9 years agoOnly attempt to close '_peakfile_fd' if we have a valid handle
John Emmas [Sat, 13 Dec 2014 12:46:24 +0000 (12:46 +0000)]
Only attempt to close '_peakfile_fd' if we have a valid handle

9 years agoStructure MIDI device selector by manufacturer.
David Robillard [Sat, 13 Dec 2014 05:37:34 +0000 (00:37 -0500)]
Structure MIDI device selector by manufacturer.

Unfortunately we store the state of models as simply model, so if there's ever
duplicate model names, we're somewhat screwed, but this makes the (previously
unmanageably huge) menu usable, while retaining the "model name as global
identifier" state unmodified.

9 years agoUse ArdourDropdown for MIDI device selector.
David Robillard [Sat, 13 Dec 2014 04:38:41 +0000 (23:38 -0500)]
Use ArdourDropdown for MIDI device selector.

9 years agohide a lot of color debugging noise
Paul Davis [Fri, 12 Dec 2014 18:26:17 +0000 (13:26 -0500)]
hide a lot of color debugging noise

9 years ago show-more-ui-prefs-from-view-window is only a mixbus thing
Ben Loftis [Fri, 12 Dec 2014 18:32:32 +0000 (12:32 -0600)]
 show-more-ui-prefs-from-view-window is only a mixbus thing

9 years agomore color tweaks
Ben Loftis [Fri, 12 Dec 2014 17:27:29 +0000 (11:27 -0600)]
more color tweaks