Commit graph

2406 commits

Author SHA1 Message Date
Nick Mainsbridge
ece01aec70 ,arker_drag_line height is now physical screens height, no border on zoom box, whitespace fix.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-11 13:14:06 +00:00
Paul Davis
f75fa3404f minor C++ include issues, debug out removed and bump to 2.6
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3920 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-11 12:34:46 +00:00
Paul Davis
97e3ec1864 remove debug output
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-11 12:02:43 +00:00
Paul Davis
fcc6e5df27 remove debug output
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3918 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-11 11:57:02 +00:00
Paul Davis
ba71d9c0d8 fix dragging of region gain line, affected by coordinate system change caused by canvas merge (don't convert delta motion-computed coordinates back into item space)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3916 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-11 11:26:36 +00:00
Paul Davis
5097a849bb fix mixup of input/output selectors after a mixer strip has its Route/IO reset
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3914 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-11 09:41:09 +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
7ac8c745ed new swedish translation update
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3909 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-10 17:19:13 +00:00
Paul Davis
03a5ba78c3 fix URL's for freesound (debian patch)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3906 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-10 09:52:10 +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
b8bb5f30aa add config var for region fade visibility
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3901 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-09 21:40:09 +00:00
Paul Davis
4752fdabca add global fade toggle to menus
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3900 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-09 14:21:18 +00:00
Paul Davis
8bfba3aafb code cleanup
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3899 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-09 14:21:03 +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
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