1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-05 06:09:47 +02:00

2034 Commits

Author SHA1 Message Date
James Crook
7bcba2a0b6 Merge pull request #22 from chrisdiamand/master
Don't capture the mouse if it's already captured.
2015-04-09 10:59:42 +01:00
Paul-Licameli
fe8d3535d8 Bug819 - Paste should not change clipboard contents when sample formats differ 2015-04-08 19:11:50 -04:00
Chris Diamand
01c346fe91 Don't capture the mouse if it's already captured.
Otherwise the following assertion gets triggered:
../src/common/wincmn.cpp(3271): assert "!wxMouseCapture::IsInCaptureStack(this)" failed in CaptureMouse(): Recapturing the mouse in the same window?

Based on the fix provided for an identical assertion triggered elsewhere,
described here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765779
2015-04-08 22:52:24 +01:00
Paul-Licameli
44fc5b9f4d Bug859 - Play indicator incorrect for very short loop plays (< 15 ms) 2015-04-08 17:45:22 -04:00
Paul-Licameli
36dd49ff50 Really fix linux compilation! 2015-04-08 15:12:51 -04:00
Paul-Licameli
0a69283a7e Fix linux compilation 2015-04-08 12:15:30 -04:00
Paul-Licameli
14a36dad46 Bug834, part 2 - Memory leak and orphans after cancelling any generator
New project.  New track.  Generate sound -- do not cancel.  Select all,
generate sound again -- this time, do cancel the progress dialog.

Undo, so you see one, empty track again.  Save.  Close.  Reopen.

The cause of these orphans is different from the first case.  The previous
commit is necessary but not sufficient to fix this.
2015-04-08 11:41:38 -04:00
Paul-Licameli
a562f2c922 Bug834, part 1 - Memory leak and orphans after cancelling any generator
This fixes the first of two related memory leak bugs:

New project.  Make a new track.  Select the track and use any generator, such
as white noise, specifying a long enough length that a progress dialog appears.
Cancel the progress dialog.

Save the project.  Exit and restart Audacity.  Reopen the project.

Orphans!
2015-04-08 11:40:30 -04:00
Leland Lucius
5b4b3e3c53 Merge pull request #19 from lllucius/add_missing_changes
Adding changes that I missed when redoing my branches.
2015-04-08 10:23:00 -05:00
Leland Lucius
a66184f259 Adding changes that I missed when redoing my branches. 2015-04-08 10:21:17 -05:00
Paul-Licameli
d37a730f56 Bug822 - memory leak and orphans when paste eliminates cutlines 2015-04-08 09:37:46 -04:00
Leland Lucius
21c2e5f994 Meter refresh rate not updated when leaving preferences. 2015-04-08 03:03:44 -05:00
Vaughan Johnson
f88b27e6d8 Audacity.h: Upped version and back to IsAlpha
Also updated copyright comments.  1999-2015 rather than 1999-2011.  Vaughan Johnson now listed as contributor to this file.  'et al' corrected to 'et alii'.
2015-04-07 21:40:02 +01:00
Vaughan Johnson
26daea02e4 AboutDialog: Moved Paul Licameli up to Audacity team. 2015-04-07 21:35:45 +01:00
Paul Licameli
fe6f83feea Fix small memory leak in noise reduction, whenever Step 1 fails or is cancelled 2015-04-07 12:22:04 +01:00
Leland Lucius
2457579091 Bug 765 - Delays using Edit commands and Draw Tool in long projects
A 4hr track used to take about 20s to cut a few samples. This is now significantly improved, to around 3s. Leland did this by

(a) moving the size calculation to when we examine the undo history, so it isn't slowing down the edits.
(b) in size calculation, using sizes that are cached rather than going to disk to find the sizes.
(c) writing the autosave file which is to an FFIle to a string first, i.e. using XMLStringWriter as a buffer for XMLFileWriter.

Step (c) may also make autosave marginally safer, as the risk of a partially updated autosave file is reduced.
2015-04-07 12:20:50 +01:00
James Crook
cedc6975e8 Fix missing parameters in chains for ChangeSpeed effect 2015-04-07 12:20:08 +01:00
James Crook
16e9123ec1 Bug902 - WX3: Experimental wx3 version of Audacity potentially in Linux distros, and not obvious to users.
Added a message dialog early on in Inits.  It links to the wx3 tagged bugs in bugzilla.
Also fixed an uninitialised warning.
2015-04-07 12:19:09 +01:00
Paul Licameli
bc50440210 Bug881 - Status bar messages swapped 2015-04-07 12:18:40 +01:00
Paul Licameli
b8af2d566f Bug886 - Some strings not translated in noise reduction
It may be too late for 2.1.0.  But anyway, I have written in the fix in
a way that does not disturb line numberings.
2015-04-05 22:30:48 +01:00
Paul Licameli
e9537fccb8 Bug897 - Time ruler is not redrawn for zoom or horizontal scroll when play region is locked
Added a Refresh() to fix this.
2015-04-05 22:27:35 +01:00
lllucius
5d3e9ade95 Return to using private (l)lrint(f) inline functions. 2015-03-16 20:34:05 +00:00
v.audacity
58bca2e8a9 fix for http://bugzilla.audacityteam.org/show_bug.cgi?id=883 2015-03-03 01:48:07 +00:00
stevethefiddle@gmail.com
d53c1bf299 Disable experimental seek. 2015-02-24 23:50:20 +00:00
v.audacity@gmail.com
7e96305991 Get rid of an unused var to avoid compiler warning. 2015-02-19 11:17:40 +00:00
v.audacity
5f1ce03e32 PRL's fix for bug 827 2015-02-19 11:08:58 +00:00
lllucius@gmail.com
ea074f889b Regenerate build files on Debian Wheezy
This will fix building the minsrc tarball on Debian Wheezy
2015-02-17 16:19:57 +00:00
lllucius@gmail.com
5d1dc4ce6a Fix part 2 of bug #857
Gale found that the previous fix for bug #857 didn't
completely address all crashes.

