1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00

416 Commits

Author SHA1 Message Date
v.audacity
0383e4f803 (bug 221, Configure failure on Ubuntu 10.10 and Gentoo "Your version of portaudio does not include required functions", P3)
Apply patch from Benjamin Drung to fix this bug.
2010-09-28 21:08:02 +00:00
v.audacity
8f20e65167 (bug 20, P2)
Fix auto-recovery failures that Gale reported, when auto-recovered projects had been saved to top-level directories, e.g., "E:\dtmf.aup" on Windows. Problem was with file separators. This DirManager code is quite convoluted, touched by multiple chefs, and called from many places, so this fix does not correct the origination(s) of the problem, but doesn't break anything higher up, and is a failsafe against probably multiple errors at higher levels.

Make some parameter names clearer vs class vars. Readability is better if the names are not lexicographically exactly the same.
2010-09-28 05:03:50 +00:00
v.audacity
bd39b07260 'How to Get Help' is a title, so needs title capitalization, so changed "get" to "Get". And it's a dialog box, not a message.
Internet is a proper name, so should always be capitalized.
2010-09-28 01:50:45 +00:00
rbdannenberg
c389f0348b Previous bug fix to add.c introduced a declaration after statements, rejected by some compilers. This new add.c should compile everywhere. 2010-09-27 17:55:51 +00:00
rbdannenberg
e76bfa39ef Fix compiler warnings (string constant to char *) from allegro.h. Also implements play at speed for MIDI, but some MIDI playback problems remain. 2010-09-27 05:51:41 +00:00
rbdannenberg
f37b4ab344 Fixed some Nyquist bugs, eliminate some compiler and wipro checker warnings 2010-09-27 05:42:28 +00:00
v.audacity
c159d469d6 Fix another bug reported by Wipro: "...at line 89 in function xlungetc , file xlio.c
'fptr', can take a NULL value. It is being derefed directly or through its aliases at: '(((fptr- >n_info).n_xstream).xs_savech)'"
2010-09-25 22:15:46 +00:00
windinthew
a267f86b2e Clarify in "Can't export multiple files" warning that the Label Track containing labels must be directly underneath the audio track. 2010-09-25 07:45:56 +00:00
martynshaw99
48e04173b1 Make sure that whenever a clip is offset, it is by a whole number of samples at it's sample rate. 2010-09-23 23:06:12 +00:00
windinthew
343297ecde * Steve's fix to disallow labels before zero
* Correct web address for David; remove help from ;info line (now added to Manual)
2010-09-23 15:43:47 +00:00
v.audacity
ec047e7c71 (bugs 20 and 137, P2) Working on these bugs, tightened up some code and corrected some comments. 2010-09-23 00:30:05 +00:00
martynshaw99
e46abdbeaa Using QUANTIZED_TIME, functionally identical. 2010-09-22 23:24:52 +00:00
windinthew
251d47fcb3 Further work on software translation by Thomas Breinstrup 2010-09-22 05:10:28 +00:00
windinthew
31041351c5 Remove ellipses from title of Nyquist Prompt dialogue 2010-09-21 06:03:52 +00:00
v.audacity
afc2818026 Restore cruft declaration of clrTrackInfoSyncLockSel, per http://audacity.238276.n2.nabble.com/Deleting-colors-td5546304.html#a5546304. 2010-09-20 20:30:45 +00:00
prlivesey
3db9b4db68 Changes to fix compilation problems on a Mac after extensive changes to improve NoteTrack display. 2010-09-19 21:46:40 +00:00
richardash1981
312faf654d Experimental features (especially ones that don't work on all platforms) shouldn't be enabled by default! 2010-09-19 20:50:51 +00:00
BusinessmanProgrammerSteve
b016dc8386 Fix compile --without-midi 2010-09-19 17:32:03 +00:00
rbdannenberg
639c8dbfb9 Fixed bug in Nyquist SND-AVG where block size smaller than skip size overwrote memory and crashed. 2010-09-19 12:19:26 +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
BusinessmanProgrammerSteve
f6327602e8 Improve consistency of copy/paste operations in label tracks;
use new background-drawing function in label tracks.
2010-09-18 17:41:15 +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
c43b3bc387 (sync-lock)
Further shrink minimize button width and center the button in the TrackInfo, so there's a blank to left and blank-or-sync-lock-icon to right, so track can be selected easily even when minimized.

(TrackInfo::DrawBordersWithin) Instead of gray line spanning TrackInfo at top of minimize button, draw it just the width of the button, and add one to the left of the minimize button. 

Separate sync-lock icon drawing from minimize button drawing. 

Make some magic numbers become named constants.

Some renames for clarity. Clean up some unused stuff.
2010-09-16 23:08:33 +00:00
v.audacity
fb3e2dab1b Fix another error reported by Wipro, deref of possibly NULL pointer. 2010-09-14 23:02:19 +00:00
windinthew
a18981a79a EXPERIMENTAL_LINKING -> EXPERIMENTAL_SYNC_LOCK to match with r10673 2010-09-14 11:57:31 +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
v.audacity
c3cc10a265 Fix a couple of errors reported by Wipro. 2010-09-13 23:42:21 +00:00
martynshaw99
8e94cd5369 Improved QUANTIZED_TIME macro, just in case integers are passed. 2010-09-13 23:01:12 +00:00
BusinessmanProgrammerSteve
50d2a5b665 Draw a (slightly lighter) selection outside of clips in audio tracks. 2010-09-13 07:41:17 +00:00
BusinessmanProgrammerSteve
c0b5fb01da Performance improvements for track spectrum display and PCM
import submitted by Sami Liedes.
2010-09-13 01:31:54 +00:00
martynshaw99
1d6e1593ee Eliminate msClipLen since it leads to length errors in WaveTrack and WaveClip. 2010-09-12 22:31:58 +00:00
martynshaw99
5c48047d0e Paste envelope in at the correct place 2010-09-12 20:43:14 +00:00
martynshaw99
eb145b241c Copy the correct amount of 'envelope' to match up with the samples - the lengths should correspond. 2010-09-12 20:00:27 +00:00
v.audacity
1663db9915 (sync-lock)
Change sync-lock tile and icons to be clock instead of chain link. (Yet to change sync-lock button image.)

Make click on sync-lock icon select track.

Remove bevels on regions holding controls, so that bevels are only on controls themselves. This removes confusing border line above sync-lock icon, and simplifies the TrackInfo.

Be more specific about class methods vs stand-alone functions in comments.
2010-09-12 05:11:43 +00:00
windinthew
ce73ad6ad5 Updated software translation from Bashishtha Singh 2010-09-11 13:51:39 +00:00
v.audacity
1b1b05947e It is an error to copy a WaveClip without specifying the DirManager. Defined break-inducing copy constructor and assignment operator methods so that if some developer makes the mistake of calling a single-arg copy constructor rather than the one below (that requires a DirManager*), rather than it going to C++-generated default copy constructor, it goes here and the error is made clear to that developer.
These are a good idea to add in *many* other places...
2010-09-10 22:02:04 +00:00
windinthew
a106ae232f * Correct "Compling Audacity" typo passed through from e-mail to "Compiling Audacity", plus move down "Developing in Windows" link to help people check for common compilation errors
* Errors and inaccuracies are better directed to feedback@ so there is no disincentive effect of having to register on the Forum to report obvious errors
2010-09-10 12:09:15 +00:00
BusinessmanProgrammerSteve
c046a80562 Fix random typo (extra backslash) in Sequence.cpp causing warning 2010-09-10 06:01:10 +00:00
BusinessmanProgrammerSteve
ed7f94ca7d Avoid passing a wxString to wxString::Printf() 2010-09-10 05:22:23 +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
v.audacity
a46081d5b5 Get rid of unused copy constructor that's "fatal" to call (although it didn't crash, just frightened the user!). 2010-09-09 22:15:21 +00:00
v.audacity
1a05037beb (bug 123, P2) Add a macro for Martyn to use in his work on fixing this bug. 2010-09-09 22:12:35 +00:00
v.audacity
702894c67d (Sync-Lock)
Commented out the one call to TrackInfo::DrawBordersWithin(). This eliminates all the dark lines within the TrackInfo, in an effort to make the sync-lock icon not look like a button. It leaves some lighter borders, and I think that's an aesthetic improvement, though it make be worse in terms of accessibility. I can also remove the light border above the sync-lock icon, but I think this looks best overall.

