1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 07:43:54 +02:00
Commit Graph

13869 Commits

Author SHA1 Message Date
Paul Licameli
0843918fa0 Duplicate Project in ProjectWindows
Patch imported by Audacity and adapted for Tenacity.

Original commit: 6477c9e0a6cb93b781c6c83153f1d036a7cc4c13

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-10-05 08:06:26 +02:00
Panagiotis Vasilopoulos
bc13febb29 lib-basic-ui: Fix up CMake
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-10-05 08:06:25 +02:00
Paul Licameli
2364504437 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

Original commit: 2facbe0d53

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-10-05 08:06:24 +02:00
Paul Licameli
e5cffb7620 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.

Original commit: 50e8139716

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-10-05 08:06:23 +02:00
Paul Licameli
2d0394796e 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.

Original commit: d20cf01255

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-10-05 08:06:23 +02:00
Paul Licameli
6daf0a29b7 Use ManualPageID as a stand-in alias for wxString
Useful for eliminating many direct mentions of wxString. We added this patch
from Audacity because it coincides with our goal of becoming more platform
agnostic.

Original commits:
- cfbdd2d22e
- 132f04d272

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-10-05 08:06:22 +02:00
dofuuz
b855fbeb48 Changes to Spectrogram color scheme strings
Original commit: 060885c4f6

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-10-05 08:06:21 +02:00
Panagiotis Vasilopoulos
27d31d906d Remove useless imported strings, import i18n comment
We don't need many of these imported strings, because we don't have
crash reports or updates.

Commit imported from d20cf01255

Co-authored-by: Paul Licameli <paul.licameli@audacityteam.org>
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-10-05 08:06:20 +02:00
Paul Licameli
9300ab1168 Add a string for after 3.0.3, to disambiguate "Recording"...
... as suggested by Sampo Hippeläinen.

Original commit: 3ebebbb360

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-10-05 08:06:19 +02:00
Paul Licameli
be6cce4628 Fixes so xgettext runs and doesn't extract example comments
Original commit: ab30511ad7

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-10-05 08:06:15 +02:00
Panagiotis Vasilopoulos
9d189dc3d2 New library for components
Based off the work of Paul and adapted for Tenacity.

Original commit: 54b5f7d12c

Co-authored-by: Paul Licameli <paul.licameli@audacityteam.org>
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-10-05 08:04:26 +02:00
Emily Mabrey
eb774a449c Merge pull request from tenacityteam/cmake-git-describe-fix
CMake: `GIT_DESCRIBE` fix

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/646
2021-09-29 15:59:20 -04:00
Emily Mabrey
13b2273a89 Add Git describe validation
Validate the output CMake list for `git_output` is the right length

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-28 18:43:33 -04:00
Emily Mabrey
b8896742f8 Fix GIT_DESCRIBE generation
Initially attempt to find tags excluding "Audacity-" and "DarkAudacity-"
Allow graceful fallback case for "Audacity-" tags
Add logic to remove "DarkAudacity-" tag prefix to match "Audacity-" tag behavior

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-28 15:40:04 -04:00
Emily Mabrey
c72c1dc2b6 Merge pull request from tenacityteam/auto-flatpak-ci
Enable auto runs of flatpak CI

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/648
2021-09-27 20:31:46 -04:00
Emily Mabrey
b450069a86 Enable auto runs of flatpak CI
Flatpak CI should now run automatically when flatpak specific files are changed

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-27 12:27:47 -04:00
TheEvilSkeleton
fe5b64a1c2 Flatpak: Remove leftover tenacity.desktop name
We have recently switched to rDNS schema. A little part was left out.

This change was merged ASAP, bypassing the normal review process,
because it is a follow up for a change that inadvertently resulted in
our Flatpak builds breaking.

Follow-up of 198d49b773.

