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

10871 Commits

Author SHA1 Message Date
Paul Licameli
02cdb4ab45 Define ComponentInterface::GetUntranslatedName() 2019-12-14 01:48:15 -05:00
Paul Licameli
d32d464471 Uses of TranslatableString in src/import 2019-12-14 01:48:15 -05:00
Paul Licameli
f137bc197a More use of wxFileNameWrapper in export 2019-12-14 01:48:15 -05:00
Paul Licameli
626539d7a6 Remove Importer file description from PluginDescriptor...
... it was not used for anything but to write to config and read it again, and
it was improperly writing translated string values to the config file.
2019-12-14 01:24:42 -05:00
Leland Lucius
5fe89c6498 First stab at notarization
The distribution will be signed and notarized during an "install" build
and is handled by mac/scripts/build_dist.sh.

The wrapper scripts, mac/Audacity.sh, is no longer needed as it's function
has been integrated into AudacityApp.cpp/main().

Initially, all "hardened entitlements" have been enabled since we don't
know which ones plug-ins will need.

On Mac and Windows, system sleep will be disabled when recording starts
and re-enabled when it ends.
2019-12-13 23:43:01 -06:00
Paul Licameli
b53b5e54fe Comments about preference keys that store localized string values...
... which is wrong in general, but describe why that's pardonable
2019-12-13 20:18:23 -05:00
Paul Licameli
8655e2e3b9 r & lvalue ref-qualified overloads of TranslatableString functions...
... and moves of TranslatableString arguments where possible
2019-12-13 12:36:20 -05:00
Paul Licameli
4b3f670bef Let the comment column of Mouse preferences default to a wider size 2019-12-13 08:14:03 -05:00
Paul Licameli
9c4742c7f6 Use TranslatableString in MousePrefs.cpp 2019-12-12 21:27:13 -05:00
Paul Licameli
fe604cf20b Avoid assertion violation on startup that began with commit a8de4d9 2019-12-12 21:25:48 -05:00
Paul Licameli
c2194e0dc6 More use of TranslatableString and XO, in menu management...
... and less use of naked wxString and of the _ macro
2019-12-12 16:09:36 -05:00
Paul Licameli
a8de4d9e50 Construct MenuItem with untranslated label, so it can be static...
... and other storage of TranslatableString instead of naked wxString, for
management of menu items, in CommandManager
2019-12-12 15:49:00 -05:00
Paul Licameli
aac50ae36e EffectManager returns TranslatableString for family and vendor 2019-12-12 15:30:36 -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
5cbafc6086 Clarifying name change in CommandManager & simplify PluginMenus...
... The purpose of the boolean field in command entries was to exclude certain
menu commands from being steps in macros, because they require user interaction.

Effects are never meant to be excluded, even though they normally have dialogs,
but in the context of macro execution, the parameters are supplied by other
means.
2019-12-12 15:15:59 -05:00
Paul Licameli
db96d1ab10 AddItemList no longer parses names for accelerators...
... This capability was unused.  The only uses of item lists are in
TrackMenus.cpp, for aligning tracks.

The parsing of a translated string for encoded infomration was questionable.
2019-12-12 15:15:59 -05:00
Paul Licameli
e4968761ad CommandManager::NewIdentifier bundles some arguments in Options 2019-12-12 15:15:59 -05:00
Paul Licameli
6f28f228a1 Remove unused functions CommandManager::AddCommand 2019-12-12 15:15:59 -05:00
Paul Licameli
1e52400936 Remove overload of NewIdentifier that was used only once 2019-12-12 15:15:59 -05:00
Leland Lucius
6d093019ef Fix module header paths 2019-12-12 12:43:58 -06:00
Paul Licameli
2e3ba2204f Rewrites of TranslatableString and reimplementation of wxPLURAL...
... including move-construction of the base string, debug string formatting,
and contexts (not fully implemented)
2019-12-11 14:55:29 -05:00
Paul Licameli
9d05fc0c7d Various preliminaries for use of ShuttleGui in more places 2019-12-10 09:59:34 -05:00
Paul Licameli
7d38500ecf ShuttleGui::AddSpace takes prop argument...
... This will be needed to rewrite EffectRack
2019-12-10 09:58:39 -05:00
Paul Licameli
f825c32a50 ShuttleGui can specify orientation and minimum size...
... This will be needed for rewrite of EffectUIHost dialog
2019-12-10 09:58:39 -05:00
Paul Licameli
bb3159c758 Don't SetMinSize in ShuttleGui::StartNotebookPage...
... This could only affect the About dialog now, but does not have noticeable
effects.

