13
0
Commit Graph

4287 Commits

Author SHA1 Message Date
Carl Hetherington
b3b28e82b5 Slightly hacky-fix for misbehaviour when drag-and-dropping processors onto the blank entry (#4668).
git-svn-id: svn://localhost/ardour2/branches/3.0@11385 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-29 22:51:36 +00:00
Carl Hetherington
b468a7b5b3 Use Region::last_frame() rather than position + length in RegionSelection::end_frame; fixes #4671.
git-svn-id: svn://localhost/ardour2/branches/3.0@11384 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-29 21:27:51 +00:00
Sakari Bergen
dba601eeab Show an example filename in the main export dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@11383 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-29 20:55:44 +00:00
b34e9155db remove apparently vestigial code from RouteUI::update_solo_display() that really could not/should not possibly have any effect because solo_button->set_active_state() is called unconditionally later in the function
git-svn-id: svn://localhost/ardour2/branches/3.0@11382 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-29 18:45:20 +00:00
Sakari Bergen
71a5e435e6 Add timespan name to export status text
git-svn-id: svn://localhost/ardour2/branches/3.0@11381 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-29 09:51:30 +00:00
Sakari Bergen
80004a33aa Move export progress text to progress bar from separate label
git-svn-id: svn://localhost/ardour2/branches/3.0@11379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-28 18:39:56 +00:00
Sakari Bergen
db384a6f14 Go back to one progress bar with several passes in export.
Don't calculate the progress bar position in the engine, let the UI decide. 
Work around progress bar bug (not verified, as I could not reproduce).


git-svn-id: svn://localhost/ardour2/branches/3.0@11377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-28 18:14:19 +00:00
Sakari Bergen
ab8cea1d7c Store Region export state in instant.xml (fixes #3935)
git-svn-id: svn://localhost/ardour2/branches/3.0@11376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-28 15:05:53 +00:00
Sakari Bergen
eb85208fe8 Implement simple separate progress bar for export normalizing phase(s), needs to be made prettier still after some discussions...
git-svn-id: svn://localhost/ardour2/branches/3.0@11374 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-28 12:55:28 +00:00
66cd3d365c tweak appearance of a FaderOption in the option editor(s)
git-svn-id: svn://localhost/ardour2/branches/3.0@11371 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-27 22:58:52 +00:00
19ebdba1cb restore independent gain control over click/metronome
git-svn-id: svn://localhost/ardour2/branches/3.0@11370 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-27 22:47:16 +00:00
f56bbe2799 fix inconsistent display on selection clocks when in join-object-range mode, and fix restore of that mode from session state via new ActionManager::set_toggle_action()
git-svn-id: svn://localhost/ardour2/branches/3.0@11366 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-27 19:05:03 +00:00
ea655d711c fix #4663, partly by more efficiently generating the relevant string, and secondly by making the region list pay attention to fade in/out *active*, not just length
git-svn-id: svn://localhost/ardour2/branches/3.0@11364 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-27 17:35:06 +00:00
33c61757fc promote Playlist::RegionList to ARDOUR::RegionList; fix timefx on multiple regions, even regions of mixed type. this mostly involved some trivial code changes but to make the code simpler and less error prone, the API switched away from using RegionSelection (list of regionviews that catches regionviews vanishing) and used RegionList (lists of regions, no semantics) instead.
git-svn-id: svn://localhost/ardour2/branches/3.0@11362 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-27 16:29:01 +00:00
5e8403ff69 reword label for session properties item
git-svn-id: svn://localhost/ardour2/branches/3.0@11358 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-27 13:20:54 +00:00
Carl Hetherington
5f750624b0 Don't add markers to the selection multiple times when adding a list.
git-svn-id: svn://localhost/ardour2/branches/3.0@11357 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-27 01:26:44 +00:00
f2e542afe7 in non-note-edit mouse object mode, single click on midi track creates a region if nothing is selected (because said click would then clear the selection, as before). this makes getting started with hand-edited MIDI regions massively easier
git-svn-id: svn://localhost/ardour2/branches/3.0@11350 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-25 19:39:20 +00:00
0740fab6ed leave note edit mode with a click on any track background, not just non-midi
git-svn-id: svn://localhost/ardour2/branches/3.0@11349 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-25 19:38:14 +00:00
a880cb543d some improvements to the add track/bus dialog to make it more obvious how to add MIDI tracks
git-svn-id: svn://localhost/ardour2/branches/3.0@11348 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-25 18:45:19 +00:00
d707fa06b7 dramatically simplify maximi[sz]ation code, ripping out all the old pane sizing stuff that seems to be a left over from gtk1 (!)
git-svn-id: svn://localhost/ardour2/branches/3.0@11344 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-25 03:03:25 +00:00
34581e4de9 fix breakage of normal method of creating an empty MIDI region
git-svn-id: svn://localhost/ardour2/branches/3.0@11341 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-24 22:17:24 +00:00
Carl Hetherington
05451a80f2 Remove some never-seen tooltips (overridden by other
things).  Clip output button labels to 7 characters
rather than 6 to fit the English translation of monitor
in (#4627).


git-svn-id: svn://localhost/ardour2/branches/3.0@11340 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-24 21:02:34 +00:00
Carl Hetherington
bf8dbbaca7 Fix warning about getting tempo map for frame -1; stop
session files with left-frame=-1 causing the same
problem on reload (#4654).


git-svn-id: svn://localhost/ardour2/branches/3.0@11339 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-24 20:48:08 +00:00
Carl Hetherington
ddd162bdb0 Make time stretch respect edit groups (#4615).
git-svn-id: svn://localhost/ardour2/branches/3.0@11334 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-24 17:04:15 +00:00
f3624c1874 exit internal/note edit mode when clicking on anything that is not a MIDI region view or a note (or various modeless items like markers and the playhead)
git-svn-id: svn://localhost/ardour2/branches/3.0@11333 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-24 16:20:31 +00:00
18714b85bb don't offer to save master bus as a route template
git-svn-id: svn://localhost/ardour2/branches/3.0@11330 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-24 15:32:25 +00:00
Carl Hetherington
a072327145 Tidy up RegionLayeringOrderEditor a bit. Add GPL boilerplate. Make it respect edit groups (#3432).
git-svn-id: svn://localhost/ardour2/branches/3.0@11324 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-24 01:31:42 +00:00
Carl Hetherington
6918bba170 Use the same criteron to sensitize the choose-top-region menu item as to decide whether to open it or not, to prevent a sensitive menu item that does nothing.
git-svn-id: svn://localhost/ardour2/branches/3.0@11322 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-24 00:53:18 +00:00
Carl Hetherington
e317386c5c For now, only use the multi-threaded process code if we are
using >1 processor for DSP; this involves making the DSP
use setting only take effect on a restart of Ardour.


git-svn-id: svn://localhost/ardour2/branches/3.0@11302 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-22 12:28:49 +00:00
Carl Hetherington
b447024c32 Add option to use plugin GUIs or Ardour generic ones.
git-svn-id: svn://localhost/ardour2/branches/3.0@11298 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-22 10:18:37 +00:00
Carl Hetherington
c95b34642f Use a button in the processor box for toggle parameters.
git-svn-id: svn://localhost/ardour2/branches/3.0@11297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-21 22:54:36 +00:00
Carl Hetherington
4bb517279c Remove unused declaration.
git-svn-id: svn://localhost/ardour2/branches/3.0@11296 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-21 22:54:22 +00:00
Carl Hetherington
a1ecad4cfe Restore option to open a plugin editor built by Ardour,
rather than by the plugin; I erroneously removed this
option in a previous commit.


git-svn-id: svn://localhost/ardour2/branches/3.0@11295 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-21 22:10:07 +00:00
Carl Hetherington
eac552b549 Allow individual plugin controls to be shown / hidden.
git-svn-id: svn://localhost/ardour2/branches/3.0@11294 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-21 20:32:13 +00:00
Carl Hetherington
4381b590bb Reinstate user Controllable values, as they are needed
for gain (which I forgot about).


git-svn-id: svn://localhost/ardour2/branches/3.0@11293 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-21 16:38:56 +00:00
Carl Hetherington
a8bb49e5d8 Add a send amp's gain control as a send controllable.
Tweak AutomationControl now that PBD::Controllable has
a default implementation of user_to_ui and ui_to_user. 
Add correct implementations of these methods to
Amp::GainControl.  Hence allow SendProcessorEntry to
use the generic mini-fader-adding code from
ProcessorEntry.


git-svn-id: svn://localhost/ardour2/branches/3.0@11292 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-21 16:38:45 +00:00
Carl Hetherington
0c30881ad4 Remove unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@11291 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-21 16:38:08 +00:00
Carl Hetherington
5a53f2f1b9 Simple approach to putting plugin controls into the
processor box.


git-svn-id: svn://localhost/ardour2/branches/3.0@11288 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-20 18:02:48 +00:00
Carl Hetherington
3396a9a851 Simplify GUIOBjectState a bit by just walking the XML
directly rather than maintaining internal data
structures.


git-svn-id: svn://localhost/ardour2/branches/3.0@11287 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-20 18:02:43 +00:00
Carl Hetherington
d03d0363a4 Remove unused concept of user' values. Make user_to_ui
and ui_to_user virtual members of PBD::Controllable.


git-svn-id: svn://localhost/ardour2/branches/3.0@11286 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-20 18:02:36 +00:00
24978033ef tweak up the region context menu quite a bit
git-svn-id: svn://localhost/ardour2/branches/3.0@11285 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-20 15:53:41 +00:00
744c8f572f make dbl-click on send toggle back *and* forth between send/regular strip display
git-svn-id: svn://localhost/ardour2/branches/3.0@11284 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-20 15:53:21 +00:00
2b3a9c12c7 fix cheat-sheet text for set-playhead
git-svn-id: svn://localhost/ardour2/branches/3.0@11283 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-20 15:52:48 +00:00
f6250a578e rest of engine dialgo changes
git-svn-id: svn://localhost/ardour2/branches/3.0@11282 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-20 15:38:08 +00:00
3db29c3a8c minor tweaks for engine dialog (remove channel counts, tweak sensitivity)
git-svn-id: svn://localhost/ardour2/branches/3.0@11281 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-20 15:35:24 +00:00
a4578d02b0 heuristic to workaround over-eager translation of NN000Hz as NN kHz
git-svn-id: svn://localhost/ardour2/branches/3.0@11279 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-20 15:08:44 +00:00
cc5e8d41da patch from colinf to make dbl-click on send "box" map its controls to the strip; remove related stub functions from ProcessorBox; fix crash when removing send due to the process lock not being held
git-svn-id: svn://localhost/ardour2/branches/3.0@11274 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-20 03:39:45 +00:00
5de9a8f38b make mouse range mode do something interesting when in internal/note edit mode. not entirely finished because the usual modifiers to add/extend the selection don't work correctly. note that this works both on the scroomer (where the modifiers do work correctly) and in the track (where they do not)
git-svn-id: svn://localhost/ardour2/branches/3.0@11273 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-20 02:54:23 +00:00
c2a93a9b38 if creating the splash fails for any reason, don't crash later when trying to use it
git-svn-id: svn://localhost/ardour2/branches/3.0@11272 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-19 22:25:03 +00:00
f758ed0f41 more fixups of various things including cursors when note editing. in particular, don't needlessly reset the cursor during a drag. note insertion with ctrl pressed now only works if in MouseObject mode.
git-svn-id: svn://localhost/ardour2/branches/3.0@11270 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-19 22:23:28 +00:00
efab36a85e new mouse mode (Draw (notes)); switch into internal mode when draw is selected; notably improve use of dbl-click to enter and exist internal/note edit mode
git-svn-id: svn://localhost/ardour2/branches/3.0@11269 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-19 15:23:51 +00:00
c43f1d22c8 enter and exit node edit mode with dbl-click in any MIDI region
git-svn-id: svn://localhost/ardour2/branches/3.0@11268 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-19 00:14:58 +00:00
4774527c5b add some more hand-holding language to the startup assistant
git-svn-id: svn://localhost/ardour2/branches/3.0@11267 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-19 00:14:05 +00:00
65c8d673a2 restore ability to create TOC and CUE files during export. this is an option in a given export format, not a per-export choice. so you need export formats with them set (or not) in order to utilize this choice. the resulting CUE/TOC files have not been checked with a burner (e.g. cdrdao) and testing of them would be appreciated - i (paul) have no CD burner h/w
git-svn-id: svn://localhost/ardour2/branches/3.0@11266 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-18 21:56:06 +00:00
577469a06a colinf's 2011-12-08 patch for freesound mootcher (add stop, remove URI, clear barberpole, etc)
git-svn-id: svn://localhost/ardour2/branches/3.0@11265 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-18 18:43:43 +00:00
8983d84fb2 minor edit (#4540)
git-svn-id: svn://localhost/ardour2/branches/3.0@11262 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-18 16:56:05 +00:00
Carl Hetherington
4fad803835 Tweak labels (#4632).
git-svn-id: svn://localhost/ardour2/branches/3.0@11260 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-18 02:22:37 +00:00
Carl Hetherington
f9a3f741bf Make contents of region properties dialogue expand with
the window (#4639).


git-svn-id: svn://localhost/ardour2/branches/3.0@11258 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-18 02:10:31 +00:00
508c5eb5bd make monitor section an optional feature than can be added/removed as needed. this is a big commit, and breakage is possible. it has been moderately tested. this commit also locks the remote control ID of the master bus to 318 and the monitor section (if any) to 319. the numbers are based on MIDI Machine Control limits
git-svn-id: svn://localhost/ardour2/branches/3.0@11256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-18 01:30:44 +00:00
Carl Hetherington
c7427287c1 Reinstate command line option to hide splash screen.
git-svn-id: svn://localhost/ardour2/branches/3.0@11224 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-10 23:42:42 +00:00
b53c92b652 the return of the splash, with a few changes to help with window layering a little
git-svn-id: svn://localhost/ardour2/branches/3.0@11222 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-10 18:21:39 +00:00
ea99ee68d9 change tooltip of automation button for MIDI tracks to give hint that its also about controllers
git-svn-id: svn://localhost/ardour2/branches/3.0@11221 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-10 15:53:33 +00:00
51d422af5a change default binding for import to be PRIMARY-i because its really an action not a window
git-svn-id: svn://localhost/ardour2/branches/3.0@11209 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-09 19:34:28 +00:00
Carl Hetherington
b8a93d7a86 Don't redraw the summary every time the playhead moves (if it hasn't moved visibly on the summary), and only redraw the bit that has changed when it does happen.
git-svn-id: svn://localhost/ardour2/branches/3.0@11208 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-09 18:03:49 +00:00
430b2c44d1 use system/gtk default font on OS X, rather than specifying Lucida Grande; make large_bold_text use the LARGE size, not BIGGER
git-svn-id: svn://localhost/ardour2/branches/3.0@11205 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-09 16:13:16 +00:00
Carl Hetherington
b5c532972a Account for ProcessorEntry::_processor being 0 in a few places; remove unused ProcessorBox::build_processor_tooltip.
git-svn-id: svn://localhost/ardour2/branches/3.0@11201 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-09 01:33:24 +00:00
Carl Hetherington
5901b0ee76 Remove an unnecessary assert that now trips.
git-svn-id: svn://localhost/ardour2/branches/3.0@11200 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-08 20:27:34 +00:00
dfaac539bb don't hide the "auto" box transport bar buttons (sync, auto-return etc) if the screen is small
git-svn-id: svn://localhost/ardour2/branches/3.0@11197 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-08 17:14:31 +00:00
818aa2e2f0 simplify and legalize call to TempoMap::get_grid() when getting grid points
git-svn-id: svn://localhost/ardour2/branches/3.0@11195 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-08 16:53:11 +00:00
c9de3c5a16 add an empty ProcessorEntry before the fader if there are no pre-fader processors, to strongly visually indicate that you can insert new processors there; add back a fixed, static tooltip for the processor box
git-svn-id: svn://localhost/ardour2/branches/3.0@11187 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-07 17:10:18 +00:00
68d62e8ec7 add sixteenths as note type for tempo and meter; fix cursor color, selection color etc, for tempo & meter dialogs
git-svn-id: svn://localhost/ardour2/branches/3.0@11186 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-07 15:28:58 +00:00
5425b7773d rest of the color change for the MIDI channel selector, missed this yesterday
git-svn-id: svn://localhost/ardour2/branches/3.0@11184 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-07 15:10:54 +00:00
f1df7b125b snap tempo marker drags to the nearest beat
git-svn-id: svn://localhost/ardour2/branches/3.0@11183 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-07 15:10:31 +00:00
fc2b1ab500 dull down the MIDI channel selector buttons to avoid sensory overload
git-svn-id: svn://localhost/ardour2/branches/3.0@11172 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-06 19:18:09 +00:00
355183f1ab partially revert some of the recent work on tempo to reflect new understanding of the problem. behaviour is now believed to be totally correct but awaiting a bit more testing
git-svn-id: svn://localhost/ardour2/branches/3.0@11171 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-06 16:39:40 +00:00
bdb15f9422 fix some more crashes with tempo map manipulations
git-svn-id: svn://localhost/ardour2/branches/3.0@11170 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-05 22:36:58 +00:00
c80649d913 restore correct behaviour of undo/redo for tempo map drags
git-svn-id: svn://localhost/ardour2/branches/3.0@11162 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-04 20:40:06 +00:00
ac19bedc3d tweak constants that affect whether/where trimming cursors are shown for MIDI notes, to avoid making it so hard to drag relatively small notes
git-svn-id: svn://localhost/ardour2/branches/3.0@11160 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-04 20:29:34 +00:00
f61a0d892c fix error in framepos_{plus,minus}_bbt() which miscounted beats while stepping through bars - stops dragged MIDI notes from ending up in the wrong place, and more
git-svn-id: svn://localhost/ardour2/branches/3.0@11159 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-04 18:48:32 +00:00
Carl Hetherington
b9a9d8d047 Use a few shared_ptrs to make things slightly neater.
git-svn-id: svn://localhost/ardour2/branches/3.0@11156 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-04 13:56:09 +00:00
b1a33855ce use BBTPoint::is_bar() rather than ::beat == 1 ; implement TempoMap::framepos_plus_{beats,bbt}() with new map structure (not totally finished or accurate yet); prevent crash when dragging a marker to replace the initial tempo/meter markers
git-svn-id: svn://localhost/ardour2/branches/3.0@11154 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-04 02:49:01 +00:00
Carl Hetherington
783f31816c Happy New Year
git-svn-id: svn://localhost/ardour2/branches/3.0@11151 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-03 21:13:05 +00:00
bc003a539b save 4 bytes per Bar|Beat point in the tempo map
git-svn-id: svn://localhost/ardour2/branches/3.0@11147 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-03 19:03:13 +00:00
2a200bdc0e return two iterators into the Bars|Beats list of the tempo map rather than making a copy; use iterators in the GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@11146 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-03 18:43:58 +00:00
69c7dac1a1 new approach to tempo/meter: compute and store the entire map (every bar|beat point), thus enabling us to use the same computation to set the BBT points AND the metric markers (tempo + meter) on the audio timeline. It is known that snapping to the BBT grid doesn't work correctly right now, but this probably caused by the separate code in TempoMap::round_to_type() and i'll dig into that tomorrow. Note that the Bar|beat point list is evaluated "lazily" - we'll never store more than anyone actually needs to display or know, other than 1 minute's worth starting from frame zero
git-svn-id: svn://localhost/ardour2/branches/3.0@11129 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-02 04:04:14 +00:00
Carl Hetherington
084fc8b327 Slightly improve proxying of events by crossfade views; doesn't really have any positive effect, unfortunately.
git-svn-id: svn://localhost/ardour2/branches/3.0@11127 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-31 13:25:56 +00:00
Carl Hetherington
54ff6901a9 Restore update of coverage frames on playlist contents changed, which is needed for trim.
git-svn-id: svn://localhost/ardour2/branches/3.0@11124 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-31 00:19:08 +00:00
Carl Hetherington
b93254f275 Anywhere that deletes regions needs to use a rdiff() on the playlist
for the undo history, so that changes to regions' layering_index
get stored in the undo record.  Make Playlist::update use add_region_internal
so that undone regions don't have their layering_index corrupted.
Setup layering indices on relayer() so that deletion of regions
causes an update.


git-svn-id: svn://localhost/ardour2/branches/3.0@11123 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-30 23:41:17 +00:00
Carl Hetherington
b5b921d820 Make coverage frames work slightly better; jury is still out on whether they are any use, I think.
git-svn-id: svn://localhost/ardour2/branches/3.0@11121 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-30 21:56:11 +00:00
Carl Hetherington
dd53e7284a Set up layering_index immediately on an explicit layer, so that undo
works properly.  Stop the layer being a stateful property, as it is
always derived from layering_index, unambigiously, by relayer().


git-svn-id: svn://localhost/ardour2/branches/3.0@11120 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-30 20:05:48 +00:00
ccc93c4aef centralize use of "from-context-menu" in Editor::get_preferred_edit_position(), and use it when pasting as well
git-svn-id: svn://localhost/ardour2/branches/3.0@11118 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-30 17:28:05 +00:00
6df1d06f8b fix logic for context-menu-mouse-dependent actions so that if the edit point is not the mouse, we still use the edit point even from the context menu. klar?
git-svn-id: svn://localhost/ardour2/branches/3.0@11117 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-30 16:21:10 +00:00
Carl Hetherington
42aea0b9fd Clean up comments to create_note_at, since it no longers snaps its length parameter. Move the 1 tick shortening out of the method for the same reason. Make sure that create drags make notes with a minimum length of 1 tick (#4600).
git-svn-id: svn://localhost/ardour2/branches/3.0@11116 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-30 13:41:16 +00:00
976e163406 make insert-patch-change from context menu use context click event for position (fixes #4570)
git-svn-id: svn://localhost/ardour2/branches/3.0@11113 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-30 01:50:34 +00:00
Carl Hetherington
b177514930 Revert internals of the last layering-related commit, and go back a slightly-cleaned-up version of how it was before. Remove all layering modes; only option now is add-is-higher. Move-add-higher could easily be re-added if anyone uses it.
git-svn-id: svn://localhost/ardour2/branches/3.0@11111 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-29 22:14:15 +00:00
c19121459b stupid hack to fix issues with OS X Carbon headers
git-svn-id: svn://localhost/ardour2/branches/3.0@11107 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-29 16:44:49 +00:00
09b0ae782c avoid crash on region drag end trying to access TimeAxisView::view() for TAV's that don't have one
git-svn-id: svn://localhost/ardour2/branches/3.0@11105 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-29 14:48:42 +00:00
724771f18a tweak up size+spacing of main menu bar info box
git-svn-id: svn://localhost/ardour2/branches/3.0@11104 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-29 14:29:23 +00:00
a85e0b0a2e a huge set of changes to tempo+meter handling. testing feedback requested. the_CLA, you know who i mean :)
git-svn-id: svn://localhost/ardour2/branches/3.0@11103 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-28 21:02:31 +00:00
Carl Hetherington
67914e4fc7 Remove some unused stuff.
git-svn-id: svn://localhost/ardour2/branches/3.0@11100 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-28 02:34:22 +00:00
Carl Hetherington
9e785781f2 Fix another bug wrt visual appearance of layered regions in
overlaid mode.


git-svn-id: svn://localhost/ardour2/branches/3.0@11098 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-27 21:10:20 +00:00
Carl Hetherington
f440f91849 Try to make new layering stuff play nicely with undo.
git-svn-id: svn://localhost/ardour2/branches/3.0@11097 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-27 20:21:00 +00:00
Carl Hetherington
e470fd6303 Update layer order when switching back to overlaid mode.
git-svn-id: svn://localhost/ardour2/branches/3.0@11093 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-27 18:33:54 +00:00
Carl Hetherington
2db69318ce Fix up confusion with relayering after movement drags in
overlaid mode.


git-svn-id: svn://localhost/ardour2/branches/3.0@11092 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-27 18:33:49 +00:00
Carl Hetherington
e41d64724c Create Freesound working directory a little more lazily so
that a Freesound directory doesn't appear in /home/carl
without ever using Freesound.


git-svn-id: svn://localhost/ardour2/branches/3.0@11090 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-27 14:36:14 +00:00
Carl Hetherington
3239706d40 Fix mistake in error checking of audio clock BBT times (#4589)
git-svn-id: svn://localhost/ardour2/branches/3.0@11089 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-27 02:15:28 +00:00
Carl Hetherington
6304261b98 Re-work layering in possibly debatable ways. Sketchy docs in doc/layering.
git-svn-id: svn://localhost/ardour2/branches/3.0@11088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-27 01:42:49 +00:00
Carl Hetherington
fd48e72fc2 Fix comparison of beats to frames when deciding whether to show a patch change (should fix #4569).
git-svn-id: svn://localhost/ardour2/branches/3.0@11085 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-27 00:22:26 +00:00
75a3964c10 add a new name for the region-layering-editor-action that tells us we were started from a context menu; dialog does not position correctly on first show... grrr. should end fix of #4588, mostly
git-svn-id: svn://localhost/ardour2/branches/3.0@11083 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-26 23:38:56 +00:00
e6e0476d5e fix coloring of region layer order editor clock
git-svn-id: svn://localhost/ardour2/branches/3.0@11082 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-26 23:18:58 +00:00
7856f14c44 when a context click event occurs in the editor, store the event so we can use it to determine position later during its handling, if necessary
git-svn-id: svn://localhost/ardour2/branches/3.0@11081 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-26 23:18:24 +00:00
2b4d07e304 make the "with-parent" constructor for ArdourWindow actually work by calling set_transient_for
git-svn-id: svn://localhost/ardour2/branches/3.0@11080 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-26 23:17:33 +00:00
Carl Hetherington
2adb3fb579 Show panner drag information tool-tip style, and also show
it when the button is pressed to start a drag (#4584 and
#4585).


git-svn-id: svn://localhost/ardour2/branches/3.0@11072 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-26 14:30:35 +00:00
Carl Hetherington
6e79521e8b Move some bits from MonoPanner and StereoPanner into a
common base class.


git-svn-id: svn://localhost/ardour2/branches/3.0@11071 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-26 14:05:19 +00:00
5d509146c8 followup to the previous tempo-dragging commit: use argument to Drag::aborted() to know if we moved; update the frame position of tempo map metrics when we remove a tempo mark (should fix visual glitches when dragging tempo)
git-svn-id: svn://localhost/ardour2/branches/3.0@11049 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-21 14:21:05 +00:00
Carl Hetherington
c0f435d36a Patch from Prokoudine to fix translators list (#4580).
git-svn-id: svn://localhost/ardour2/branches/3.0@11048 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-21 14:01:18 +00:00
5cd27a4a85 similar to treatment of meter markers, remove tempo marks from the tempo map while dragging, to avoid wierd side effects
git-svn-id: svn://localhost/ardour2/branches/3.0@11047 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-21 02:53:33 +00:00
24a29f61d9 provide config parameter to allow non-quarter note pulses; off by default; no GUI to reset it at this point
git-svn-id: svn://localhost/ardour2/branches/3.0@11046 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-21 02:33:38 +00:00
a9adbd9404 remove comment
git-svn-id: svn://localhost/ardour2/branches/3.0@11045 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-21 02:11:03 +00:00
06320b2ed3 use the same kludge-removal approach in the prior commit for the meter dialog too, and fix a minor bug in the tempo dialog setup
git-svn-id: svn://localhost/ardour2/branches/3.0@11028 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-20 16:56:07 +00:00
6227b5d473 rework tempo dialog to (a) allow selection of pulse note type (b) avoid awful kludge to get note type from the combobox; show pulse note type in tempo markers
git-svn-id: svn://localhost/ardour2/branches/3.0@11027 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-20 16:29:44 +00:00
e9b4f14668 rename Timecode::BBT_Time::ticks_per_beat to Timecode::BBT_Time::ticks_per_bar_division which is a more accurate and informative name. The number doesn't describe the smallest division of a "beat" (which is only defined contextually anyway), but rather the smallest division of the the divisions of a bar. If using a meter of 4/8, there are 4 divisions per bar, and we can divide each one into ticks_per_bar_division pieces; in a separate meter (section) of 3/8, there are 3 divisions per bar, each of which can be divided into ticks_per_bar_division_pieces.
git-svn-id: svn://localhost/ardour2/branches/3.0@11022 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-19 19:44:43 +00:00
ca9a444aa9 do not convert from grid-type-beats to frames and back to beats when determining the length of a ghost note or the actual note to be inserted on button-press: just use grid-type-beats as is
git-svn-id: svn://localhost/ardour2/branches/3.0@11021 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-19 18:32:57 +00:00
fb5f590b11 Show generic plugin UI toolbar (for presets etc.) on LV2 UIs (except external).
git-svn-id: svn://localhost/ardour2/branches/3.0@11019 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-18 02:25:19 +00:00
9f0eed8d7e updated czech translation from pavel fric
git-svn-id: svn://localhost/ardour2/branches/3.0@11017 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-17 16:40:35 +00:00
Carl Hetherington
c3d1a8dda5 Patch from GMaq to add Freedesktop category
AudioEditing.


git-svn-id: svn://localhost/ardour2/branches/3.0@11010 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-15 12:11:49 +00:00
Carl Hetherington
e5200de78a Patch from colinf to fix name in French translation (#4565).
git-svn-id: svn://localhost/ardour2/branches/3.0@11009 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-15 12:10:11 +00:00
38707ea06b do not delete GtkUIManager-generated menu from ProcessorBox when the PB is destroyed. read the comment for more details
git-svn-id: svn://localhost/ardour2/branches/3.0@11008 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-15 02:19:21 +00:00
fe06030f02 new renderings (at 21x21) of zoom icons, from roy vegard
git-svn-id: svn://localhost/ardour2/branches/3.0@11003 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-14 17:03:28 +00:00
b6d1fb0707 fix meter marker drags by not using a fake marker till first move, and swapping the grabbed item to the copy when we do
git-svn-id: svn://localhost/ardour2/branches/3.0@10999 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-13 19:43:41 +00:00
e0cf3b6354 more fun and games with meter and the tempo map: rename Meter::beats_per_bar() to Meter::divisions_per_bar() so that its clear(er) on what it is actually returning; use Meter::divisions_per_bar() in more (all?) places that need it; fix up dragging meter marks by removing the relevant meter section from the map while we drag; operator<< for some tempo-related objects
git-svn-id: svn://localhost/ardour2/branches/3.0@10995 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-13 02:46:36 +00:00
Carl Hetherington
6aaf4ea17a Add select all / deselect all to timespan section of export dialogue (#4273).
git-svn-id: svn://localhost/ardour2/branches/3.0@10994 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-13 00:15:17 +00:00
Carl Hetherington
1deb4fd7ad Make the export ranges view expand with the export dialogue.
git-svn-id: svn://localhost/ardour2/branches/3.0@10993 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-13 00:15:11 +00:00
Carl Hetherington
af768486c9 Make the MidiRegionSelection notice when its MidiRegionViews go away; fixes one source of memory corruption during MIDI edits.
git-svn-id: svn://localhost/ardour2/branches/3.0@10991 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-12 19:03:46 +00:00
be371bedb9 improve layout and display of CD range info in location display
git-svn-id: svn://localhost/ardour2/branches/3.0@10989 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-12 15:13:10 +00:00
Carl Hetherington
4dd7b9b34c Make TimeAxisView::remove_child virtual so that RouteTimeAxis can override it to also remove the same child from its _automation_tracks list. Prevents a shared_ptr to an out-of-date AutomationTimeAxisView hanging around; fixes #4554.
git-svn-id: svn://localhost/ardour2/branches/3.0@10985 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-12 02:17:17 +00:00
33f62360a2 add middle-clock-on-range/marker-clock to locate there
git-svn-id: svn://localhost/ardour2/branches/3.0@10980 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-11 17:26:48 +00:00
Carl Hetherington
1b3b9633b0 Set up ArdourButton state to match the action when the
action is attached.  Fixes #4523.


git-svn-id: svn://localhost/ardour2/branches/3.0@10979 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-11 17:08:47 +00:00
a94098ae9b fix lack of marker/range display in marker/range list at startup, and tweak location display quite a bit to improve things (not done yet)
git-svn-id: svn://localhost/ardour2/branches/3.0@10977 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-11 16:16:48 +00:00
Carl Hetherington
692f857b83 Yet another bug in previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@10974 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-11 14:07:24 +00:00
Carl Hetherington
b4d7120a58 Fix some bugs I introduced with the last commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@10973 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-11 13:42:18 +00:00
Carl Hetherington
ab4e7cf472 Move note creation code into a Drag; fix snapping of note
starts when drag-created (part of #4505).


git-svn-id: svn://localhost/ardour2/branches/3.0@10972 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-11 12:54:54 +00:00
d23a6de077 fix for most (all? we can dream ...) issues involved in #4399 (editing multiply-applies operations to playlists used more than once), and as a side-issue, fix playlist selection which broke when we hid Diskstreams inside Tracks by using orig_track_id() rather than orig_diskstream_id()
git-svn-id: svn://localhost/ardour2/branches/3.0@10968 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-10 19:20:15 +00:00
Carl Hetherington
1390a1510d Comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@10962 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-10 13:48:41 +00:00
1244cae5c1 fix reference to name cell
git-svn-id: svn://localhost/ardour2/branches/3.0@10953 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-09 19:56:01 +00:00
Carl Hetherington
31264fbe43 Patch from colinf to fix reversed scroll in timeline rulers
wrt editor pane (#4549).


git-svn-id: svn://localhost/ardour2/branches/3.0@10950 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-09 18:22:40 +00:00
Carl Hetherington
59526d29fd Fix scroll-wheel direction in summary.
git-svn-id: svn://localhost/ardour2/branches/3.0@10948 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-09 15:57:59 +00:00
Carl Hetherington
2c07e83e4b Use same modifiers with the mouse wheel in the summary as in the editor (#4543).
git-svn-id: svn://localhost/ardour2/branches/3.0@10947 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-09 15:44:59 +00:00
Carl Hetherington
99edcd7940 en_GB translation from colinf (#4545).
git-svn-id: svn://localhost/ardour2/branches/3.0@10946 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-09 15:32:10 +00:00
Carl Hetherington
05626747f0 Patch from colinf to use session_name_is_legal for snapshots too (#4548).
git-svn-id: svn://localhost/ardour2/branches/3.0@10945 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-09 15:20:14 +00:00
86ac8536d2 centralize legal-session-name-checkng and include : and ; in characters that we disallow, because they conflict with search path conventions on *nix and windows
git-svn-id: svn://localhost/ardour2/branches/3.0@10943 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-09 03:06:58 +00:00
Carl Hetherington
32c1c8a1c7 Justify text in first welcome screen, and fix grammar
(#4540).


git-svn-id: svn://localhost/ardour2/branches/3.0@10941 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-08 12:05:32 +00:00
Carl Hetherington
5ef06dd439 Fix setup of gain envelope visible menu item.
git-svn-id: svn://localhost/ardour2/branches/3.0@10939 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 18:18:46 +00:00
Carl Hetherington
5700d10890 Check that adding a port to an IO is ok with the processors
in its route, and raise an error if not (part of #4535).


git-svn-id: svn://localhost/ardour2/branches/3.0@10938 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 17:50:56 +00:00
186283a3c4 fix, or at least improve, management of the editor toolbar when maximising editing space
git-svn-id: svn://localhost/ardour2/branches/3.0@10936 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 15:48:24 +00:00
50aee54219 remove visible "sound notes" button,add Config parameter to control this (which then saves the state the user selected), add control to the prefs dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@10934 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 14:23:32 +00:00
20aeb5af0a move CairoWidget into gtkmm2ext, add CairoPacker, made the time info box use CairoPacker, make the info status "bar" use CairoPacker
git-svn-id: svn://localhost/ardour2/branches/3.0@10933 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 13:57:45 +00:00
bb737997ae move 2 other non-ardour-specific utility functions into gtkmm2ext
git-svn-id: svn://localhost/ardour2/branches/3.0@10932 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 13:08:00 +00:00
46b52f4b51 tweak menu item names in group context menu to make purpose more clear to new users and those with limited memories
git-svn-id: svn://localhost/ardour2/branches/3.0@10930 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 12:28:23 +00:00
5468eb5788 clarify meaning of route group tab context menu items
git-svn-id: svn://localhost/ardour2/branches/3.0@10929 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 03:28:19 +00:00
c2956012ff add "enabled" column to editor route groups list and check logic
git-svn-id: svn://localhost/ardour2/branches/3.0@10928 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 03:22:35 +00:00
Carl Hetherington
6c3f745a54 Fix i18n confusions with modifiers.
git-svn-id: svn://localhost/ardour2/branches/3.0@10926 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 03:16:26 +00:00
Carl Hetherington
c196a212d0 Remove work-around for fixed bug in sgettext().
git-svn-id: svn://localhost/ardour2/branches/3.0@10924 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 02:43:20 +00:00
14b64b0710 rationalize MVC and functionality in editor route group list
git-svn-id: svn://localhost/ardour2/branches/3.0@10923 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 02:04:36 +00:00
c9012ccbb8 fix tooltip
git-svn-id: svn://localhost/ardour2/branches/3.0@10921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 02:02:10 +00:00
Carl Hetherington
668c8b1f9e Pass whole GdkEventButton into port matrix button
press/release handlers, rather than just selected
highlights.  Remove port in the port matrix on Keyboard
is_delete_event (part of #4536).


git-svn-id: svn://localhost/ardour2/branches/3.0@10920 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 01:44:47 +00:00
790d9042c6 correct button press detection order for editor route groups
git-svn-id: svn://localhost/ardour2/branches/3.0@10919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06 23:23:09 +00:00
a8942f9b67 move color column for editor groups up front
git-svn-id: svn://localhost/ardour2/branches/3.0@10918 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06 22:02:46 +00:00
31e203ac07 remove debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@10917 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06 21:59:32 +00:00
4e3e500d8d use color selector renderer for theme manager
git-svn-id: svn://localhost/ardour2/branches/3.0@10916 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06 21:59:02 +00:00
0bed168827 add color column to editor route groups list
git-svn-id: svn://localhost/ardour2/branches/3.0@10914 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06 21:43:57 +00:00
78db8a9445 notify when route group/group tab color changes
git-svn-id: svn://localhost/ardour2/branches/3.0@10912 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06 21:40:11 +00:00
946dc070f8 add monitoring column to route group list; make click in blank area of route list and route group list cancel selection and/or name editing
git-svn-id: svn://localhost/ardour2/branches/3.0@10911 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06 16:46:50 +00:00
23002098b2 tooltips for route group list
git-svn-id: svn://localhost/ardour2/branches/3.0@10910 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06 16:03:10 +00:00
Carl Hetherington
60fa99a34d Remove hopelessly inadequate attempt at last_item_entered
and ask the canvas where we are instead.  Should fix #4532.


git-svn-id: svn://localhost/ardour2/branches/3.0@10907 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-05 20:47:53 +00:00
acddc9bc7a fix minor logic error with linked region & track selections
git-svn-id: svn://localhost/ardour2/branches/3.0@10905 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-05 18:33:20 +00:00
35ab39bd93 fix names on region list, and expand tooltip info for fade cols
git-svn-id: svn://localhost/ardour2/branches/3.0@10904 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-05 18:27:19 +00:00
3c3bceccf9 fix scroll wheel handling on both gain faders and parameter controls in automation track headers
git-svn-id: svn://localhost/ardour2/branches/3.0@10903 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-05 18:17:31 +00:00
0e92aee0b1 provide sensible default step and page sizes for AutomationControllers based on parameter max and min values (used to 1.0 for step and 0 for page)
git-svn-id: svn://localhost/ardour2/branches/3.0@10902 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-05 18:14:20 +00:00
5547744d85 consistent colors for selected treeview rows
git-svn-id: svn://localhost/ardour2/branches/3.0@10901 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-05 17:20:15 +00:00
1084732ecf final tweaks for #4489
git-svn-id: svn://localhost/ardour2/branches/3.0@10900 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-05 16:44:28 +00:00
c74c3b741e do not show panner GUI in external send UI, to avoid confusion (#4531)
git-svn-id: svn://localhost/ardour2/branches/3.0@10896 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04 23:58:36 +00:00
678c41d05f remove OS X specific code for key editor binding displays
git-svn-id: svn://localhost/ardour2/branches/3.0@10895 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04 22:32:48 +00:00
97d74666e9 lets see what gtk/osx displays for key bindings without us editing them
git-svn-id: svn://localhost/ardour2/branches/3.0@10894 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04 22:03:52 +00:00
30f75c446e tweak export path name
git-svn-id: svn://localhost/ardour2/branches/3.0@10889 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04 20:14:56 +00:00
7a5a5da953 probably fix failure to find export formats in packages
git-svn-id: svn://localhost/ardour2/branches/3.0@10888 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04 20:05:50 +00:00
6fbd05a77d some more package debugging to help find out why export formats are not found
git-svn-id: svn://localhost/ardour2/branches/3.0@10887 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04 19:37:15 +00:00
45ba9561bc more tweaks to entry colors for #3512
git-svn-id: svn://localhost/ardour2/branches/3.0@10884 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-03 17:47:16 +00:00
7f17842528 another part of #3512 for the dark theme
git-svn-id: svn://localhost/ardour2/branches/3.0@10883 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-03 14:24:43 +00:00
b985476a12 made region export default to use region gain and fades
git-svn-id: svn://localhost/ardour2/branches/3.0@10882 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-03 14:02:49 +00:00
Carl Hetherington
aecf0e4ae8 Add some missing initialisers; remove pointless _model_name
/ _custom_device_mode initialisers.


git-svn-id: svn://localhost/ardour2/branches/3.0@10881 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-03 13:38:53 +00:00
Carl Hetherington
f817155f20 Fix somewhat unlikely crash on doing add note; start drag to resize note; undo; finish drag to resize note.
git-svn-id: svn://localhost/ardour2/branches/3.0@10880 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-03 03:05:59 +00:00
Carl Hetherington
5931ff08ed Remove unused variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@10879 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-03 03:05:49 +00:00
f79c80527f gradient-ized waveforms, c/o Mike Start
git-svn-id: svn://localhost/ardour2/branches/3.0@10875 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 21:15:18 +00:00
34909f79ad Make Carbon GUI support for AU's optional at compile time (from Robin)
git-svn-id: svn://localhost/ardour2/branches/3.0@10872 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 20:42:27 +00:00
14d601a0ff revert recent change to Evoral::Event, and use static_cast<> to get from Event to MIDIEvent
git-svn-id: svn://localhost/ardour2/branches/3.0@10870 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 20:34:58 +00:00
07b4626ea5 build changes from robin gareus for OS X, changing AU support to be used appropriately rather than GTKOSX
git-svn-id: svn://localhost/ardour2/branches/3.0@10869 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 20:03:03 +00:00
d537434b6b use new parameter that controls display of MTC and MIDI clock, as well as attempt to do the first step of something vaguely smart with showing them only a very-zoomed-in levels even if requested
git-svn-id: svn://localhost/ardour2/branches/3.0@10865 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 19:35:18 +00:00
1420d08da4 fix column expansion behaviour of editor region list (#4489)
git-svn-id: svn://localhost/ardour2/branches/3.0@10860 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 14:52:48 +00:00
eab4929c31 add tooltips to the editor track/bus list
git-svn-id: svn://localhost/ardour2/branches/3.0@10859 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 14:52:04 +00:00
21b385e413 add tooltips to editor region list, but so that it doesn't mark carl grimmace
git-svn-id: svn://localhost/ardour2/branches/3.0@10858 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 13:29:11 +00:00
43b4523068 add tooltips to editor region list
git-svn-id: svn://localhost/ardour2/branches/3.0@10857 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 13:14:59 +00:00
5423c45788 desensitize make-mono-regions as appropriate
git-svn-id: svn://localhost/ardour2/branches/3.0@10855 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 02:07:13 +00:00
8e046a1127 restore the functionality of the join-play-range button, and remove a couple of unused controllables
git-svn-id: svn://localhost/ardour2/branches/3.0@10853 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-01 23:22:05 +00:00
9a85516623 cleanup vertical spacing a bit in mixer strip; rename new send options to be more clear on the difference; relabel "sends" button to say "Aux Sends" to be clearer on what it does; code tidy up in processor box and mixer strip
git-svn-id: svn://localhost/ardour2/branches/3.0@10850 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-01 19:34:53 +00:00
104a92a128 allow Cancel button on route rename dialog to actually cancel
git-svn-id: svn://localhost/ardour2/branches/3.0@10849 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-01 19:33:28 +00:00
28c721bbfe expose Pango::Layout member of ArdourButton; set ellipsizing behaviour for mixer strip name button; add full name tooltip to name button
git-svn-id: svn://localhost/ardour2/branches/3.0@10847 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-01 16:57:29 +00:00
d4030cd32a tweak spacings in the mixer strip, tweak tooltip text for input and output buttons
git-svn-id: svn://localhost/ardour2/branches/3.0@10845 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-30 21:07:43 +00:00
a01e089d3e active button colors for mixer strip buttons, modified from changes by chris g.
git-svn-id: svn://localhost/ardour2/branches/3.0@10843 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-30 16:43:37 +00:00
9bf55b26e8 fix phase invert button functionality, lost in switch to ArdourButton
git-svn-id: svn://localhost/ardour2/branches/3.0@10842 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-30 16:40:05 +00:00
96ae97ddcb preparations for using ardour's own keybinding system for the editor (not actually used)
git-svn-id: svn://localhost/ardour2/branches/3.0@10841 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-30 15:29:53 +00:00
6fe7e0dea1 fix segfault in preferences dialog caused by incorrect use of S_(). i've checked all other uses in gtk2_ardour and cleared them
git-svn-id: svn://localhost/ardour2/branches/3.0@10839 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-30 01:54:13 +00:00
Carl Hetherington
d5dc50a407 New zoom icons from royvegard (#4520).
git-svn-id: svn://localhost/ardour2/branches/3.0@10837 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-29 20:41:40 +00:00
Carl Hetherington
23964284a4 Hopefully fix some i18n bugs (#3565).
git-svn-id: svn://localhost/ardour2/branches/3.0@10833 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-28 19:46:30 +00:00
Carl Hetherington
1a36890779 Fix i18n problems in the RC option editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@10832 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-28 18:45:34 +00:00
Carl Hetherington
542b1d9653 Control-shift-click rather than just Shift-click to
toggle mixer strip width.


git-svn-id: svn://localhost/ardour2/branches/3.0@10831 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-28 18:45:28 +00:00
a296820caf convert all mixer strip buttons to ArdourButton; not entirely finished because colors in the name and comments buttons don't work as intended - needs a bit of thinking
git-svn-id: svn://localhost/ardour2/branches/3.0@10830 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-28 17:58:15 +00:00
Carl Hetherington
1e97a0dcbe Set up piano roll and scroomer objects before the MidiTimeAxisView height gets set up, so that their visibility can be initialised correctly. Fixes #4515.
git-svn-id: svn://localhost/ardour2/branches/3.0@10828 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-27 13:44:45 +00:00
Carl Hetherington
a33fe692e6 Fix partial visibility of piano roll when changing MIDI track height in various ways (#2842, #3904).
git-svn-id: svn://localhost/ardour2/branches/3.0@10827 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-27 13:44:40 +00:00
Carl Hetherington
bd4d670845 Remove unused variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@10826 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-27 12:17:14 +00:00
Carl Hetherington
42d7089c0b Fix warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@10825 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-27 11:44:42 +00:00
7fcb672943 Revert faders. Fixed size has to go...
git-svn-id: svn://localhost/ardour2/branches/3.0@10824 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-25 21:10:28 +00:00
Carl Hetherington
0f2efef73e Fix confusion with midi note selection and channel
selection (#4208).


git-svn-id: svn://localhost/ardour2/branches/3.0@10823 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-24 22:16:03 +00:00
Carl Hetherington
e5dd712ac4 Shift-click on a mixer width button toggles width of all
strips (#4510).


git-svn-id: svn://localhost/ardour2/branches/3.0@10822 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-24 20:07:55 +00:00
Carl Hetherington
e355b5df27 Add option to glue new regions to bars and beats (#4202).
git-svn-id: svn://localhost/ardour2/branches/3.0@10821 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-24 19:33:13 +00:00
bfd3746be2 Make fader belts wider to take up maximum space and line up with things nicely.
Big mouse targets are good.

Aesthetically I'm not so sure about this, somebody better at images than myself
should probably tinker with these a bit.

Not sure why the borders are white on only audio mixer strips, but that needs
fixing...


git-svn-id: svn://localhost/ardour2/branches/3.0@10820 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-24 07:32:19 +00:00
82061e1aa8 Ditch the fugly brown hue that cropped up and use the huge from our widget base colour.
Make button gradients and border colours a bit more consistent WRT brightness.

We have way, way, way too many colours defined for this stuff right now.


git-svn-id: svn://localhost/ardour2/branches/3.0@10819 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-24 06:45:35 +00:00
0a71d52448 Fix key bindings in tooltips for ArdourButton buttons.
Sinced gtkmm2ext needs to get at the actions of widgets, I moved the
action to Gtkmm2ext::Activatable.  Not sure if the wisest thing to
do here would be to use Gtkmm::Activatable, but figured there's
a reason Paul didn't do so (the name set_related_action is from there
so presumably it's known about), so this is the simplest change
that allows access to the action in Gtkmm2ext.  The vfunc calling
stuff should probably move there as well...


git-svn-id: svn://localhost/ardour2/branches/3.0@10818 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-24 05:36:31 +00:00
Carl Hetherington
5c8abd8293 Fix crash on save.
git-svn-id: svn://localhost/ardour2/branches/3.0@10815 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-24 00:05:00 +00:00
Carl Hetherington
d9c9d0e8a8 Save location UI clock mode in Session instant.xml (#4507).
git-svn-id: svn://localhost/ardour2/branches/3.0@10813 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 21:22:02 +00:00
Carl Hetherington
7c87036ee3 Rename linux VST files to be more friendly.
git-svn-id: svn://localhost/ardour2/branches/3.0@10808 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 19:31:04 +00:00
Carl Hetherington
41b4e0a61c More unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@10807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 19:30:08 +00:00
Carl Hetherington
45cc96f9d1 Remove unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@10806 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 19:30:01 +00:00
Carl Hetherington
9040712ab9 Don't load program 0 on initialising a VST; I don't
think we do that for any other plugins.  Restore
chunk-based preset loading for Linux VSTs.


git-svn-id: svn://localhost/ardour2/branches/3.0@10805 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 19:29:55 +00:00
Carl Hetherington
e6535b3c34 Fix warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@10802 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 19:29:43 +00:00
Carl Hetherington
569bf2f27e Remove VST current_program variable, since that stuff is
managed by the presets code in Plugin.


git-svn-id: svn://localhost/ardour2/branches/3.0@10801 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 19:29:38 +00:00
Carl Hetherington
013b31f1bb Don't fix size of preset combo any more. Comment what
widgets the PlugUIBase makes available for subclasses. 
Give up on trying to report when a VST plugin's settings
have been modified from a preset, since I think it is
impossible to do cleanly (you set the preset, then at some
point after that the plugin tells you that values have
changed using the same mechanism that it uses to report
normal user-initiated changes).


git-svn-id: svn://localhost/ardour2/branches/3.0@10798 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 17:48:10 +00:00
e70249ab65 Pack toolbar combo boxes with expand=false and remove size kludges.
Turns out gtk these days sizes combo boxes with precisely enough space if
packed to not expand, none of this mess is necessary any more.


git-svn-id: svn://localhost/ardour2/branches/3.0@10790 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 08:35:41 +00:00
8301e6c55f Fix stupid warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@10789 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 07:49:59 +00:00
Carl Hetherington
fbc147d929 Fix windows VST build.
git-svn-id: svn://localhost/ardour2/branches/3.0@10787 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 01:48:26 +00:00
Carl Hetherington
be951eca95 Remove code to zoom on up/down mouse movement when dragging
the playhead.


git-svn-id: svn://localhost/ardour2/branches/3.0@10786 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 01:17:41 +00:00
Carl Hetherington
e913b03fb6 Missing files / renames.
git-svn-id: svn://localhost/ardour2/branches/3.0@10785 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 00:57:32 +00:00
Carl Hetherington
aed44005b2 Merge some linux/windows VST GUI code.
git-svn-id: svn://localhost/ardour2/branches/3.0@10783 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 00:55:25 +00:00
Carl Hetherington
d1226a8628 Push most of LXVSTPlugin and WindowsVSTPlugin up to VSTPlugin parent.
git-svn-id: svn://localhost/ardour2/branches/3.0@10773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 15:14:41 +00:00
Carl Hetherington
84f2049023 Add translator email address.
git-svn-id: svn://localhost/ardour2/branches/3.0@10772 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 12:53:59 +00:00
Carl Hetherington
00efc7db6e Another missing translator.
git-svn-id: svn://localhost/ardour2/branches/3.0@10771 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 12:48:14 +00:00
Carl Hetherington
0c55d9e842 Update German translators list.
git-svn-id: svn://localhost/ardour2/branches/3.0@10770 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 12:43:13 +00:00
Carl Hetherington
1d59cfce56 Missing translations.
git-svn-id: svn://localhost/ardour2/branches/3.0@10769 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 12:35:25 +00:00
Carl Hetherington
b78cb4d41a Fix autoscroll fudge calculations. Remove some unused
code.  Should help with #4501.


git-svn-id: svn://localhost/ardour2/branches/3.0@10767 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 12:22:46 +00:00
Carl Hetherington
8016c4dec0 Patch from acolomb to display underscores in plugin names
correctly (#4502).


git-svn-id: svn://localhost/ardour2/branches/3.0@10766 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 12:12:11 +00:00