1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00

13938 Commits

Author SHA1 Message Date
v.audacity
ad09727b7f Fix some old typos, indentations.
Clarify some comments. 

Remove some DirManager methods that were declared but not defined.
2010-08-25 23:24:02 +00:00
v.audacity
536af8ad52 (Sync-Lock)
Fixed bug Martyn noticed, where clicking on the sync-lock icon caused the track to (un)minimize. This was because TrackInfo::GetMinimizeRect() was still returning the full size, which I had just adjusted in TrackInfo::DrawMinimize(), so the capture test in other places was wrong. Moved the size adjustment into TrackInfo::GetMinimizeRect(). 

Also got rid of unused bool minimized parameters of TrackInfo::GetMinimizeRect() and TrackInfo::DrawMinimize(). It wasn't used at all in TrackInfo::GetMinimizeRect(), so I replaced it with bIsSyncLockSelected, so it can determine whether to reduce the width to give room for the sync-lock icon. For TrackInfo::DrawMinimize(), it was unnecessary, because the track was also getting passed in, so no need to call t->GetMinimized() in every call to DrawMinimize() -- just call it within DrawMinimize().
2010-08-25 22:34:17 +00:00
v.audacity
17832cf2f5 "Show Log" better at bottom of Help menu. 2010-08-24 22:25:50 +00:00
v.audacity
c63bfa81ca Add comments about possibly changing sync-lock image. 2010-08-24 21:13:26 +00:00
v.audacity
c1848c1359 Sync-Lock: Add TrackPanel refresh to AudacityProject::OnSyncLock() so the icon next to minimize button gets refreshed. 2010-08-24 21:04:21 +00:00
v.audacity
cfe369f232 Sync-Lock:
Remove tiles from rulers. They were interfering with visibility of ruler marks.

Restore the icon to TrackInfo, but not in the title bar. Instead, when sync-lock is on and the track IsSyncLockSelected(), decrease the width of the minimize button and show the icon to the right of it. This way, it shows even when the track is minimized.
2010-08-24 19:32:54 +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
4e85cf7861 Expand on comment. 2010-08-24 02:18:56 +00:00
v.audacity
7b7ef96f25 Moved "Show &Log..." to bottom of Help menu, grouped with Device Info. 2010-08-23 23:09:07 +00:00
v.audacity
72d78d7d22 Clean up debugging code. Remove "\n" so language loading messages are consistent with the rest of the log. 2010-08-23 23:08:05 +00:00
v.audacity
d6bbfa6295 Removed wxLog* squelching on language initialization in AudacityApp::InitLang. 2010-08-23 23:06:29 +00:00
windinthew
9678742ef8 Updated software translation from Thomas De Rocker 2010-08-20 20:00:55 +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
windinthew
ad7225f698 Major advance on completeness of software translation by Thomas Breinstrup (also updated from latest audacity.pot) 2010-08-18 00:07:18 +00:00
v.audacity
d83682f262 For FFmpeg wxLog* messages:
Returned some of them to wxLogMessage from wxLogDebug.

Made paths displayed consistently with '%s'. Changed some wordings for grammar and clarity.

Var renames for clarity. Moved some declarations closer to their usage.

Commented out the places where sys error logging was suppressed. There was no explanation why they were suppressed.
2010-08-17 23:14:21 +00:00
v.audacity
2ef7a3fd31 (bug 113)
More comments about things to fix (FIX-ME items this time).

Made AudacityProject::OnShowLog make the log window taller so more likely to show the bottom. The implementation of wxLogWindow makes it hard/impossible to scroll to the bottom.

