1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-15 08:07:41 +02:00

6566 Commits

Author SHA1 Message Date
James Crook
ce31c371b9 Bug 1983 residual - Width of mixer toolbar changes. 2018-09-20 14:33:19 +01:00
James Crook
f07e40a4c0 Bug 1983 - Preference updates do not preserve toolbar widths 2018-09-20 13:16:09 +01:00
James Crook
e4bdd68c70 Bug 1981 - Mac: Background of pan/gain sliders wrong color in Light theme. 2018-09-19 16:48:52 +01:00
David Bailes
42efe53884 Bug 1980: NVDA 2018.3 and check boxes with empty accessibility names
Problem. NVDA 2018.3 does not read buttons, check boxes or radio buttons which have empty accessibility names. In fact for Scriptable dialogs which start with a check box with an empty accessibility name, none of the controls in the dialog are read.

This problem is connected with the new Audacity appModule in NVDA 2018.3 which was supplied by Robert and myself. For reasons which aren't immediately obvious, it has a problem when the accessibility name of the object is empty.

Fix: for check boxes which have an empty label, set the accessibility name to "\a", which is non-empty, but not read by screen readers.

Note: If someone ever wanted to have buttons or radio buttons with empty labels, there could be a similar fix. But there is unlikely to be a demand for such controls.
2018-09-18 16:33:26 +01:00
James Crook
6302e9b825 Set AUDACITY_BUILD_LEVEL to 2 2018-09-18 09:50:40 +01:00
James Crook
fd21a0f6fd Bug 1943 - Nyquist prompt loses data when Audacity is closed 2018-09-17 21:56:28 +01:00
James Crook
72f9fade8d Bug 1749 - Timer record dialog: wxWidgets assert failure
The problem was that the end time was set to prohibit changes that brought it
before the start time.  However an update to start time could update the end time
before the end time updated its legal range.

The prohibition on going backwards in time is only for user interaction with
that control, so we now clear the legal range before update and then recreate it.

This change also fixes:
Bug 1978 - Windows: Timer Record - a "debugging check" dialog is shown to the user

In passing I also noticed that the controls were being updated every 50ms.
This is totally pointless as they only show the nearest second.  So I set the granularity
for control updates to 1s. (1000ms).
2018-09-17 15:31:55 +01:00
Paul Licameli
a90c6c45f3 Remove redundant calls to update toolbars 2018-09-15 18:24:16 -04:00
Paul Licameli
01634938cc Fix: Undock Tools toolbar; then reset toolbars Mac...
... Used to need two resets to get the correct result, now only one.
2018-09-15 18:23:51 -04:00
Paul Licameli
fb101964df Improved algorithm for rearranging toolbars after docking one...
... A double-height bar can now insert left of two stacked single-height bars.

For instance you can un-dock the Tools toolbar from the default setup, then
drag it back, and now get the same result as you started with.
2018-09-15 18:19:18 -04:00
Paul Licameli
5d174b2126 Minor corrections to TrackPanel drawing...
... Use correct symbolic constants in three places (no effect);

use proper theme color for the two pixels per track that are left of and
above the shadow (small effect when not Classic theme)
2018-09-15 16:52:39 -04:00
Paul Licameli
f7545650f7 Remove empty files src/LoadModules.* and all mention of them 2018-09-14 14:27:03 -04:00
Paul Licameli
20947efecf Remove more vestiges of pre-C++11 Mac library workarounds 2018-09-14 14:11:00 -04:00
Paul Licameli
fe81760522 Eliminate EXPERIMENTAL_OUTPUT_DISPLAY, again...
See commit 5407079c6228c114bbb2207a85c06488c5e4a2f9 which removed all of it

