1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

167 Commits

Author SHA1 Message Date
Dmitry Vedenko
8aca9d02de Add the first Conan-based dependecies
add_conan_lib cmake function is defined, that allows to add a dependency using Conan with two possible system fallbacks:

1. pkg_check_modules is invoked, if `PGK_CONFIG ...` is present
2. find_package is invoked if `FIND_PACKAGE_OPTIONS` is present and `pkg_check_modules` has failed

If `ALWAYS_ALLOW_CONAN_FALLBACK` is present - `obey_system_dependencies` will be ignored for the package

Currently, the following dependencies are retrieved using Conan:

* zlib
* expat
* wxwidgets
* libmp3lame
* libid3tag
* libmad

The last three libraries are included in this commit, as they depend on zlib.
Properly pass **arch** and **os.version** to Conan
2021-05-24 06:53:53 -07:00
Paul Licameli
c5ebc396eb Audacity.h has shrunk to nothing, now remove it! 2021-05-10 00:05:23 -05:00
James Crook
92d1a34366 Update Credits
- Add Dmitry
- Show roles for Peter
2021-05-05 15:21:09 +01:00
Paul Licameli
e653b4aaf8 Eliminate Experimental.h, configure compile options instead...
... This makes it impossible to forget to include the EXPERIMENTAL definitions
(such as when cutting and pasting code) and so get unintended quiet changes of
behavior.

The EXPERIMENTAL flags are now specified instead in new file Experimental.cmake
2021-04-27 12:40:07 -04:00
James Crook
2e162adeff Bug 2702 - Enh: Build Info Improvements. (Part I)
Order of items rearranged so most important first.

Still to do:
- Gtk2/Gtk3 indicator
- GitIdent for wxWidgets.
2021-03-21 13:00:58 +00:00
James Crook
173e3b3d66 Ready for 3.0.1 development. 2021-03-17 10:13:51 +00:00
Paul Licameli
23f32a8319 Remove some unnecessary #include directives 2021-01-30 12:37:47 -05:00
Steve Daulton
69e0d7d114
Update copyright date
I missed one in the previous commit.
2020-11-11 16:24:23 +00:00
Steve Daulton
0836ab12b4
Update copyright date
Probably overlooked as it is at the bottom of the About page.
2020-11-10 15:17:15 +00: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
fa4d35296e AllThemeResources.h has a .cpp & doesnt include Theme.h...
... (it used to, via MacroMagic)

This splits a cycle of 8 into 6 + 1 + 1
2020-05-28 05:50:24 -04:00
Paul Licameli
a54eaece03 Show the program name verbatim throughout AboutDialog.cpp 2020-05-24 15:07:15 -04:00
Paul Licameli
a2a0f9a177 Don't put markup in translatable strings...
... Note that par1str and par2str aren't even shown, but comment out.  Yet, I
did the work on them to serve as examples for the future.

Note the use of contexts too.  Be aware of case distinctions that some languages
make.
2020-05-24 15:07:15 -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
5cef2cd3e4 Remove a few macro _ 2020-05-22 13:07:49 -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
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
Leland Lucius
66aae0900b Ease CMake and legacy build coexistence
Cliff noticed that the CMake git ident was not being updated when
pulling new changes.  This was because it was getting captured at
configuration time and, even if you pull more changes, the CMake
configuration may not be redone automatically if the build files
weren't also changed.

