1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-05 06:09:47 +02:00

4809 Commits

Author SHA1 Message Date
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
a67cfe9e5c Make EXPERIMENTAL_OD_FFMPEG compilable, and change some memory management 2016-04-02 00:09:54 -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
bb64f4f92c Merge branch 'master' into TrackListNode 2016-04-01 22:45:56 -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
27bc90c722 Mac build 2016-04-01 14:47:00 -04:00
Paul Licameli
b279325d76 Mac build 2016-04-01 14:46:40 -04:00
Paul Licameli
06d07dc39e Merge branch 'master' into TrackListNode 2016-04-01 14:45: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
557c9033ed Fix mac build again 2016-03-31 17:41:01 -04: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
89d9e7e48f Fix mac build 2016-03-30 23:24:56 -04:00
Paul Licameli
13595620cf Fix mac build 2016-03-30 23:24:39 -04:00
Paul Licameli
7e83d70350 Merge branch 'master' into TrackListNode 2016-03-30 23:24:26 -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
581be2ce13 Redo all memory management of Track objects with smart pointers...
... I am aware of at least a few control paths where memory leaked and no
longer will.  But I did not seek to identify all of them and am not troubling
to enumerate them here.

Errors in memory management of tracks has caused orphan block files before:
see bug 834 for instance.
2016-03-26 15:44:22 -04: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
Yuri Chornoivan
68e1d3beee Update Ukrainian translation 2016-03-16 19:47:00 +02:00