1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-05 06:09:47 +02:00

11512 Commits

Author SHA1 Message Date
Leland Lucius
70a67c51d2 Get rid of warning in LV2Effect.cpp
Use the wxCRT_StrdupA to use the appropriate strdup
function for the platform.
2020-02-06 23:18:48 -06:00
Leland Lucius
2ec12c150b Fix multi-config builds
Hopefully, this corrects the handling of the different
configs like Debug, Release, etc, when dealing with
multi-config generators.
2020-02-06 20:10:29 -06:00
Leland Lucius
8e8e71116a Update Mac build instructions
Thanks Cliff!
2020-02-06 17:47:48 -06:00
Paul Licameli
d631697321 Reorganize "Wave Color" and "Spectrogram Settings" in TCP menu...
... Now they are treated more alike:

Each is shown or hidden (not enabled or disabled) as the corresponding sub-view
of the wave track is shown or not.

Each has separator lines above and below.

They are shown (one or the other or both) after the choices for sub-views, and
not near the bottom of the menu.

This makes the TCP menu one item shorter in the default case that you view only
waveform.
2020-02-06 17:52:58 -05:00
Paul Licameli
540f2c5e67 Restore separators after "Move Track to Bottom" in TCP menus 2020-02-06 17:52:45 -05:00
SteveDaulton
3d5b0d4dd0 Clarify comment 2020-02-06 16:55:51 +00:00
James Crook
f3acd4ca00 Preallocate string for aud-do
Helps marginally with speed of commands which generate long strings in many small steps.
2020-02-06 09:40:30 +00:00
James Crook
a09885e995 Fix Big Time TimerToolBar, Stage II
- Naming (Time Toolbar, not TimerToolBar Toolbar)
- Default time format hhmmss
- Lower dock
- Enabled by default
- Sensible min and max font size
- Sensible min and initial width
- Omit Audio Time from Selection Toolbar
2020-02-06 09:40:30 +00:00
Leland Lucius
f0e3ee2cde More cmake updates
Added install target (this is mainly for Linux)
Added mod-nyq-bench

More to come...
2020-02-06 01:17:20 -06:00
Paul Licameli
54ba4e9b8a Rewrite popup menu code to user registry visitors...
... but there are not yet any items moved out as plug-ins
2020-02-06 00:54:08 -05:00
Paul Licameli
23c7122985 Populate popup menus with a registry visitor 2020-02-06 00:52:54 -05:00
Paul Licameli
99e3dd5d3f Require an identifier for each popup menu item 2020-02-06 00:52:54 -05:00
Paul Licameli
f68da05c1d PopupMenuTable ctor requires an identifier 2020-02-06 00:52:54 -05:00
Paul Licameli
08b1be5514 Macros describe popup menus' sections, not their separators 2020-02-06 00:52:54 -05:00
Paul Licameli
3517b900b1 PopupMenuTable need not publicize its wxMenu subclass 2020-02-06 00:52:54 -05:00
Paul Licameli
9435e97fb8 Store popup sub-menu caption with its item table 2020-02-06 00:52:53 -05:00
Paul Licameli
1e37172e6d Popup sub-menus don't require ids 2020-02-06 00:52:53 -05:00
Leland Lucius
2ea8c8baa6 Add mlock check to Makefile and cmake builds 2020-02-05 19:23:44 -06:00
Leland Lucius
db574f752b Add HAVE_MLOCK to Xcode project
This enables ring buffer locking in the LV2 effect.
2020-02-05 19:11:51 -06:00
Leland Lucius
37f24ee3b0 Get rid of warnings
Must use the deprecated types to support older plug-ins.
2020-02-05 19:00:49 -06:00
Leland Lucius
2df9d3528b Add mod-nyq-bench target
And define a few more convenience variables.
2020-02-05 18:45:05 -06:00
Leland Lucius
ddd1e5e14f Install the suil interface modules
These will go into the PKGLIBDIR (/usr/lib*/audacity).
2020-02-05 15:32:10 -06:00
Leland Lucius
df1aeb8f3f Ensure suil can find the interface modules
Suil uses loadable modules to embed different
UI toolkits within other toolkits, so he needs
to be told where to find them.
2020-02-05 15:30:05 -06:00
Leland Lucius
703f59d709 Ensure a native window exists
Don't send a size event to a native window unless the native
window actually exists.
2020-02-05 15:26:08 -06:00
SteveDaulton
108fe3777a Load Nyquist AUD- commands by default 2020-02-05 17:19:06 +00:00
Leland Lucius
2e113ba0a5 More cmake updates
Uses system libraries by default with a fallback to local
Adds the Wrapper build on OSX
Adds mod_script_pipe
Adds ffmpeg
Some additional cleanup
2020-02-05 11:10:22 -06:00
James Crook
8168dce551 Fix Big Time TimerToolBar, Stage I
- Update on idle (new idiom from Paul)
- Dock at x1 or x2 size
- Smooth resizing
- Take some account of width when resizing
- Promote Resizable docking code to ToolBar class
2020-02-05 14:24:59 +00:00
Paul Licameli
446ee8ef6e Separate subclass ToolbarMenuVisitor from MenuVisitor 2020-02-04 12:15:24 -05:00
Paul Licameli
a43c9a5337 Identifier not wxString in ctors of registry items 2020-02-04 12:15:24 -05:00
Paul Licameli
db224895b0 Bug2302: Don't make separators at bottoms of menus on Win & Linux...
... Fix it by demoting the logic for separators from the menu tree diagnostic
into the common MenuVisitor class, then reusing that.
2020-02-04 00:41:31 -05:00
Leland Lucius
e2a7204403 Provides to use the system wxWidgets install
The default is to use the system one if found.  If the
WXWIN environment variable is set and points to a valid
wxWidgets tree, that will be used.  Otherwise, it will
search the platform specific locations.

