1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-21 14:50:06 +02:00

417 Commits

Author SHA1 Message Date
James Crook
c53e2dbb77 Bug 1597 - Enh: Greater clarity over status of versions needed
- For ALPHA builds we do a check version with the Welcome screen (if welcome screen is enabled).
- A 'Check Online' in the About box provides a new route to check version
- Check Version now passes CommitId and Build Date/Time to identify a version.

To actually close the bug we need the javascript on the server page to put up informative messages.
2017-02-25 23:00:39 +00:00
James Crook
f4bfe1fc02 Bug 1599 - Cannot paste clipboard text into label unless content already on Audacity clipboard
Thanks to Steve Daulton for the fix.
2017-02-24 18:07:47 +00:00
James Crook
63cb2a7b9a Bug 1575 Residual - Remove a wxLogDebug left in by mistake. 2017-01-16 21:54:04 +00:00
James Crook
0bc20269a7 Bug 1575 Residual - When label tracks exist, Nyquist effects run extremely slowly
The short-circuit evaluation of flags ONLY generated the NotMinimized flag, and all others were set to zero, when short-circuit evaluation happened.  This change remembers and preserves the other flags, so they don't get set to zero.
2017-01-16 17:08:21 +00:00
Steve Daulton
15aa84f10b Fix bug 1575
Includes fix by PRL:
https://github.com/Paul-Licameli/audacity/commit/cbca44e
2017-01-16 12:35:07 +00:00
Gale Andrews
27e1e16ffd Agreed reword of Region Save/Restore 2016-11-25 20:17:55 +00:00
David Bailes
71694d026a Fix for Move to Next/Previous Label commands
Problem was that when these commands were used when playback was stopped, the tracks did not automatically scroll to make sure that the label that had been moved to was visible.

Fix: call TrackPanel::ScrollIntoView().
2016-11-23 10:33:53 +00:00
Gale Andrews
8628dad100 Reinstate 'Move to next/previous label' bindings
Reverts 2c3d72f. Better, because this is a new "headline" feature.
2016-11-22 01:49:10 +00:00
James Crook
6d086dcc23 Fix TimerRecord overenthusiastic undo.
Thanks to Pual Licameli for finding the bug and its cause.
A cancelled TimerRecord would undo the previous action rather than just roll back.
2016-11-21 12:30:23 +00:00
David Bailes
2c3d72f0a2 Remove default keystrokes from Move to Next/Previous label
Reasons for removing the default keystrokes:
1. Added keystrokes may conflict with keystrokes already defined by user, and Audacity doesn't currently handle this situation in a user friendly manner.
2 There may be additional label commands in the near future, so even if default keystrokes were felt appropriate for these commands, it may be useful to delay the assignment until any other related commands have been decided.
2016-11-20 12:50:50 +00:00
David Bailes
87c0eb1563 Rename the two commands for the Saved cursor position
After discussion on Audacity-quality mailing list, the commands now refer to the stored cursor position, rather than the saved cursor position. (This position is not saved to disc).
2016-11-20 12:44:13 +00:00
Gale Andrews
7156d5b5c1 Consistency improvements
See http://wiki.audacityteam.org/wiki/Guidelines_on_capitalization_in_Audacity_dialogs_and_messages for why "At" should not be upper case.
2016-11-19 17:00:02 +00:00
Steve Daulton
1c9daeefb4 Change "Play/Stop and Set Cursor" shortcut to "X"
As agreed on QA list: https://sourceforge.net/p/audacity/mailman/message/35475977/
2016-11-19 15:48:35 +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
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
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
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
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
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
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
950f62a548 Apply Mac fixes for bugs 868, 1196 to Linux 2016-09-22 18:56:26 +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
Paul Licameli
94f327d99c fix build 2016-09-19 15:49:47 -04:00
Paul Licameli
0eb2f85bfb Use DBL_MAX, not arbitrary 1000000000.0, as "infinite" time interval 2016-09-19 10:38:42 -04:00
Paul Licameli
ad04187a41 Change sampleCount arguments, variables, return values to size_t...
... whenever they really describe the size of a buffer that fits in memory, or
of a block file (which is never now more than a megabyte and so could be fit in
memory all at once), or a part thereof.
2016-09-15 21:03:17 -04:00
Paul Licameli
88611a4530 Fewer C-style pointer casts of tracks; comments justify static_cast 2016-09-15 12:12:43 -04:00
Paul Licameli
39d514b183 Some more const, some stl idioms, remove unused declaration 2016-09-13 22:03:58 -04:00
James Crook
65c7e8051a ThomasFeher - Unused parameters clean up. 2016-09-11 20:31:49 +01:00
Paul Licameli
b973698fdf Simplify some iterations over lists 2016-09-08 12:04:08 -04:00
Paul Licameli
c8e7372886 Rewrite Resample::Process to take and return size_t values 2016-09-06 12:39:58 -04:00
James Crook
6c3149ce20 Fix Add Label at Playback Position flags.
Thanks to Walter Gladwin.
The comment said "Is this correct??" the answer is no.  However the problem only showed when other fixes were made elsewhere, and Add Label at Playback Positions then stopped working when in Pause.
2016-08-29 18:09:53 +01:00
Paul Licameli
79c79f9cd3 Remove many mentions of sampleCount with auto and decltype...
... This makes much code agnostic about how other things (functions and
arguments) are typed.

