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

1432 Commits

Author SHA1 Message Date
Paul Licameli
b200819f75 Use IdentInterfaceSymbol to identify commands and effects 2018-04-11 11:51:10 -04:00
Paul Licameli
11d217076a Remove PluginManager::GetTranslatedVendor()...
... Instead, use the IdentInterfaceSymbol for vendor reported by the effect
2018-04-11 11:13:41 -04:00
Paul Licameli
0394660e9e Use IdentInterfaceSymbol for vendor strings, which are used in paths 2018-04-11 11:13:41 -04:00
Paul Licameli
d9606e8cdf Make effect family names translatable and add i18n-hint comments 2018-04-11 11:13:41 -04:00
Paul Licameli
2c19e8f81e Use IdentInterfaceSymbol to identify effect families 2018-04-11 11:13:40 -04:00
Paul Licameli
e3c54a769e Use IdentInterfaceSymbol in PluginDescriptor 2018-04-11 11:13:40 -04:00
David Bailes
526606fc29 Fix more accessibility names after the move to wx 3.1.1
This is a follow up to commit f9ee3cd.
2018-04-10 13:43:50 +01:00
James Crook
473a92d28f Bug 916 - User input not validated in Noise Reduction effect 2018-04-09 18:08:43 +01:00
James Crook
b60fae4470 Fix some warnings on mac
These are mostly missing 'overrides'
2018-04-07 20:28:27 +01:00
James Crook
68b4cb919f Add "Help" button to Noise Reduction. 2018-04-04 15:16:04 +01:00
David Bailes
f027708fe1 Fix an issue caused by the accessibility changes in wxWidgets 3.1.1
The main change in wx accessibility is this:
7dab555f71 (diff-04f5191d86f95b1c4d5d9c979da65878)

However wxWindowAccessible has not been updated to take into account of that change. In particular wxWindowAccessible::GetParent() was always wrong, but it was consistent with the rest of the framework. Now it's wrong and inconsistent. This function should return an object with role window, and which has the same name.

The fix is to introduce class WindowAccessible, which is effectively our own version of wxWindowAccessible. This class does not override GetParent(), and so just relies on a standard accessible object to to the right thing in wxIAccessible::get_accParent() (which is does). This class also allows us to have our own version of GetName(), which allows us to set the accessibility names of buttons.

These changes will break the accessibility of Audacity if it is built with wxWidgets 3.0.X. If this is a problem, then there could be some #if stuff in WindowAccessible.h to turn the WindowAccessible class into one which simply inherits from wxWindowAccessible, and doesn't override anything.
2018-04-03 14:57:59 +01:00
Paul Licameli
0fb02a8024 IdentInterfaceSymbol in NumericTextCtrl; don't persist translated 2018-03-28 14:00:17 -04:00
Paul Licameli
e1b60916b7 More consistent naming conventions for choice control items...
... This commit leaves at least a comment for all choice controls of all
built-in effects and commands.

Use CamelCase with no spaces for the internal identifiers, given in
wxT("...")

Use more idiomatic English with spaces in the user-visible names, given in
XO("..."); these strings go to the message catalog for internationalization

Do not use underscores

In case these strings are the same, give it just once in XO("..."), but if in
a future version it is decided to change the name in XO("..."), then the
original should be kept also in a distinct wxT("...") string, so that
saved configuration or plugin settings or macro files don't become gratuitously
incompatible just because of that user-visible name change.

Left TruncateSilence alone for now -- I think that choice demands a rewrite
as a slider instead.
2018-03-27 15:57:48 -04:00
Paul Licameli
6f52df545e Multi-line Nyquist header directives allow embedded comments 2018-03-27 15:54:47 -04:00
Paul Licameli
7f30636ecb .ny header can distinguish internal vs visible choice strings...
... Syntax is like:

( "InternalString" (_ "Visible String") )

