ardour.git
9 years agoClean up a bit - should be a no-op
nick_m [Thu, 21 May 2015 17:09:29 +0000 (03:09 +1000)]
Clean up a bit - should be a no-op

9 years agoAppease Our Dear Leader
nick_m [Thu, 21 May 2015 16:31:25 +0000 (02:31 +1000)]
Appease Our Dear Leader

9 years agoFix excessive use of logic.
nick_m [Thu, 21 May 2015 16:20:51 +0000 (02:20 +1000)]
Fix excessive use of logic.

9 years agoFix up modifier behaviour
nick_m [Thu, 21 May 2015 16:12:58 +0000 (02:12 +1000)]
Fix up modifier behaviour

- its now possible to use snap modifiers in combination with others
  afaict this hasn't worked for some time.

- use "contains" rather than "equals" during drag. Still uncertain
   about this wrt beginning a drag. for now they are all "equals".

- probably solve the "snap modifier modifier" problem using
  ArdourKeyboard::indicates_snap () and friend.

9 years agoMake the prefs less squashed looking, add another entry for OSX modifiers.
nick_m [Thu, 21 May 2015 13:47:32 +0000 (23:47 +1000)]
Make the prefs less squashed looking, add another entry for OSX modifiers.

- Defaults are probably still wrong, but at least they are actual
keys.

9 years agoMove ui-centric modifiers into ArdourKeyboard, set some bad defaults.
nick_m [Wed, 20 May 2015 19:32:23 +0000 (05:32 +1000)]
Move ui-centric modifiers into ArdourKeyboard, set some bad defaults.

- Also makes "Mod4" Appear as "Windows" and adds new combination
"Alt-Windows" to the dropdown.
- Attempt to set a pair of default snap modifiers (without
knowing what it actually is for OSX)
- Copy modifier now saves
- Snap modifier modifier problem still remains.

9 years agoAllow all drag -related modifiers to be set, re-instate "jump after trim"
nick_m [Wed, 20 May 2015 15:30:57 +0000 (01:30 +1000)]
Allow all drag -related modifiers to be set,  re-instate "jump after trim"

- Copy modifier still doesn't save
- Testers please edit the Extra section of ~/.ardourN/config to allow
defaults to "take"
- Note that the current defaults overlap.
- warning - absolute snap modifier has no default and will be always
"on" unless you set it!

9 years agoAdd more modifier preferences.
nick_m [Tue, 19 May 2015 18:00:04 +0000 (04:00 +1000)]
Add more modifier preferences.

Note that no defaults are set - go to prefs->user interaction to
ensure that nothing is set to "no modifer"

also - the copy modifier doesn't actually save its state yet.

9 years agoRemove some debugging.
nick_m [Mon, 18 May 2015 17:29:22 +0000 (03:29 +1000)]
Remove some debugging.

9 years agoRevert to old Lock mode (still called Lock).
nick_m [Mon, 18 May 2015 17:27:50 +0000 (03:27 +1000)]
Revert to old Lock mode (still called Lock).

Also make midi notes obey the snap delta modifire

9 years ago"Lock" mode is now "Constrained", make snap absolute modifier configurable.
nick_m [Sun, 17 May 2015 20:25:36 +0000 (06:25 +1000)]
"Lock" mode is now "Constrained", make snap absolute modifier configurable.

- user can abs/rel modifier key in prefs->user interaction
  suggested for linux - absolute->alt ignore snap->alt-shift
- Constrained mode works the same as button 2 drag (initial move
  sets constraint axis).

9 years agoRelative snap now always on - disabled with Tertiary modifier (shift)
nick_m [Sun, 17 May 2015 17:15:22 +0000 (03:15 +1000)]
Relative snap now always on - disabled with Tertiary modifier (shift)

9 years agoClean up drag modifiers.
nick_m [Sun, 17 May 2015 15:43:44 +0000 (01:43 +1000)]
Clean up drag modifiers.
Button 2 drag now is constrained to initial move axis, removing
all modifiers from this op.
Remove Jump after trim mode.
TrimDrag now has:
Primary for trim anchored to fade.
Secondary for contents trim (as before)
Primary & Tertiary for "non overlap" trim
All drags have Tertiary for relative snap

9 years agoRelative Snap -make it activated by the tertiary modifier during drag.
nick_m [Sun, 17 May 2015 13:47:01 +0000 (23:47 +1000)]
Relative Snap -make it activated by the tertiary modifier during drag.

Disabled/enabled with the shift key. no config stuff at all now.
Move existing (strange) trim feature to primary + tertiary modifiers.

