Commit Graph

39 Commits

Author SHA1 Message Date
Paul Licameli dbaa811577 Stack-allocate where possible! ...
... Removed many unnecessary naked news and deletes.
2016-02-17 18:15:57 -05:00
Paul Licameli df6a7c5464 More uses of safenew for classes we derive from wxWindow classes...
... Also removed some unnecessary deletes of widgets that are managed by parent
windows
2016-02-14 20:39:28 -05:00
Benjamin Drung 162392e8cf ExportMP3: Fix compiling with static loading
Audacity can be built with dynamically loading/unloading the MP3 library
(the default) or dynamically linked against the shared object file
(--disable-dynamic-loading). The code to load the library is only needed
in the former case.
2015-10-16 00:36:26 +02:00
Leland Lucius 4e0cb1af71 Check for valid lame lib before prompting for metadata. 2015-08-27 22:29:02 -05:00
Leland Lucius b8dc019146 Adjust MP3 export defaults as suggested in bug #1136 2015-08-24 00:58:23 -05:00
Leland Lucius 54902ddb65 Fix for bug #1136 2015-08-16 15:21:39 -05:00
Leland Lucius 617e0713df This should fix bug #1111
In addition it adds an option to open the full FFmpeg options
dialog.
2015-08-05 02:28:42 -05:00
Leland Lucius 37168ebbf6 Merge remote-tracking branch 'upstream/master' into wx3 2015-07-28 15:06:25 -05:00
Paul Licameli d39eaa4e65 Remove WaveTrack.h from other headers 2015-07-28 10:02:05 -04:00
Leland Lucius 3fe146f306 Merge remote-tracking branch 'upstream/master' into wx3 2015-07-19 18:00:02 -05:00
Paul Licameli e70f91c64e Removed ShuttleGui.h from other headers 2015-07-19 12:31:03 -04:00
Leland Lucius 4deccfc980 Round 3 retry...helps to add the changed files to the commit 2015-07-13 12:36:40 -05:00
David Bailes f458df1c7b Changes to a number of dialogs so that the NVDA screen reader can read the titles. Missed these in my last patch. The accessibility name of the dialog is set to the title. 2015-05-18 13:57:05 +01:00
james.k.crook@gmail.com 8a9987a0d9 From: martin@steghoefer.eu [PATCHES 02-15 of 15] Fix runtime problem with wxWidgets 3.0:
Correct string formatting for:
2/15  %d + enum => %d + int
3/15  %lld + int64_t => %lld + long long
4/15  %d + int64_t => %lld + long long
5/15  %d + double => %f + double
6/15  %d + int32_t => %d + int
7/15  %d + intptr_t => %p + void*
8/15  gint, guint
9/15  %d + long => %ld + long
10/15 %n + int => %d + int
11/15 %x + int => %x + unsigned int
12/15 %f + int => %d + int
13/15 %S + wxChar* => %s + wxChar*
14/15 %d + size_t => %d + int
15/15 %d + size_t => %lld + long long

"The functions wxString::Format, wxString::Printf (and others indirectly) have become stricter about parameter types that don't match (format specifier vs. function parameters). So the bugs (that were already present in audacity before) become visible in wx3.0 as error message dialogs. I've checked all occurrences of Printf, wxPrintf, PrintfV, Format, FormatV, wxLogDebug and wxLogError systematically and made the type match."

Note (9/15): In TrackPanel.cpp, ExportMP2.cpp and CompareAudioCommand.cpp this patch supersedes related change done in r13466 because the new solution requires fewer casts and therefore simplifies the code.

