f42cc9af98
fix rounding errors and bbox glitches that led to lines missing redraws, plus a few runtime+space efficiency tweaks for simpleline
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8350 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-28 20:35:18 +00:00
c5efa4c5d2
make --debug the default for building ardour3
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8349 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-28 20:31:38 +00:00
Carl Hetherington
84b4dd94e3
Remove unnecessary _have_transaction flag in TrimDrag. Fix undo when a trim of one region affects the previous or next regions too ( #3632 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8348 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-28 19:17:37 +00:00
Carl Hetherington
3d0c3ffb6a
Missing files.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8347 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-28 18:43:22 +00:00
Carl Hetherington
f8ebb4582d
Unify program change and bank handling so that they are manipulated together.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8346 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-28 18:19:40 +00:00
Carl Hetherington
390f18c115
Clarify commentary slightly. No functional changes.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8345 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-28 03:05:09 +00:00
Carl Hetherington
fd0c45ec97
Use the channel selector to decide which channel to add program changes to.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8343 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-26 16:19:32 +00:00
Carl Hetherington
bc29adf054
Fix Ardour -> PROGRAM_NAME ( #3627 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8342 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-26 02:43:00 +00:00
bffe0c4f98
Fix broken whitespace.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8341 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-24 22:48:05 +00:00
8e201d18a8
a few more EPA tweaks (from 2.X)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8340 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-23 14:23:31 +00:00
27ab352f5b
add EPA stuff from 2.X
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8338 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-23 04:17:56 +00:00
e99087a273
add EPA stuff from 2.X
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8337 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-23 04:17:45 +00:00
Carl Hetherington
4336bb25d7
Use MTC instead of MIDI Timecode as the string for the external sync button. Fixes #3621 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8332 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-23 00:26:54 +00:00
Carl Hetherington
eb0faf3ec3
Remove Program Change automation lane options.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8331 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-23 00:02:03 +00:00
Carl Hetherington
818f2cffd7
Add menu option to insert program changes.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8330 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-22 23:45:04 +00:00
Carl Hetherington
95bb346926
Refactor so that all the locate-related stuff in CursorDrag is in one method. Also, wait for timecode transmission to be suspended before sending MMC/MTC locates, rather than hoping it will be suspended in time.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8329 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-22 23:43:04 +00:00
Carl Hetherington
d83219706f
Update transport clocks on initial grab of the playhead cursor.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8328 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-22 23:27:42 +00:00
Carl Hetherington
039adb4c6b
Account for the fact that CursorDrag only ever drags the playhead. Fix playhead misbehaviour when you start a drag from outside it.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8327 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-22 23:16:39 +00:00
Carl Hetherington
9eca7915e2
Fix some i18n problems.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8326 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-22 01:44:00 +00:00
Carl Hetherington
37b680cd15
Fix region resizing with grid snapping enabled ( #3620 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8325 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-22 01:06:18 +00:00
19fc040be1
Calculate length_beats of split MIDI regions from 'parent' region.
...
This is probably less than ideal, since setting the properties later will
recompute from frames values. It is, however, slightly more rightish :)
Seemingly correct cases (i.e. where length_beats is correct):
* Recording a new MIDI region
* Splitting said region
Broken:
* Loading a region from XML
Untested:
* Import
git-svn-id: svn://localhost/ardour2/branches/3.0@8324 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-22 00:48:59 +00:00
9e5550254c
Remove lying comment.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8323 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-22 00:09:42 +00:00
372880803f
Less code.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8322 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-22 00:01:15 +00:00
10a4435198
Consistently mark all regions "interesting".
...
(I havn't used the shared_ptr debugging stuff, but presumably marking an arbitrary subset of allocated regions "interesting" is not the idea...).
git-svn-id: svn://localhost/ardour2/branches/3.0@8321 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-21 23:52:10 +00:00
da89cd0c9b
Remove confuzzling offset_relative stuff from region construction (pre-properties "hangover").
...
This commit (in theory) only reorganizes code, not change actual functionality.
RegionFactory now uses a distinct Region constructor for each case, which is a bit easier to wrap around.
Note comment at region.cc:276, this case seems pretty weird to me (more hangover?).
git-svn-id: svn://localhost/ardour2/branches/3.0@8320 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-21 17:03:16 +00:00
71986da212
Only calculate length_beats from length (in frames) if length property (in frames) is given, but length_beats property is not.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8319 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-21 00:53:18 +00:00
4e62adfe1a
Fix more broken whitespace.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8318 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-21 00:41:13 +00:00
384c418ae0
Set new (recorded) MIDI source length to length of entire capture (instead of length from start to last actual recorded event).
...
Precisely set length_beats of newly captured MIDI regions to source length in beats (no conversion).
git-svn-id: svn://localhost/ardour2/branches/3.0@8317 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-21 00:04:58 +00:00
fe79c42725
Remove unused Region constructor.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8316 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 23:24:43 +00:00
fb21bf1480
Fix more broken whitespace.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8315 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 23:05:18 +00:00
f6ed36a457
Fix more broken whitespace.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8314 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 22:51:17 +00:00
7e3404e2a0
Fix more broken whitespace.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8313 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 21:50:46 +00:00
3f30e8093e
Clean up region.h and trim include tree.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8312 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 21:22:49 +00:00
Carl Hetherington
fe879145fe
Fix converter origins for computing region length.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8309 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 19:06:58 +00:00
Carl Hetherington
1fd105fbd4
Fix split of midi regions after tempo / meter changes.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8308 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 18:47:18 +00:00
76e7a89a51
use notification of what was changed in MidiRegion::post_set() call
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8307 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 16:11:23 +00:00
e178fb2e50
add notification of what was changed in Stateful::post_set() call
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8306 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 16:10:58 +00:00
Carl Hetherington
0945b96986
Fix summary height scaling problems when there are not enough tracks to fill the editor window.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8305 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 15:35:15 +00:00
Carl Hetherington
3ec58e478c
Allow deletion of program changes in the same way as notes.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8304 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 13:30:31 +00:00
Carl Hetherington
570ed69d2a
Allow dragging of program change flags in MIDI regions.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8303 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 03:42:59 +00:00
Carl Hetherington
ed0deee747
Make sure that _POSIX_VERSION is available.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8302 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 01:17:24 +00:00
Carl Hetherington
5f4bdb233a
Clean up plugin preset handling a bit.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8301 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-19 23:11:01 +00:00
Sakari Bergen
bb7dbe6d86
Fix function pointer to void* cast (and vice-versa) related warnings on POSIX systems
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8300 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-19 23:09:30 +00:00
Carl Hetherington
e212c8de66
Fix some spacey tabs.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-19 20:02:55 +00:00
Carl Hetherington
1c3d7637b5
Hopefully fix visual glitches on dragging fade ins/outs.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8298 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-18 23:53:37 +00:00
Carl Hetherington
556c627fed
Further fade handle twaeks.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-18 21:34:32 +00:00
Carl Hetherington
66be0059e7
Tweak positioning of fade handles.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8296 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-18 20:43:00 +00:00
Sakari Bergen
94c69b3c91
Finally implement position aware silence adding in export (i.e. bbt times are converted to frames correctly)
...
This will work when Session::convert_to_frames_at is fixed :)
git-svn-id: svn://localhost/ardour2/branches/3.0@8295 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-18 19:27:04 +00:00
Sakari Bergen
ffadfff650
Add "session rate" as a possible sample rate for export formats
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8294 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-18 17:56:41 +00:00
Carl Hetherington
850b7d24a9
Fix comment. Fix believed erroneous add of ticks to a fractional beats value.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8293 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-17 19:20:34 +00:00