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

495 Commits

Author SHA1 Message Date
james.k.crook
6bdfb13b45 Fix: "\" in file name gives disk full error. Now we complain about a non-existent directory instead. (Bug 120). 2011-02-12 14:25:51 +00:00
richardash1981
2a7c7de30d Commit a warnings removal patch from Benjamin Drung to correct a string of minor misdemeanors. 2011-02-07 20:24:04 +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
v.audacity
ff398a27b3 Make sure valgrind sees mIsSyncLocked is initialized, even though we're about to set it from prefs. Also, just initialize it directly, rather than calling SetSyncLock, as TrackPanel has not yet been created. 2011-01-07 22:50:22 +00:00
v.audacity
b1e789122f Add overflow checks per Richard's message on "vulnerable to these buffer overflow vulns?" thread on audacity-devel list. 2011-01-02 02:50:39 +00:00
v.audacity
099e203e0c Fix an indent. 2010-11-29 22:12:13 +00:00
v.audacity
93485f5c50 ControlToolBar now appears in GUI as "Transport Toolbar" instead of "Control Toolbar", to better relate it to the Transport menu. 2010-11-16 01:18:39 +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
v.audacity
7e1db64bc2 (bug 20, P2) Log some summary messages as well, for auto-recovery mode, so the log indicates the "safe" choice that was taken for each of the four types of errors. 2010-09-18 00:32:59 +00:00
v.audacity
a26652acfd (bug 20, P2)
Changed the bSilentlyCorrect parameter to DirManager::ProjectFSCK() to be bAutoRecoverMode. If project check errors are found during auto-recovery, it's hazardous to allow the user the various options available during normal project open. But rather than squelching the messages as well as option dialogs during auto-recover, show the messages in the log and bring up an alert. 

This means the helper methods Find*() no longer need bSilentlyCorrect -- they always report to the log.
2010-09-17 22:50:01 +00:00
v.audacity
a07fe36456 Change "Sync-Lock Tracks" button image from chain-link to clock.
EXPERIMENTAL_LINKING -> EXPERIMENTAL_SYNC_LOCK

Restore some "border" lines in TrackInfo.


Get rid of unused DEFINE_COLOUR( clrTrackInfoSyncLockSel...).

Clean out some undocumented commented-out code. Add/remove some comments.
2010-09-14 05:52:01 +00:00
martynshaw99
1d6e1593ee Eliminate msClipLen since it leads to length errors in WaveTrack and WaveClip. 2010-09-12 22:31:58 +00:00
v.audacity
f9be883b82 Made requests for bug reports consistently go to feedback@audacityteam.org and compile issues go to "Compling Audacity" board on the Forum rather than going to -devel. Removed some related code cruft. 2010-09-10 03:19:24 +00:00
martynshaw99
ed187aa185 Select the 'correct' part when pasting in HandlePasteNothingSelected - working up to the more complicated changes required on the same lines. 2010-09-07 23:10:29 +00:00
v.audacity
961d8cdeca Review calls to AudacityProject::ModifyState() and TrackPanel::MakeParentModifyState() to possibly add param to make AudacityProject::ModifyState() optionally not call AutoSave(). There is only one place (TrackPanel::OnSetDisplay()) where autosave is definitely not necessary, so don't change it now.
Also made a few places (e.g., AudacityProject::OnSetLeftSelection()) call AudacityProject::ModifyState() only if the selection actually changed.
2010-08-30 03:24:40 +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
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
66f7ec0c5c Fix some comments, var names, and formatting. 2010-08-14 00:40:04 +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
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
v.audacity
0e4aa1c6e5 Get rid of unnecessary GetStickyFlag(). 2010-07-26 22:36:15 +00:00
v.audacity
e30ce7ddb7 Remove EXPERIMENTAL_LYRICS_WINDOW and EXPERIMENTAL_MIXER_BOARD. They've been in every beta for almost a year, so they're no longer experimental. 2010-07-21 04:53:38 +00:00
v.audacity
6f6aae0346 Rename for clarity. It's a bool, not a resultCode. 2010-07-16 05:37:26 +00:00
v.audacity
3f133811fb Get rid of AutoSaveEnabled pref altogether. AutoSave doesn't copy any audio data, so there's no reason to turn it off. 2010-07-01 21:40:29 +00:00
v.audacity
406594a1dc Get rid of AutoSaveMinutes pref, as it wasn't actually used correctly.
Now doing autosave on every PushState, ModifyState, and PopState.
2010-06-30 23:19:21 +00:00
mchinen
811c4ffbc3 fix for crash on sort by name 2010-05-04 03:14:43 +00:00
BusinessmanProgrammerSteve
828481a3c8 Fix window closing behavior, remove (bug 151) 2010-04-19 06:03:21 +00:00
BusinessmanProgrammerSteve
f4beb6856d Linking should default off. 2010-04-13 20:04:27 +00:00
BusinessmanProgrammerSteve
7b6e27af0c Remove label track special case from Edit->Delete 2010-03-30 05:56:19 +00:00
LRN1986
1ce96f737f Fix typo after the last patch 2010-03-26 16:15:52 +00:00
LRN1986
1527368d99 Revert to non-persistent LastOpenType per Gale's request 2010-03-26 15:48:13 +00:00
BusinessmanProgrammerSteve
af0f6828bb Label tracks need SplitDelete with linking off, not on 2010-03-21 19:43:49 +00:00
BusinessmanProgrammerSteve
2b3a50bd09 1. Consolidate linking enable/disable logic b/w Edit Toolbar and Menu
2. Save user's preference for enabling linking

3. fix a bug by which changes to global prefs like SWPlaythrough were not
visually reflected in other open projects.
2010-03-13 17:40:17 +00:00
businessmanprogrammersteve
e35e019e17 Change lots of code that uses linking to use the new
scheme.
2010-02-16 20:50:38 +00:00
businessmanprogrammersteve
2f4b9d2df6 Only include Audacity Logo xpms where they're actually needed; this cuts
~14MB from the Audacity binary.
2010-02-12 22:10:43 +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
BusinessmanProgrammerSteve
9bbd180e39 Revert r10217 (wxWidgets applied my fix to the timer ID issue) 2010-02-08 21:00:17 +00:00
james.k.crook
db60792bb4 Title "Save Compressed Project As..." tweak by Ed Musgrove. 2010-02-07 17:59:19 +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
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