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

81 Commits

Author SHA1 Message Date
v.audacity
52a10774d4 Apropos http://bugzilla.audacityteam.org/show_bug.cgi?id=322, put the project name in the Save Project dialog titles. 2012-02-02 02:42:00 +00:00
richardash1981
e1724c8609 Destroy the project history window before either the Track Panel or the Toolbars, as the destruction of the History Window may result in events being sent to the latter two (esp. on Mac). If the events are sent to things we have destroyed, then we get crashes ...
Patch by Leland
2011-12-22 22:41:17 +00:00
v.audacity
bb60f84d38 clean-up 2011-12-02 06:44:56 +00:00
james.k.crook@gmail.com
ed66bf3fab Changes to allow mod-track-panel. 2011-11-25 20:40:26 +00:00
v.audacity
458152070e Fix some problems with asserts in 11308. Further wording corrections. 2011-11-18 03:47:43 +00:00
v.audacity
e93d1124ee Fix build on Ubuntu. Remove unused var. 2011-11-18 00:34:29 +00:00
v.audacity
59db8d4ad4 See http://bugzilla.audacityteam.org/show_bug.cgi?id=451#c31 and http://bugzilla.audacityteam.org/show_bug.cgi?id=451#c32. 2011-11-16 05:59:48 +00:00
v.audacity
2bac0a07ed rewordings per http://bugzilla.audacityteam.org/show_bug.cgi?id=451#c21 2011-11-15 04:03:01 +00:00
v.audacity
7e44897d6e Increased the warning level for 1.2.x projects, that user should back them up before trying to open in this and later versions. Previously, most of this string was duplicated 3 places, and varied only slightly (no warning about backup) for 1.2.x projects. Made the warning consistent in global string. Also clarified some logic and got rid of overridden var assignment. 2011-11-03 22:55:47 +00:00
v.audacity
4038f214cd (bug 451, p2) Add some asserts against mMaxSamples. In Sequence::Paste(), correct var largerBlockLen declaration to be sampleCount, not the smaller int, that can overflow on comparing to sampleCount and add log error msg. Add alert dialog, log warning, and limitation in Sequence::WriteXML() if mMaxSamples exceeded. Obviate EnvPoint::WriteXML(), unused. A few comments on some "TODO" comments. Make DirManager::WriteXML() fail in debug mode, as it should not be called. 2011-11-01 04:39:14 +00:00
v.audacity
b712ccda82 (bug 451, P2)
See first topic at http://bugzilla.audacityteam.org/show_bug.cgi?id=451#c16. Calling mTracks->Clear() with deleteTracks true resulted in data loss. Also, although a fatal error, it continued doing some project-opening tasks, i.e., GetDirManager()->FillBlockfilesCache() and setting up OD stuff, that are pointless if parse failed and all the tracks are thrown out.

Capitalized "Error Opening Project" titles -- as titles should be.
2011-10-30 22:55:35 +00:00
v.audacity
db0cfeacbd Change "blockfile" to "block file" consistently in log and error dialogs. 2011-10-16 23:13:51 +00:00
v.audacity
1f352b0157 (bug 451, P2) Add more error checking and increase specificity of Sequence-reading code.
Add wxLogWarning messages to AudacityProject::OpenFile()

Fixed correction for "A linked track's partner should never itself be linked" to remove the link from the partner, not the original (left).

Fix possible NULL pointer dereference in previous commit.
2011-10-13 22:52:55 +00:00
clayton.otey
71dedc3d35 Revert r11214 (sbsms timescale effect update) & r11215 (mixed-radix-fft narrow/broaden spectrum menu items) to honor the feature freeze. 2011-07-06 09:49:59 +00:00
clayton.otey
df9865f26a Added an sse enabled mixed-radix-fft implementation and a menu/view/{narrow,broaden} spectrum item which adjusts the spectrogram window size 2011-07-02 18:42:38 +00:00
v.audacity
de60481726 Remove unused vars. 2011-06-25 00:04:51 +00:00
v.audacity
1f7a46a620 Remove unused mLastAutoSaveTime cruft. Comment out other no-op cruft. 2011-05-28 00:42:07 +00:00
james.k.crook@gmail.com
b9dcee27e2 Ooos. Removed short-circuit of AutoSave that was added for testing AutoSave slowdown. 2011-05-22 19:05:14 +00:00
james.k.crook@gmail.com
74490b02c7 Bug:406 Amelioration of slowdown when editing labels with long audio. 2011-05-22 13:41:01 +00:00
mchinen
ee9e244b77 Bug 137 (P2) - fix false positive detection of orphaned files that belong to the clipboard (triggered by cut commands) 2011-04-21 21:51:56 +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
6bbbf5faa9 Bug 137 (P3) - Unreliable project re-opening with orphaned and missing blockfile errors
At bottom of http://bugzilla.audacityteam.org/show_bug.cgi?id=137#c17: 

> I noticed that although when we open the same project a second time with File >
> Open or File > Recent Files we show an error "is already open in another
> window", there is no block on executing the .aup from your file manager and
> opening as many copies of the project as you like. I had not done that when
> Audacity moved the files around in error the first time, but can we block this
> anyway?

This is a different bug from Bug 137, repeatable, and I think lower priority. But I went ahead and fixed it with this commit.

Also fixed previously unnoted bug where AudacityApp::MRUOpen() returned true when it actually failed to open the file. Also removed AudacityApp::OnMRUProject() cruft.

Unfortunately, it still creates a new, empty project window on Win Explorer open whereas Open and Recent Files commands do not. I think that constitutes a new, separate P5 bug. 

Overall, this is another aspect of what I was talking about in http://bugzilla.audacityteam.org/show_bug.cgi?id=322#c26. Opening files vs projects got conflated for convenience, but this code is hacked in some regards, rather than being a good design, and that's why this type of bug shows up.
2011-03-26 01:41:22 +00:00
v.audacity
5e31b813d2 Bug 137 (P2) - Unreliable project re-opening with orphaned and missing blockfile errors
Apply Michael's patch per http://bugzilla.audacityteam.org/show_bug.cgi?id=137#c15 and http://bugzilla.audacityteam.org/show_bug.cgi?id=137#c19.
2011-03-25 23:13:07 +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
36fe24cdd8 See bug #294 for details 2011-03-11 14:56:36 +00:00
lllucius
d1d5a1e3a9 Refer to bug #294 for details. 2011-03-08 14:09:26 +00:00
mchinen
75745cc71c fix windows build from concatenation of long strings 2011-03-06 22:57:43 +00:00
mchinen
244b1b1d9a fix long string that breaks windows build - testing new method 2011-03-06 20:07:32 +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
james.k.crook
207b3c6941 Reverted changes to wxPathOnly as it requires a more comprehensive change throughout Audacity. Doing half of it will break projects in Linux with '\' in their filename. (comments in Bug 120, comment #3.) 2011-02-13 23:11:51 +00:00
james.k.crook
271c4b0112 Consistency: wxFileNameFromPath replaced by GetFullName() [related to fixes to bug 120]. 2011-02-13 22:44:21 +00:00
james.k.crook
aca8734795 Possible-Fix: Linux path separator issue, believed caused by wxGetPathOnly(). Only tested under Windows. (Bug 120). 2011-02-13 22:25:18 +00:00
james.k.crook
fd9ac6bf09 Fix: slowdown with many labels caused by LyricsWindow. (Bug 144) 2011-02-12 18:33:49 +00:00
james.k.crook
31c10bd86a Restore safety files (.bak) sooner. The aim is to be back in a good state before we show the error dialog. 2011-02-12 14:37:00 +00:00
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