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

3744 Commits

Author SHA1 Message Date
Paul Licameli
976eb6164f More reorganization of wave and spectrum caches, and performance...
Simplify the partial copying of wave and spectrum caches.  Use memcpy for speed.

Don't memcpy out of the caches into temporary buffers for TrackArtist,
just pass
pointers.

More vectors in the cache classes, fewer deletes.

Pulled big loop, and its body, out of the spectrogram routine into functions.
2015-06-06 11:43:10 -04:00
Paul Licameli
9b8244635d Merge branch 'master' into refactor 2015-06-06 11:42:52 -04:00
David Bailes
a96c719c54 Addition to the accessibility names of tracks, suggested by Robert Hanggi. If the track is a Label, Time or Note track, then this information is added after the track name. 2015-06-06 13:22:16 +01:00
David Bailes
df9481b3d9 Fix for accessibility names of tracks due to problems with translations. The strings for mute on, solo on, etc contained a leading space. Many of the translations of these strings did not include the leading space, resulting in merged words. Therefore a space has been added as a separate string. Because screen readers are not affected by multiple spaces, the leading spaces have been left in the original strings so that no new translations are needed. 2015-06-06 11:52:04 +01:00
Leland Lucius
018c0d46ea Forgot to hyphenate plugin 2015-06-05 19:01:00 -05:00
Leland Lucius
60f4ae1941 Fixing some i18n issues with the plugin settings file 2015-06-05 18:56:24 -05:00
James Crook
42249e74a2 Bug 1011 - Upgraders from 2.1.0 can't see how to add plug-ins or enable disabled built-in effects without scrolling the Effect Menus
Fixed by moving 'More...' to the top on each of the relevant menus, and calling it 'Manage XYZ...' instead.
2015-06-05 18:14:20 +01:00
Leland Lucius
b5e4dd72d4 Renamed it everywhere else...missed there reason for the rename...DOH 2015-06-04 20:54:38 -05:00
Leland Lucius
7dd92d9f5a Ensure user languages are added before any other language handling 2015-06-04 16:35:46 -05:00
Leland Lucius
fc709770d6 Fix build error on Linux/OSX 2015-06-04 16:06:03 -05:00
Leland Lucius
c9327a9df0 Addition fix/changes for bug #673
This changes the way "unofficial" Inno Setup translations
are handled.

The first time a user compiles the .iss, the "unofficial" translations
will be downloaded to:

   C:\Program Files (x86)\Inno Setup 5/Languages/unofficial

Any translations supported by Audacity that do not have an Inno
translation will be automatically created from the Default.isl in:

   C:\Program Files (x86)\Inno Setup 5/Languages/dummy

This is all handled by the Inno Preprocessor.  Powershell is used
to do the actual download.

Once downloaded, they will not be downloaded again, so if updates
are made, they will need to be deleted from the above directories
and allowed to download again.

In addition, I extracted the "Reset Preferences" translations from
the Audacity .po files and added them to the .iss file.

Audacity private Inno translation files are still supported in
win/InnoSetupLanguages, but I've removed the samples I'd previously
committed.

While not exactly related to this change, there were 2 languages
that weren't being set properly after being selected during
installation:

   ca@valencia (Valencian)
   bs (Bosnian)

The reason Valencian wasn't be displayed in preferences was twofold.
It was incorrectly named and the search loop in Languages:GetLanguages()
didn't include a range sufficient enough to pull the Valencian info.

The Bosnian language is supported by wxWidgets 2.8.12 (it is in wx3)
so, even though we have a translation, it was unavailable for
selection.

The changes required to fix those issues were:

1)  Renamed ca@valencia to ca_ES@valencia
2)  Instead of iterating over all wxWidgets languages and trying to
    match them with our translations, I reversed it.  It now iterates
    over our translations and asks wxWidgets for the associated
    language info.  This provides support for both of the above
    languages.
3)  By doing #2, we are now able to add additional user languages that
    may not yet be supported by wxWidgets.  So, I added the Bosnian
    language info.
2015-06-04 14:19:06 -05:00
Paul Licameli
cf54b4c314 Merge: more drawing code reorganizations...
Fix compilation of some disabled experimental branches for spectrograms ...
  Keep FFT windows for Spectrograms in one place in SpectrogramSettings...
  Created a global structure to hold spectrogram preferences...
  Don't invalidate SpecCache for changes of min, max, gain or range...
2015-06-04 11:32:01 -04:00
Paul Licameli
1916bc3142 Fix compilation of some disabled experimental branches for spectrograms ...
... Not promising that they work, just compilation.
2015-06-04 11:30:08 -04:00
Paul Licameli
afa2fe9fb4 Keep FFT windows for Spectrograms in one place in SpectrogramSettings...
... not redundantly in each WaveClip.
2015-06-04 11:29:18 -04:00
Paul Licameli
952a22c8b1 Created a global structure to hold spectrogram preferences...
Don't read "/Spectrum/" preferences anywhere but in SpectrumPrefs.cpp.
Don't store global values in TrackArtist.

