1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-29 14:48:39 +02:00

11527 Commits

Author SHA1 Message Date
Paul Licameli
02dd7dc96b Bug2304: Export Mp3, Const or Var: shouldn't empty Quality choice
problem began at 5638d6844fb1dca563671e5ced1a916db974de34
2020-02-25 08:16:16 -05:00
James Crook
836bc36536 Bug 2248 - Multi-view: can get numbers overflowing the Vertical Scale 2020-02-25 13:09:48 +00:00
James Crook
3653af42fc Bug 2326 - Further wording tweaks. 2020-02-25 11:41:36 +00:00
James Crook
d70365ba2b Bug 2326 - Wording improvement (as requested). 2020-02-25 11:09:43 +00:00
James Crook
a48483bc19 Bug 2298 - Font size per-platform.
My previous fix disrupted mac font size.  Now the code should have the right font sizes for each platform.
2020-02-25 10:56:31 +00:00
Leland Lucius
e12376b2bd Update build_dist.sh to support standalone mode
You can now use it from the command line like:

   audacity/mac/scripts/build_dist.sh audacity/mac build/bin/Release
2020-02-24 18:48:34 -06:00
Leland Lucius
9e5434b843 Remove duplicate/misnamed CMake option 2020-02-24 15:45:00 -06:00
James Crook
50d16867d5 Bug 2258 - Sliders in the slider dialogs when double-clicked yield a further slider dialog 2020-02-24 21:23:16 +00:00
James Crook
64811e49f9 Bug 2326 - Export settings from one effect can be attempted to be imported into another effect - silent fail, with no error message 2020-02-24 20:57:47 +00:00
Leland Lucius
3545097fe9 Fix CMake/wxWidgets link issue
This corrects linking of the wxWidgets libraries when there's multiple
copies and the desired one is later in the search path.  This can affect
any non-Windows system that doesn't have it's wxWidgets in "standard"
libraries (like our wxWidgets builds on the Mac).

The wrong wxWidgets libraries can be picked up by the linker if other
"-L" arguments appear before the wxWidgets specific on.  This can happen
if you have something like Homebrew installed and CMake finds one of the
libraries (like libogg) installed.  It will put a "-L/usr/local/lib" in
the linker arguments before the "-L/usr/local/x86_64" wxWidgets flag,
and if there happens to be wxWidgets libs in /usr/local/lib, the linker
will pull the wxWidgets libs from /usr/local/lib...not what was wanted.
2020-02-24 13:45:16 -06:00
James Crook
87034a0a67 Bug 2298 - Windows: Font size reduced for Vertical Scale, Timeline and Time Track numbers 2020-02-24 19:25:52 +00:00
Leland Lucius
f4d567dd9e Use "CMAKE" instead of "CMAKE_INTDIR"
The latter isn't available on all 3 platforms.
2020-02-24 10:36:41 -06:00
Leland Lucius
baaafb92df Try to fix the system.lsp issue again 2020-02-24 10:02:09 -06:00
Leland Lucius
1d267383ca Copy the correct system.lsp in the CMake build
This will fix the *file-separator* issue Steve reported.
2020-02-24 09:27:55 -06:00
Leland Lucius
2dde5b6f53 Fix the orignal Linux build
It worked for the CMake build, so adding "apt-get update" to
the original build as well.
2020-02-24 09:18:49 -06:00
Leland Lucius
e5c5c08de6 Fixes for Linux and Mac builds
Adding "apt-get update" to hopefully fix the Linux build. I thought
Github would "fix" the image, but it doesn't hurt to have the update
in there anyway.

And fix the Mac Info.plist version.
2020-02-24 08:55:20 -06:00
SteveDaulton
b651984b87 Bug 2336. Work around issue in Noise Gate. 2020-02-24 11:21:49 +00:00
Leland Lucius
d748c0816a Actually do what the previous change said
Forgot to actually exclude mod-null and mod-nyq-bench from the
build.

Fixed a few typos.

And removed "zip" from the package install on Ubuntu since it's
not needed anymore.
2020-02-23 16:46:30 -06:00
Leland Lucius
f3ce60ae7a Fix the Github CMake build
Restore the wxDEBUG_LEVEL defines for the module builds.  It is
currently required (see explanation in CMakeLists.txt)

Add explanantion of why wxWidgets_USE_REL_AND_DBG=NO is needed
for the Github Windows build.

Further restrict the disabling dynamic loading for Windows and Mac
of the Lame and FFmpeg libs.  Some corrections need to be made in
ExportMP3.cpp (and probably some for FFmpeg as well).

