1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 07:40:23 +02:00

3086 Commits

Author SHA1 Message Date
Paul Licameli
39399d6d8c Bug30: Safer fix avoids crashes! 2016-01-23 11:35:37 -05:00
Paul Licameli
cdc8142940 Fix the new Truncate Silence 2016-01-23 09:08:27 -05:00
Paul Licameli
513d1c548f Enh52: Truncate Silence has an option to process tracks independently...
When the new checkbox is on, truncate each selected wave track independently.

Refuse to do it if any two selected audio tracks are sync locked to each other.

But label tracks sync-locked with a selected wave track will truncate as
expected.
2016-01-23 00:46:10 -05:00
James Crook
d538806dc1 Merge pull request #91 from somasis/musl-fix
Fix building on musl libc
2016-01-22 18:09:24 +00:00
James Crook
4e8c265535 Added Robert Hänggi to contributors in AboutDialog. 2016-01-22 17:00:29 +00:00
Paul Licameli
4b8a413bbb Bug198: Change of selection format or snap-to should affect selection at once 2016-01-22 10:05:35 -05:00
Paul Licameli
376fc0ebf2 Bug144: Editing performance when Karaoke window is open and very many labels...
... in the first label track.

Problem was calling wxTextCtrl::AppendText once per label, per push of undo
stack, each call causing event handling.

Now call it only once per push.
2016-01-21 22:19:37 -05:00
Paul Licameli
97e8fe3864 include <algorithm> to fix Windows build 2016-01-21 10:41:03 -05:00
Paul Licameli
ad586b3e69 Bug36, partial: Redraw mixer board when meter range preference changes 2016-01-21 10:22:24 -05:00
Paul Licameli
116ea61d11 Bug30: During playback, after CTRL+M, chars, ENTER -- restore track focus. 2016-01-21 10:18:41 -05:00
Paul Licameli
3bd4f463f2 Bug49 (partial): Correctly recreate tooltips in device bar for language change 2016-01-21 10:08:00 -05:00
Steve Daulton
4a5e188a00 Fix for bug 1241
Percent change is now saved accurately so that the user gets
stretching according to the control used.
2016-01-21 04:03:32 +00:00
Steve Daulton
34f141e956 Align clips from Split New to sample times 2016-01-21 03:10:26 +00:00
Steve Daulton
8a6edf3623 Add custom track name defaults to preferences 2016-01-21 02:42:25 +00:00
Steve Daulton
1d6d08c47d Don't push effects that can't be undone onto the Undo Stack 2016-01-21 02:07:28 +00:00
Steve Daulton
159f0263f3 Update solo button defaults
As agreed by QA, the 'simple' behavior becomes the out-of-the-box
default, and 'standard' renamed as 'multi-track'.
2016-01-21 01:52:42 +00:00
Steve Daulton
57d1f5583d Fix for bug 661
Introduce *DECIMAL-SEPARATOR* global for Nyquist.
Improvements to numeric validation error messages.
Fix *TRACK* START-TIME and END-TIME properties for tracks with different
length channels.
Update Adjustable Fade, Regular Interval Labels and Vocal Removal
to use numeric text inputs.
This does NOT fix bug 1020.
2016-01-21 01:29:56 +00:00
Steve Daulton
7608e9cb52 Fix missing shortcut text in track drop down menu 2016-01-21 00:55:59 +00:00
Steve Daulton
23186f9bf4 Fix for bug 440 2016-01-20 23:56:57 +00:00
Steve Daulton
46055cde25 Fix effect preview issues
Fixes bug 1274 and unblocks bug 995.
2016-01-20 18:19:11 +00:00
James Crook
33477fd5d1 IS_ALPHA 0 -> 1 and upped version number. 2016-01-20 15:52:53 +00:00
James Crook
53b8fd534e Residuals from Bug 1296
Added forcing time64 to be positive.  Fixes problem where large negative value overflows into int.
More careful computation of TimeToPosition() so floor is only called with in range values.
Re-instated 'true' flags for hiddenMid calls, which I'd mistakenly dropped, so that (later) FishEye can distinguish.
2016-01-08 22:05:48 +00:00
James Crook
104e8b50ba Bug 1296 - Zooming to maximum in longer multi-clip tracks crashes in all clips except the last
Caused by a premature conversion of a wxInt64 to (int) so that a large positive number became negative.
We now do the conversion after minning it against an integer width.
2016-01-08 18:45:01 +00:00
James Crook
c57eeb46bc IS_ALPHA from 1 to 0 2015-12-30 09:45:53 +00:00
Steve Daulton
6663f406d3 Bug 1275 - No preview in Spectral edit effects
Introduces a new type 'spectral' t Nyquist plug-ins
2015-12-26 19:26:39 +00:00
James Crook
0d4b58ba1c Merge remote-tracking branch 'leland/master' 2015-12-26 14:57:24 +00:00
James Crook
94afd8265b Bug 1271 - Move the Audacity temp dir to a location not scanned by cleanup apps (Residual)
The residual issue here was that an old cfg could go on using the unsafe path.  So we check for the unsafe path at init and silently substitute the good path.  If the user attempts to re-instate the unsafe path we tell them no, with an informative message.  This change was made more complex by windows allowing different strings for the same path, specifically C:\Users\JAMESC~1\AppData\Local\Temp\audacity_temp contains the shortening '~' so in the function that tests 'IsTempDirectoryNameOK' we use GetLongPath() to always compare the expanded names.

