Commit graph

14759 commits

Author SHA1 Message Date
David Robillard
b52407043c Fix crash when copying MIDI regions with midi-copy-is-fork is on (#6002). 2014-11-14 23:53:59 -05:00
David Robillard
94954f852e Fix out of order event errors on save with overlapping notes.
Another consequence of fuzzy Sequence timing, but if the difference is less
than a tick this should handle things correctly.  If the difference is more
than a tick, something's wrong, and it might be okay to just bump forward
anyway, but I can't reproduce this and it could lead to corruption so I'm
leaving that case noisy.
2014-11-14 21:19:09 -05:00
David Robillard
31acd96384 Implement "multi-paste" for notes, regions, and automation.
The idea here is that pasting several times to the same location doesn't make
sense.  Instead, the paste is appended past the last paste, snapped to the
grid.  This make it simple to replicate a given section a number of times,
simply by copying once and pasting several times.

This behaviour only appears when successive pastes are done to the same
location (whatever the edit point is).  When the paste point changes, the
"multi-paste" state is reset.

Boots 'n cats 'n boots 'n cats.
2014-11-14 20:04:19 -05:00
David Robillard
b01d1813f8 Fix missing return statement in deleted region scenario. 2014-11-14 20:04:19 -05:00
David Robillard
31b6b05125 Fix MIDI note cut/copy/paste. 2014-11-14 20:04:19 -05:00
Paul Davis
497f0389d0 add Jeremy Carter to the about authors list 2014-11-14 17:16:06 -05:00
Paul Davis
251735080d fix up some suboptimal and crash-prone aspects of 7c263f3bc4 from Jeremy Carter 2014-11-14 17:14:48 -05:00
Jeremy Carter
af4095c0e9 bcf2000: make play button toggle roll 2014-11-14 15:35:19 -05:00
Jeremy Carter
19186534d7 Fix ChannelLeft command in BCF2000 mackie profile 2014-11-14 14:52:58 -05:00
Jeremy Carter
592bfdd3f4 Merge remote-tracking branch 'upstream/master' 2014-11-14 13:34:15 -05:00
Robin Gareus
6b3a8915f3 add abort() to non-reached code
This cleans up a lot of false-positives in static analysis
and also helps compilers to optimize code paths in general.
(tagging the fatal stingstream operator as ‘noreturn’ is
far less trivial)
2014-11-14 11:30:08 +01:00
David Robillard
5d5d9cb9e2 Fix various sticky/broken cursor issues.
This still isn't quite right, but it's a lot less broken than before, at least.
2014-11-14 02:37:36 -05:00
Robin Gareus
b630cc81bc the return of the PPC nostalgia 2014-11-14 08:16:25 +01:00
David Robillard
14e53b89c7 Fix wonky note length when create-dragging notes backwards.
Specifically, when pivoting from forwards to backwards (around the drag start
point), the note length was too long.  Setting both the start and end x
coordinates of the rect every time to the right value does the right thing.
2014-11-14 00:33:05 -05:00
David Robillard
3b23aed5e1 Fix error when create-dragging note backwards past start of region (#5934). 2014-11-14 00:31:28 -05:00
David Robillard
a733a2a4c5 Don't make MIDI regions in note mode completely invisible.
This makes for extremely confusing behaviour, particularly when creating new
regions.  This is still probably too transparent, IMO, but at least isn't
totally mysterious.  "visible" is a bit of a misnomer in the code, now.
2014-11-13 23:33:11 -05:00
David Robillard
8907477271 Fix crashes on various MIDI editing operations.
Assertions assumed old strict ordering, no longer reflecting reality of fuzzy
time comparison (introduced in 86f1b8).
2014-11-13 22:34:20 -05:00
David Robillard
a1e4befcca Fix crash after deleting automation region views (#4718). 2014-11-13 22:18:15 -05:00
David Robillard
589cc3162b Fix crash when deleting overlapped regions.
Use RegionSelection for MIDI regions as well, since the old dumb stub didn't do
some things correctly.  There's probably no reason to have a separate class for
this at all, and some good ones for putting all regions in the same selection,
so we should probably do that.  For now they are still separate in the
selection but use the same base class.
2014-11-13 21:32:08 -05:00
Robin Gareus
4ba4677b45 yet another copy/paste typo :( 2014-11-13 22:19:22 +01:00
Robin Gareus
9301ffafab fix typo in b9fc616538 2014-11-13 21:46:30 +01:00
Robin Gareus
11b75bf179 Linux-bundle: deploy all compiled backends 2014-11-13 21:35:36 +01:00
Robin Gareus
b376f6bc45 auto-initialize weak-jack
(not needed with ardour - but keep code in sync with
https://github.com/x42/weakjack)
2014-11-13 21:31:09 +01:00
Robin Gareus
b9fc616538 prepare for JACK meta-data API 2014-11-13 21:30:13 +01:00
Robin Gareus
65fa38103d make new jack thread API functions optional 2014-11-13 21:29:34 +01:00
Robin Gareus
7b39e0893a add symbol debug information to weak-jack 2014-11-13 21:28:33 +01:00
Robin Gareus
fbf7fe1b01 fix memory leak 2014-11-13 20:45:39 +01:00
Robin Gareus
cb38034334 install all additional binaries in $libdir 2014-11-13 19:57:40 +01:00
Robin Gareus
9a9a8f78ef fix define 2014-11-13 19:05:58 +01:00
John Emmas
0689a2976e Don't iterate in 'ARDOUR::Route::get_control()' unless a ReaderLock was successfully obtained 2014-11-13 13:07:34 +00:00
John Emmas
e59e8f6ab9 Make sure we can't execute 'ARDOUR::Route::meter()' unless a ReaderLock was successfully obtained 2014-11-13 12:13:16 +00:00
Robin Gareus
f0fd264f5e don't use cached sudo password in un/installer 2014-11-13 06:00:29 +01:00
Robin Gareus
2d5a068086 set umask in installer
see https://github.com/megastep/makeself/issues/6
2014-11-13 05:56:25 +01:00
Robin Gareus
3e702c5520 yet another build fix
on x86_64 weak_libjack.c needs -fPIC which needs cflags which need 'c' :)
2014-11-13 01:02:09 +01:00
Robin Gareus
0547694ac3 fix compilation with gcc-4.9.1 2014-11-13 00:11:32 +01:00
Robin Gareus
533b545295 add popup message and error log for AU crash reports 2014-11-12 13:35:15 +01:00
Robin Gareus
5624301a31 Prepare AU-discovery crashlog.
stopgap solution to allow a user to detect which plugin caused a crash during discovery.
2014-11-12 13:34:46 +01:00
Robin Gareus
d5ec118a1e add AU plugin scan to Preferences UI 2014-11-12 13:32:53 +01:00
Robin Gareus
1bc04ae351 failsafe AU scanning part one:
Don’t scan for AU plugins unless users explicitly starts a
plugin scan. Disable automatic scanning if Ardour crashes
during AU plugin discovery.
2014-11-12 04:58:53 +01:00
Jeremy Carter
32b86104aa Merge branch 'plugin-automation' 2014-11-11 19:36:18 -05:00
Jeremy Carter
ca249f3e7c fixed automation *_all button crash 2014-11-11 19:33:25 -05:00
Jeremy Carter
8eb18fdd76 Merge branch 'plugin-automation' 2014-11-11 18:07:44 -05:00
Jeremy Carter
7c263f3bc4 Added Write All, Play All, etc. automation buttons to generic plugin UI 2014-11-11 18:05:27 -05:00
Robin Gareus
aa9dda2c6a fix/amend b84b0bfd 2014-11-11 21:46:29 +01:00
Robin Gareus
b84b0bfdff clean up after ourselves 2014-11-11 15:35:06 +01:00
Robin Gareus
27e3bae19e linux packaging: add some checks to reduce warnings 2014-11-11 15:29:51 +01:00
Robin Gareus
72b063b6eb add 512px icon 2014-11-11 15:22:09 +01:00
Robin Gareus
1ae111669c osx packaging: add some checks to reduce warnings 2014-11-11 15:22:09 +01:00
Robin Gareus
da17695c81 osx build script: change default xjadeo/harvid cache folder 2014-11-11 15:22:09 +01:00
Robin Gareus
0ac3ed8681 fix osx startup script /usr/local test
A vanilla OSX system has no /usr/local/ folder. Ardour can still
run with the coreaudio or dummy backend.
2014-11-11 15:22:09 +01:00