Paul Licameli
b7f91e5674
Define movable_ptr_with_deleter
2016-04-02 00:50:19 -04:00
Paul Licameli
d9588dda9b
travis
2016-04-02 00:41:53 -04:00
Paul Licameli
539eb0edf6
Fix "memory leak" of decoder objects... though it wasn't really reachable...
...
... except with some EXPERIMENTAL flags turned on
2016-04-02 00:40:19 -04:00
Paul Licameli
cbd561be7d
Make EXPERIMENTAL_OD_FFMPEG compilable, and change some memory management
2016-04-02 00:02:52 -04:00
Paul Licameli
1aa9ddc76d
Define ArrayOf<X>, ArraysOf<X> to hide uses of new[] and delete[]...
...
... but it's still unused.
2016-04-01 22:44:34 -04:00
Steve Daulton
b5c5d55d2f
Fix bug 285
2016-04-01 21:46:56 +01:00
Paul Licameli
b279325d76
Mac build
2016-04-01 14:46:40 -04:00
Steve Daulton
127105618f
Fix bug 1367
2016-04-01 15:17:39 +01:00
James Crook
b764c465d0
Reduced some repetitive code. Added credit for Mark Young.
...
Also added i18n-hint on translation and a couple of TODOs for further improvement.
2016-04-01 11:13:32 +01:00
James Crook
7429848573
Merge remote-tracking branch 'myoung/FurtherTRImprovements'
2016-04-01 10:26:56 +01:00
Paul Licameli
e327032137
Mac build
2016-03-31 17:39:04 -04:00
tip2tail
4956ce3e68
Changes as per James's advice, allow Timer Recording to be used when project is empty if user has disabled warnings in prefs. Also resolved a further message whitespace issue.
2016-03-31 22:26:26 +01:00
tip2tail
758eae6b3a
Resolved whitespace issue on long string message dialog text as per the development guidelines in wiki.
2016-03-31 10:30:33 +01:00
Paul Licameli
13595620cf
Fix mac build
2016-03-30 23:24:39 -04:00
tip2tail
aa5ffe99a7
Timer Recording Enhancements to allow Automatic Save and Export after
...
recording. Also allows for additional options to be carried out after a
successful timer recording such as Exit, Retsrat and Shutdown.
2016-03-30 20:42:59 +01:00
Steve Daulton
484f23dcc7
Fix for bug 814
2016-03-28 21:07:25 +01:00
Paul Licameli
a6ca36cdab
TrackList holds smart pointers to tracks, Add() only takes rvalue refs to such
2016-03-26 15:41:31 -04:00
Paul Licameli
7d1ea7b82e
Use a static unique_ptr for the global clipboard
2016-03-26 15:41:30 -04:00
Paul Licameli
c5a70126eb
TrackList always deletes tracks on destruction or when cleared
2016-03-26 15:41:29 -04:00
Paul Licameli
824ff647f8
Import functions return containers of smart pointers to new tracks
2016-03-26 15:41:27 -04:00
Paul Licameli
bc5519a0e2
TrackList::Remove and TrackListIterator::RemoveCurrent always delete the track
2016-03-26 15:41:26 -04:00
Paul Licameli
4edc960acd
Redo Effect::ReplaceProcessedTracks without RemoveCurrent
2016-03-26 15:41:25 -04:00
Paul Licameli
81c2cc950f
Rewrite the sorting of tracks
2016-03-26 15:41:24 -04:00
Paul Licameli
a6fe2b19d6
TrackList uses std::list. Eliminate TrackListNode and unused ReplaceCurrent().
2016-03-26 15:41:21 -04:00
Paul Licameli
c4fc7e2bf0
MixAndRender returns unique_ptr results (in a std::pair)
2016-03-26 11:50:14 -04:00
Paul Licameli
3015a9c8d9
Track cut and copy functions return a unique_ptr argument...
...
... Because they are factory functions.
2016-03-26 11:50:13 -04:00
Paul Licameli
5ef4dd46a5
TrackFactory functions return std::unique_ptr, although some callers...
...
... release() them for now.
2016-03-26 11:50:12 -04:00
Paul Licameli
f42a953752
Track duplication methods return unique_ptr, although some callers...
...
... simply release() them for now.
2016-03-26 11:50:10 -04:00
Paul Licameli
5162ab5c5b
Use TrackFactory in more places...
...
... There should now be no direct allocation of Track subclasses with new,
except in those classes' own methods
2016-03-26 11:50:09 -04:00
Paul Licameli
1e641957ca
Fix MemoryX.h
2016-03-26 11:50:08 -04:00
Paul Licameli
3c57e1fc0c
Do that again without macros... I don't like macros if I can avoid 'em.
2016-03-26 00:06:51 -04:00
Paul Licameli
de75a00c10
Define movable_ptr and make_movable, use __AUDACITY_OLD_STD__ in fewer places
2016-03-25 20:27:25 -04:00
Steve Daulton
85bd752de7
Fix for bug 1364
2016-03-24 15:49:46 +00:00
Steve Daulton
ff6a82ae8c
Goodbye to magic number in Contrast.cpp
...
Also added several TODO and FIXME comments for ongoing fixes.
2016-03-24 13:05:03 +00:00
Steve Daulton
4b070725f1
Fix for bug 512
2016-03-24 13:05:03 +00:00
Steve Daulton
f536354330
Fix by Matěj Fiala for bug 1168
...
Thanks to Matěj Fiala for this fix.
2016-03-24 10:02:20 +00:00
Paul Licameli
f87433ac53
Bug1084: Restore the fix, while also keeping the crash bug 1242 fixed.
2016-03-22 13:21:36 -04:00
Paul Licameli
6f4c198771
Bug1242: fixed crash using VST plugin Ambience...
...
... Problem was a mismatch between a chunk retrieved for program only, but
then copied to slave effect as for a bank. Plug-in choked on the GIGO.
Fix makes chunk for bank both ways.
2016-03-22 12:39:34 -04:00
Gale Andrews
ff2ad783a0
Update year.
...
Could we automate that?
2016-03-22 02:07:20 +00:00
Steve Daulton
7464f49a66
Fix for bug 513
2016-03-22 00:45:48 +00:00
Steve Daulton
3cab059038
Tweak EQDefaultCurve update path
...
and add log message to aid testing.
2016-03-21 11:59:41 +00:00
Steve Daulton
437d6047c1
Update credits
2016-03-18 22:33:49 +00:00
Paul Licameli
7ed4c050cb
Fix unused argument warning
2016-03-15 00:09:36 -04:00
Paul Licameli
911513fefe
Fix new TruncateSilence -- be sure to iterate over the correct track list
2016-03-14 11:30:03 -04:00
Paul Licameli
74dc49a9e9
Fix new TruncateSilence -- be sure to iterate over the correct track list
2016-03-14 11:29:34 -04:00
Paul Licameli
c609af3bbe
Correct TrackList::Swap -- mind the back-pointers in the tracks.
2016-03-14 11:18:32 -04:00
Paul Licameli
4cf9e0e6d6
Bug1354: Importing MIDI via Import Audio... and list-of-files should undo...
...
... also fixes a possible memory leak in direct Import MIDI... along the
failure path.
2016-03-14 11:02:09 -04:00
Steve Daulton
919712e3f7
Fix default EffectTypeProcess for Nyquist Prompt
...
Nyquist Prompt did not default to process type if a previous script
in the current session set a different type.
2016-03-14 09:22:25 +00:00
Steve Daulton
07a2e9a010
Fix for bug 1357
2016-03-13 21:29:48 +00:00
Gale Andrews
311a471286
Less scary message if can't update effect settings
2016-03-09 21:20:54 +00:00