Commit Graph

5270 Commits

Author SHA1 Message Date
Paul Licameli
ecd149edad Revert "Fix for #1554: toolbars open undocked if previously hidden"
This reverts commit 048c1b8c5a.

I observed that it was not all right if you switch between Audacity versions, as
some cautious upgraders might do:

Delete audacity.cfg.
Open 2.2.0 and quit.
Open 2.1.3 -- and observe that the scrubbing and combined meter toolbars appear,
one over the other, at top left.  Combined and separate meter toolbars are not
meant to appear at the same time.
Quit 2.1.3 and open 2.2.0.  Now those two toolbars appear at some other random
seeming positions.
2017-09-16 11:53:57 -04:00
David Bailes
048c1b8c5a Fix for #1554: toolbars open undocked if previously hidden
Summary of fix:
1. In ToolManger::WriteConfig, for a docked toolbar which is hidden, the dock number is not set to the dock number rather than 0 (undocked)
2. In ToolManger::ReadConfig, for a hidden docked toolbar in the config, the toolbar is docked, but is not included in the dock's configuration.
2017-09-13 12:53:32 +01:00
Paul Licameli
731a2ac40c Fix format of tooltip text for toolbar buttons in RTL languages...
... No translatable strings were added, two were removed
2017-09-11 22:08:06 -04:00
Paul Licameli
954a974422 Changed the conditional compilation for alpha/beta/release...
... In particular, don't put the extra information in MIDI device info for Beta

But still link to the Alpha manual.
2017-09-11 00:10:22 -04:00
Paul Licameli
f6b5d8e651 Generate msgid and msgid_plural in .pot for wxPLURAL macro 2017-09-10 19:24:42 -04:00
Paul Licameli
ec5f9d6b66 Translation of strings in Benchmark 2017-09-10 19:24:42 -04:00
Paul Licameli
1e1560d63c Fix missed translations in Plot Spectrum 2017-09-10 19:24:42 -04:00
Paul Licameli
a3245b56a7 Translate "Audacity website:" in About dialog 2017-09-10 19:24:41 -04:00
Paul Licameli
b2382eab2a Translation of Quality preference choices 2017-09-10 19:24:41 -04:00
Paul Licameli
70b5076b0b Fix some untranslated prompts and messages...
... Even if some commented out.  Such don't enlarge the .pot file, but make
them right in case they are ever un-commented.
2017-09-10 19:24:41 -04:00
Paul Licameli
3b7e99273e Remove some unused strings that confused translators...
... "Light" was used in two different meanings, but one place was the obsolete
Leveller effect, whose code is removed now.  (I leave the files in place, to
make it easier for the curious to know it was once there, and find its history.)

i18n-hints added for the surviving use of "Light" to name a theme, and also for
some of the other themes.
2017-09-10 19:24:08 -04:00
Paul Licameli
e2129feac9 Translate the items in the popup menu of the scrubbing ruler 2017-09-10 19:21:36 -04:00
Paul Licameli
5f298accbd Translated effect name and description in many places in Effect.cpp...
... including titles of dialogs,
messages,
About sub-menu of the Manage button,
long-form names of Undo items (in history view),
message for why command is not allowed when there is no selection

