1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00

7996 Commits

Author SHA1 Message Date
Paul Licameli
1130d272d0 Update Audacity version in audacity.pot 2018-01-17 08:47:16 -05:00
James Crook
b384f99e62 Bug 1825 - Import Uncompressed File Dialog Incorrect Reference to Menu Item 2018-01-17 13:27:00 +00:00
James Crook
74d8160db5 Sidebar links now to use https.
Also included WIT in the links.
2018-01-17 11:50:48 +00:00
James Crook
c0fceb3b66 Wording changes.
- Losing a ':' on a toolbar
- Clarity that we are fitting project/selection to width, not height.
2018-01-17 11:15:32 +00:00
Paul Licameli
fdf14d98c6 Updated audacity.pot 2018-01-16 21:45:53 -05:00
Paul Licameli
bc295bd7d7 translation hints 2018-01-16 21:45:12 -05:00
Paul Licameli
54553b82b7 Fix things that confused xgettext 2018-01-16 21:45:10 -05:00
Paul Licameli
94827eaa45 Bug1811: Don't corrupt the project when saving-as to its own path...
... And fixes for confusing logic in the save and save-as routines
2018-01-16 20:07:21 -05:00
Paul Licameli
059e186db6 Treat save-as of a file to its own path as a simple save 2018-01-16 20:05:54 -05:00
Paul Licameli
133bbd927d We can simplify logic further 2018-01-16 20:05:52 -05:00
Paul Licameli
d37c319923 Fewer uses of DirManager::GetProjectName() 2018-01-16 20:05:48 -05:00
Paul Licameli
356763c90b remove unused 2018-01-16 17:51:03 -05:00
Paul Licameli
4d364ee7f3 Remove overwrite argument -- it's always !fromSaveAs 2018-01-16 17:34:27 -05:00
Paul Licameli
1d9b8b7bad Undo confusing tangle of Save and SaveAs each calling the other...
Now Save may call SaveAs, which does not call back; each calls DoSave.
2018-01-16 17:28:43 -05:00
Paul Licameli
e066c4f38d Insert zeroes only if dropout detection is enabled 2018-01-16 14:28:07 -05:00
Paul Licameli
130e55cdf5 Use WarningDialog for drop-outs, and change the wording 2018-01-16 13:56:44 -05:00
Paul Licameli
e88615c1b6 "Vamp" not "VAMP" in Effects preferences 2018-01-16 12:28:23 -05:00
Paul Licameli
af279072b5 Correct recent comments...
... compatiblity of plug-in settings is the real problem, not the plug-in
registry.
2018-01-16 12:28:21 -05:00
Paul Licameli
4628d6afa7 Remap effect type from "Audacity" to "Built-in", carefully...
... doing that only for the user-visible string, seen in the Manage>About menu
of the effect dialog and in the sorted or grouped Effect/Generate/Analyze
menus.

But don't for the string used internally and written into pluginregistry.cfg,
so that compatibility of that file is preserved.

See also commits cafbff9ff82520ff7d4344570385752869c6d230 and
c6bbe4c3dae8a52bb4b7a3c720af97bc3bd69769
2018-01-16 11:11:36 -05:00
Steve Daulton
1fe857cff1 Whitespace corrections 2018-01-16 02:04:42 +00:00
Paul Licameli
b0690a2a5c Disable part of the drop-out detection...
... The part that checks the previously unused statusFlags argument of
audacityAudioCallback can make zero-length labels.  I did provoke this into
happening repeatably on macOS using a debug build, zero buffer length in device
preferences, and a busy CPU running other programs, within just two minutes of
recording.

But close zooming in on the label, and listening, revealed nothing obviously
wrong, no click in the playback.  So I consider that a false positive.

But the part of the drop-out detection that would make nonzero length
labels, because the other AudioThread is lagging in its writes to disk --
this part remains.  Yet I have not yet provoked this into happening.
2018-01-15 19:33:54 -05:00
Paul Licameli
d2749068f1 Allow reporting of drop-outs to be turned off by Recording prefs...
... Just in case it turns out to make some false positives.
2018-01-15 18:48:44 -05:00
Steve Daulton
0a93172265 Cautions re. size of Preference pages
Clarify meaning / purpose of assert in PrefsDialog
and add scrollers to pages that may grow in future versions.
2018-01-15 22:23:59 +00:00
Paul Licameli
b4ee17ed82 a translation hint 2018-01-15 15:16:15 -05:00
Paul Licameli
9777d3e880 Alert user to drop-outs during recording...
1) When the program detects this, insert zeroes into the recording to keep the
other good parts synchronized.

2) When recording stops, a message box alerts the user, and a label track is
added showing the lost parts, labelled with consecutive numbers.

3) A menu item visible in alpha builds only is added to Tools, to simulate
recording errors at random times and test the reporting feature.
2018-01-15 14:48:39 -05:00
Paul Licameli
4ef8da8f16 Revert "Preliminaries to support better interaction of undo and recording"
This reverts commit 6e75ae58ac56d9c94af5a4ce97951f627808473a, reversing
changes made to 714d53e00f803643131bb775858ac930b39dd5b8.
2018-01-14 21:36:33 -05:00
Paul Licameli
950898dcb9 Revert "Bug 1823: Better interaction of undo and record..."
This reverts commit 1e8aba968da56374d74fb5589caa56caf5fe1283, reversing
changes made to 6e75ae58ac56d9c94af5a4ce97951f627808473a.
2018-01-14 21:27:41 -05:00
Paul Licameli
1e8aba968d Bug 1823: Better interaction of undo and record...
... If you record or append-record, and do things during it that affect
the undo stack, and then complete recording -- then the last undo item will
undo the recording completely, and the other changes will belong to earlier
undo items that contain no part of the new recording.

