1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-04 14:19:30 +02:00

474 Commits

Author SHA1 Message Date
Paul Licameli
0ce4fe0b83 Sweep unnecessary wxString copies: prefs 2016-02-22 21:30:42 -05:00
Gale Andrews
af16636fe2 More accurate label for track name display
Feel free to tweak, but it was messing up docs to suggest it did not display in Spectrograms,
2016-02-19 23:52:25 +00:00
Paul Licameli
97a69e9ccc A few more safenew 2016-02-18 07:17:26 -05:00
Paul Licameli
df6a7c5464 More uses of safenew for classes we derive from wxWindow classes...
... Also removed some unnecessary deletes of widgets that are managed by parent
windows
2016-02-14 20:39:28 -05:00
Paul Licameli
3f237daddc Use macro safenew for many allocations of wxWindow subclasses 2016-02-14 20:20:19 -05:00
Paul Licameli
6052b5f9be Throw by value, catch by reference: don't use pointers...
... that's what the better books on C++ recommend.
2016-02-14 19:36:17 -05:00
Paul Licameli
7c4c45a0d5 "new"->"NEW" in comments, easier to find remaining naked operator new 2016-02-14 18:52:41 -05:00
Steve Daulton
d6b8080a5d Fix for bug 1313 2016-01-29 22:12:41 +00:00
Paul Licameli
1083c4a049 Bug1169 again: correct shuttling of spectrogram scale values with dialog on Apply 2016-01-26 23:57:32 -05:00
Paul Licameli
907c950a0e Bug1288: Don't crash when changing language to "Simplified"...
... but give a warning message about the unknown language.
2016-01-26 20:09:54 -05:00
Steve Daulton
8a6edf3623 Add custom track name defaults to preferences 2016-01-21 02:42:25 +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
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
9dd79c9f80 Remove flushing of preferences in ShuttlePrefs and only
flush when all settings have been written.
2015-12-21 20:07:24 -06:00
Paul Licameli
8d5841331b Bug1213: "Spectrogram" not "Spectrum" in tracks prefs.
This is a string change, however that string should be replicated elsewhere in\
the translation files.
2015-09-23 09:13:42 -04:00
Paul Licameli
6a1f830022 Bug1187: validate before Applying changes of spectrogram preferences 2015-09-08 10:28:34 -04:00
Paul Licameli
b84c1b322e Bug1169: end the separate treatment of lin vs. log display bounds for spectrum...
... also make WaveTrack responsible for storing and validating the bounds
... also let the bounds vary per-track even though other settings are default
... also change some code names to mention "period" not "undertone"
2015-09-06 21:47:14 -04:00
James Crook
fa5d9301f3 ERBS -> ERB
Accepted argument that ERB was technically more correct.  Searching graphs on the internet, you don't see 'ERBS'
2015-09-03 19:41:04 +01:00
Paul Licameli
9c483e2e86 Add (redundant) #include "Experimental.h" in all .cpp files using the symbols 2015-08-31 17:56:10 -04:00
Paul Licameli
1278b9644a Uniform naming of symbols in Experimental.h 2015-08-31 17:55:56 -04:00
Paul Licameli
d18553a3f0 Put Experimental.h (redundantly) in headers that rely on it 2015-08-31 17:53:12 -04:00
Paul Licameli
4dc4932efb Rename 1 / f scale to "Period" 2015-08-31 13:16:23 -04:00
David Bailes
1b6b354fc6 Remove the setting of the maximum size from the Preferences dialog.
The maximum size setting could introduce a horizontal scroll bar in the
keyboard preferences, making it awkward to read them.

