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

61 Commits

Author SHA1 Message Date
v.audacity
e42d9242cd Fix http://bugzilla.audacityteam.org/show_bug.cgi?id=477 (P1). 2012-02-27 01:41:02 +00:00
v.audacity
24f11dcbc0 Apply Leland's *other* patch for bug 344 (p3). 2012-02-15 01:15:51 +00:00
v.audacity
d7ac6df84c Leland's fix for bugs 44 and 344. 2012-02-13 22:43:43 +00:00
v.audacity
5f5b9778de Fixes per Vigilant Sentry (http://www.vigilantsw.com/)
* Fix memory leaks.

* Add comments about initializations and checking for successful results.

* Add checks for NULL deref.

* Consistency in "TODO" vs "TO-DO" comments!
2012-02-08 05:09:14 +00:00
v.audacity
1ceb0ef660 Apply modified version Roger Dannenberg's patch to remedy some problems from commit r10680 and fix some bugs. 2011-10-19 23:06:53 +00:00
mchinen
a220928808 Patch by David Wallace to fix Bug 429 - Audacity freezes or crashes when libsndfile imports files without audio data 2011-07-11 15:30:16 +00:00
martynshaw99
e56cb9736b Fixes for missing rounding bugs, detailed in bug 286. 2011-06-01 23:17:30 +00:00
james.k.crook@gmail.com
214b405646 FIX: Made LinkingHtmlWindow available to modules. 2011-04-25 21:25:21 +00:00
lllucius
9438fdf3e5 If the progress dialog is used before the main window is
created, then there won't be a menu bar.  So, check for
possible NULL pointers.  (Are you listening Leland?!?!)
2011-04-06 05:26:26 +00:00
lllucius
dbf2cdf605 Bug #334 - On OSX, this fixes the issue where you can
terminate Audacity while the progress dialog is being
displayed.
2011-04-03 02:22:59 +00:00
mchinen
9a8b53c440 Bug 330 (P2) followup - Make missing aliased warnings 1 per project instead of 1 for all projects 2011-04-02 13:03:02 +00:00
mchinen
91d8f132a6 Bug 330 (P2) - Fix an issue where multiple projects would cause the warning dialogs to pop up above the wrong project.
I refactored the code into AudacityApp with a new timer.  This is provisional pending discussion - if it is decided that it should go somewhere else I will move it.
2011-03-29 23:39:00 +00:00
v.audacity
0bd3f11f41 Make "FIXME" comments be "FIX-ME" for consistency with themselves and "ANSWER-ME" comments, in case somebody ever wants to search for these things... ;-) 2011-03-26 01:11:51 +00:00
mchinen
dc12d8a8f4 bug 26 followup - warn of missing alias on variety of instances (export/import/effect/mix,) in addition to first time the read fails.\nIn addition make sure there is only one warning on the screen at a time, bringing the old one to the foreground (although for things like export/effect there will be a progress bar in front of it, the missing files dialog will be above the project window when it finishes) 2011-03-23 01:01:17 +00:00
lllucius
d12c5622d8 Fixes bug #64 and increase the default number of history items remembered by the FileHistory class to 12 from 9. (Missed 2 files) 2011-03-11 15:53:22 +00:00
lllucius
650c1b69d3 Fixes bug #64 and increase the default number of history items remembered by the FileHistory class to 12 from 9. 2011-03-11 15:23:35 +00:00
mchinen
c420e785ae bug 26 followup: remove help button and include File > Check Dependencies recommendation in message 2011-03-06 18:07:12 +00:00
mchinen
5e4250e302 bug 26 - add modeless warning dialog for missing aliased files during playback. 2011-03-01 01:29:03 +00:00
v.audacity
0526b8c98a Adjust some comments. 2011-02-26 23:17:26 +00:00
v.audacity
39adb7b552 Fix bug in WarningDialog where dismissing via the close box made "don't show again" checkbox always stored as true, because EndModal() was called not via WarningDialog::OnOK() and the return value was 5101. So the prefs file had 5101, which is later read as "true", regardless of the actual setting of the checkbox.
Various other cleanup.
2011-02-01 22:30:10 +00:00
v.audacity
d2d876d9a5 Bug 258 (P2) - Mixer Board: max peak and clipping lines removed
Fixed bug in resetting mPrevT1. That caused remaining issue noted in Bug 258 comments 2 and 3.

Moved call to UpdateMeters from TrackPanel::OnTimer() to audacityAudioCallback, where it calls gAudioIO->mOutputMeter->UpdateDisplay(), so the updates are synchronized with Meter Toolbar updates.

Removed unnecessary call to MixerBoard::UpdateMeters() in AudacityProject::UpdateMixerBoard().

Various cleanup.
2011-01-31 01:49:01 +00:00
martynshaw99
959c2909f3 More robust handling of default curves:
When looking for default curves, EQDefaultCurves.xml is searched for in the DataDir first, then the exeDir, then the error dialog is popped up.
Error dialog stays open while user visits web site to get EQDefaultCurves.xml.
The 'normal' set of curves EQCurves.xml is still in DataDir.
2010-12-11 22:32:07 +00:00
v.audacity
913185d7b6 Fix Bug 258 - Mixer Board: max peak and clipping lines removed (P2).
Substantial changes to MixerTrackCluster::UpdateMeter() such that it now uses the original Meter::UpdateDisplay() rather than the override I wrote. 

