1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 09:39:42 +02:00

1070 Commits

Author SHA1 Message Date
richardash1981
4ea008ea67 make the compressed man page depend upon the uncompressed one, this makes editing it easier. Also move the comment outside the makefile commands section, it makes the make output cleaner 2011-11-26 17:13:37 +00:00
richardash1981
6362c4377c If this program isn't called "audacity" then don't use ~/.audacity-data/ as the per-user files directory, use the relevant name based on what this program is actually called (if users don't want this, they can get the previous behaviour using a symlink, but you can't emulate this behaviour if you have the other one) 2011-11-26 17:05:50 +00:00
james.k.crook@gmail.com
21d55e77e6 Dealt with (and tested) some FIX-MEs and ANSWER-MEs. 2011-11-25 21:26:01 +00:00
james.k.crook@gmail.com
6046d33a36 Updated to demo new method of taking over TrackPanel. 2011-11-25 20:41:12 +00:00
james.k.crook@gmail.com
ed66bf3fab Changes to allow mod-track-panel. 2011-11-25 20:40:26 +00:00
v.audacity
f1fee888c2 Fix null pointer dereferences caught by Vigilant Sentry. Ask some questions about some code. 2011-11-24 23:12:52 +00:00
james.k.crook@gmail.com
0f81cf83a8 Answered question about returning NULL pointer. 2011-11-24 19:34:45 +00:00
v.audacity
3bcb940843 (bug 451) Remove uncertain comment. Call WaveClip::ConvertToSampleFormat() instead of Sequence::ConvertToSampleFormat(), so it does MarkChanged() and an assert on the result from Sequence::ConvertToSampleFormat(). 2011-11-22 05:10:54 +00:00
v.audacity
6f768cb889 (bug 451, p2) When I made the change to actually enforce the bounds on sampleCount s (i.e., [0, mNumSamples]), I used the test from the old (2002!) code. But the test on the upper limit was wrong -- the second test should have been >, not >=, because if (s == mNumSamples), there's no point in setting s to mNumSamples. This fired the new assert when s and mNumSamples are both 0. Fixed it to check >. 2011-11-20 19:28:45 +00:00
v.audacity
2278cdce95 Fix further possible, and comment on definite null pointer derefs per cppcheck. 2011-11-20 07:09:46 +00:00
v.audacity
8cc8a275f8 (bug 451, P2)
Changes per Martyn's suggestion (http://bugzilla.audacityteam.org/show_bug.cgi?id=451#c24), i.e., deal with sample format mismatch in WaveClip::Paste() and Sequence::Paste().

Also add error checking for bad s parameter values passed to Sequence::Paste().
2011-11-20 03:46:00 +00:00
v.audacity
41ed3aaae8 (bug 315, p2)
See http://bugzilla.audacityteam.org/show_bug.cgi?id=315#c22. Attempt to fix problem on Mac. 

Also removed pointless call to wxLog::FlushActive() -- it was before anything was written to the log, so nothing to flush.
2011-11-19 00:56:42 +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
e275189f1e Fix memory leak I introduced in r11308. 2011-11-18 01:04:57 +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
618df78900 "Blockfile" -> "Block File" in interface. 2011-11-16 01:12:35 +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
b2e0e984d9 Add an assert for possible null pointer dereference detected by cppcheck. 2011-11-10 20:17:44 +00:00
v.audacity
412b81392c This is the only possible null pointer deref found by cppcheck scan on src that I think is worth making failsafe. 2011-11-10 07:37:50 +00:00
martynshaw99
8adac0ed64 Remove spurious ASSERT, Sequence::GetMinMax iterates over each of the blocks that go to make up the len. 2011-11-07 00:01:30 +00:00
windinthew
3af0e440e6 Updated software translation from Bashishtha Singh 2011-11-06 16:41:12 +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
0f74ce22c9 Fix null pointer deref crash, reported by Leland. 2011-11-03 22:19:50 +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
windinthew
b5c429d58f Updated software translation from Atsushi YOSHIDA. 2011-10-29 16:45:25 +00:00
v.audacity
75ab958ef9 rewordings per Martyn's suggestions regarding test project for bug 451, where conversion from 1.2 format says save will make it permanent and irreversible, but DirManager::ProjectFSCK() was not making it clear when choices make a Save. 2011-10-28 02:29:15 +00:00
v.audacity
04d3e77632 Rewording and re-ordering of orphan blockfiles alert, per Martyn's suggestion.
Add project data folder name to most ProjectFSCK alerts.
2011-10-28 01:32:47 +00:00
windinthew
e25373490d Updated software translation from Thomas de Rocker. 2011-10-25 23:57:04 +00:00
windinthew
474104827a Updated software translation from Christian 2011-10-25 17:52:14 +00:00
v.audacity
44a4d6a8b1 further comments from Roger 2011-10-21 04:02:47 +00:00
windinthew
eab4109489 Added new Serbian translation by Miroslav Nikolic. 2011-10-20 15:41:57 +00:00
v.audacity
1ceb0ef660 Apply modified version Roger Dannenberg's patch to remedy some problems from commit r10680 and fix some bugs. 2011-10-19 23:06:53 +00:00
v.audacity
939eab26ae Change "blockfile" to "block file" consistently in log and error dialogs. 2011-10-16 23:16:20 +00:00
v.audacity
a0db986d56 More detail in log message about Sequence with len > mMaxSamples. 2011-10-16 23:15:28 +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
4e81f0ed5a Change "blockfile" to "block file" consistently in log and error dialogs. 2011-10-16 23:12:00 +00:00
v.audacity
3d39a8d560 rewording per Gale's suggestion re bug 451 2011-10-16 23:10:55 +00:00
v.audacity
5bb7d0ec84 This should fix the additional build problem Steve reported. 2011-10-16 22:16:24 +00:00
v.audacity
de54ae309d This should fix r11279 build problems on Linux. 2011-10-14 04:36:40 +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
v.audacity
5697e39ec0 (bug 451, P2) Improve specificity of one of the "Gap detected..." messages, so it includes blockfile name and extension if possible. Also changed some wxLogError calls to wxLogWarning, as the plan is to handle them rather than fail the load.
Also made the "...will not be loaded" messages in LoadModules.cpp consistently use wxLogError.
2011-10-12 23:17:40 +00:00
v.audacity
4d1e18d8fd In DirManager.cpp, probably fixed bug 451, by not deleting over-long blockfile.
Made Sequence::HandleXMLEndTag log errors more specific.

Differentiated "Gap detected in project file" error messages.
2011-10-12 05:40:23 +00:00
mchinen
7b04d6518d comments - explanation of blockfile filename/dir structure 2011-10-11 19:24:47 +00:00
v.audacity
caf33fc995 Clarify some comments, in figuring out the cause of bug 451 (p2). 2011-10-10 21:26:35 +00:00
v.audacity
3a1d4334f2 Make wxLog* calls consistently not have \n at the end. Turn some wxLogWarning calls to wxLogError. Put some periods at the ends of sentences. 2011-10-09 21:14:03 +00:00
windinthew
dd47a9a5e4 Updated software translation from Yuri Chornoivan 2011-10-07 15:55:07 +00:00
v.audacity
f2b02294b6 Fix memory leaks. 2011-09-29 22:10:42 +00:00
v.audacity
17ca45dcdf 2011-09-29 05:24:26 +00:00