Commit graph

2258 commits

Author SHA1 Message Date
Paul Davis
d3dbad3933 fix eternal valgrind complaint about GainMeter::_width not being initialized; make GainMeterBase derive from sigc::trackable so that its slots are disconnected from signals when it is deleted
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3500 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-27 19:02:19 +00:00
Paul Davis
f509da7043 make dynamic track resizing "work" again; colinf's patch for operations on multiple selected regions from the region context menu
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3495 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-26 01:53:36 +00:00
Paul Davis
4c00b9a98a check both whole-file and part-file regions when adding to the visible region list, and do not show regions that are region list equivalent with existing entries
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3491 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-25 15:06:07 +00:00
Paul Davis
6aa60b4d51 ensure that ALL xrun handling is done from the GUI thread
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3487 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-23 22:06:47 +00:00
Paul Davis
b52004a777 various minor fixes for crashes reported by nowhiskey
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3486 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-23 15:04:01 +00:00
Paul Davis
422607acfe fix a huge mess with sends, involving incorrect GUI cleanup, an unhandled exception and as a result, bad reference counting of sends leading to ports never going away because the send was never deleted
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3484 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-19 20:38:19 +00:00
Paul Davis
82031d05e0 reset editor's entered_track to null if that track is deleted; fix use of wrong constructor for MessageDialog in both IOSelector and import handling, which would lead to a glibmm exception caused by a null C string (old, common and very very bad)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3483 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-19 15:26:14 +00:00
Doug McLain
00c57fc390 Move the Enable Track Meters option to Metering per #2291
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3481 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-19 13:18:43 +00:00
Doug McLain
7d2d9a2317 Fixes and changes to the horizontal canvas scrolling, per our conversation on IRC and mantis #2275. When the playhead is seeked past the end marker, the canvas will grow as needed. The Zoom to Session button will now reset the canvas size to start <--> end plus a little extra after end, so the end marker is visible.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3480 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-19 07:52:32 +00:00
Paul Davis
a64926234f prevent periodic auto-save from causing GUI deadlock waiting for the Locations lock to be released while export-ranges happens. this fix might be updated with a better one later.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3479 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-19 00:24:13 +00:00
Paul Davis
0622d3c06a make bounce range and bounce region work properly (wrong boundaries before); add "Consolidate Range" which writes a new audio file and uses it to replace whatever was in the playlist within the range
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3478 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-18 22:28:16 +00:00
Paul Davis
35b0a000c3 make ctrl-w shortcut operate on plugin editors
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3477 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-18 19:29:19 +00:00
Paul Davis
6446d0ce49 slightly modified patch from colinf to make region context menu items always operate on well-defined and reasonably obvious region selection
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3476 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-18 18:22:22 +00:00
Paul Davis
612f25ab3a colinf's patch to make editor faders insensitive to scroll wheel events without Alt being down, and also change the step size for resizing (was bug #2208)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3475 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-18 16:22:57 +00:00
Paul Davis
7e551db0d7 patch from colinf for #2304 to reset meter peaks when meter point is reset. Note: this does not fix the same issue in editor track meters, but these have no edit point control, so ...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3474 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-18 16:19:12 +00:00
Paul Davis
6f7d8728c8 patch from colinf for #2305 to use sizeof(Sample)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3473 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-18 16:16:47 +00:00
Paul Davis
7b652d8a58 make Session::region_name() have the same performance as std::map<std::string,uint32_t> rather than O(N^2) where N is the number of regions in a session
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3472 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-18 15:01:53 +00:00
Paul Davis
c05d4751f9 initial implementation of "make range to next marker" and "export range" context menu item for range markers
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3470 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-17 21:47:40 +00:00
Paul Davis
5b57891108 some cleanups after the last commit/changes
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3469 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-17 20:56:58 +00:00
Paul Davis
0a16f643a0 refactor GainMeter so that it can used by RouteTimeAxisView, and thus bring automation display to editor track faders and more
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-17 20:09:25 +00:00
Paul Davis
5e58d036af possible fix for #2292
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3467 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-17 15:32:50 +00:00
Paul Davis
8c3fb5a1f8 fix for #2296 (plugins shown twice in automation menus)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3466 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-17 14:11:05 +00:00
Paul Davis
f2fddb626a fix deep design problem with redirect parameter automation being handled as a non-thread safe map - shift back to a predefined-size vector. Basically bugs #2198 and likely #2199
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3465 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-17 14:01:58 +00:00
Paul Davis
c3460fb11c fix crashing bug caused by not using RegionSelection::add()
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3461 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-12 20:23:04 +00:00
Paul Davis
c3a302f295 midway through dynamic resize redesign, need to test on OS X
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3459 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-11 02:01:12 +00:00
Paul Davis
730943d730 (5) debugging with nowhiskey - remove stupid lack of scaling caused by redisplaying all regions for every source file removed; fix for illegal audio device selection in audio setup dialog; stuff related to drawing/dragging regionheights (disabled at present)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3458 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-10 20:37:22 +00:00
Paul Davis
776294d096 (4) more debuggin
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3456 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-10 17:28:04 +00:00
Paul Davis
38ce37a80c (3) more debuggin
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3455 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-10 17:26:26 +00:00
Paul Davis
671e116ea7 (2) debugging region splitting with nowhiskey_
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3454 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-10 17:19:12 +00:00
Paul Davis
d3cb241309 debugging region splitting with nowhiskey_
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3453 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-10 16:58:45 +00:00
Doug McLain
8d5e5ecd16 Apply the fix for post fader redirects
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3452 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-10 03:36:29 +00:00
Doug McLain
a6f6a3909c The real fix for 3450
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3451 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-10 03:04:51 +00:00
Doug McLain
4614909ea6 Fix for error loaing a 2input plugin following a mono to stereo splitter plugin on a mono track on the prefader box.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3450 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-09 21:39:25 +00:00
Ben Loftis
570454f23a minor UI fixes for clocks and Locations dialog. Prevent tape tracks from skewing the session extents
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3448 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-05 16:59:39 +00:00
Doug McLain
6468d722a9 remove another autostools excrement
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3445 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-03 23:53:33 +00:00
Paul Davis
a29b3b862a small changes to export code to hopefully fix some bugs with range export(s)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3441 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-03 12:22:21 +00:00
Paul Davis
66016dfef7 don't double-call JackStartFreewheeling if we're already freewheeling
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3434 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-02 16:16:20 +00:00
Sampo Savolainen
4def7ed222 Finally a commit to the right branch. Wow. Thanks Petter, everyone else: sorry.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3429 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-01 15:39:12 +00:00
Paul Davis
11837cf46f fix for sigc++ compilation on platforms where "nil" is a C macro
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3427 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-29 20:20:11 +00:00
Paul Davis
02ddd35fc9 don't cadd a potentially null region from inside RegionFactory::create()
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3426 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-29 18:50:41 +00:00
Paul Davis
688c7a199a add missing plugin_interest.h file
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3425 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-29 15:26:01 +00:00
Paul Davis
5fc24b7f01 fix(es) from chris cannam for rb_effect mistakes
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3424 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-29 14:45:13 +00:00
Paul Davis
e1475964e5 fix for #2264, likely uninitialized value of Editor::drag_info.copied_location
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3423 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-29 14:32:31 +00:00
Paul Davis
6ca6379a52 fix for #2248, problems with click tab setup in prefs editor
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3422 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-29 14:28:50 +00:00
Paul Davis
6935d823df fix bad truncation of export path for export
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3421 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-29 13:36:17 +00:00
Paul Davis
79ab090830 redesign plugin selection process to fix multiple-addition problem
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-29 12:32:14 +00:00
Doug McLain
b7f48adb56 remove autostools files that should be there, and remove WIP stuff that shouldnt be there either
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3405 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-23 07:04:02 +00:00
Doug McLain
07f2210880 Add sigc 2.2.2
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3400 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-22 22:47:52 +00:00
Doug McLain
c271a30273 Remove sigc 2.0.18
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3399 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-22 22:42:27 +00:00
Paul Davis
5439c0c46c fix track selection sensitivity botch for Import action, should be toggle-waveform-visible instead (dup from 3.0)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3394 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-22 20:58:28 +00:00