13
0
Commit Graph

15197 Commits

Author SHA1 Message Date
David Robillard
670938c8c4 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.
2014-12-20 01:13:25 -05:00
David Robillard
5d8021bf44 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...
2014-12-20 01:13:25 -05:00
db92d62c95 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.
2014-12-19 21:16:02 +00:00
21f5859981 fix double-free/crash at session close 2014-12-19 21:30:22 +01:00
631467f0bb 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.
2014-12-19 17:12:05 +00:00
1823126408 Implement configurable region selection after split
Implement the configured behaviour of region selection after split.
2014-12-19 17:12:04 +00:00
d4a3141927 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.
2014-12-19 17:12:04 +00:00
f4e0fec179 new color modifiers plus adjust default time axis view item/region transparency to 0.7 2014-12-19 12:07:04 -05:00
00887f94dc more color/modifier tweaks 2014-12-19 12:06:42 -05:00
f20933b80f allow theme control of sync mark colors 2014-12-19 10:07:20 -05:00
b73477b250 add more controllable modifiers for region transparency 2014-12-19 09:53:51 -05:00
a494211e73 add ArdourCanvas::change_alpha()
Time to move away from rgba macros
2014-12-19 09:53:26 -05:00
55d91f71e0 Add some newly introduced source files to our MSVC project (gtk2_ardour) 2014-12-19 10:41:02 +00:00
David Robillard
d936e6f3b5 Expand transport buttons to fill vertical space. 2014-12-18 23:20:17 -05:00
95042d941d Move object tool to "grab" tool (key g).
Makes all tools under the left hand and eliminates the need for toggling.
2014-12-18 20:33:10 -05:00
341146a975 Remove mouse mode toggling. 2014-12-18 20:26:43 -05:00
66870ddf09 Restore snap when switching to/from internal. 2014-12-18 20:23:34 -05:00
6031308520 Use color modifiers for dynamic region styles. 2014-12-18 20:23:34 -05:00
a12a065457 Fix copy paste of MIDI and track automation. 2014-12-18 20:23:34 -05:00
026f7bf5b7 Make MIDI regions translucent for internal tools. 2014-12-18 20:23:23 -05:00
7ab8a11fb5 Enforce internal/external selection exclusivity. 2014-12-18 20:22:48 -05:00
cebf191cba Make tools toggle-like by switching to last mode. 2014-12-18 20:21:05 -05:00
5fef655380 Remove internal edit mode and add "content" tool. 2014-12-18 20:21:01 -05:00
Valeriy Kamyshniy
1b89055526 [Summary] Bug fix: mistakenly set states of freewheeling thread. 2014-12-18 17:07:37 -05:00
6de78f0585 fix up noderun script used on VMs to build releases 2014-12-18 11:47:41 -05:00
a34f572964 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"
2014-12-18 11:40:30 -05:00
4453803c0c 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
2014-12-18 11:14:41 -05:00
0d771999ac 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
2014-12-18 11:09:10 -05:00
nick_m
9af9e17adc 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.
2014-12-18 11:03:10 -05:00
Julien de Kozak
2c8a769aae Fix crash if new tempo is set to start at bar #0 / Follow-up for non movable meters 2014-12-18 10:49:12 -05:00
Julien de Kozak
d2e966aac4 Fix crash if new tempo is set to start at bar #0 / Follow-up for non movable tempos 2014-12-18 10:49:12 -05:00
Julien de Kozak
444ec162ae Fix crash if new tempo is set to start at bar #0 2014-12-18 10:49:12 -05:00
74be550698 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.
2014-12-18 10:30:38 -05:00
09687c1712 allow generic i386 builds with OSX/clang 2014-12-18 10:25:39 +01:00
a45259b783 fix —optimize and —debug-symbols configure flags
“execv() arg 2 must contain only strings”
2014-12-18 10:22:45 +01:00
7eab4c6f33 Don't assume compiler can avoid copy to const ref. 2014-12-18 04:03:39 -05:00
e584ae0bf9 Mute automation via normal mute button. 2014-12-18 02:26:51 -05:00
d36b5c78bd Nuke user CFLAGS/CXXFLAGS if debug is set. 2014-12-18 02:26:51 -05:00
64490e88e4 No need to yell. 2014-12-18 02:26:34 -05:00
9e4b874b85 Tidy up autowaf.py (noop). 2014-12-17 22:27:56 -05:00
0f759e9a93 MIDI bounce. 2014-12-17 21:48:09 -05:00
5f66300349 Support stepping bank by shift+scroll/arrow. 2014-12-17 20:18:11 -05:00
d2cafbe95a 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.
2014-12-17 19:43:09 -05:00
6e912a0aa3 Fix display of MIDI notes/regions while recording.
Make record rect transparency configurable.

Factor out some copy-paste streamview code.
2014-12-17 18:41:23 -05:00
0f63ac06a4 Remove unused variables. 2014-12-17 18:41:23 -05:00
ea9cdaa57a add missing quotes 2014-12-17 22:51:11 +01:00
a706755710 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.
2014-12-17 16:07:29 -05:00
1fa9edd872 insensitive buttons should be shaded towards the gtk_background color, not hardcoded gray 2014-12-17 14:17:32 -06:00
a280f28af9 potentially a better check for MSVC 2014-12-17 14:09:18 -05:00
9e67d18ad8 remove debug output 2014-12-17 14:08:33 -05:00