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

8873 Commits

Author SHA1 Message Date
Paul Licameli
66c5b76573 Simplify public interface of FileHistory 2020-05-26 10:47:47 -04:00
Paul Licameli
3313b33050 Move helper structure definitions out of CommandManager.h...
... and remove an indirection in handling one of them
2020-05-26 09:49:22 -04:00
Paul Licameli
4f78874978 Break cycle of FileDialog and FileDialogPrivate 2020-05-26 02:05:06 -04:00
Paul Licameli
5f61552987 Remove an unused ODLock...
... It became unused long ago at 61177a15ad95cf3f8d1e8eb37518764d8b980307
when libSndFileMutex in FileFormats.cpp took its job
2020-05-25 21:01:44 -04:00
Paul Licameli
0ef7213a2e Bug2453: Shoudln't show & accelerators in dialog text for key prefs 2020-05-25 19:57:20 -04:00
Leland Lucius
5e8cfb0c5a Bug 2431 - Mac: Real-time effects - Enable checkbox has no effect 2020-05-25 18:27:46 -05:00
Paul Licameli
0a00110612 Remove mod-track-panel and all mention of it 2020-05-25 17:21:05 -04:00
Paul Licameli
7fbfc2b292 Finish the job of 30dbdf4, deleting abandoned source files...
... And correcting #include paths, and removing mentions in read-me files, and
correcting CMakeLists.txt
2020-05-25 17:21:05 -04:00
Paul Licameli
e4238a93a0 src/CMakeLists.txt includes gtk ...
... not relying on prior inclusion of lib-src/FileDialog
2020-05-25 17:21:05 -04:00
Paul Licameli
2c8c5799f6 Correct menu ordering after "Reset Configuration" command, see f5afb28 2020-05-25 14:24:14 -04:00
James Crook
f5afb28f54 Bug 363 - (Part I) Provide a Reset Preferences command inside Audacity
This is the beginning of a configuration reset mechanism within Audacity.
2020-05-25 17:39:33 +01:00
James Crook
dc5ad0309e Fix build 2020-05-25 12:03:56 +01:00
James Crook
7c1f443882 Improve sizing of apply macros file progress dialog
Previously it could come out really tiny far too easily.
2020-05-25 11:22:49 +01:00
Paul Licameli
5bb1152fe9 Separate ShuttleGuiBase::ApplyItem 2020-05-25 05:40:46 -04:00
Carlo Bramini
16ecbcdf0e
[WIN32] Correct declaration of import/export modifiers. (#455)
The '_declspec' modifier is deprecated since the migration from Win16 to Win32, so by long time.
The correct modifier to be used for modern code is '__declspec', with two underscore characters as prefix.
MSVC can recognize both modifiers and '_declspec' has the same effect of '__declspec', depending on the presence of '/Za' option, which activates/deactivates the language extensions:

https://docs.microsoft.com/it-it/cpp/cpp/declspec?view=vs-2019

Unfortunately, GCC supports only '__declspec', so I recommend to use this one and also MSVC will be able to work indipendently from the language extensions. Since Audacity does not compile on anything less than GCC 4.9, it is not a big problem to use the same thing for _WIN32 in general, not only MSVC, and also Cygwin.
2020-05-25 01:43:10 -05:00
Carlo Bramini
e59bfcc872
[WIN32] Correctly read default value of wxRegKey entry. (#456)
Fix this build error with GCC:

../../audacity/src/AudacityApp.cpp:2347:62: error: call of overloaded 'wxString(wxRegKey&)' is ambiguous.
2020-05-25 01:37:55 -05:00
Carlo Bramini
5580ff9d2e
[WIN32] Fix CONST redefinition error (#510)
On Windows, the CONST macro is already defined by system include files.
MSVC tolerates that, but this is fatal for GCC.
The CONST macro is unused in this source anyways, so it would be worth to remove it.
2020-05-25 01:18:42 -05:00
Leland Lucius
a5d765c9c5 Stop using deprecated function 2020-05-24 16:54:15 -05:00
Leland Lucius
30dbdf40a9 Cleaning up lib-src
FileDialog goes into audacity/src/widgets and the mod-* directories go into
audacity/modules.

This leaves nothing in lib-src that isn't a 3rd-party libs or supporting
files.
2020-05-24 16:21:26 -05:00
Paul Licameli
a54eaece03 Show the program name verbatim throughout AboutDialog.cpp 2020-05-24 15:07:15 -04:00
Paul Licameli
a2a0f9a177 Don't put markup in translatable strings...
... Note that par1str and par2str aren't even shown, but comment out.  Yet, I
did the work on them to serve as examples for the future.

Note the use of contexts too.  Be aware of case distinctions that some languages
make.
2020-05-24 15:07:15 -04:00
Paul Licameli
95195a783f Enable optional context arguments for i18n in Lisp 2020-05-24 14:55:08 -04:00
Paul Licameli
67ce74d5ef Some example uses of XC and XPC...
... Really needed only for "White" but harmless in the other uses.  Also more
i18n-hint comments.

There may be need to disambiguate other strings.
2020-05-24 14:55:08 -04:00
Paul Licameli
4e2f9671ff Macros for translatable strings that need disambiguating context 2020-05-24 14:55:08 -04:00
Paul Licameli
7c246ddc26 Need only wxWidgets 3.1.1 for translation context strings 2020-05-24 14:55:08 -04:00
Leland Lucius
c42d188e7b Removed old build system
This was fun!!! Holler if I had too much fun. :-)
2020-05-24 13:18:47 -05:00
Paul Licameli
1075f15182 Fix a comment 2020-05-24 12:38:20 -04:00
Paul Licameli
6beeb86a6a Nyquist can still parse the older format for file controls 2020-05-24 12:22:40 -04:00
Paul Licameli
55c5a5f692 Allow continuations of Nyquist control lines either with $ or with ; 2020-05-24 12:20:46 -04:00
James Crook
00084a8f38 Bug 2443 - Mac/Linux: Old (PowerPC) projects open flat-lined or with corrupted display on Intel machines 2020-05-24 13:40:03 +01:00
Leland Lucius
35e88d995b Bug 421 - Crash importing malformed MP3 file using libmad
This adds LAME tag handling and bad MP3 detection, but
it's pretty much a complete rewrite, so plenty of testing
is needed.
2020-05-23 22:03:41 -05:00
Paul Licameli
8ce72748bf CommandManager stores only stripped menu names (no & characters)...
... Keyboard preference dialog does not need to repeat the stripping
2020-05-23 22:42:21 -04:00
Paul Licameli
1ef29b7a51 Don't encode command options as part of accelerator string...
... also restore the intended meaning of "allowDup" (for debugging checks only),
which had never been properly implemented because the label, not the
accelerator, was scanned for it; see commit f2f7568
2020-05-23 22:41:35 -04:00
Leland Lucius
1efb10cf78 Exclude Window menu if build with wx313
I'm not sure exactly when the Window menu started working again,
but when built with wx313, the system provides the Window menu
just fine on all OSX versions from 10.7 - 10.15.
2020-05-23 21:10:38 -05:00
Leland Lucius
19e18ed665 Rework SpectralSelection toolbar for wx313 2020-05-23 13:08:21 -05:00
Leland Lucius
ea689f7d24 Rework Selection toolbar for wx313 2020-05-23 13:08:21 -05:00
Leland Lucius
11a527c1ec Rework Device toolbar for wx313 2020-05-23 13:08:21 -05:00
Leland Lucius
64a597ef91 Override GTK theme to control GtkCombo* sizes 2020-05-23 13:08:21 -05:00
Leland Lucius
fa878ef05b Adjust ASlider for wx313 2020-05-23 13:08:21 -05:00
Leland Lucius
fadc024432 Initial changes to build against wx313 2020-05-23 13:08:21 -05:00
Paul Licameli
b81c03c194 Change the menu labels in vertical rulers...
... and recompute popup menu tables that depend on preferences.

The code for labels in the rulers was unsatisfactory because

(1) rescanning and editing the post-translation strings is a hack to avoid, and
(2) separating the hints like "Shift-Left-Click" with a tab character made them
invisible on Mac.  So instead, append strings like " (Shift-Left-Click)"
2020-05-23 13:58:22 -04:00
Paul Licameli
7cf9263889 Simplify Loudness effect UI with a notebook...
... so that we don't need to recreate the validators and change label texts
after constructing the dialog.

This eliminates 4 uses of macro _ .
2020-05-23 13:56:39 -04:00
Paul Licameli
2397499ba3 Sufficient width of text control boxes (don't hard-code char width) 2020-05-23 09:13:56 -04:00
Paul Licameli
63c49db0ce Don't internationalize logged strings; -29 macro _ calls 2020-05-23 08:07:24 -04:00
Paul Licameli
db690d94f7 Remove 27 various macro _ ...
... and supply a few missing translations in Dependencies.cpp

And substitute-don't-concatenate in a few places in Internat.cpp
2020-05-23 08:07:24 -04:00
Paul Licameli
2527bdecaf Add and correct various comments 2020-05-23 06:00:56 -04:00
Paul Licameli
b1cf7e57cb Simplify AButton...
... Don't need another constructor just to do conversions from wxImage to
ImageRoll, which can happen implicitly
2020-05-23 05:43:13 -04:00
Paul Licameli
1689050c9c Remove duplication of enum definition 2020-05-23 05:37:15 -04:00
Paul Licameli
d373e27840 Remove some unused forward declarations and #include directives 2020-05-23 05:32:01 -04:00
Paul Licameli
7fb4652c88 Remove some unused functions and forward declarations 2020-05-23 05:16:59 -04:00