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

4124 Commits

Author SHA1 Message Date
Paul Licameli
93c0b5a92d Add button to History dialog to clear the clipboard & space calc 2016-11-07 11:25:27 -05:00
Paul Licameli
c439ceba03 Consistency among the methods of SyncLockedTracksIterator...
A sync-lock group is a maximal sub-sequence of the tracks, containing:
one or more wave tracks (and/or Note tracks, if MIDI is enabled),
and zero or more label tracks.

(These are not exhaustive of all of the types of tracks.)

So redefine Next(), Prev(), and Last() carefully to implement this intention.
2016-11-04 00:10:21 -04:00
David Bailes
f296c768d5 Fix for bug 1542 - setting of radio buttons in Selection bar
Problem: On Windows, if you set the "length" radio button in the selection bar, then tab round to it, this sets the "end" radio button.

This was caused by commit 7e49dc4.
The fix is to restore the previous code just for Windows.
2016-11-03 13:59:04 +00:00
Steve Daulton
0364f8e894 Additional fix for bug 1536
Check project exists before call to Command Manager
2016-11-02 18:16:35 +00:00
David Bailes
5542f88089 Changed names of the commands to move to next/previous label
Selection to next label => Move to Next Label
Selection to previous label => Move to Previous Label
2016-11-01 14:09:03 +00:00
Paul Licameli
8b66fc4b05 Restore change of Waveform dB scale with change of magnification...
... This is done with Shift+Ctrl+wheel and pointer in the vertical ruler, and
the pointer y coordinate near the bottom of the dB scale.

If y coordinate is far from there, then Shift+Ctrl+wheel changes dB level
without change of magnification (as before this commit).
2016-10-28 12:36:26 -04:00
Steve Daulton
b5ccd5b817 Fix bug 1537
Fix logic errors in AudacityProject::UpdateMenus
As this has never worked previously, we may now wish to
review the behaviour.
2016-10-28 00:48:52 +01:00
Steve Daulton
d39dbc4162 Fix bug 1536
The Edit buttons now enable/disable whenever their Menu counterparts
are enabled/disabled, but there are residual issues due to incorrect
behavior in "Select all if none selected" (noted in comments).
2016-10-27 16:12:31 +01:00
David Bailes
edb99485da Adjustment of fix for bug 1442
Issue was that an empty selection at time zero was included in the tab cycle.

This has been removed.
2016-10-27 10:21:58 +01:00
Gale Andrews
ed503c35e5 Address issue posted on Wiki Wording page 2016-10-27 06:23:05 +01:00
David Bailes
597da6fda3 Correct duplicate access in Preferences:tracks 2016-10-26 13:29:46 +01:00
David Bailes
a79596fb4e Add a setting for whether labels can be created by typing
Added a setting for whether labels can be created by typing in a label track.
The setting can be changed in either the Tracks menu, or the Tracks category in Preferences.
By default the setting is set to on.
2016-10-26 13:11:07 +01:00
David Bailes
cf547077d5 Fix for bug# 1535: some text can be selected when tabbing to label
Problem was that mInitialCursorPos was not being set when tabbing to a label.
2016-10-25 11:43:08 +01:00
David Bailes
ff9763f984 Add two commands to move the cursor/selection to next/prev label
The two commands are "selection to next label" and "selection to previous label".
They have default shortcuts alt+right and alt+left.

A label track does not have to be the focus. If there is a single label track in the project, that it used. If there is more than one label track, then the first label track, if any, starting at the focused track is used.

If the commands are used during playback of the project, playback continues from the new cursor/selection.

The commands provide feedback to screen readers: the name of the label, and position in the form of "i of n".
2016-10-24 14:24:20 +01:00
Steve Daulton
e239efe486 Fix bug 1531 2016-10-23 22:10:38 +01:00
Gale Andrews
6daa2a3a93 Shorter Time Shift wording, clarify (dB) range
Also gets rid of horizontal scroll bar, at least on Windows.
2016-10-22 20:09:46 +01:00
Paul Licameli
25b7a0040f Make shortcut keys for moves really appear in track control menu...
These are "Moved focused track up/down/to top/to bottom" in keyboard
preferences.

There were prior changes that made any shortcuts for them appear in the track
control drop-down menu, but only after closing Preferences.  They still did
not appear after restart of Audacity, although the keystrokes had their effect.

