1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-28 16:20:12 +01:00
Commit Graph

4366 Commits

Author SHA1 Message Date
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
James Crook
e65d0ca77d Bug 1538 - Mac: "Audacity > Quit audacity" does not have Audacity capitalised
This was caused by using the #define AUDACITY_NAME which had changed to use
lower case 'a' in Audacity.
2017-01-04 14:46:15 +00:00
James Crook
90738ce2ad Create temporary directory recursively + Reduced search path.
Previously this could/would fail to create a temporary directory if the earlier
components in the path did not exist.  The user would then be prompted
unnecessarily for a location to store temporary files.

Also now disallow blank as a temporary directory name.

Also no longer search entire dmg for plug ins.  Just search the app itself.
2017-01-03 15:35:22 +00:00
James Crook
e9b9fcbcb2 Bug 1304 - Starting Save or Export directory is not set, so is unwritable or requires authentication for most users
I have done as suggested in the bug comments, and used:
Windows: Users\username\Documents
Unix/Mac: ~/Documents .

We could though use GetLocalizedResourcesDir() and could use Music rather than Documents.
2017-01-03 15:31:12 +00:00
James Crook
a281431983 Update team list 2016-12-30 12:52:25 +00:00
James Crook
278781c5ec Merge remote-tracking branch 'paul/Bug1561' 2016-12-29 16:19:25 +00:00
James Crook
32a33bf0e4 Bug1314 - Residual. Allow projects to straddle screens.
Opening Audacity can give a project window that straddles screens (if that is what the user wants and had last time they closed).
New windows created from menu item new will still start out initially all on one screen.
2016-12-27 22:58:59 +00:00
Paul Licameli
a6bec5b195 Bug1561, addendum: should still quit after benchmark from cmd line 2016-12-25 20:07:43 -05:00
Paul Licameli
426cb9c40c Bug1561: delay the recovery dialog until after application init 2016-12-19 17:56:52 -05:00
Steve the Fiddle
14c706e16b Bug 1560 - RTP effects: Repeatable crash using Track Dropdown Menu to split during transport
Fixed by disabling some menu items during realtime preview.
2016-12-16 22:53:54 +00:00
James Crook
28b3461bb2 Change Mac search paths to be in-app 2016-12-12 18:00:53 +00:00
Paul Licameli
8f28382525 Fix inability to convert sample format from 16 to 32 bits 2016-12-11 01:34:09 -05:00
Paul Licameli
0921942650 Fix black screen after closing fullscreen window -- REBUILD WXWIDGETS
Works by un-full-screening before closing.  Patching wxWidgets was needed to
make that work correctly after full-screening by clicking on the green circle
in the title bar, but that fix is not needed for full screen after command+/
2016-12-10 15:08:43 -05:00
James Crook
f229aab58a Bug 1329 - Adjustment: Part of the fix only applies to OSX; No longer apply to Linux too.
Adjustment proposed/tested by Steve Daulton.
2016-12-06 12:27:42 +00:00
Paul Licameli
51202bffb0 Fix bug reported by Steve, applying Nyquist effects...
... To short selections (under 1/100 second), at the start of the second of
two separated clips, in a project with a high sampling rate of 192000.

Symptom was that the audio moved so it was pasted to the end of the first clip.

Other uses of the constant WAVETRACK_MERGE_POINT_TOLERANCE should be
reviewed too but this is a conservative fix made close to release time.
2016-12-04 14:16:03 -05:00
Paul Licameli
ba263d0779 Bug1329: not wholly satisfactory fix...
... Partial reversion of commit 2e8ee5fe75

Now, if you open an effect dialog, Return key will apply it.  But, if you
cycle among windows with alt+f6, then the focus moves among the controls in
the effect dialog, and I don't know how to prevent that.

At least so it is in Mac.  I have not verified it with Linux.
2016-12-03 20:01:16 -05:00
Chris Cannam
30eaa0d52c Fix truncated decode of mp3 files on import
The MAD decoder will not decode the final frame in an mp3 stream unless
it has a small amount of padding afterwards (MAD_BUFFER_GUARD bytes,
actually 8). Without this, it loses sync before returning any decoded
data from the final frame. The result is that the imported audio is
truncated by up to 1152 samples.

This commit addresses that by using a final round of input callback
calls to provide the last MAD_BUFFER_GUARD bytes after the underlying
file has reached eof. The logic is based on madplay.
2016-11-26 17:41:07 +00:00
Gale Andrews
27e1e16ffd Agreed reword of Region Save/Restore 2016-11-25 20:17:55 +00:00
Steve Daulton
6f3aad2fe0 Update for Sample Data Import
Makefile updated for Linux build
2016-11-23 17:49:53 +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
Paul Licameli
6fad643000 guard against dereferencing null in the previous 2016-11-21 12:55:21 -05:00
David Bailes
3cecbcd44e Bug 1450 - Mac: Text grid cells cannot be TAB'bed out of
Thanks to David for the fix.
2016-11-21 17:36:27 +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
James Crook
389b0f197e Improve source for xgettext
1: Mark % as not being treated as print formatting.
2: i18n hint fix.
2016-11-21 10:31:52 +00:00
James Crook
9f5406fb84 Merge remote-tracking branch 'gale/qt-extensions' 2016-11-20 19:51:47 +00:00
Steve Daulton
a9d7b6d480 Add Sample Data Import generator 2016-11-20 16:01:59 +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
Gale Andrews
83ae58db9f region > audio
Fits better with future proposed changes
2016-11-18 22:58:37 +00:00
Steve Daulton
3a9983795f Bug 1547
Fix some 'on pause' inconsistencies.
2016-11-14 10:32:55 +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
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