1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-18 17:10:05 +02:00

17 Commits

Author SHA1 Message Date
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
james.k.crook@gmail.com
69476e785c Fixed more internationalisation hints. 2012-03-20 15:36:02 +00:00
mchinen
26c84929a6 Bug 328 (P2) - do not allow writing to paths that are also missing alias files. 2011-04-02 23:56:02 +00:00
v.audacity
6c147de4ab Bug 113 (P2) - Dependencies dialogue not safe against user error
Fix for resize improvement per http://bugzilla.audacityteam.org/show_bug.cgi?id=113#c42. File size column is now always 120px. The rest, less 8px for border, is for file name.
2011-02-22 08:57:13 +00:00
v.audacity
77b1be7f3d Bug 113 (P2) Dependencies dialogue not safe against user error
Make dependencies dialog resizable.
2011-02-17 01:26:57 +00:00
v.audacity
00b4827dd5 Eliminate MSVC compiler warnings.Clean up some issues with Effect abstract classes, primarily that the progress dialog had Stop and Cancel buttons that produced exactly the same results, i.e., Cancel, so I removed the Stop button. 2010-09-02 04:19:14 +00:00
v.audacity
70145b8457 (bug 113)
In light of discussion about crazy things users do, decided to leave in the former "Temporarily replace..." options, but changed the wording to "Treat missing audio as silence" and warn that the waveform may not show silence.

Added FSCKstatus_SAVE_AUP flag (and returned FSCKstatus_* to being flags). FSCKstatus_SAVE_AUP is set for missing aliased files, so that AudacityProject does a save, fixing a bug where after "Close project immediately...", opening other projects failed in a way that made them incorrectly report missing _data folders, rather than go through Project Check (DirManager::ProjectFSCK). 

Decided to continue with the fake-out fixes for missing aliased files and missing SimpleBlockFiles, i.e., writing zeroes instead of replacing with SilentBlockFiles. Replacing is difficult, and there are other places where the zeroes trick is used, e.g., after project check, if there's a disk error, such as a .au being inaccessible in the middle of edits. 

Made the "permanent immediately" and "regenerate" options not do a PushState, because they were not possible to Undo.
2010-08-24 02:52:01 +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
0ae919f656 Make better discrimination of wxLogMessage, wxLogDebug, and wxLogError usage so user doesn't see lots of irrelevant info in log window, only messages and errors they should need to see. For example, user doesn't need to see every step of loading FFmpeg in release build, only errors, if they occur.
Comment out in FreqWindow.cpp the wxLog* stuff that can just be done with breakpoints ("Starting FreqWindow::Plot()" et al).
2010-08-10 05:13:28 +00:00
v.audacity
a6cb3debe9 (bug 113)
Comments about what's wrong with the DirManager::ProjectFSCK "Missing Aliased Files" dialog actions and what to do about it. (More to follow!)

Changed PushState for project repair from "Repair" to "Project Repair" to distinguish from Repair effect.

renames for clarity
2010-08-01 00:04:23 +00:00
v.audacity
8f8504b5a6 some progress on bug 113, including rewordings DependencyDialog based on some suggested by Gale
code cleanup

naming improvements for clarity (e.g., aliasedFileName instead of aliasedFile for an instance of wxFileName -- it's not an instance of AliasedFile)

parens, not square brackets, for parenthetic phrases
2010-07-28 23:06:10 +00:00
v.audacity
18a1c05aba (bug 113, per Gale's Comment 5)
Changed the descriptive static text to show the paragraph about missing files only if any are actually missing. 

Added extra updating to enabling "Copy Selected Audio", e.g., for cases were all the aliased files are missing. 

Made the dialog dismiss after "Copy Selected Audio" if all non-missing files have been copied in and all that remain are missing files, same as case where there are no missing files and all non-missing have been copied in. 

Added extra updating to enabling "Copy All Audio", e.g., disabled when there are missing files in the list -- we cannot copy them.

Changed missing file entries in the list from italicized to prefixed with "MISSING " so screen readers can distinguish.
2010-07-25 03:49:58 +00:00
v.audacity
1ac6a0af4e bug 113: Went ahead and did the simpler fix, rather than add the performance hit of
checking the entire Undo stack.
2010-07-21 02:17:33 +00:00
v.audacity
ab81197ce6 Move #include <wx/arrimpl.cpp>. Must occur between the WX_DECLARE_OBJARRAY and WX_DEFINE_OBJARRAY. 2010-07-18 00:05:49 +00:00
v.audacity
ae85f055ac (working on bug 113)
Fixed a formerly unnoticed crash bug. If user selected a subset of the dependency files list, then clicked "Copy Selected Audio Into Project", it removed the selected dependency/dependencies, but then crashed on bad reference trying to delete the non-selected dependency/dependencies. This was due to a consistent misuse of wxHashMap::operator[] to check for the existence of a hash element. If you call it with a key that's not in the hash map, yes it returns NULL, the first time, but it creates an entry for that key. So if you test it again with the same key it returns a bad entry. Replaced it with a correct call to wxHashMap::count(). Leland had fixed one of these, but there were 4 more. 

RemoveDependencies() always returned true, and was never checked, so made it return nothing.

More readability improvements.
2010-07-17 00:33:31 +00:00
v.audacity
07806e76a1 (working on bug 113)
Update header block. 

Move declarations that aren't used elsewhere, from .h file. No need to expose them there, used only in this file.

Working on first part of bug 113 where moved/deleted file is allowed to be copied into project:

 * Made class AliasedFile know whether its original file exists in specified location.

 * Dependency dialog:
   ** Updated so message states some original files were moved/deleted, and what to do about it.
   ** Missing dependencies shown in red, italic text. 
   ** Missing dependencies cannot be selected for copying into project.
   
 * Fixed bug where deselecting all items did not disable "Copy Selected..." button.

FindDependencies always returns true, so removed return value and its handling.

Sundry readability improvements: var names, {} brackets usage consistency, indenting, clearer names, etc.

Get rid of vim/emacs declarations. Matt said they're unnecessary, ages ago.
2010-07-16 06:01:40 +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