Commit Graph

96 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
v.audacity
c41872498f Revert r11887 per http://bugzilla.audacityteam.org/show_bug.cgi?id=551#c3. 2012-08-02 00:06:05 +00:00
v.audacity
8d92b35f9c Further widen default window, per http://bugzilla.audacityteam.org/show_bug.cgi?id=547#c10. 2012-08-01 22:48:27 +00:00
v.audacity
9c2e9e50e8 2012-08-01 05:53:08 +00:00
v.audacity
1926c7745f Per http://bugzilla.audacityteam.org/show_bug.cgi?id=547#c8, default Selection Toolbar TimeTextCtrls to "hh:mm:ss + milliseconds". Note this also defaults it for any TimeTextCtrl for which the pref is "".
Also widened the default project window to 700 pixels, to accommodate the wider Selection Toolbar controls.
2012-08-01 01:09:03 +00:00
v.audacity
a42f5b45cb http://bugzilla.audacityteam.org/show_bug.cgi?id=545 (P2)
Remove crash-prone "Audio Cache" feature.
2012-07-18 01:18:59 +00:00
james.k.crook@gmail.com
20f6717123 Corrected some typos (for the word 'experimental') in internationalisation hints. 2012-06-17 08:34:31 +00:00
james.k.crook@gmail.com
f98809817d Fixed bug in zoom-to-selection, where it would not work if the selection was 'beyond the end of time'. 2012-05-05 18:41:48 +00:00
martynshaw99
758a8f65e6 Inserting CLEANSPEECH ifdef's around anything CleanSpeech so that CleanSpeech can be removed easily in the (not to distant) future. The idea is never to turn CLEANSPEECH on, but fix any (unexpected) differences this may make. 2012-04-26 22:57:04 +00:00
james.k.crook@gmail.com
dd97cae3d9 Removed some (hidden) Cleanspeech cruft that had been used to disable effects. Made some static text open to translation. Added more i18n hints (thanks Thomas Breinstrup). 2012-04-05 11:21:15 +00:00
james.k.crook@gmail.com
860e19ae47 Fix Bug 432: Cleanspeech mode will now not activate, even if it was enabled in a previous version (and even if it has been deliberately added to audacity.cfg). 2012-03-25 20:22:10 +00:00
james.k.crook@gmail.com
c85dc5bb87 Fixed missing wxT(). Use logger even in debug builds. 2012-03-22 23:08:39 +00:00
james.k.crook@gmail.com
69476e785c Fixed more internationalisation hints. 2012-03-20 15:36:02 +00:00
v.audacity
0d08f11504 Fix bug 187. 2012-02-14 00:18:29 +00:00
james.k.crook@gmail.com
51bd1c2a4d If logger does not exist, don't try to delete it. 2012-02-09 12:56:18 +00:00
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