13
0
Commit Graph

3636 Commits

Author SHA1 Message Date
ed00714b15 Fix really weird brace mismatchey way of ifdeffing.
git-svn-id: svn://localhost/ardour2/branches/3.0@5966 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-28 23:53:16 +00:00
72a21329dd Remove empty/unused session_feedback.cc
git-svn-id: svn://localhost/ardour2/branches/3.0@5965 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-28 23:46:33 +00:00
Carl Hetherington
dc95a690e0 Patch from oofus to fix mantis 1867.
git-svn-id: svn://localhost/ardour2/branches/3.0@5964 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-28 22:00:45 +00:00
42694c6157 another small commit and a reminder: rev 5961 or this one requires you to remove ~/.ardour3/ardour.rc
git-svn-id: svn://localhost/ardour2/branches/3.0@5962 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-28 21:38:00 +00:00
c4ac437490 * libardour uses ARDOUR::nframes_t and ARDOUR::nframes64_t explicitly in headers
* use explicit operator<< and operator>> that in turn use PBD::EnumWriter when serializing and deserializing to/from rc files
* adds scrolling in mixer window (from 2.X)
* BBT math stuff - untested, but basically operational
* move LocaleGuard into its own file(s) in libs/pbd
* Tempo now uses nframes64_t everywhere (except for sample rate values)
* as in 2.X, use mkstemp and hack to avoid temp file nonsense, and remove erroneous free() from disk stats output


git-svn-id: svn://localhost/ardour2/branches/3.0@5961 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-28 21:36:40 +00:00
ee4493301a Remove unused source reference count.
git-svn-id: svn://localhost/ardour2/branches/3.0@5956 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-28 15:34:07 +00:00
fe910cdc13 Add bbt_add that does not take Metric parameter.
git-svn-id: svn://localhost/ardour2/branches/3.0@5955 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-28 15:33:54 +00:00
5ec7afb734 Guaranteed to be the most robust test, ever (*).
(* Offer void everywhere)


git-svn-id: svn://localhost/ardour2/branches/3.0@5954 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-28 15:33:06 +00:00
c71f419920 Make ARDOUR::init safer.
git-svn-id: svn://localhost/ardour2/branches/3.0@5950 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-27 18:00:45 +00:00
da85f65ec0 Update BBT_Time add and subtract interfaces (stubs, just for unit test building).
Build unit tests against libardour itself rather than compiling in bits.


git-svn-id: svn://localhost/ardour2/branches/3.0@5949 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-27 17:47:54 +00:00
d51ce9ea71 Fix spacey tab.
git-svn-id: svn://localhost/ardour2/branches/3.0@5948 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-27 17:47:02 +00:00
94e4d93365 Add test running script in source directory.
git-svn-id: svn://localhost/ardour2/branches/3.0@5946 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-27 16:18:57 +00:00
96ca98c586 Fix wacky indentation.
git-svn-id: svn://localhost/ardour2/branches/3.0@5945 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-27 16:18:13 +00:00
06ed0f4eaa Consistent test source file naming (not the Ardour convention though, maybe should change, whatever).
git-svn-id: svn://localhost/ardour2/branches/3.0@5944 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-27 16:17:07 +00:00
70cf82ac9c Aaaaaaaaaaaand actually add those files.
git-svn-id: svn://localhost/ardour2/branches/3.0@5943 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-27 16:15:33 +00:00
c35eae34c3 Skeleton tests for BBT_Time.
git-svn-id: svn://localhost/ardour2/branches/3.0@5942 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-27 16:15:12 +00:00
a2e73bc5f7 ardour/tests => ardour/test (consistency with evoral).
git-svn-id: svn://localhost/ardour2/branches/3.0@5941 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-27 16:07:03 +00:00
d46998dae7 Add OK/Cancel buttons to quantize dialog.
git-svn-id: svn://localhost/ardour2/branches/3.0@5939 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-27 02:36:42 +00:00
fc912ee219 add file
git-svn-id: svn://localhost/ardour2/branches/3.0@5938 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-27 02:32:11 +00:00
a00a2661c5 add file
git-svn-id: svn://localhost/ardour2/branches/3.0@5937 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-27 02:29:49 +00:00
68a3144344 new SnapBBT debug option, split out BBT_time and start work on BBT arithmetic framework. this will cause a full recompile, so find something else to do
git-svn-id: svn://localhost/ardour2/branches/3.0@5936 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-27 02:24:56 +00:00
Carl Hetherington
9ad08bfe97 Fix 2884 and also potential crash if there are no control outs.
git-svn-id: svn://localhost/ardour2/branches/3.0@5935 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-27 00:53:24 +00:00
0cc0c13444 provide accessors to Editor::snap_{type,mode} ; when nudging notes, use grid in preference to nudge clock
git-svn-id: svn://localhost/ardour2/branches/3.0@5934 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-26 23:43:04 +00:00
b6e90314b0 Don't prevent user from choosing Linear interpolation for controllers if they want to (just set default).
git-svn-id: svn://localhost/ardour2/branches/3.0@5933 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-26 22:07:23 +00:00
93fccfca30 Fix adding control points to MIDI 'automation' regions.
This one wins the award for most time spent finding really stupid tiny little error.


