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

11817 Commits

Author SHA1 Message Date
Leland Lucius
16a8fa71db Bug 625 - Track Pan / Gain sliders don't show tool tip on hover
This "should" correct the "double" tooltips mentioned in
comment #7 of the bug report.
2020-03-11 01:19:38 -05:00
Paul Licameli
c2feee6cea Bug2346: Complete fix...
... without making undesirable dependency cycles.

Eliminate calls to NewWaveTrack in effects, but in Edit>Copy too, which was
not mentioned in the bug report.  (Copying a track, deselecting all, and pasting
preserved CLIP colors, but not the TRACK color setting which applies to newly
generated clips.)

Instead, always use the new function WaveTrack::EmptyCopy from the track to be
later replaced, getting color information.

NewWaveTrack is still used in benchmark test, import, the Track menu
commands that make new tracks, recording to new tracks, and generators without
a selection, where there is no track to copy from.

Also when deserializing tracks from the .aup file, in which case the saved
color is later retrieved from the file.

Also, in mix-and-render, where other logic decides whether to copy colors
afterward.

See commit a9658e6ef7f7eaefce4dc37a93d389cca7705f41
2020-03-10 22:32:23 -04:00
Paul Licameli
06b2831d9b Some compilation fixes for EXPERIMENTAL_DA 2020-03-10 16:37:19 -04:00
Leland Lucius
867775ef99 Looks like FindFocus() on wxGTK can return NULL 2020-03-10 12:56:43 -05:00
Leland Lucius
0e42bd42b6 Bug 682 - Linux: Keyboard Preferences: focus trapped in Search box
Gotta love when the solution is right in the bug report.  :-)
2020-03-10 09:52:58 -05:00
Leland Lucius
76c79cb910 Bug 2115 - Linux: Track focus lost on selecting effect 2020-03-10 08:13:44 -05:00
David Bailes
72e24b82d2 Mute/Unmute selected tracks: change names of commands
Commands for muting and unmuting the selected tracks were added in commit 6d30936.
This commit:
1. Removes the word selected, as the user would already assume this to be the case, and the other commands in the Tracks menu which act on the selected tracks do not include the word selected.