But none of the shipped .ny headers need this yet.
2018-03-27 07:51:45 -04:00
Paul Licameli
d464878d65 Use std::vector<>::data() not address of first element 2018-03-27 07:51:44 -04:00
Paul Licameli
2065eebff6 IdentInterfaceSymbol to distinguish internal vs visible enum settings 2018-03-27 07:51:44 -04:00
Paul Licameli
595cf05d42 More uses if LocalizedStrings 2018-03-27 07:51:44 -04:00
Paul Licameli
81dd580c57 Pass array and count separately to read/write/define enum 2018-03-27 07:51:43 -04:00
Paul Licameli
180cf92790 Move DbChoices out of Shuttle.h 2018-03-27 07:51:43 -04:00
Henric Jungheim
d8da4015ef Make it possible to const'ify xpm. 2018-03-27 05:36:02 -04:00
Paul Licameli
2bd4665461 This is not needed after 170f92c 2018-03-26 18:04:36 -04:00
Steve Daulton
15e6792be9 Fix bug 929 2018-03-26 22:51:50 +01:00
James Crook
a4a588610e Revert "Bug 893 - Spectral Selection Toolbar misnamed"
This reverts commit eaada3a51d1cea89e737eb73f607a089e07816a2.
2018-03-26 20:18:37 +01:00
Paul Licameli
170f92c181 A means to specify legacy values of effect choice controls...
... For Truncate Silence only now, perhaps it will find more future use
2018-03-26 14:26:30 -04:00
James Crook
cb8e35574d Fix half sized equalization dB ruler. 2018-03-26 11:52:12 +01:00
James Crook
eaada3a51d Bug 893 - Spectral Selection Toolbar misnamed 2018-03-25 21:41:56 +01:00
James Crook
e48bd77ea2 Fix bad unquoting in Nyquist. 2018-03-25 21:41:56 +01:00
James Crook
238fa7f81f Possibly hide unused ApplyClipping parameter in Macros.
It is unused.  This hides it if the ratio has been set.
Hiding it always in Macros means changing more code.  It still will
show if it has only been picked and not set.
2018-03-25 18:18:53 +01:00
James Crook
5c4444665e Bug 1012 - Amplify: User Presets do not store Allow Clipping state. 2018-03-25 17:24:53 +01:00
James Crook
de53f64757 Bug 499 - Normalize includes white space in offset calculation 2018-03-25 15:58:34 +01:00
Paul Licameli
37541de6be Bug1858: Allow empty default choice on $ control lines (again) 2018-03-24 16:20:13 -04:00
Paul Licameli
05ef58753a Substitute, don't concatenate in internationalized strings 2018-03-24 15:24:15 -04:00
Paul Licameli
d978abba35 Allow \n to mean newline in .ny header control string...
... preserving old behavior, but such escapes should not be used if the string
needs to localize because xgettext will not treat them as Nyquist.cpp does.
2018-03-24 15:14:45 -04:00
James Crook
22cb84ff23 Bug 1806 - Extreme negative settings in Change Tempo cause an "apparent" hang/freeze
Limit percentage to -95 to +3000.  Result will be at most 20x longer rather than previous
up to 100x longer.  Extreme stretches have artifacts in any case (try with DTMF).
2018-03-24 12:13:20 +00:00
James Crook
cd06f86619 Remove spaces before question marks (scootergrisen)
Requested by translation team.
2018-03-24 11:01:29 +00:00
andheh
eccd9bcea6 made my changes to VSTEffect.cpp C++11 compliant 2018-03-24 10:15:48 +00:00
andheh
6fbfcda1e0 fixed an "uninitialized use" warning in VSTEffect.cpp 2018-03-24 10:15:48 +00:00
andheh
430e91d834 fixed strict-aliasing violations in VSTEffect.cpp
also removed an unused variable in the same file
2018-03-24 10:15:47 +00:00
Paul Licameli
1cda717a14 Fix parse of line break in string inside list in header of .ny file 2018-03-23 21:28:01 -04:00
James Crook
205b7d6a02 Rename 'chain' to 'macro' in history and comments. 2018-03-16 18:47:39 +00:00
Steve Daulton
814322a793 Fix Equalization crash in debug build 2018-03-15 17:50:09 +00:00
Paul Licameli
01a45a6b36 Strip ... from Nyquist effect names again (but none shipped have it) 2018-03-15 13:44:51 -04:00
Paul Licameli
dd1ffb0390 Indicative mood for all verbs in command and effect descriptions...
... Some of them have no verb.
2018-03-10 19:07:34 -05:00
Paul Licameli
4bfd8abc2b Fix more missed translations 2018-03-08 22:53:00 -05:00
Paul Licameli
bc773e02d3 Supply some missing translation in Macros dialogs...
... The "Set" prompt for checkboxes;

Strings in Choice controls, which had been declared translatable with XO, but
the translations not yet used.

This can be tested in Ukrainian locale now, for editing parameters of
commands like Select or Drag, but be aware that even uk.po is not up to date
for all recent changes in the Manage Macros dialog itself.
2018-03-07 15:06:55 -05:00
James Crook
a5d06ff257 Fix comments needed for Doxygen. 2018-03-06 21:42:58 +00:00
andheh
e6ba33c247 fixed "/*" in comment warnings 2018-03-06 21:30:33 +00:00
andheh
84016716f0 fixed an "used uninitialized" warning in VampEffect.cpp 2018-03-06 21:29:56 +00:00
andheh
6a85577389 fixed a signed vs. unsigned warning in LadspaEffect.cpp 2018-03-06 21:29:56 +00:00