1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 07:39:42 +02:00

11387 Commits

Author SHA1 Message Date
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
Paul Licameli
675f59b21f Alternative Windows build fix, should fix the run too 2020-02-02 09:08:47 -05:00
Paul Licameli
79a4c519c0 Fix Windows build 2020-02-02 08:27:51 -05:00
Leland Lucius
080b746b66 Revert to using a wrapper when starting Audacity
But, this time use a "C" wrapper as posited by Paul in:

   https://bugzilla.audacityteam.org/show_bug.cgi?id=543#c6

Doing so should bypass the execve()/decontruction issue and
still allow entitlements to work.

This also sets the build system to Legacy so that a "clean"
action will not produce:

   error: Could not delete '...' because it was not created by
          the build system.

And, I'm not sure why the deployment target was 10.9, but it
should have been 10.7.
2020-02-02 02:46:53 -06:00
Paul Licameli
eb86a1eab7 Fix assertion in OnFullScreen command 2020-02-01 13:00:02 -05:00
Paul Licameli
7f4d61257a Command manager stores checkmark predicates...
... and we use them to simplify (the misnamed) MenuManager::ModifyToolbarMenus.

It looked wrong that statically constructed menu descriptions should ever hold
constant boolean checkmark values, rather than functions to re-eveluate the
checkmark state as needed.
2020-02-01 12:53:55 -05:00
Paul Licameli
c3bbdbc50f fix build 2020-02-01 11:44:38 -05:00
Paul Licameli
b7a9e55fa9 New toolbar id at the end of the enumeration, to be safe...
... in case toolbar ids persisted anywhere
2020-02-01 11:30:26 -05:00
Paul Licameli
93c5bfd86d Remove inappropriate uses of macro _ from commit 9bce51a 2020-02-01 09:45:15 -05:00
Paul Licameli
c96fd0d2be Register preference pages, importers, exporters without sequence nos. 2020-02-01 09:21:39 -05:00
Paul Licameli
5165353dbe Reimplement export plugin registation without sequence numbers 2020-02-01 08:56:05 -05:00
Paul Licameli
b1b8b034c8 Reimplement import plugin registation without sequence numbers 2020-02-01 08:39:52 -05:00
Paul Licameli
a333b7d35a Redefine PrefsPanel::Registration with new Registry system...
... preserving the existing ordering of pages with a combination of
preferences and ordering hints
2020-02-01 07:13:03 -05:00
Paul Licameli
2ee8a6440a Initialize ordering preference for Preference dialog pages 2020-02-01 07:13:03 -05:00
Paul Licameli
1664463444 Define registry item class and visitor for Preference pages 2020-02-01 07:13:03 -05:00
Paul Licameli
a729dfec3b Reusable preference-populating code for other registries than Menus 2020-02-01 07:11:38 -05:00
Paul Licameli
98e6a0e339 More fixes for visitation of registry 2020-02-01 04:22:27 -05:00
Paul Licameli
4d43967add Restore commit c1d129ec9863a877cdd678695fff54a5dab5a191 2020-01-31 23:51:12 -05:00
Paul Licameli
229e2673c7 Fix errors in d233cbd 2020-01-31 23:47:42 -05:00
Paul Licameli
2c25a37994 Revert to a465ce0046e1726b3d2d926091b91714e154a91e 2020-01-31 22:34:25 -05:00
Paul Licameli
c1d129ec98 Use menu item registration system to sever many link dependencies...
... Many of these dependencies were hidden ones, not reflected in the diagrams
generated by scripts/graph.pl, because they relied on extern declarations and so
not indicated in header files.
2020-01-31 21:23:38 -05:00
Paul Licameli
1061c98b9f ViewMenus not link dependent on ToolbarMenus 2020-01-31 21:22:47 -05:00
Paul Licameli
ffe101f9a2 TransportMenus not link dependent on SelectMenus or Scrubbing 2020-01-31 21:22:47 -05:00
Paul Licameli
09356f7fe7 EditMenus not link dependent on LabelMenus 2020-01-31 21:22:47 -05:00
Paul Licameli
02c5557054 Remove link dependencies on ClipMenus.cpp, register its menu items 2020-01-31 21:22:47 -05:00
Paul Licameli
6225043ff3 ExtraMenus.cpp not link dependent on external sub-menu definitions...
... They use the registry
2020-01-31 21:22:44 -05:00