James Crook
de468afd8d
Bug 1269 - "backslash percent" not saved in effect presets
...
wxWidgets does special things with %.
It uses % to tell it of environment variables.
Rather than escaping %, it is simpler to disable the environment variables thing.
2019-07-17 18:32:10 +01:00
Paul Licameli
0f62046313
Define EffectClientInterface::GetBlockSize()
2019-06-24 00:49:14 -04:00
Paul Licameli
a1ff74b5bb
Move AudacityPathList & utilities from AudacityApp.h to FileNames.h
2019-05-17 16:29:03 -04:00
Paul Licameli
9bf29f5582
CommandManager keys by CommandId, not plain wxString
2019-05-16 12:30:29 -04:00
Paul Licameli
3eeb91f23a
Define class Identifier and template TaggedIdentifier...
...
... Identifier holds strings used for internal purposes and not shown to users;
TaggedIdentifier generates subclasses of Identifier for different purposes,
which won't implicitly (that is, inadvertently) interconvert as function
arguments.
2019-05-16 12:30:28 -04:00
Paul Licameli
961882838f
Move definition of std::hash< wxString >
2019-05-16 12:30:26 -04:00
Paul Licameli
74128156bf
ModuleInterface::GetFileExtensions() returns const reference...
...
... avoiding repeated array allocation
2019-05-16 12:30:23 -04:00
Paul Licameli
685a45d1de
Remove wx/{convauto,cmdline,clipbrd,calctrl}.h from *.h
2019-03-30 13:10:16 -04:00
Paul Licameli
d28ae40399
Remove wx/dialog.h from headers
2019-03-30 12:01:39 -04:00
Paul Licameli
c982cf6a41
Remove wx/intl.h, wx/brush.h, wx/bitmap.h from headers
2019-03-30 11:45:20 -04:00
Paul Licameli
08c16b6eb7
Remove wx/{html/htmlwin,fileconf,dragimag,debug,dcclient}.h from *.h
2019-03-30 10:53:22 -04:00
Paul Licameli
40b4361732
Remove wx/arrstr.h from headers
2019-03-26 12:41:44 -04:00
Paul Licameli
1d0247607a
Remove wx/string.h from headers
2019-03-26 11:33:55 -04:00
Paul Licameli
5fd6965925
Use type aliases CommandID, CommandIDs...
...
... for identifiers of menu commands and macros, and for vectors thereof
2019-03-15 15:18:11 -04:00
Paul Licameli
a30000cf74
Use type aliases FilePath, FilePaths...
...
... for wxString and wxArrayStringEx, holding file paths (absolute or relative,
directory or plain file); to be replaced later with different types
(not yet using std::vector, becase of some uses of wxArrayString::Index with
two arguments)
2019-03-15 15:18:11 -04:00
Paul Licameli
485b6bb425
Use type aliases FileExtension, FileExtensions...
...
... for wxString and wxArrayStringEx, holding file extensions (without dot);
to be replaced later with different types
(not yet using std::vector, becase of some uses of wxArrayString::Index with
two arguments)
And simplify some constructions of arrays
2019-03-15 15:18:11 -04:00
Paul Licameli
df6a2cf479
Use type aliases RegistryPath, RegistryPaths...
...
... for wxString and vector thereof, holding strings that key into wxConfigBase;
to be replaced later with different types
2019-03-15 15:18:11 -04:00
Paul Licameli
dcd211affa
Use type aliases PluginPath, PluginPaths...
...
... for wxString and vector thereof, when holding plugin paths (which may or
may not be interpreted as file paths, depending on the module); to be replaced
later with different types
2019-03-15 15:18:11 -04:00
Paul Licameli
135c2a71ce
Replace "" and wxEmptyString with {} in default argument values
2019-03-15 15:18:11 -04:00
Paul Licameli
dfeb7e18aa
Type aliases for some uses of ComponentInterfaceSymbol...
...
... to be replaced later with distinct types
Also changing FamilyId => Family in function names
Also NumericFormatId => NumericFormatSymbol
2019-03-14 17:26:20 -04:00
Paul Licameli
da33daf197
Some replacements of wxArrayString with auto
2019-03-10 14:47:12 -04:00
Paul Licameli
2db49dc1f0
Use standard library style members of wxArrayString (and wxString) ...
...
... which will make it easier to change the types of those containers to
std::vectors of other string-like classes
for wxString,
IsEmpty => empty
Clear => clear
Alloc => reserve
for wxArrayString,
Count => size
GetCount => size
IsEmpty => empty
Add => push_back
Clear => clear
Empty => clear
Sort => std::sort (only with default comparator)
SetCount => resize
Last => back
Item => operator []
Alloc => reserve
2019-03-10 14:43:57 -04:00
Paul Licameli
f2405f3023
rename a function
2019-03-09 12:02:13 -05:00
James Crook
466e9c179e
Create ComponentInterface
...
It combines the old IdentInterface with the ParamsInterface, providing an identifier and parameters (if needed).
The main purpose of the change is to make the class hierarchy (as viewed via doxygen) much easier to follow.
2018-11-02 17:04:43 +00:00
Steve Daulton
d716b61b1e
Increase precision for doubles/string conversion
...
Required so that the Select: command has reasonable precision
on tracks longer than 17 minutes.
2018-10-23 20:28:43 +01:00
Paul Licameli
ce9f2e2538
Include Menus.h directly, only where needed, not via Project.h
2018-10-16 16:45:26 -04:00
Paul Licameli
e990fd4f18
Remove unnecessary #include
2018-09-10 20:27:13 -04:00
James Crook
c21855bbca
Change ";type tool" to not iterate through tracks or selection.
...
Also adds the options
;type tool
;type tool process
;type tool generator
;type tool analyze
These tools will appear in the Tools menu, but behave as their second argument (if any)
2018-08-01 20:32:30 +01:00
Paul Licameli
f7515c90d8
Now I can revert my partial reversion of b56059a
2018-05-10 00:56:37 -04: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
2c19e8f81e
Use IdentInterfaceSymbol to identify effect families
2018-04-11 11:13:40 -04:00
James Crook
213daba23f
Avoid multiple include of configunix.h
2018-04-06 11:54:15 +01:00
James Crook
0885fda459
Fix mod-nyq-bench compilation under Windows.
2018-04-05 19:41:10 +01:00
James Crook
4ae394ff5e
Fix some warnings (MSVC)
2018-03-31 19:47:16 +01:00
Paul Licameli
0fb02a8024
IdentInterfaceSymbol in NumericTextCtrl; don't persist translated
2018-03-28 14:00:17 -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
Paul Licameli
ab509acdf7
Remove overloads that are not needed after 277537c
2018-03-26 16:57:10 -04:00
Paul Licameli
d1ffb8a5b8
Supply missing #include
2018-03-26 15:15:13 -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
Paul Licameli
2ea5741e2e
Redo format setting choices in Quality preferences
2018-03-25 14:46:53 -04:00
Paul Licameli
47d76e49b7
IdentInterfaceSymbol pairs persistent internal name with i18n msgid
2018-03-25 13:45:29 -04:00
Paul Licameli
7de9b13f68
Revert changes that break Mac build
2018-03-24 15:14:45 -04:00
andheh
b56059a77c
fixed some warnings in debug mode (GCC/Linux)
2018-03-24 10:15:47 +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
James Crook
8cd5d7f4fe
Tools menu and EffectTypeTool
...
- Also add a 'Nyquist Prompt' to the Tools Menu.
- Currently it is the same as the Effects Nyquist Prompt.
- Chains moved into the Tools prompt.
2018-03-03 12:57:32 +00:00
James Crook
0ad533a740
Automation -> Scripting.
2018-02-24 14:20:30 -05:00
James Crook
8ebf502cd6
Cleaner class hierarchy
2018-02-24 14:20:24 -05:00