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

8115 Commits

Author SHA1 Message Date
Paul Licameli
58b44baf05 Some NULL checks... somehow I crashed on Mac but can't repeat now 2018-01-22 12:11:43 -05:00
Steve Daulton
336b2a8fe2 Allow scripting to select beyond tracks end time
This is required to set selection for generate effects in
new projects.
2018-01-22 15:19:58 +00:00
Steve Daulton
2890e4db27 Allow new empty project to be saved 2018-01-22 11:52:14 +00:00
Steve Daulton
76954f4bcd Update default tests in pipe-test.pl for 2.2.2 2018-01-21 23:24:37 +00:00
Paul Licameli
2ee3ba5761 Bug1828: ESC from dragging of a docked toolbar...
... Now restores state again properly and does not cause undocking of other
bars when you restart.

Redoes commit 2d56c8ec3286aa0a4a22e5be9148a2a1e01b8e17 better
2018-01-21 05:42:49 -05:00
Paul Licameli
e1cf056710 Bug1829: Inform user, erase incomplete files whenever export fails...
... Also checked more error returns from library functions.  Detect it when
write fails (maybe because of exhaustion of space) -- don't continue,
pretending all is still well.

Using one non-specific error message in many places, because we're in string
freeze now.
2018-01-20 19:56:32 -05:00
Pokechu22
1c36409da2 Bug 1819: Hover indication on note track channel toggle appears on all tracks (when they rerender) 2018-01-19 17:01:37 -05:00
James Crook
8434c3903a Start of automated recording tests. 2018-01-18 20:42:40 +00:00
Paul Licameli
9f2ff354f6 Bug1754: Telephone and AM Radio curves should not flatten...
... Problem was a wrongly implemented comparator for wxArray Sort().

The array of points was not really sorted, and results differed with repeated
calls to Sort().

Unlike with std::sort, these comparators are supposed to be trichotomous.

Problem dates to commit 7d5e54e364fcccd630274f2658703543d8c596eb

See also commit 4a500c77dda5592468f931db0c791236679157b4
2018-01-18 14:48:48 -05:00
James Crook
f8be26a9b8 Spaces allowed in batch command parameter values now
PROVIDED you use single or double quotes around the string.
2018-01-18 15:30:05 +00:00
James Crook
f9fb4b3b7d Bug 1773 - Wave Color not grayed out in TCP dropdown menu when in Spectrogram view
The "Wave Color" option is now not shown in spectrogram mode.
2018-01-18 12:19:09 +00:00
Paul Licameli
d38f3752d0 Update audacity.pot once more. String freeze for 2.2.2. 2018-01-18 00:57:30 -05:00
Paul Licameli
f78a418df8 An alpha-only toggle command for extra dropout detection; default off 2018-01-17 20:35:56 -05:00
James Crook
a019addafb All preferences in scrollers
We now do not need to worry about the preference dialogs getting too big for small screens.
2018-01-17 20:41:40 +00:00
Paul Licameli
81b22a2b2b Reimplement the insertion of zeroes at drop-outs...
... and correct for latency only when there is at least one playback track
2018-01-17 12:56:35 -05:00
James Crook
be0e6cd605 Scripting: Unicode chars in responses are now OK.
This is also relevant to batch scripting.  We need to stay in UTF8 to be safe.
Thanks to Robert Hänggi for reporting this issue.
2018-01-17 17:49:43 +00:00
Paul Licameli
8077c1db04 Change the text of the checkmark for the dropout warning 2018-01-17 10:18:49 -05:00
Paul Licameli
b0cb3868c3 Make a label track named "Dropouts" not "Errors" 2018-01-17 09:35:14 -05:00
Paul Licameli
c2ee1380da Don't indent lines in the dropout warning 2018-01-17 09:21:07 -05:00
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