And don't build mod-nyq-bench or mod-null by default until they
can be fixed.  (They fail to build.)
2020-02-23 16:35:58 -06:00
Paul Licameli
25d0871e55 Move i18n-hint to proper place...
... It must be on the line preceding the string to get into the .pot file
2020-02-23 14:41:58 -05:00
Leland Lucius
d80741e0fb Temp fix until ExportMP3.cpp is fixed 2020-02-23 05:17:34 -06:00
Leland Lucius
bd0c4815c1 Fix zip command 2020-02-23 04:15:47 -06:00
Leland Lucius
d1a3e05275 Forgot to remove nuget handling from build 2020-02-23 04:12:12 -06:00
Leland Lucius
a8ee0b8c7c More cmake updates and cleanup
Visual Studio NuGet package handling was redone to correct a
chicken and egg situation. (See the nuget_package() function
in audacity/CMakeLists.txt.

Due to the change in NuGet handling, was finally able to make
the Audacity target dependent on several other targets.  This
ensures the destination directory is populated correctly.

Library handling for system packages reworked to ensure the
correct libraries are used and to "workaround" an issue where
the libraries weren't being included in the link command...no
idea why.  New way is better anyway.

Don't allow a system library for SBSMS since it seems we have
a unique (Audacity-only???) version.

Don't define wxDEBUG_LEVEL.  It's not needed and causes duplicate
symbol warnings.

A couple of small changes to config files to remove libmad and
libsndfile warnings.

Do not include serdi.c and sordi.c in the LV2 build.

Fix handling of static Lame and linked FFmpeg libs.

Use cmake file() instead of gcc/awk to extract version information
from Audacity.h for the Mac Info.plist.

Use "cmake -E tar" to zip artifacts in github action.
2020-02-23 03:57:31 -06:00
James Crook
24e5c9bde9 Remove old printfs
These were introduced when working on import/export of presets.
2020-02-22 19:06:01 +00:00
James Crook
acf91a70e0 Clean up EQ changes.
- i18n comment
- Remove hanging not-needed comment.
- Remove some already commented out code.
2020-02-22 19:02:28 +00:00
Paul Licameli
a7895b4998 "CMake" doesn't need to be translated 2020-02-21 16:47:15 -05:00
Leland Lucius
c9e760b764 Show that the build was CMake based
Probably want to pull this out later, but it's in the About
dialog as part of the "Build Type".
2020-02-21 14:32:13 -06:00
Paul Licameli
0bbc974a7b Fix Windows build warning 2020-02-21 14:19:01 -05:00
Paul Licameli
2e314b9dd2 ScrubForwarder pushes and pops itself on the window handler stack...
... Fixing crashes on close of project window seen in some Linux builds of
2.3.3.  The bug began at commit a3b434be1cd42ff7c99821de4ea52c0945cb0baa
2020-02-21 14:15:14 -05:00
Paul Licameli
d06625ba60 Revert "Fix unbalanced event handler push/pop"
This reverts commit 8ac5699fcd625c102eacc3058ab748d3c5860006.
2020-02-21 12:42:24 -05:00
Leland Lucius
80662a1b60 Add missing value initialization 2020-02-21 11:17:59 -06:00
Leland Lucius
8ac5699fcd Fix unbalanced event handler push/pop
Fix was provided by Hans Petter Selasky with the following comment:

   This is a regression issue after:

   Move the scrub mouse event handler into ScrubUI...

   Where:
      if (mWindow)
           mWindow->PushEventHandler(&mForwarder);

   was removed from the Scrubber() constructor function and
   not from the ~Scrubber().
2020-02-21 10:57:30 -06:00
Leland Lucius
26827bc5e5 Fix missing AU, VST, and Ladspa effects
This also prevents a link error if you specifically link against the
10.9 SDK or older.
2020-02-21 10:16:17 -06:00
James Crook
3332c9451e Slightly faster parsing of Nyquist programs.
This reads the program into a buffer first.
It also preallocates space for the Nyquist program.
2020-02-21 15:39:37 +00:00
David Bailes
f5b8b4028b Accessibility: AutoDuck and Truncate silence effects.
Problem:
Screen readers don't automatically read the units of the values in text boxes.

Fix:
Add units the the accessibility name of the text boxes.

Thanks to Paul for providing ShuttleGui::NameSuffix(), which makes the code neat and readable.
2020-02-21 14:55:15 +00:00
James Crook
952ff1f61e Don't register the Demo command
It's only for developers.
2020-02-21 09:53:54 +00:00
Leland Lucius
14aad758fa Print various sundries about the build
To (hopefully) assist in debugging build problems.
2020-02-20 23:41:09 -06:00
Paul Licameli
dfee1b1116 Fix sorting and grouping of effects by publisher 2020-02-20 15:32:49 -05:00
Paul Licameli
adb46093fa Show drag cursor to rearrange tracks only when there is more than one 2020-02-20 13:41:18 -05:00
Paul Licameli
e4d5eefee0 A tooltip for the sub-view rearranging cursor 2020-02-20 13:25:03 -05:00
Paul Licameli
38bf4f558b Better cursors for open and closed hands 2020-02-20 13:16:13 -05:00
Paul Licameli
571f42df79 Add some comments 2020-02-20 08:51:39 -05:00
Paul Licameli
96d8328aa3 fix a comment 2020-02-20 07:19:27 -05:00
Leland Lucius
692174ce2e Forgot several resources in the Mac CMake build
Thanks Peter.
2020-02-19 14:59:33 -06:00
SteveDaulton
3ba5f69089 Fix bug 2328: Ensure fade out at end of each DTMF tone 2020-02-19 19:42:21 +00:00
Leland Lucius
53840f7a3e Various fixes to CMake build
Mostly a result of not defining __WXMSW__, but the portmixer cmakelist
wasn't looking for the right portaudio variables.
2020-02-19 10:53:50 -06:00
David Bailes
b67c82171c Bug 2329 - Keyboard shortcuts: new or changed defaults can create duplicates
Problem:
If a new version of Audacity introduces a new default shortcut, or changes an existing one, then this may be the same shortcut as a user has previously assigned to another command. Both commands will have the same shortcut, and the shortcut will only execute one of those commands.

Fix:
Check for any such duplicates when a user opens a version of audacity using an audacity.cfg file which was created with a different version.
For each duplicate found, remove the shortcut from the command which has a new or changed default.
If duplicates where found, open a message box informing the user of the removed shortcuts.
2020-02-19 15:02:08 +00:00
Leland Lucius
f13e53e537 Add cmake build CI action 2020-02-18 20:22:34 -06:00
Leland Lucius
1d6dbe5b60 Completely disable signing on Mac
And ad build of mod-null and don't build it or mod-nyq-bench
unless explicitly requested.
2020-02-18 20:18:29 -06:00