You can use a local library instead with:

   cmake -Duse_system_wxwigets=no ...

In this case it will look for the WXWIN environment variable
and use that or it will download the Audacity specific wxWidgets
source.  In both cases, wxWidgets will be built as part of the
Audacity project.
2020-02-03 19:05:32 -06:00
Leland Lucius
ad77faca0d Use libraries not options
The ensures that any extra libraries (like "libm") get passed
at the end of the compile command.  Mattered on Ubuntu, but
not on Fedora.
2020-02-03 16:00:47 -06:00
James Crook
0e7797935f Avoid \n immediately after '(' in LISPY output formats 2020-02-03 21:59:40 +00:00
Paul Licameli
127eb56d4e EnumValueSymbols for scale names 2020-02-03 15:34:48 -05:00
Leland Lucius
d213179767 Emit the error output during clipping check
It sort of helps to have the actual messages to assist
in diagnosis.
2020-02-03 13:55:47 -06:00
Paul Licameli
0a10c33e66 Fix Windows debug assertion on startup 2020-02-03 13:39:13 -05:00
Leland Lucius
43542a8458 Removing obsolete mac/build_wxwidgets 2020-02-03 12:16:29 -06:00
Leland Lucius
45e0310c1a Changing deployment target and SDK
This puts the deployment target back to 10.7
and sets the SDK to "macosx" so that builds
will use the latest SDK supplied with the
Xcode version being used.
2020-02-03 11:06:55 -06:00
Paul Licameli
586d0df449 Fix Linux & Win crash at start 2020-02-03 11:05:04 -05:00
Leland Lucius
7706e0c865 Remove TranslatableStringArray.h from CMakeList 2020-02-03 01:13:12 -06:00
Leland Lucius
6217351a12 Updates the cmake build system
It's still has some work, but it successfully builds on
all 3 main platforms.  Some of the outstanding items
include:

   Install target testing (mostly important for Linux)
   CMakeList clean up and comments
   Debug and Release build verification
   Audit of compile/link options
   Need a Mac signed and notarized build
   (and probably more)
2020-02-03 00:39:43 -06:00
Paul Licameli
3b77af5dfc Remove TranslatableStringArray.h 2020-02-02 18:02:32 -05:00
Paul Licameli
3a764279ba Some fixes for PopupMenuTable 2020-02-02 18:02:07 -05:00
Paul Licameli
6e57428e47 PopupMenuTable does not need TranslatableArray...
... because the strings in it are TranslatableString, not translated
2020-02-02 17:32:23 -05:00
Paul Licameli
48b5988c7d Be sure PopupMenuTable::DestroyMenu() gets called...
... though it didn't matter yet for any of the overrides
2020-02-02 17:16:11 -05:00
Paul Licameli
646afe9559 comments 2020-02-02 17:16:11 -05:00
Paul Licameli
c293a8fc18 Remove unnecessary #include from Menus.cpp 2020-02-02 17:10:36 -05:00
SteveDaulton
3e94dfdca0 bug 2300: Limit number of clips in *track* clips property
Nyquist has a limit (less than 2000) for the number of arguments
which may be exceeded when creating the *track* clips property.
In the event that there are more than 1000 clips in a track,
Audacity will now only add the first 1000 clips to the *track* property
and add NIL as the 1001th.
2020-02-02 21:24:44 +00:00
Leland Lucius
65c174015c Change the deployment target back to 10.9
temporarily
2020-02-02 12:35:53 -06:00
Leland Lucius
d5b1cbc151 Must always create the Info.plist.h header 2020-02-02 12:21:38 -06:00