1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00

50 Commits

Author SHA1 Message Date
Paul Licameli
d8cb4721f1 Fixes for linking the following commits on Windows 2021-08-11 08:25:22 -04:00
Paul Licameli
cf09f0ad60 Fix event types used in PrefsListener singalling...
... which broke at a2f109d
2021-08-09 12:05:43 +03:00
Paul Licameli
48217d5acf Macros to simplify usage of class template AttachedVirtualFunction ...
... And allow correct linkage when overrides are defined in dynamically loaded
modules
2021-08-06 08:56:16 -04:00
Paul Licameli
ed3e4de17b New library for registries 2021-08-06 08:56:16 -04:00
Paul Licameli
0506faee02 New library for files 2021-07-30 08:17:27 -04:00
Paul Licameli
347cb7c294 Move AppName to lib-utility...
... It makes more sense there, at an even lower level than lib-files.  Avoid
type wxString.
2021-07-30 08:17:25 -04:00
Dmitry Vedenko
cb8fe04664 Fixes GCC11 compatibility 2021-07-28 14:27:35 +03:00
Paul Licameli
cfce6da603 Resample into lib-math; Audacity doesn't use libsoxr directly 2021-07-22 16:54:00 -04:00
Paul Licameli
f52dfd3ac3 New library for math...
... note the swap of target_link_libraries lines in src/CMakeLists.txt,
needed to build at least on macOS, becuase FFT.h must be looked up first in
lib-math, not in lib-src/twolame

Also making a dependency cycle of SampleFormat and Dither!  But we will tolerate
that within one small library.
2021-07-22 16:54:00 -04:00
Paul Licameli
7e50e9b5af New library for preferences...
... It mentions some wxWidgets types in its interface, but these are in the
acceptable utility subset of wxBase that we still consider GUI toolkit-neutral.
2021-07-22 14:50:26 -04:00
Paul Licameli
0683d3c158 New library lib-exceptions 2021-07-21 14:01:58 -04:00
Paul Licameli
f0e1ae9c21 Fix visibility of CallAfter and Yield on Windows 2021-07-21 14:01:57 -04:00
Paul Licameli
333aa10624 Add BasicUI::MakeGenericProgress, for when the denominator is unknown 2021-07-18 20:39:25 -04:00
Paul Licameli
0555c1139d Define BasicUI::MakeProgress as abstract factory for progress dialogs 2021-07-18 20:39:25 -04:00
Paul Licameli
14ad405b04 Define BasicUI::ShowMessageBox 2021-07-18 20:39:25 -04:00
Paul Licameli
189c6c1dbc Move error dialog functions into the BasicUI facade...
... now ErrorDialog.h is included only in ErrorDialog.cpp and
wxWidgetsBasicUI.cpp
2021-07-18 20:39:23 -04:00
Paul Licameli
2facbe0d53 Define BasicUI::WindowPlacement and subclass for wxWidgets...
... An elaborate way to hold a wxWindow* as parent of a window, but avoiding
mention of wxWindow* in the member functions of BasicUI::Services, to be defined
next
2021-07-18 20:37:07 -04:00
Paul Licameli
50e8139716 Define CallAfter and Yield in BasicUI...
...so direct uses of wx/app.h may later be removed.  That header is one of the
files that is in wxBase, but is not acceptable in "toolkit neutral" code,
which should not directly use any version of an event loop.
2021-07-18 20:37:07 -04:00
Paul Licameli
d20cf01255 Facade class for basic UI, injection of a wxWidgets implementation...
... but none of the methods is defined yet.

The intention is to inject dependencies on wxWidgets (or other) toolkit so that
lower-level files have less build dependency on wxCore classes or on the
event loop.
2021-07-18 20:37:07 -04:00
Paul Licameli
5c291aa855 Merge release-3.0.3 into master
Conflicts:
	locale/pl.po
	src/ProjectFileManager.cpp
