1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 09:09:47 +02:00

9769 Commits

Author SHA1 Message Date
Paul Licameli
cfde442bcd Remove a few small member functions from AudacityProject 2019-03-27 13:32:54 -04:00
Paul Licameli
69962f62d3 Remove AudacityProject::GetScreenEndTime 2019-03-27 13:32:54 -04:00
Paul Licameli
ca5bb78abe Remove AudacityProject::GetSelection 2019-03-27 13:32:54 -04:00
Paul Licameli
4018b191b4 Remove Get/Set functions for selection bounds from AudacityProject 2019-03-27 13:32:53 -04:00
Paul Licameli
7766d9a192 AddCheckBox takes a bool for initial state, not string 2019-03-27 12:58:40 -04:00
Paul Licameli
e01e1072bc Fix Mac build 2019-03-27 12:57:52 -04:00
James Crook
9011b562d6 Preserve InterfaceSymbol when changing effect name
Thanks to Paul for the implementation, and the prompting as to how to fix it.
2019-03-27 16:30:34 +00:00
James Crook
2a691b5dc6 Bug 2084 - Enh: Auto-select behaviour changed from previous version and not documented. 2019-03-27 16:30:33 +00:00
James Crook
01d95a4113 Enable SSE in LAME
Maybe a 5% speed improvement - but hard to judge.  Possibly not worth it?
2019-03-27 16:30:33 +00:00
Paul Licameli
5aa08950a5 Internationalize audio and midi device info reports...
... following the substitute, don't concatenate rule in many places.

The end users have commands to generate these reports in menus, so they should
be translated then; however, they are also part of crash reports meant for
developers, so temporarily set English locale for generating those.
2019-03-27 12:29:18 -04:00
Paul Licameli
6ce24d3cd8 Utilities to get current app language & reset it to default...
... Renaming "InitLang" to "SetLang", then reusing the name "InitLang"
2019-03-27 12:29:18 -04:00
Paul Licameli
b18f825ee8 Remove wx/slider.h from headers 2019-03-27 10:35:59 -04:00
James Crook
47fe07bb42 Wording
'MP3' -> 'LAME MP3' x2
'Built In' -> 'Built-in'
'AudioUnit' -> 'Audio Unit'
2019-03-27 10:57:11 +00:00
Paul Licameli
c3aad2e026 Remove wx/event.h from headers 2019-03-27 04:36:51 -04:00
Paul Licameli
71adb89342 Remove non-UI functions in TrackPanelListener 2019-03-27 04:06:15 -04:00
Paul Licameli
485a9bbb58 Remove declared but undefined overload of TieCheckBox 2019-03-26 16:53:28 -04:00
James Crook
a2ee30240c Use built-in LAME (Windows only) 2019-03-26 17:47:41 +00:00
James Crook
5e0efd1a25 Start on built-in LAME
Using LAME 3.10
Windows project files substantially changed from original, and included into audacity solution.
2019-03-26 17:46:53 +00:00
Paul Licameli
75e44df43d Make windows inside wxStaticBox its children, not its siblings...
... as is recommended by wxWidgets documentation for version 2.9.1 and later:

http://docs.wxwidgets.org/3.0/classwx_static_box.html
2019-03-26 13:05: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
51f0362e9f Remove wx/wx.h from headers 2019-03-26 11:17:41 -04:00
Paul Licameli
8dace29aba Make EXPERIMENTAL_OD_FFMPEG compilable again 2019-03-25 19:18:11 -04:00
Paul Licameli
629678525c Bug2082: collapse, append-record, expand should restore track height 2019-03-25 19:18:11 -04:00
James Crook
4762136f16 Select -> Select track 2019-03-25 19:36:55 +00:00
James Crook
74a78bf542 Improve tooltip on Track Select button. 2019-03-25 16:03:37 +00:00
David Bailes
8e8dd459a4 Accessibility: make TrackPanel more accessible using Narrator
Problem:
Using the Narrator screen reader on Windows 10, there are a couple of issues:
1. After making a change to solo/mute/selectedness, the name and state of the track is not automatically read.
2. Text sent to TrackPanelAx::MessageForScreenReader() is not read.