git-svn-id: svn://localhost/ardour2/branches/3.0@5932 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-26 22:01:46 +00:00
f0d0ad687d Make automation error non-fatal so we can actually work on this stuff...
git-svn-id: svn://localhost/ardour2/branches/3.0@5931 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-26 22:01:01 +00:00
7d9e782c3a Remove idiocy.
git-svn-id: svn://localhost/ardour2/branches/3.0@5930 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-26 21:38:09 +00:00
8d168bda87 Remove cyclic Source->Playlist references (and with it all dependence on Playlist from Source and children and a bunch of finicky reference managing code).
git-svn-id: svn://localhost/ardour2/branches/3.0@5925 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-26 17:24:08 +00:00
fa5aeb7892 change the use of "SMPTE" to "Timecode" to reflect the global economy and the end of american dominance on the world audio production stage
git-svn-id: svn://localhost/ardour2/branches/3.0@5924 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-26 14:38:58 +00:00
5dd8dc0db3 revert patch for 2388 (from 2.0-ongoing)
git-svn-id: svn://localhost/ardour2/branches/3.0@5923 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-26 12:06:02 +00:00
f53b49e402 (forward ported from 2.0-ongoing) fix for peak data reading (carl h, #2388)
git-svn-id: svn://localhost/ardour2/branches/3.0@5921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-26 01:07:45 +00:00
1047b0773e Tidy up debug printing.
git-svn-id: svn://localhost/ardour2/branches/3.0@5919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-25 22:09:54 +00:00
e033ac94f0 Remove random crazy comment fragment.
Fix spacey tabs.


git-svn-id: svn://localhost/ardour2/branches/3.0@5918 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-25 22:04:05 +00:00
4c43ef5e1f Remove unused source file_changed methods.
git-svn-id: svn://localhost/ardour2/branches/3.0@5917 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-25 21:45:19 +00:00
01b761bbaa Remove Session dependency from BeatsFramesConverter.
More constey TempoMap accessors.


git-svn-id: svn://localhost/ardour2/branches/3.0@5916 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-25 21:13:02 +00:00
cd1c58e031 search $TOP/build/default/gtk2_ardour BEFORE ../gtk2_ardour when looking for bindings files etc ; make debug tracing show the "debug option" the output relates to as a prefix
git-svn-id: svn://localhost/ardour2/branches/3.0@5915 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-25 20:36:10 +00:00
e3d162a4ad fix default binding for toggling MIDI edit mode
git-svn-id: svn://localhost/ardour2/branches/3.0@5914 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-25 18:28:34 +00:00
8f66b7978f do not sort MIDI regions by layer since they are all transparent
git-svn-id: svn://localhost/ardour2/branches/3.0@5913 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-25 15:59:02 +00:00
de5e463904 make per-region note-tracking in MidiPlaylist work correctly, or something very close to it. note that locking isssues remain when regions (and thus note trackers) are removed
git-svn-id: svn://localhost/ardour2/branches/3.0@5912 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-25 14:42:46 +00:00
e0a2d49869 Strip trailing whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@5910 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-24 22:41:27 +00:00
74fc799497 Fix needlessley explodey MidiPlaylist constructor.
git-svn-id: svn://localhost/ardour2/branches/3.0@5909 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-24 22:39:11 +00:00
31416ab7b1 Fix tab width assumption used for alignment.
git-svn-id: svn://localhost/ardour2/branches/3.0@5908 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-24 15:47:48 +00:00
c67e4607e6 More standard --help output.
git-svn-id: svn://localhost/ardour2/branches/3.0@5907 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-24 15:43:59 +00:00
1bb85bcdae Move newlines outside of translated string.
git-svn-id: svn://localhost/ardour2/branches/3.0@5906 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-24 15:39:11 +00:00
1716d75f9f Apply accurate copyright header.
Shrink.


git-svn-id: svn://localhost/ardour2/branches/3.0@5905 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-24 15:35:50 +00:00
0ac99a4236 debug-tracify current MIDI playlist debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@5904 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-24 13:51:33 +00:00
f8fe64a91e (FULL commit) start of a nominal debug tracing system, with 64 bits available for flags; track notes by region in MidiPlaylist, and resolve them if they are left hanging at region boundaries. note: MIDI playback is still not working 100% though its better now.
git-svn-id: svn://localhost/ardour2/branches/3.0@5903 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-24 13:26:56 +00:00
dbc75e0749 start of a nominal debug tracing system, with 64 bits available for flags; track notes by region in MidiPlaylist, and resolve them if they are left hanging at region boundaries. note: MIDI playback is still not working 100% though its better now.
git-svn-id: svn://localhost/ardour2/branches/3.0@5902 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-24 13:26:26 +00:00
a532e7247c Move butler methods from Session to Butler.
Slay the dragon.  A lil' bit.


git-svn-id: svn://localhost/ardour2/branches/3.0@5901 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-24 00:39:28 +00:00
d56817e785 Split butler into separate object (partially, just data so far...)
git-svn-id: svn://localhost/ardour2/branches/3.0@5900 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-23 23:23:00 +00:00