1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 08:39:46 +02:00

8581 Commits

Author SHA1 Message Date
Paul Licameli
d9606e8cdf Make effect family names translatable and add i18n-hint comments 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
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
Paul Licameli
e3c54a769e Use IdentInterfaceSymbol in PluginDescriptor 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
9cb593fe54 Fix MSB8012 and consequent Link error with modules.
See https://stackoverflow.com/questions/4494028/warning-msb8012-make-sure-that-outdir-targetname-and-targetext-prope?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa for the gory details.

This error is not just a project upgraders error.  It can also happen when moving projects - as I found after recreating the projects afresh and still having the error.  The essential problem is that the configuration parameters are over determined, and hence can conflict.  It's compounded by there being no warning of conflicting parameters at project configuration time.
2018-04-11 11:08:29 +01:00
James Crook
ca118dd5ba Enable Spectral Selection by default. 2018-04-11 11:08:29 +01:00
James Crook
d1c2ff82f0 Bug 1864 - Spectrogram settings dialog hides the checkbox for "Enable Spectral Selection"
Fixed by a more compact layout.
Also we now size the dialogs for unique pages to fit their contents.
2018-04-11 11:08:28 +01:00
David Bailes
26860d9ef0 Mixer toolbar: change accessibility names of sliders
The third argument of ASlider constructors already provided suitable accessibility names. So removed the unnecessary calls to SetName which set unsuitable names.
2018-04-11 10:17:41 +01:00
David Bailes
526606fc29 Fix more accessibility names after the move to wx 3.1.1
This is a follow up to commit f9ee3cd.
2018-04-10 13:43:50 +01:00
Paul Licameli
1c751fd863 Revert "Change procedure to choose append-record tracks once again..."
This reverts commit bbcd924371326692d849480895dfa83171b17515.
2018-04-09 22:33:03 -04:00
Paul Licameli
bbcd924371 Change procedure to choose append-record tracks once again...
... Allow recording stereo into non-adjacent mono tracks, if they are selected.

Prefer the earliest-starting set of tracks in the track list, among either
selected tracks, or else among all tracks.

Therefore if selection contains a mono, a stereo, and a mono in that order,
the two monos may be chosen to record new stereo.
2018-04-09 22:12:50 -04:00
James Crook
473a92d28f Bug 916 - User input not validated in Noise Reduction effect 2018-04-09 18:08:43 +01:00
James Crook
0dd3aef6bc Bug 891 - Number-entering bug in kHz High Frequencies. Unfriendly to have to enter High first if new Low is above High.
Spectral frequencies now behave like temporal selection, nudging the 'other' value up or down so that the low and high values don't cross over.
2018-04-09 16:30:09 +01:00
James Crook
7ab4b8c6df Bug 875 - First character is highlighted when tabbing into TimeText controls, not first non-zero character. 2018-04-09 15:51:18 +01:00
Paul Licameli
8de9c53e9e Allow again recording of stereo into two adjacent mono tracks 2018-04-08 17:41:27 -04:00
James Crook
0909a4acfa Bug 293 - Paste/insert does not affect included label tracks when Sync-Lock is off 2018-04-08 21:42:19 +01:00
Paul Licameli
5fe3c1bdd0 Append-Rec: Prefer first, not last, track with correct # of channels 2018-04-08 16:37:40 -04:00
James Crook
7ef7e80e19 Fix FadeEnds Macro
This was broken by the change over to use internal names for enum values.
2018-04-08 20:34:29 +01:00
James Crook
b792094b53 Bug 1710 - The Incredible Shrinking ToolBar
The worst symptoms of this are fully fixed.
1: The device info now uses all the space in the toolbar, no matter how the toolbar is resized.
2: The undocked toolbar can now be moved around repeatedly without changing size at all.

There is a small residual - a much toolbar size change of a few pixels on docking.  The contents though still fit nicely.  The 'incredible' part of this bug is gone.  I'd like us to close this bug as the residual of a few pixels change in the toolbar size on repeated docking and undocking scarcely matters.
2018-04-08 19:51:10 +01:00
James Crook
082752e585 Fix Linux toolbar resizing bug
Bug came in with wx3.1.1 and is related to delays between resizing request and actually doing so.
2018-04-08 19:51:10 +01:00
James Crook
98bbb3436d Fix sizers in WarningDialog
AddUnits is only allowed in a HorizontalLay or MultiColumn.
EndVerticalLay was missing.
2018-04-08 19:51:09 +01:00
Steve Daulton
564e840d54 Fix background colour of Prefs
On Linux, it is not necessary to explicitly set the background colour
here, but left a comment in case it is required on other platforms.
2018-04-08 18:18:54 +01:00
Paul Licameli
b36482d649 If record overrides append because of channel count, record unlimited 2018-04-07 23:37:51 -04:00
Paul Licameli
9fcccd32ac Rewrite append-record onto only the proper number of channels 2018-04-07 23:32:23 -04:00
James Crook
b60fae4470 Fix some warnings on mac
These are mostly missing 'overrides'
2018-04-07 20:28:27 +01:00
James Crook
04d7108509 Rejig mod-xxx building under Windows
The project files move from lib-src into the win/Projects folder.
Intermediate files are now kept well away from the files we want.
Less use of '..' and more of $(SolutionPath) in paths.
2018-04-07 12:41:57 +01:00
James Crook
1339c3a5e5 Add wx link info into mod-script-pipe for Windows
This puts it on the same footing as other mod-xxx
It also means we can shift between wxWidgets versions without updating the project file.
2018-04-07 12:41:57 +01:00
David Bailes
f9ee3cdc45 Fix some of the accessibility names that disappeared with the move to WX 3.1.1
The main change in wxWidgets for the setting of accessibility names is:
7dab555f71 (diff-04f5191d86f95b1c4d5d9c979da65878)