So, this adds a new target to get the information at build time
instead.
2020-03-11 22:31:19 -05:00
Leland Lucius
f4d567dd9e Use "CMAKE" instead of "CMAKE_INTDIR"
The latter isn't available on all 3 platforms.
2020-02-24 10:36:41 -06:00
Paul Licameli
a7895b4998 "CMake" doesn't need to be translated 2020-02-21 16:47:15 -05:00
Leland Lucius
c9e760b764 Show that the build was CMake based
Probably want to pull this out later, but it's in the About
dialog as part of the "Build Type".
2020-02-21 14:32:13 -06:00
Paul Licameli
700c3deba9 Rewrite composition of long texts in AboutDialog.cpp 2019-12-26 22:11:40 -05:00
Paul Licameli
8b65b1ae08 ShuttleGui::StartNotebookPage takes TranslatableString...
... and remove an unused overload
2019-12-26 15:33:47 -05:00
Paul Licameli
1944ac2040 TranslatableString for labels of ShuttleGui buttons 2019-12-23 15:35:48 -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
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
a19035429c Welcome back, Leland! 2019-12-14 14:00:23 -05:00
Paul Licameli
2afddd3421 More TranslatableString in AboutDialog...
... fixing a few missed translations
2019-12-14 14:00:23 -05:00
Paul Licameli
bed25c870b Use TranslatableString in About dialog credits...
... obeying the substitute-don't-concatenate rule
2019-12-14 14:00:23 -05:00
Paul Licameli
96291c5476 Remove second argument of AddWindow(), use Position() instead 2019-12-02 22:01:22 -05:00
Paul Licameli
c72dbf5b51 Define and use ShuttleGui::Focus 2019-12-02 17:26:40 -05:00
Paul Licameli
bca0afd52e ShuttleGui lets you specify whether a button is default. Use that. 2019-11-28 14:24:43 -05:00
Paul Licameli
d6317ae6af Merge LinkingHtmlWindow into HelpSystem...
... they cooperated closely in a cycle of two not worth breaking
2019-07-10 10:34:04 -04:00
Paul Licameli
56b1d531b2 HelpText.cpp has fewer dependencies...
... freeing it to a low level and AboutDialog.cpp to a high level, by moving
functions from the latter into the former
2019-05-18 20:29:25 -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
Paul Licameli
f45300f032 This is only comments, in files where USE_ macros are tested...
... following the comment convention used in the preceding commit.
2019-03-22 12:38:30 -04:00
Paul Licameli
5e7d41ec07 Each .cpp/.mm file includes corresponding header before any other...
... except Audacity.h

This forces us to make each header contain all forward declarations or nested
headers that it requires, rather than depend on context.
2019-03-17 22:54:52 -04:00
Paul Licameli
906e55f047 Experimental.h in all .h or .cpp files that directly use EXPERIMENTALs...
... except Audacity.h; and in no others.

Do so even if Experimental.h gets multiply included, as in both the .h and
.cpp files.

This makes it easier to do a text scan to be sure there are no unintended quiet
changes of meaning because of omission of Experimental.h when the flag is
an enabled one.

Also move inclusions of Experimental.h earlier.

Also don't require Experimental.h to be preceded by Audacity.h to define
EXPERIMENTAL_MIDI_OUT correctly.
2019-03-17 22:54:00 -04:00
Paul Licameli
06b3b42794 Remove unnecessary initializers for empty wxString 2019-03-15 15:18:11 -04:00
Paul Licameli
c68e336247 More use of std:: style members of wxString...
... replacing:

Length => length
Len => length
2019-03-10 14:44:54 -04:00
James Crook
c912b13747 Bug 2046 - LAME not found error on 64-bit Mac build shows wrong library (32-bit one)
Audacity now looks for libmp3lame64bit.dylib on mac.
It also reports 64 bit in the build tab in about Audacity if built for 64 bit.
2019-02-10 07:37:37 +00:00
James Crook
901d684c3d Add Max Maisel to contributors (in AboutDialog) 2018-08-06 11:02:57 +01:00
James Crook
ed34e6b029 Vaughan to emeritus in AboutDialog credits. 2018-06-12 21:00:36 +01:00
Steve Daulton
0fc4c2de7a Remove trailing comma 2018-05-28 12:44:45 +01:00
Steve Daulton
126ded7d9a Update credits
Added section for website and graphics.
2018-05-24 13:20:53 +01:00
Paul Licameli
7a0475e39f Remove most uses of AUDACITY_OLD_STD 2018-05-10 00:56:36 -04:00
James Crook
8991fe7521 Fix incorrect https and translation markings.
- DarkAudacity website does not support https, so don't specify https in strings.
- Don't translate text about DarkAudacity.
2018-02-26 14:09:07 +00:00
Paul Licameli
586542bfe2 Remove post-translation substitutions 2018-02-21 19:20:54 -05:00
Paul Licameli
a663fefb8c Up to date credit link for vorbis 2018-02-05 09:00:58 -05:00
Paul Licameli
007fa9eca2 http -> https in user-visible strings...
... Some in wxT can be edited directly, some in _() are not really used now
so they can be edited directly, others require a post-translation substitution.

Not all links to libraries from Credits work with https: so update only those
that do.
2018-02-05 08:52:13 -05:00