I think some of the ideas in the override were good though, mainly to use max and rms from blockfiles rather than passing interleaved sample buffer to Meter::UpdateDisplay() and having it recalculate those values. May be worth revisiting. Definitely worth testing for performance issues relative to 1.3.12.

Also, since all we're doing here is updating the meters, maybe we should remove it from TrackPanel::OnTimer() and do that in audacityAudioCallback where it calls gAudioIO->mOutputMeter->UpdateDisplay(). Thread issues?
2010-11-29 22:36:32 +00:00
mchinen
599fdd9d97 hide mouseover tooltip when slider value tippanel appears 2010-11-28 01:38:56 +00:00
mchinen
1261f6ef62 Change TipPanel to be a shared, singleton instance.
Also make linux build use wxPopupWindow.
2010-11-28 00:23:27 +00:00
v.audacity
f67170df5f Fix Bug 259 - Meters do not display negative peaks (P2). 2010-11-25 00:17:24 +00:00
v.audacity
08904c22c0 Working on new bug reported by Gale about MixerBoard clipping indicators on small clipped regions.
Remove some unused cruft. Rearrange some #includes so they are grouped logically. Add comment about unclear names (bools "clipping" vs "isclipping").
2010-11-19 05:15:08 +00:00
richardash1981
aa33613211 You can't translate an empty string, and more to the point, it has really unintended effects within gettext! 2010-11-09 21:01:53 +00:00
rbdannenberg
f3b91514d2 NoteTrack channel buttons have prettier graphics in down position which now means ON; VEL_SLIDER depends on EXPERIMENTAL_MIDI_OUT (not USE_MIDI); velocity slider changes are labeled as such to Undo manager; fixed an OS X bug where backing bitmap does not get yellow highlight and then highlight on screen gets clobbered when user moves gain sliders (!); Added a high-level overview of redraw to TrackArtist.cpp. 2010-10-28 17:34:35 +00:00
BusinessmanProgrammerSteve
29523e7aee Better fix for bug 175 (GTK+ slider background colour) 2010-10-21 06:06:38 +00:00
BusinessmanProgrammerSteve
ece4d2ac8c Add B. Drung's patch for bug #175 under an #ifdef so it doesn't mess up Windows 2010-10-18 07:09:42 +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
rbdannenberg
a1f0e5ed5b Extensive changes to improve NoteTrack display and (some) editing, NoteTrack playback via MIDI, and Midi-to-Audio alignment. 2010-09-18 21:02:36 +00:00
BusinessmanProgrammerSteve
f86dca89fc Improve comments surrounding my recent slider checkin. 2010-09-04 18:21:23 +00:00
BusinessmanProgrammerSteve
bf874133a0 Fix a low-hanging memory leak found by valgrind in slider code 2010-09-04 06:58:21 +00:00
martynshaw99
b451649e1b Add missing #include 2010-09-01 22:51:57 +00:00
martynshaw99
fb296d0206 Make the SelectionBar match up better with what is visually selected in the tracks.
Shows up when zoomed in to sample level and looking at Start and Length.
2010-08-31 22:27:37 +00:00
v.audacity
ea68057638 (bug 113)
DirManager::ProjectFSCK (project check):
   Made the enumerations interleaved with handling, because, 
   for example, user choosing to replace missing aliased block files with silence 
   needs to put in SilentBlockFiles and delete the corresponding auf files, 
   so those would then not be cumulated in missingAliasBlockFileHash.
   We still do the FindX methods outside the conditionals, 
   so the log always shows all found errors.

   Moved check for orphan files to last, so user first has a chance to get 
   messages about missing files that user may have mistakenly renamed 
   (and the renamed ones would appear to be orphans).

   Re-ordered user choices for orphan files dialog to safest-to-boldest.

   Changed FSCKstatus_CLOSEREQ and FSCKstatus_CHANGED to be integers rather 
   than binary flags. They were never returned with both in the result, nor used that way.

   Made the project check log warnings use full paths instead of just file names.


Removed close box and system menu from MultiDialog, so that project check dialogs cannot just be closed. User has to decide on one of the choices. 

Fixed some handling in AudacityProject::OnShowLog(). If the log was already showing before MultiDialog came up, it froze because it was not re-enabled.
2010-08-20 03:19:14 +00:00
v.audacity
5e38992c46 Now that AudacityProject::OnShowLog does more than just wxGetApp().mLogger->Show(), use its processing rather than duplicate it in MultiDialog. 2010-08-14 00:43:15 +00:00
v.audacity
14a3ab7409 Add missing #include. 2010-08-12 21:04:49 +00:00
v.audacity
71e102e473 (more on bug 113 and related issues)
Added a "Show Log for Details" button to MultiDialog so it does what the comments say, i.e., allows the user to look in the log to see which files are problematic (e.g., orphaned blockfiles.

Tightened up ProjectFSCK messages. 

Added comments about remaining (long-standing!) problems in ProjectFSCK.
2010-08-11 02:38:24 +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
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