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

878 Commits

Author SHA1 Message Date
Steve Daulton
a17af37c1e Fix bug 1992 2018-10-02 22:40:10 +01:00
Paul Licameli
beebe648fb Remove more uses of Track::SetLinked() and Track::SetChannel() 2018-10-01 13:42:36 -04:00
Paul Licameli
2ee87082cb Track::GetLink and GetLinked are private, but SetLinked isn't yet 2018-10-01 13:42:34 -04:00
Paul Licameli
4aa990e835 Remove GetLink(ed) in various other places 2018-10-01 13:42:33 -04:00
Paul Licameli
d2a18f01e3 Remove use of GetLink(ed) in AudacityProject::OnPaste 2018-10-01 13:42:32 -04:00
Paul Licameli
f276373f3c Remove GetLink(ed) in clip-moving functions 2018-10-01 13:42:29 -04:00
Paul Licameli
d01013e0d0 Rewrite many iterations over tracks and channels in Menus.cpp 2018-10-01 11:19:35 -04:00
Paul Licameli
1e32309d24 Rewrite MenuCommandHandler::HandleAlign 2018-10-01 11:19:18 -04:00
Paul Licameli
1be3187b99 Use TrackIterRange::Visit 2018-10-01 10:59:24 -04:00
Paul Licameli
17089d03bf Rewrite MenuCommandHandler::OnPaste with TypeSwitch and new iterators 2018-10-01 10:59:09 -04:00
Paul Licameli
51842fc78b Use TypeSwitch and track_cast 2018-10-01 10:58:47 -04:00
Paul Licameli
e17c4acd5d Rewrite sorting of tracks 2018-10-01 10:54:37 -04:00
Paul Licameli
05ddfaf82b Remove TrackList::Select 2018-10-01 10:47:51 -04:00
Paul Licameli
5c6fd64a0e TrackList::GetPrev and ::GetNext are private 2018-10-01 10:44:58 -04:00
Paul Licameli
a0e15cfbbd Remove TrackListIterator::RemoveCurrent 2018-10-01 10:42:02 -04:00
Paul Licameli
89748cbe3c Remove "skiplinked" argument of old track iterators 2018-10-01 10:35:46 -04:00
Paul Licameli
debf96028e Provide missing piece of menu refactor, commit 9481587 2018-09-29 13:54:42 -04:00
Paul Licameli
4710d69f4c Bug1988: Don't lose data in unusual inter-project copy-paste case 2018-09-29 12:10:27 -04:00
Paul Licameli
9481587fa8 Move menu handling functions out of class AudacityProject 2018-09-29 12:10:27 -04:00
James Crook
0f5c8d4d84 Wording: "Duplex" -> "Overdub" (missing piece). 2018-09-08 14:41:43 +01:00
Steve Daulton
ad19ca0fa2 Fix for bug 1972 2018-09-06 20:32:08 +01:00
Paul Licameli
f61989e922 Part fixes for compilation of EXPERIMENTAL_SCOREALIGN 2018-09-05 13:25:41 -04:00
Paul Licameli
69bf7fd120 remove unused function 2018-09-04 23:04:18 -04:00
James Crook
40ab579442 Bug 1957 - Overdub disabled when enabled in Transport menu 2018-08-30 12:42:51 +01:00
James Crook
0ea4ff1395 Add internationalization hints. 2018-08-28 16:35:06 +01:00
James Crook
878818a1aa Wording: "Duplex" -> "Overdub" 2018-08-27 14:23:45 +01:00
Steve Daulton
b9ec43433e Bug 1934 residual
Allow generate type plug-ins spawned from Nyquist Prompt to create
a new track if none selected.

