Paul Licameli
7edbad3cd1
Bug2570 residual: Compact should not change last saved state...
...
... So that if you save, edit, compact, close without saving, then reopen,
you recover the saved state as expected, not the compacted state.
Implications:
Do not push an undo state for compaction. Discard redo states instead.
Do not purge undo states after the last saved. The database still needs them.
So we might reclaim less space than before.
2020-11-18 19:21:26 -05:00
Paul Licameli
16b249ab9f
ProjectFileIO fns now take multiple pointers to const TrackLists
2020-11-18 17:30:55 -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
47b3b798c9
Fix comments
2020-11-18 16:57:33 -05:00
Paul Licameli
4b3a4a1f4b
Warning about returning reference to temporary is now a build breaker
2020-11-18 14:07:16 -05:00
Paul Licameli
0277e00402
Bug2569: Alias block files should import correctly into .aup3
2020-11-17 23:19:06 -05:00
Paul Licameli
a8bc89e4c4
Bug2570: Save-compressed or -lossless files from 2.x should import
2020-11-17 21:37:54 -05:00
Paul Licameli
e9d72ed6df
Change handling of added tracks in ImportAup...
...
... Add them to the project, not a temporary array; revoke the addition if
there is a failure.
Preliminary for fixing bug 2570.
2020-11-17 21:14:04 -05:00
Paul Licameli
8ac1cb75aa
Bug2579: Don't corrupt project after compact the exit without save...
...
... also may improve compaction by clearing mLastSavedTracks first
2020-11-17 17:21:33 -05:00
Paul Licameli
ea76b7c9f7
Don't clear clipboard unnecessarily in ProjectFileManager::Compact()
2020-11-17 17:13:41 -05:00
Paul Licameli
716139494d
Move details of OnCompact into ProjectFileManager...
...
... so it can use mLastSavedTracks
2020-11-17 17:10:43 -05:00
Paul Licameli
4cb4b1ab6d
Fix signed/unsigned comparison
2020-11-17 14:13:44 -05:00
Steve Daulton
c3a47d0a75
Bug 2585 - Incorrect help file address for Loudness Normalization
2020-11-17 17:35:50 +00:00
James Crook
d6a6b256fe
Bug 2584 - "GetInfo: Envelopes" returns incorrect track numbers
...
Also clip count resets to zero on each new track.
Also fixed GetInfo: Clips to count all tracks, not just wave tracks.
2020-11-15 20:31:54 +00:00
Steve Daulton
69e0d7d114
Update copyright date
...
I missed one in the previous commit.
2020-11-11 16:24:23 +00:00
Steve Daulton
0836ab12b4
Update copyright date
...
Probably overlooked as it is at the bottom of the About page.
2020-11-10 15:17:15 +00: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
Thomas De Rocker
e9d8db71a6
Update ProjectHistory.cpp ( #687 )
...
Fix typo - "Warning" instead of "Warining"
2020-11-02 12:12:35 +00:00
James Crook
3978e8c9ee
Bug 2546 - Recording onto a nearly full disk results in two error messages re "disk full"
2020-10-28 12:38:15 +00:00
SteveDaulton
0a8a25e246
bug 2081 - Frequencies added to labels
...
Mitigate bug by making old label format the default
and the addition of frequency ranges optional.
2020-10-23 15:19:49 +01:00
Paul Licameli
fed26b9896
Remove never-used source files, mistakenly added at 1276968
2020-10-18 03:17:26 -04:00
James Crook
28e664455b
Wording change - Line break in Directories Preferences.
2020-10-16 15:28:44 +01:00
Paul Licameli
9d6cfcc746
WaveTrackView::BuildSubViews can be simplified...
...
... The setting of scale type now happens in the default constructor of
WaveformSettings, which calls LoadPrefs.
Since creation of WaveformSettings is always forced, we don't need the
distinction between WaveTrack::GetWaveformSettings and
WaveTrack::GetIndependentWaveformSettings.
That distinction was more analogy with the handling of SpectrogramSettings that
we don't need now.
2020-10-10 11:27:06 -04:00
Paul Licameli
046548ad2b
Remove uses of preference paths that were never written...
...
... Never written, because WaveformPrefs is never constructed and added to
the Preferences dialog.
It's still an old unrealized experiment, to make a Waveform preferences page
analogous to Spectrogram preferences. Until such time as it happens, don't
complicate the fix of bug 2480 at commit 238bb95.
2020-10-10 11:26:46 -04:00
Paul Licameli
e5a7e6fb21
Remove unnecessary line...
...
... This is a vestige of the time when "Waveform" and "Waveform dB" were
considered separate wave track view types. But now that scale choice is
independent of Waveform vs. Spectrogram choice, there is no possible change of
scale type happening here, requiring invalidation of the vertical ruler.
2020-10-10 11:26:24 -04:00
Paul Licameli
daae080b17
Remove unnecessary #include
2020-10-09 22:54:44 -04:00
Paul Licameli
034b2ebe81
Bug2555: change Spectro algorithm shouldn't change other settings...
...
... Problem began at commit 238bb95 and is fixed by supplying correct default
values to gPrefs->Read(...)
The bug was introduced only for Spectrogram settings, not for Waveform.
2020-10-09 15:23:53 -04: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
Paul Licameli
a9bd2100bb
Bug2551: Fix misread of silent sample blocks & memory overwrites
2020-10-07 18:58:34 -04:00
Paul Licameli
4ca09d55a1
Null checks on SqliteSampleBlock::mpFactory
2020-10-07 15:33:13 -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
SteveDaulton
22dbe0a17a
Fix bug 2563 - Button text ignored in Nyquist file widget
2020-10-05 21:18:03 +01:00
Paul Licameli
9b6fc0f152
Bug2557: crash changing spectrogram Algorithm to Pitch, zero pad > 1
2020-10-05 13:21:19 -04:00
Paul Licameli
aabcc24cdb
Fix crash in clip shifting menu items
2020-09-29 13:28:44 -04:00
Paul Licameli
6584ae0d41
Set BUILDING_AUDACITY for the executable only, as it was intended! ...
...
... otherwise, nontrivial plug-ins that include Audacity.h won't link on Windows
2020-09-29 10:11:26 -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
Paul Licameli
c5741cc1da
Remove unnecessary #include
2020-09-26 20:34:02 -04:00
Paul Licameli
ec323c13d9
Add conventional #include guards to two header files
2020-09-26 15:26:25 -04:00
James Crook
fbaf5f7e97
Add 'Shift+A' shortcut for 'Compact'
2020-09-26 11:21:16 +01:00
James Crook
f0fb7e5be5
2540 and more disk-full warning adjustments.
...
- Add text to tell people about the help button.
- Use alternative to 'wxFilename::GetVolume' that works on macOS.
2020-09-25 15:04:52 +01:00
James Crook
4810897b74
Add Help Button.
...
Two more disk full errors were missing help-link buttons.
2020-09-25 10:39:16 +01:00
Leland Lucius
528d04c8f0
Bug 2526 - Mac: multi-projects inhibit label text creation
...
Reverting previous fix as fix for bug #2531 seems to have resolved
it better.
2020-09-24 13:44:35 -05:00
James Crook
05a389f787
Bug 2540 - No low disk space warning on startup
...
Fix residuals:
1 - Name the drive in the warning message.
2 - Remove the now redundant preference to disable the warning.
2020-09-24 11:10:11 +01:00
James Crook
4b57a45178
Bug 2540 - Measure size of correct drive.
...
Use the TempDir for sizing, rather than as I did previously the default temp dir.
2020-09-22 18:44:22 +01:00
Paul Licameli
c478e12b48
Fix dangling else ambiguity, and make that warning a build-breaker...
...
... In this case, the ambiguity resolution was correct for the intent, but
we shouldn't rely on that.
2020-09-22 13:14:29 -04:00
James Crook
fcdb9e7a3a
Bug 2540 - Fix include path.
2020-09-22 14:19:22 +01:00
James Crook
7fe18235d9
Bug 2540 - No low disk space warning on startup
2020-09-22 13:59:59 +01:00