13
0
Commit Graph

3434 Commits

Author SHA1 Message Date
2a5118270c when adding existing processor automation time axis views, use add_automation_child(), not add_child() so that subsequent searches for this automation time axis view by parameter will find it, and not create a duplicate track
git-svn-id: svn://localhost/ardour2/branches/3.0@9700 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-09 20:34:29 +00:00
5b3916c62e split style files apart to better maintain consistency (generates a useless error during program startup - thanks GTK); metronome icon for (moved) click button; move punch in/out buttons around
git-svn-id: svn://localhost/ardour2/branches/3.0@9697 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-09 15:44:09 +00:00
966b62516f use 2 tables for time info box to get correct vertical alignment (independent on left+right sides)
git-svn-id: svn://localhost/ardour2/branches/3.0@9695 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-08 23:03:06 +00:00
3e79689c64 revert demo of monospace clock fonts
git-svn-id: svn://localhost/ardour2/branches/3.0@9694 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-08 21:07:10 +00:00
6ae6717fe6 demo monospace clock fonts
git-svn-id: svn://localhost/ardour2/branches/3.0@9693 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-08 20:59:49 +00:00
b09938d29d (maybe) rationalize display of drop status for timecode in audio clocks
git-svn-id: svn://localhost/ardour2/branches/3.0@9692 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-08 20:38:00 +00:00
a6517a0190 move punch in/out buttons into time info box; remove rounded corners on clocks
git-svn-id: svn://localhost/ardour2/branches/3.0@9691 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-08 19:48:57 +00:00
7c6b33e799 fix scrolling on clocks, and prevent attempts to edit the wrong fields
git-svn-id: svn://localhost/ardour2/branches/3.0@9690 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-08 18:29:36 +00:00
b6b24d353b more clock & time info box tweaking
git-svn-id: svn://localhost/ardour2/branches/3.0@9689 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-08 17:27:26 +00:00
0311b782c8 don't use selection clocks show MIDI selection when in internal edit mode; remove "Off" as an option for all AudioClocks because it makes no sense
git-svn-id: svn://localhost/ardour2/branches/3.0@9688 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-08 13:44:18 +00:00
c9cf966b34 turn selection clocks off if there is no selection
git-svn-id: svn://localhost/ardour2/branches/3.0@9687 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-08 13:22:40 +00:00
f90fed2360 fix punch labels in time info box
git-svn-id: svn://localhost/ardour2/branches/3.0@9686 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-07 23:09:45 +00:00
a56555e8b2 remove "Off" as a clock mode, make it a state instead; track editor mouse mode when displaying selection (not 100% coverage of different selections yet); add extra negative field for timecode clock to help with text alignment; add clock mode = timecode option to menus
git-svn-id: svn://localhost/ardour2/branches/3.0@9685 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-07 23:07:08 +00:00
7e2b86dc83 locate when clicking on start/end fields in time info box
git-svn-id: svn://localhost/ardour2/branches/3.0@9683 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-07 18:20:22 +00:00
f6e67fa3dd allow mode changes in the time info box, all synced
git-svn-id: svn://localhost/ardour2/branches/3.0@9681 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-07 17:40:05 +00:00
be1abb12ff more clock tweaking
git-svn-id: svn://localhost/ardour2/branches/3.0@9680 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-07 16:42:48 +00:00
a91d18414a dark theme style file tweaks for clocks
git-svn-id: svn://localhost/ardour2/branches/3.0@9679 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-07 15:38:22 +00:00
0a53bb1d42 lots of clock tweaks, but still, STILL! not done, really
git-svn-id: svn://localhost/ardour2/branches/3.0@9678 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-07 15:23:06 +00:00
e77b5261d2 next iteration of clock work. still far from complete, and probably waiting on a rethink of text rendering+layout. but it has the info block now, and it semi-works
git-svn-id: svn://localhost/ardour2/branches/3.0@9676 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-03 22:18:47 +00:00
11bcfd8429 add extended info fields to clocks; clock tweaks
git-svn-id: svn://localhost/ardour2/branches/3.0@9675 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 21:43:10 +00:00
83f385d263 audio clock switchover part2: remove most egregious include-time dependency on audio_clock.h, and alter API for a few utilities along the way
git-svn-id: svn://localhost/ardour2/branches/3.0@9673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 17:50:37 +00:00
f7e343b796 audio clock transition to CairoEditableText, part 1
git-svn-id: svn://localhost/ardour2/branches/3.0@9671 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 17:47:58 +00:00
c43c219c2e Fix some weird style
git-svn-id: svn://localhost/ardour2/branches/3.0@9668 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 03:17:53 +00:00
b27a3d99ac Remove "smaller" track height (basically just a broken version of small anyway).
Remove no-longer-necessary cruft related to non-editable track names (which do not exist).
Fix smallest height to be correctly padded (just large enough to hold the button row without ugly clipping).
Fix resizing of tracks when renaming (issue #4075).


git-svn-id: svn://localhost/ardour2/branches/3.0@9665 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 00:06:35 +00:00
ba5b31dfdf Fix issue #0004082.
git-svn-id: svn://localhost/ardour2/branches/3.0@9664 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 22:44:11 +00:00
ed626628b5 Delete trailing whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 17:00:29 +00:00
a473d630eb Fix broken whitespace. I'd apologize for the compile times if it was my fault :D
git-svn-id: svn://localhost/ardour2/branches/3.0@9654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 16:50:12 +00:00
fd33fa896f Quantize notes to session tempo time, not relative to start of region (fix issue #4069).
git-svn-id: svn://localhost/ardour2/branches/3.0@9640 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-31 02:59:48 +00:00
a0d09e81d4 update .po files for translators
git-svn-id: svn://localhost/ardour2/branches/3.0@9639 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-31 02:29:00 +00:00
d367b210f4 Create and destroy (non-external) LV2 plugin UIs as window is shown/hidden.
Fixes ticket #4067 (not to mention avoids having every UI that has ever been shown loaded in memory until exit time...)


git-svn-id: svn://localhost/ardour2/branches/3.0@9638 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-31 02:00:16 +00:00
6fb2f3e743 Fix non-translated strings (partially fix ticket #4078)
git-svn-id: svn://localhost/ardour2/branches/3.0@9636 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-31 00:16:14 +00:00
d4d5b30aeb remove unused and useless "src" argument for a number of Region property modifying methods
git-svn-id: svn://localhost/ardour2/branches/3.0@9632 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-30 13:54:44 +00:00
c937a67f6e do not offer combine operation for MIDI (see comment in libs/ardour/midi_playlist_source.cc for an explanation)
git-svn-id: svn://localhost/ardour2/branches/3.0@9630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-30 11:57:12 +00:00
3d05125a86 Increase maximum note height to 20 (10 is far too small a target for individual note editing).
Fix broken whitespace.


git-svn-id: svn://localhost/ardour2/branches/3.0@9617 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-27 22:39:52 +00:00
f87baef1e7 somewhat illogical and temporary workaround to the problems with consolidate & bounceable. it turns out that region bouncing never replaces the in-place region, so bounceable() doesn't matter; range bouncing only needs to check bounceable() if we're going to replace material in place and the op is with-processing. reword the error dialog too
git-svn-id: svn://localhost/ardour2/branches/3.0@9606 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-27 01:04:56 +00:00
e4a9202926 slightly change wording of wierd plugin dialog to sound more technical and less mathy
git-svn-id: svn://localhost/ardour2/branches/3.0@9605 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-26 23:47:40 +00:00
Carl Hetherington
135e064fbb Flip MIDI region view's verbose canvas cursor to above the mouse pointer if it is near the bottom of the canvas (#3842).
git-svn-id: svn://localhost/ardour2/branches/3.0@9603 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-26 17:57:21 +00:00
d6be900da0 more combine/uncombine fixes including making uncombine push the compound region gain level into the constituents and doing the right thing when we uncombine in a playlist other than the one in which the compound region was created
git-svn-id: svn://localhost/ardour2/branches/3.0@9601 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-26 17:22:22 +00:00
f38db9a4e3 move session file storage of nested sources from playlist into region, and reload them within Session::XMLRegionFactory, just before we create the region that uses the nested source
git-svn-id: svn://localhost/ardour2/branches/3.0@9595 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-26 12:24:04 +00:00
af02cbcafa Remove unnecessary includes from editor.h.
(Don't add includes to headers that aren't necessary!  Won't somebody please think of the CPUs?!?)


git-svn-id: svn://localhost/ardour2/branches/3.0@9594 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-26 01:29:59 +00:00
e394642910 revert previous commit
git-svn-id: svn://localhost/ardour2/branches/3.0@9591 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 21:28:17 +00:00
b45b3460b9 remove dependency on external libgnomecanvas, since we have our own version in the tree
git-svn-id: svn://localhost/ardour2/branches/3.0@9590 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 21:18:40 +00:00
e16cba3550 new swedish updates from petter
git-svn-id: svn://localhost/ardour2/branches/3.0@9589 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 19:57:05 +00:00
Carl Hetherington
fb39b47861 Zoom session when the mouse pointer is moved up and down during a playhead drag.
git-svn-id: svn://localhost/ardour2/branches/3.0@9586 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 16:38:49 +00:00
Carl Hetherington
711db34a81 Remove MIDI track default channel and its menu, and choose the channel for new notes using MidiTimeAxisView::get_channel_for_add() (fixes #3998 and #3865).
git-svn-id: svn://localhost/ardour2/branches/3.0@9585 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 15:19:47 +00:00
e984220eaa correct the logic used when building a compound region to include a whole-file (whole-source) region as a parent for the region list
git-svn-id: svn://localhost/ardour2/branches/3.0@9584 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 12:19:24 +00:00
49785b8fbb updated swedish translation from peppo
git-svn-id: svn://localhost/ardour2/branches/3.0@9583 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 11:34:59 +00:00
Carl Hetherington
c07ed4b848 Fix a couple of uninitialised variables (should fix #4059).
git-svn-id: svn://localhost/ardour2/branches/3.0@9582 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 10:17:16 +00:00
e5dc4e4ea2 change region selection after a combine op
git-svn-id: svn://localhost/ardour2/branches/3.0@9580 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 00:40:32 +00:00
Carl Hetherington
b6587ad160 Assorted doxygen fixes; no functional changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@9575 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 22:12:45 +00:00
f7dae62903 OS X compilation fix
git-svn-id: svn://localhost/ardour2/branches/3.0@9574 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 21:09:37 +00:00
Carl Hetherington
32df620938 Fix a few missing drops of Route references.
git-svn-id: svn://localhost/ardour2/branches/3.0@9571 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 10:03:14 +00:00
Carl Hetherington
09d4ab251e Remove some unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@9570 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 10:03:04 +00:00
fab94b8495 rationalize and improve region naming conventions to cover compound regions
git-svn-id: svn://localhost/ardour2/branches/3.0@9569 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-22 21:28:25 +00:00
4df8531289 another translation fix for silly gendered-noun languages :)
git-svn-id: svn://localhost/ardour2/branches/3.0@9568 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-22 20:47:21 +00:00
2761f899c5 fix translation issue with verb substitution in quit/close dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@9567 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-22 20:02:50 +00:00
9c733915a0 basic uncombining (no post-facto region trimming)
git-svn-id: svn://localhost/ardour2/branches/3.0@9566 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-22 16:11:00 +00:00
Carl Hetherington
d40ee95486 Trim some lines from AudioClock by using maps to keep the EventBoxes and Labels in.
git-svn-id: svn://localhost/ardour2/branches/3.0@9565 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-22 01:18:22 +00:00
Carl Hetherington
f7b41200c6 Separate milliseconds from seconds in the clock widget (#4053).
git-svn-id: svn://localhost/ardour2/branches/3.0@9564 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-22 01:18:05 +00:00
c425e61bb9 Fix double MIDI track display on initial load.
git-svn-id: svn://localhost/ardour2/branches/3.0@9559 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-19 21:29:47 +00:00
74fa33486c Fix broken indentation.
git-svn-id: svn://localhost/ardour2/branches/3.0@9558 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-19 21:11:21 +00:00
ecb97a38e0 Make selected region base colour slightly transparent (so you can see the tempo lines while dragging to align things).
git-svn-id: svn://localhost/ardour2/branches/3.0@9557 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-18 07:13:18 +00:00
659f7c5ef3 More consistent style for gain display and peak display.
Gain display is still a little bit smaller though, for mysterious reasons...


git-svn-id: svn://localhost/ardour2/branches/3.0@9556 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-18 07:05:30 +00:00
a54f10d861 Center fader in its (left hand side) mixer strip column.
Attempt to center meter in its as well, but this doesn't seem to be working.
Perhaps this whole section should be layed out as a table to ensure the split
down the middle is aligned no matter what?


git-svn-id: svn://localhost/ardour2/branches/3.0@9555 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-18 06:53:24 +00:00
a5870e4f96 Fix broken meter style on MIDI tracks.
git-svn-id: svn://localhost/ardour2/branches/3.0@9554 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-18 05:47:21 +00:00
297a51b715 Make shuttle colour a configuration option.
Make default shuttle colour match clock text green.

This is a bit odd, since it is a "canvas variable", except not... all the other colours are in this section though.  Maybe they're more appropriately named "colours", but it's too late for that now, or maybe this option belongs elsewhere, but when we need new mechanism for that...


git-svn-id: svn://localhost/ardour2/branches/3.0@9553 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-18 05:32:41 +00:00
7c7afd08b9 Fix indentation.
git-svn-id: svn://localhost/ardour2/branches/3.0@9552 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-18 05:09:07 +00:00
041c882143 Add 'controls' item to plugin insert context menu to always show Ardour generated controls for plugin, even if the plugin has a GUI. In particular, this gives you UI access to presets and the other handy stuff ardour sticks at the top, for inherently broken external UIs which don't allow Ardour to add such things.
Fix crash related to scale points when showing plugin UIs.

Fix packing of scrolled generic plugin UI so the controls expand (rather than leaving a ton of wasted empty space and using unnecessary scroll bars).


git-svn-id: svn://localhost/ardour2/branches/3.0@9551 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-18 05:00:44 +00:00
Carl Hetherington
84aeb92d15 Re-fix problems when zero-length MIDI regions are created by an import. Set those regions to have the length of one beat, rather than 1 frame, so that the length doesn't get rounded back down to 0 by frames/beats conversions (bug #4000).
git-svn-id: svn://localhost/ardour2/branches/3.0@9549 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 23:07:46 +00:00
Carl Hetherington
71596b002e Fix corruption of follow playhead state on quit (#4048).
git-svn-id: svn://localhost/ardour2/branches/3.0@9542 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 15:28:12 +00:00
Carl Hetherington
23f2f8f546 Copy local state in AudioRegionView copy constructor. Fixes #4047.
git-svn-id: svn://localhost/ardour2/branches/3.0@9533 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 23:10:58 +00:00
Carl Hetherington
0fa76ceb20 Remove unused constructor.
git-svn-id: svn://localhost/ardour2/branches/3.0@9532 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 23:10:45 +00:00
Carl Hetherington
a581b356b1 A few capitalisation fixes.
git-svn-id: svn://localhost/ardour2/branches/3.0@9530 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 22:22:57 +00:00
c8a27ebdbf track combine ops per-playlist to avoid name collisions for compound regions
git-svn-id: svn://localhost/ardour2/branches/3.0@9529 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 21:21:16 +00:00
99aa8c6338 rename join regions op as combine regions; save and restore nested playlists, sources, regions; add undo/redo for combine; fixup peakfile use/discovery
git-svn-id: svn://localhost/ardour2/branches/3.0@9528 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 20:16:57 +00:00
Carl Hetherington
4b848856eb Fix undo of timestretch (#3905).
git-svn-id: svn://localhost/ardour2/branches/3.0@9527 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 20:13:03 +00:00
Carl Hetherington
95b83295b2 Minor coding style fix and comment addition.
git-svn-id: svn://localhost/ardour2/branches/3.0@9526 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 20:12:45 +00:00
Carl Hetherington
7fea58a3ad Update to French translation from Roming22-FR (#4046).
git-svn-id: svn://localhost/ardour2/branches/3.0@9525 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 18:58:10 +00:00
Carl Hetherington
7390303728 Make MIDI channel selector button colours more distinct (#3772).
git-svn-id: svn://localhost/ardour2/branches/3.0@9524 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 18:18:13 +00:00
29dd7bbac7 Update wscripts for portability and steps towards waf 1.6 migration.
Use obj.defines and obj.includes instead of c[xx]flags (more compiler portable).
Use lists instead of space delimited strings (more flexible and waf 1.6 compatible).
Fix crazy long lines.


git-svn-id: svn://localhost/ardour2/branches/3.0@9523 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 18:02:38 +00:00
Carl Hetherington
ad5a326694 Set up _last_cut_copy_source_track on copying automation points. Should help with #3863.
git-svn-id: svn://localhost/ardour2/branches/3.0@9520 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 15:30:21 +00:00
43798a7c25 sane naming scheme for combined regions; fix deadlock when nesting to more than one level
git-svn-id: svn://localhost/ardour2/branches/3.0@9519 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 13:06:55 +00:00
0a9cef7720 very basic Join (regions) editing operation. not finished yet, no undoable, no sensible name for new region, etc. etc
git-svn-id: svn://localhost/ardour2/branches/3.0@9518 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 02:17:58 +00:00
88a6513e76 use emacs to indent ardour.menus; add Join (regions) item
git-svn-id: svn://localhost/ardour2/branches/3.0@9517 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 02:16:20 +00:00
1959efd94d Support compilation with (old) SLV2, or (new) Lilv and (optionally) Suil.
Fix ticket #0004041.


git-svn-id: svn://localhost/ardour2/branches/3.0@9516 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-15 23:10:13 +00:00
4e49c56361 Completely localist use of SLV2 to lv2_plugin.cc and lv2_plugin_ui.cc.
git-svn-id: svn://localhost/ardour2/branches/3.0@9514 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 21:05:26 +00:00
ac367e8904 Make LV2World local to lv2_plugin.cc
git-svn-id: svn://localhost/ardour2/branches/3.0@9513 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 19:55:46 +00:00
2b7f092b85 Generic scale points API.
Hide scale points implementation inside specific Plugin subclass.
Don't needlessley/slowly get scale points twice for each port while building UI.
Remove dependence on specific plugin types from GenericPluginUI.


git-svn-id: svn://localhost/ardour2/branches/3.0@9511 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 18:43:34 +00:00
c78528dcea Use LV2_SUPPORT define instead of HAVE_SLV2.
git-svn-id: svn://localhost/ardour2/branches/3.0@9510 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 17:59:16 +00:00
8fc47ac2ae make sure Edit property of RouteGroup is enabled when doing a few different playlist and other ops and applying them to the group
git-svn-id: svn://localhost/ardour2/branches/3.0@9509 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-13 20:57:13 +00:00
c3c8530ffc initial volley of work for AudioPlaylistSource, the basic prototype for sources-that-are-nested
git-svn-id: svn://localhost/ardour2/branches/3.0@9508 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-13 19:55:52 +00:00
Carl Hetherington
d0bb7df866 Return shuttle speed to previous value on release after sprung grab (#4039).
git-svn-id: svn://localhost/ardour2/branches/3.0@9506 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-13 17:25:02 +00:00
Carl Hetherington
ac23288b5d Fix update of session range location on copy-dragging regions (#4038).
git-svn-id: svn://localhost/ardour2/branches/3.0@9504 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 21:29:27 +00:00
Carl Hetherington
5392447686 Cope with tracks having order keys higher than the number of tracks; although I'm not quite sure how this happens. Fixes #4037.
git-svn-id: svn://localhost/ardour2/branches/3.0@9492 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-11 14:15:32 +00:00
Carl Hetherington
29ee63707f Fix crash when clicking on a hit (may be #4036).
git-svn-id: svn://localhost/ardour2/branches/3.0@9491 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-11 11:55:36 +00:00
Carl Hetherington
e89d8af65b Fix non-appearance of MIDI region names (#3891).
git-svn-id: svn://localhost/ardour2/branches/3.0@9483 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-05 14:40:53 +00:00
Carl Hetherington
bcaf808f7d Make GhostRegion a sigc::trackable as MidiGhostRegion connects to signals. Fixes e.g. a crash on track resize after splitting a MIDI region with automation.
git-svn-id: svn://localhost/ardour2/branches/3.0@9482 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-05 13:49:35 +00:00
Carl Hetherington
e0926ce2c6 Fix marker deletion from 9479 properly.
git-svn-id: svn://localhost/ardour2/branches/3.0@9481 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-05 12:45:24 +00:00
Carl Hetherington
35eecc5916 Remove LocationMarker from the editor's lists before deleting it, as the deletion causes the contents of the editor's list to be deselected. May be related to #3929.
git-svn-id: svn://localhost/ardour2/branches/3.0@9479 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-05 12:08:12 +00:00
Carl Hetherington
0ae6682bf8 Fix display of new tracks.
git-svn-id: svn://localhost/ardour2/branches/3.0@9478 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 15:52:15 +00:00
Carl Hetherington
69e8f4221c Disallow Marker copy construction.
git-svn-id: svn://localhost/ardour2/branches/3.0@9477 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 15:51:30 +00:00
Carl Hetherington
d947f27faf Remove some unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@9476 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 15:03:35 +00:00
Carl Hetherington
4216d201fb Fix offset of verbose cursor when dragging fade-ins (#4010).
git-svn-id: svn://localhost/ardour2/branches/3.0@9473 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 14:56:24 +00:00
Carl Hetherington
378ea3430f Don't alter horizontal padding when shrinking tracks to their minimum height (part of #4014).
git-svn-id: svn://localhost/ardour2/branches/3.0@9472 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 12:26:32 +00:00
Carl Hetherington
bcb554a190 Fix problems with sessions being saved as foo.ardour.ardour when loaded using the session file name (#4026).
git-svn-id: svn://localhost/ardour2/branches/3.0@9471 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 11:32:35 +00:00
Carl Hetherington
f2160077c7 Fix non-appearing track names when opening sessions with minimum track height (part of #4014).
git-svn-id: svn://localhost/ardour2/branches/3.0@9465 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-03 18:40:23 +00:00
Carl Hetherington
55586be83a Prevent note drags from moving a note before the start of its region.
git-svn-id: svn://localhost/ardour2/branches/3.0@9463 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-03 00:45:54 +00:00
Carl Hetherington
d1f58cf5a4 Don't hide solo/mute/rec enable for the smallest track height, as there appears to be no need to (#4014).
git-svn-id: svn://localhost/ardour2/branches/3.0@9462 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-03 00:08:14 +00:00
Carl Hetherington
6949d3ea62 Sort bundle names in mixer strip menus alphabetically to prevent them being re-ordered when the session's route list is sorted for signal flow (#4021).
git-svn-id: svn://localhost/ardour2/branches/3.0@9461 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-02 23:53:10 +00:00
Carl Hetherington
f89c285bcc Tinker with text related to clean-up.
git-svn-id: svn://localhost/ardour2/branches/3.0@9459 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-02 23:21:53 +00:00
Carl Hetherington
2a1844a28e Fix piano roll to use the same octave numbering as the verbose canvas cursor (#4015).
git-svn-id: svn://localhost/ardour2/branches/3.0@9458 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-02 22:34:44 +00:00
Carl Hetherington
988348185e Separate verbose cursor out into its own class and clean up the API. Fixes #4010.
git-svn-id: svn://localhost/ardour2/branches/3.0@9455 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-02 13:38:16 +00:00
06e8b6452d Fix external UIs (e.g. Calf git).
git-svn-id: svn://localhost/ardour2/branches/3.0@9442 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-28 15:36:51 +00:00
e54a8f8437 Update for new Suil API.
git-svn-id: svn://localhost/ardour2/branches/3.0@9437 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-28 01:52:51 +00:00
c0a009beb9 forward port a disgusting hack from 2.X that stops the timefx thread's exiting from preventing its request event pool being marked dead too soon
git-svn-id: svn://localhost/ardour2/branches/3.0@9431 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-26 15:17:17 +00:00
Carl Hetherington
8ca87df015 Fix subtraction of bar/beat/tick for verbose canvas cursor (#4011).
git-svn-id: svn://localhost/ardour2/branches/3.0@9426 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-25 21:19:25 +00:00
62168b674d reverse debugging stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@9424 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24 15:36:56 +00:00
2f1bc2334c better temporary debugging for slv2/calf issue
git-svn-id: svn://localhost/ardour2/branches/3.0@9419 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24 14:13:49 +00:00
a851e3b5d9 more temporary debugging for slv2/calf issue
git-svn-id: svn://localhost/ardour2/branches/3.0@9418 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24 14:02:22 +00:00
046a91db0b temporary debugging for slv2/calf issue
git-svn-id: svn://localhost/ardour2/branches/3.0@9417 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24 14:00:36 +00:00
Carl Hetherington
110311e186 Re-fix compile failure with --no-nls (#3111).
git-svn-id: svn://localhost/ardour2/branches/3.0@9415 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-23 03:34:42 +00:00
Carl Hetherington
4f9b75c8a2 Remove unnecessary refresh_location_display_s method. Speed up marker loading somewhat by only setting up marker labels once after load. Fix check on visible status of the location UI so that it is built when opened rather than on load. The location UI is still extremely slow to build with a couple of thousand markers. This fixes #3958.
git-svn-id: svn://localhost/ardour2/branches/3.0@9414 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-23 02:00:23 +00:00
Carl Hetherington
dd5d994367 Prevent the point selection straying -ve when control points are positioned close to 0 (should fix #3861).
git-svn-id: svn://localhost/ardour2/branches/3.0@9412 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-23 00:03:17 +00:00
Carl Hetherington
a7a6bd1256 Remove duplicate connect_to_list() call.
git-svn-id: svn://localhost/ardour2/branches/3.0@9410 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-23 00:02:49 +00:00
4769db412d Fix Python whitespace (follow PEP8 guidelines, reformatted by Python Reindent)
git-svn-id: svn://localhost/ardour2/branches/3.0@9409 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-22 22:15:21 +00:00
57bf3cf063 fix default size and title of comment window
git-svn-id: svn://localhost/ardour2/branches/3.0@9408 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-22 20:23:24 +00:00
35a966c824 fix up fwd/reverse stuff in semitone mode
git-svn-id: svn://localhost/ardour2/branches/3.0@9407 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-22 16:18:51 +00:00
c37722f7dc Use new Suil and SLV2 APIs for LV2 plugin UIs.
Add lv2_ui.h (required by lv2_external_ui.h).


git-svn-id: svn://localhost/ardour2/branches/3.0@9406 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-22 08:08:37 +00:00
12bb5b6207 fix height of shuttle control marker line
git-svn-id: svn://localhost/ardour2/branches/3.0@9405 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-21 22:10:38 +00:00
509cd57c74 hopefully fix up shuttle operation in semitones mode
git-svn-id: svn://localhost/ardour2/branches/3.0@9404 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-21 21:49:47 +00:00
Carl Hetherington
eaa916f480 Stop MIDI import generating zero-length regions. May fix #4000.
git-svn-id: svn://localhost/ardour2/branches/3.0@9400 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-21 15:19:22 +00:00
Carl Hetherington
884de065bd When drawing MIDI regions with grid snap enabled, make the region extent 1 frame shy of the next grid boundary. In this way, a duplicate of the new region will land on a grid snap point.
git-svn-id: svn://localhost/ardour2/branches/3.0@9398 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 23:50:31 +00:00
Carl Hetherington
8fc896a24d Clean up duplicate snap-related code.
git-svn-id: svn://localhost/ardour2/branches/3.0@9397 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 23:48:49 +00:00
Carl Hetherington
e90e1cc771 Prevent snap_frame_to_frame returning -ve offset from the region start (fixes #3925).
git-svn-id: svn://localhost/ardour2/branches/3.0@9396 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 23:48:39 +00:00
80e9eb09dd several tweaks/fixes to the shuttle control
git-svn-id: svn://localhost/ardour2/branches/3.0@9395 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 22:53:41 +00:00
458db0525c reinstate MIDI binding for shuttle controller
git-svn-id: svn://localhost/ardour2/branches/3.0@9394 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 05:07:41 +00:00
b1ed372a8f reinstate tooltip custom colors etc
git-svn-id: svn://localhost/ardour2/branches/3.0@9393 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 05:07:16 +00:00
d8e3f0acb8 factor out shuttle controller to its own class, new design
git-svn-id: svn://localhost/ardour2/branches/3.0@9392 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 02:48:34 +00:00
718b2eab67 factor out shuttle controller to its own class, new design
git-svn-id: svn://localhost/ardour2/branches/3.0@9391 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 02:48:20 +00:00
c3f458816f show MIDI channel for notes with verbose canvas cursor (#3883)
git-svn-id: svn://localhost/ardour2/branches/3.0@9390 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 02:47:45 +00:00
Carl Hetherington
6abc468aeb Fix hang on session close that I introduced with the route group changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@9388 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 01:24:40 +00:00
fdb3cb7911 remove some debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@9381 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 16:12:02 +00:00
e43bac2e88 remove some debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@9380 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 16:10:39 +00:00
baa4de40ed fixes to avoid dreadfull thread races and deletion crashes related to the pluin EQ GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@9378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 16:05:28 +00:00
Carl Hetherington
480986bb60 Save route group reorderings in the session file. Link changes in the mixer and editor group lists (part of #3918).
git-svn-id: svn://localhost/ardour2/branches/3.0@9377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 15:46:47 +00:00
Carl Hetherington
ac2689f661 Remove delete menu item which does the same as cut (#3930).
git-svn-id: svn://localhost/ardour2/branches/3.0@9376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 10:44:36 +00:00
Carl Hetherington
28c53d0f92 Cleanup some more gint -> bools.
git-svn-id: svn://localhost/ardour2/branches/3.0@9374 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 10:43:43 +00:00
Carl Hetherington
52eced2691 Remove duplicate call of compute_current_bbt_points which looks like a mis-merge. Update tempo-based rulers on tempo map edit (#3979).
git-svn-id: svn://localhost/ardour2/branches/3.0@9373 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 10:19:14 +00:00
Carl Hetherington
ecd188d5e6 Add missing ellipsis on Edit menu item.
git-svn-id: svn://localhost/ardour2/branches/3.0@9372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 10:18:34 +00:00
Carl Hetherington
128980ffd6 Fix the return type for the edit_controls_button_release signal handler. Make a click in the empty space below track controls clear the track selection (#3993).
git-svn-id: svn://localhost/ardour2/branches/3.0@9371 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 10:18:21 +00:00