See commit bb7dba2b678735da60b857fa99e963396d5a875f
and commit 7608e9cb521a6d57a030e1339b980c85f6b97227
2016-10-21 10:51:17 -04:00
Paul Licameli
1914fc6437 Make Mac build again 2016-10-21 10:31:15 -04:00
windinthew
d5a6b83fe0 Fix issues reported on Wording page 2016-10-14 16:36:41 +01:00
Gale Andrews
c7c5424909 Fix Expand All Tracks wording
It does not expand all tracks, just those that were collapsed with the Collapse button.
2016-10-12 23:56:59 +01:00
James Crook
44c3474e4e Prompt with 'Command-Click' on Mac, Not 'Ctrl-Click'. 2016-10-09 22:16:18 +01:00
James Crook
79c5834a24 Bug 1506 - Linux: Audacity permits building with gcc < 4.9.0, resulting in save project segfaults
My change here doesn't permit building with gcc 4.8 any more.  It would be nicer to do this during configure, but doing it at all may be enough to demote this bug from P1 status.
2016-10-07 23:07:00 +01:00
James Crook
d6302bc370 Count stereo tracks as one track, not two.
The TrackIterator actually iterates through channels, so we need to skip the linked tracks when counting.
2016-10-07 21:53:10 +01:00
James Crook
fe2dfca3e0 Bug 1522 - No pointer or Status Bar indication of CTRL-click in waveform to move selection boundary
I also took the opportunity to modifier the Status Bar indications when in the TrackInfo.
1) We now mention ctrl click can select or deselect track.
2) If there is only one track, we don't now prompt about rearranging tracks, since you can't.
3) If you hover in a label track's VRuler (which is just a spacer so that things line up), you now don't get a message.
2016-10-07 21:38:18 +01:00
James Crook
2add9792ce Bug 1484 - (Residual) allow an unselected track to be an anchor. 2016-10-06 20:50:45 +01:00
James Crook
44375c252a Bug 1484 - No ctrl-click toggling; History for anchor (mLastPickedTrack) 2016-10-04 09:05:47 +01:00
Paul Licameli
ea1015596c Bug1511: REBUILD WXWIDGETS: Mac Quit via tooldock doesn't crash...
... in case at least three projects are open, or skip save prompts either,
in case at least two projects with unsaved changes are open.
2016-10-03 14:38:56 -04:00
Paul Licameli
412d651e6e Bug1511, partial: fix crash using Quit from Mac tool dock, but...
... when multiple unsaved projects are open, there is still a prompt to save
only one of them.  I don't yet know why.
2016-10-03 11:34:30 -04:00
James Crook
37a0cd3af6 Bug 1484 - Cannot one-step extend/contract selections vertically or horizontally to specific TrackSelFunc
Progresses us a little towards closing.  Ctrl-Click on waveform now removes track selection status, not just adds it, and we don't flicker on again subsequently when we drag.  Ctrl-Click won't remove the last remaining selection (by design).  Shift-Click can now reduce us down to one track, rather than the previous behaviour when reducing track selection.
2016-10-03 13:28:25 +01:00
tip2tail
54ee80b798 Included an i18n hint in format per Gale's advice 2016-10-02 22:59:47 +01:00
Mark Young
a4ae301a5b Bug 1402, rewrite logic for the display of hours and minutes and ensure we use one routine for this. 2016-10-02 22:56:04 +01:00
Paul Licameli
09a3854256 Use unique_ptr more properly in the fix for building mod-nyq-bench 2016-10-02 09:46:48 -04:00
Leland Lucius
5eecfa117c Merge remote-tracking branch 'upstream/master' 2016-10-01 14:06:49 -05:00
Leland Lucius
2ab0c13101 Fix build of Nyquist Workbench 2016-10-01 14:05:53 -05:00
Paul Licameli
a9d33f87c4 Comments and minor off by one fixes for drawing wave clips...
... and rename two shadowing variables
2016-10-01 13:01:19 -04:00
Paul Licameli
921b769b52 Fix the previous fix! ... in copying of wave clip display caches. 2016-10-01 10:24:50 -04:00
Paul Licameli
a41eb4422c Fix mistake in partial reuse of caches for drawing wave & spectrum...
... But this mistake probably had no visible consequences, if total width
in pixes was unchanged.
2016-10-01 10:07:29 -04:00
James Crook
74887abb70 Device ToolBar back to customary place (by default) 2016-09-30 09:13:30 +01:00
Steve Daulton
52b1c6e00f Update and rename Click Track as Rhythm Track 2016-09-29 21:03:27 +01:00
Paul Licameli
2e8ee5fe75 Bugs 868, 1196 again: Fix alt-f6 cycle but not changing button focus
Mac and Linux problem only.

See commits 58e3f3da839694ea8da6db4aa5dce8a439a1484d
and a00f866b5425572dbb8032d93ad2627fa07e1d08
2016-09-28 11:54:17 -04:00
windinthew
acedbb8640 Fix missing/conflicted access keys 2016-09-27 19:22:00 +01:00
Paul Licameli
09cf0a6be3 Bug1450: fix TAB key navigation in metadata dialog 2016-09-27 06:19:09 -04:00
David Bailes
6261bb5a9a Equalization effect: revert one of the changes in commit fcb6221
Revert change in commit fcb6221 which affected behaviour in draw mode.
2016-09-26 09:03:54 +01:00
David Bailes
fcb6221b2c Fix for bug #1517 - Equalization sliders bug
The bug was that when the Equalization effect opens in Graphics mode, the sliders are set to zero, and don't do the right thing. This was caused by my incorrect fix for bug #1346.

Fix is to call UpdateGraphic to set the sliders up. Call to UpdateDraw also added, which includes the appropriate calls to Show, rather than have these in PopulateOrExchange.
2016-09-24 09:26:46 +01:00
David Bailes
3bb2a8b170 Fix for bug #1346 - Equalization effect always opens in draw mode 2016-09-23 13:53:47 +01:00
James Crook
086ddb62c1 Fix compiler warning "unknown escape sequence".
Debugger shows that this change has zero effect on the string (and it fixes the warning too).
2016-09-22 19:29:52 +01:00
windinthew
950f62a548 Apply Mac fixes for bugs 868, 1196 to Linux 2016-09-22 18:56:26 +01:00
Steve Daulton
229781cc12 Tweak error message
Several users have stated confusion about the old message,
thinking that it meant 'changes to the imported file', whereas
it actually refers to the 'project'.
Also fix a couple of compiler warnings.
2016-09-21 14:54:59 +01:00
Paul Licameli
f993f1eadf Regularize casts as (int), so they are easier to find and review 2016-09-20 08:42:11 -04:00
Darrell Walisser
8e1b084f01 OpenMP TrackArtist::DrawSpectrum (#165)
- make 2nd loop parallelizable
- remove number scale from both loops, only calculate one time
- initialize Acolor::GetColorGradient separately
2016-09-20 07:15:18 -04:00