Commit Graph

11538 Commits

Author SHA1 Message Date
James Crook
f8eb99bb18 Bug 2341 - Macros prompt for save changes even with canceled edits 2020-02-26 10:50:26 +00:00
James Crook
2ab35e8c1b Bug 2342 - Macro Manager offers to apply changes to newly created macro 2020-02-26 10:31:28 +00:00
Leland Lucius
c63a1632dc Don't assume in-tree LV2 libs will be used
Don't try to install suil UI modules if the local libs
weren't used.
2020-02-26 01:58:53 -06:00
Paul Licameli
58bc0a76e5 Bug2304: complete the fix...
... which was begun at 02dd7dc96b
2020-02-25 18:21:06 -05:00
Paul Licameli
5a2eaf9a52 Bug2303: Play after project open should start at saved cursor 2020-02-25 14:55:56 -05:00
Raphael Graf
c886851edc
Improve CMake BSD compatibility (#433) 2020-02-25 12:42:12 -06:00
Paul Licameli
da2e02242f Bug2325: Don't hang exporting effect presets twice...
... or, what I saw in my Mac builds:  there wasn't a hang, but there was
incorrect behavior on alternate attempts to export presets.  Sometimes, instead
of (correctly) giving a file overwrite warning, there was instead a message
box about failure to open a non-existent file path, which had the last path
component duplicated.
2020-02-25 11:39:46 -05:00
Leland Lucius
c1ce3c74c4 Adding libatomic check for LLVM 2020-02-25 10:02:54 -06:00
Leland Lucius
e994141c5f Fix for refresh issue on several preference panes
See bug #2315, but this should be review and removed
after moving to wx3.1.3.
2020-02-25 09:18:51 -06:00
Paul Licameli
b23d98fd05 Bug2289: initial sizing of export mixer slider on Linux...
... bug began at bed7b41af9

Apparently, for GTK one must set the size of a slider before adding it to a
sizer.
2020-02-25 10:11:21 -05:00
Paul Licameli
72ece7d9bf Bug2314: Zoom in should work during playback...
...bug began at 52ff705b0d

Fixing this in a way that does not make a dependency cycle between ProjectWindow
and TrackPanel
2020-02-25 09:36:26 -05:00
Paul Licameli
02dd7dc96b Bug2304: Export Mp3, Const or Var: shouldn't empty Quality choice
problem began at 5638d6844f
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 a3b434be1c
2020-02-21 14:15:14 -05:00
Paul Licameli
d06625ba60 Revert "Fix unbalanced event handler push/pop"
This reverts commit 8ac5699fcd.
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