1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00

12133 Commits

Author SHA1 Message Date
Leland Lucius
b9959de4ba Add cmake option to disable precompiled headers 2020-05-26 20:01:49 -05:00
Sebastian Ramacher
df16b7e5c8
cmake: check for system portsmf via correct pkg-config name (#539)
Thanks much
2020-05-26 18:58:02 -05:00
Leland Lucius
5679bb23b3 Make msgfmt.py compatible with py3 2020-05-26 15:03:21 -05:00
SteveDaulton
5f395ca6e9 Fix Python recording test
and update for Python 3
2020-05-26 20:44:24 +01:00
Leland Lucius
37a19d6db4 Enable precompiled headers on OSX
Learned today how to disable precompiled header usage
for specific files, so we can now enable PCH usage on
OSX.
2020-05-26 14:39:36 -05:00
Paul Licameli
2a91f91287 Revert "Break cycle of FileDialog and FileDialogPrivate"...
... It didn't really break the cycle, because there were still indirect
inclusions via AudacityHeaders.h.

This reverts commit 4f78874978975b42a5ca0ffb7175d586875da629.
2020-05-26 15:24:00 -04:00
Leland Lucius
a1dca132a8 Remove unnecessary ALIAS definition
No longer needed after removal of old build system
2020-05-26 13:50:34 -05:00
Leland Lucius
e7decd8013 Cleanup a few more library builds 2020-05-26 13:36:07 -05:00
Paul Licameli
83d5c81578 Change a function return from wxString to TranslatableString 2020-05-26 12:04:11 -04:00
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
James Crook
4c3dda596d Update win build instructions 2020-05-26 12:34:39 +01:00
Leland Lucius
ccb32b363d Adjust include paths 2020-05-26 03:24:27 -05:00
Leland Lucius
51507ecdf8 Move libmp3lame into the lame directory
This is where it would be in the original library structure
and makes the CMakeLists.txt a tad cleaner.
2020-05-26 02:05:43 -05:00
Leland Lucius
d738d35a7b Remove mpglib as it's not needed
And slower than libmad
2020-05-26 01:44:58 -05: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
2272055d44 More cleanup of the tree after moving modules & FileDialog 2020-05-25 17:21:35 -04: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
pan93412
bdb5c78f58 Update Chinese (Taiwan) Translation 2020-05-25 21:51:53 +01: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
Paul Licameli
c11e2d4998 Remove files in locale/ no longer used to regenerate .pot and .po 2020-05-25 11:03:48 -04: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
bf8387327e src/graph.pl can generate hyperlinks for nodes in .svg images 2020-05-24 17:15:49 -04:00
James Crook
8a88881e43 Fix PREDEFINED in audacity.dox
Thanks to Albert, https://github.com/audacity/audacity/issues/523
2020-05-24 21:27:02 +01:00
Leland Lucius
02884f5de0 Remove AppVeyor and Travis configs 2020-05-24 14:21:42 -05:00
Leland Lucius
5bd5b8af4c Update wx version in build instructions 2020-05-24 14:21:16 -05:00
Paul Licameli
bfa83eb2a1 Translatable string changes in AboutDialog.cpp 2020-05-24 15:07:15 -04: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
Leland Lucius
1f55332bb3 Fix wx3.0 build 2020-05-24 14:04:39 -05:00
Paul Licameli
e526b2b940 Add support for & examples of translatable strings with context...
... This includes functions callable from Nyquist but not yet any examples
of strings with context in any .ny files.

This does include some examples of strings with context, and with both plurals
and context, in C++ files.  It is not intended to fix possible ambiguities
exhaustively.

Note that wxWidgets 3.1.1 is sufficient to support contexts.

If Audacity is build with wxWidgets 3.0, it will run, but strings with
context will fail to translate.
2020-05-24 14:58:57 -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
2eb538f385 A couple more cmake updates for travis 2020-05-24 13:34:13 -05:00
Leland Lucius
07efddf5fd Must use a newer CMake version 2020-05-24 13:30:52 -05:00