1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 15:49:36 +02:00

88 Commits

Author SHA1 Message Date
Paul Licameli
3f237daddc Use macro safenew for many allocations of wxWindow subclasses 2016-02-14 20:20:19 -05:00
Steve Daulton
d6b8080a5d Fix for bug 1313 2016-01-29 22:12:41 +00:00
Leland Lucius
9dd79c9f80 Remove flushing of preferences in ShuttlePrefs and only
flush when all settings have been written.
2015-12-21 20:07:24 -06:00
Leland Lucius
e5ce636234 Fix for bug #1124 2015-08-26 12:40:55 -05:00
Leland Lucius
2e2dcd1bcf Fix for bug #1150 2015-08-24 00:34:59 -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
Steve Daulton
246a8c17ef Save overwrite choice in Export Multiple 2015-08-03 16:02:41 +01:00
Paul Licameli
d39eaa4e65 Remove WaveTrack.h from other headers 2015-07-28 10:02:05 -04:00
Paul Licameli
b89c2a130c Remove Track.h from other headers 2015-07-28 10:02:03 -04:00
Paul Licameli
e70f91c64e Removed ShuttleGui.h from other headers 2015-07-19 12:31:03 -04: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
lllucius@gmail.com
1b993ccd08 Patch provided by Rob (RPM) to resolve many of the wx3 format string assertions
He wanted to help so I asked if he wanted to track them down.  He agreed and
found more than I probably would have.  And he said there were more, but the
rest were questionable and since he works on Windows, wasn't able to actually
test.

I give a few of the ones he did find a go and they do indeed get rid of the
assertions.

(Basically, a 64-bit/32-bit issue, easily resolved with a typecast.)
2014-10-19 03:08:10 +00:00
james.k.crook@gmail.com
f5e593cc4c Paul L's new SelectedRegion class replacing use of t0 and t1. Also LabelTrack.h no longer in TrackPanel.h includes.
This change is believed to be a direct refactoring that does not change functionality.  It paves the way for more complex kinds of selection, such as selections involving frequency as well as time.  It also reduces risk of left and right edges being swapped in future code using SelectedRegion, as the default is to swap on assignment if needed.
2014-10-05 17:10:09 +00:00
RichardAsh1981@gmail.com
fc3a7558ae re-organise the Help System functions into a class as static methods for future utility 2014-06-09 18:42:19 +00:00
RichardAsh1981@gmail.com
59b8cdeaa8 separate out Help system functions into their own source file (pending some extra ones) and change the required includes to accomodate this. As a result, some error class definitions have to move from .cpp file to .h file. 2014-06-06 21:34:36 +00:00
benjamin.drung@gmail.com
277932dccb Remove trailing spaces. 2014-06-03 20:30:19 +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
c2e0257da5 Metadata Editor:
* "Open Me&tadata Editor..." -> "Edit Me&tadata..." because it's more concise, matches other occurrences, and eliminates any confusion about file opening. 

* In AudacityProject::OnEditMetadata(), "Edit the metadata tags" -> "Edit Metadata Tags": more concise, and brings in line with capitalization standard for dialog titles. 

* Likewise for capitalization in other invocations of ShowEditDialog in ExportMultiple.

* In TagsEditor::PopulateOrExchange(), "RETURN key" -> "ENTER key" because I don't recall ever seeing a Return key on a comnputer (!).
2013-07-10 01:22:55 +00:00
mchinen
7863f52986 ExportMultipl.cpp:fix wx controls labels heirarchy. Patch by Steve Daulton. 2013-05-19 08:51:34 +00:00
v.audacity
706fa2d785 Further simplify an alert, per discussion on bug 428. 2013-01-12 00:56:31 +00:00
v.audacity
c7407ca9e0 slight further tweaks 2013-01-08 01:15:08 +00:00
v.audacity
a35b11b340 Re-order the conditionals from Steve's patch for bugs 428 and 430, so that it doesn't check twice for all audio being muted, and does that check before checking for label issues. 2013-01-08 00:44:57 +00:00
v.audacity
f73f03aff4 Simplify messages. 2013-01-07 05:35:34 +00:00
v.audacity
72825001f5 modified version of Steve's patch for bugs 428 and 430 2013-01-05 00:05:59 +00:00
windinthew
208398fdf4 Fix "Can't export multiple files" warning as per -quality list 26 Sep 10 (export multiple works if the first label track is above the audio track).
Rename "Numbering after Label/Track Name" to "Numbering after File name prefix" which is what it actually does (else Manual doesn't make sense).
2011-01-01 11:51:24 +00:00
windinthew
a267f86b2e Clarify in "Can't export multiple files" warning that the Label Track containing labels must be directly underneath the audio track. 2010-09-25 07:45:56 +00:00
windinthew
b5e09a975e Clarify in "not a legal file name" dialogue that track names can also be illegal 2010-04-25 06:04:15 +00:00
james.k.crook
f4e81220b3 New ShowInfoDialog() function for text message plus OK button. Resizability more obvious now, and cursor at position 0. 2010-02-13 18:24:57 +00:00
james.k.crook
a2ad4dae36 Use RICH2 edit ctrl in place of plain old text ctrl where possible. We can tab into it, and it is expected to be better for screen readers. 2010-02-13 11:11:05 +00:00
james.k.crook
c6ca8c2018 Bugzilla:72 Blank labels continue to give 'untitled' in files after the first. 2010-02-12 17:28:24 +00:00
james.k.crook
afe3290cb3 Missing EndVerticalLay(), spotted by Ed Musgrove. Worked OK here, but would cause issues if adding more sizers. 2010-02-12 12:30:53 +00:00
james.k.crook
e3134f1a12 Shorter solution for patch #13 (scroll bars), also removes superfluous ifs left after removing number-of-digits = 1 or 2 choice code. 2010-02-11 14:42:44 +00:00
windinthew
bfb812a9e4 Modifications to Benjamin Drung's patch (003) as agreed with James:
* "Using Label/Track Name" is default again
* Clearer wording for the two different "numbering" options, both of which now use two-digit numbering    
* Last used "Name files" radio button is remembered and written to .cfg (patch by Ed)
2010-02-10 14:03:47 +00:00
james.k.crook
365c0c8ac3 Tweak radio-button spacing (slightly tighter) 2010-02-07 22:25:16 +00:00
james.k.crook
66206238b5 New option also needs to do enabling/disabling. 2010-02-07 20:38:56 +00:00
james.k.crook
d84bc6b212 Enh: Allow number+name in export-multiple; patch thanks to Benjamin Drung. 2010-02-07 20:17:36 +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