1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-05 14:18:53 +02:00

6721 Commits

Author SHA1 Message Date
David Bailes
ff2838e98d Clip boundary command: minor change to Cursor to next clip boundary
The command "cursor to next clip boundary" now finds the next clip boundary after selection end, rather than selection start.
2017-05-16 10:26:12 +01:00
Paul Licameli
9da999d40c Use OffsetTimeByPixels correctly...
That is, don't assume uniformity of pixels per second, but supply the correct
first argument.

This will matter when there is a magnifier.  But that will not be in the next
version.
2017-05-16 03:05:34 -04:00
James Crook
eaec68a014 Bug 1642 - (Windows) Adding a shortcut or toggling Extra Menus causes ENTER on dropdown to open new project 2017-05-15 23:25:54 +01:00
James Crook
97cdd31948 Bug 1541 - Residual: Wrong commands shown in tooltip
I assumed that we had more than one binding to the same command.  In fact the commands are different and I picked the wrong one.
2017-05-15 22:36:53 +01:00
James Crook
52caef9775 Add tooltip for iconic help button. 2017-05-15 21:52:30 +01:00
James Crook
bc55087968 Bug 1492 - Using Scrub Ruler to start Scrub or then change to Seek removes the selection 2017-05-15 17:55:49 +01:00
David Bailes
b91160795d Fix for keyboard commands for time shifting clips
Commands didn't update history etc.

Fix: Commands now call TrackPanel::MakeParentPushState.
2017-05-15 13:12:11 +01:00
James Crook
0caad3efe6 Bug 502 - Labels may disappear if partly before time zero 2017-05-15 11:07:44 +01:00
James Crook
8b14ac0359 Bug 718 - On dual monitors the splash screen is positioned incorrectly 2017-05-15 10:45:49 +01:00
James Crook
349b66bbdd Bug 1584 - Pinned / Unpinned tool tip inconsistency 2017-05-15 10:18:05 +01:00
James Crook
a0ea5d64db Bug 1469 - Shift key does not modify Play/Record buttons when Karaoke view has focus 2017-05-14 22:14:13 +01:00
James Crook
4be26f5bae Bug 1552 - Record button greyed out while playback paused 2017-05-14 20:21:16 +01:00
James Crook
83d3864738 Bug 1583 - "Pinned" play head preference requires restart 2017-05-14 19:34:29 +01:00
Steve Daulton
a532d99289 Add Midi Prefs and Libraries Prefs help pages 2017-05-14 19:02:36 +01:00
Steve Daulton
e16f6f9221 Add small help button to Prefs pages 2017-05-14 19:02:36 +01:00
James Crook
b196c7de8d Bug 1541 - Skip to Start/End buttons don't show that they respect SHIFT usage 2017-05-14 18:44:53 +01:00
James Crook
a9c417854c Bug 509 - Soloing/unsoloing in Mixer Board does not repaint waveform colour until window or Track Panel refresh 2017-05-14 18:14:39 +01:00
James Crook
18cec363c3 Bug 1607 - 2nd Screen issue with MixerBoard and Karaoke Window
Also Screenshot tools.  No joy for log-window, as that is created before Audacity starts up and recognises it is on the second screen.
2017-05-14 17:59:45 +01:00
James Crook
c8b2cc9d31 Bug 641 - ASSERT when adding recording not at start of track.
Cause by testing the track length before setting the track length.
2017-05-14 17:26:33 +01:00
James Crook
2f10c1ce25 Bug 1532 - Toolbars fail to arrange correctly when maximizing or restoring main window size 2017-05-14 16:08:02 +01:00
James Crook
6478895a39 Bug 1565 - Windows: Toolbars don't show tooltips when button is disabled 2017-05-14 14:58:50 +01:00
James Crook
cc38ba34a4 Bug 1607 - Some dialogs appear on primary monitor when Audacity is running on secondary monitor 2017-05-14 14:25:40 +01:00
Richard Bunel
4c3455c2c7 Bug 1523 - OK in Preferences changes language from "System" to the specific system locale 2017-05-14 10:52:30 +01:00
James Crook
07ce60218c Reinstate 48x48 Logo (for Linux/Mac use) 2017-05-13 19:50:37 +01:00
James Crook
978f09ba13 Lose unused images from theme. 2017-05-13 18:38:16 +01:00
James Crook
0ac2d90d8a SelectAllIfNone now selects all time if none, and all tracks if none.
This means you can now select just a time, and get all tracks selected, or some tracks, and get all time selected.
One side effect of this is that if you select a label (only) and apply 'cut' you now just cut the label, rather than cutting all tracks.  If you select a label and apply echo, you now get an error message, rather than applying echo to all tracks.
2017-05-13 10:06:52 +01:00
James Crook
c42a111a42 Add accelerator keys for Ext-&Bar and Ext-Co&mmand 2017-05-12 22:40:14 +01:00
Paul Licameli
e66028de0a Eliminate "Average RMS" redundancy in messages from Contrast...
... also gathered various formatting into some routines.  Should we regularize
the messages further?  That is, consistently put "dB" before or after "RMS"

