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

75 Commits

Author SHA1 Message Date
Paul Licameli
77abcf1579 Don't crash on exit when showing Nyquist workbench 2020-02-17 14:32:27 -05:00
Paul Licameli
5c85deb944 Modules should register their menu items only after version check 2020-02-16 13:32:10 -05:00
Paul Licameli
56cd24a062 Rewrite insertion of menu items by null and Nyquist modules...
... using the new registration system, and without the fragile hacks making
assumptions about the positions of menus within the menu bar.
2020-01-30 15:09:30 -05:00
Paul Licameli
9093364b8c Fix other problems since commit f6e5696...
... Problem with static initialization order of ReservedCommandFlags, caused
wrong enablement of menu items (at least on Mac), such as Plot Spectrum or
Contrast enabled when there was no selection
2020-01-28 17:49:07 -05:00
Paul Licameli
93c2bb9322 Delay evaluation of checkmark states...
... so that more menu item descriptions can be statically constructed once only
2020-01-24 18:05:56 -05:00
Paul Licameli
91c45dd32a Move static EffectManager::DoEffect into new namespace 2020-01-05 16:11:55 -05:00
Paul Licameli
dc39f22442 AudacityMessageBox takes TranslatableString message and caption 2019-12-20 21:32:50 -05:00
Paul Licameli
70ec69fa3d Pass untranslated command labels to CommandManager...
... and deduce whether to exclude from macros inside NewIdentifier, simplifying
argument lists further

Also fix the localization of "..." added to names by PluginMenus.cpp
2019-12-12 15:15:59 -05:00
Paul Licameli
96291c5476 Remove second argument of AddWindow(), use Position() instead 2019-12-02 22:01:22 -05:00
Paul Licameli
ff2cf496cd Move DoEffect out of PluginMenus 2019-06-25 00:14:52 -04:00
Paul Licameli
c0adb35839 Command flag functions out of Menus.cpp, reducing its dependencies...
... Mostly into CommonCommandFlags.cpp, but some elsewhere, to avoid giving
that new file problematic dependencies on LabelTrack, ControlToolBar, and
EffectManager.

Note that CutCopyAvailableFlag is critically ordered, for message purposes,
only with AudioIONotAvailableFlag, the only flag with a message that it combines
with in menu item definitions.

The dependency on LabelTrack.cpp might not be a bad one later, if the track and
its view can be separated, and that would allow CutCopyAvailableFlag to be
put with the others.  But much other work on LabelTrack must happen first.
2019-06-16 01:21:05 -04:00
Paul Licameli
42a4f55ffe Prepare to split AudioIOBase from AudioIO...
... New files, but (almost) empty; don't use the global variable gAudioIO,
but use one of two accessor function names (which are the same function for
now).

AudioIOBase will have fewer dependencies than AudioIO -- in particular, no
dependency on tracks.

