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

8552 Commits

Author SHA1 Message Date
James Crook
9015dece06 Compile with wxWidgets 3.1.1 (on Windows).
3.1.1 includes hash<wxString> so we don't need to.
git now ignores the win-alt-build subdirectory, which can be used for an alternative set of
windows build files.  So for example, can keep an old 3.0.2 set up there whilst working on 3.1.1
2018-03-28 12:40:19 +01:00
James Crook
d153afb11c Allow SetLabel to make a selection too.
The 'Selected' option previously only selected the text.
2018-03-27 22:23:43 +01:00
James Crook
6228b6033b Modify scripts to adjust to Pull request #271
Parameter enum values have changed.
2018-03-27 22:00:16 +01:00
James Crook
4ae7a88fde
Merge pull request #271 from Paul-Licameli/choice-control-names
Choice control names
2018-03-27 21:35:16 +01:00
Paul Licameli
842025aeb3 Naming conventions for Nyquist choice controls too...
... see previous commit comment.  Also some i18n-hints
2018-03-27 15:57:49 -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
James Crook
b92e334873 Bug 1861 - SplitLabels command fails in Macros 2018-03-27 19:55:57 +01:00
James Crook
2db691dc67 Bug 1860 - Enh: Add preference to disable half-wave view on collapse. 2018-03-27 14:41:06 +01:00
Paul Licameli
886388e02c Distinguish internal from visible form of enum valued settings 2018-03-27 07:52:22 -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
1a3005182b Const'ify images 2018-03-27 05:36:02 -04:00
Henric Jungheim
b77637750d Const'ify xpm images 2018-03-27 05:36:02 -04:00
Henric Jungheim
d8da4015ef Make it possible to const'ify xpm. 2018-03-27 05:36:02 -04:00
Paul Licameli
aaecf213b8 use const 2018-03-26 18:04:36 -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
Paul Licameli
ab509acdf7 Remove overloads that are not needed after 277537c 2018-03-26 16:57:10 -04: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
d1ffb8a5b8 Supply missing #include 2018-03-26 15:15:13 -04:00
Paul Licameli
277537c7b8 Store choices as numerical codes in ScreenshotCommand, not strings...
... there was confusion whether they were meant to be a translated strings or
not
2018-03-26 14:45:22 -04:00
Paul Licameli
78f058b844 ShuttleGetDefinition::DefineEnum should emit a string not number 2018-03-26 14:33:35 -04:00
Paul Licameli
1e4ac7010c addendum 2018-03-26 14:29:40 -04: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
c086e252fb Fix wording in recording preferences (Thanks Bill) 2018-03-26 09:59:24 +01:00
James Crook
460ff4644e JSONify the JSON (Thanks Robert)
Added quotes around the keys in JSON key value pairs.
Before this fix, we had Javascript, not JSON.
2018-03-26 09:56:51 +01:00
Paul Licameli
0bc96c3831 Oops, Internal() was needed here, not Translation() 2018-03-26 01:06:24 -04:00
James Crook
afe09bb172 Bug 1731 - No help button in "Error: not well formed Iinvalid token at line (x) 2018-03-25 21:41:57 +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
602be9bea6 Fix MSVC build. 2018-03-25 21:41:55 +01:00
Paul Licameli
4c9bff73e3 Substitute, don't concatenate! In Export. And one missed translation. 2018-03-25 16:13:03 -04:00
Paul Licameli
eb35d84092 GetInfo for Preferences lists internal enum names, not translated 2018-03-25 14:52:51 -04:00
Paul Licameli
0798681317 Non-quantitative enum preferences persist as strings not numbers...
... The one unusual choice control in Preferences that really is quantitative
is for sample rate in Quality.  And that one is changed to be treated as
not an enum preference.
2018-03-25 14:48:52 -04:00
Paul Licameli
17cc8a495f Define and use TieNumberAsChoice for Quality sample rate setting 2018-03-25 14:48:52 -04:00
Paul Licameli
24e651fe37 Redo dither method choices in Quality preferences 2018-03-25 14:48:48 -04:00
Paul Licameli
a3d12e1658 Make enum class for dither type 2018-03-25 14:48:01 -04:00
Paul Licameli
bccf8f92cd Redo resampler method choices in Quality preferences 2018-03-25 14:47:58 -04:00
Paul Licameli
2ea5741e2e Redo format setting choices in Quality preferences 2018-03-25 14:46:53 -04:00
Paul Licameli
293f22db37 Redo zoom setting choices in Tracks preferences 2018-03-25 14:39:45 -04:00
Paul Licameli
aed6eb2215 Redo sample display choice in Tracks preferences 2018-03-25 14:35:59 -04:00
Paul Licameli
83a01e255f Redo view mode choice in Tracks preferences 2018-03-25 14:35:12 -04:00
Paul Licameli
872b4f430c New overload of TieChoice taking EnumSetting...
... and change misleading argument names
2018-03-25 14:05:05 -04:00
Paul Licameli
47d76e49b7 IdentInterfaceSymbol pairs persistent internal name with i18n msgid 2018-03-25 13:45:29 -04:00