Paul Licameli
8fda526577
Simplify memory management in PluginManager
2021-06-30 21:15:19 -04:00
Paul Licameli
e6e96de0fd
Replace most inclusions of MemoryX.h with <memory> ...
...
... Most often it was needed for a custom definition of std::make_unique, but
we build C++14 now.
2021-06-02 07:08:19 -04:00
Paul Licameli
45c6190c51
New library lib-strings for Identifier and internationalization
2021-05-27 09:51:32 -04:00
Paul Licameli
bd6fb75886
moduleMain functions were never called but with nullptr; so simplify
2021-05-16 07:03:12 -04:00
Paul Licameli
64bbc31c54
Remove macro making extern declaration of RegisterBuiltinModule...
...
... Forcing other places that use RegisterBuiltinModule to be more explicit
about their link dependencies on ModuleManager, with a new #include directive.
Does this make scripts/graph.pl show a new dependency cycle? Happily no. But
now we know.
2021-05-16 07:03:12 -04:00
Paul Licameli
c5ebc396eb
Audacity.h has shrunk to nothing, now remove it!
2021-05-10 00:05:23 -05:00
Leland Lucius
15dcb343f3
Fix LV2 memory leaks
2021-02-26 00:53:18 -06:00
Leland Lucius
0f810708bb
Fix LV2 buffer size display in Settings
2021-02-06 13:07:52 -06:00
Paul Licameli
9360359e9d
Module manager ( #549 )
...
* Eliminate ModuleManagerInterface...
... It was there only to provide RegisterModule(), but that was not used
anywhere. So simplify.
* Remove nested #include of ModuleInterface.h
2020-05-29 10:48:52 -05:00
Leland Lucius
fadc024432
Initial changes to build against wx313
2020-05-23 13:08:21 -05:00
Paul Licameli
63c49db0ce
Don't internationalize logged strings; -29 macro _ calls
2020-05-23 08:07:24 -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
d22b650e6a
Fix two typos for translated strings, now that strings are unfrozen...
...
... See commit 97fba037a4
.
2020-05-22 12:48:49 -04:00
James Crook
97fba037a4
Two typo fixes for translated strings.
...
The extra logic causes the new string to be used, if the old one is untranslated.
2020-04-14 15:49:46 +01: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
Leland Lucius
12c940cdf6
Suppress deprecation warning
2020-03-11 23:47:55 -05:00
Leland Lucius
80662a1b60
Add missing value initialization
2020-02-21 11:17:59 -06:00
Leland Lucius
70a67c51d2
Get rid of warning in LV2Effect.cpp
...
Use the wxCRT_StrdupA to use the appropriate strdup
function for the platform.
2020-02-06 23:18:48 -06:00
Leland Lucius
37f24ee3b0
Get rid of warnings
...
Must use the deprecated types to support older plug-ins.
2020-02-05 19:00:49 -06:00
Leland Lucius
df1aeb8f3f
Ensure suil can find the interface modules
...
Suil uses loadable modules to embed different
UI toolkits within other toolkits, so he needs
to be told where to find them.
2020-02-05 15:30:05 -06:00
Leland Lucius
703f59d709
Ensure a native window exists
...
Don't send a size event to a native window unless the native
window actually exists.
2020-02-05 15:26:08 -06:00
Leland Lucius
d28009c93e
Remove unneeded include
2020-01-24 22:25:52 -06:00
Paul Licameli
921d7f28ef
Correct a naked new
2020-01-24 10:25:51 -05:00
Paul Licameli
1c84932dfa
EffectUIClientInterface::PopulateUI takes ShuttleGui &
2020-01-23 19:06:23 -05:00
Paul Licameli
bb26b2f2c4
Require a ProjectWindow as ancestor of effect dialog...
...
... by passing parent as reference, not pointer, and testing in the dialog
factory function.
This is important so that we know the lifetime of an effect dialog, even when
it is non-modal, is bounded by the lifetime of the associated project.
2020-01-06 11:30:47 -05:00
Paul Licameli
91c45dd32a
Move static EffectManager::DoEffect into new namespace
2020-01-05 16:11:55 -05:00
Paul Licameli
23a0206d2a
Remove CreateUI; pass dialog factory to effect client instead
2020-01-05 16:11:55 -05:00
Leland Lucius
04dcc8994d
Remove leftover debugging code
2020-01-04 00:43:52 -06:00
Paul Licameli
747c35645a
TranslatableString for checkbox captions
2019-12-23 19:15:34 -05:00
Paul Licameli
707a069712
ShuttleGui::AddVariableText takes TranslatableString
2019-12-23 18:53:00 -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
1537930195
DiscoverPluginsAtPath reports error as TranslatableString
2019-12-20 22:06:18 -05:00
Paul Licameli
5909f67fdb
NumericTextCtrl::SetName takes TranslatableString
2019-12-20 21:38:05 -05:00
Paul Licameli
dc39f22442
AudacityMessageBox takes TranslatableString message and caption
2019-12-20 21:32:50 -05:00
Paul Licameli
027a5ca32e
ShuttleGui static boxes can wrap long text
2019-12-18 10:43:15 -05:00
Paul Licameli
826e50b366
Mac build band-aid
2019-12-17 14:30:04 -05:00
Leland Lucius
ccfd2f1c80
Update LV2 host
...
This greatly improves the LV2 host to the point where all
(non-midi) plugins distributed with Ubuntu 18.04 and Fedora
30 are supported.
2019-12-17 12:54:30 -06:00
Paul Licameli
618fee21ec
TranslatableString for ComponentInterface::GetDescription()
2019-12-16 14:21:57 -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
ca70cc940f
Don't concatenate ":" onto user-visible strings...
...
... include it in the msgid intead, to get appropriate translations. For
instance some locales use the same character but prefer to insert a space
before it.
2019-12-04 16:19:07 -05:00
Paul Licameli
72df562c4a
Conversion of TranslatableString to wxString is private
2019-12-01 18:17:57 -05:00
Paul Licameli
7ccd35d219
wxWidgets docs recommend: don't SetSizeHints on non-top-level windows
2019-11-28 14:24:43 -05:00
Paul Licameli
15983499c8
New virtual function in ModuleInterface
2019-11-26 11:02:35 -05:00
Geoffrey McRae
b3ade99a58
Fix loading of LV2 effects that have Event ports (Calf Plugins)
...
The Calf plugin suite exposes Event ports which is currently not supported or defined in `liblilv`, so instead of flat rejecting the filter, test the port name for `Events` and allow them to load.
2019-11-24 21:33:25 +00:00
Paul Licameli
770ea8fe15
All idle event handlers should skip
2019-07-01 11:43:02 -04:00
Paul Licameli
0f62046313
Define EffectClientInterface::GetBlockSize()
2019-06-24 00:49:14 -04:00
Paul Licameli
9935b035c5
Remove Effect.h from EffectManager.h and EffectRack.h
2019-06-24 00:36:59 -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