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

11610 Commits

Author SHA1 Message Date
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
James Crook
a0578f71c3 Bug 2218 - Rendering a single track unnecessarily strips it of its properties 2020-03-02 20:11:39 +00:00
Leland Lucius
bd04315b7a Fix for bug #2052
This simplifies the active/aborted Audacity detection for Mac and Linux by
getting rid of the lockfile entirely. Instead it utilizes the socket file
that was already being used for communication.

More comments in source...
2020-03-02 13:33:28 -06:00
James Crook
4884f59982 Bug 2316 - Meter scale overprints meter options button 2020-03-02 19:29:48 +00:00
James Crook
042b0f6b9b Bug 2338 - Graphic EQ: Frequency sliders cannot be identified by just looking at the effect UI. 2020-03-02 18:57:09 +00:00
James Crook
e5dc8928dc Bug 2288 - Audio clips may overlap 2020-03-02 18:07:34 +00:00
Paul Licameli
91503a91f1 Amplify effect should correctly restore the saved can-clip setting...
... bug began at commit d98e41a

When not batch processing, don't overwrite mCanClip
2020-03-02 12:12:27 -05:00
Paul Licameli
310b5dea30 Fix (again) calls to AddCheckBox...
... Force you to pass bool now.  Break compilation in case you pass literal
"false", rather than implicitly converting it to bool true !

See commit 7766d9a192a9d28f8207c95cdd7ce08464116525 which was in 2.3.2

But Max merged later at d9608cddea49cb33815fd9475f2b4f822913b772 in 2.4.0, with
his effect apparently written analogously with the old code in Normalize from
before that, and this quetly compiled with the wrong effects.
2020-03-01 22:17:20 -05:00