2. Fix the duplicate access keys.
2020-03-10 08:41:54 +00:00
Steve Daulton
7217ee1703
Correction to commit acfff57ac80f20cba96b40acfc5cbf0aa344cbe2 2020-03-09 19:03:00 +00:00
Leland Lucius
8cf40d84c2 Fix legacy build... 2020-03-09 13:15:21 -05:00
SteveDaulton
acfff57ac8 Bug 2347: Begin loop play from cursor if no selection
If no selection and cursor outside of project time range,
begin loop play at beginning of project.
2020-03-09 17:04:40 +00:00
Leland Lucius
a7bd7331ac Bug 625 - Track Pan / Gain sliders don't show tool tip on hover 2020-03-09 11:06:07 -05:00
Paul Licameli
046ee21e72 Move GetEditClipsCanMove to global function in TracksBehaviorsPrefs.cpp 2020-03-09 11:23:08 -04:00
James Crook
a284f57e39 Remove warning about empty statement.
(thanks to pi1024e)
2020-03-09 14:00:14 +00:00
SteveDaulton
3ea2b82dbc Bug 2195: Treat multi-channel import / recording as multiple mono 2020-03-09 13:21:37 +00:00
James Crook
efc8f216b1 Clearer code for TimeTrack ruler
(Thanks to pi1024e)
2020-03-09 12:00:20 +00:00
James Crook
91bf05d18c Clearer code for OnPlayStop
The function naming is unfortunate as it is not clear that this
is a toggle between Play and Stop.  Added comments, renaming,
and split a function, and removed a little duplication.
2020-03-09 11:12:41 +00:00
Robert Hänggi
194855b738 Fix some Indentation 2020-03-09 10:14:35 +00:00
Robert Hänggi
2d46db2c5f Implement 2347 and 2348, Loop Play with next/previous Label
2347: Loop Play starts now at cursor position even if no time selection present
2348: Mode is preserved when using Next/Previous Label during Loop Play
2020-03-09 10:14:35 +00:00
Leland Lucius
668bcfc82e Bug 2315 - Mac: Keyboard Preferences is unusable until scrolled.
Second attempt with this bug.  I see a pattern emerging for my
"fixes"!!! :-(
2020-03-08 23:18:51 -05:00
Paul Licameli
37d730edfe Break dependency cycle of Effect and EffectManager 2020-03-08 16:21:28 -04:00
Leland Lucius
0572c0a0d4 Redo fix for Bug 2250
While the fix worked for that specific situation, it broke other
actions like "All Preferences".
2020-03-08 12:46:09 -05:00
James Crook
f0d0198850 Restore traceback in crash-report. 2020-03-08 17:41:59 +00:00
Leland Lucius
5900c52492 Fix a small conflict between the CMake and Xcode builds 2020-03-07 18:49:37 -06:00
Leland Lucius
abec10d88b Add cmake_build.txt and fix a small CMake issue
The cmake_build.txt is for Mac only right now, so we'll probably
want to try and figure out how to make it generic enough for all
platforms.
2020-03-07 18:16:27 -06:00
James Crook
9056eed946 Permit track muting/unmuting from menu whilst playing.
This makes these commands/menu-items more useful.
The track mute buttons operate during playing, so so should the menu version.
2020-03-07 22:59:34 +00:00
Lukas Werling
6d30936d68 Add commands for muting/unmuting selected tracks
There was no convenient way of muting or unmuting some, but not all
tracks. With the new commands, it is possible to quickly select a subset
of all tracks via Shift+click and then mute or unmute them.
2020-03-07 22:49:52 +00:00
David Bailes
9210c2aa35 Time Toolbar: change "TimeToolBar" to "Time"
Change string or sub-string "TimeToolBar" to "Time" to conform with the naming convention of other toolbars.

(Change prompted by the narrator screen reader unexpectedly reading TimeToolBar rather than Time when tabbing to the toolbar.)
2020-03-07 11:07:47 +00:00
Leland Lucius
ced4c21700 Bug 2334 - Mac: AU effects cannot Export or Import the effect's settings
Nearly all of the entire preset handling was broken.  It was based
on the parameter names only and for various reasons, that was very
inadequate.

So, it now uses the recommended approach.
2020-03-07 02:06:15 -06:00
Leland Lucius
35fa6cf399 Bug 2036 - Mac: Some AU plug-in effects can be enabled but fail to register
None of the effects listed in the bug expose any parameters.
2020-03-07 01:39:11 -06:00
Leland Lucius
d15308b7e7 Bug 1602 - Mac: AUPeakLimiter plug-in visual corruption makes it hard to use the effect
And fix for #3 listed here:

https://forum.audacityteam.org/viewtopic.php?f=47&t=109165&p=387698#p387698
2020-03-06 23:20:23 -06:00
Leland Lucius
6c9cdb4bc1 Plug-in list doesn't display properly on Mac
After sorting, the list doesn't completely update until you click
within it.  It this completely refreshes.  This fixes it...
2020-03-06 23:13:50 -06:00
Paul Licameli
a9658e6ef7 Alternative fix for Bug2346 without dependency cycles 2020-03-06 17:32:24 -05:00
Paul Licameli
d869f78ab9 Revert fix for Bug 2346, which made a dependency cycle 2020-03-06 17:25:08 -05:00
James Crook
c60ec1a6e1 Bug 2235 - Timer Record does not shut down Computer if Automatic Save Project is not selected 2020-03-06 20:16:43 +00:00
James Crook
f1b6843b9a Bug 2321 - Crash on editing ChangePitch parameters in a Macro
EffectChangePitch:: Don't use the inputTracks() when building the GUI
in Batch mode.

Repeat and NyquistEffect had the same problem as they could call
FindProject() which used inputTracks() on a closed project.  Fixed by a change in Effect::GetSelectionFormat().
2020-03-06 19:14:31 +00:00
James Crook
877ffc3287 Bug 2344 - Windows: Generate Support Data shows info/error message re. language 2020-03-06 12:06:17 +00:00
James Crook
d2847fe4c4 Fix broken build (missing header file) from Bug 2346 fix. 2020-03-06 11:31:59 +00:00
James Crook
d78026c151 Bug 2346 - Selected wave color wrong after applying Nyquist effect or Generator 2020-03-06 11:18:24 +00:00
James Crook
09883646ec Fix Linux builds (Case sensitive include paths) 2020-03-05 23:00:05 +00:00
James Crook
95bbe617b8 Bug 2343 - Presets: Effect Ids not the same in Presets as for Macros 2020-03-05 22:14:17 +00:00
James Crook
301c511422 Remove unwanted ':' on names of scripting checkboxes.
The name comes after the checkbox, and looks better without the ':'.
Made an exception for "Resize:" in  SetProjectCommand.
It controls 4 subordinate settings, and those settings do come after the name.
2020-03-05 19:53:16 +00:00
SteveDaulton
722a3f5ea5 Fix: 'aud-import-effects' should be 'aud-import-commands' 2020-03-04 12:50:52 +00:00
SteveDaulton
171a43821e Nyquist: Cache supported Scripting command profiles.
Fixes slow load on first run of Nyquist effect.
Revert aud-import-effects to optional, and add
aud-do-command as fast alternative.
Slow load now only on first debug use of new commands
and cached until Nyquist temp folder is cleared.
To avoid unnecessary overhead, 'Lispy' scripting commands
only provide additional validation when debugging enabled.
AUD-PRINT-COMMAND added as handy reference for new commands.
Cache may be refreshed manually with (aud-refresh-debug-data-cache).
2020-03-04 12:40:48 +00:00
Leland Lucius
3d1abf3ddb Preset GIT info in case GIT isn't installed 2020-03-03 17:15:02 -06:00
Raphael Graf
6bb10d4c8f
[CMAKE] Fix build outside of git repository (#440) 2020-03-03 17:11:22 -06:00
Carlo Bramini
3d38ddf6a2
[CMAKE] Portmidi: add missing Unix files in Cygwin (#442)
When doing the final link of Audacity executable on Cygwin, many errors like this one were printed on the console:

ld: ../lib/audacity/libportmidi.a(portmidi.c.o):portmidi.c:(.text+0x3f): undefined reference to `pm_alloc'

This happened because some files were missing since Cygwin name was not included together with other unix platforms.
2020-03-03 17:06:42 -06:00
Paul Licameli
b8fd99692d Preview button of Noise Reduction always disabled when editing macro...
... as was intended but not properly implemented
2020-03-03 12:47:34 -05:00
Raphael Graf
11748750fb
Fix manpage install path (CMake) (#439) 2020-03-02 23:33:24 -06:00
Carlo Bramini
d8362e0897
[CMAKE] Portaudio: fix support in Cygwin (#438)
* [CMAKE] Portaudio: add unix paths for Cygwin

When building on Cygwin, I got this error:

/home/carlo/audacity/lib-src/portaudio-v19/src/hostapi/oss/pa_unix_oss.c:90:10: fatal error: pa_unix_util.h: No such file or directory
   90 | #include "pa_unix_util.h"

this happened because some additional search path was not included.

* [CMAKE] Portaudio: add missing Unix files in Cygwin

When doing the final link of Audacity executable on Cygwin, many errors like this one were printed on the console.

/usr/lib/gcc/x86_64-pc-cygwin/9.2.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/Audacity.dir/AudioIO.cpp.o:AudioIO.cpp:(.text+0x17a): undefined reference to `PaUtil_GetTime'

This happened because some files were missing since Cygwin name was not included together with other unix platforms.
2020-03-02 23:31:56 -06:00
Leland Lucius
2ad3fe5406 Bug 2250 - Closing Screenshot dialog within the 5 second wait window causes a crash
Timer notify was happening after the window closed.
2020-03-02 19:38:34 -06:00