Commit Graph

315 Commits

Author SHA1 Message Date
Ben Loftis af4e0359be Allow Separate to work on explicit range. Cleanup code by replacing mouse_edit_point_requires_canvas_actions with time_selection_sensitive_actions and consolidating some code in reset_canvas_action_sensitivity. Crop no longer works on all tracks if no tracks are selected
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11652 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-12 18:36:57 +00:00
Paul Davis 170514df72 fix odd behaviour of gdk_window_get_pointer(), used to determine if the mouse pointer is inside the track canvas
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11626 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-09 16:56:45 +00:00
Paul Davis 5a78e89c2d clean up previous commit by removing unused function decls and switch back to PRIMARY-Fn not Shift
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11433 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-03 02:00:48 +00:00
Paul Davis e626152a22 remove use of Glib::ustring from gtk2_ardour
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10006 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-18 17:35:34 +00:00
Paul Davis 64e9b0ccc6 change the way we use "physical screen height" to better account for multi-monitor setups
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7539 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-04 18:11:28 +00:00
Paul Davis f2588f6814 add GUI/action control over replicate-missing-region-channels
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6928 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-18 20:02:17 +00:00
Ben Loftis 05550ae584 rationalize track selection and range selection
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-16 22:07:43 +00:00
Paul Davis 1770e3eaac remove silly buffer stats output; apply MIDI control patch (#2655) from dhess; switch ctrl/alt for drag-selection-as-region (work ongoing); various scons cleanups; remove some dead code from editor
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6798 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-26 16:40:56 +00:00
Paul Davis 4ceccdf8d7 fix import/embed with "sequence files" option
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6729 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-04 22:02:03 +00:00
Ben Loftis 360b97a763 backport feature to show only tracks with regions under the playhead (thanks Carl) and fix Save As function (thanks Paul)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6327 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-08 20:42:52 +00:00
Paul Davis 804f08f17e potential fix for "crashes" caused by an endless loop of enter/hide events involving the verbose canvas cursor
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6108 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-17 13:34:23 +00:00
Paul Davis 72d9f9df46 JAG's new region layer editor, tweaked by me to (a) hide editor if we click in a location with just 1 region under the mouse (b) automatically update to reflect playlist modification outside of the layering editor (c) add a clock and a track name to give a bit more context to the editor
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6067 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-12 01:14:21 +00:00
Paul Davis 69ac5b3c33 lots of deep but hard to spot changes to transport control, primarily relating to looping and transitions between loop, play-range and regular roll/stop ; add GUI option for seamless looping control (under Options). Needs to be forward ported to 3.0. Please TEST THE HELL out of this one - changes were deeper and wider than i would like, but did consolidate some of the GUI transport control code in a good way
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5976 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-30 02:52:55 +00:00
Ben Loftis 5cfbd2f7c0 use rt-click context menu instead of the -all- group, which was orphaned
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5666 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-16 14:30:35 +00:00
Ben Loftis 6fbcc062b2 reinstate export-region which was lost, change keybindings to more closely match 3.0, and make zoom-to-region more straightforward.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-11 22:32:09 +00:00
Ben Loftis 02b4b169f8 simplify waveform menu items
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5555 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-20 16:49:06 +00:00
Ben Loftis adb94a0d9e Allow Insert Time option to move tempos and time sig changes, as per #1951 (thanks carlh)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5150 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 12:51:37 +00:00
Ben Loftis beef5e20ce make stationary-playhead mode less secret
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5111 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-22 19:47:07 +00:00
Nick Mainsbridge 337fae8183 Fix record crash, use pixfufs instead of canvas text in markers, use leftmost_frame instead of querying canvas coords when scrolling (speeds up canvas scrolling somewhat).
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5101 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-19 14:38:37 +00:00
Paul Davis d4be58825b fix ordering of track view list & route list resync in editor, to avoid clearing track view list in the middle of a list traversal
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4803 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-12 14:15:28 +00:00
Paul Davis 6d7c725221 new options for moving playhead to next/previous region boundary
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4801 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-12 02:44:48 +00:00
Sampo Savolainen a4ecfdedec Make "consolidate range" and "bounce range to region list" not apply processing to the original audio. Added variants which do apply processing. Plus changed AudioTrack::export_stuff() to use SSE mix functions for non-automated gain.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4736 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-05 19:47:39 +00:00
Paul Davis 302d88d604 apply/merge/redo carl & colin's patches for making range markers from the region selection so that there are now 1 actions: 1 range for all selected regions, or 1 range per selected region; add these to the relevant menus
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4291 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-05 10:31:26 +00:00
Paul Davis d7903af9c9 colin fletcher's preserve-formants patch for rubberband operations
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4232 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-22 07:42:02 +00:00
Paul Davis 45b4721be3 speed up track resizing; fixup file DnD; stop use CAAudioFile for imported files
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-13 10:00:09 +00:00
Paul Davis 95a59536a7 make drop_paths() run in an idle handler on OS X to deal with the current DnD handling there. still need to fix drop_regions() to do the same
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4130 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-09 22:54:24 +00:00
Nick Mainsbridge 5e459d1161 Clicking canvas rulers mpves playhead, imicing behaviour of clicking gtk rulers. Create new markers/ranges with Primary modifier + left click/drag. Select/move markers with unmodified left click.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4114 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-09 06:00:08 +00:00
Nick Mainsbridge 5b25697c28 Restore scrolling performance on osx.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4092 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-04 01:09:04 +00:00
Nick Mainsbridge a6d1b90b33 Dont move track backgrounds, so that they no longer disappear at high zooms, SAE version uses shift button1 to solo additional tracks in not latched solo mode.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4089 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-03 21:29:35 +00:00
Sampo Savolainen 91b04d2319 Ensure that the newly selected track is visible on the canvas when scrolling through tracks with prev/next. Plus a cleaner check for wiimote deps.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4082 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-02 20:26:33 +00:00
Sampo Savolainen 43d868cde8 Wiimote control surface. Bind one wiimote by pressing 1+2 after the surface module is loaded. You need to bind every time you start ardour:
A Toggle play/stop
  D-pad:
    Up/Down: scroll tracks in the editor
    Left/Right: move playhead (nudge)
  +/- Zoom
  1 Arm selected track(s) for recording
  2 Toggle recording
  
As an extra, if you press down B and then A to stopp recording pass, Ardour scraps the recorded audio.

This is a work in progress. Please test.



git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4079 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-01 20:10:56 +00:00
Nick Mainsbridge 3043b68bfb Ignore triple clicks for mute/solo/rec-enable (fixes long-standing insensitive to clicks bug), momentary solo/mute works for track headers, redraw some widgets when resizing editor-mixer (osx only), don't autoconnect physical inputs to busses (sae only), new sends active by default (sae only), some minor sae gui customizations using ardour2_ui_sae.conf.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4078 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-01 14:45:03 +00:00
Paul Davis e5cfd1924a fix botched setting of editor mixer strip width, which in turn affected plugin name display
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3999 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-23 12:48:54 +00:00
Paul Davis fee6b1ea50 fix up region gain line dragging; prevent press-drag-release from creating new region gain points, only click should do that
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3984 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-20 14:22:54 +00:00
Nick Mainsbridge 97e678dfe3 Handle changed session duration & resizing canvas better wrt end marker, remove unused last_canvas_frame, don't redraw the entire mixer every time its presented, consistent space between rightmost horizontal scroller position and end marker when zooming.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3981 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-18 12:51:48 +00:00
Nick Mainsbridge 6786494cd8 A more correct fix for non-disappearing loop/punch range rect, calculate track height in fit_tracks () correctly (doesn't fix the height race condition with the controls layout though).
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3941 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-13 00:04:15 +00:00
Nick Mainsbridge ff52fa5602 Don't set colours twice in new TimeAxisViewItems (from 3.0), fix the nostar ruler hiding bug, rejig ruler bars again, this time making them physical_screen_width wide and never moving them - preventing artefacts while hiding.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3910 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-10 21:38:38 +00:00
Paul Davis 1df8d73957 add toggles for region fade in/out/both active, plus toggle for region fades visibility
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3903 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-09 21:51:10 +00:00
Paul Davis ba3acd2cb0 new global fade in/out toggle
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3898 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-09 14:20:35 +00:00
Paul Davis 0d173fdccd add move-selected-tracks-{up,down} commands
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3879 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-07 21:46:42 +00:00
Paul Davis 0d21407834 fix track/strip sync-reorder issues; don't show mixer strip on selection change if it wasn't already visible
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3875 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-07 11:08:31 +00:00
Sampo Savolainen 9a9a7fb659 Primitive take system: active edit groups now dictate playlist decisions.
(I will port this to 3.0 after it's deemed usable)



git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3871 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-05 19:14:03 +00:00
Nick Mainsbridge f138091f7e Improve scrolling performance for sessions containing hundreds of regions over many tracks by hiding offscreen tracks (scroll faster by making tracks larger, exposing fewer of them). Use distance from screen edges to drive autoscrolling distance. Avoid using canvas coordinates for displacement calculations where possible. Don't redisplay tempo in the colour handler.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3853 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-04 08:23:29 +00:00
Paul Davis d5b1369258 probable fix for track sync-ordering, part II to come in a minute
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3850 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-03 13:38:21 +00:00
Nick Mainsbridge 3f81ed9bdd Backport drobilla's tempo bar cache from 3.0, fix track display regression, rework canvas layers and region_motion_group, remove duplicate code, make track heights consistent (track zero is no longer different).
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3831 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-29 13:41:17 +00:00
David Robillard d97fa52d44 Separate tempo lines stuff ala 3.0.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3796 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-23 15:00:25 +00:00
Nick Mainsbridge a31775baf1 Don't defer Editor::track_canvas_size_allocated () (defer the timebar redrawing instead) + some performance improvements to said function, a more 3.0-like initialize_canvas (), show/hide playhead more sensibly.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3772 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-20 14:49:37 +00:00
Nick Mainsbridge 72d53181c9 Add a session file type icon for OSX, remove unused editor_mixer_button, use a constant offset for verbose time cursor, make tempo lines a bit smoother on OSX (idle? when?)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3734 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-16 18:58:26 +00:00
Nick Mainsbridge 665b26cdf3 Fix some off by one or more errors spotted by The Big Programmer. Fewer forced updates during vertical scroll on quartz.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3710 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-08 19:36:41 +00:00
Nick Mainsbridge 431bf67aca Fix disappearing regionviews during rapid mouse movement plus grab/copy grab, update canvas less on OSX, RegionView::get_canvas_group() returns a group, not an Item, clean up reparenting of moving regions a bit.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3709 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-07 12:30:24 +00:00