Note: Many .po files are affected, and we need to be very careful about this.  Incorrect "%d" and similar in translation files may lead to crashes in those languages (only).  This is something we should actually have been more careful about in the past.  We need to write a script to check that the "%d" and similar format specifiers match between English and translation.
2014-11-08 16:42:34 +00:00
RichardAsh1981@gmail.com a6150f3443 Commit Steve's patch for Bug 728 2014-10-02 21:34:01 +00:00
benjamin.drung@gmail.com 277932dccb Remove trailing spaces. 2014-06-03 20:30:19 +00:00
benjamin.drung@gmail.com 0a5ed743b8 Fix -Waddress compiler warning. 2014-05-29 15:38:54 +00:00
james.k.crook@gmail.com 30e6a3dec4 Removed some per-file memory allocation debugging that is not needed (and generates warnings) now that we do it from AudacityHeaders.h 2014-01-13 21:21:14 +00:00
benjamin.drung@gmail.com f0b2b26e0b Move LAME header file from src/include to lib-src/lame/lame.
The LAME header file is part of the upstream LAME project and does
not belong in the src/ tree of Audacity.
2013-11-11 13:48:56 +00:00
v.audacity 884dfaa652 Oops, accidentally committed a extra ' ' that Joel had in his patch. 2013-08-31 02:44:10 +00:00
v.audacity 933c16fe61 Joel Bouchat's patch for bug 51 (!) 2013-08-31 02:42:26 +00:00
james.k.crook@gmail.com dba81b3f1c Cleanup: Fixed lots of trivial MSVC warnings. 2013-08-25 21:51:26 +00:00
v.audacity e8714acce7 Gale's patch for [Audacity-quality] "Help buttons in dialogues WAS Re: Nyquist Generate Prompt" thread 2013-05-19 00:22:26 +00:00
richardash1981 1fd52b3796 cleanup of exporters based on patch by Campbell Barton: Include headers into classes, remove tail comments, correct the factory method comments 2013-03-03 20:25:59 +00:00
v.audacity c26b3c6b49 Campbell Barton's further patch to turn many, many tabs to our 3-space convenbtion 2013-02-23 04:33:20 +00:00
richardash1981 b95918fe52 apply parts of Campbell Bartons patch for cleaning up compiler warnings: add static qualifiers to methods, ensure prototypes match definitions and some whitespace and comment changes 2013-02-22 21:29:19 +00:00
v.audacity ebb4f530bb Apparently, wxConfigBase::Write() does not update values for next access on all platforms unless Flush() method is called. Added many calls to wxConfigBase::Flush() to make sure the Rad() calls get the right values. 2012-08-02 06:03:19 +00:00
v.audacity 87610cea39 Benjamin Drung's disable-dynamic-lame.patch for http://bugzilla.audacityteam.org/show_bug.cgi?id=233 2012-06-25 01:41:57 +00:00
james.k.crook@gmail.com 63f0b8b09e Fixed more internationalisation hints. 2012-03-20 16:17:37 +00:00
james.k.crook@gmail.com 69476e785c Fixed more internationalisation hints. 2012-03-20 15:36:02 +00:00
v.audacity 3a1d4334f2 Make wxLog* calls consistently not have \n at the end. Turn some wxLogWarning calls to wxLogError. Put some periods at the ends of sentences. 2011-10-09 21:14:03 +00:00
lllucius 549ce5920a Do not disable the bit reservoir as space is wasted in each
frame that could be utilized by succeeding frame.
2011-03-31 22:44:44 +00:00
lllucius 8fe322f633 Corrects a problem with the stereo mode affecting the output file even though it is disabled in the dialog. Windows was the only platform whre the stereo mode would be disabled for presets and it was a holdover from the Blade API days. After discussing with Gale, I removed the code that disabled those options and it now acts the same for all platforms.
In addition, while changing from mode to mode, the Quality dropdown no longer resets to a default value and it remembers how you had them set from session to session.
2011-03-21 23:39:16 +00:00
lllucius e1923bc07f Getting there...a little more info is needed. 2011-03-07 01:46:05 +00:00
lllucius b1e5b022a8 Add log messages (similar to FFmpeg) to assist in resolving detection issues. 2011-03-06 20:58:33 +00:00
lllucius 60af76d2b3 Bugs 188 and 225
Refer to bugzilla for discussion, but, to summarize, this removes any writing of ID3V1 tags.  ID3V1 tags will still be imported, but they will be written as ID3V2 tags.
2011-03-01 07:06:58 +00:00
lllucius 2d7b81145c This should fix bug #265 by writing both old and new year to tags. Since ID3v2 allows for unrecognized tags, there's no reason not to write both the old (TYER) and new (TDRC) tags. This should provide the year to apps using ID3v2.3 or ID3v2.4. 2011-02-27 03:52:36 +00:00
mchinen a9a0d51454 Timetrack fixes and refactoring.
Possibly fixes:

Bug 206 - Time Tracks: Ruler warp goes in wrong direction
Bug 205 - Time Tracks that slow down the audio result in truncated exports
2010-10-07 23:01:49 +00:00
ra e74978ba77 Locate and position the current Audacity source code, and clear a variety of old junk out of the way into junk-branches 2010-01-23 19:44:49 +00:00