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

2693 Commits

Author SHA1 Message Date
David Bailes
a6808609ea Added i18n-hint for transport status strings in the status bar. 2015-06-13 16:48:57 +01:00
Leland Lucius
6960270270 Fix for bug #1016 2015-06-12 23:13:11 -05:00
Leland Lucius
1b369be614 Fix (hopefully final) for bug #1010. 2015-06-12 23:10:23 -05:00
Paul Licameli
60956bad79 Merge: Fix hit test for samples in multi tool in Waveform dB view 2015-06-12 12:25:28 -04:00
Paul Licameli
a585b3bbac Fix hit test for samples in multi tool in Waveform dB view 2015-06-12 12:22:51 -04:00
Leland Lucius
1ebe0d5868 Fix for bug #1025 2015-06-12 10:09:59 -05:00
Steve Daulton
8f3c8ac01b Fix - Generate should replace selection.
Generate Silence needs to be inserted into the selection
rather than overwriting mT0 to mT1.
2015-06-12 13:03:14 +01:00
Paul Licameli
4d2825e3d1 Bug837 Fix mismatch of spectrum display and vertical ruler...
... It was caused by unnecessary rounding to integer for "minSamples" and
"maxSamples".

Which were also misleading variable names, so I changed them.  And took the
excuse to rename some other variables.
2015-06-11 23:26:19 -04:00
Paul Licameli
97f06ec09c Less shimmer and maybe less CPU in display updates for scroll-scrub, because...
... tolerant comparison of pps values allows more cache reuse and avoids the
changing alignment of pixels to samples that causes the "shimmery" update.
2015-06-11 10:26:38 -04:00
David Bailes
8f9eda0214 Changed label, and name of AdornedRullerPanel to Timeline. Change requested by Robert Hänggi. 2015-06-11 13:15:42 +01:00
Leland Lucius
b000568d49 Fix for bug #1023 2015-06-10 21:59:02 -05:00
Paul Licameli
b24e0f9115 Change min/max frequency in spectrogram prefs causes display refresh (again)
... Sorry I broke that!
2015-06-10 14:49:04 -04:00
David Bailes
d5ea9a678e Fix for translations of strings for screen readers in MeterAx::GetName. The translations of strings which had a leading space did not always preserve this leading space, resulting in merged words. Therefore separate spaces were added, and the original strings left unchanged so that no new translation work is required. 2015-06-10 14:09:56 +01:00
David Bailes
cc9ac9804f Meters: fix indication of clipping for screen readers. 2015-06-10 13:56:47 +01:00
David Bailes
f98678c03a Fix for accessibility name of plug-in manager dialog. Just fixing a typo. 2015-06-10 09:00:39 +01:00
Paul Licameli
162418ff07 Fix compilation warnings 2015-06-10 02:04:07 -04:00
Paul Licameli
79305db179 Project.h does not need Meter.h 2015-06-10 00:29:47 -04:00
Paul Licameli
3a3b2d066c fix compilation warnings 2015-06-09 15:30:42 -04:00
Leland Lucius
34114aa1f7 Change "Builtin" to "Built-in" 2015-06-09 14:02:09 -05:00
Paul Licameli
e8d676c961 fix compilation warning 2015-06-09 14:22:13 -04:00
Paul Licameli
2e06d9c4fe class not struct, minor change 2015-06-09 13:59:25 -04:00
Leland Lucius
f040dd75b0 Change accessible title as well 2015-06-09 12:48:16 -05:00
Leland Lucius
19baefd186 Change plugin manager title 2015-06-09 12:35:01 -05:00
Leland Lucius
7d3c055200 Fix for bug #1017 2015-06-09 00:39:25 -05:00
Paul Licameli
0bed89419f More for bug 1014: stop scrubbing when switching out of select tool...
... Verified that this works for presses on tool buttons, and keys A, D, F1,
..., F6.

Also fix conditional compilation with EXPERIMENTAL_SCRUBBING_BASIC not defined.
2015-06-08 09:56:17 -04:00
David Bailes
d395a61450 Fix for initial width of actual rate field of status bar. This was too big, and causing messages in the main field to be truncated. 2015-06-08 12:33:20 +01:00
David Bailes
b65a3e00b7 Screen reader fix for radio buttons in Plug-in manager dialog. When setting radio button, nvda was also reading the selected item in the list. Fix is that the accessibility object for the list item is selected by not focused. 2015-06-08 11:43:22 +01:00
Paul Licameli
bb42f6e7c0 More minor spectrogram drawing changes...
... Removed an unnecessary zero-filling, added comments, removed a duplication
with a loop.
2015-06-07 17:37:52 -04:00
Paul Licameli
e943382953 Bug1014: Do not change the cursor for selection adjustment while scrubbing.
(Cursor may still change to the "forbidden" symbol at a boundary between clips.)
2015-06-07 17:11:50 -04:00
Leland Lucius
bc11576d22 Don't save interpreted strings to settings 2015-06-07 13:27:36 -05:00
Leland Lucius
f3f8e9cedb Make autosave filename English to work with Arabic translation on LInux
And just fix up a few comments.
2015-06-07 12:38:29 -05:00
Leland Lucius
a1edf31c99 Hopefully this will "fix" the Serbian (Cyrillic) issues on OSX.
Since I ran out of time, I put OSX back to the way it was in
2.1.0...forced locale to en_US.  Heck, I'm not sure there is
a "real" fix anyway.

At least, the problem languages appear to be happy now, even
when using the validators.
2015-06-07 08:03:18 -05:00
Leland Lucius
b1591b5767 Fix initialization when running from a chain
If the effect was run from a chain without first going into the
effect's dialog, it would error out cause the duration hadn't
been set properly.
2015-06-07 07:08:41 -05:00
James Crook
a13be332ff Enabled most built-in effects by default.
Now that Manage... is at the top, there is less reason to shorten the menu.  Forum team were strongly in favour of more rather than fewer effects being enabled by default.
2015-06-06 19:16:25 +01:00
Leland Lucius
c56fb03fd1 Further adjustments for SR friendliness 2015-06-06 12:54:05 -05:00
James Crook
2ba22cafb4 "Manage XYZ..." -> "Manage..." on menus.
To clear residual issue on http://bugzilla.audacityteam.org/show_bug.cgi?id=1011 Bug 1011 was a P1, and the residual is (in my estimation) P3, but it is still as well to clear it.
2015-06-06 18:25:23 +01:00
Leland Lucius
0e321133c1 Move instructions from the static box label to standalone 2015-06-06 11:09:03 -05:00
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
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
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
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