summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.cc
AgeCommit message (Collapse)Author
2009-11-12JAG's new region layer editor, tweaked by me to (a) hide editor if we click ↵Paul Davis
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-02sort items in popup region menu so they match the order in the editorBen Loftis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6005 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-30prevent edit pane handle from being lost on GTKOSX when its moved into the ↵Paul Davis
notebook tabs. hack, or what? git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5991 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-26no more edit point clock (except SAE version, but who knows why or even if)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5928 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-21changes to region popup editor inspired by carlh 3.0, rev 5813Ben Loftis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5840 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-20clean up Window titles for consistencyBen Loftis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5830 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-02now in gtk2_ardour: replace all instances of prop->value() == "yes" with ↵Paul Davis
string_is_affirmative (prop->value()) to avoid XML property SNAFUs git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5721 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-13fix logic in undo, redo, and swap_visual_stateBen Loftis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5661 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-11reinstate export-region which was lost, change keybindings to more closely ↵Ben Loftis
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-08-21make tearoff windows still forward key events (and thus bindings still ↵Paul Davis
work); make big clock window into a utility window, not a menu (!) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5562 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-20save and recall rectified waveform viewBen Loftis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5556 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-18Transpose should appear in the popup region context menu as well as the ↵Ben Loftis
Regions menu git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5545 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-04use sscanf with the correct type conversion and not atoi/atol to load ↵Paul Davis
nframes_t and nframes64_t in locations and playhead position. NOTE: other similar bugs may exist elsewhere git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5324 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-02Fix memory leak in name text pixbuf generation, move RegionView::_height to ↵Nick Mainsbridge
TimeAxisViewItem, clean up name_highlight vs name_text code (removes assumpton that one implied the other), fix mouse offset when track resizing past the smallest size, reinstate zooming to 1 frame per pixel. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5117 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-22make stationary-playhead mode less secretBen Loftis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5111 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-19Fix record crash, use pixfufs instead of canvas text in markers, use ↵Nick Mainsbridge
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-03-21carl's patch for split/region-drag crashPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4880 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-13remove icky FUDGE-ness code when sizing ComboBoxText's (from an idea by ↵Paul Davis
david taht) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-12if we attempt to move beyond the limit of the current horizontal adjustment, ↵Paul Davis
change its upper limit so that we keep scrolling (fixes a bug with playhead tracking beyond the current session end git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-06combobox width fixes from mtahtPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4741 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-05Make "consolidate range" and "bounce range to region list" not apply ↵Sampo Savolainen
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
2008-12-05apply/merge/redo carl & colin's patches for making range markers from the ↵Paul Davis
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-04changes to handle an instant.xml file that has been modified by ardour 3.0 ↵Paul Davis
(not the long term solution) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4283 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-02more session init fixes from carlPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4278 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-25desensitize positional actions in region context menu when edit point == ↵Paul Davis
mouse, because it makes no sense git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4257 d708f5d6-7413-0410-9779-e7cbd77b26cf
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