Paul Licameli
fd94b66483
Don't duplicate defs of DLL_IMPORT, DLL_API, ModuleDispatchTypes
2021-05-16 07:03:11 -04:00
Paul Licameli
dcd8bca896
Nonlazy resolution of symbols at load time for modules...
...
... Forcing appropriate failure to load modules with unsatisfied symbols on all
platforms.
2021-05-16 07:03:11 -04:00
Paul Licameli
e52115630a
Remove argument of ModuleManager::Initialize() unused since a6d0b3f
2021-05-16 07:03:11 -04:00
Leland Lucius
e1391b9884
Allow modules to be loaded when testing Linux artifacts
...
This also cleans up previous "libs" location
2021-05-15 18:45:27 -05:00
James Crook
d0ff48f3bd
Bug 2754 - Change Tempo & Pitch and Sliding Stretch with selected audio in negative time crash Audacity on windows (error on Mac)
2021-05-15 11:36:53 +01:00
Paul Licameli
cf666c9bfc
Merge pull request #812 from Paul-Licameli/separate-PlaybackSchedule
...
Separate playback schedule
2021-05-14 19:10:29 -04:00
Paul Licameli
7302fc584f
Move RecordingSchedule, PlaybackSchedule to new files
2021-05-14 16:26:29 -04:00
Paul Licameli
a12ec0d11b
Duplicate AudioIOBase into PlaybackSchedule...
...
... please verify empty file diffs; this simplifies review of the next commit
2021-05-14 16:25:53 -04:00
Paul Licameli
9a66255013
Move AudioIOBase::mPlaybackSchedule up into AudioIoCallback
2021-05-14 16:25:41 -04:00
Paul Licameli
d92a68f076
ViewInfo does not depend on AudioIOBase...
...
... ViewInfo should only be concerned with screen geometry.
(And so it won't depend on AudioIO (even higher level) after stream time moves
there.)
PlaybackScroller receives the timer event directly (not from ViewInfo) and
caches playback position instead. Then, as before, it propagates the event
to PlayIndicatorOverlay.
2021-05-14 16:25:14 -04:00
Paul Licameli
aa8e4eef06
Windows builds need a complete type for wxWeakRef parameter...
...
... Guarantee that in header files that declare such wxWeakRefs
2021-05-14 16:24:59 -04:00
Paul Licameli
7771760b5e
Add #include needed to build on Fedora 34, recommended by Be-ing
2021-05-14 16:22:57 -04:00
Paul Licameli
a32b243480
Merge pull request #894 from Paul-Licameli/Bug2778
...
Bug 2778 - In German in the Erzeugen menu (Generator menu) "Silence..." is untranslated
2021-05-14 16:14:17 -04:00
Paul Licameli
d7f643768c
Bugs 2778, 2339, Issue 887: Translation of some effect names...
...
... Those for which the internal name and the user-visible English names differ,
or that needed disambiguating context for i18n, were always shown as English
in the menus.
Silence and Filter Curve were the only two examples. There are others.
2021-05-14 14:27:23 -04:00
Paul Licameli
cf948ece52
Eliminate duplications of string literal "Nyquist Prompt"
2021-05-14 13:08:02 -04:00
Paul Licameli
9e70fa71ba
Issue 887: Some strings didn't translate, though in catalogs...
...
... What they had in common was the use of the XC macro to specify a
disambiguating context string. Example: "Interface" page of preferences.
TranslatableString had not implemented this
correctly except in the less usual case of plurals.
2021-05-13 10:27:08 +01:00
Paul Licameli
5b77d19324
Missing $ -- thank you vladkosi
2021-05-12 16:30:15 -04:00
Paul Licameli
b52192c4c4
Fix builds with precompiled headers, which broke at 794f4e5
2021-05-12 13:02:29 -05:00
Paul Licameli
82a1534226
Remove redundant test of USE_MIDI ...
...
... See instead how cmake_proxies/CMakeLists.txt already enforces that
if EXPERIMENTAL_MIDI_OUT is true, then USE_MIDI must be true
2021-05-12 13:02:29 -05:00
Paul Licameli
85a8d0ac97
Keep !EXPERIMENTAL_MIDI_OUT compilable
2021-05-11 19:32:10 -05:00
Dennis Braun
8bb55b8bbf
Fix CVE-2020-11867
2021-05-10 20:53:33 +03:00
Leland Lucius
95bcb08b4b
Revert "Cleanup and update FFmpeg support to v4.3.1 ( #741 )"
...
Removing until a decision is made on how to handle the required
library upgrade.
2021-05-10 10:33:01 -05:00
Paul Licameli
406b23cae7
More uses of AUDACITY_DLL_API...
...
... in many places where the function call will later need to be between
modules (or libraries, or the executable) and the annotation will be a necessity
to keep the linkage working on Windows.
That's all that this sweeping commit does.
2021-05-10 10:46:55 -04:00
Paul Licameli
fbfccf1393
Delete or un-inline some constructors, assignments, others...
...
... Which will be needed for various reasons for Windows builds of certain
modularizations, which will otherwise complain that they can no longer
generate them as inlines.
In one case, deleted copies require explicitly defaulted moves, but they will
work as generated inline.
2021-05-10 10:46:55 -04:00
Paul Licameli
3060530b4f
Remove outdated comments about Audacity.h and AUDACITY_DLL_API
2021-05-10 08:03:31 -04:00
Paul Licameli
c5ebc396eb
Audacity.h has shrunk to nothing, now remove it!
2021-05-10 00:05:23 -05:00
Paul Licameli
d51f505cd9
Define Audacity version constants in CMake not Audacity.h
2021-05-10 00:05:23 -05:00
Paul Licameli
d9b868334b
Remove special version string for Dark Audacity
2021-05-10 00:05:23 -05:00
Paul Licameli
e6cd0b88bc
Don't forward declare wxWindow in Audacity.h
2021-05-10 00:05:23 -05:00
Paul Licameli
794f4e5877
Inclusion of the correct config header on command line using CMake
2021-05-10 00:05:23 -05:00
Paul Licameli
229b82a502
Move definitions of safenew, PROHIBITED, _DEBUG into CMake
2021-05-10 00:05:23 -05:00
Paul Licameli
f2b53c82eb
Move definition of AUDACITY_DLL_API into src/CMakeLists.txt
2021-05-10 00:05:23 -05:00
Paul Licameli
b9ca0acb4a
Move some macros out of Audacity.h into various header files
2021-05-10 00:05:23 -05:00
Paul Licameli
79b259851f
Version check on gcc compiler moved to CMakeLists.txt
2021-05-10 00:05:23 -05:00
Grzegorz Pruchniakowski
e93fdd16c5
Update pl.po from Transifex
...
Update pl.po from Transifex
Probably the last package of fixes for old translations.
Greetings,
Gootector
2021-05-09 16:02:29 +01:00
Grzegorz Pruchniakowski
7e4e512739
Update pl.pl from Transifex
...
Update pl.pl from Transifex
The next package of fixes.
Greetings,
Gootector
2021-05-07 10:48:51 +01:00
Paul Licameli
29a657bc77
CMake function addlib can be called multiply for the same library
2021-05-06 09:15:22 -05:00
Paul Licameli
ec3d2424a5
addlib supplies absolute path to add_subdirectory...
...
... not assuming that it is invoked from cmake-proxies/CMakeLists.txt
This will allow modules to use lib-src libraries, and even for a module to be
the sole user of one of them.
So addlib lines may be moved out of cmake-proxies/CMakeLists.txt, when no
longer needed to build the reduced executable without the modules.
2021-05-06 09:15:22 -05:00
Paul Licameli
dd1ce8dd63
Move definition of CMake function addlib, unchanged
2021-05-06 09:15:22 -05:00
Paul Licameli
9fb32528d6
Generate *_API compiler definitions for modules...
...
... So mod-foo defines FOO_API properly on the command line, for use in its
public header files; on Windows, appropriately expanding one way when compiling
the library, another way when compiling other code that uses it, so that all
will link correctly.
2021-05-06 09:15:22 -05:00
Paul Licameli
5844b2090a
Generate a picture of module dependencies at configure time
2021-05-06 09:15:22 -05:00
Paul Licameli
1f6efefdf6
Fix math constants on Windows, such as M_PI, and min and max
2021-05-06 09:15:22 -05:00
Paul Licameli
fe8659f435
Separate CMake function for pervasive C++ flags, reuse it in modules
2021-05-06 09:15:22 -05:00
Paul Licameli
3943d1479f
Each module defines an interface target that other modules may use...
...
... Solving some problems of linking modules dependent on other modules in
Unix
2021-05-06 09:15:22 -05:00
Paul Licameli
ee344aa6c9
Modules expose transitive link dependencies...
...
... which will simplify CMakeLists when modules depend on other modules
2021-05-06 09:15:22 -05:00
Paul Licameli
ca7d96f20a
Transitive link dependencies via Audacity simplify module CMakeLists
2021-05-06 09:15:22 -05:00
Paul Licameli
938bbeb4f9
cmake function audacity_module abstracts common module setup steps...
...
... But leaving the wxDEBUG definition in each. It should not be in the reused
function.
2021-05-06 09:15:22 -05:00
Paul Licameli
20e818cb9e
CMake visits src before modules, because modules depend on src
2021-05-06 09:15:22 -05:00
Paul Licameli
6f58cb8294
Hoist the generation of the config header into top CMakeLists...
...
... Because it depends on having visited various lib-src directories, which I
want to delay until visiting various of the modules, and I also want to visit
src before the modules, because that's bottom-up dependency ordering.
So the step should not be done in src.
2021-05-06 09:15:22 -05:00
Leland Lucius
25089ff3ee
Modules should go into <prefix>/<libdir>/audacity/modules on Linux
2021-05-06 00:47:27 -05:00