In this case, the sequence of events:

1)  Dynamic module is added to list of module using its name, "VST Effects"
2)  Language is set (during init) to one that has "VST Effects" translated
3)  Language is changed to something else via preferences, which changes
    translation of "VST Effects" to something else.
4)  During termination, the module is deleted, but since the language
    has now changed due to translation, it isn't deleted from the list
    of modules
5)  An attempt is made to delete the next module, which happens to be
    the same one becuase it was never removed from the list.
6)  Boom...
2015-02-14 17:14:23 +00:00
v.audacity@gmail.com
e6dfecc2d0 Turn off IS_ALPHA per release agenda step 6.1. 2015-02-13 02:28:26 +00:00
lllucius@gmail.com
e73b7e70a3 Fix for bug #857
Even though this is only a P2, I felt it would be
quite bothersome for the users and might cause some
confusion.

The problem was the the wxLocale was being deleted
before all usage of it was complete.  The fix was
to explicitly delete the plugin and module managers.
2015-02-12 02:30:30 +00:00
lllucius
c88c1738bb Fix for bug #854 2015-02-08 10:22:46 +00:00
lllucius@gmail.com
de0ec7e5e5 Add missing return statements.
Sorry about that...extracted the change from a "working tree" and missed 'em.
2015-02-03 01:07:50 +00:00
lllucius@gmail.com
5826525970 Fix for P1 bug #850
This ensures that the settings file gets flushed after the presets
are removed so it won't happen during termination.
2015-02-02 15:40:15 +00:00
james.k.crook@gmail.com
abda1166de Fixed issue Steve rated as P1/P2 where noise reduction applied to just the (unseen) spectral selection.
Fix, which is to disable that aspect, was agreed between Paul, Bill, Steve (and OI agree too) and as a TL I'm putting it into action so as not to hold up release with a P1.
2015-01-30 20:43:28 +00:00
lllucius@gmail.com
5d595b745c Workaround for the "P1" assignment on bug #736 2015-01-29 07:02:02 +00:00
james.k.crook@gmail.com
58096be5a2 Preparation for 2.1.0 release: (1) Set Noise Reduction parameters to agreed values. (2) [Reluctantly] Disable Module Prefs. 2015-01-24 14:56:29 +00:00
stevethefiddle@gmail.com
57d218bcec Minor bug fix. No user impact. 2015-01-22 08:50:00 +00:00
stevethefiddle@gmail.com
4a19fa798c Disable Experimental Scrubbing for 2.1 release. 2015-01-22 02:25:19 +00:00
lllucius@gmail.com
661eb445d1 Ensure socket name supports either option described in bug #840
Doing now so we don't get into supporting another legacy name.
2015-01-21 17:01:06 +00:00
lllucius
361d3add9b Revert r13868 and fix access violation on Windows
This puts the single instance checker back to pre-13868
behavior, so we're back to being able to open multiple
instance if the temp directory is different in portable
settings.

The access violation has apparently been happening for
quite a while, just hidden because it happened when
additional Audacity instances were executed and the DDE
command was sent to the first instance.  After sending
the command, the connection was disconnected, but the
object had already been deleted by the command execution
so a first-chance exception was triggered.
2015-01-21 07:52:15 +00:00
lllucius
09c213feed Applying Paul's fix for bug #818
While I didn't see the crash in action, the patch definitely
fixes the possibility of one.
2015-01-20 06:34:55 +00:00
lllucius@gmail.com
45c5bdfa45 Fix Linux build 2015-01-19 18:04:43 +00:00
lllucius
3d420e019c Applied accessibility patch from David that I missed.
From David's message:

   "solution to the problem of getting jaws to read the updated
   name after choosing start/stop monitoring on the menu"
2015-01-19 17:47:39 +00:00
lllucius
10f62cdae5 Fix for bug #833
This allows duplicate items in the effects menus and provides a
means to uniquely identify each item.
2015-01-19 16:28:48 +00:00
lllucius@gmail.com
a286b0e5a4 Don't need the separator on the Mac. 2015-01-12 01:07:11 +00:00
lllucius@gmail.com
85f6279d21 This fixes a couple of issues with AudioUnits and 1 with latency
If latency was introduced by an effect, the input position could
get offset by the amount of latency, such that the same input
would be processed twice for the number of sample of latency.

There was an issue in AUs where a "latency done" flags wasn't
being reset and so the second and subsequent uses of an effect
could not latency correct.

And in research that, I found that you need to set the sample rate
on all 3 scopes (global, input, and output) instead of just the
global scope.
2015-01-11 22:52:08 +00:00
lllucius
dbe7e0280c Well r13875 was pretty dumb...try again 2015-01-10 20:41:49 +00:00
lllucius
e33cf84e35 Reduce accessibility chattiness in meters 2015-01-10 20:33:57 +00:00
lllucius
57d18d7bcb Further correction for bug #795 2015-01-10 18:16:55 +00:00
lllucius@gmail.com
d03da2deb4 This should be the final fix for bug #202
Command line parsing has been revised and used
for the primary Audacity command line as well as
any secondary Audacity executions.

This way if multiple filenames are included on
the secondary executions, then we now pass ALL
of the filenames instead of just the first one.
2015-01-10 10:25:49 +00:00