Things that affect the undo stack during recording can include new undo items
such as movement of pan and gain sliders or adding and editing of labels
with Ctrl+M or Command+.

But such things also include certain changes of view that do not create new
undo items but rather update the most recent undo item to include that change.
Examples are change of mute or solo, resizing of tracks, changes of selection,
zooming (horizontally or vertically), switch among wave track view types, etc.

Fixing this was a rather involved project.  This ought to be tested
thoroughly to be sure there are no other odd surprises in the behavior of
undo.
2018-01-14 19:51:59 -05:00
Paul Licameli
2409d46d4c Prohibit copy of TrackList, no longer needed; allow swap and move 2018-01-14 19:33:39 -05:00
Paul Licameli
91f5446eb1 Fix interaction of recording and undo...
... in case you also do things, concurrent with the recording, that affect the
undo stack, either by pushing it (such as by changing the gain on one of the
playing tracks, or making a label) or by "Modifying state" without a new undo
item (such as when you change its size or mute or solo).
2018-01-14 19:33:39 -05:00
Paul Licameli
89d8fe18b1 Define WaveTrack::Reinit() 2018-01-14 19:33:39 -05:00
Paul Licameli
6e75ae58ac Preliminaries to support better interaction of undo and recording 2018-01-14 19:32:40 -05:00
Paul Licameli
ce5a67a9e9 Iterate over the pending tracks for drawing 2018-01-14 19:04:03 -05:00
Paul Licameli
7d57a17ff4 Change details of focusing of tracks in presence of pending ones...
... Don't focus a pending changed track but remap it to the original.

You can focus a pending added track.
2018-01-14 19:04:01 -05:00
Paul Licameli
4ccb695c61 Disable Undo and Redo while there are pending changes in TrackList...
... But perhaps we are developing the means to relax even this ban safely.

For instance, why not undo a mistaken AddLabelPlaying command (Ctrl+M) without
stopping the recording?
2018-01-14 19:03:59 -05:00
Paul Licameli
a0c3a4b43c Add machinery to TrackList for pending changes to tracks 2018-01-14 19:03:57 -05:00
Paul Licameli
bd2c7e6abc Define TrackId to identify tracks across undo states 2018-01-14 19:03:54 -05:00
Paul Licameli
8b60e7f02d Split "Do" functions out of the "Set" functions for some Track settings 2018-01-14 19:03:52 -05:00
Paul Licameli
92ba1f10e1 Some reimplementation of track iterators and GetLink() ...
... avoiding direct usage of the inherited end() and of the increment and
decrement of the std::list iterators
2018-01-14 19:03:50 -05:00
Paul Licameli
714d53e00f Big1822: Discard button of History window should remain disabled...
... during recording, even though Undo history might lengthen, such as for
Ctrl+M (or Command+.) to drop a label, or moving of a Pan or Gain slider.
2018-01-14 19:03:47 -05:00
Paul Licameli
0265b8792d More stl idiom for TrackList and its iterators 2018-01-14 16:58:19 -05:00
Paul Licameli
ba61e30cb2 More cautions with std::list::iterator on Windows 2018-01-14 15:37:21 -05:00
Paul Licameli
a30defe8ca Redo "Provide STL idiom for iterating tracks..." ...
... Being careful not to use operator == on a default-constructed
std::list::iterator, which violates assertions in the MSVC libraries.

This reverts commit 7fb5ec4b7ab4f9302bd94446db86924cd2b8d67f.
2018-01-14 14:25:02 -05:00
Paul Licameli
01718da4a2 Make a dynamic check of misuse of _ that works in Windows too...
see commit f57fdc99d7a1cd0cf4aa5818382b6b0ffcd2fa83
2018-01-14 14:23:58 -05:00
Steve Daulton
acbfa1387e Fix Assert on opening Prefs with high dpi 2018-01-14 15:34:24 +00:00
James Crook
f9f3da384c Update Perl pipe-test.pl script. 2018-01-14 15:26:42 +00:00
James Crook
7fb5ec4b7a Revert "Provide STL idiom for iterating tracks..."
Unsafe on MSVC 2013.
2018-01-14 14:24:21 +00:00
James Crook
549fa48a24 Fix order in which pipes are opened on linux. 2018-01-14 11:53:38 +00:00
Paul Licameli
f9dab3679c Provide STL idiom for iterating tracks...
... and require qualified name access to use the underlying std::list iterators
that return shared_ptr to Track.

Which should not be done very much outside of class TrackList, but a few
places need it.
2018-01-13 19:37:05 -05:00
James Crook
af13e85922 More commands documented in wiki implemented.
- Added new facility whereby parameters can be optional, and can be
tested for their presence.
- Can now set Pan, Gain, Selected, Solo, Mute, Focused using SetTrackInfo,
mirroring what GetTrackInfo can do.
2018-01-13 22:49:24 +00:00