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

4779 Commits

Author SHA1 Message Date
Paul Licameli
ae5c5c2b4a Simplify recent GStreamer changes with deleters. 2016-04-10 15:17:28 -04:00
Paul Licameli
59af732763 Mac build fixes; and implement deleters for our imitation unique_ptr 2016-04-10 14:15:51 -04:00
Paul Licameli
2696da89cb One more use of smart pointer object SampleBuffer, in Nyquist.h...
...Leaving no "naked" DeleteSamples.  Only SampleBuffer::Free now calls it
directly, and SampleBuffer calls Free in its destructor.
2016-04-10 00:07:21 -04:00
Paul Licameli
a655545a1e Some more factory functions return smart pointers
* factories:
  MakeCursor returns smart pointer; TrackPanel stores smart pointers to cursors
  AudacityApp::ParseCommandLine returns smart pointer
2016-04-09 23:19:35 -04:00
Paul Licameli
def8b7fa9b MakeCursor returns smart pointer; TrackPanel stores smart pointers to cursors 2016-04-09 23:07:27 -04:00
Paul Licameli
414d0faa65 AudacityApp::ParseCommandLine returns smart pointer 2016-04-09 23:02:25 -04:00
Paul Licameli
4022d1d5b2 Merge branch 'master' into factories 2016-04-09 23:01:00 -04:00
Paul Licameli
70bd46b8ad travis 2016-04-09 22:55:15 -04:00
Paul Licameli
98f739a076 cleanup the previous 2016-04-09 21:43:17 -04:00
Paul Licameli
093f055f1d Make GStreamer compilable (but it doesn't link), and rewrite with lots of RAII 2016-04-09 20:45:12 -04:00
Paul Licameli
7e8aad9148 Define finally 2016-04-09 20:44:38 -04:00
Paul Licameli
9c18d3853d ImportFileHandle::GetStreamInfo returns reference. Don't dereference NULLs. 2016-04-09 16:18:29 -04:00
Paul Licameli
eb6e093912 Pass arrays by reference into AudioIO::StartStream 2016-04-09 15:14:07 -04:00
Paul Licameli
b28ec2957a Make EXPERIMENTAL_MIDI_OUT compilable, but it doesn't link 2016-04-09 15:10:05 -04:00
James Crook
6ca3f25826 Merge pull request #117 from yurchor/master
Update Ukrainian translation
2016-04-09 14:49:17 +01:00
tip2tail
c95e7e8876 fixed capitalisation of strings 2016-04-09 14:23:30 +01:00
tip2tail
4ec3ef8fb4 Ensure help button works in same way as others in Audacity
Fixed messages in dialogs so times/duration shown in same order
2016-04-09 14:23:29 +01:00
tip2tail
b71da143b6 Add Help button to Timer Recording dialog that will link direct to the manual page on the Internet
Fixed spelling issues
2016-04-09 14:23:29 +01:00
tip2tail
3add43b931 Removed duplicated code to tidy up ProgressDialog confirmations. 2016-04-09 14:23:28 +01:00
tip2tail
6686d0e314 Introduce further enhancement of the Timer Recording process:
* Disk space warning if the recording potentially will not fit in disk space available.
* ProgressDialog enhancements that allow the Stop/Cancel button to be confirmed and the elapsed time to be hidden.
* Messages enhanced to clearly show the actions being taken.
2016-04-09 14:23:28 +01:00
scootergrisen
726efcf5c8 Updated Danish translation (da.po) 2016-04-09 11:55:15 +01:00
Paul Licameli
7c0073dd77 Unreported bug: memory and file handle leak when importing custom mpeg...
I could see this on windows:

Import a file such as .aiff format, while "Files of type:"
reads "FFmpeg-compatible files".
Leave Audacity running.
Attempt to delete the file in Windows Exploerer.
Get a message from Windows that the file is in use by Audacity and cannot be
deleted.
2016-04-09 00:21:38 -04:00
Paul Licameli
0ebc23e3a9 Another compilation fix in EXPERIMENTAL_SCOREALIGN, and one less delete 2016-04-08 21:50:15 -04:00
Paul Licameli
42fcfdab98 Fewer naked news and deletes in Tags.cpp and LabelDialog.cpp 2016-04-08 21:16:18 -04:00
Paul Licameli
c87eb0804b Unreported bugs: memory leaks, assertions dismissing Tags and Label editors...
Symptoms were:

Edit metadata; ESC; exit audacity -- memory leaks.

Edit metadata; single-click "Genre" field twice; ESC -- assertion violaion in
Windows debug build.

Make a label; Track > Edit Labels; single-click time field twice; esc -- also
caused assertions, then memory leak at exit.

However, there are still two small memory leaks at exit after using Label
editor, yet unexplained.
2016-04-08 20:48:58 -04:00
Paul Licameli
9f3e4213ec Partial compilation fixes for EXPERIMENTAL_EQ_SSE_THREADED plus __AVX_ENABLED 2016-04-07 14:37:08 -04:00
Steve Daulton
d7e7dbc84e Use Unicode escape codes in credits 2016-04-07 16:47:39 +01:00
Steve Daulton
1be7b0086f Consistent bit rates in MP3 export dialog
and update Plot Spectrum default.
2016-04-07 13:17:16 +01:00
Gale Andrews
7f3edc2523 Bug 1312 Further consistency fix for description
Don't start description with an object, per consistency with Manual.
2016-04-07 03:40:47 +01:00
Gale Andrews
b7aabee96a Bug 1317 Further consistency fix for description
Don't start description with an object, per consistency with Manual.
2016-04-07 03:35:01 +01:00
Paul Licameli
99405fbe17 Merge branch 'factories'
* factories:
  linux build
2016-04-06 17:00:14 -04:00
Paul Licameli
a3084fa557 linux build 2016-04-06 17:00:02 -04:00
Paul Licameli
738d345e3e Use smart pointers for various singletons and returns from factories, cloners 2016-04-06 16:27:55 -04:00
Paul Licameli
df5fcc3581 Make static "Destroy" methods for certain singletons unnecessary. 2016-04-06 16:24:46 -04:00
Paul Licameli
c9d50dc20b ODTask cloners return smart pointers 2016-04-06 16:06:36 -04:00
Paul Licameli
5477781ea8 Remove unused Sequence::Duplicate 2016-04-06 16:06:35 -04:00
Paul Licameli
c78e91f6c1 Image manipulation functions return smart pointers 2016-04-06 16:06:34 -04:00
Paul Licameli
99cb50d6db wxServer subclass uses safenew 2016-04-06 16:06:33 -04:00
Paul Licameli
fd8fa69c62 Singleton CommandDirectory used to leak! 2016-04-06 16:06:32 -04:00
Paul Licameli
29349fedbb Loaded modules managed by smart pointers 2016-04-06 16:06:31 -04:00
Paul Licameli
e0476b5e71 Module interfaces managed by smart pointers 2016-04-06 16:06:30 -04:00
Paul Licameli
54402bf00d Effects managed with smart pointers 2016-04-06 16:06:29 -04:00
Paul Licameli
a9afad17ca Plugin instances managed without naked new and delete 2016-04-06 16:06:27 -04:00
Paul Licameli
3481e678ea Manage the members of CommandOutputTarget with smart pointers 2016-04-06 16:06:12 -04:00
Paul Licameli
e8ad90b3c9 Manage Commands and CommandOutputTarget objects with smart pointers 2016-04-06 16:05:28 -04:00
Paul Licameli
f4441d7476 Command validator cloners return smart pointers, and...
... defined DefaultValidator so Validator can be abstract, as the comment for
Clone() stongly implies it should be.

But this is virtual is unused except in comments.
2016-04-06 16:05:21 -04:00
Paul Licameli
ff3e3d0e83 ExportPlugin::CreateMixer returns a smart pointer 2016-04-06 14:56:05 -04:00
Paul Licameli
e6e7b73043 ImportFileHandles 2016-04-06 14:56:04 -04:00
Paul Licameli
83e9e7de97 Clone functions required by wxWidgets base classes can use safenew 2016-04-06 14:08:43 -04:00
Paul Licameli
456c8fb01e ExportPlugins managed with smart pointers 2016-04-06 14:08:42 -04:00