1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-28 22:49:29 +02:00

20 Commits

Author SHA1 Message Date
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
martynshaw99
fd268badd5 Fix for bug 180, 'Close' now handled properly. 2010-07-20 22:20:45 +00:00
BusinessmanProgrammerSteve
78ccfa399f Nick Trimble's patch fixing bug 124 (no OK button in Audio Device Info);
also causes OK button to display correctly in another, similar dialog after
Export Multiple.
2010-06-12 20:39:23 +00:00
clayton.otey@gmail.com
bf8d375d42 Reverting an accidentally commited change to workaround a compile error. 2010-06-11 21:08:44 +00:00
clayton.otey@gmail.com
92f28a0a1d Changed the layout of the TimeScale effect dialog 2010-06-11 01:33:17 +00:00
martynshaw99
3ee3c168e6 Correcting the layout of EQ freq ruler (borders, off-by-ones).
Avoid an unnecessary alert in Envelope.
2010-03-23 01:27:12 +00:00
BusinessmanProgrammerSteve
b9fce94477 Implements darkchains_mod2a style linking indication. This may not be
final but it's a big improvement. Reversed a couple changes from
original indication scheme that are no longer necessary. Unfortunately
it's really hard to remove colors from AllThemeResources.h.
2010-03-09 04:59:26 +00:00
BusinessmanProgrammerSteve
2b270e7a13 Improve appearance of disabled mixer toolbar sliders. 2010-03-04 23:07:37 +00:00
businessmanprogrammersteve
5a6b7a4ec9 Lighten colors slightly for sync-selection. 2010-02-17 17:54:32 +00:00
businessmanprogrammersteve
3c165e7898 Ashton's little patch to fix a compile error. 2010-02-14 06:37:45 +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
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
e801b39943 Bugzilla#115. Split TimeConverter from the TimeTextCtrl GUI class so that we do not create a ctrl every time we want to do a time conversion.
Also avoided creating a SnapManager when snap-to is disabled.
2010-02-12 21:28:34 +00:00
james.k.crook
44596429a7 Corrected version of Ed's patch #18 to localise some strings. 2010-02-10 23:10:53 +00:00
BusinessmanProgrammerSteve
9bbd180e39 Revert r10217 (wxWidgets applied my fix to the timer ID issue) 2010-02-08 21:00:17 +00:00
businessmanprogrammersteve
4fc182e812 wxMSW 2.8.11 doesn't allow multiple timers to have the same ID, so use wxID_ANY
for timers
2010-02-05 00:13:52 +00:00
BusinessmanProgrammerSteve
dbc4aab314 Fix lots of snapping problems by moving snap-to-time into SnapManager.
Do a 'make dep' after updating, some #includes are added.
2010-02-02 19:43:52 +00:00
BusinessmanProgrammerSteve
b51db1586b Support mice with high-precision scroll wheels
fixes P2: Ctrl+Mouse Wheel causes Crash (hang)
2010-01-25 22:44:48 +00:00
ra
6e3e8dcfff Remove some old erratta, and do a major tidy up of line endings and properties on source files 2010-01-24 13:33:28 +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