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

152 Commits

Author SHA1 Message Date
James Crook
697d668d55 Merge pull request #100 from henricj/manifest
Update the manifest pragma to match the docs.

Using * for processorArchitecture should work on both 32 and 64 bit systems, with Audacity compiled for 32 bit.
2016-02-13 19:17:45 +00: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
henric
e3c10c9925 Update the manifest pragma to match docs.
The language and processorArchitecture are wildcards.
2016-01-24 02:13:05 -07: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
0629c31538 Change name to prevent further confusion 2015-12-23 12:39:26 -06:00
Leland Lucius
d3fdccffce Fix for bug #1271 2015-12-21 19:32:43 -06:00
Leland Lucius
a584759f01 Further changes for #964...
...batting 1000 tonight.  grrrr
2015-09-04 01:59:17 -05:00
Paul Licameli
9c483e2e86 Add (redundant) #include "Experimental.h" in all .cpp files using the symbols 2015-08-31 17:56:10 -04: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
48ed1fe767 New header doesn't need <vector> 2015-08-17 12:08:58 -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
Leland Lucius
7757297d82 Fix OSX special menu items (About, Preferences, Quit)
And convert a few more command manager arguments to const
2015-08-16 06:18:41 -05:00
Leland Lucius
8242937502 Fix double open of files specified on the command line (wx3 issue) 2015-08-16 04:01:49 -05:00
Leland Lucius
2a6d423c17 Fix bug #1087 2015-08-15 22:37:12 -05:00
Leland Lucius
04d026e5bc Further fixes for keyboard handling
I'm pretty sure this gets all of the currently known issues, including
the SHIFT+M not working, the Play buttons responding to SHIFT and CTRL,
the ESC key canceling drags, and I'm pretty sure it even fixes
but #784.
2015-08-10 13:15:15 -05:00
Leland Lucius
f36fe29f96 Fixes for bugs 1122 and 1113
Several other issues were also fixed (hopefully ;-)).

This is a major change to accelerator handling and keyboard
capturing.  Menu shortcuts, non-menu commands, label editing,
navigation, and basically anything else were you might use
the keyboard should be thoroughly tested.
2015-08-08 00:01:24 -05:00
Leland Lucius
4cd7757cf4 Batting 1000 tonight...make sure navigation works on Windows. 2015-08-04 22:41:52 -05:00
Leland Lucius
1e195ecea6 Fix many wx3.1.0 assertions now to prevent double testing 2015-07-30 02:05:23 -05:00
Leland Lucius
1b07ae1ad1 Some wx3 fixes 2015-07-28 15:47:19 -05:00
Leland Lucius
7687972aa4 Fix merge problem 2015-07-28 15:23:30 -05:00
Leland Lucius
37168ebbf6 Merge remote-tracking branch 'upstream/master' into wx3 2015-07-28 15:06:25 -05:00
Leland Lucius
5bdfcff97d Menu shortcut hiding has been removed
It had been causing problems in Unity for a while now and they
were missing on OSX as well in wx3.  So, the old menu Open/Close
method of hiding has been removed and replaced with an event
filter/monitor which looks for wxEVT_CHAR_HOOK events to pass
key events to the handler that has the keyboard captured.
2015-07-28 14:35:09 -05:00
Paul Licameli
5abbd463b2 Waveform dB is not a track type. Logarithmic is a Wavetrack scale type...
... Also removed one line from the track control drop-down, and changed
accelerators to more mnemonic choices.

Also the open page of View Settings... determines track view type after OK
2015-07-28 08:08:13 -04:00
Paul Licameli
f74713f020 WaveTrack::WaveTrackDisplay does not encode scale or spectral selection...
... SpectrogramSettings does that instead, and Preferences or View Settings
are the user interface for changing it.

Handle invalidation of spectrogram pixel cache for scale type changes,
just as for other changes of settings.  No more
TrackArtist::InvalidateSpectrumCache().

