1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-18 20:26:32 +01:00
Commit Graph

184 Commits

Author SHA1 Message Date
akleja
12c0cba3c4 Remove PortMixer code
Removes PortMixer code since PortMixer isn't supported by PortAudio

Signed-off-by: akleja <storspov@gmail.com>
2021-09-03 02:07:50 +03:00
Panagiotis Vasilopoulos
b9ac8b9bc0 Remove GStreamer import functionality
- Remove `src/import/ImportGStreamer.cpp`
- Remove CMake definition from `src/audacity_config.h.in`
- Remove credit in About Dialog, since we don't even bundle that anymore
- Remove GStreamer mention from comment
- Remove USE_GSTREAMER macro

The feature itself is a leftover that is more than a decade old. Upstream
Audacity and downstream packagers don't enable that either.

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-08-14 09:01:34 +03:00
Humberto Rocha
e0f34e7154 Use git describe in About Dialog
- Replaced Commit Id by Version from GIT_DESCRIBE output
- Injected GIT_DESCRIBE macro at Version.cmake
- Removed timestamping from version description and cleaned its code

Resolve: #460

Signed-off-by: Humberto Rocha <humrochagf@gmail.com>
2021-08-13 13:43:28 +03:00
Emily Mabrey
d900e3a580 Fix AboutDialog macro usage
Make usage of `USE_` macros optional.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/427
2021-08-02 00:31:35 -04:00
Campbell Jones
c0c275ffaf Use XDG dirs by default on Linux
Signed-off-by: Campbell Jones <git@serebit.com>
2021-07-25 19:01:48 +03:00
Emily Mabrey
a8e9a0053d Refactor AboutDialog.cpp and create BuildInfo.h
Move build information functionality into new `BuildInfo.h` header.
Fix formatting issues in credits list.
Add missing libraries to library list.
Fix translation issues for contributor credits.
Hide ugly macro and `#ifdef` usage inside `BuildInfo.h`.
Convert some `#ifdef` usage into `constexpr` uses.
Reassure the compiler that the compiler specific version macros exist.

Reference-to: https://github.com/tenacityteam/tenacity/pull/361
Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-07-25 00:40:45 -04:00
Panagiotis Vasilopoulos
9ac757ebc3 Updated About Dialog
* Add names (Not final yet)
* Added contact information for every contributor (Not final yet)
* Add "Special Thanks" section
* Improve some logic
* Add notice regarding the alphabetical order
* Improved tagline

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-07-24 05:03:31 +00:00
Emily Mabrey
eb6734a48b Move XO(...) outside #ifdef
Placing `XO` usage inside pre-processor blocks is not consistenly translatable.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-07-22 20:37:07 -04:00
Panagiotis Vasilopoulos
8e61eb5c22 Remove __TDATE__ to improve reproducibality
"This typically involves normalizing variables that may change, such as [...]
timestamps, locales, and paths."

https://en.wikipedia.org/w/index.php?title=Reproducible_builds&oldid=1029647675

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-07-22 19:48:37 +00:00
Emily Mabrey
2f316d5bc4 Rename project in many places; Replace Most Project Logos; Refactor About Tenacity... Dialog (#276)
Add `locale/en.po` file.
Add English to `locale/LINGUAS` list.
Partially duplicate `msgid`s to `msgstr`s in English locale enable eventual key `msgid` changes
Replace former project name with Tenacity in English locale.
Replace former project website with Tenacity compatible usages in English locale.
Modify `AboutDialog.h` by renaming variables.
Modify `AboutDialog.cpp` by replacing usage of pre-fork name in Strings.
Modify AddBuildInfoRow methods to be static in About dialog.
Make License text const in About dialog.
Make pre-fork credits different in About dialog.
Begin adding Tenacity specific credits
Macros starting with `__` are reserved, so I removed the `__` on the About Dialog guard macro.
Remove `AboutDialog::` from usage of `Role` in `AboutDialog.h`
Refactor overly long generator method into separate methods in `AboutDialog.(h|cpp)`
Begin adding Tenacity developer information
Cleanup layout of `AboutDialog.h` and `AboutDialog.cpp`
Add `safedelete` macro to compliment odd `safenew` macro
Add `enum` to `ShuttleGui.cpp` to make it more clear what `Prop` method is doing.
Remove a ton of pointless and/or redunant `#ifdef` usage
Remove pointless singleton in AboutDialog
Make AboutDialog modal on MacOS
Fix reference type use of `auto` in `AudacityApp` b/c it makes unintentional copy.
Update XPM and PNG images using Tenacity assets
Update ICO images using Tenacity assets.
Fix Windows resource script that improperly used `winuser.h` import.
Add `*.aps` to gitignore to prevent IDE RC pre-load file from being committed.
Add default values for pre-processor constants in `tenacity.rc`.
Make changes needed for `Tenacity.exe` binary
Add 8x8 PNG to Windows ICO files
Replace project name in various CMake and CPack file.
Replace project name in various directory structures.
Replace project name in various OS-specific build files.
Replace project name in various documentation files.
Update the PO and POT files using the script.
Fix places where a `.desktop` file was used on Linux.
Replace title of project windows.
Make splash screen click through to `tenacityaudio.org`.
Remove ® from `AboutDialog.cpp`
Modify copyright message in `AboutDialog.cpp`

Signed-off-by: Emily Mabrey <emilymabrey93@gmail.com>
2021-07-20 19:46:29 -04:00
Panagiotis Vasilopoulos
44968d3ac3 Rebranding: Replace 'Audacity: A Digital Audio Editor' in source files (#248)
List of commands that were executed in the `src directory`:
* sed -i 's/Audacity: A Digital Audio Editor/Tenacity/g' *.h
* sed -i 's/Audacity: A Digital Audio Editor/Tenacity/g' *.cpp

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-07-13 09:30:42 +00:00
fossdd
49d9a75e49 AboutDialog: Fix build commit link
If you're in the AboutDialog and want to click on the build commit, you are now redirected to tenacity's commits instead of the upstream's one.
2021-07-07 12:49:04 -04:00
Cookie Engineer
46e4c648fb 🐛 Fixes for About Dialog and Download URLs 2021-07-04 17:50:51 +02:00
Dmitry Vedenko
e6e81399f7 Fixes alphabetical order in credits 2021-06-18 18:38:40 +03:00
Paul Licameli
6b82f43000 Additions to credits 2021-06-18 09:58:27 -04:00
James Crook
858517f404 Update credits
Buanzo, Leland and Bill move to 'Emeritus'.
2021-06-11 22:32:42 +01:00
James Crook
27618eb95f Update AboutDialog
* Move Peter Sampson to emeritus.
* Trademark no longer 'of Dominic Mazzoni'.
2021-06-01 11:31:37 +01:00
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