1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-27 14:09:33 +02:00

118 Commits

Author SHA1 Message Date
v.audacity
af52a83ec1 (bug 113)
restructuring and renaming for clarity, granularity, and reduction of code duplication

Found and commented on more errors in this code. In the "Close immediately" cases, it doesn't do a real close and that can break subsequent opening of other or the same problematic projects. 

Changed several cases where GetDirManager()->ProjectFSCK returned FSCKstatus_CHANGED. These caused a PushState, but Undo could not do anything. Changed corresponding wordings for "Replace missing audio with silence" to say "permanent immediately" instead of "permanent on save", which was incorrect.
2010-08-15 01:22:24 +00:00
v.audacity
5d2f9301b6 (bug 113)
restructuring and renaming for clarity, granularity, and reduction of code duplication
2010-08-13 04:15:17 +00:00
v.audacity
24a4a37e57 Add missing close paren. 2010-08-12 03:41:25 +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
477d499c06 Fix index for re-ordered radio buttons. 2010-08-10 05:17:26 +00:00
v.audacity
bfb3c639b4 (bug 113, "Missing Aliased Files" dialog)
Re-ordered buttons so "Close project immediately" is first, per Gale's suggestion.
2010-08-05 02:19:09 +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
f111158880 (bug 113)
Clarified, shortened, and removed redundancies in the messages in the Missing Aliased Files warning dialog.
2010-07-30 22:36:58 +00:00
v.audacity
874e530d84 more progress on bug 113
better handling of error conditions in PCMAliasBlockFile::BuildFromXML so that DirManager::ProjectFSCK can report cases of missing PCMAliasBlockFile files on opening projects where missing files were not corrected
2010-07-29 03:54:54 +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
27e59162b4 (minor text corrections) 2010-07-16 05:38:22 +00:00
v.audacity
cf3ba227f7 Further work on bug 137. Accidental click OK on prev commit, so here are comments for it and this one:
* Make progress messages not have ellipsis at end, as convention in other cases.

* Reword "Continue without deleting" radio button about orphan files.

* Fix the removal of empty dirs at the end of DirManager::ProjectFSCK() which previously did nothing because it passed a hardcoded zero count for the file list, to what is now RecursivelyRemove(). Added RecursivelyCountSubdirs() so progress dialog has correct maximum (directory count, not blockCount as previously). Added RecursivelyRemoveEmptyDirs().

* Found that Windows SDK functions sometimes do not remove empty directories and added code to help it in some cases.
2010-07-09 03:52:51 +00:00
v.audacity
afe904e0c5 2010-07-09 03:16:40 +00:00
v.audacity
28141af2d0 Code review and fixes in pursuit of bug 137
(still in progress, per "//vvvvv" comments):

Update credits and copyright.

Fix some grammar and remove obvious comments. 
   (For example, stack vars are always destroyed when 
      "out of context" (i.e, scope, when stack popped), 
      so no need to comment on it).

Remove wxWidgets error squelching.

"rm_dash_rf*" static functions
   Rename all the "rm_dash_rf*" static functions to better 
      reflect what they actually do (per "finally 
      misnomer" comment). Not very mnemonic to 
      name functions on *nix-specific shell command 
      "rm- rf" that they do not emulate. Only 1 of the 4 
      so-named actually removed anything.
   Remove one unnecessary function (originally 
      "rm_dash_rf_enumerate"), replaced by 
      parameter defaults on main recursive function
      (originally rm_dash_rf_enumerate_i").
   Remove unused parameter "prompt" from 
      rm_dash_rf_enumerate_i (now RecursivelyEnumerate). 
   The files_p and dirs_p ints were actually used only 
      as bools, so make them bools bFiles and bDirs.
   Rename "prompt" vars to match ProgressDialog 
      "message" arg. They do not prompt user to do 
       anything, they're informational.
   files_p and dirs_p were int but used only as bools, 
       so make them bool for better readability.
2010-07-07 04:56:53 +00:00
v.audacity
7501b9a865 minor changes on brief code review 2010-07-06 21:39:08 +00:00
BusinessmanProgrammerSteve
47e5a2b80a Update documentation and add checks surrounding block files
(since we now have silent block files with no disk file)
2010-05-08 00:58:23 +00:00
BusinessmanProgrammerSteve
d664740a88 Fix bug 160: silent blockfiles not copied between projects 2010-05-05 23:41:27 +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