Also one place in Effect Rack code but it's commented out
2017-09-10 19:21:35 -04:00
Paul Licameli
42f8945812 Fix statically allocated message string in _() (didn't translate!) 2017-09-10 19:21:35 -04:00
Paul Licameli
adc2695688 i18n-hints about the name "Nyquist" ...
... Although "Nyquist" is a proper name, still, translators should have
discretion to transliterate it into another alphabet, and also make it
consistent with longer translated strings containing it.

Not so for debug messages mentioning actual keywords of Nyquist programming.
2017-09-10 19:15:46 -04:00
Paul Licameli
0cab2e92ba Fix some comments 2017-09-10 10:00:52 -04:00
Paul Licameli
cc3c56818a Bug1744: Editing of linear frequency scale EQ curve should work 2017-09-09 22:51:14 -04:00
Paul Licameli
cee28ab535 Bug1735 addendum: fix oddities pasting left of Note track offset...
... See comment http://bugzilla.audacityteam.org/show_bug.cgi?id=1735#c3
2017-09-08 11:29:21 -04:00
Paul Licameli
761bd6bf83 Translation of time, frequency, and bandwidth format names 2017-09-07 19:42:22 -04:00
Paul Licameli
47552acfc3 Bug1735: crash pasting copied part of Note track starting at > 0...
... See also commit 76a9962a5e

What was done there for Cut, should have been done too for Copy.
2017-09-07 19:22:15 -04:00
Steve Daulton
7314de6a3d Fix bug 1740
Help on Internet dialog non-responsive when invoked by
help button on "Error opening sound device..."dialog
2017-09-06 13:19:42 +01:00
Paul Licameli
d7cc85b1e1 Fix an untranslated string, change "Midi track" to "Note Track" 2017-09-04 14:09:56 -04:00
Steve Daulton
b9aaec6919 Fix bug 1730 2017-09-04 12:12:09 +01:00
Steve Daulton
e238845ddb Fix bug 1733
Update Help button link.
2017-09-04 11:19:47 +01:00
Paul Licameli
5d4ddbc424 Make the (en) welcome window say it's a Beta test version, not alpha...
... This gets in too late for the translation files, but very few of them
included a translation for this message.  So, it will appear English for all.
2017-09-01 21:44:44 -04:00
Steve Daulton
ccc802aa8b Fix for bug 1733
Updated Help links.
2017-09-01 17:42:02 +01:00
Paul Licameli
76a80c66c1 Do not revert the changes in Biquad.h 2017-09-01 05:15:54 -04:00
Paul Licameli
fd8b76dd80 Fix uninitialized variables in Reverb...
... but bringing back some naked calloc and free that weren't replaced quite
right, and I'll figure out why later.

This reverts commit e94fa1d65e.
This reverts commit 0c7e467a08.
2017-08-31 20:27:50 -04:00
Paul Licameli
7423a2c232 Change welcome screen to identify version as a beta 2017-08-31 17:08:50 -04:00
Paul Licameli
74e3a6fdba Replace mentions of feedback@audacityteam.org with url of forum...
... There are two in AboutDialog.cpp, but these strings aren't actually used.

There are two in InconsistencyException.cpp, which ought never to be seen by
users, but should be treated as high priority bugs if they are.

There is a very old one in Sequence.cpp, which was never internationalized and
was only written to the log and likewise ought to be eliminated from happening
in pre-release testing.

Therefore, though this is a minor breach of string freeze, it's only the second
one above that users might ever see, and then only if a serious bug escaped.
2017-08-31 17:01:45 -04:00
Paul Licameli
8793dc5c4c Add "In Memoriam" section to About, for Gale Andrews 2017-08-31 13:20:50 -04:00
Paul Licameli
272d3026e2 Can change "alpha" to "beta" in welcome screen if IS_ALPHA > 1...
... and don't add "x" and date when IS_ALPHA is turned off.
2017-08-31 12:59:33 -04:00
Paul Licameli
c11e3d1511 Make effects of 582e574 conditionally compiled...
... It was only "mostly harmless" on Windows and Mac.

Now where is my towel?
2017-08-29 18:42:18 -04:00
Paul Licameli
6f8b37a921 An experiment, not enabled, to reduce jitter in ALSA MIDI playback...
... Change to #define REALTIME_ALSA_THREAD near the top to enable it.
2017-08-29 16:25:55 -04:00
Paul Licameli
37bc61f4ac Make scroll panel of Spect Settings absorb the window resizing 2017-08-29 08:40:54 -04:00
James Crook
059139bb6d Bug 1727 - Spacebar may not start / stop playback
Fix proposed by David Bailes.
2017-08-28 22:53:55 +01:00
Paul Licameli
75bdde3003 To synch better, just don't use a separate thread for MIDI! ...
... I am not sure that this will solve all problems of jittery play, but I do
think this will solve the problem of a rush of slightly late notes at start of
play.
2017-08-27 10:53:05 -04:00
Paul Licameli
582e574ab8 A not-harmful change to MIDI timing for Windows and Mac...
... and hoping it is positively helpful for Linux.

In AudioIO::MidiTime(), compute one of the terms by different means.

Use PaStreamInfo::outputLatency.

Do not use the difference of PaStreamCallbackTimeInfo::outputBufferDacTime
and PaStreamCallbackTimeInfo::currentTime.

Which debugging shows is very nearly the same value for Windows and Mac.

But we suspect the PaStreamCallbackTimeInfo fields are not correctly reported
on Linux.
2017-08-27 03:26:44 -04:00
Paul Licameli
faa7d1828a Commands adjusting pan and gain are enabled during transport...
... though they do have a messy interaction with Undo if recording that should
be fixe.

You may get an undo history item that not only restores the gain and pan, but
removes a part of the recording.
2017-08-26 11:37:43 -04:00
James Crook
ce9938787c Use alpha or released or local manual for "help on selection".
Previously this was hard coded to use the online alphamanual.
Some other help-on-errors paths were hardcoded to use the online manual, and did not use local help even if available, so these were changed too.

Also two naming changes in the code:
ShowHelpDialog() became ShowHelp() because it typically shows the help in your browser, only showing the help in a dialog under certain circumstances.
The helpURL parameter became helpPage since it is usually a page name that is then elaborated into a url.
The Link() function became InnerLink().

Some careful http -> https changes made too.
2017-08-25 13:59:16 +01:00
Paul Licameli
4a0a7efd84 Fix MIDI timestamp calculations when you loop AND have time track...
... At least it fixes the gross problem; but there seems to be a small
accumulation of error still each time around the loop, that I don't understand
yet.
2017-08-24 19:48:45 -04:00
Paul Licameli
85b2f80545 Correct mMidiOutputComplete, though it doesn't matter...
... Used to be, it became true too soon when play started after time 0, so
AudioIO::IsStreamActive() might become false too soon -- except that now there
is always a portaudio stream when there is a midi stream, so that didn't happen.

Mistake was to add mT0 to MidiTime(), which already has mT0 for its origin.

This error would affect nothing if you just let play to the end without trying
a keystroke command.  The error might have been enabling the wrong commands.
2017-08-24 19:47:08 -04:00
Paul Licameli
a44dbf3a96 Correct the flags for enabling some menu items that were moved...
... See email thread at
https://sourceforge.net/p/audacity/mailman/message/36008688/
for the rationales

The system for specifying conditions for menu items really needs a thorough
rewrite in a future version.
2017-08-23 15:53:57 -04:00
James Crook
1b4999d0d3 Bug 1290 - "Split New" clips cannot be dragged back into the track they came from.
Earlier fix was broken and allowed clips to overlap.  Updated code:
- Checks that the modified slide amount is legal, against ALL clips, not just against later clips in the array.
- Computes tolerance correctly.
- Typically uses tolerance just once.
- Moves selection with clip
- Only restarts sliding with a 'clean slate' IF there was room on the original track.

Previously the code could reject a move to a new track, and then mistakenly allow just the horizontal part of the move on the original track(s), even with a clip blocking the way.
2017-08-23 18:15:00 +01:00
Paul Licameli
33d9a130c8 Correct wiki to HTML translation of https: links...
... so that if such are in the Credits dialog, they work correctly and don't
cause wxWidgets assertions
2017-08-23 12:49:12 -04:00
Paul Licameli
ea14a117df Expose the benchmark tool in end-user builds 2017-08-23 11:46:11 -04:00
Paul Licameli
88c55c9687 remove a comment 2017-08-22 08:40:28 -04:00
Paul Licameli
6adc9f9062 Fix silly out of bounds mistake in Sequence consistency check 2017-08-22 08:40:01 -04:00
Steve Daulton
8342b1e026 Fix bug 597
24-bit int imports as float and converted by Append.
2017-08-21 16:09:41 +01:00
James Crook
e984211cce Bug 1290 - "Split New" clips cannot be dragged back into the track they came from.
Fixed by giving some tolerance in how the dragged clip(s) are placed.
The tolerance is 1px, so it depends on the zoom.  Therefore if zoomed in your positioning is more precise.
2017-08-19 22:46:33 +01:00