I also changed directory prefs to add SessionData rather than audacity_temp on the new directory name, on windows when choosing a new temp directory.
2015-12-26 14:56:47 +00:00
Leland Lucius
0629c31538 Change name to prevent further confusion 2015-12-23 12:39:26 -06:00
Leland Lucius
76436fc3fd Don't display message if the EQ curves file is missing.
I can't think of a reason for having the message.  Either the curves
are there or they are not.
2015-12-21 23:38:05 -06:00
Leland Lucius
9dd79c9f80 Remove flushing of preferences in ShuttlePrefs and only
flush when all settings have been written.
2015-12-21 20:07:24 -06:00
Leland Lucius
d3fdccffce Fix for bug #1271 2015-12-21 19:32:43 -06:00
Paul Licameli
b5f2046286 Make the last travis-friendly 2015-12-20 19:23:31 -05:00
Paul Licameli
407c1dc4b2 Guard against unusually large numbers of channels in imported .wav file. 2015-12-20 19:11:04 -05:00
David Bailes
13f13490e6 Fix for Bug 1267 - Accessibility: some panels used for graphics are included in tab traversal
Bug due to update and wxWidgets bug 1267.
Fix is to add the override of AcceptsFocusFromKeyboard().
2015-11-26 15:21:48 +00:00
Gale Andrews
88dae8ff7e Back to IS_ALPHA 1 2015-11-26 08:19:36 +00:00
David Bailes
83830d52eb Fix for bug 1254
In LabelDialog::Show(bool show), only set initial row when show == true.
2015-11-25 09:20:24 +00:00
Kylie McClain
409ebb9a03 Fix building on musl libc 2015-11-21 17:04:43 -05:00
James Crook
2dda54d0e8 IS_ALPHA from 1 to 0. 2015-11-06 11:48:56 +00:00
David Bailes
1d570ee182 Fix for track menu channel radio items on linux.
Steve suggested and tested this fix. Probably bug in wxWidgets.
2015-10-30 16:10:33 +00:00
David Bailes
758bd1ac2a Revert to appending the radio items for channels, rather than inserting them in reverse order.
Reverted the access key of Rate to e.
2015-10-28 09:13:59 +00:00
David Bailes
ba3b1b14ae possible fix for bug 1250
Go back to having both mono and stereo items in track menu.
2015-10-26 10:17:07 +00:00
Benjamin Drung
162392e8cf ExportMP3: Fix compiling with static loading
Audacity can be built with dynamically loading/unloading the MP3 library
(the default) or dynamically linked against the shared object file
(--disable-dynamic-loading). The code to load the library is only needed
in the former case.
2015-10-16 00:36:26 +02:00
James Crook
7eb7490a70 Bug 1243 - Audacity may open with too small width/height when not maximised on previous close
New behaviour, instead of resizing window when it doesn't fit, use the default size/position.
This touches code involved in the fix for 1119 (mac only bug on small screens) and should still
fix that bug, but that will need testing.
2015-10-14 18:06:49 +01:00
James Crook
96d2e66db5 Bug 1221 (Mac)
Re-instated conditional code that apparently worked previously on Mac.  Untested on Mac.  Could 1221 possibly be cleared now?
2015-10-10 15:41:59 +01:00
James Crook
6d95e68dad BatchProcessDialog Close command working again.
Sending a wxCloseEvent doesn't close a Modal dialog (unless we hide it first).
2015-10-10 15:27:35 +01:00
James Crook
aee4a33d6b Bug 1221 - Chain asserts (Linux) or causes switch away from Audacity (Windows) on completion.
New fix.  It appears to be a bug in wx3.  Hiding a Modal window (under linux) can stop it being modal.  So rather than EndModal() we send an event to close the window which works whether wxWidgets thinks the window is modal or not.  Additionally we set the focus back to the parent window, becuase of a side bug under windows, and we new the status dialog rather than allocate it on the stack, because the status dialog is NOT run with ShowModal() which is the only time we can safely use an on stack dialog.
2015-10-09 23:53:49 +01:00
James Crook
38551d8e49 Start of fix for Bug #1221 2015-10-09 23:28:53 +01:00
yam
c7792dd52f Fix for bug #1224 2015-10-08 16:52:58 -05:00
Leland Lucius
6b9541933d Fix for bug #1221 2015-10-08 14:06:24 -07:00
James Crook
ae5d29a048 Bug 1226 - Plot Spectrum freezes first time in a project if insufficient samples selected
Guarding against mDataLen < mWindowSize, as per fix from Steve.
However, also must ensure mAnalyst was initialised, as we otherwise get a different crash when we paint a valid spectrum later, because we don't init mAnalyst when too few samples.  To do that init, we must call Recalc before we show the dialog.

Needs to be tested on Mac, because the change from SendRecalcEvent() to Recalc() might conceivably upset the Mac.
2015-10-06 21:28:22 +01:00