1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-30 15:39:27 +02:00

2059 Commits

Author SHA1 Message Date
david avery
c112d47147 one more wx 31 change 2015-04-11 21:00:37 -06:00
david avery
4e14f42847 Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/SelectedRegion.h
2015-04-11 18:49:47 -06:00
david avery
b258146f59 more wx 3.1 changes 2015-04-11 17:56:34 -06:00
david avery
476a1f62c3 update for wx 3.1.0 compatiblity - all changes are either wxCHECK_VERSION(3.0.0) wrapped or safe with wx 2.8 - wx 3.1 2015-04-11 17:54:33 -06:00
James Crook
8ca9daf9c6 Merge pull request #27 from yurchor/master
Add Ukrainian translation to desktop file
2015-04-11 22:59:44 +01:00
James Crook
7adf17b13f #include <math.h>
For sqrt() that linux needs.
2015-04-11 22:35:37 +01:00
david avery
fb5b563b2f fix linux build
add #include <math.h>
2015-04-11 15:15:32 -06:00
david avery
ecd0222a15 update src/effects/NoiseReduction.cpp to build on wxWidgets 3 2015-04-11 13:05:10 -06:00
Yuri Chornoivan
7256eb9a3b Add Ukrainian translation to desktop file 2015-04-11 19:31:04 +03:00
Paul-Licameli
c8634fa7a3 Revert "Temporarily fix linkage by moving all code out of new .cpp file to elsehwere"
This reverts commit 2bf9eb7d251145790bfc1fec1b0626e11eaece6f.
2015-04-11 11:04:13 -04:00
Steve Daulton
a6ab3bfc11 Merge remote-tracking branch 'audacity/master' 2015-04-11 15:51:10 +01:00
Steve Daulton
2437ef24d2 fill gaps in meter / Waveform (dB) ranges 2015-04-11 15:35:47 +01:00
Leland Lucius
981cb47311 Add new files to Mac and Linux builds 2015-04-10 23:19:43 -05:00
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