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

12506 Commits

Author SHA1 Message Date
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
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
SteveDaulton
8c1152e05c Fix user visible text for Connie 2020-09-30 22:05:26 +01:00
Paul Licameli
aabcc24cdb Fix crash in clip shifting menu items 2020-09-29 13:28:44 -04:00
SteveDaulton
dd6fe21853 Fix Bug 2552 - pipe_test.py fails to print return value from first command 2020-09-29 16:34:14 +01:00
SteveDaulton
a48f8a40a8 Fix Bug 2519 - Noise Gate fails silently on longer selections 2020-09-29 16:34:14 +01: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
Grzegorz Pruchniakowski
d7b333ac41
Update Polish Translation from Transifex - fixes
Update Polish Translation from Transifex - fixes

Greetings,
Gootector
2020-09-24 06:56:20 +02:00
Leland Lucius
1f23e82155 Fix Xcode 12.0 build 2020-09-23 22:47:19 -05: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
Paul Licameli
783183a4dd Dragging a label from track to track may also carry clips with it 2020-09-21 17:31:48 +01:00
Paul Licameli
785857a883 Make FindCorrespondence invocable repeatedly to accumulate pairs 2020-09-21 17:31:48 +01:00
Paul Licameli
cc554350aa Simplify TemporaryClipRemover 2020-09-21 17:31:48 +01:00
Paul Licameli
2b542bf734 Move TrackShifter subclasses each to its own new source file...
... These do not require header files; they are tiny proto-plugins that work
by registration of AttachedVirtualFunction overrides at startup.

Dependency may go from them to TrackView subclasses but not back; so in
principle a reduced Audacity without time-shift could be linked that still uses
the TrackView subclasses.

But other work to make the hit test for the Time Shift tool registrable would
have to precede that.
2020-09-21 17:31:48 +01:00
Paul Licameli
4abd38b9a0 Bug2464 extra: labels should be draggable from one track to another 2020-09-21 17:31:48 +01:00
Paul Licameli
10679276a0 LabelTrack exposes MakeInterval, to be reused 2020-09-21 17:31:48 +01:00
Paul Licameli
9b1901c971 A convenience function in LabelTrackShifter eliminates repetition 2020-09-21 17:31:48 +01:00
Paul Licameli
3fcda6fc3c Fix sync-lock behavior of time shift, don't move too many other tracks 2020-09-21 11:32:19 -04:00
James Crook
e3bd5cfa61 Add: Help button for "Copying stereo audio into a mono track error" 2020-09-21 15:32:56 +01:00
James Crook
ec48a3b5a9 Fix export URL 2020-09-21 15:17:52 +01:00
James Crook
6149b57dc0 Bug 2515 - Exporting to a disk with insufficient space gives messages that are not user-friendly or helpful 2020-09-21 15:11:39 +01:00
James Crook
0b633c564a Bug 2515 - (FFmpeg) Exporting to a disk with insufficient space gives messages that are not user-friendly or helpful
FFmpeg now gives the correct message.
Bug not quite closed yet, as other exports are only part done.
2020-09-21 13:05:11 +01:00
James Crook
6d1b3854e9 Bug 2515 - Help buttons for 'Unable to export'
These now all have help buttons to page Error:_Unable_to_export
And they have an error code such as OGG:355 so that (later) on that page
we can describe them better - if they ever happen.
2020-09-21 12:45:43 +01:00
James Crook
6a237d67f1 Bug 2539 - Residual wording changes to warning messages.
QA asked for these improved wordings so that it is clearer to users what is going on.
2020-09-21 10:47:06 +01:00
Paul Licameli
c48b813795 Bug2464: Shifting a label should shift wave clips too...
... Implemented non-invasively just with overrides in LabelTrackShifter

Exceeding the bug description: it's also possible to drag just the subset of
labels that fall partly or wholly in the selected region.

I expect details of the new behavior may be debated.
2020-09-20 01:01:17 -04:00
Paul Licameli
583d347ae0 Some last changes to TimeShiftHandle anticipating LabelTrack needs 2020-09-20 00:33:28 -04:00
Paul Licameli
6e0b5b690a More control over HitTest behavior moved into the Track Shifter classes 2020-09-20 00:31:39 -04:00
Paul Licameli
f204ee3192 Always pass ViewInfo to TrackShiftHandle::HitTest 2020-09-20 00:30:07 -04:00
Paul Licameli
637ce894c1 Pass project to TrackShifter factory, which LabelTrackShifter will need 2020-09-20 00:30:06 -04:00
Paul Licameli
14dc5af223 Pass optional extra information into TrackShifter::HitTest ...
... Because LabelTrack, unlike the others, will also need a mouse y coordinate.

The extra information is present when using the time-shift tool but not when
using the items in ClipMenus.
2020-09-20 00:30:01 -04:00
Paul Licameli
69d5c1b12e Last virtuals, for horizontal shift; no more use of Track subclasses 2020-09-20 00:26:48 -04:00
Paul Licameli
3b903ee77d TimeShiftHandle doesn't need Track subclasses 2020-09-20 00:26:48 -04:00