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

465 Commits

Author SHA1 Message Date
Paul Licameli
9a66255013 Move AudioIOBase::mPlaybackSchedule up into AudioIoCallback 2021-05-14 16:25:41 -04:00
Paul Licameli
cf948ece52 Eliminate duplications of string literal "Nyquist Prompt" 2021-05-14 13:08:02 -04:00
Paul Licameli
c5ebc396eb Audacity.h has shrunk to nothing, now remove it! 2021-05-10 00:05:23 -05:00
Paul Licameli
e653b4aaf8 Eliminate Experimental.h, configure compile options instead...
... This makes it impossible to forget to include the EXPERIMENTAL definitions
(such as when cutting and pasting code) and so get unintended quiet changes of
behavior.

The EXPERIMENTAL flags are now specified instead in new file Experimental.cmake
2021-04-27 12:40:07 -04:00
Paul Licameli
c781a108e3 Move compile-time testing of crash report support out of Experimental.h 2021-04-27 12:40:06 -04:00
James Crook
28a634c5e2 Bug 2671 - ENH: "Show track name as overlay" cannot be turned on from main menus 2021-04-24 12:21:25 +01:00
James Crook
9e3c98202f Bug 2734 - Apply macro may not create the macro-output folder in the source directory
Now macro-output is placed in your default documents folder (if no
path specified) or in the path you specify (if a path was specified).
2021-04-09 19:05:19 +01:00
James Crook
f5a69354e0 Bug 2701 - Progress dialog interferes with scripting.
Interference mattered for "PlayLooped".
No interference existed for an empty selection, a play until stopped.
2021-03-21 10:56:51 +00:00
James Crook
c08131b78f Bug 2689 - Ctrl+R to repeat an effect may show the dialog 2021-03-08 09:51:46 +00:00
Leland Lucius
5f68102dc5 Revert "Bug 2547 - Shift + Click may select incorrect tracks"
This reverts commit 0c234359afa2e7a9cb6ccd3a431444d691beede7.

Will need to find another way and have discussion as pointed out
in bug #2547.
2021-02-14 03:43:17 -06:00
Leland Lucius
598eb39484 Bug 2353 - Import RAW into empty project does not zoom to fit 2021-02-12 18:56:41 -06:00
Leland Lucius
0c234359af Bug 2547 - Shift + Click may select incorrect tracks 2021-02-12 10:12:08 -06:00
Leland Lucius
9445393876 Bug 2527 - Reset Configuration does not reset Project rate or selection timers 2021-02-11 15:01:35 -06:00
Paul Licameli
5c80f6f19f Specification of Preferences menu item simplified 2021-02-07 11:55:14 -05:00
Paul Licameli
5fda4b959f Some command flags can be defined nearer their sole points of use 2021-02-03 17:05:27 -05:00
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