In Track::IsSyncLockSelected(), for the "// Not in a sync-locked group." conditional, it returned true if the track was selected. I made it do so only if track kind is Wave or Label. Among other things, this means Time and Note tracks will never show the sync-lock icon. I think this is correct by definition, but Al, please let me know if this will have negative repercussions elsewhere. There are *lots* of calls to that method and I can move the track-type check to the code that draws the sync-lock icon..

Fixed the bug Gale pointed out where, if a WaveTrack is shrunk such that the sync-lock icon is over a TrackInfo control, such as pan slider, it didn't intercept the mouse event, and passed it on to the control. Now, clicking on the sync-lock icon does nothing. 

Fixed a bug where the sync-lock icon was redrawn dark when the minimize button is down. Now not redrawn at all in that case.

Added some clarifying comments, especially about the term "Label" as used in TrackPanel.*.
2010-09-09 00:46:40 +00:00
BusinessmanProgrammerSteve
f430aad99b Fix crash mentioned in bug 215 (work around old wxList bug) 2010-09-08 04:02:52 +00:00
v.audacity
340667167e Improve acccuracy of comments. 2010-09-07 23:37:45 +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
martynshaw99
50a61e1570 Reverting previous change, since it was using mViewInfo.sel0/1 at the time of pasting, not of copying. 2010-09-07 22:03:24 +00:00
martynshaw99
82275c946e A step in removing msClipLen and all it's problems.
Highlight the pasted clip as well as we can.
2010-09-07 00:00:38 +00:00
martynshaw99
5f2252a5b9 Getting to the bottom of those 'off by one' samples, some unavoidable (see bugzilla 123 http://bugzilla.audacityteam.org/show_bug.cgi?id=123#c27)
Also getting more experience of those mT1-mT0 problems.
2010-09-05 23:29:53 +00:00