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

9873 Commits

Author SHA1 Message Date
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
David Bailes
f83a773ec2 Accessibility: improve the assessbility of MacrosWindow for Narrator
Problem:
In the Macros window, the list of steps has a dummy empty column, which is a workaround for getting the Num column to be right aligned. Narrator reads the table/list as having 4 columns which is confusing. In addition, 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 in some Microsoft documentation.

Note:
I've made what I think is a correct change for some Mac specific code, but haven't tested this.
2019-04-01 11:37:00 +01:00
Paul Licameli
907d343abd Fix Linux build 2019-03-31 16:31:30 -04:00
Paul Licameli
3002aa5362 Remove Tags.h, Grid.h from headers 2019-03-31 16:01:02 -04:00
James Crook
0c4f611b5c Unselect tracks before auto-selecting audio 2019-03-31 20:46:07 +01:00
James Crook
32bf03b54e Fix DLL_API linkage warning. 2019-03-31 20:46:07 +01:00
James Crook
2936459bca Fix Windows Build 2019-03-31 20:46:06 +01:00
Paul Licameli
44d664c7bb Remove ErrorDialog.h from .h files (one function moves out of line) 2019-03-31 15:39:55 -04:00
Paul Licameli
0f3723e221 comment BackedPanel.h, HtmlWindow.h, ASlider.h in .h files 2019-03-31 15:25:34 -04:00
Paul Licameli
2d8abe6b74 Remove FileHistory.h, KeyView.h from .h files 2019-03-31 15:21:02 -04:00
Paul Licameli
5d7584e91a cut WindowAccessible, PopupMenuTable, LinkingHtmlWindow from .h files 2019-03-31 15:14:34 -04:00
Paul Licameli
a10196eb91 Fix some comments 2019-03-31 15:14:26 -04:00
Paul Licameli
e2c5444c1d Move class HtmlTextHelpDialog out of header 2019-03-31 14:58:33 -04:00