View type of track now switches to Spectrum when applying or OKing the
View Settings... dialog and the Spectrogram page is open (and for now
it is still the only page)
2015-07-27 23:01:04 -04:00
Paul Licameli
b924c8ad62 Fix crash initializing GlobalPrefsDialog for special case of undefined temp...
... directory at startup time.
2015-07-26 19:53:17 -04:00
Paul Licameli
7b01339e51 Future subclasses of PrefsDialog may choose the preferred page by other means. 2015-07-26 19:53:15 -04:00
Leland Lucius
689b019055 One more attempt at proper quitting 2015-07-20 14:01:11 -05:00
Leland Lucius
b9cb660c83 Forgot to call SetExitOnFrameDelete(false) on OSX
Once the root frame was removed, I should have made the above
call, but forgot to add it.
2015-07-20 02:54:13 -05:00
Leland Lucius
255be8cfe7 Reworked the TipPanel used with ASliders
It was producing "ghost" windows on OSX in wx3.  These were
supposed to be hidden, but they weren't any longer and after
reviewing TipPanel, I realized that there was a separate
code path for OSX entirely...must've gone back to some of the
earliest versions.

Now all platforms use the same bit of code.
2015-07-20 02:10:05 -05:00
Leland Lucius
62dc087050 Removing the old Mac "root frame"
Doesn't seem to be needed anymore and may not have been for a long
time.
2015-07-19 21:34:08 -05:00
Leland Lucius
8bf6668ff3 wxLocale constructor we used has been deprecated
And it doesn't do all of the same initialization as the new one, so we
get assertions on Windows (not sure why the other two didn't complain).

Warning in wx302 manual says:

   Deprecated:
       This form is deprecated, use the other one unless you know what you are doing.

So, best to use the new one.  This DOES mean that we WILL have to
testing locales again which is fine cause we had some work to do
there anyway.
2015-07-19 17:38:31 -05:00
Leland Lucius
54676a7228 Ensure OnInit() has an event loop
And allow events to flow so the splash window updates under GTK
2015-07-19 16:55:07 -05:00
Leland Lucius
fa99433113 Updated/fixed ProgressDialog for wx3
This also re-enables the splash screen and recombines the
OnInit() and FinishInits() since I'm pretty sure the progress
dialog was the issue.

I also retested (as much as I could) and cleaned out all of the
little "hacks" the progress dialog gained over the years.  With
the new modal handling of wx3, it seems that things are much better
behaved.

However, it seems that wxGTK (at least) has gained some new focus
probs (to be dealt with later).
2015-07-19 15:47:50 -05:00
Leland Lucius
9b9c8cc073 Round 5 of wx3 changes
FileDialog now complete on Linux.  Needs some fine tuning on
Windows and OSX.
Builds with wx3 and gtk2 or gtk3.
Still more effect work to do.
2015-07-14 23:33:53 -05:00
Leland Lucius
2f760c4bac Round 4 of wx3 changes
This gets FileDialog updated and working on Windows.  It also
removes removes the "wx3" build configurations and makes the default
Debug and Release builds wx3-only.

Still need to get VSTs updated.
2015-07-13 16:38:24 -05:00
Leland Lucius
d1f66d768f Updates for wx3
A long way to go yet, but many OSX issues fixed including
conversion of Audio Unit effects.
2015-06-30 11:25:32 -05:00
Leland Lucius
2188f492a6 Fix for wx3 build problem reported by David Avery. 2015-06-16 18:30:58 -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
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
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
054ec3ee1a Fix for bug #673 2015-06-03 01:22:18 -05:00
Leland Lucius
0ef7ccb1d1 Fix permissions...not sure why this was happening though 2015-05-29 19:49:28 -05:00
Leland Lucius
46a4c4d84d Second attempt at fixing bug #947 2015-05-26 01:52:54 -05:00
Leland Lucius
cd11ddea43 Fix bug #883 2015-05-24 06:24:27 -05:00
James Crook
91cc97525f Version number in warning now AUDACITY_VERSION_STRING 2015-05-18 20:01:55 +01:00
James Crook
9568f97054 wx3 Warning Improved
Now mentions the actual version of wxWidgets used, and links to wiki page rather than direct to bugzilla.
2015-05-17 23:24:27 +01:00
David Bailes
66084b65ef Changes to a number of dialogs so that the nvda screen reader can read their titles. The accessibility name of the dialog is set to the title of the dialog. 2015-05-16 09:35:21 +01:00