1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 23:59:41 +02:00

9885 Commits

Author SHA1 Message Date
James Crook
afde1a8e91 Build mod-script-pipe when building solution. 2019-04-11 10:06:49 +01:00
James Crook
947a977256 Build windows installer with mod-script-pipe. 2019-04-10 20:05:24 +01:00
James Crook
9890b12619 Add README.txt for piped-work and results. 2019-04-10 16:28:50 +01:00
James Crook
0f256df79d Make scripted tests portable (e.g. to mac) 2019-04-10 15:04:09 +01:00
James Crook
5739c579fa Script changes to include the 'arrange' script. 2019-04-09 22:34:02 +01:00
James Crook
0188b7570d Do script changes for Pull request #271 that were previously missed. 2019-04-09 21:55:22 +01:00
James Crook
731c056e7e Bug 2068 - Mac: misleading error message when importing M4A without FFmpeg installed 2019-04-09 15:53:58 +01:00
James Crook
0923a5d744 Tweaks to names on tracks
This makes them opaque when the track height is low.
It also improves on painting with low stereo tracks, where the name previously was clipped.
2019-04-08 18:10:53 +01:00
Paul Licameli
98dd7263fe Translated prompts in EffectsPrefs...
... replicating some i18n-hint comments from elsewhere, for slightly
different msgids that have & in them
2019-04-07 20:41:25 -04:00
Paul Licameli
bd6fbb45cc Fix some i18n-hint comments 2019-04-07 20:40:08 -04:00
Paul Licameli
21eaaeac99 Consistent cap. of config paths in EffectsPrefs with family names...
... That is:  EffectsPrefs.cpp is consistent with overrides of
EffectDefinitionInterface::GetFamily for each of the six (separately).

(The six aren't consistent with each other.  LADSPA really is an acronym, but
Vamp is not.)

See VAMPEFFECTS_FAMILY, which isn't up-cased, and LADSPAEFFECTS_FAMILY,
which is.  We change EffectsPrefs.cpp to match those constants.

See also where PluginManager.cpp uses
PluginDescriptor::GetEffectFamily, which is where the preferences written by
EffectsPrefs.cpp are used.

Does this break compatibility of old config files?  No, because lookup of
keys in wxConfigFile is case-insensitive, as determined by the preprocessor
constant wxCONFIG_CASE_SENSITIVE, which is false for all of our platforms.

So, no real effects here, but the consistency of string literals is reassuring.

It would be better, though, not to rely on such a coincidence of literals.
2019-04-07 17:30:12 -04:00
Paul Licameli
1649e3669e Rename EnumSetting -> ChoiceSetting, EncodedEnumSetting -> EnumSetting 2019-04-07 16:42:11 -04:00
Paul Licameli
d6c8352c9b Fix a comment 2019-04-07 16:32:53 -04:00
Paul Licameli
6e431d94a1 Fix Mac build 2019-04-07 15:38:40 -04:00
James Crook
9ba023d607 Bug 1965 - Enh: Track name overlay display for all track types
OK now that we have translucent name background.  Includes logic to move first label down to avoid the name (if it is shown).
2019-04-06 22:26:59 +01:00
James Crook
81dd2befab Translucent background to track name (all platforms)
wxDC can draw translucently, if given a bitmap.  So we now create a suitable bitmap, using a wxGraphicsContext.
2019-04-06 17:16:54 +01:00
Paul Licameli
2463a6683b Comments about "/FileFormats/FFmpegUseLPC" 2019-04-06 11:07:28 -04:00
Paul Licameli
f4622af749 Fix error in config path in FFmpeg options dialog...
... Two controls were associated with the same path,
"/FileFormats/FFmpegMaxPredOrder"

But where the paths are read in ExportFFmpeg.cpp, that was read in one place,
and in another, "/FileFormats/FFmpegMaxPartOrder" was read, and that path was
not written anywhere.

