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

5568 Commits

Author SHA1 Message Date
Paul Licameli
4739f3e27b Compensate for wxW 3 tab navigation deficiencies on Mac...
... using char hook event handlers.  We don't need to go the extreme length
of patching wxWidgets source.
2016-06-25 19:14:05 -04:00
Paul Licameli
ae14cb0dbc Allow tabbing to the button on the time ruler...
... by making the ruler and the upper tool dock part of one panel
2016-06-25 16:08:38 -04:00
Paul Licameli
57788c8d7a Fix Mac tabbing to sliders and meters, analogously to buttons...
... And make sure they don't steal focus when clicked or double clicked
2016-06-25 16:08:38 -04:00
Paul Licameli
d31e96aa57 Make tabbing between toolbar buttons work on Mac 2016-06-25 16:08:37 -04:00
Paul Licameli
fe509ed412 Fix drawing of focus rectangles in buttons, meters, sliders on Mac 2016-06-25 16:08:37 -04:00
Paul Licameli
6a4d6ceeda Separate source files for ScrubbingToolBar 2016-06-25 15:05:17 -04:00
Raphaël Marinier
3120fa361e Code cleanup: Changed a few pointers to const pointers in FFT code 2016-06-25 20:41:02 +02:00
Raphaël Marinier
6ac68db5be Code cleanup: removed the old real FFT code not used since at least 2009.
I confirmed that the currently used real FFT code in RealFFTf.cpp is faster
than the old one with a quick benchmark that calls PowerSpectrum() on 4-minute
audio file, with different sizes of computation windows:

Window_size: 256 method: new FFT time_s: 0.393
Window_size: 256 method: old FFT time_s: 1.065
Window_size: 1024 method: new FFT time_s: 0.38
Window_size: 1024 method: old FFT time_s: 0.958
Window_size: 4096 method: new FFT time_s: 0.413
Window_size: 4096 method: old FFT time_s: 1.084
Window_size: 16384 method: new FFT time_s: 0.518
Window_size: 16384 method: old FFT time_s: 1.338
Window_size: 65536 method: new FFT time_s: 0.655
Window_size: 65536 method: old FFT time_s: 1.524
Window_size: 262144 method: new FFT time_s: 0.735
Window_size: 262144 method: old FFT time_s: 1.873
2016-06-25 20:40:16 +02:00
David Bailes
cf79f91da0 Fix bug 1418 - track focus problem.
To reproduce the bug: open audacity, press r, then spacebar to record some audio. The track is not the focus - the track panel is.

This was caused by commit 519a202. Most of the changes in this commit were latter reverted in commit 80e19f2, but not the changes to the file src/TrackPanelAx.cpp

The fix is to go back to the version of TrackPanelAx.cpp in commit db35301, the commit before 519a202.
2016-06-24 13:59:10 +01:00
Paul Licameli
79eeb03a50 Bug1382 again: Don't dirty undo stack exporting with no tag change 2016-06-23 23:16:46 -04:00
Paul Licameli
5a121bbbd8 Bug1252 more: Omit empty tool docks from ctrl+f6 rotation 2016-06-23 17:56:30 -04:00
Paul Licameli
48414d6e61 Bug1252 more: click buttons don't steal focus, ctrl+f6 still works 2016-06-23 16:38:15 -04:00
Paul Licameli
001e3af9cb Bug1416: Turn off the focusable Ruler experiment. 2016-06-23 14:07:32 -04:00
Paul Licameli
39063fba94 Guarantee default selection shows in Label Track's Font listbox...
On my Macintosh, with no audacity.cfg, selection is Lucida Grande when the
dialog opens.

Formerly, I saw no selection.
2016-06-23 13:45:22 -04:00
Paul Licameli
d787703fd9 foo 2016-06-23 12:40:37 -04:00
Paul Licameli
8d94cd7db5 Bug1252 more: fix ctrl+f6, revert unnecessary part of bug1202 fix
... see 93aeca9a48cb422987fafbdfb7764c6af789d6cb
2016-06-23 12:10:35 -04:00
Paul Licameli
e9cf0a8335 Bug1252: Ctrl-f6 cycle works on Mac even when combo has focus 2016-06-23 10:35:45 -04:00
Paul Licameli
a871257158 Make new patch work with -p0 2016-06-23 08:09:50 -04:00
Paul Licameli
beb94889fc Make new patch work with -p0 2016-06-23 08:07:19 -04:00
James Crook
6bc7924b16 Bug 1378 - Screenshot Tools images are mostly white background only.
Use 24 bit bitmap rather than default which is 32 bit.  Seems to be a wxWidgets 3.0.2 bug with ScreenDC.
2016-06-23 11:33:58 +01:00
Paul Licameli
c1ca055fa4 Bug1273: Restore 2.1.1 behavior of Metadata editor OK, Cancel, ESC...
Click twice on a grid cell; Cancel or OK dismiss the dialog.  But ESC does not,
and a second ESC does not either.  ESC dismisses the dialog only if the focus
is not in the grid.
2016-06-23 02:58:11 -04:00
Paul Licameli
9dcb2c87c3 Bug1338: PATCH WXWIDGETS to fix hanging Voxengo plug-in on Mac...
... This is an unusual fix!  The fix is in the build procedure, as described
in mac/Build.txt, not in Audacity's own code.
2016-06-23 00:45:52 -04:00
Paul Licameli
ad711e783b Bug470: Disable some Manage Curves buttons when no curve selected 2016-06-22 19:10:36 -04:00
James Crook
5b7e9518e2 mw2html.py - don't fetch audacityteam non wiki manual pages
The link to /donate/ was previously picking up some content from our wordpress site hosted on the same domain.
2016-06-22 22:04:32 +01:00
Paul Licameli
4c40a913b7 Bug1202, again: Sliders in toolbars don't steal focus! ...
... However there is some code in class ASlider meant to draw focus border.
But I verified that this had no effect on Mac, even in 2.1.1.

