1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-16 08:34:10 +02:00

4794 Commits

Author SHA1 Message Date
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
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
Steve Daulton
7d5e54e364 Fix some assert error in EQ curves
Selected EQ curves in Draw mode should now retain their name
when they are selected.
2016-03-08 21:55:07 +00:00
Gale Andrews
a856d1e3b0 Updated for update to portaudio r1966 2016-03-08 19:37:41 +00:00
Leland Lucius
20c438d841 Remove aclocal.m4 files 2016-03-08 02:24:15 -06:00
Leland Lucius
4c1a1d36a3 Regenerate and reapply SRCDIR build patch 2016-03-08 02:23:28 -06:00
Leland Lucius
69c043eb12 Regenerate and reapply JACK patch 2016-03-08 02:13:35 -06:00
Leland Lucius
6056618220 Regenerate and reapply WASAPI loopback patch 2016-03-08 02:00:05 -06:00
Leland Lucius
2ab02e084e Regenerate and reapply WASAPI fix patch 2016-03-08 01:56:19 -06:00