Possibly some day, there will be other instances of SpectrogramSettings so we
can have independent per-track settings.
2015-06-04 11:29:17 -04:00
Paul Licameli
38f24a42ef Don't invalidate SpecCache for changes of min, max, gain or range...
... because those do not affect it.  They only affect the SpecPxCache.

Did other things to that class:  renamed fields, new constructors.
2015-06-04 11:29:16 -04:00
Paul Licameli
77a79c727c Merge branch 'master' into refactor 2015-06-04 11:28:59 -04:00
Leland Lucius
4367dcf5a3 Forgot to save before committing...grrrr!!! 2015-06-04 04:09:00 -05:00
Leland Lucius
cbe77693ea Final (hopefully) fix for bug #947 2015-06-04 03:29:27 -05:00
Leland Lucius
d76ed7e837 Fix for bug #1006 2015-06-03 14:55:52 -05:00
Leland Lucius
cdfb55ddf5 Fix for bug #1008 2015-06-03 14:11:35 -05:00
Paul Licameli
f3e17b76d0 Merge Bug1009: Correct interaction of Zero Padding and Frequency Gain... 2015-06-03 15:08:39 -04:00
Paul Licameli
ba5738446c Bug1009: Correct interaction of Zero Padding and Frequency Gain...
... also an excuse to pull out a function I will want to reuse in a later
project.  The real fix was simply to use fftLen not windowSize.
2015-06-03 15:01:54 -04:00
Paul Licameli
54e9e4950c Merge branch 'master' into refactor 2015-06-03 14:59:24 -04:00
James Crook
388b35623c From sourceforge to audacityteam about page. 2015-06-03 19:36:46 +01:00
James Crook
c1ef377e5b Plugins -> Plug-ins 2015-06-03 19:17:32 +01:00
Leland Lucius
8c454ffa6b Additional fix for bug #673 and fix for bug #1007 2015-06-03 10:52:05 -05:00
Paul Licameli
b01836ed5a Merge: Some simplified argument passing in drawing code 2015-06-03 11:27:08 -04:00
Paul Licameli
3e61ae0db5 Some simplified argument passing in drawing code 2015-06-03 11:26:22 -04:00
Paul Licameli
00e1c00c9a Merge branch 'master' into refactor 2015-06-03 10:59:19 -04:00
David Bailes
89973ad463 Fix for mute all tracks. Previously tracks other than wave tracks were muted, eg label tracks, and screen readers read them as being muted, which makes no sense. 2015-06-03 13:14:29 +01:00
Paul Licameli
b288a8500a Merge Draw Tool bug fixes and enhancements: ...
Enable draw tool in Waveform dB view
  Bug1005: draw tool performance
  Bug1003: Use correct envelope value in pencil tool drag
  Bug1002: Alt-click in pencil tool never starts a drag
  Bug1004: undo history message
  Pulled repeated code into a function; share some calcs with Envelope editor
  Remove unused variables; fewer casts
2015-06-03 02:38:33 -04:00
Paul Licameli
1b57335dca Enable draw tool in Waveform dB view 2015-06-03 02:38:17 -04:00
Paul Licameli
00ab193246 Bug1005: draw tool performance 2015-06-03 02:38:13 -04:00
Paul Licameli
6faf4c98c1 Bug1003: Use correct envelope value in pencil tool drag 2015-06-03 02:38:12 -04:00
Paul Licameli
7c48a76d18 Bug1002: Alt-click in pencil tool never starts a drag 2015-06-03 02:38:11 -04:00
Paul Licameli
a2bceee698 Bug1004: undo history message 2015-06-03 02:38:02 -04:00
Paul Licameli
f332df1f36 Pulled repeated code into a function; share some calcs with Envelope editor 2015-06-03 02:37:42 -04:00
Paul Licameli
85a533be79 Remove unused variables; fewer casts 2015-06-03 02:37:41 -04:00
Leland Lucius
607cc30bf4 Add new plugins to Xcode 5+ project 2015-06-03 01:34:42 -05:00
Leland Lucius
801706bf91 Add new plugins to Xcode project 2015-06-03 01:30:16 -05:00
Leland Lucius
36de22efc7 Add new plugins to Windows project 2015-06-03 01:27:12 -05:00
Leland Lucius
054ec3ee1a Fix for bug #673 2015-06-03 01:22:18 -05:00
Paul Licameli
64dc437768 Merge: Avoid assertion violation while scrolling 2015-06-02 22:38:41 -04:00
Paul Licameli
8d5052bf4e Avoid assertion violation while scrolling 2015-06-02 22:38:08 -04:00
Paul Licameli
74beaa3436 Merge branch 'master' into refactor 2015-06-02 22:35:08 -04:00
Leland Lucius
4db62ff68c Fix for bug #996 2015-06-02 18:27:37 -05:00
Paul Licameli
64ff117803 Merge Fix uninitialized variable 2015-06-02 19:25:02 -04:00
Paul Licameli
e900a2b21c Fix uninitialized variable 2015-06-02 19:24:46 -04:00
Paul Licameli
6c69fe3c67 Merge some more drawing-related code reorganization 2015-06-02 19:19:38 -04:00