So, still no border.
2016-06-22 16:42:59 -04:00
Paul Licameli
ba1b63a435 Bug1223 again: redo the fix exactly as Roger Dannenberg wants it 2016-06-22 15:50:20 -04:00
Paul Licameli
5b315be2eb fix Linux build 2016-06-22 15:31:47 -04:00
James Crook
b4d6f5f03a Bug 1370 - mw2html: Filipino pages present.
Now excludes links containing /xx/, /xxx/ and  /xx_XX/.  Case sensitive, otherwise we exclude /FAQ/ and /SC4/
2016-06-22 19:23:07 +01:00
Paul Licameli
de9579dbe9 Bug1193: Mac font sizes as in 2.1.1 for ruler, sel toolbars 2016-06-22 14:21:04 -04:00
Paul Licameli
21ea9a5ead Bug1201: Be sure tool tips show for toolbar grabbers and resizers 2016-06-22 14:00:30 -04:00
Paul Licameli
9d506cd850 Bug1409 again: Dismiss Mac help window, be sure parent regains focus 2016-06-22 13:42:03 -04:00
Paul Licameli
56acdf684c Bug1202: Slider tooltips should not steal focus on Mac. 2016-06-22 11:28:03 -04:00
Paul Licameli
b81efbb816 Remove duplicated, inaccurate RMS calculations 2016-06-22 10:12:24 -04:00
Paul Licameli
80f7902976 More exact last RMS value in BlockFile's 64K-sample summaries 2016-06-22 10:11:57 -04:00
Paul Licameli
3410b601e1 A null pointer check 2016-06-21 19:02:04 -04:00
Paul Licameli
58e3f3da83 Bug1196: Don't trap focus in modal dialogs in alt+f6 cycle
This fix is good for Mac only, but maybe the same could apply to Linux.

See also commit a00f866b5425572dbb8032d93ad2627fa07e1d08

That commit fixed, e.g., alt+f6 cycling between the main window and the splash
dialog when starting Audacity.  However, alt+tab to switch applications, then
again to return to Audacity, still trapped you.

This further change eliminates the other trap.

Perhaps the conditional compilation #ifdef __WXMAC__ in these two commits
could be broadened to cover Linux and the bug will be fixed there too.
2016-06-21 18:29:00 -04:00
Paul Licameli
8ad9fd257c Bug1223: Avoid stack overflow crash generating long click track 2016-06-21 17:52:30 -04:00
Steve Daulton
03915b4438 Fixes to Analyze Contrast
Now supports stereo tracks. Several tweaks to error messages,
validation logic, and accuracy improvements.
Includes a fix for summary64K (incorrect rms drawn on zoomed
out waveform).
2016-06-21 22:07:50 +01:00
Paul Licameli
04377f71c6 Bug1249: Drag to rearrange tracks: don't halt at panel top or bottom 2016-06-21 17:03:25 -04:00
Paul Licameli
7808064ae1 Bug1409: Mac: Restore focus to Contrast after dismissing help window 2016-06-21 13:11:35 -04:00
Paul Licameli
839bb0a6db Help dialogs are modal only when necessary 2016-06-21 11:54:21 -04:00
Paul Licameli
a00f866b54 Bug868: Mac: Fix (Shift+)Alt+f6 navigation cycle through top windows 2016-06-21 11:15:09 -04:00
Paul Licameli
d708989711 Bug1408: Don't leave empty frame behind, dismissing Timer Record help 2016-06-21 09:59:26 -04:00
Paul Licameli
51a1323b38 Fix assertion on Windows opening ruler menu during scrub 2016-06-21 09:10:46 -04:00
Paul Licameli
e2fe709928 Fix assertion on Windows opening ruler menu during scrub 2016-06-21 09:10:27 -04:00
Paul Licameli
d6187f6972 Ensure correct update of Selection bar tooptips for language change 2016-06-21 00:15:37 -04:00
Paul Licameli
9b21e11ff6 More rapid response from tooltips for pushbuttons, on Mac at least 2016-06-20 23:59:42 -04:00
Paul Licameli
013bcf9635 Bug122: Dragging selected point label should update cursor 2016-06-20 23:13:35 -04:00
Paul Licameli
02ce3c312b Bug119: Export Multiple /, *, ? handled incorrectly 2016-06-20 22:32:23 -04:00
Paul Licameli
5e95491bfc Enh 66 again: do not make duplicate About dialogs on Mac 2016-06-20 19:15:05 -04:00