A needless bit of it got merged in again later from another development.
2018-09-14 10:42:16 -04:00
Paul Licameli
34cc1ff577 Rename, rewrite, and simplify use of FindPendingChangedTrack 2018-09-13 13:56:47 -04:00
Paul Licameli
a5c50a112a more const in drawing functions 2018-09-13 13:53:58 -04:00
Paul Licameli
4b950927b5 TrackList::GetGroupHeight is const 2018-09-13 09:53:48 -04:00
James Crook
cbe778adb5 Bug 1977 - Simpler rule for 'Default sample rate' and 'Project rate'.
After discussion it was felt that only using 'Default sample rate' for new projects was better.
2018-09-13 10:48:11 +01:00
James Crook
993cea506d Revised fix for Bug 1977 - Using Spectrogram Settings in TCP causes Audacity to reset Project Rate to default 44100 Hz
This revised fix:
- No longer attempts to drive "Default sample rate" from the selection toolbar.
- No longer drives 'Project rate' direct from prefs.  It's usual it comes from the project.
- Instead 'Project rate' in the project might change if 'Default sample rate' pref is updated, but ONLY if the project has no tracks.
- When 'Project rate' in the project is updated, that is now always signaled to the selection toolbar.  Previously it wasn't.
2018-09-11 15:07:25 +01:00
James Crook
1b6cd725e6 Use count of channels instead of boolean 'linked' in GetInfo.
This change is inspired by the plan to eliminate GetLinked() in 2.3.1.  Logically we shouldn't be exposing a boolean 'linked' in scripting, but instead a channel count.
2018-09-10 23:54:16 +01:00
Paul Licameli
2063056243 Bug221 re-fixed with better exception safety: see commit 1deff18...
... in case only some tracks successfully allocate, de-allocate all before
propagating the exception.
2018-09-10 17:51:50 -04:00
James Crook
a66d7442a3 Bug 1977 - Using Spectrogram Settings in TCP causes Audacity to reset Project Rate to default 44100 Hz
The Project Rate in the Selection Toolbar and in the Preferences dialog are now the same thing.  They ALMOST were before, causing confusion, and this bug.
This means that the fancy mechanism to set 'other' rates in Preferences is moot, since the Selection Toolbar bar does not have that option.  49000 will be overridden by 48000 for example.
2018-09-10 20:23:22 +01:00
James Crook
1deff18c15 Bug 231 - Cut Preview should play all selected/sync-locked tracks, respecting Mute/Solo during preview 2018-09-10 16:57:36 +01:00
Paul Licameli
b881b06b53 When scrubbing backwards unpinned, scroll tracks by whole panel width 2018-09-09 13:53:51 -04:00
Paul Licameli
f31a1a6f8e Don't halt scrub playback with display paging at high magnification 2018-09-09 13:40:10 -04:00
Paul Licameli
52ad43daac Scrubbing at high mag, play head won't stray left of track edge 2018-09-09 13:10:01 -04:00
Paul Licameli
03def8dbaf Bug1967: scrub shouldn't be clicky...
... And this further simplifies the use of the clock.  Rely on the regularity
of spacing between calls to FillBuffers at commit a62cf53
2018-09-09 11:01:01 -04:00
James Crook
e724ef0793 Bug 1970 - Missing tick marks in Timeline 2018-09-09 12:33:10 +01:00
James Crook
ff01d39601 Undo Workaround for Bug 1969
Turned out this was not the correct fix.
2018-09-08 23:17:20 +01:00
James Crook
596feddfe7 Workaround for Bug 1969 - Windows: no monitored sound for 15 secs with software playthrough with default MME host
This is not a proper fix, as we do not fully understand the problem - which is in release builds only.
It may be enough though to get us through to release.
2018-09-08 16:55:34 +01:00
James Crook
0f5c8d4d84 Wording: "Duplex" -> "Overdub" (missing piece). 2018-09-08 14:41:43 +01:00
Steve Daulton
ad19ca0fa2 Fix for bug 1972 2018-09-06 20:32:08 +01:00
James Crook
1ecff6d5db Bug 1971 - Linux: Scriptables screenshot command only grab a small rectangle of window 2018-09-05 19:16:07 +01:00
Paul Licameli
f61989e922 Part fixes for compilation of EXPERIMENTAL_SCOREALIGN 2018-09-05 13:25:41 -04:00
Paul Licameli
544c3b9770 spelling in comments 2018-09-04 23:04:18 -04:00
Paul Licameli
69bf7fd120 remove unused function 2018-09-04 23:04:18 -04:00
James Crook
2758491a4a Bug 1966 - Manage Macros: Import and Export buttons are always inactive. 2018-09-03 22:58:57 +01:00
James Crook
7d0839393b Report selectedness of all tracks, not just WaveTracks.
(Suggested by Steve Daulton).
2018-09-03 22:02:15 +01:00
Paul Licameli
ad6962250b Bug1958: shouldn't crash recording with playthrough 2018-09-03 15:04:24 -04:00
Paul Licameli
a56a5be30b Replace _ with XO (won't affect generated audacity.pot) 2018-09-03 09:10:45 -04:00
Paul Licameli
1baf12d7bc Bug1960: position of play head during scrub right to left 2018-09-01 09:56:26 -04:00
James Crook
3f7c639c3f Make the 'wait for fade out' latency dependent.
This gives time for the fading out to clear the sound card, OR if
we would wait around too long, just close down the stream without waiting.
2018-09-01 10:24:50 +01:00
James Crook
8ed0edd599 Fix two problems with Nyquist translation.
1. The 'Select a File' button (which comes from wxFileSelectorPrompt) was not being translated.
2. rhythmtrack.ny was missing an (_ ) on one string.
2018-08-31 22:51:20 +01:00
Paul Licameli
af276ac4f9 Now implement scrubbing default to unpinned, see commit ac1017e...
... This was motivated by punch and roll recording:  it appears most convenient
to pin the head for recording purposes, and drag it near the right, but when
stopping and finding the splice point for the correction, it is better to
scrub unpinned.
2018-08-31 10:46:08 -04:00
James Crook
792fddbd22 Bug 1962 - Nyquist effect dialog labels not translated 2018-08-31 10:51:10 +01:00
James Crook
094c574e63 Fixes for missing/problematic strings for translation.
Two strings were not marked with _().
2018-08-30 22:05:30 +01:00
James Crook
40ab579442 Bug 1957 - Overdub disabled when enabled in Transport menu 2018-08-30 12:42:51 +01:00
Olivier Humbert
052f5d355d Update HelpText.cpp 2018-08-29 23:07:37 -04:00
Olivier Humbert
ac87eddd60 Update VampEffect.h 2018-08-29 23:07:37 -04:00
Paul Licameli
d050afb658 Scrubbing calculation now needs clock precision greater than sample rate 2018-08-29 15:01:31 -04:00