1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 23:59:41 +02:00

12750 Commits

Author SHA1 Message Date
Paul Licameli
f82b23d9d4 Register MakeTrackShifter properly 2020-11-20 13:15:01 -05:00
Paul Licameli
6050edb3ca Bug2598: Envelope edit not dependend on visibility of channels...
... And other rewrites.  Don't use a cache of wave clip X coordinates computed
during drawing.
2020-11-19 22:29:21 -05:00
Paul Licameli
3c76cea190 Bug2588: Click to join clips shouldn't depend on channel visibility 2020-11-19 21:32:59 -05:00
Paul Licameli
0945b6b734 Bug2536: crash on Mac sometimes playing back with resampling...
... Intermittent crash, depending on some accidents of memory page allocations,
known to happen sometimes when playing a 44100 Hz track at 32000 Hz; the
strange story is in the code comments
2020-11-19 18:23:15 -05:00
Paul Licameli
6dea5434a6 Bug2586: .aup with envelopes in wave tracks should import correctly 2020-11-19 16:48:41 -05:00
Paul Licameli
14c300c672 Bug2542: Discard button of auto recovery should work with UP 2020-11-19 15:18:01 -05:00
Paul Licameli
a9cbd953f0 Define InvisibleTemporaryProject 2020-11-18 23:51:01 -05:00
Paul Licameli
93b098b8d2 Make Undo history window update properly when you compact the project 2020-11-18 20:50:40 -05:00
Paul Licameli
0f1c19e97e Bug2570 residual: Also handle the case of last saved state in redo 2020-11-18 20:37:11 -05:00
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
James Crook
b8188714db Fix Spanish translation of 'Save Project' 2020-11-05 17:04:00 +00:00
James Crook
d5db667f29 Add four inactive translations from Transifex 2020-11-02 16:23:33 +00:00
Thomas De Rocker
e9d8db71a6
Update ProjectHistory.cpp (#687)
Fix typo - "Warning" instead of "Warining"
2020-11-02 12:12:35 +00:00
Michele Locati
7aff2e3e94
Let users update audacity.pot only (#686)
* Exit the update_po_files.sh in case of errors

* Let users update audacity.pot only

This can be done by calling
AUDACITY_ONLY_POT=y ./update_po_files.sh
2020-11-01 18:56:39 +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
2cc6dccc5d bug 2573 Alternative fix
This version matches the fix in Nyquist 3.16.
2020-10-26 21:12:10 +00:00
SteveDaulton
daf2b3cd02 bug 2573 High / Low Pass filters limited to ~94 mins stereo at 44100 Hz
MULTICHAN-EXPAND was holding onto samples when checking function
arguments. Ensure that samples are released after check.
2020-10-26 17:47:02 +00:00
SteveDaulton
e7c010c8a4 Bug 2572 - Multi-byte characters may corrupt Json from mod-script-pipe 2020-10-26 01:15:06 +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
57b39ed099 Bug2480 fix follow-ups 2020-10-10 11:27:44 -04: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
Leland Lucius
617be5a403 Convert deprecated set-env commands 2020-10-08 09:01:46 -05: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