The intention was surely that the other spin control should have used that path.
2019-04-06 10:41:03 -04:00
James Crook
691666bf79 Bug 2051 - Shortcut for Edit>Clip>Boundaries>Split (Ctrl+i) should be in the Standard shortcut set 2019-04-06 14:34:04 +01:00
James Crook
ae431bc5bd Build LAME on macOS 2019-04-06 12:05:43 +01:00
James Crook
084ad070b2 Show config.h in MSVC project 2019-04-06 10:54:06 +01:00
James Crook
e1d693abed Fix Clang complaints in LAME (needed for macOS compilation) 2019-04-06 10:15:42 +01:00
Paul Licameli
3bc95e610a Remove vacuous write of /GUI/EnvdBRange ...
... but see code comments about the apparent original intent, to update some
other preference instead; which I don't do, thus preserving present behavior
2019-04-05 21:09:57 -04:00
Paul Licameli
f3e8620756 Consistent default for /SamplingRate/DefaultProjectSampleRate 2019-04-05 17:43:22 -04:00
Vitaliy Kirsanov
67386e7799 Connected libFLAC with libogg 2019-04-05 22:11:50 +01:00
Paul Licameli
617c1d8785 Make default value of /Effects/GroupBy match the dialog choice 2019-04-04 17:42:01 -04:00
Paul Licameli
ba467b3632 some override 2019-04-04 12:35:17 -04:00
Paul Licameli
911d468700 Add #include in CommandManager.cpp 2019-04-04 12:34:40 -04:00
Paul Licameli
0c39c1292e Remove wx/dc.h from ImageRoll.h ...
... I wish I could just forward-declare the enumeration wxRasterOperationMode,
but it's not defined as a sized enum
2019-04-04 11:00:43 -04:00
Paul Licameli
5f218a4ab4 Revert "Remove wx/dc.h from ImageRoll.h ..."
This reverts commit 8078aa854751f0c7fc4f1d68a08b10b3eb4104e5.
2019-04-04 10:52:31 -04:00
Paul Licameli
8078aa8547 Remove wx/dc.h from ImageRoll.h ...
... I wish I could just forward-declare the enumeration wxRasterOperationMode,
but it's not defined as a sized enum
2019-04-04 10:40:02 -04:00
David Bailes
c531fde6b8 ASlider.cpp: correction to event table
Fix error in ASlider's event table spotted by Paul. The error wasn't causing any known problems.
2019-04-04 15:19:07 +01:00
Paul Licameli
2e1fe80601 Remove or comment wxPanelWrapper.h in headers 2019-04-04 10:13:23 -04:00
Paul Licameli
0b733eed3f Remove (or comment) ProgressDialog.h in headers...
... For ImportPlugin, use unique_ptr not Maybe to hold it, and take constructors
out-of-line.
2019-04-04 09:47:57 -04:00
James Crook
14f9340182 Don't translate 'macro-output' (and all lower case) 2019-04-04 14:29:48 +01:00
James Crook
750014d655 Bug 1899 - Fix path not terminated with separator issue.
This led Audacity to think a directory existed when it did not.
2019-04-04 13:30:31 +01:00
James Crook
71a2683c5f Add a TODO comment. 2019-04-04 12:51:29 +01:00
James Crook
4e9b6582b6 Bug 1899 - Enh: Windows: previously deleted folders are unnecessarily re-created on next Save
Now checks for unusable path before prompting the user.
2019-04-04 10:17:13 +01:00
James Crook
37e61ab1c2 Change 'cleaned' -> 'Macro-output' in path name.
This is more than a wording change, since it is changing the output directory.
2019-04-04 07:44:59 +01:00
Vitaliy Kirsanov
b07595781a CMakeLists.txt for libFLAC been rewritten
I've reproduced the commands from FLAC's configure.ac. Seems to build fine on Windows, MacOS, Linux and FreeBSD
2019-04-04 07:25:44 +01:00
Paul Licameli
a768ff177e Make EXPERIMENTAL_MIDI_IN compilable 2019-04-03 16:30:41 -04:00
Paul Licameli
be737fd2c0 Remove read of a preference that was never written 2019-04-03 16:06:02 -04:00
David Bailes
95e2264d24 Bug 1248: Tab does not navigate out of ASlider if clicked
Problem:
If an ASlider in the main window is clicked, then you can't TAB away from the control.

Fix:
Keyboard shortcuts are handled using key down events. However, ASlider was handling char events for reasons unknown. I'm unsure why this was causing a problem, but changing ASlider to handle key down events fixes the bug.
2019-04-03 13:25:04 +01:00
David Bailes
ecdb6d0a07 Fix previous commit: 4e37d93
Reinstated .h file, with corrected path. Without this include, there were numerous intellisense errors in the .cpp file.
2019-04-03 12:54:52 +01:00
David Bailes
4e37d93cd9 ASlider.h removed unnecessary .h file with incorrect path 2019-04-03 12:23:45 +01:00
Mike Barker
44fde0a90f Bug 1899 - Windows: previously deleted folders are unnecessarily re-created on next Save 2019-04-02 17:11:40 +01:00
David Bailes
d994ad430a Bug 1762: Importing keystrokes not in standard set
Problem:
1. Use either no prior config files, or set the default shortcuts to standard.
2. If a set of keyboard shortcuts is imported, then any shortcut for a command which only has a default shortcut in the full set is not set, unless it differs from the default shortcut.

This occurs because in CommandManager::HandleXMLTag(), the imported shortcut is only used if it's different from the default shortcut. But for all commands, even those commands which only have a default shortcut in the full set, GetDefaultKeyFromName() returns the default shortcut.

Fix:
Use the imported shortcut, regardless of whether it is different from the default shortcut. (I've left the function GetDefaultKeyFromName(), even though it is not longer used.)

Note:
This results in a change of behaviour:
 Before: if you'd customized the shortcut for a command, then if you imported a set of shortcuts, that customized shortcut would only have been changed if the imported shortcut was also customized.
 Now: If you import a set of shortcuts, then these become your shortcuts, regardless of any customizations present before the import.
 I think the new behaviour is what a user would expect.
2019-04-02 14:24:42 +01:00
James Crook
ee0a438093 Bug 2088 - Graphic EQ ( and Filter Curve): Manage button does not work
Fixed, by disabling these two effects! (use Equalization instead)
2019-04-01 19:19:31 +01:00
James Crook
d1ce307974 Remove extra controls from Graph EQ and Filter Curves effects 2019-04-01 19:19:30 +01:00
David Bailes
ddda350330 Accessibility: improve the accessibility of Mouse preferences for Narrator
Problem:
In Mouse preferences, the list of bindings has a dummy empty column, which is a workaround for getting the Tool column to be right aligned. As a result, Narrator reads the list as having 5 columns which is confusing. In addtion, when arrowing down such a list, Narrator initially just reads the contents of the first column, which is unfortunately an empty string.

Fix:
After all the columns have been inserted, the dummy column can be deleted. This workaround was suggested by some Microsoft documentation.
2019-04-01 13:37:55 +01:00