Before this change, with wxUSE_ACCESSIBILITY set to 1, for wxWindow and all the classes derived from it, wxWidgets automatically created accessible objects to handle accessibility itself. Because the way wxWindowAccessible::GetName() was written, the accessibility names of lots of windows and controls had to be set using SetName().

After the change, by default, the accessibility of instances of these classes is handled by Windows. Where the accessibility of a control is handled by Windows, then the accessibility name is automatically set to so the appropriate value. However, an accessible can still be set using SetAccessible() then wxWidgets handles the accessibility for this object.

So for many controls we can just leave Windows to set the accessibility name. However, for controls which don't have any visible labels, or where we want to accessibility name to different from the visible text, then we have to set an accessible object for that control, and then call SetName(). The Class WindowAccessible can be used for this purpose. And for custom widgets, like the TrackPanel, and the NumericTextCtrl, SetAccessible() still has to be called, since they need bespoke accessible objects

So in the cases where we want the accessible name to be different from normal, we now need to explicitly set an accessible object. (Before, this wasn't needed, as accessible objects were automatically created.).

Some notes of the fixes included in this commit:
1. The fixes cover the main window, preferences, and built-in effects. Other fixes will follow.

2. In ShuttleGui, I've set accessible objects for wxTextCtrls and wxSliders. So all of these widgets still need the name set. This was done because there are a lot of instances where these controls need non standard accessibility names, and so it saves having to put lots of SetAccessibles throughout the code.

3. For wxPanel, Windows picks up the accessibility name from the label, and so SetLabel() can be used instead of SetName(). This is just as well, since for windows that contain other windows or controls, setting WindowAccessible as the accessibility object breaks the accessibility tree.

Note that at some stage a lot of calls to SetName() can be removed from the code as they are no longer needed, but it might be better to leave them there for the moment, just in case they are unexpectedly needed.
2018-04-06 17:24:40 +01:00
James Crook
6e59c2e286 Move Nyquist Workbench to Tools menu
Also disable and comment an incorrect ASSERT.
2018-04-06 14:27:33 +01:00
James Crook
31ce57e324 Make modules as part of Travis build
They are quick to build, and this ensures we keep them building OK as we make other changes.
2018-04-06 13:20:11 +01:00
James Crook
e35c49f648 Merge branch 'automake' 2018-04-06 13:19:33 +01:00
James Crook
a13a925c6b autoreconf -ivf 2018-04-06 13:11:32 +01:00
James Crook
213daba23f Avoid multiple include of configunix.h 2018-04-06 11:54:15 +01:00
James Crook
b24dae713b Update configure.ac for modules. 2018-04-06 11:54:15 +01:00
James Crook
2004aa2be2 Add m4 macros for gnu++11 2018-04-06 11:54:14 +01:00
James Crook
60a8e832b7 Update module makefiles 2018-04-06 11:53:57 +01:00
James Crook
30d438958c Get module sources ready for building on linux 2018-04-06 10:00:59 +01:00
James Crook
0885fda459 Fix mod-nyq-bench compilation under Windows. 2018-04-05 19:41:10 +01:00
James Crook
af54ac9cf6 Don't record a stereo track into a mono track
Or more precisely, don't do append-record, if doing so would lose a channel - e.g. if there is only a mono track selected and recording is set to stereo.
2018-04-05 11:53:58 +01:00
James Crook
6a62443337 Switch AppVeyor to wxWidgets 3.1.1
Using v3.1.1 removes our custom fixes - of which the most important tis the rename-retry to deal with virus checkers.  We'll bring that back in later with code in Audacity itself.
Use --recurse-submodules as wxWidgets now has png and other subprojects as submodules.
2018-04-05 09:23:30 +01:00
James Crook
76f72f0a3b Don't record a mono track into a stereo track. 2018-04-04 22:36:07 +01:00
James Crook
902e1ab0a1 Merge branch 'paint-by-numbers' 2018-04-04 21:37:22 +01:00
James Crook
291be502a0 Generate JSON box list for ThemeCache
The commented out wxLogDebug statements in Theme.cpp give the
location of all the boxes in the theme.  This is useful
for identifying what is in the theme cache for javascript code.
2018-04-04 21:34:15 +01:00
James Crook
8782a7264a Add code for iota theme-bitmap
This #ifdeffed out TEST_CARD is useful for javascript code that shows how a
theme will look, when applied to Audacity.  With the code enabled, each
pixel of audacity is painted with a colour that encodes the location in
the theme image map that was used.

Net result - in javascript you can change any colour in the theme cache
and instantly see how Audacity will look.
2018-04-04 21:30:10 +01:00
James Crook
bf9beb1f36 Revert locale tidy up
We want to use the fix ups that use NuGet.  However, they break the windows build-bot.  At the moment the windows build-bot is more important than the better locale code - hence reverting.
2018-04-04 17:04:58 +01:00
James Crook
67f7ca7d0a Bug 1731 - No help button in "Error: not well formed Invalid token at line (x) [Residual]
With this change, help now goes to a specific sub-page for this error, rather than to the generic top level page.
2018-04-04 16:48:21 +01:00
Henric Jungheim
de13357a27 Appveyor updates and without locale (Thanks henricj) 2018-04-04 15:35:55 +01:00
James Crook
68b4cb919f Add "Help" button to Noise Reduction. 2018-04-04 15:16:04 +01:00
James Crook
c0e1c82be9 Add missing files to Mac build.
Also moved the constructor into the .cpp file, so that wxWindow is a fully defined class.
2018-04-04 14:14:59 +01:00