1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-06 03:32:09 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
v.audacity
8c51e56248 Switch to calling Yield via wxTheApp instead of wxGetApp(). Simpler to use pointer, AudacityApp doesn't override Yield, and this fixes compile error on VC++ Unicode Release. 2010-07-24 23:21:51 +00:00
v.audacity
54bd928ef6 regarding bug 9:
Was able to make the bug occur after lots of fast clicking around, by double-clicking Preview in Amplify dialog. 

The key seems to be the call to wxYield. That function is obsolete, but looking at the documentation for its successor, wxApp::Yield(): 

"Caution should be exercised, however, since yielding may allow the user to perform actions which are not compatible with the current task. Disabling menu items or whole menus during processing can avoid unwanted reentrance of code: see ::wxSafeYield for a better function."

That sounds like exactly the situations where this has occurred. And the documentation for ::wxSafeYieldsays: 

"This function is similar to wxYield, except that it disables the user input to all program windows before calling wxYield and re-enables it again afterwards."

Sounds like what we need. So I went through the code and for all the wxYield and wxGetApp()::Yield occurrences where Audacity is doing some drawing or already in the process of responding to a GUI event, I replaced them with ::wxSafeYield. Replaced all the remaining wxYield calls with calls to wxGetApp()::Yield().

Haven't been able to replicate the bug since these changes. Please test.
2010-07-23 23:29:50 +00:00
mchinen
ff7c013f16 fix clipping on export 24 bit signed pcm wav (bug 166) 2010-06-15 17:51:23 +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
richardash1981
430c64084f Add i18n hint for the libsndfile error message, in response to query from Atsushi YOSHIDA 2010-03-06 16:27:23 +00:00
richardash1981
68f7665a70 Commit an improved version of patch by Benjamin Drung to check if data is sucessfully being exported or not when saving files through libsndfile, and warn the user if the export fails. 2010-02-20 22:20:26 +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
businessmanprogrammersteve
4eb04322da Eliminate more warnings by moving static tables out
of ExportFFmpegDialogs.h; set up automatic duplication
of enumeration constants and string representations.
2010-02-13 01:39:38 +00:00
businessmanprogrammersteve
a55c20be66 Fix most of the compile warnings I get on Linux (but not the Audacity Logo
xpm stuff or a few things in FFMPEG export)
2010-02-12 21:36:20 +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
LRN1986
1c3748c79c Fixed a typo in iAACSampleRates 2010-02-07 10:51:37 +00:00
windinthew
6727dace21 Further trim text as suggested by James to clear P2 "Custom FFmpeg Export Options Window oversized on 800x600". 2010-02-05 15:10:15 +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