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

5984 Commits

Author SHA1 Message Date
James Crook
bb8ae2c10d Added travis pass/fail badge to README 2016-11-13 14:53:12 +00:00
Gale Andrews
d00df6acb2 Make dialog title same as menu item, as agreed 2016-11-11 17:46:09 +00:00
Gale Andrews
cb36c53eda Fix wording for "Select all... if none" 2016-11-11 17:31:27 +00:00
David Bailes
10b54fc94a Fix for Select Cursor to saved cursor position command
When used during playback, this was producing unexpected results.

Fix is to use setTimes(t0,t1), rather than calls to setT0(t0) and set(t1) which was producing unexpected results.
2016-11-11 13:55:55 +00:00
David Bailes
e50335850f Changes to the two commands involving the saved cursor position
Changes to "Save Cursor Position" and "(Select) Cursor to Saved Cursor Position"

Both the saved cursor position, and the current cursor position are the audio position if audio is active, else selection start.
The selected time range is the min, and max of these two values.
2016-11-09 13:19:48 +00:00
Paul Licameli
53a5c930a4 Bug1544: clipboard space usage in History updates after cut/copy...
This should be tested for Cut, Split Cut, Copy, and also for the same
commands in the Labeled Audio sub-menu of Edit.
2016-11-08 22:54:27 -05:00
David Bailes
3f8751d9a2 Minor fix for commit cc2447
Forgot the call to ModifyState. Also added call to Refresh, though I'm unsure whether that is still needed.
2016-11-08 10:27:05 +00:00
David Bailes
cc24472d09 Add two new commands for selecting a time range using the keyboard
The new commands are "Save Cursor Position" and "(Select) Cursor to Saved Cursor Position"
2016-11-08 08:58:48 +00:00
Paul Licameli
4ec7044639 Better calculation of space usage in undo history dialog...
... Don't double-count any block files.  Count each only in the latest undo
history state containing it, because you reclaim its space only by deleting
the history at least up to that state.

Block files may still be double-counted between undo history and the clipboard.
2016-11-07 16:46:36 -05:00
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
Steve Daulton
ccbee2b8d9 Update null return value
Fixes incorrect "Nyquist did not return audio" message.
Also updated Audacity web address.
2016-10-31 00:47:54 +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
yam
967275528b Get Nyquist Workbench building again 2016-10-02 19:20:31 -05: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
Leland Lucius
d7d0596df9 Addint mod_null build scheme to Xcode project 2016-10-02 14:43:58 -05:00
Leland Lucius
e0c3290e8b Redo the Xcode schemes 2016-10-02 11:46:18 -05: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
f4d38476a6 Actually commit the mod-null changes this time! 2016-10-01 20:23:09 -05:00
Leland Lucius
01eb4745a6 Get mod-null building again 2016-10-01 16:47:11 -05: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