2021-07-16 20:42:00 -04:00
Paul Licameli
a59f5907bd Add i18n-hint comment; clean up FutureStrings.h 2021-07-15 12:43:32 -04:00
Dmitry Vedenko
1bcc98230d
Adds callback to report the download and upload progress (#1202)
* Adds callback to report the download and upload progress

* Fixes upload progress
2021-07-13 14:47:07 -04:00
Paul Licameli
54b5f7d12c New library for components 2021-07-13 09:28:43 -04:00
Paul Licameli
1f83f07cfe Same custom over-aligned allocation routine on all platforms...
... in particular so that warnings on exit in the debug build on Windows are
suppressed.

Maybe it's not important to suppress them.  Or maybe they suggest all is not
correct in the MSVC implementation of this C++17 feature?
2021-07-04 17:39:51 -04:00
Paul Licameli
132f04d272 ManualPageID is a new type; rewrite HelpSystem::ShowHelp and its uses 2021-07-01 13:35:57 -04:00
Paul Licameli
cfbdd2d22e Type alias ManualPageID for wxString used in many places...
... eliminating many direct mentions of wxString.  A real type distinction will
be made next.
2021-07-01 13:33:04 -04:00
Dmitry Vedenko
4ed2e0d265 Fixes GCC 11 compatibility
Fixes broken GCC 11 build
2021-06-24 12:43:52 +03:00
Paul Licameli
77dab158c3 Make Audacity build in C++17 ...
... Fixing many conditional operators with explicit construction of wxString
instead of simple string literals;

And fixing allocation of more strictly aligned structures on Mac, without need
for 10.14 as the minimum SDK, by means of some class-specific operators new
and delete.
2021-06-18 21:44:55 +03:00
Vitaly Sverchinsky
e8b186a9b4 Crashreporting 2021-06-15 22:44:07 +03:00
dofuuz
060885c4f6 Changes to Spectrogram color scheme user-visible strings because of string freeze 2021-06-15 12:41:44 -04:00
Paul Licameli
5cf1d514f6 Made new strings agree with FutureStrings.h; removed from there 2021-06-13 19:24:12 -04:00
Paul Licameli
3ebebbb360 Add a string for after 3.0.3, to disambiguate "Recording"...
... as suggested by Sampo Hippeläinen.
2021-06-10 12:07:33 -04:00
Paul Licameli
ee8caa2452 Rename UnusedStrings.h as FutureStrings.h 2021-06-10 12:04:28 -04:00
Dmitry Vedenko
97914403f6 Updates Doxygen documentation 2021-06-08 08:08:26 -07:00
Dmitry Vedenko
cb1f8b6c34 Adds lib-sentry-report 2021-06-08 08:08:26 -07:00
Paul Licameli
ab30511ad7 Fixes so xgettext runs and doesn't extract example comments 2021-06-07 08:16:38 -04:00
Anton S. Gerasimov
9693e375c2
Update UnusedStrings.h 2021-06-05 18:20:51 +03:00
Anton S. Gerasimov
7e15eef29e
Update UnusedStrings.h 2021-06-04 20:39:31 +03:00
Anton S. Gerasimov
da59b6a82a
Update UnusedStrings.h 2021-06-04 19:08:41 +03:00
Anton S. Gerasimov
e12c52167f
Update UnusedStrings.h 2021-06-04 16:35:15 +03:00
Jouni Helminen
63bde66f65
Update UnusedStrings.h (#940)
* Update UnusedStrings.h

Added translatable strings for crash/error reporting and the new spectrogram colour preferences (https://github.com/audacity/audacity/pull/830)

* Update UnusedStrings.h

updated as per guidance from Paul

* Update UnusedStrings.h

Commented out Paul's examples, updated the spectogram settings as per Steve's/Peter's suggestion - Color (Default) and Color (Classic)

* New crash reporter strings; access keys; context strings

* Added "Unknown assertion" and more context strings

* Added comments about shortcut keys

* Choice control items do NOT need & characters, choice label does

Co-authored-by: Paul Licameli <paul.licameli@audacityteam.org>
2021-06-03 09:37:12 -04:00
Dmitry Vedenko
37fba65d1b Adds lib-uuid
Adds a small library to generate UUID values. This library will be used in Sentry error reporting
Replace constructor cast with static_cast


Removes a noexcept sneaked in


Adds documentation and some code review fixes


Fixes doxygen
2021-06-02 07:41:54 -07:00
Paul Licameli
64d7ca7403 New utility library 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
Dmitry Vedenko
1ac4df1f83 Fixes invalid ARM64 handling in CurlHandleManager 2021-05-27 13:28:21 +03:00
Dmitry Vedenko
4dc4e86863 Make lib-network-manager an opt-in library 2021-05-26 07:41:47 -07:00
Dmitry Vedenko
13533c8bfa Fixes MSVC 2017 support 2021-05-26 06:13:38 -07:00
Dmitry Vedenko
77cc7bed6f Adds lib-network-manager 2021-05-26 12:46:45 +03:00
Dmitry Vedenko
52a835bd61 Adds lib-string-utils 2021-05-26 12:46:45 +03:00
Paul Licameli
dfbf3d25c1 Support for our own libraries, distinct from modules 2021-05-18 00:12:44 -04:00