Also added more i18n-hint comments
2017-05-12 16:06:18 -04:00
James Crook
35fe313f30 Smarter SelectAllIfNone
Now if there is a time selection and no tracks selected, then just select all the tracks, preserving the time selection.
This helps in the case a user has made a time selection, e.g. with selection toolbar, and then clicked on track panel, losing the selection of tracks but preserving the time selection.

I also shortened some repeated cut-and-pasted code.
2017-05-11 22:36:55 +01:00
David Bailes
ddb8db8dd7 Modify the screen reader messages of some of the keyboard clip commands
As suggested by Robert, add the word clip/clips to make the messages less confusing and noticeably different from the next/prev label messages.
2017-05-11 13:01:42 +01:00
David Bailes
495755b074 Fix for keyboard clip commands
Fix bug in AudacityProject::AdjustForFindingStartTimes.
Bug: When there is 0 or 1 clips, q - 2 is before the begin() of the vector, and caused crash.

Fix: split the test into two tests.
2017-05-11 11:42:56 +01:00
David Bailes
6c0e8c7d86 Change default setting of "move selection with tracks" to be "off" 2017-05-10 13:36:42 +01:00
David Bailes
b2d8f36969 Fix for bugs in keyboard clip commands due to rounding errors
When When two clips are immediately next to each other, the GetEndTime() of the first clip and the GetStartTime() of the second clip may not be exactly equal due to rounding errors. The existing code assumed they were equal, and this lead to the wrong clip boundaries or clips being found.

There are a number of ways of fixing this which could be explored. The current solution involves changing only the code for the keyboard interaction with clips.

The fix:
1. The test used for two clips being immediately next to each other is that GetEndSample() on the first clip is equal to to GetStartSample() on the second clip.
2. When searching for the start/end times of clips, the cases where GetEndTime() and GetStartTime() are not equal are taken into account. This is done in the two functions AudacityProject::AdjustForFindingStartTimes and AudacityProject::AdjustForFindingEndTimes.
2017-05-10 09:24:25 +01:00
Paul Licameli
85e984de63 More envelope fixes, including some for 1643, 1644 2017-05-09 09:23:45 -04:00
Paul Licameli
327e5d8557 Correct envelope update for Join that includes a gap between clips 2017-05-09 09:22:07 -04:00
Paul Licameli
a9160cf803 Envelope::InsertSpace preserves limiting values of the split point 2017-05-09 09:22:06 -04:00
Paul Licameli
8c4dc38047 WaveTrack::SplitAt no longer needs to insert envelope points...
... because partial-copy construction of the new WaveClip, and CollapseRegion
within WaveClip::Clear, handle it.
2017-05-09 09:22:06 -04:00
Paul Licameli
aba52bc79e Update envelope properly for TimeTrack and WaveTrack editing...
... Formerly this was done correctly only for cut and delete from WaveTrack,
paste into WaveTrack, and sync-lock adjustment of WaveTrack (either lengthening
or shortening).

Now also properly done for TimeTrack cut and paste, and also for:

Split cut
Split delete
Trim
2017-05-09 09:22:06 -04:00
Paul Licameli
2d84c65c94 When Envelope domain is shortened, evaluation inside won't change...
... It doesn't happen in practice yet, all present calls to SetTrackLen
make the track the same length or longer.  But this is for completeness.
2017-05-09 09:20:31 -04:00
Paul Licameli
945e411e2c Partial range copy of Envelope will not leave coincident points 2017-05-09 09:20:31 -04:00
Paul Licameli
f5a7e4ce7c Define private Envelope evaluator functions taking relative time...
... To be very sure we can avoid roundoff errors from adding mOffset and
subtracting it again; so that evaluation exactly at a control point time gives
the exact value of that point.
2017-05-09 09:20:31 -04:00
Paul Licameli
01b99f2849 Remove pointer back to Envelope from EnvPoint 2017-05-09 09:20:31 -04:00
Paul Licameli
2e7f806e90 Fix EqualRange for case of zero tolerance 2017-05-09 09:20:31 -04:00
Paul Licameli
a26b79d9fb Merge branch 'master' into HEAD 2017-05-09 09:19:55 -04:00
Paul Licameli
ebd1de4ffc Interim fixes for envelopes 2017-05-09 09:19:01 -04:00
James Crook
f859bf62c7 Remember Start/Center setting on SelectionToolbar
I mistakenly had it always set to ShowStart = true
Also tidied up a hastily written comment.
2017-05-09 13:29:15 +01:00
James Crook
52509d4bbd Add option of Start/Center to SelectionBar
We now have Start/Center and End/Length, per Robert and Martyn's suggestion
I've also tidied up the code here that was repetitive/messy.
2017-05-09 12:37:55 +01:00
James Crook
94c43773fc Bug 1641 - Don't use the 'space trick' on Linux/Mac menus.
The 'added space trick' to disable menu accelerators and still show them hides the accelerators completely on Linux/Mac.  Linux/Mac rejects the invalid accelerators.  Fortunately we don't need to disable the menu accelerators on Linux/Mac.  These menu accelerators causing a problem (in bug 1637) only happens on Windows.  So the 'space trick' is now used only on Windows.
2017-05-09 08:44:39 +01:00
windinthew
5b36f5d6a9 Fix missing access keys 2017-05-08 20:20:05 +01:00
Paul Licameli
5dfb47132e Interim fixes for Envelopes 2017-05-08 13:19:39 -04:00