1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-11 01:21:11 +02:00

450 Commits

Author SHA1 Message Date
James Crook
67dff35a12 Bug 2640 - Plot Spectrum and Contrast analyzers are not "Repeatable"
Completing the update by John Colket.  The plan always was that
these new 'repeat' entries were optional commands bindable to
keyboard shortcuts by advanced users.

Users visiting the menus can re-select the item they want.
For these menu users it would be confusing/overload to list
these repeat commands in the menu.  Repeat last effect in the Effects
menu is more important.  It is there in the menu to signal to
users that there is the Ctrl+R key binding for it.
2021-02-03 11:40:21 +00:00
JohnColket
a3d9f41fb4
Bug 2582 - Enh: Repeat last Process, Part 2 (#734) 2021-02-03 11:02:49 +00:00
Paul Licameli
15313a27f7 Define virtual Track::PasteInto to simplfy Paste...
... Also making EditMenus not dependent on TimeTrack
2021-02-02 15:01:51 -05:00
Paul Licameli
8543d2dd30 Also skip TimeTrack in some other commands with the flag 2021-02-02 14:56:52 -05:00
Paul Licameli
2842fa7d56 Don't cut or copy TimeTrack...
... Which was the intention in the flags enabling the commands
2021-02-02 14:44:28 -05:00
Paul Licameli
badb1643fa New Track virtual eliminates a track_cast in CommonCommandFlags...
... Also a better name for one of the command flags

This allows removal of special mention of TimeTrack
2021-02-02 14:42:21 -05:00
Leland Lucius
5aa5b0df6d Bug 2435 - Some menu commands greyed out when playback paused 2021-01-27 16:05:45 -06:00
Paul Licameli
35e9afe34d Remove unnecessary parts of fix for bug 2501...
... Don't need to put the project in a strange state where Undo commands are
ignored until labels are de-selected
2021-01-26 04:23:45 -05:00
Leland Lucius
a03a6abb4b Bug 2501 - Undo for label edit results in a blank label 2021-01-24 23:27:50 -06:00
luzpaz
7a3bdcf3f2
Fix typos (user facing and non-user facing) (#727)
Found via `codespell v2.1.dev0`  
`codespell -q 3 -S *.po,./lib-src -L parm,parms,toke`
2021-01-24 09:46:08 +00:00
Paul Licameli
0df8fbcc74 Bug2583: Re-placement of splits after paste 2021-01-23 14:38:36 -05:00
Leland Lucius
e8b2602473 Bug 2616 - Labelled Audio Cut and Delete disabled by Sync-Lock 2021-01-20 12:32:09 -06:00
Leland Lucius
235cc242e4 Bug 2616 - Labelled Audio Cut and Delete disabled by Sync-Lock 2021-01-20 10:46:30 -06:00
Leland Lucius
26d8fcad66 Bug 2616 - Labelled Audio Cut and Delete disabled by Sync-Lock 2021-01-19 15:31:06 -06:00
Paul Licameli
6b42c92651 Small correction to commit 549dacf 2021-01-16 13:32:59 -05:00
Paul Licameli
43574553fc Break dependency cycle introduced at 50f3321...
... This only cuts and pastes some functions from FileNames to another new file
and namespace, and changes namespace qualifiers where they are called.

The cycle resulted because of the need to include widgets/ErrorDialog.h
2021-01-16 13:28:37 -05:00
Leland Lucius
086cacad76 Bug 2616 - Labelled Audio Cut and Delete disabled by Sync-Lock
This is only for information gathering. I don't believe that
simply allowing the use of these two menu items is sufficient.
I believe more work will need to be done, but I wanted to get
it in the QA hands.
2021-01-16 02:26:35 -06:00
JohnColket
549dacf054
2582 enh repeat last process (#722)
* Enhancement: Add Repeat Last Process

* add include UndoManager.h
2021-01-15 14:22:38 +00:00
freddii
534359de6c
Fix minor typos (#720)
Co-authored-by: freddii <https://freddii@github.com>
2021-01-12 11:56:09 +00:00
freddii
2593a84d56 Fix some spelling mistakes. 2021-01-12 09:55:31 +00:00
Paul Licameli
4871584cb3 Mixer::WarpOptions constructor for common case 2020-11-30 13:42:35 -05:00
James Crook
ad85755101 Bug 2600 - Compact project followed by undo restores the last saved state
Uncompacted projects use up 50% or so more space than they could.
The 'compact' feature as currently implemented is confusing, and does
not merit inclusion given the lowish saving.  So featured disabled/removed.
2020-11-27 15:18:05 +00:00
Paul Licameli
caa312ab7b Remove some unneeded #includes and forward declarations 2020-11-20 13:47:47 -05:00
Paul Licameli
490271f259 Define UndoManager::VisitStates 2020-11-18 17:07:00 -05:00
Paul Licameli
d49a888b98 Remove some unnecessary #includes 2020-11-18 17:06:12 -05:00
Paul Licameli
716139494d Move details of OnCompact into ProjectFileManager...
... so it can use mLastSavedTracks
2020-11-17 17:10:43 -05:00
David Bailes
eb1104445c Bug 2580: move to label commands in unexpected menu
Fix:
In the Extra menu, move the move to label commands from the play-at-speed sub menu to the selection sub menu.
2020-11-09 10:40:29 +00:00
David Bailes
c563d5cc40 Clip left/right commands: rename and move
The clip left/right commands can now time shift clips, notetracks, and labels.
So:
1. Rename them Time Shift Left/Right
2. Move them the to edit sub menu of the extra menu, which is more appropriate than the Cursor sub menu.
2020-10-09 10:46:47 +01:00
Paul Licameli
7186aaf11c Remove unused function 2020-10-07 19:01:35 -04:00
David Bailes
cce2c7b883 Bugs 2558 2559: After clip left/right, selection start can be wrong
Problem:
In DoClipMove() in ClipMenus.cpp, there are a couple of problems in the code for the adjustment of the new value t0 due to potential rounding errors:
1. The code uses the start and end of intervals, and these values are not updated after the move.
2. It's assumed that the same correction is valid for all track types.

Fix:
Implement an adjustment which depends on track type, and does not use the start and end values of intervals.
2020-10-07 13:27:09 +01:00
Paul Licameli
aabcc24cdb Fix crash in clip shifting menu items 2020-09-29 13:28:44 -04:00
Paul Licameli
6fd04429b4 Remove an unnecessary #include 2020-09-29 10:06:44 -04:00
dofuuz
f144a1f689
Improve 'Import Raw Data' dialog (#679)
* Add sample rate preset(combo box) to Import Raw Data dialog

* Import Raw Data dialog: Get default sample rate from Project Rate

* Fix build
2020-09-27 14:03:37 +01:00
James Crook
fbaf5f7e97 Add 'Shift+A' shortcut for 'Compact' 2020-09-26 11:21:16 +01:00
James Crook
e3bd5cfa61 Add: Help button for "Copying stereo audio into a mono track error" 2020-09-21 15:32:56 +01:00
Paul Licameli
6e0b5b690a More control over HitTest behavior moved into the Track Shifter classes 2020-09-20 00:31:39 -04:00
Paul Licameli
f204ee3192 Always pass ViewInfo to TrackShiftHandle::HitTest 2020-09-20 00:30:07 -04:00
Paul Licameli
637ce894c1 Pass project to TrackShifter factory, which LabelTrackShifter will need 2020-09-20 00:30:06 -04:00
Paul Licameli
c98285c544 New method of TrackShifter, simplify ClipMoveState::DoSlideHorizontal...
... Also the clips to shift within a WaveTrack are tested all at once, more
simply
2020-09-20 00:26:47 -04:00
Paul Licameli
2b06115b32 Clip Left/Right general enough for note tracks: one less TypeSwitch! 2020-09-19 19:16:46 -04:00
Paul Licameli
4f159a7629 New method of TrackShifter moves a calculation out of ClipMenus 2020-09-19 19:16:45 -04:00
Paul Licameli
bc7f527a3b Lower mCapturedTrack into ClipMoveState, simplify one member function 2020-09-19 19:16:45 -04:00
Paul Licameli
329221b392 Lower more into Init(); ClipMenus uses ClipMoveState opaquely 2020-09-19 19:16:45 -04:00
Paul Licameli
00f761eb5e TrackShifters responsible for snapping; remove a TrackList::Visit...
... Also dependency of TimeShiftHandle on LabelTrack, lately added, is removed
2020-09-19 19:16:45 -04:00
Paul Licameli
eb22892064 TrackShifters decide what parts move or stay fixed...
... for now redundantly with the older logic.

Also shorten a function name to Init
2020-09-19 19:16:43 -04:00
James Crook
5407f92c0c Fix Mac Build.
Brackets for XO were in the wrong place.
2020-09-14 18:56:57 +01:00
James Crook
caf4eadb97 Help button for many warning messages; Restored warning icon.
The error icon was gone because we are now using the ErrorDialog, which didn't have it.  So added back explicitly.  I decided to go with wxART_WARNING rather than wxART_ERROR because nearly all of these present as warnings.
2020-09-14 17:43:28 +01:00
Paul Licameli
a2e22dc17b TransactionScope for performance also when abandoning redo states 2020-09-06 17:05:33 -04:00
Paul Licameli
4ca3e7096f
Track factory cleanup (#646)
* Don't need TrackFactory to make LabelTrack

* Don't need TrackFactory to make NoteTrack

* Don't need TrackFactory to make TimeTrack, or ZoomInfo in the factory

* Remove some forward declarations

* Rename TrackFactory as WaveTrackFactory, move it out of Track.cpp
2020-08-22 18:44:49 -05:00
Leland Lucius
542a9a8d98 [Bug 2522] In Macros, Record New Track and Play with a selection do not wait for completion. 2020-08-15 18:03:09 -05:00