1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 09:01:15 +02:00
Commit Graph

474 Commits

Author SHA1 Message Date
James Crook
9e92f4f370 Use path separator that depends on platform (in screenshot tools). 2018-04-29 22:25:34 +01:00
Steve Daulton
0248c870b2 Rename "Sliding Time Scale/Pitch Shift" effect 2018-04-28 21:16:41 +01:00
James Crook
660dc03b9f GetInfo tweaks.
JSON now more consistent, using structs rather than arrays.
Removed unused GetInfo Command+
2018-04-27 12:45:29 +01:00
James Crook
ae36eea26c Bug 1855 - Accelerators not removed from names in translation 2018-04-22 19:46:09 +01:00
James Crook
121fdc5703 Fix non-ASCII characters in wxLogDebug
The LogDebugs aren't needed now, as we can get the info via Scripting.
2018-04-15 15:09:15 +01:00
Paul Licameli
0c99501bfb Initialize tables of effect and command names properly 2018-04-12 17:09:43 -04:00
James Crook
effab49a6f Improve Mac wx3.1.1 compatibility
1. Qualify hash as std::hash.
2. Ensure we have a header for the function 'free'
2018-04-12 20:10:41 +01:00
Paul Licameli
b200819f75 Use IdentInterfaceSymbol to identify commands and effects 2018-04-11 11:51:10 -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
915e6ead40 Use IdentInterfaceSymbol in old-style commands...
... Give each a translatable name, but don't use it anywhere yet, use
the CamelCase name
2018-04-11 11:13:40 -04:00
James Crook
68e4bf6c5e Bug 1557 - Win/Linux: Shortcuts for select/deselect all do not work in Mixer Board 2018-04-11 15:11:06 +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
0885fda459 Fix mod-nyq-bench compilation under Windows. 2018-04-05 19:41:10 +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
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
2065eebff6 IdentInterfaceSymbol to distinguish internal vs visible enum settings 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
James Crook
a4a588610e Revert "Bug 893 - Spectral Selection Toolbar misnamed"
This reverts commit eaada3a51d.
2018-03-26 20:18:37 +01: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
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
James Crook
eaada3a51d Bug 893 - Spectral Selection Toolbar misnamed 2018-03-25 21:41:56 +01:00
James Crook
ae564b2724 Bug 1837 - Unable to set empty track name
Also AudacityCommand dialogs now only show help button if there is help.
Also Track only shows track name over it, if there is a track name.
2018-03-25 13:43:49 +01:00
James Crook
872eec6142 Make finer gradations on SetTrack sliders
Also use log scale for Gain
Also fix unused parameter warnings
Also Gain before Pan.
2018-03-23 22:20:59 +00:00
James Crook
2f89c57b18 Fix defaults for unchosen optional values.
Previously when using a scriptable via dialog the unchosen optional values from the dialog were still being used.
Now unchosen options are reset to their default values, if they would be used.
2018-03-22 19:19:59 +00:00
James Crook
56bca74272 Add new dialogs to screenshot list. 2018-03-19 22:52:14 +00:00
James Crook
bd30e1f16d Add long names for some commands in menu. 2018-03-19 19:08:37 +00:00
James Crook
8f8429f9a5 Allow SelectTrack to select channels using 0.5 of a track.
This is a feature possibly only Audacity developers will actually use, but does allow for some cool use of stereo tracks.
2018-03-19 16:09:25 +00:00
James Crook
0a7d0068ec Use track selection for SetTrack, SetClip and SetEnvelope
These commands now have shorter dialogs.
Also fixed SetEnvelope optionals, which were not being honoured.
2018-03-19 16:09:24 +00:00
James Crook
2c57cd4344 Format dialogs more evenly. 2018-03-18 20:05:27 +00:00
James Crook
e978840044 Remove 'Set' from optional items.
This removes the text saying 'Set' beside an optional item.
It's a more far reaching change, as it allows the optional items to be
aware they are optional, paving the way for future nicer presentation.
2018-03-18 20:05:10 +00:00
James Crook
825160b755 Add six (smaller) dialogs to commands.
- These are the big dialogs, Select and SetTrack split into three smaller dialogs.
2018-03-18 19:08:31 +00:00
James Crook
913bd6f187 Split SetTrackCommand into three dialogs. 2018-03-18 19:08:15 +00:00
James Crook
7b658d7925 Fix problem where effects had gone from KeyConfigPrefs. 2018-03-17 21:20:09 +00:00
James Crook
e6a9bd70a2 Fix SetTrack for stereo tracks.
Stereo tracks have selection on both channels.  Both must be set or cleared.
We also need to explicitly remove focus, if it was set.  Code was only setting it.
2018-03-17 19:17:55 +00:00
James Crook
d7406b3b0f Update Fade-Ends Macro, and RelativeTo enums.
- FromEnd boolean parameter is now replaced by RelativeTo enum.
2018-03-17 19:17:54 +00:00
Paul Licameli
bc6ed77498 Fix missing translations in Choice controls again, see bc773e02d3 2018-03-16 17:58:32 -04:00
James Crook
e51a9734e0 Tweak Select Command.
- Now does a SetFocus
- Has options for what to select relative to.
2018-03-16 16:53:41 +00:00
Paul Licameli
b75e356df6 Now use that extra information 2018-03-15 23:32:15 -04:00
Paul Licameli
bb7b77cde0 Change expansion of XXO and pass more arguments to CommandManager 2018-03-15 23:29:27 -04:00
Paul Licameli
9780c14882 Fix mix of internal and translated strings naming Align commands...
... Revert commit 357b05efd2, and use
Ukrainian, and open Select Commands in Macros, to see the problem
2018-03-15 20:33:26 -04:00
Paul Licameli
9b7ccc4dff Use TranslatedInternalString for tips of toolbar buttons 2018-03-15 20:13:19 -04:00
Paul Licameli
d258385e3a Use TranslatedInternalString in MacroCommandsCatalog 2018-03-15 19:53:38 -04:00
Paul Licameli
4f9ab08487 Substitute, don't concatenate, if these should be translated 2018-03-14 17:34:45 -04:00
Paul Licameli
65b8520e48 use override 2018-03-14 17:21:36 -04:00
Paul Licameli
9d531cad56 Translate dialog title 2018-03-14 17:18:24 -04:00
Paul Licameli
f78515c84b Fix misleading function declarations -- arguments really are used 2018-03-14 17:18:24 -04:00
James Crook
7910688c03 Add Align commands to repertoire.
Previously we ignored the 'multis'.
2018-03-14 19:57:26 +00: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
f4a971da9e comment 2018-03-10 19:07:12 -05:00
Paul Licameli
20c086263d i18n hint 2018-03-10 19:07:12 -05:00