StartNotebookPage will be reused for Export and Export Multiple dialogs, and
the effects of this SetMinSize call would be undesirable for them.
2019-12-10 09:58:39 -05:00
Paul Licameli
3b69a038c8 Add ShuttleGui functions to make simple book controls...
... analogous to StartNotebook() and EndNotebook()

This will be needed to rewrite export dialogs
2019-12-10 09:58:39 -05:00
Paul Licameli
1802b9316e ShuttleGui::AddStandardButtons takes more general wxWindow *extra...
... This will be needed to rewrite the EffectUIHost dialog
2019-12-10 09:58:39 -05:00
Paul Licameli
dabf5c0e39 remove unnecessary qualified names 2019-12-10 09:58:38 -05:00
Paul Licameli
0cf90d65e6 S.GetParent() for all windows passed to ShuttleGui::AddWindow()...
... Verified that this makes no real change.
2019-12-10 09:58:38 -05:00
Paul Licameli
d49ac8bad3 Remove obsolete code 2019-12-10 09:58:38 -05:00
Leland Lucius
f7a1ca117d Update project for Xcode 10+ and notarization
I've tested this with Xcode 9, 10, and 11 without issue.
2019-12-09 13:28:01 -06:00
Paul Licameli
94fc1bb2a8 TranslatableString has + and +=, and translation of Format arguments 2019-12-06 11:50:56 -05:00
Paul Licameli
d63b5b4bfa Update list of Nyquist plug-ins in Xcode project 2019-12-06 11:30:39 -05:00
Bruno Ramalhete
e7076e4a75 Update Brazilian Portuguese Translation 2019-12-06 11:41:38 +00:00
Marco Oros
8947463d39 Update Slovak Translation 2019-12-06 11:40:03 +00:00
James Crook
23f05c618c Fix signed/unsigned comparison warnings. 2019-12-06 11:33:22 +00:00
James Crook
7f3c40eb43 Fix class/struct warnings. 2019-12-06 11:32:17 +00:00
James Crook
5a3e9cd063 Fix dialog naming
For nicer Doxygen results, we need consistency in naming of classes.
Dialag classes are now called SomethingDialog.
2019-12-06 10:39:07 +00:00
James Crook
d4baeed6a5 Fix building of mod-script-pipe
Include files not needed.
2019-12-05 23:08:19 +00:00
SteveDaulton
c8e5cc8cd6 Add noise gate for Windows 2019-12-05 21:19:00 +00:00
SteveDaulton
c2d4b5616e Add Noise Gate plug-in 2019-12-05 21:13:24 +00:00
Paul Licameli
1545d292d0 Fix Linux build 2019-12-05 14:08:35 -05:00
Paul Licameli
4b43962415 Fix Linux build 2019-12-05 13:14:42 -05:00
Paul Licameli
15260c2c95 TranslatableString can store a context and format arguments...
... Format arguments are substituted into the translation of the msgid, which
may not be known at the time the format arguments are captured (because locale
may change).  This allows TranslatableString with arguments to be constructed
at static initialization time.

There is also a special "verbatim" or null context which makes no translations
of msgids.

There is not yet any use of other contexts besides default or null.
2019-12-05 11:34:06 -05:00
Paul Licameli
4fdd1b005c Another part of the fix begun at 8640a83 2019-12-04 16:23:12 -05:00
Paul Licameli
ca70cc940f Don't concatenate ":" onto user-visible strings...
... include it in the msgid intead, to get appropriate translations.  For
instance some locales use the same character but prefer to insert a space
before it.
2019-12-04 16:19:07 -05:00
Paul Licameli
674ac42de9 ShuggleGui::NameSuffix inserts a space 2019-12-04 00:12:47 -05:00
Paul Licameli
7e314dcc37 More chain-call ShuttleGui functions specifying control attributes...
... so the code specifying the dialogs becomes more declarative and less
procedural.
2019-12-03 00:03:36 -05:00
Paul Licameli
930c21dc2a Define and use ShuttleGui::Size 2019-12-02 22:02:46 -05:00
Paul Licameli
dd954247d3 More uses of Position(); don't fiddle with sizer items directly 2019-12-02 22:01:55 -05:00