Paul Licameli
132f04d272
ManualPageID is a new type; rewrite HelpSystem::ShowHelp and its uses
2021-07-01 13:35:57 -04:00
Paul Licameli
c5ebc396eb
Audacity.h has shrunk to nothing, now remove it!
2021-05-10 00:05:23 -05:00
James Crook
56ec133c77
Bug 2696 - Metadata Editor: changed size is not remembered/restored on next use
...
Reverting what looks like an unintended change
in TagsEditor introduced in fixing bug 2209.
428193920f
2021-03-21 12:35:23 +00:00
Leland Lucius
7547de9f52
Bug 1398 - Metadata Editor tag fields emptied when field length stored in project exceeds a given length
2021-02-12 10:32:43 -06:00
Paul Licameli
89f572f798
Define Tags::Merge
2021-02-02 14:00:52 -05:00
Leland Lucius
428193920f
Bug 2209 - Nyquist: Audacity crashes when running seq-write-smf
...
Used upstream fix instead. Really need to update to Nyquist
release 3.16 for many more 64-bit fixes/enhancements.
2021-01-27 10:38:10 -06:00
Leland Lucius
3d632d397d
Ensure row selection mode is used in grids
2021-01-25 12:57:33 -06:00
Leland Lucius
4b07fbaa8a
Bug 2642 - Metadata Editor: Cut and paste does not work
2021-01-23 17:27:31 -06:00
Leland Lucius
4e6d11fe0c
Don't clear tags until after loading to guard against bad XML file
2021-01-23 16:05:27 -06:00
Paul Licameli
c44ae15a4d
Remove inclusions of wx/filedlg.h
2020-05-22 20:18:51 -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
Paul Licameli
3b77af5dfc
Remove TranslatableStringArray.h
2020-02-02 18:02:32 -05:00
Paul Licameli
aa39f9ade2
Rewrite FileNames::SelectFile using FileTypes...
...
... And more uniformity in the descriptions of file types used in more than
one place
Also fixes missing translations in VSTEffect.cpp
2019-12-29 15:35:04 -05:00
Paul Licameli
d1637c22c0
TranslatableString for explicit prompts and units in ShuttleGui
2019-12-23 19:22:03 -05:00
Paul Licameli
747c35645a
TranslatableString for checkbox captions
2019-12-23 19:15:34 -05:00
Paul Licameli
b404eb7800
TranslatableString for static text box captions
2019-12-23 18:52:37 -05:00
Paul Licameli
1944ac2040
TranslatableString for labels of ShuttleGui buttons
2019-12-23 15:35:48 -05:00
Paul Licameli
ea82d2c232
Remove last use of TranslatableStringArray
2019-12-21 12:48:24 -05:00
Paul Licameli
dc39f22442
AudacityMessageBox takes TranslatableString message and caption
2019-12-20 21:32:50 -05:00
Paul Licameli
ae42397d64
FileNames::SelectFile takes TranslatableString for message
2019-12-20 13:40:20 -05:00
Paul Licameli
3a633e4fd8
XMLFileWriter takes TranslatableString caption
2019-12-19 16:41:48 -05:00
Paul Licameli
89df7a3ffc
Use TranslatableString in XMLFileReader & move the help URL logic
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
James Crook
5a3e9cd063
Fix dialog naming
...
For nicer Doxygen results, we need consistency in naming of classes.
Dialag classes are now called SomethingDialog.
2019-12-06 10:39:07 +00:00
Paul Licameli
96291c5476
Remove second argument of AddWindow(), use Position() instead
2019-12-02 22:01:22 -05:00
Paul Licameli
72df562c4a
Conversion of TranslatableString to wxString is private
2019-12-01 18:17:57 -05:00
Paul Licameli
e4a7c9ba5b
Uses of TranslatableString as value of XO macro...
...
... It is not implicitly convertible from wxString, compelling many uses of
the new type to fix compilation.
2019-12-01 18:05:20 -05:00
James Crook
9d1b75a5d7
Bug 440 - Metadata Editor: Tags without values can't be added
2019-07-17 15:13:27 +01:00
Paul Licameli
c1c0030013
static Tags::Get...
...
... not member functions of AudacityProject
2019-05-23 14:08:09 -04:00
Paul Licameli
390af96796
Dispatch read of top-level project XML tags with a table of functions...
...
... which makes Project.cpp a bit less dependent on some details of other
classes
This puts Tags.cpp back into the big strongly connected component of the
dependency graph. That will be remedied later when Project.cpp becomes a
low-level file
2019-05-20 21:38:07 -04:00
Paul Licameli
f86403378b
Move AudacityMessageBox to its own files...
...
... breaking cycles among low-level files introduced by 273ba9f
2019-05-20 14:48:36 -04:00
Paul Licameli
6c57948d8f
Remove unnecessary #include-s from .cpp files...
...
... Unnecessary because transitively included.
But each .cpp file still includes its own .h file near the top to ensure
that it compiles indenendently, even if it is reincluded transitively later.
2019-05-16 17:21:00 -04:00
James Crook
f66e753c54
Add option in metadata editor to not show it again
...
Also added help button to it
Also fixed Bug 2038 - Metadata editor opens without grid focus
2019-04-12 20:18:17 +01:00
Paul Licameli
de60edc62f
Remove wx/{app,statbmp,spinctrl,scrolbar,dynlib,dcmemory}.h from *.h
2019-03-30 07:57:37 -04:00
Paul Licameli
a915a510bd
include <wx/setup.h> in all files where wxUSE* macros are used...
...
... even if it's redundant; improving on what was done at b47e2f9
2019-03-23 14:56:02 -04:00
Paul Licameli
da33daf197
Some replacements of wxArrayString with auto
2019-03-10 14:47:12 -04:00
Paul Licameli
795b6a2e42
More std:: style for wxString and wxArrayString...
...
... Replacing:
Insert => insert
RemoveAt => erase
Remove => erase
IsSameAs => operator == or operator !=
(but only when second argument was true or default)
2019-03-10 14:45:12 -04:00
Paul Licameli
2db49dc1f0
Use standard library style members of wxArrayString (and wxString) ...
...
... which will make it easier to change the types of those containers to
std::vectors of other string-like classes
for wxString,
IsEmpty => empty
Clear => clear
Alloc => reserve
for wxArrayString,
Count => size
GetCount => size
IsEmpty => empty
Add => push_back
Clear => clear
Empty => clear
Sort => std::sort (only with default comparator)
SetCount => resize
Last => back
Item => operator []
Alloc => reserve
2019-03-10 14:43:57 -04:00
Paul Licameli
5daa67dfe6
Remove uses of wxSortedArrayString
2019-03-10 14:43:53 -04:00
Steve Daulton
1be17fc7a7
Fix bug 1894
2018-07-03 00:58:41 +01:00
Paul Licameli
8e0cffb7f2
Simplify GuardedCall and default its return type to void
2018-01-13 01:32:41 -05:00
Paul Licameli
bfa8a46ced
Prohibit duplication of any metadata tag names (up to case); comments
2018-01-09 09:25:22 -05:00
Paul Licameli
44df6455aa
Translate the special metadata tags in the edit dialog
2018-01-09 08:47:01 -05:00
Paul Licameli
ff40403937
Rewrite EqualMaps again, better.
2018-01-09 08:17:27 -05:00
Paul Licameli
498747269c
Correct test of equality of hash maps
2018-01-09 01:00:11 -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
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
a9f5c9c929
Implement ComboEditor::Clone, and use override
2017-11-05 21:35:04 -05: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
James Crook
aee0c4cbc6
Fix for broken build (::None)
...
None clashed with something else under linux, probably a macro expansion.
2017-08-03 17:25:12 +01:00