summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.cc
AgeCommit message (Collapse)Author
2008-11-19remove debugging outputPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4213 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-14back out "ignore_gui_changes" stuff for track resizingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4164 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-13speed up track resizing; fixup file DnD; stop use CAAudioFile for imported filesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-13Use consistent font size for marker text, unset CAN_FOCUS on some more ↵Nick Mainsbridge
buttons, initial edit point clock is BBT. back to clearlooks for sae light theme. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4146 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-11no tearoffs for SAE versionPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4136 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-09fix for handling DnD path data, plus lots of d-n-d drop debugging (to be ↵Paul Davis
cleaned up) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4129 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-09Remove Splice edit mode from SAE version, sync instant.xml files.Nick Mainsbridge
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4119 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-09Fix rulers sometimes not refreshed on zoom, only auto connect physical ↵Nick Mainsbridge
inputs to tracks (was SAE only, now applies to all), prettify initial display for first run. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4113 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-07BBT duration clocks use zero-based values, init SAE nudge default better.Nick Mainsbridge
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4104 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-07Add default instant.xml to bundles, set SAE-specific defaults.Nick Mainsbridge
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4101 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-06wrap PBD::Thread... signals in a mutex to avoid crashing as multiple threads ↵Paul Davis
call it simultaneously; increase FUDGE distance for GTK/X11 when sizing comboboxselectors in editor git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4099 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-03Dont move track backgrounds, so that they no longer disappear at high zooms, ↵Nick Mainsbridge
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-01Wiimote control surface. Bind one wiimote by pressing 1+2 after the surface ↵Sampo Savolainen
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-10-26Fix missing tempo lines if zooming with unchanged left edge, implement ↵Nick Mainsbridge
toggling editor/mixer on top. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4017 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-25Make visible track automation views appear correctly newly loaded sessions.Sampo Savolainen
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4009 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-23Don't update rulers twice in idle_visual_changer, temporarily remove parts ↵Nick Mainsbridge
of 4001 git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4003 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-23Force gtk rulers to update in lock step with canvas.Nick Mainsbridge
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4001 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-23Reinstate ZoomFocusMenu and KeyMouseActions, fix odd horizontal scroller ↵Nick Mainsbridge
behaviour (thanks dooooomi). git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4000 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-22Fix repeated toggling of visual state (zoom to region for example), fix zoom ↵Nick Mainsbridge
to region with width and height. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3996 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-21Don't tear down and rebuild all rulers on each visibility change, avoid ↵Nick Mainsbridge
setting track heights when presenting the editor, fix duplicated secondary-m in SAE bindings, avoid dirty master channel updates on osx. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3989 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-18Handle changed session duration & resizing canvas better wrt end marker, ↵Nick Mainsbridge
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-17Fix invisible end marker on load/zoom.Nick Mainsbridge
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3980 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-16fix crash at startup caused by use of null session ptr to set end markerPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3974 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-14fix a few things related to fit-to-tracks and toggle-visual-statePaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3966 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-11,arker_drag_line height is now physical screens height, no border on zoom ↵Nick Mainsbridge
box, whitespace fix. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-07fix track/strip sync-reorder issues; don't show mixer strip on selection ↵Paul Davis
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-05Primitive take system: active edit groups now dictate playlist decisions. Sampo Savolainen
(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-09-29Relayer punch/loop range rects, fix display of punch-in with no punch-out, ↵Nick Mainsbridge
ensure range selection rect is hidden after single click, move the track canvas up one pixel now that headers are all one size. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3835 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-29Backport drobilla's tempo bar cache from 3.0, fix track display regression, ↵Nick Mainsbridge
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-23Separate tempo lines stuff ala 3.0.David Robillard
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3796 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-22change design for how certain region list items operate if there are ↵Paul Davis
multiple regions selected, add glue-to-bars-and-beats even when there are multiple regions selected git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3783 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-20Don't defer Editor::track_canvas_size_allocated () (defer the timebar ↵Nick Mainsbridge
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-19Fix a bunch of stupid warnings.David Robillard
Q: What's a lot harder than initializing a variable? A: Fixing future non-deterministic bugs that would have been deterministic if you initialized the damn variable :) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3767 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-19shift-click to extend marker selection; marker drag moves all selected markersPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3758 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-14Speed up track resizing, fix disappearing automation controls when ↵Nick Mainsbridge
automation track has been made minimum size. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3722 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-08Fix some off by one or more errors spotted by The Big Programmer. Fewer ↵Nick Mainsbridge
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-03Unify the canvases by moving groups around rather than using ↵Nick Mainsbridge
set_scrolling_region () (eliminates the double-draw during zoom on linux), fix verbose_time_cursor clamping, make fonts smaller on location dialog buttons, hopefully improve performance when dragging multiple regions on the same track, reduce some redrawing of clocks (still not done for samples clock), allow NLS=1 on OSX, other canvas performance improvements on OSX, build SAE-us.bindings (even though they are incomplete for now). git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3707 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-07-22debug output for pixbuf loaders; catch exception when loading AU plugins; ↵Paul Davis
miscellaneous character removal git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3646 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-07-08nudge clock has 5 seconds as the default value, not zeroPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3527 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-07-08if the track that is being dynamically resized is not selected, do not add ↵Paul Davis
track selection to the pending idle resize list git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3526 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-07-08ensure that OSC calls to access_action occur in the correct threadPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3524 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-26make dynamic track resizing "work" again; colinf's patch for operations on ↵Paul Davis
multiple selected regions from the region context menu git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3495 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-19Fixes and changes to the horizontal canvas scrolling, per our conversation ↵Doug McLain
on IRC and mantis #2275. When the playhead is seeked past the end marker, the canvas will grow as needed. The Zoom to Session button will now reset the canvas size to start <--> end plus a little extra after end, so the end marker is visible. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3480 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-18make bounce range and bounce region work properly (wrong boundaries before); ↵Paul Davis
add "Consolidate Range" which writes a new audio file and uses it to replace whatever was in the playlist within the range git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3478 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-18slightly modified patch from colinf to make region context menu items always ↵Paul Davis
operate on well-defined and reasonably obvious region selection git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3476 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-17refactor GainMeter so that it can used by RouteTimeAxisView, and thus bring ↵Paul Davis
automation display to editor track faders and more git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-17possible fix for #2292Paul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3467 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-12fix crashing bug caused by not using RegionSelection::add()Paul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3461 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-11midway through dynamic resize redesign, need to test on OS XPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3459 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-10(5) debugging with nowhiskey - remove stupid lack of scaling caused by ↵Paul Davis
redisplaying all regions for every source file removed; fix for illegal audio device selection in audio setup dialog; stuff related to drawing/dragging regionheights (disabled at present) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3458 d708f5d6-7413-0410-9779-e7cbd77b26cf