Paul Licameli
8e0cffb7f2
Simplify GuardedCall and default its return type to void
2018-01-13 01:32:41 -05:00
Paul Licameli
c975de8c5e
More use of shared_ptr to Track, for safety...
...
... This even makes it possible to remove the prohibition of undo and redo
during transport, not that we want to though. Playback and recording will
continue, using track objects that might not be in the current project.
2018-01-10 20:05:11 -05:00
Paul Licameli
cb403954fa
Use std::[tr1::]unordered_(set|map), not the wxWidgets container macros
2018-01-08 18:22:51 -05:00
Paul Licameli
8a074770e8
IdentInterface::GetDescription() returns a translated string...
...
... See commit 3b90538b84411f6b08e10682406984e5f499fd74 which removed the
only use of the untranslated strings.
Also follows better i18n guidelines for composing the VSTEffect description.
2018-01-07 21:16:26 -05:00
Paul Licameli
c6696f1b49
Move definition of _ and related into Internat.h
2018-01-06 21:03:32 -05:00
Paul Licameli
6f7739464e
Fix line endings
2018-01-06 20:15:51 -05:00
Paul Licameli
5358e41510
indentation
2018-01-06 18:41:33 -05:00
James Crook
d2fe7b1757
Clean up most remaining MSVC warnings.
2018-01-06 13:03:48 +00:00
Paul Licameli
77c392d29c
AudacityProject::OnEffect wraps new function DoEffect
2018-01-05 09:27:28 -05:00
Paul Licameli
def1d52505
Substitute, don't concatenate, when composing localized strings...
...
... Avoid English syntax bias.
2018-01-04 04:30:46 -05:00
Paul Licameli
b1f7f921a0
Translate the format "%s: %s" wherever user-visible...
...
... because some languages, like French, prefer to insert a space before :
2018-01-02 12:59:46 -05:00
Paul Licameli
3fbfef0eb1
Plot Spectrum, Change Pitch localize pitch names; Unicode sharp/flat
2018-01-02 12:20:04 -05:00
Paul Licameli
8b86d46884
Use Unicode 1/3 fraction
2018-01-02 12:20:04 -05:00
Paul Licameli
80a958f8a4
Rewrite empty prompts to ShuttleGUI functions as {} ...
...
... so we might more easily redefine the type of the function argument,
some other day (not this release)
2018-01-01 22:51:25 -05:00
Paul Licameli
e0970ad1e8
Remove unnecesary Format, Printf, casts to wxString
2018-01-01 21:53:51 -05:00
Paul Licameli
7fd78183d2
Remove needless uses of wxString::c_str() in wxString::Format...
...
... and similar wx "variadics," which all treat wxString smartly enough that
you don't need this.
Don't need c_str either to convert wxString to const wxChar * because
wxString has a conversion operator that does the same.
2018-01-01 20:34:33 -05:00
Paul Licameli
384300016d
Define FileDialogWrapper, with localized default prompt and name
2018-01-01 17:50:04 -05:00
Paul Licameli
e8b875ff81
Define AudacityMessageDialog wrapper around wxMessageDialog...
...
... Prohibiting use of the default caption which is unlocalized. (But we
didn't use it in fact anywhere.)
2018-01-01 17:50:03 -05:00
Paul Licameli
af290d73c0
Define AudacityTextEntryDialog wrapper around wxTextEntryDialog...
...
... Prohibiting use of the default caption which is unlocalized. (But we
didn't use it in fact anywhere.)
2018-01-01 17:50:03 -05:00
Paul Licameli
ccb4bbac33
Translate "Message" as default title of message box...
...
... This required a sweeping change of all calls to wxMessageBox! But it seems
safe to me, despite the great number of touched files.
2018-01-01 17:50:02 -05:00
Paul Licameli
378c96fda1
Consistently use translated effect name in titles of message boxes...
...
... For built-in and Nyquist effects.
2018-01-01 17:50:01 -05:00
Paul Licameli
3c9cdac778
Drag-and-drop checks file extensions first for plug-in candidates...
...
... Avoids big delays in drag-and-drop importation caused by
765ca0c8136134a1d65bfad0ea39682a83d3d984
2018-01-01 10:29:26 -05:00
Paul Licameli
2e8a73bab1
Fix Windows build
2017-12-31 20:04:35 -05:00
Paul Licameli
8cfb8d2400
Change ModuleInterface for support of drag-and-drop of plug-in files
2017-12-31 18:09:36 -05:00
Paul Licameli
0c97918bb9
Ladspa, VST: As before eb3bc7e: keep registering even if some errors
2017-12-31 16:18:53 -05:00
Paul Licameli
bdd1358f9b
Error messages for failing to load Nyquist effects
2017-12-27 15:46:06 -05:00
Paul Licameli
eb3bc7e642
Minimal error messages for failing to load non-Nyquist effects
2017-12-27 15:19:43 -05:00
Paul Licameli
0f8bd45a7c
ModuleInterface::RegisterPlugin can report an error message
2017-12-27 15:19:36 -05:00
James Crook
63de7f0884
Bug 305 - Analysis effects produce false indication that a label is open for editing
...
This was true of any Nyquist or VAMP effect that created labels.
2017-12-17 21:18:07 +00:00
Paul Licameli
4d978bcefb
Use wxPrintf not printf
2017-12-16 11:54:32 -05:00
Steve Daulton
9735775a8d
Fix bug 963 again
2017-12-11 21:58:42 +00:00
James Crook
f463eda36c
Clean up some dead code and MSVC warnings.
...
- Dead code from experiments in SelectionBar removed.
- Many warnings about unused parameters fixed with WXUNUSED()
- Many warnings about signed / unsigned comparisons cleaned up.
- Several 'local variable declared but not used' warnings fixed.
2017-12-08 15:20:39 +00:00
Olivier Humbert
0d89bc3f15
Fix some typos in msgids, thanks to Olivier Humbert...
...
... Fix the source code; fix up msgids in audacity.pot and *.po
2017-11-27 23:12:37 -05:00
Steve Daulton
430bd12304
Fix Regular Interval Labels
...
Save control values for NYQ_CTRL_INT_TEXT
2017-11-20 20:30:45 +00:00
Paul Licameli
1d311651e8
comment
2017-11-19 11:04:07 -05:00
Paul Licameli
f136b5c530
Reviewed uses of InconsistencyException outside Sequence.cpp
2017-11-19 01:48:41 -05:00
Paul Licameli
2f40c1c77e
Don't use InsertSilence when previewing effects
2017-11-19 01:48:40 -05:00
James Crook
a49f14ad02
doxygen. Class list completed for letter 'A'.
2017-11-09 18:32:29 +00:00
James Crook
0bae8c3a90
Bug 1774 - Recording does not honor waveform color
...
New clip now takes colour from WaveTrack, and new WaveTrack takes colour of the WaveTrack its clips will be appended onto.
2017-11-07 14:26:32 +00:00
James Crook
c28be778e2
Linty fixes
...
This commit fixes a number of warnings shown in compilation with MSVC. No behavioral changes intended. I did not fix signed/unsigned warnings.
2017-11-07 14:23:30 +00:00
Paul Licameli
25a65c34e7
Fix bad punctuation, thanks to Joachim Huffer, update .pot again
2017-11-06 13:26:15 -05:00
Paul Licameli
e5c07fae84
some missed translations, i18n-hints
2017-11-05 21:01:53 -05:00
Paul Licameli
31231a54d2
use override
2017-11-05 21:01:52 -05:00
Paul Licameli
9612e3d971
indentation, final newlines, spelling, remove unused members
2017-11-05 21:01:38 -05:00
Paul Licameli
da5e5e51c9
Config file keys do not need to localize
2017-11-05 20:36:19 -05:00
Paul Licameli
d3b1ae512b
Effect param keys don't need to localize; audacity.pot can shrink...
...
... The keys are only ever used as internal identifiers in wxConfigFile
objects. So they are often space-less and camel-cased.
I have noticed a couple instances of translators confused by these.
2017-11-05 11:48:15 -05:00
James Crook
68897d8932
Some cppcheck fixes by David Binderman
2017-11-04 17:47:39 +00:00
James Crook
7c49019669
Bug 1766 - Invalid check for unsupported Nyquist plug-in version
...
Issue/fix by David Binderman.
2017-11-04 17:47:32 +00:00
James Crook
b48c6b0fd6
Clip (and track) colours now persists in .aup file.
2017-11-04 17:47:22 +00:00
Paul Licameli
6a8bba0a99
Fix all remaining misuses of macro _ in static initializers...
...
... I found them using a rewritten macro _ that dynamically checked
that translations have been initialized. But I do not commit that changed
macro.
2017-10-01 17:20:05 -04:00