Paul Davis
b2802bac25
add global option to enable/disable region fades
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3896 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-09 13:13:25 +00:00
Paul Davis
37680c0d73
prevent a heap overflow, see http://www.nabble.com/Bug-445889:-CVE-2007-4974-heap-overflow-in-libsndfile-included-in-libs--td13137463.html
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3895 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-09 11:34:56 +00:00
Paul Davis
a5a18d2173
fix reload & use of MIDI port configuration, so that per-session setup is actually used
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3894 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-09 11:27:22 +00:00
Paul Davis
6f6e200038
add initial program change support
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3893 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-08 21:22:08 +00:00
Paul Davis
ac84a7f794
add initial-program-change support
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3892 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-08 21:20:00 +00:00
Sampo Savolainen
bb07f59737
Fix for grouped playlist bug mentioned in the 3rd comment of bug report 1274.
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3889 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-08 18:50:12 +00:00
Paul Davis
445d254d2f
fix for bad sync with other JACK transport-aware clients (thanks to torben for discovering the problem and suggesting the best fix)
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3886 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-08 15:16:19 +00:00
Paul Davis
5f3c82e8ba
do not manage the remote control menu, since it is explicitly deleted during destruction of its parent RouteUI
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3881 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-07 22:22:35 +00:00
Paul Davis
0671b31d78
correct menu defs for move-selected-tracks-{up,down}
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3880 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-07 21:49:10 +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
Nick Mainsbridge
c021a56672
Fix non-disappearing tracks when hiding
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3877 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-07 17:47:27 +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
Paul Davis
b96c0cba68
fixes needed for track/strip ordering issues
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3874 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-07 11:06:29 +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
Paul Davis
7abd6d2366
changes to support making RouteUI and its children and relations able to switch the Route/IO object they refer to (significant architectural changes)
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3870 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-05 19:06:20 +00:00
Paul Davis
b462493f44
make RouteUI and its children and relations able to switch the Route/IO object they refer to (significant architectural changes)
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3869 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-05 15:36:45 +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
51f2a5fc4e
part II of probable fix for track sync-ordering
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3851 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-03 13:38:53 +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
c1f85106cc
Relayer punch/loop range rects, fix display of punch-in with no punch-out, 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-29 18:21:33 +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
Sampo Savolainen
abc5ab3933
Fix split buffer audio glitches with lv2 plugins.
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3816 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-27 14:33:43 +00:00
David Robillard
117de21f49
Tabs!
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3810 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-26 17:18:45 +00:00
Paul Davis
a5e0a9b837
fix up region constructor's initialization of ancestral region data
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3808 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-26 12:37:13 +00:00
Nick Mainsbridge
e193f9ebf3
fix headers not resizing properly when all tracks set to minimum height, then expanded again, no need to redisplay tempo when altering ruler visibility (allocation takes care of that)
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3802 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-24 09:59:47 +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
Sampo Savolainen
867193acce
Removed the extra "long".
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-22 20:43:49 +00:00
Sampo Savolainen
5315c64acf
Fixed overflow issue. Code originally meant to truncate the 64 bit integer did not work as assembler doesn't "cast" variables like C does. get_cycles() was passing the memory address of a 32 bit unsigned int to the x86 call which required 64 bits of storage space. The extra 32 bits corrupted whatever was on the stack next to the variable.
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3791 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-22 20:42:15 +00:00
David Robillard
8623302340
Set add route dialog non-resizeable so WMs size it more sensibly (looked ridiculous in ion3).
...
Tab cleanups.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3787 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-22 16:54:17 +00:00
Paul Davis
ea1c705839
change design for how certain region list items operate if there are 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-22 05:59:04 +00:00
Nick Mainsbridge
a868e7b260
Use events from gtk trunk, update immediately on scroll for osx as well.
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3775 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-20 18:22:24 +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
David Robillard
133ce92a30
Fix more wacky tabs.
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3768 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-19 18:36:41 +00:00
David Robillard
f201dc3e3c
Fix a bunch of stupid warnings.
...
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-19 18:16:50 +00:00
David Robillard
48a8363080
Fix classic memory error.
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3766 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-19 18:16:19 +00:00
David Robillard
df6ad01ece
Reduce diversion between 2.0 and 3.0 automation_line.h (cosmetic only).
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3765 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-19 17:48:57 +00:00
David Robillard
8f4c1f56ae
Make building with aubio (actually) optional.
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3764 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-19 17:46:38 +00:00
Paul Davis
e59facb581
fix range dragging post-multi-marker changes
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3759 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-19 14:27:30 +00:00
Paul Davis
21ea541267
shift-click to extend marker selection; marker drag moves all selected markers
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3758 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-19 10:42:09 +00:00
Sakari Bergen
959907af01
Fix possible double allocation of SF_BROADCAST_INFO
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3751 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-18 12:48:36 +00:00
Nick Mainsbridge
b8a4c5b7bf
Fix uninitialised variable. (thanks for the report songshop).
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3746 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-17 20:21:15 +00:00
Nick Mainsbridge
60e3b65985
Draw ruler bars larger than canvas width to avoid ugly resizing effects
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3735 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-16 19:29:51 +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
6685f9c6b7
Put timeline_group in the correct layer to begin with, fix missing header on new tracks caused by last commit (sorry about that).
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3723 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-14 11:24:23 +00:00
Nick Mainsbridge
f1ef1b0069
Speed up track resizing, fix disappearing automation controls when 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-14 10:08:57 +00:00
Doug McLain
4489fc159f
comment out *all* exporting debug
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3718 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-12 06:32:39 +00:00
Doug McLain
45adefca6a
comment out exporting debug
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3717 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-12 05:57:59 +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
Nick Mainsbridge
0a633242d8
fix region copy thinko in last commit.
...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3708 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-03 19:55:02 +00:00