1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-03 07:33:49 +01:00
Commit Graph

3476 Commits

Author SHA1 Message Date
Paul Licameli
2207ebeb7d Merge branch 'revert' 2016-04-13 18:11:59 -04:00
Paul Licameli
def73e80ef Revert "Simplify WaveTrack::Locker"
This reverts commit 02a2bdc92b.
2016-04-13 18:11:45 -04:00
Paul Licameli
5d28a05702 RAII object for pausing and unpausing OD manager 2016-04-13 17:57:10 -04:00
Gale Andrews
0e0b0d999d Correct name of Lithuanian translator. 2016-04-13 13:00:32 +01:00
Paul Licameli
316ed3afc2 Fix another memory leak in FFmpeg import. 2016-04-13 00:22:39 -04:00
Paul Licameli
c760361867 Merge branch 'master' of github.com:audacity/audacity 2016-04-13 00:12:57 -04:00
Steve Daulton
5b968e8250 Fix bug 1374 2016-04-12 21:58:44 +01:00
Paul Licameli
02a2bdc92b Simplify WaveTrack::Locker 2016-04-12 12:03:01 -04:00
Gale Andrews
5667d2c028 Fix remaining name display problems on Windows
and use \u rather than \x to ensure correct character is displayed, as suggested by David Bailes
2016-04-12 13:18:23 +01:00
Paul Licameli
1033095696 RAII for locking of WaveTracks 2016-04-12 00:55:59 -04:00
Paul Licameli
48658097d6 Fix static_assert in default_delete and define move before unique_ptr 2016-04-12 00:55:59 -04:00
Paul Licameli
f06dadbd68 Comment out unused function declarations 2016-04-12 00:55:41 -04:00
Paul Licameli
f7780adbf5 Comments about CloseLock() functions 2016-04-12 00:54:55 -04:00
Paul Licameli
cfaf3564a2 travis 2016-04-11 16:00:29 -04:00
Paul Licameli
f9da767cbd Remove a friend declaration from Project, privatize a pointer member...
... and make implementation of that pointer a smart one.
2016-04-11 14:42:57 -04:00
Paul Licameli
6c2773cb0b This really fixes a bug, but only with certain Experimentals enabled...
... and certain other changes too.  It is involved in code that makes sure
the save of a file with incomplete on-demand loads properly waits for them
to finish.  It should not really affect production.

The experimentals are EXPERIMENTAL_OD_FLAC and EXPERIMENTAL_OD_FFMPEG.
2016-04-11 14:04:55 -04:00
Paul Licameli
df28289058 Avoid repeated calls to BlockFile::GetFileName...
... because wxFileName is not a featherweight.
2016-04-11 09:46:00 -04:00
David Bailes
85e928de73 Making access keys for preview buttons consistent
In std::unique_ptr<wxSizer> CreateStdButtonSizer(wxWindow *parent, long buttons, wxWindow *extra)
changed access key of preview button from v to P, so that it's consistent Preview buttons created elsewhere.
2016-04-11 13:48:13 +01:00
Paul Licameli
6b954dc0f4 Fix mac build 2016-04-11 07:42:51 -04:00
Paul Licameli
b0c55e4386 Bug1358: On Mac, undocked toolbars and screenshot window should not vanish...
... when switching from Audacity to another application.
2016-04-11 06:44:38 -04:00
Paul Licameli
f00144e9a5 Sweep for filename copying: various 2016-04-10 22:26:28 -04:00
Paul Licameli
2d7e21536e Sweep for filename copying: prefs and effects 2016-04-10 22:25:49 -04:00
Paul Licameli
c3cca71461 Sweep for filename copying: import and export 2016-04-10 22:24:12 -04:00
Paul Licameli
8f02213e23 travis 2016-04-10 21:19:15 -04:00
Paul Licameli
f94b3b3afa Add some const qualifiers to BlockFile methods 2016-04-10 21:05:20 -04:00
Paul Licameli
daf92c43f8 Sequence::Copy is a factory returning smart pointer. WaveClip stores it. 2016-04-10 20:47:45 -04:00
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
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
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
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
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