Commit graph

378 commits

Author SHA1 Message Date
Paul Davis
fba5f18124 more tweaks/fixes for region layer editor
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6077 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-13 14:45:16 +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
Ben Loftis
3c19ff310f sort items in popup region menu so they match the order in the editor
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6005 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-02 22:50:28 +00:00
Paul Davis
fa1c6e429b prevent edit pane handle from being lost on GTKOSX when its moved into the notebook tabs. hack, or what?
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5991 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-30 22:33:37 +00:00
Paul Davis
c89c77c8c3 no more edit point clock (except SAE version, but who knows why or even if)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5928 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-26 20:08:32 +00:00
Ben Loftis
6588630c30 changes to region popup editor inspired by carlh 3.0, rev 5813
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5840 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-21 15:59:00 +00:00
Ben Loftis
bcc7af086e clean up Window titles for consistency
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5830 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-20 22:40:55 +00:00
Paul Davis
b2d08a44b4 now in gtk2_ardour: replace all instances of prop->value() == "yes" with 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-10-02 15:38:17 +00:00
Ben Loftis
5bf6193fe9 fix logic in undo, redo, and swap_visual_state
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5661 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-13 19:44:55 +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
Paul Davis
12d5a44afa make tearoff windows still forward key events (and thus bindings still 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-21 13:48:31 +00:00
Ben Loftis
467be1f409 save and recall rectified waveform view
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5556 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-20 17:34:38 +00:00
Ben Loftis
124d01ab79 Transpose should appear in the popup region context menu as well as the Regions menu
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5545 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-18 19:19:25 +00:00
Paul Davis
26c339b4bd use sscanf with the correct type conversion and not atoi/atol to load 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-07-04 23:09:50 +00:00
Nick Mainsbridge
2641231cb2 Fix memory leak in name text pixbuf generation, move RegionView::_height to 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-06-02 17:45:18 +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
a30c86c68a carl's patch for split/region-drag crash
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4880 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-21 13:20:27 +00:00
Paul Davis
e8185a39f2 remove icky FUDGE-ness code when sizing ComboBoxText's (from an idea by david taht)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-13 13:01:23 +00:00
Paul Davis
6a869dfb7a if we attempt to move beyond the limit of the current horizontal adjustment, 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-12 20:44:48 +00:00
Paul Davis
2d381d23d3 combobox width fixes from mtaht
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4741 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-06 16:19:26 +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
ce5e7745cb changes to handle an instant.xml file that has been modified by ardour 3.0 (not the long term solution)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4283 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-04 13:39:28 +00:00
Paul Davis
4fc93e9381 more session init fixes from carl
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4278 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-02 06:48:53 +00:00
Paul Davis
cadaf74a80 desensitize positional actions in region context menu when edit point == mouse, because it makes no sense
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4257 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-25 15:05:21 +00:00
Paul Davis
3e89ba31b5 remove debugging output
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4213 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-19 07:38:11 +00:00
Paul Davis
751c8022ef back out "ignore_gui_changes" stuff for track resizing
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4164 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-14 09:24:23 +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
Nick Mainsbridge
e00460b1d7 Use consistent font size for marker text, unset CAN_FOCUS on some more 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-13 09:34:38 +00:00
Paul Davis
11f0e01155 no tearoffs for SAE version
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4136 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-11 07:02:24 +00:00
Paul Davis
1082218dfa fix for handling DnD path data, plus lots of d-n-d drop debugging (to be cleaned up)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4129 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-09 22:08:18 +00:00
Nick Mainsbridge
6b4453078b Remove Splice edit mode from SAE version, sync instant.xml files.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4119 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-09 14:12:02 +00:00
Nick Mainsbridge
efc6b5bba7 Fix rulers sometimes not refreshed on zoom, only auto connect physical 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-09 05:47:23 +00:00
Nick Mainsbridge
13e2813847 BBT duration clocks use zero-based values, init SAE nudge default better.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4104 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-07 11:00:13 +00:00
Nick Mainsbridge
147321a9df Add default instant.xml to bundles, set SAE-specific defaults.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4101 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-07 05:10:06 +00:00
Paul Davis
99aad0d4df wrap PBD::Thread... signals in a mutex to avoid crashing as multiple threads 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-06 22:18:27 +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
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
fc54f2eab1 Fix missing tempo lines if zooming with unchanged left edge, implement toggling editor/mixer on top.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4017 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-26 20:09:05 +00:00
Sampo Savolainen
843466fde2 Make visible track automation views appear correctly newly loaded sessions.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4009 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-25 10:42:17 +00:00
Nick Mainsbridge
dc2ad95bfb Don't update rulers twice in idle_visual_changer, temporarily remove parts of 4001
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4003 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-23 19:18:11 +00:00
Nick Mainsbridge
8330f2828e Force gtk rulers to update in lock step with canvas.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4001 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-23 17:31:03 +00:00
Nick Mainsbridge
12ffa28390 Reinstate ZoomFocusMenu and KeyMouseActions, fix odd horizontal scroller behaviour (thanks dooooomi).
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4000 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-23 13:24:14 +00:00
Nick Mainsbridge
b01539f470 Fix repeated toggling of visual state (zoom to region for example), fix zoom to region with width and height.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3996 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-22 17:31:36 +00:00
Nick Mainsbridge
8e095d439f Don't tear down and rebuild all rulers on each visibility change, avoid 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-21 14:33:58 +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
9b49147d3a Fix invisible end marker on load/zoom.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3980 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-17 16:28:27 +00:00
Paul Davis
75c60c9b8b fix crash at startup caused by use of null session ptr to set end marker
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3974 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-16 11:11:21 +00:00
Paul Davis
71fecfd751 fix a few things related to fit-to-tracks and toggle-visual-state
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3966 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-14 14:14:49 +00:00