Fixes:
After a focus event, if the focus has not changed, Narrator does not read the name, even if the name has changed. So:
1. In TrackPanelAx::Updated(), add a name change event. (The focus event has been retained to keep Window-Eyes happy until we stop supporting it.)
2. In TrackPanelAx::MessageForScreenReader(), change the focus event to a name change event. Note the Window-Eyes does not read these messages anyway, because when the role is set to wxROLE_NONE it does not read the name. So there's no point in including a focus event for the benefit of Window-Eyes.
2019-03-25 14:06:16 +00:00
David Bailes
8c10682145 Accessibility: make Grid accessible using Narrator
Problem:
Using the Narrator screen reader on Windows 10:
1. Narrator does not read the uneditable cells in the tag column of the Metadata editor.
2. In one or more versions of Windows 10 prior to 1809, Narrator's focus was incorrect after editing a cell.

Fixes:
1. Fixed by adding wxACC_STATE_SYSTEM_FOCUSED to the state.
2. Corrected GridAx::GetFocus().
2019-03-25 11:54:12 +00:00
Vitaliy Kirsanov
26cf3aba95 Use native CMakeLists.txt for portmidi
Seems to work fine on Windows, OSX and Linux
2019-03-24 18:29:53 +00:00
Paul Licameli
f2e2d35ad7 Make numeric validators work with ComboBoxes too...
... as was the intention in the wxWidgets code from which these files were
adapted

More importantly this removes the mischievous #define (added at 08c94d5) from
valnum.h, which made it impossible to #include that header before
<wx/combobox.h>.

Note that (the real type) wxTextEntry is not a kind of wxWindow, but a class
from which wxTextCtrl and wxComboBox both inherit, while they inherit wxWindow
too along other paths.

So in some places, use the protected variable m_ValidatorWindow instead to
access the validator's window.
2019-03-23 20:52:37 -04:00
James Crook
8426580f8e Fix windows build 2019-03-23 21:02:48 +00:00
James Crook
3b87af1d07 Ignore compiled assembler 2019-03-23 20:15:02 +00:00
Paul Licameli
a915a510bd include <wx/setup.h> in all files where wxUSE* macros are used...
... even if it's redundant; improving on what was done at b47e2f9
2019-03-23 14:56:02 -04:00
Paul Licameli
c698d85cc8 more comments for including Audacity.h 2019-03-23 14:16:05 -04:00
Paul Licameli
9569cfddf5 More comments for including Audacity.h; fix one #ifdef in AudioIO.cpp 2019-03-23 14:09:05 -04:00
Paul Licameli
bb634614e6 static overloads of Track::SharedPointer when null check is needed...
... Some optimizing compilers don't let us get away with null check on this
in a nonstatic member function.
2019-03-23 13:23:46 -04:00
Paul Licameli
1af342ff64 one function can return reference instead of value 2019-03-23 11:51:00 -04:00
Paul Licameli
ce4ba9762b Move more functions out-of-line 2019-03-23 11:41:01 -04:00
Paul Licameli
2176de79fb Rewrite #include directives in lib-src/FileDialog ...
... Removing one from the public header file
2019-03-23 11:31:17 -04:00
Paul Licameli
cb3c8b553c Remove wx/checkbox.h from FFmpeg.h, moving inline functions out 2019-03-23 11:14:42 -04:00
Paul Licameli
13d3b61577 Remove unnecessary #include from NyqBench.h 2019-03-23 11:06:09 -04:00
Paul Licameli
0dd0a5cb5a Remove <wx/menu.h> from CommandManager.h, moving inline functions out 2019-03-23 10:56:43 -04:00
Paul Licameli
a0d9e31c42 Consistently use <> not "" in inclusions of wx headers 2019-03-23 10:27:25 -04:00
Paul Licameli
875f38cfa5 Correct mistake in DECLARE_CLASS macro...
... though it didn't really matter: the macro argument is in fact unused
2019-03-23 02:52:59 -04:00
Paul Licameli
577b70ddb6 correct a comment 2019-03-23 02:48:48 -04:00
Paul Licameli
32a79c703b Redo 429fad6 without special logic in PrefsDialog.cpp 2019-03-23 02:45:39 -04:00
Paul Licameli
26f1aea2d4 Fix inconsistent config key path 2019-03-23 02:44:08 -04:00
Paul Licameli
6cea6306b7 Factor common part of help diagnostic commands...
... minor changes in dialog titles

(capitalization; "Save Device Info" -> "Save Audio Device Info" )
2019-03-22 14:25:50 -04:00
Paul Licameli
957e5eee63 Remove unnecessary #include from LoadCommands.h and LoadEffects.h 2019-03-22 13:35:13 -04:00
Paul Licameli
86dfcab6b3 Make EXPERIMENTAL_AUTOMATED_INPUT_LEVEL_ADJUSTMENT compilable 2019-03-22 12:38:54 -04:00