1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-20 01:21:16 +02:00
Commit Graph

2046 Commits

Author SHA1 Message Date
Paul-Licameli
2bf9eb7d25 Temporarily fix linkage by moving all code out of new .cpp file to elsehwere 2015-04-10 21:54:18 -04:00
Paul-Licameli
7d6de21e3a Enh809 - Add persistency of spectral selections, including those in labels 2015-04-10 15:20:50 -04:00
Paul-Licameli
5d19887da6 Bug812 - Vertical scrollbar position should be persistent too, as is horizontal
Effective but perhaps inelegant fix.
2015-04-10 15:20:32 -04:00
David Bailes
c6455312aa provide a limited version of functionality of AudacityProject::OnPlayToSelection() for keyboard users 2015-04-10 14:53:48 +01:00
Paul-Licameli
82fe9a162c Refresh display after ESC aborts a drag, as James suggested.
Otherwise zoom lines did not disappear if you hit ESC while the cursor is
outside the main window.
2015-04-09 22:26:34 -04:00
Paul-Licameli
fe12fce270 Bug830 - Paste should not destroy envelope information in the clipboard 2015-04-09 19:49:01 -04:00
Paul-Licameli
e26ab98e0e Bug 828 (partial) - Don't divide by zero in Contrast dialog 2015-04-09 19:21:39 -04:00
Paul-Licameli
a583fafbb7 Fix a memory leak
This branch of the function is never reached because of checks in
class EffectRepair, but anyway.
2015-04-09 19:09:33 -04:00
James Crook
f80db283b5 Use ReleaseMouse not ReleaseCapture
Change made to fix broken build under Linux.
2015-04-09 23:43:28 +01:00
James Crook
e5dbc4251c Merge pull request #23 from Paul-Licameli/master
ESC key can abort some dragging actions
2015-04-09 22:17:54 +01:00
Paul-Licameli
903fcb1fc2 ESC key can abort certain dragging actions
For now, let it abort vertical scale zoom
(any mouse button in any tool, in the vertical ruler)
and horizontal zoom
(any mouse button in the zoom tool or right mouse button in the multi tool,
in the wave display)

Should any other drags be escapable too?
Time shifting?  That would need some more work to restore initial state.
2015-04-09 15:50:04 -04:00
James Crook
291a465a76 Build Revision Info Added
Travis now overwrites RevisionIdent.h to place a commit reference into the Build Info of the AboutDialog
I also added .opensdf to .gitignore.
2015-04-09 20:41:21 +01:00
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