This commit also fixes preview in generators when there is no selection.
2018-08-21 14:02:48 +01:00
James Crook
d59ed9026b Bug 1890 - Enh: Punch and Roll fails when splice point is at track end 2018-08-12 11:34:08 +01:00
James Crook
ca694a1b22 Bug 1854 - Un-warned export file overwrite danger in 2.2.2 Chains and 2.3.0 MacrosWindow
Now we add a suffix of 001, 002 and so on up to 100.  Then fall back to prompting.
2018-08-11 12:54:24 +01:00
Paul Licameli
2472b128d3 Fix compilation of EXPERIMENTAL_AUTOMATED_INPUT_LEVEL_ADJUSTMENT 2018-08-08 17:08:54 -04:00
James Crook
71005cf125 Add File->Reset Menu Item (#ifdeffed out)
An compile-time optional menu item for checking the ResetProjectToEmpty() functionality.
2018-08-05 21:34:24 +01:00
James Crook
c94df54157 Bug 1856 - Applying Macros to Files is no longer a batch process
This restores the 2.2.2 behaviour, with a subdirectory called 'cleaned'.  The problem was that 2.2.2 used special cases for MP3 Ogg and WAV exports, which were stripped out in favour of using the built-in Export command.  However, the differences in behaviour (prompting) between batch and non batch mode were not taken into account.
2018-08-04 19:16:32 +01:00
James Crook
3ccdde8fdb Bug 1912 - Play/Stop and Set Cursor no longer sets the cursor at the stopped play position 2018-08-03 17:16:31 +01:00
James Crook
1192914460 Fix duplication of Nyquist Prompt.
Now just one Nyquist Prompt, and it's in the tools menu.
2018-08-03 16:11:44 +01:00
Paul Licameli
5f27ae905c Changed misleading terminology in scrubber...
... It was confusing that HasStartedScrubbing() could be true
while also not IsScrubbing()
2018-07-29 14:20:11 -04:00
James Crook
f13e621bc1 Bug 1906 - Issues with dynamic Play-at-Speed
This fix addresses the remaining issue, issue 4, that the selection was often cleared when Play-at-Speed stopped.
The problem was that Scrubbing 'Set Selection to here' code was not being disabled by the Play-at-Speed state.
2018-07-27 17:13:03 +01:00
James Crook
f71e36acff Move check box items to foot of menus.
These two items are only in alphas in any case.
2018-07-22 18:58:02 +01:00
James Crook
66e203cdca Transcription Toolbar -> Play-at-Speed Toolbar 2018-07-22 18:21:38 +01:00
James Crook
2739020342 Bug 1902 - "Nyquist Prompt" confusingly shown only as "Nyquist" when "Grouped by Type" is active
Now shown as "Nyquist Effects Prompt" (in Effects menu) and "Nyquist Tools Prompt" (in Tools Menu).
These prompts will have slightly different behaviour, e.g. only tools allow aud-do.
2018-07-14 16:51:49 +01:00
James Crook
d057dfb5d8 Move "Help Menu" after "Extra Menu". 2018-07-05 19:34:16 +01:00
David Bailes
6c48be71ff Remove a compiler warning in Menus.cpp
Quick fix of compiler warning caused by some of my code.
2018-07-05 13:11:28 +01:00
David Bailes
c2bc21030f Accessibility: stop NVDA always reading track 1 after an undo or redo
Problem: the call mTrackPanel->SetFocusedTrack(NULL); in AudacityProject::OnUndo, and OnRedo cause NVDA to read the name of track one before reading the name of the track finally focused.
These calls were introduced by this commit:
Author:			llucius <llucius@47890b92-0858-11df-a26f-8b716316a5bc>
Date:			9 years ago (23/03/2009 10:56:39)
Commit hash:	bb7e9c186ab538d20ee5fa6a77da533902ec79a3
Children:		0034ab439e
Parent(s):		4ed2ff6dbf

Invalidate FocusedTrack pointer after undo/redo as it is no longer valid...I wonder if there are other cases like hits???

Fix: In TrackPanelAx, the last focused track is now stored as a weak_ptr, so these calls can be removed.
2018-06-27 11:23:49 +01:00
Paul Licameli
47665836c7 Enh 1890: Allow P&R when cursor is exactly at track end...
... but then adjust time leftward a little, so there is some crossfade
2018-06-21 18:15:25 -04:00
Paul Licameli
a3312f4ae0 Guard against negative values for P&R preferences 2018-06-21 18:01:59 -04:00
Paul Licameli
46fb2960c0 Links to help for errors in usage of P&R 2018-06-20 23:02:22 -04:00
Paul Licameli
3b11093766 Change message for Punch and Roll when track selection is inappropriate 2018-06-20 22:53:47 -04:00
David Bailes
0c9dfc4933 More convenient shortcuts for selecting prev/next clip
The shortcuts for these commands were changed in commit e01122e841fc25cd004ecea77b1665015700f937 to avoid conflicts with the access keys of menus.
They were changed to Ctrl+Alt+P/N. These aren't very convenient for typing, so this commit changes them to Alt+comma/period.
2018-06-18 13:58:14 +01:00
James Crook
66a87ecaa9 Disallow punch and roll from t=0.0
Punch and roll from 0.0 deletes the whole track before punch and rolling.
That is unlikely to be what the user intended, since there is then no audio
cue, so disallow it.

Also reduced indentation.
2018-06-13 17:00:09 +01:00
Paul Licameli
3051e9ce7e Stop button works during punch and roll recording 2018-06-09 15:43:17 -04:00
David Bailes
122607f180 Fix selection contract left/right commands
problem: The commit 1ccd2678b6985759915fe420c74a094361420dc2 swapped the actions of these two commands.

Fix: swap them back to their original actions:
Selection contract left: contracts the selection by moving its left hand end to the right.
Selection contract right: contracts the selection by moving its right hand end to the left.
2018-06-07 09:21:45 +01:00