It won't include StartStream.  It will contain functions to query the
present state of streams, and device capabilities.
2019-06-10 20:48:38 -04:00
Paul Licameli
4f940c855d New files for ProjectWindow 2019-06-03 01:43:26 -04:00
Paul Licameli
4abc71c6b4 Do the separation of classes ProjectWindow and AudacityProject 2019-06-03 01:43:23 -04:00
Steve Daulton
41151b0700 Mod-nyq-bench Readme updated
Mod-nyq-bench is no longer supported.
2019-05-30 14:06:57 +01:00
Paul Licameli
4ba4d0978b static CommandManager::Get()...
... not member functions of AudacityProject
2019-05-23 13:17:29 -04:00
Paul Licameli
f86403378b Move AudacityMessageBox to its own files...
... breaking cycles among low-level files introduced by 273ba9f
2019-05-20 14:48:36 -04:00
Paul Licameli
4714d72b3f Can't remove remaining wx headers from other headers, comment that 2019-03-31 01:41:16 -04:00
Paul Licameli
13d3b61577 Remove unnecessary #include from NyqBench.h 2019-03-23 11:06:09 -04:00
Paul Licameli
0dd0a5cb5a Remove <wx/menu.h> from CommandManager.h, moving inline functions out 2019-03-23 10:56:43 -04:00
Paul Licameli
9759c6bd4f Plugin Menus 2018-10-24 12:16:44 -04:00
Paul Licameli
1eb293b7b3 Fix build of mod-nyq-bench 2018-10-18 09:28:31 -04:00
Paul Licameli
fc99f61945 Fix compilation of mod-nyq-bench 2018-10-16 17:17:32 -04:00
scootergrisen
b4f7946e9b Remove some double space 2018-10-14 10:42:01 +01:00
Paul Licameli
9481587fa8 Move menu handling functions out of class AudacityProject 2018-09-29 12:10:27 -04:00
James Crook
04d7108509 Rejig mod-xxx building under Windows
The project files move from lib-src into the win/Projects folder.
Intermediate files are now kept well away from the files we want.
Less use of '..' and more of $(SolutionPath) in paths.
2018-04-07 12:41:57 +01:00
James Crook
6e59c2e286 Move Nyquist Workbench to Tools menu
Also disable and comment an incorrect ASSERT.
2018-04-06 14:27:33 +01:00
James Crook
a13a925c6b autoreconf -ivf 2018-04-06 13:11:32 +01:00
James Crook
b24dae713b Update configure.ac for modules. 2018-04-06 11:54:15 +01:00
James Crook
60a8e832b7 Update module makefiles 2018-04-06 11:53:57 +01:00
James Crook
0885fda459 Fix mod-nyq-bench compilation under Windows. 2018-04-05 19:41:10 +01:00
James Crook
6220c27613 Do an autoreconf -ivf
This was done on a Ubuntu 14.04 system with wxWidgets 3.1.1 installed.
The resulting buildfiles successfully build Audacity on Ubuntu 14.04 (with 3.1.1) and on Travis (with 3.0.0).
2018-04-02 17:32:17 +01:00
James Crook
b7b367a165 Prepare for compiling with wxWidgets 3.1.1
- Upped version number to Audacity 2.3.0 in configure.ac
- configure.ac now wants 3.1.1 but still accepts 3.0.0 (for top level, lib-widgets-extra and mod-nyq-bench)
- .travis.yml now apt-gets autopoint.  This allows us to do an autoreconf -ivf on Travis, IF we want to, but i snot used yet.
- FileDialog MakeFile.am now has LDFLAGS to resolve libtools issue on Travis with missing --tags=CXX
2018-04-02 17:28:38 +01:00
Paul Licameli
a52f7f5313 Fix build of Nyquist workbench 2018-02-24 16:57:06 -05:00
Paul Licameli
cf66f88050 Fix build of mod-nyq-bench 2018-01-29 23:01:34 -05:00
Paul Licameli
ccb4bbac33 Translate "Message" as default title of message box...
... This required a sweeping change of all calls to wxMessageBox!  But it seems
safe to me, despite the great number of touched files.
2018-01-01 17:50:02 -05:00
Paul Licameli
5036583549 Fewer inclusions of AudacityApp.h 2017-03-17 17:52:24 -04:00
yam
967275528b Get Nyquist Workbench building again 2016-10-02 19:20:31 -05:00
Leland Lucius
2ab0c13101 Fix build of Nyquist Workbench 2016-10-01 14:05:53 -05:00
Richard Ash
ad72c112a4 Update references to sourceforge.net
Replace references to audacity.sourceforge.net with the new
audacity web site, and also bug report emails in configure scripts
and readme files.
2016-09-21 10:03:25 +01:00
Benjamin Drung
787f2afd10 Introduce end-of-line normalization
Ensures that all files that Git considers to be text will have
normalized (LF) line endings in the repository. When core.eol is set to
native (which is the default), Git will convert the line endings of
normalized files in your working directory back to your platform's
native line ending.

See also https://git-scm.com/docs/gitattributes
2016-05-17 01:05:05 +02:00
Leland Lucius
a105ee4a6d Fix hang during termination 2015-09-04 02:31:14 -05:00
Leland Lucius
0235c80859 Fix for bug #936 part 2
Keeping this one separate in case we need to back it out.
2015-09-02 02:24:15 -05:00
Leland Lucius
63cc27ff64 Fix for bug #1171 2015-09-02 01:42:22 -05:00
Leland Lucius
1771cd15fb Fix an assertion in Nyquist Workbench 2015-08-27 09:41:48 -05:00
Leland Lucius
90e6f3011e Fix build of Nyquist Workbench 2015-08-24 00:06:58 -05:00
Leland Lucius
3e709dd98c Update modules for wx3 2015-07-19 15:37:04 -05:00
Leland Lucius
9b9c8cc073 Round 5 of wx3 changes
FileDialog now complete on Linux.  Needs some fine tuning on
Windows and OSX.
Builds with wx3 and gtk2 or gtk3.
Still more effect work to do.
2015-07-14 23:33:53 -05:00
Leland Lucius
b1690f1801 Getting all build scripts to the same Automake 1.14 version
This way, building the minsrc tarball doesn't require multiple versions
of Automake to be installed.  (Most things were at the 1.11 version, but
some were at the 1.14 version.)

Building minsrc should now work just fine.
2015-06-21 22:09:44 -07:00
Leland Lucius
b8ce7f6125 Fix for bug #981 2015-05-28 09:57:59 -05:00