Many of these neeed to become size_t instead of sampleCount.
2016-08-24 14:50:45 -04:00
James Crook
8886d1ba41 Bug 1487 - Scrub and Seek are enabled when there is no audio to operate on
I added a new flag, HasWaveDataFlag that checks not only for the presence  of a WaveTrack but also for audio actually in it.  This is now applied to the Scrub and Seek menu items, with the result that they grey out in the menu, and their buttons are dulled on the toolbar, if there is no audio.
2016-08-22 13:25:05 +01:00
James Crook
f9d269bcee Change ScrubBar to ScrubRuler
This also makes it clearer in the code when we are dealing with a Toolbar ID (for the scrubbing toolbar) and when we are dealing with a button ID (for enabling/disabling the scrub ruler).
2016-08-22 12:25:36 +01:00
James Crook
26fac64ddd Bug 1478 - Cannot generate or record after starting and stopping Scrub Mode with no audio present
Stream time from the scrubbing audio (which had not started) was coming out as a large negative value.  That in turn led to an out of range selection starting and ending at that value.  Negative stream times now treated as zero when stopping audio.  This does mean that the (fringe) case of stop and set cursor with audio playing to the left of zero, if you are able to do that, will likely set the cursor at zero rather than at the negative time end point.  I think that is probably OK, even good.
2016-08-21 15:19:45 +01:00
James Crook
05fe684114 Ungrey more actions, if paused.
This introduces a new variable, mStopIfWasPaused (default true).  Actions which require AudioIONotBusyFlag will now stop the audio, if audio was busy but paused and attempt to continue.

We could perhaps make mStopAudioIfWasPaused into a preference, but I don't think we need to keep even the option of the old behaviour.
2016-08-20 18:52:30 +01:00
James Crook
b1526fbdc8 Change strings for clarity/consistency.
Changes suggested by (translator) scootergrisen
2016-08-19 19:30:21 +01:00
Paul Licameli
fe5ab9a462 Remove the naked new in allocation of AudacityProject 2016-08-14 15:24:59 -04:00
James Crook
8dd93ef2a8 Bug 1467 - New pref for pinned head should move to the Prefs>Tracks
Also updated the wording as per comment #2 in Bug 1467.
2016-08-10 18:38:37 +01:00
Paul Licameli
13e056de43 More uses of safenew 2016-08-08 10:07:37 -04:00
Paul Licameli
6fec00149b Remove some naked new amd delete in: Built-in Effects 2016-08-08 07:51:25 -04:00
Paul Licameli
cfd7648fce Remove some naked new amd delete in: Project 2016-08-08 07:40:15 -04:00
Gale Andrews
b27504e98a Consistent name of Scrub Toolbar, add i18n hint 2016-08-04 04:50:07 +01:00
windinthew
e97568db1b More access key fixes. Better Pinned tooltip. 2016-07-12 15:05:48 +01:00
Paul Licameli
84c0337aba Fix TAB key navigation on Mac for all dialogs (not only for panels) 2016-07-10 17:12:27 -04:00