Leland Lucius
3276234ae8
Bug 2484 - OPUS import fails
2020-06-16 09:05:29 -05:00
Paul Licameli
3869a8f460
Remove allegro.h from other headers
2020-06-14 10:32:16 -04:00
Paul Licameli
da93757401
Remove ImportRaw.h from other headers
2020-06-13 12:19:38 -04:00
Paul Licameli
f3d91f488e
Remove extern declarations from .cpp files...
...
... Require the declarations to be in .h files, to be sure graph.pl detects the
dependencies.
Only one more #include was needed in Nyquist.cpp. This doesn't reveal any
more hidden cycles.
2020-05-28 05:50:25 -04:00
Paul Licameli
ae9aca8177
Implement member functions of classes in corresponding .cpp files...
...
... in four cases; not in some other .cpp file.
This is another move that causes the generated graph to reflect dependencies
correctly.
This fixes other large, hidden cycles that involved PrefsDialog.cpp: there was
link dependency on that when PrefsPanel.h was used for the base class. No
longer.
Also cycles involving TrackPanel.cpp, which contained the default
implementations for TrackPanelCell and related abstract base classes.
2020-05-28 05:50:22 -04:00
Paul Licameli
0c97138840
Include only Registry.h where needed, without CommandManager.h
2020-05-28 05:45:11 -04:00
Paul Licameli
226a80140a
Add some unnecessary #include directives...
...
... They are not necessary to build, but the do indicate some link
dependencies to fix, that were not shown in results of scripts/graph.pl.
The link dependencies exist because the header declaring some name did not
correspond to the .cpp file that defined it.
2020-05-27 19:58:17 -04:00
Paul Licameli
66c5b76573
Simplify public interface of FileHistory
2020-05-26 10:47:47 -04:00
Leland Lucius
35e88d995b
Bug 421 - Crash importing malformed MP3 file using libmad
...
This adds LAME tag handling and bad MP3 detection, but
it's pretty much a complete rewrite, so plenty of testing
is needed.
2020-05-23 22:03:41 -05:00
Paul Licameli
d373e27840
Remove some unused forward declarations and #include directives
2020-05-23 05:32:01 -04:00
Paul Licameli
7fb4652c88
Remove some unused functions and forward declarations
2020-05-23 05:16:59 -04:00
Paul Licameli
e72634fb9d
Keep EXPERIMENTAL_OD_DATA compilable
2020-05-22 21:36:14 -04:00
Paul Licameli
c941647db6
Replace last wxProgressDialog with ProgressDialog; remove all wx/progdlg.h
2020-05-22 20:44:08 -04:00
Paul Licameli
4d09705a73
Change XO to XXO in many more places, with no effects at all...
...
... because the two macros have the same expansion, and are both checked for
in the --keyword arguments passed to msgfmt by locale/update_po_files.sh.
This commit makes ONLY such changes, and comments in Internat.h. It is big
but quite harmless.
The intention is to introduce a type distinction in a later release, by defining
XXO differently. XXO is used where & characters in strings (for hotkeys of menu
items or control prompts) are permitted, XO where not.
2020-05-22 13:07:50 -04:00
Leland Lucius
1ca911ed38
Convert all __WXDEBUG__ tests to use new _DEBUG symbol
...
This symbol is based on the NDEBUG symbol that's automatically
defined by CMake.
2020-04-25 02:36:27 -05:00
Paul Licameli
2e5fc675c7
Fix import stream dialog...
...
... see commit 5bfd44d81f
2020-04-12 18:55:40 -04:00
Paul Licameli
8fad3651a0
More corrections in comments
2020-04-11 10:26:49 -04:00
Yuri Chornoivan
d1ada5f08c
Fix minor typos
2020-04-11 10:06:24 +01:00
Paul Licameli
61abb87a77
Reviewed all i18n-hint comments...
...
... Moved many misplaced ones, which msgfmt would not have extracted into
audacity.pot.
Duplicated some of them, to appear with related but distinct msgids.
Added a few new comments.
Deleted one that was no longer needed in ProjectManager.cpp.
2020-04-05 09:00:00 -04:00
Paul Licameli
b1b8b034c8
Reimplement import plugin registation without sequence numbers
2020-02-01 08:39:52 -05:00
Paul Licameli
2570b56176
Rename Maybe and its members more like std::optional of C++17
2020-01-19 11:38:12 -05:00
Paul Licameli
7592227f14
Remove uses of GetActiveProject in import
2020-01-02 13:11:17 -05:00
Paul Licameli
c64b3cb31f
Rewrite FileDialogWrapper using FileNames::FileTypes...
...
... also removing some repeated code and using the config keys /DefaultOpenType
and /LastOpenType only in Import.cpp
2019-12-29 15:35:03 -05:00
Paul Licameli
fc668f09b0
Define FileNames::FileType and related utility functions
2019-12-29 15:35:03 -05:00
Paul Licameli
eaffb4ed74
TranslatableString for some maybe-useful-in-future strings
2019-12-28 23:55:34 -05:00
Paul Licameli
259359a283
Update some calls expecting TranslatableString in disabled code
2019-12-28 23:49:14 -05:00
Paul Licameli
d6d4ee3c29
Reviewed uses of type alias FileExtension, it belongs in more places
2019-12-27 17:40:42 -05:00
Paul Licameli
6c0f2d344e
Keep EXPERIMENTAL_OD_DATA compilable
2019-12-24 12:01:24 -05:00
Paul Licameli
57350ff104
Rewrite conditionally compiled Add/TieCheckBox calls
2019-12-24 00:31:06 -05:00
Paul Licameli
d1637c22c0
TranslatableString for explicit prompts and units in ShuttleGui
2019-12-23 19:22:03 -05:00
Paul Licameli
c23451af9d
TranslatableString for prompts of radio buttons
2019-12-23 19:02:21 -05:00
Paul Licameli
5168d62e3d
TranslatableString for captions of text entry boxes
2019-12-23 18:53:00 -05:00
Paul Licameli
b404eb7800
TranslatableString for static text box captions
2019-12-23 18:52:37 -05:00
Paul Licameli
21e7b9f2de
TranslatableString for prompts of choice controls
2019-12-23 15:39:49 -05:00
Paul Licameli
75996a851c
ShuttleGui::AddChoice and TieChoice take TranslatableStrings
2019-12-23 15:35:47 -05:00
Paul Licameli
dc39f22442
AudacityMessageBox takes TranslatableString message and caption
2019-12-20 21:32:50 -05:00
Paul Licameli
e3ea93a624
Define and use function Verbatim...
...
... in cases of "TranslatableString" that are not really translated.
This makes it easier to scan the code for such unusual constructions of
TranslatableString, distinct from mere mentions of the TranslatableString type.
2019-12-19 22:49:23 -05:00
Paul Licameli
cd0e1e680a
more i18n-hints about "codec"
2019-12-19 14:51:44 -05:00
Paul Licameli
5bfd44d81f
Import Stream dialog uses ShuttleGui
2019-12-18 11:22:26 -05:00
Paul Licameli
3a14393f5e
Rewrite ImportPCM dialog with ShuttleGui
2019-12-18 11:22:26 -05:00
Paul Licameli
0300b49b37
TranslatableString for importer stream info...
...
... fixing some missed translations in OGG (and GStreamer too, if you care)
2019-12-18 10:42:52 -05:00
Paul Licameli
1c9005f0a2
Keep EXPERIMENTAL_OD_DATA compilable
2019-12-17 20:05:54 -05:00
Paul Licameli
4eb220e7b9
TranslatableString for undo history short and long descriptions
2019-12-16 14:19:23 -05:00
Paul Licameli
503ccabdd8
TranslatableString caption & message in MessageBoxException
2019-12-16 10:58:05 -05:00
Paul Licameli
53ee9c9800
TranslatableString for titles, names, labels of wxDialogWrappers...
...
... Found one missed translation in CommandTargets.cpp
2019-12-16 10:58:05 -05:00
Paul Licameli
9a609fe1fe
TranslatableString in ProgressDialog
2019-12-14 01:48:15 -05:00
Paul Licameli
d32d464471
Uses of TranslatableString in src/import
2019-12-14 01:48:15 -05:00
Paul Licameli
b53b5e54fe
Comments about preference keys that store localized string values...
...
... which is wrong in general, but describe why that's pardonable
2019-12-13 20:18:23 -05:00
Paul Licameli
87a9e7ccbb
Use global ChoiceSettings variables, not coincidental string literals
2019-11-27 13:38:17 -05:00
James Crook
9a3bd94459
Bug 2185 - Import2: Incorrect error message if file not found
2019-09-01 15:11:22 +01:00