Signed-off-by: TheEvilSkeleton <theevilskeleton@riseup.net>
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/647
2021-09-27 14:50:50 +00:00
Emily Mabrey
ff10653f15 Merge pull request from tenacityteam/emabrey/build-info-clang
Fix clang compiler build info

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/626
2021-09-27 01:59:41 -04:00
lmarz
198d49b773 Rename freedesktop and metainfo files to reverse DNS schema
Based on the suggestion made by Mart Raudsepp.

"Regular installs should have reverse DNS notation desktop and
metainfo files as well. This becomes important if we ever make use
of things like dbus service activation further down the line. And
renaming it then will break peoples app shortcuts and other things."

Signed-off-by: Leon Marz <main@lmarz.org>
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Helped-by: Mart Raudsepp <leio@gentoo.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/642
2021-09-27 05:49:51 +00:00
SteveDaulton
e776c2f7e4 Update license for Steve Daulton's bundled Nyquist plug-ins
Cherry-picked from upstream Audacity project as seen here:

df091bbde3

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-09-23 20:30:56 +02:00
Joakim Gyllström
75b90ce4be Opt in for macOS dark mode support 2021-09-23 20:25:16 +02:00
Haelwenn (lanodan) Monnier
7230f6a393 cmake: Add install target for libnyquist
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2021-09-23 12:08:51 +03:00
Sol Fisher Romanoff
4445aaabb3 CONTRIBUTING.md: clarify send-email requirements
Signed-off-by: Sol Fisher Romanoff <sol@solfisher.com>
2021-09-23 11:07:29 +03:00
Panagiotis Vasilopoulos
a1e7fd1aab ControlToolBar: Reorder icons
Although we expect that this change will probably put off long-time Audacity
users, we believe that it's easier to reach the buttons that are used the
most if they are placed on the right.

Controversial change is controversial, but better now than later.

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/402
2021-09-23 08:00:17 +00:00
Emily Mabrey
cf6ce76ce1 Merge pull request from tenacityteam/emabrey/vcpkg-setapikey-poc
Enable Nuget caching locally

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/629
2021-09-21 19:52:47 -04:00
Emily Mabrey
7085e096cb Resume using default vcpkg binary source
This change prevents requring vcpkg downloads twice

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-20 23:28:35 -04:00
Emily Mabrey
0f861b97b0 Add automatic local nuget config
CMake now automatically generates `nuget.config` with a read-only PAT

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-20 23:23:43 -04:00
Emily Mabrey
70eca6b9aa Add nuget.config to .gitignore
Prevent leaking PAT in a place where GH can see it and revoke it

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-20 23:23:43 -04:00
Emily Mabrey
2e84f0c03f Remove nuget.config
Modify cmake_build workflow to no longer remove automatically
Remove nuget.config file from repository

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-20 23:23:43 -04:00
Panagiotis Vasilopoulos
dbe4b564d4 Added Tenacity version in CMakeLists.txt
Doesn't change anything functionality-wise for now, particularly because of
my hesitation with this change as far as hard-coding the version again as a
fallback is concerned.

Audacity's version variable was also reverted in contrast to
56c953a14d for compatibility reasons with older
project files or for project file compatibility with newer versions of
Audacity.

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-09-19 16:04:33 +02:00
Mondanzo
a7db3db5a9 Replace Audacity references in macOS manifest
Signed-off-by: Mondanzo <danzo@mondanzo.de>
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/632
2021-09-19 07:57:37 +00:00
lmarz
0b4074d35e Show wxWidgets version in About dialog
Signed-off-by: Leon Marz <main@lmarz.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/634
2021-09-19 07:29:00 +00:00
Sol Fisher Romanoff
0ccf25c27d Merge remote-tracking branch 'lanodan/bugfix/cmake-wayland-vst'
The VST plugin done via GTK for non-apple & non-windows pulls
<gdk/gdkx.h>, which is specific to X11 and thus isn't available in a
pure-wayland system.