The maximum size has been removed, but the initial, and minimum size
remain unchanged.
2015-08-27 15:35:07 +01:00
Leland Lucius
6a9dae20f5 Appearance on OSX is now back to normal or better
Some additional wx3 cleanup as well.
2015-08-23 20:25:01 -05:00
Paul Licameli
49ff3ae78f Be sure OK button of preferences dialog is default 2015-08-21 06:25:00 -04:00
Paul Licameli
b3f4050627 Group Spectrograms Preferences page under Tracks, again 2015-08-20 13:32:41 -04:00
Paul Licameli
1eef41607e Recode the Apply button of Spectrogram Preferences so it is next to OK/Cancel 2015-08-20 13:24:55 -04:00
Paul Licameli
8c58e0ea71 Update vertical ruler width correctly when applying view settings changes 2015-08-20 12:18:36 -04:00
Paul Licameli
b11f57a643 Fix bugs in retraction of Waveforms preferences page 2015-08-19 11:52:31 -04:00
Paul Licameli
4a704af03f Restore Waveform (dB) to Tracks preferences for default view mode 2015-08-19 10:21:09 -04:00
Paul Licameli
112d2a903b Rename View Settings... to Spectrogram Settings... and enable it only for...
... spectrogram views, and don't show the Waveforms page.
2015-08-19 10:21:04 -04:00
Paul Licameli
0a41a1eba2 Remove Waveforms page from Preferences, put Spectrograms back in old place 2015-08-19 10:21:02 -04:00
Paul Licameli
28d552c39b Prefs dialog, when constructed with a single page, does not show the tree 2015-08-19 10:20:59 -04:00
Paul Licameli
b9db3bd83d Define and use TranslatableStringArray. This lets you define "listeners"...
... for language changes, without inserting extra code to send the
notifications.
2015-08-17 12:04:21 -04:00
Paul Licameli
84ee685ee9 reassignment, internals, implementing time correction, but -- ...
... it does not yet interact correctly with caching, so results may be
slightly wrong if you scroll the view by less than a screen.
2015-08-17 09:17:46 -04:00
Paul Licameli
7113d533fb reassignment, internals, implementing frequency correction only 2015-08-17 09:17:45 -04:00
Paul Licameli
1f94d99c43 reassignment added to list of algorithms in settings and preferences 2015-08-17 09:17:42 -04:00
Paul Licameli
2855186408 fix a memory leak 2015-08-17 08:39:28 -04:00
Paul Licameli
5d2ccbc207 Don't use a "magic number" 2015-08-17 08:37:59 -04:00
Paul Licameli
a6172d932b Add an i18n-hint comment 2015-08-16 19:57:21 -04:00
Paul Licameli
e5b60d8f0a Rearrange Spectrograms preferences page and change some names...
Three boxes called Scale, Colors and Algorithm, and the spectral selection
checkbox

ERB is now ERBS
STFT is now Frequencies
Shortened other algorithm name to Pitch(EAC)
2015-08-16 14:40:30 -04:00
Paul Licameli
9ee76d93c1 Group "extended import" page of Prefs under "Import/Export" 2015-08-16 13:11:00 -04:00
Paul Licameli
141d93bbc0 Ctrl-mousewheel in vertical ruler of waveform dB view varies bottom of scale...
... provided the bottom is visible
2015-08-16 12:18:17 -04:00
Leland Lucius
b7fc0e4631 Fix for bug #1086 2015-08-16 04:08:34 -05:00
Paul Licameli
cf45a58fdc dB range is now in Waveforms preferences and view settings, and ...
... the preference is independent of those in Interface and Recording
preferences, which affect meters, sound activated recordings, time track,
and Plot Spectrum
2015-08-15 18:07:29 -04:00
Paul Licameli
859b69262e Make the Tracks tree node in Preference dialog expanded by default. 2015-08-15 09:05:29 -04:00
Paul Licameli
f0fe2cb04c Group Spectrograms and Waveforms preferences under Tracks 2015-08-15 08:19:41 -04:00
Paul Licameli
b5028087b6 capitalize 'Spectral Selection' 2015-08-11 10:38:15 -04:00
Leland Lucius
4cd7757cf4 Batting 1000 tonight...make sure navigation works on Windows. 2015-08-04 22:41:52 -05:00