1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-26 09:28:07 +02:00

8742 Commits

Author SHA1 Message Date
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
Paul Licameli
e72634fb9d Keep EXPERIMENTAL_OD_DATA compilable 2020-05-22 21:36:14 -04:00
Paul Licameli
93bcff99df Keep EXPERIMENTAL_VOICE_DETECTION compilable 2020-05-22 21:36:14 -04:00
Paul Licameli
37c0c15f12 Replace various calls to _ with XO 2020-05-22 20:45:07 -04:00
Paul Licameli
9c196860db Rewrite sort comparisons for plugin menus...
... Don't concatenate strings just to compare.  Just do easy tuple comparisons.

Results might be different in case one plugin's symbol name, vendor, or family
is a prefix of the other one's.
2020-05-22 20:45:07 -04:00
Paul Licameli
c941647db6 Replace last wxProgressDialog with ProgressDialog; remove all wx/progdlg.h 2020-05-22 20:44:08 -04:00
Paul Licameli
f1ae8109ee Internationalize file type choices for Nyquist as we do in C++ ...
... That is, present translators with msgids containing only the descriptions
of the file types.  No punctuation.

This eliminates the last wxFileDialog, replacing it with FileDialogWrapper.
2020-05-22 20:34:42 -04:00
Paul Licameli
3542eb4ca0 Replace wxFileDialog with FileDialogWrapper in two places 2020-05-22 20:19:02 -04:00
Paul Licameli
c44ae15a4d Remove inclusions of wx/filedlg.h 2020-05-22 20:18:51 -04:00
Paul Licameli
c63cbf01eb Be careful of static initialization of arrays of FileType 2020-05-22 20:14:02 -04:00
James Crook
6a50a6fad5 Explanation of XXO() macro's purpose. 2020-05-22 18:50:45 +01:00
Paul Licameli
4d09705a73 Change XO to XXO in many more places, with no effects at all...
... because the two macros have the same expansion, and are both checked for
in the --keyword arguments passed to msgfmt by locale/update_po_files.sh.

This commit makes ONLY such changes, and comments in Internat.h.  It is big
but quite harmless.

The intention is to introduce a type distinction in a later release, by defining
XXO differently.  XXO is used where & characters in strings (for hotkeys of menu
items or control prompts) are permitted, XO where not.
2020-05-22 13:07:50 -04:00
Paul Licameli
1b2d4e26ba Consistently compare to translation of "Command" in KeyView.cpp...
... note that "cat" compared with it is concatenated with _("Menu") and
stored in KeyNode::category, which is also compared elsewhere with
CommandTranslated.  So this change in one comparison is the right one.
2020-05-22 13:07:50 -04:00
Paul Licameli
44b30ca4e1 Don't internationalize "e" (introducing numeric exponent) 2020-05-22 13:07:49 -04:00
Paul Licameli
5cef2cd3e4 Remove a few macro _ 2020-05-22 13:07:49 -04:00
Paul Licameli
a0045f8772 Remove some macro _ in NumericTextCtrl & substitute-don't-concatenate 2020-05-22 13:07:32 -04:00
Paul Licameli
630bc15fd3 Fix some misplaced i18n-hint comments 2020-05-22 12:48:49 -04:00
Paul Licameli
eb721f33ef Substitute, don't concatenate in user-visible strings 2020-05-22 12:48:49 -04:00
Paul Licameli
d22b650e6a Fix two typos for translated strings, now that strings are unfrozen...
... See commit 97fba037a43ef57ecedc89ac24846a639caaca98.
2020-05-22 12:48:49 -04:00
Paul Licameli
24f27da9b7 Use i18n context if wxWidgets version 3.1.3 or later 2020-05-22 12:48:49 -04:00
Paul Licameli
d8a096ba03 Correct placement of i18n-hint comments for plurals, no dummies needed 2020-05-22 12:48:49 -04:00
Paul Licameli
f8a070dde7 Rename macro wxPLURAL as XP (brief, and eliminates mention of "wx") 2020-05-22 12:48:49 -04:00
Paul Licameli
2e3c072fd5 Bug1119: Windows menu on Mac should list all project names...
... Reimplemented without making dependency cycles.

Project and ProjectFileManager publish events for change of active project or
change of a project title.

WindowMenus.cpp can listen for those events, so that it can update the menu
appropriately.  So it's all done nonintrusively in the rest of the code.
2020-05-22 10:09:47 -04:00
Paul Licameli
78c2c09ba2 Effect management dialog is sorted by name when it opens 2020-05-22 09:30:00 -04:00
Paul Licameli
a3d690e473 Remove lib-src/lib-widget-extra...
... It only implemented class NonGuiThread, which was not third-party, and
became unused at commit a6d0b3f
2020-05-22 09:22:49 -04:00
Paul Licameli
9ec4d65f7c Travis build uses C++14 2020-05-22 09:20:20 -04:00
David Bailes
ad680e1bbc Time Toolbar: Fixed ID for audio position
The Jaws screen reader script for audacity references the audio position control by its ID, so it's very helpful if this is fixed. It used to be fixed when the control was part of the Selection toolbar.
2020-05-22 09:19:26 +01:00
James Crook
947ed37918 Begin 2.4.2 development 2020-05-21 21:21:50 +01:00
James Crook
1322b40a9c BUILD_LEVEL 2; Ready for release 2020-05-19 10:43:53 +01:00
Paul Licameli
9a7b7c36d8 comments 2020-05-18 13:09:06 -04:00
Paul Licameli
ecb65f8c2b Bug2436: Cross-project paste should duplicate block files...
... to avoid data loss!

Bug caused by commit c2feee6
2020-05-18 10:57:23 -04:00
James Crook
f61c87368d Begin 2.4.1 development. 2020-05-18 12:15:05 +01:00