Fix error of duplicate reports of missing aliased files.
2010-08-17 03:46:58 +00:00
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
be8347d482 Consolidate multiple names for the same feature: sticky/linked/sync/synchro/grouped -> sync-lock. 2010-08-15 00:05:55 +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
e3f3b687c1 When we bring up the log window, raise it to top of Z order. 2010-08-14 00:41:48 +00:00
v.audacity
66f7ec0c5c Fix some comments, var names, and formatting. 2010-08-14 00:40:04 +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
14a3ab7409 Add missing #include. 2010-08-12 21:04:49 +00:00
v.audacity
24a4a37e57 Add missing close paren. 2010-08-12 03:41:25 +00:00
v.audacity
66d04c6cc9 Project Check (DirManager::ProjectFSCK) test projects 2010-08-12 01:45:59 +00:00
v.audacity
50ea5acf27 Consolidate multiple names for the same feature: sticky/linked/sync/synchro/grouped -> sync-lock. 2010-08-11 23:56:50 +00:00
v.audacity
f28d91a599 Consolidate multiple names for the same feature: sticky/linked/sync/synchro/grouped -> sync-lock. 2010-08-11 23:15:00 +00:00
v.audacity
209a2b193d Consolidate multiple names for the same feature: sticky/linked/sync/synchro/grouped -> sync-lock. 2010-08-11 22:47:26 +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
6fb4ed63f3 Introduce a pointer var to replace 3 double derefs with one. 2010-08-10 23:28:57 +00:00
v.audacity
477d499c06 Fix index for re-ordered radio buttons. 2010-08-10 05:17:26 +00:00
v.audacity
b15b3d49ed Now that each stack frame on the Undo stack does CalculateSpaceUsage when created, make sure the blockfile's file exists before asking for the calculation. 2010-08-10 05:16:05 +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
a6cb818f42 Remove SpikeCleaner.* from project. No reason to compile as it's never instantiated/called. 2010-08-10 05:04:46 +00:00
v.audacity
d329cb8812 Revised last paragraph for wxWidgets. The path was wrong (missing ':') and there's no reason to "note" a directory, especially at this point in the process. 2010-08-09 00:34:32 +00:00
v.audacity
c7826bcdf9 Correct some comments.
Rename method for consistency.
2010-08-08 00:26:07 +00:00
BusinessmanProgrammerSteve
56adffdce6 Remove unused variable 2010-08-07 09:51:44 +00:00
BusinessmanProgrammerSteve
cfd4906d48 Must always update bPastedSomething when changing anything in OnPaste() 2010-08-07 09:51:04 +00:00
v.audacity
39ad98b360 Calculate space usage for a state frame (UndoStackElem) in UndoManager::PushState, i.e., only when the UndoStackElem is created, rather than every time we open History Window. This should considerably speed up opening History Window when the stack is large (many frames and/or lots of data), and fix bug 196. 2010-08-07 00:26:38 +00:00
BusinessmanProgrammerSteve
ae79badcb4 Fixes remaining issue regarding AudacityProject::OnPaste() raised in
bug 177, closes a loophole for applying linking behavior.
2010-08-06 07:52:54 +00:00
v.audacity
5ac36ecd71 (significant changes to OnPaste -- needs lots of testing)
Reviewed Al's patch for OnPaste (bug 177) and made these changes. 

OnPaste method has grown too long and complicated:
   Broke out independent sections to new HandleTextPaste and HandlePasteNothingSelected methods. 

   Made pastedSomething bool (now "bPastedSomething") cumulative, per Al's correction. Previously, if the last clip paste failed, it showed the whole paste failed. Clearly, the philosophy for paste has been that we take what we can get. There were numerous places (and still some) where the paste results were not even checked. 

   Added a couple of missing checks for bPastedSomething on paste results.


Declarations: 
   Made declarations clearer about public vs private methods. 

   Removed declarations of unused/undefined CommandManagerCallback and CommandManagerListCallback methods. 

   Moved mSel0save and mSel1save member vars closer to the methods that use them.
2010-08-06 04:16:18 +00:00
v.audacity
a0635fd618 Removed redundant "public:" declaration and VIM settings. 2010-08-06 03:43:48 +00:00
BusinessmanProgrammerSteve
45011d7032 Fix bug 177: Unwanted label appears if pasting audio when there are already
labels.

In LabelTracks Paste() just calls Copy() and Clear(); this change makes sure
Clear() doesn't skip a label Copy() copies().
2010-08-05 06:31:57 +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
windinthew
a4407b5f70 Updated software translation from Yuri Chornoivan (+ added new strings from latest audacity.pot) 2010-08-03 09:28:49 +00:00
v.audacity
2def1e7f51 bug 195 - fixed 2010-08-03 01:46:37 +00:00
alexandre.prokoudine
e8d37360c1 Update of Russian translation, take one 2010-08-01 22:34:11 +00:00
martynshaw99
c147720d6c Dynamically set the size of the status bar for sampling rate. 2010-08-01 22:18:35 +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
be83111226 cleanup 2010-07-31 00:29:21 +00:00