Reference-to: https://github.com/tenacityteam/tenacity/pull/620
2021-09-17 16:14:45 +03:00
Emily Mabrey
0f131bf848 Merge pull request from tenacityteam/emabrey/fix-skip-ci
Disable build skipping action temporarily
This was merged without review on an emergency basis

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/633
2021-09-16 18:30:06 -04:00
Emily Mabrey
2903c8f29c Disable CI build skip
Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-16 18:22:38 -04:00
Emily Mabrey
4b3778ec7c Lockdown skip ci action version
Use SHA of 3.4.1 version of fkirc/skip-duplicate-actions

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-16 17:14:35 -04:00
Juozas
0a71cad2df Add --tags parameter to git describe command
This commit contains a workaround for git describe command using only
annotated tags and not all tags known to repository when generating its
output. Adding such parameter to git command line should change its
behavior to more proper one.

Signed-off-by: Juozas <juozaspo@gmail.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/586
2021-09-16 16:18:23 +00:00
Panagiotis Vasilopoulos
b3c163adce CONTRIBUTING.md: Clarify when it is okay to merge changes (#627)
Wrote down some unspoken rules, such as the waiting times before a maintainer
is supposed to merge a change, and added some exceptions to those said rules
that make the development process of Tenacity more tedious and unproductive.

The said exceptions concern documentation-related changes.

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/627
2021-09-16 10:00:51 +00:00
Panagiotis Vasilopoulos
41e73e11bc BuildInfo.h: Improved Clang capitalization
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/626
2021-09-16 07:48:27 +02:00
Haelwenn (lanodan) Monnier
1ee2222c60 BUILDING.md: VST2 requires GTK w/ X11 on non-Apple/non-Windows
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2021-09-16 01:41:44 +02:00
Haelwenn (lanodan) Monnier
7a7792e317 CMake: Merge USE_VST option into VST2
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2021-09-16 01:00:58 +02:00
Emily Mabrey
3aa5d73a31 Merge pull request from Be-ing/macos_mono
BUILDING.md: add mono to Homebrew package list

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/615
2021-09-15 17:48:11 -04:00
Emily Mabrey
5ec9c7abe6 Merge pull request from Be-ing/macos_dylibs
CMake: fix copying of dylibs on macOS

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/610
2021-09-15 17:47:16 -04:00
Haelwenn (lanodan) Monnier
b8995f0989 CMake: Disable VST (GTK) when gdk-x11-3.0 isn't found [wayland]
The VST plugin done via GTK for non-apple & non-windows pulls <gdk/gdkx.h>,
which is specific to X11 and thus isn't available in a pure-wayland system.

This disables it automatically.

Closes: https://github.com/tenacityteam/tenacity/issues/614
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2021-09-15 22:29:15 +02:00
Emily Mabrey
35f233933f Merge pull request from tenacityteam/emabrey/gh-token-perms
Fix vcpkg issues on CI

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/617
2021-09-15 13:46:59 -04:00
Sol Fisher Romanoff
09df1ab06b Use wxWidgets 3.0 in Arch and Alpine builds
Signed-off-by: Sol Fisher Romanoff <sol@solfisher.com>
2021-09-15 11:48:47 +03:00
Emily Mabrey
6831615d3f Fix clang compiler build info
Make GCC/clang differentiation more accurate
Add "Apple clang" detection

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-14 23:05:33 -04:00
Emily Mabrey
400ef4096c Merge pull request from Be-ing/macos_wx-config
BUILDING.md: document setting WX_CONFIG on macOS

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/619
2021-09-14 18:09:12 -04:00
Emily Mabrey
b4032a7751 Move MACOSX_DEPLOYMENT_TARGET initialization
Stop setting it globally and make it wxwidgets build specific
Use CMAKE_OSX_DEPLOYMENT_TARGET instead of the env var name

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-14 14:58:12 -04:00
Emily Mabrey
eb57e47ce3 Modify vcpkg logs name to be unique
Use build matrix id to ensure uniqueness of vcpkg logs

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-14 14:58:12 -04:00