9 years agoRelative snap - support magnetic mode (hackishly for now)
nick_m [Sat, 16 May 2015 18:26:05 +0000 (04:26 +1000)]
Relative snap - support magnetic mode (hackishly for now)

9 years agoCleanup relative snap code.
nick_m [Sat, 16 May 2015 14:23:25 +0000 (00:23 +1000)]
Cleanup relative snap code.

9 years agoFix typo.
nick_m [Fri, 15 May 2015 20:10:02 +0000 (06:10 +1000)]
Fix typo.

9 years agoRevert incorrect region_length() definition.
nick_m [Fri, 15 May 2015 18:50:37 +0000 (04:50 +1000)]
Revert incorrect region_length() definition.

9 years agoRelative snap
nick_m [Fri, 15 May 2015 18:15:52 +0000 (04:15 +1000)]
Relative snap

9 years agofix cleanup (code is self-evident). From Yevgeny @ waves
Paul Davis [Thu, 14 May 2015 11:00:50 +0000 (07:00 -0400)]
fix cleanup (code is self-evident). From Yevgeny @ waves

9 years agoFix stuck notes on save during MIDI playback.
David Robillard [Wed, 13 May 2015 00:10:23 +0000 (20:10 -0400)]
Fix stuck notes on save during MIDI playback.

9 years agoFix missing undo for audio timefx operations.
nick_m [Tue, 12 May 2015 16:30:52 +0000 (02:30 +1000)]
Fix missing undo for audio timefx operations.

9 years agofix C++ template/operator test
Paul Davis [Tue, 12 May 2015 15:38:55 +0000 (11:38 -0400)]
fix C++ template/operator test

9 years agocatch identifiers ending or starting with _ when checking operator spacing
Paul Davis [Tue, 12 May 2015 15:25:36 +0000 (11:25 -0400)]
catch identifiers ending or starting with _ when checking operator spacing

9 years agodon't interpret C++ templates with indirection/pointer/reference operators as operators
Paul Davis [Tue, 12 May 2015 15:23:57 +0000 (11:23 -0400)]
don't interpret C++ templates with indirection/pointer/reference operators as operators

9 years agoadd check for white-space only lines; fix tests to allow for _(...) macro and functio...
Paul Davis [Tue, 12 May 2015 12:02:07 +0000 (08:02 -0400)]
add check for white-space only lines; fix tests to allow for _(...) macro and function (); rather than function () ;

9 years agoadd pre-commit hook for optional (but recommended) use
Paul Davis [Sat, 9 May 2015 17:51:21 +0000 (13:51 -0400)]
add pre-commit hook for optional (but recommended) use

9 years agowhitespace cleanup
Paul Davis [Sat, 9 May 2015 17:50:06 +0000 (13:50 -0400)]
whitespace cleanup

9 years agofix pasted whitespace
Paul Davis [Sat, 9 May 2015 17:42:30 +0000 (13:42 -0400)]
fix pasted whitespace

9 years agoC/C++ style checking script from erik de castro-lopo, for use in client-side pre...
Paul Davis [Sat, 9 May 2015 17:40:35 +0000 (13:40 -0400)]
C/C++ style checking script from erik de castro-lopo, for use in client-side pre-commit hook

9 years agoLayering - the return of "later is higher".
nick_m [Sat, 9 May 2015 17:15:50 +0000 (03:15 +1000)]
Layering - the return of "later is higher".

    Currently we don't do anything special on layering prefs change
    (relayer only occurs when each playlist is first edited). The idea here is
    that "undo" is still available to restore previous layering in case of any
    surprises.

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 17:08:56 +0000 (13:08 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 17:05:07 +0000 (13:05 -0400)]
more pre-commit testing

9 years agoremove testing file
Paul Davis [Sat, 9 May 2015 15:32:27 +0000 (11:32 -0400)]
remove testing file

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 15:32:04 +0000 (11:32 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 15:29:38 +0000 (11:29 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:36:38 +0000 (02:36 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:23:21 +0000 (02:23 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:23:08 +0000 (02:23 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:19:52 +0000 (02:19 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:18:39 +0000 (02:18 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:18:23 +0000 (02:18 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:16:42 +0000 (02:16 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:16:17 +0000 (02:16 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:14:11 +0000 (02:14 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:13:34 +0000 (02:13 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:12:33 +0000 (02:12 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:12:13 +0000 (02:12 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:11:43 +0000 (02:11 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:11:12 +0000 (02:11 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:10:09 +0000 (02:10 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:07:56 +0000 (02:07 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:06:50 +0000 (02:06 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:04:57 +0000 (02:04 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:03:03 +0000 (02:03 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 06:01:37 +0000 (02:01 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 05:44:40 +0000 (01:44 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 05:41:55 +0000 (01:41 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 05:39:50 +0000 (01:39 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 05:39:29 +0000 (01:39 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 05:30:48 +0000 (01:30 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 05:30:14 +0000 (01:30 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 05:29:17 +0000 (01:29 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 05:28:45 +0000 (01:28 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 05:28:02 +0000 (01:28 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 05:25:48 +0000 (01:25 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 05:24:11 +0000 (01:24 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 05:22:52 +0000 (01:22 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 05:22:00 +0000 (01:22 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 05:11:52 +0000 (01:11 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 05:07:58 +0000 (01:07 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 05:06:05 +0000 (01:06 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 04:27:01 +0000 (00:27 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 04:18:54 +0000 (00:18 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 04:18:37 +0000 (00:18 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 04:16:44 +0000 (00:16 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 04:15:49 +0000 (00:15 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 04:08:22 +0000 (00:08 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 04:05:58 +0000 (00:05 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 04:00:48 +0000 (00:00 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 04:00:14 +0000 (00:00 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 03:59:25 +0000 (23:59 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 03:57:49 +0000 (23:57 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 03:43:19 +0000 (23:43 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 03:38:16 +0000 (23:38 -0400)]
more pre-commit testing

9 years agomore pre-commit testing
Paul Davis [Sat, 9 May 2015 03:34:54 +0000 (23:34 -0400)]
more pre-commit testing

9 years agotest commit for new style-checking pre-commit
Paul Davis [Sat, 9 May 2015 03:29:02 +0000 (23:29 -0400)]
test commit for new style-checking pre-commit

9 years agoextend save-as dialog to allow crude but functional save-as-to-empty-session
Paul Davis [Fri, 8 May 2015 02:36:32 +0000 (22:36 -0400)]
extend save-as dialog to allow crude but functional save-as-to-empty-session

9 years agofix crash during session deletion as monitor section tries to update
Paul Davis [Fri, 8 May 2015 02:36:07 +0000 (22:36 -0400)]
fix crash during session deletion as monitor section tries to update

9 years agoextend save-as API to allow for new empty sessions based on current
Paul Davis [Fri, 8 May 2015 02:35:35 +0000 (22:35 -0400)]
extend save-as API to allow for new empty sessions based on current

9 years agocopy contents of analysis, plugins, automation and externals folders during save-as
Paul Davis [Thu, 7 May 2015 21:10:14 +0000 (17:10 -0400)]
copy contents of analysis, plugins, automation and externals folders during save-as

9 years agofix Session::rename()
Paul Davis [Thu, 7 May 2015 16:06:49 +0000 (12:06 -0400)]
fix Session::rename()

9 years agodebugging rename/save-as
Paul Davis [Wed, 6 May 2015 01:30:00 +0000 (21:30 -0400)]
debugging rename/save-as

9 years agorename user's customized color file when resetting theme. Fixes #6286
Paul Davis [Wed, 29 Apr 2015 22:23:09 +0000 (18:23 -0400)]
rename user's customized color file when resetting theme. Fixes #6286

9 years agofix some gtk filechooser issues
Robin Gareus [Tue, 5 May 2015 16:35:58 +0000 (18:35 +0200)]
fix some gtk filechooser issues

9 years agooversample meter faceplate image surfaces
Robin Gareus [Tue, 5 May 2015 01:02:09 +0000 (03:02 +0200)]
oversample meter faceplate image surfaces

Works around issues with pango on windows,
fixes crude text on OSX/retina and can provide sub-pixel
rendering on GNU/Linux/X11.

9 years agoNSM preparation for OSX and windows
Robin Gareus [Mon, 4 May 2015 22:25:06 +0000 (00:25 +0200)]
NSM preparation for OSX and windows

Note that on those platforms the application name
is a full path. This is permitted by the specs:

“executable_name MUST be the executable name that the program was launched with. For C programs, this is simply the value of argv[0]” [http://non.tuxfamily.org/nsm/API.html#n:1.2.1.1.]

but the current implementation of nsm expects the basename
only and searched $PATH.

9 years agoadd plugin parameter reset button - closes #6297
Robin Gareus [Mon, 4 May 2015 18:52:48 +0000 (20:52 +0200)]
add plugin parameter reset button - closes #6297

9 years agoprepare plugin reset (#6297)
Robin Gareus [Mon, 4 May 2015 18:48:41 +0000 (20:48 +0200)]
prepare plugin reset (#6297)

9 years agoAPI to reset plugin parameters to default
Robin Gareus [Mon, 4 May 2015 18:22:50 +0000 (20:22 +0200)]
API to reset plugin parameters to default