1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 07:39:42 +02:00

13859 Commits

Author SHA1 Message Date
Mart Raudsepp
ebad9cc02f Use the override keyword directly instead of wxOVERRIDE
The override keyword is available since C++11 and the project already
required C++17, so there's no reason to go through wxOVERRIDE to support
non-C++11 compilers. wxOVERRIDE is new since wx3.1.0

Signed-off-by: Mart Raudsepp <leio@gentoo.org>
2021-08-28 00:29:03 +03:00
Be
1b2c9038a4
Build PortAudio with ASIO support
Reference-to: https://github.com/tenacityteam/tenacity/pull/492
Signed-off-by: Be <be@mixxx.org>
2021-08-27 17:24:16 +03:00
Be
4ad5968c34
BUILDING.md: clarify that wxWidgets 3.1.4 is in Fedora 34
Fedora 34 will not be updated to wxWidgets 3.1.5:
https://bugzilla.redhat.com/show_bug.cgi?id=1948935#c1

Reference-to: https://github.com/tenacityteam/tenacity/pull/496
Signed-off-by: Be <be@mixxx.org>
2021-08-27 17:19:49 +03:00
Lucas Fugmann
3d826b0d43
Replace Audacity branding in Innosetup, support HiDPI
Reference-to: https://github.com/tenacityteam/tenacity/issues/502
Signed-off-by: Lucas Fugmann <lucas@fugi.dev>
2021-08-27 17:14:33 +03:00
Sol Fisher Romanoff
9d1f522257
Add Alpine build manifest
Signed-off-by: Sol Fisher Romanoff <sol@solfisher.com>
2021-08-27 14:09:10 +03:00
Semisol
0000000af4
Add license notice for logo/icon and edit link
While we are at it, also make the Creative Commons license link to use
the added links section.

Signed-off-by: Semisol <hi@semisol.dev>
2021-08-25 13:54:49 +03:00
Emily Mabrey
40d4883233
Revert "Replace header guards with #pragma once"
This reverts commit a6bc896e246d48821ff7ae70d572aefcf0cbedd6.
2021-08-24 16:57:24 -04:00
Hanns Holger Rutz
669254d5a5
Clarify wxwidgets and cmake instructions in BUILDING.md
* note jack 1 vs 2 package incompatibility
* example instructions for building and installing wxWidgets
* show how to use cmake options

Signed-off-by: Hanns Holger Rutz <contact@sciss.de>
2021-08-24 22:36:50 +03:00
Leon Marz
a6bc896e24 Replace header guards with #pragma once
Signed-off-by: Leon Marz <main@lmarz.org>
2021-08-24 11:16:01 +02:00
Be
05205a5d6c
update vcpkg submodule with updates from upstream
vamp-sdk has been removed from the overlay since
https://github.com/microsoft/vcpkg/pull/19572
was merged upstream.

Signed-off-by: Be <be@mixxx.org>
2021-08-22 17:36:33 +03:00
Leon Marz
cc24305ec9
Remove obsolete BUILDING_AUDACITY macro
Signed-off-by: Leon Marz <main@lmarz.org>
2021-08-22 17:33:22 +03:00
Emily Mabrey
2fcf9d3a5b
Fix MacOS CI
Only attempt signing using Apple certificate on create tag events.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/525
2021-08-22 09:04:13 -04:00
Emily Mabrey
3bca228baa
Merge pull request from tenacityteam/nuget-cache
Implement Nuget binary caching for vcpkg
Enable cache population from CI runners

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/525
2021-08-22 08:54:19 -04:00
Emily Mabrey
63bf659389
Merge pull request from lmarz/master
Replace `AUDACITY_DLL_API` with `TENACITY_DLL_API`

Signed-off-by: Leon Marz <main@lmarz.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/523
2021-08-21 17:11:03 -04:00
Sol Fisher Romanoff
b2bf7b667b
BUILDING.md: Add Alpine Linux instructions
Signed-off-by: Sol Fisher Romanoff <sol@solfisher.com>
2021-08-21 22:19:26 +03:00
Juozas
d3b52bdcab
BUILDING.md: Remove libportsmf-dev in Debian section
Solves build problem on Debian/Ubuntu based distributions by not
including broken/outdated versions in default dependency installation
list.

Signed-off-by: Juozas <juozaspo@gmail.com>
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-08-21 22:11:57 +03:00
Panagiotis Vasilopoulos
cd9333ecaf
Replaced Audacity reference in file association
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-08-21 22:02:31 +03:00
Panagiotis Vasilopoulos
1f281b3b43
Fixed Audacity.Project regression
What I tried to do here, as well as the alternative fixes I considered,
is way too large to explain. Long story short, I wanted to initially check
whether Tenacity.Project OR Audacity.Project was defined, but a typo as I was
formatting the change led to a logic error.

However, even if I did what I wanted to do, that would mean that we'd "lose"
our opportunity to ask the user whether they want to use Tenacity instead of
other programs. The Audacity developers basically already fixed the problem
that I was trying to fix, and the solution was right in front of us.

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-08-21 22:02:31 +03:00
Be
00e7845f32
Remove obsolete CMAKE_OPTIONS.md
Signed-off-by: Be <be@mixxx.org>
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-08-21 22:00:18 +03:00
Emily Mabrey
e36e9095bd
Make log uploads conditional
Since vcpkg no longer always generates buildtree logs ignore them missing

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-08-21 13:04:01 -04:00
Emily Mabrey
03d8c31316
Enable vcpkg binary cache using Nuget
Add Nuget binary caching to vcpkg builds
Enable Jfrog Artifactory as Nuget source in CI builds
Add manual non-interactive Nuget authentication
Prevent CMake from overwriting VCPKG_BINARY_SOURCES
Use CI builds to auto generate cache artifacts within Artifactory
Enable action trigger kind "workflow_dispatch" within `cmake_build.yml`

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-08-21 11:47:02 -04:00
Leon Marz
80dc2cb7d6 Replace AUDACITY_DLL_API with TENACITY_DLL_API
Signed-off-by: Leon Marz <main@lmarz.org>
2021-08-21 13:23:21 +02:00
Be
13914c5125
rename MP2 CMake option to MP2_ENCODING
Twolame only encodes MP2 audio. It does not decode MP2 audio.

Signed-off-by: Be <be@mixxx.org>
2021-08-18 23:47:32 -05:00
Emily Mabrey
db09547873
Merge pull request from tenacityteam/update-codeql
Update CodeQL runner for vcpkg integration.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/489
2021-08-17 22:48:50 -04:00
Emily Mabrey
18343ef1f2
Update CodeQL runner for vcpkg integration
Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-08-17 21:10:06 -04:00
Emily Mabrey
ebd31bb376
Merge pull request from Be-ing/build_rewrite
Replace dependency management done via conan with vcpkg within CMake.

Reference-to: https://github.com/tenacityteam/tenacity/pull/228
Signed-off-by: Be <be@mixxx.org>
Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-08-17 20:42:12 -04:00
Be
d54bcb0822
Fix Findid3tag.cmake
Remove linking option containing erroneous reference to `z.lib`.
Add `set` commands to provide documented `id3tag::id3tag` vars.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Signed-off-by: Be <be@mixxx.org>
Co-authored-by: Emily Mabrey <emabrey@tenacityaudio.org>
Co-authored-by: Be <be@mixxx.org>
2021-08-17 19:20:54 -04:00
Be
43eeb00900
remove unused CMake modules
Signed-off-by: Be <be@mixxx.org>
2021-08-16 18:36:31 -05:00
Emily Mabrey
86ef2cfc85
Add compile defintions to silence C++17 warnings
Add `CXX_WARNINGS_SILENCE_DEFINES` variable.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Signed-off-by: Be <be@mixxx.org>
2021-08-16 13:22:56 -05:00
Be
76c63fa0fc
CMake: add options to disable sccache and ccache if they are found
Signed-off-by: Be <be@mixxx.org>
2021-08-16 13:22:55 -05:00
Be
af90feeb13
Rewrite BUILDING.md for revamped dependency management with vcpkg
Signed-off-by: Be <be@mixxx.org>
2021-08-16 13:22:55 -05:00
Be
0acf00d8b9
Use vcpkg for dependencies and cleanup GH Actions workflow
Signed-off-by: Be <be@mixxx.org>
2021-08-16 13:22:02 -05:00
Be
7f95afcc89
ToolManager: move #include <wx/eventfilter.h> to cpp file
This fixes a link error with MSVC and sccache:

wxbase31u.lib(wxbase315u_vc_custom.dll) : error LNK2005: "public: __cdecl wxEventFilter::wxEventFilter(void)" (??0wxEventFilter@@QEAA@XZ) already defined in ToolManager.cpp.obj
wxbase31u.lib(wxbase315u_vc_custom.dll) : error LNK2005: "public: virtual __cdecl wxEventFilter::~wxEventFilter(void)" (??1wxEventFilter@@UEAA@XZ) already defined in ToolManager.cpp.obj

Signed-off-by: Be <be@mixxx.org>
2021-08-16 13:22:02 -05:00
Be
e9a3742de9
CMake: fix handling of use_pch option
Having ccache or sccache installed should only set the default,
not prevent from selecting one option or the other.

Signed-off-by: Be <be@mixxx.org>
2021-08-16 13:22:02 -05:00
Be
74ccbb87b7
Devendor all dependencies except libnyquist
Signed-off-by: Be <be@mixxx.org>
2021-08-16 13:22:02 -05:00
Be
ea48aa3b9c
Remove cmake-proxies hacks for building vendored libraries
Signed-off-by: Be <be@mixxx.org>
2021-08-16 13:22:01 -05:00
Be
6a7c7cdde4
SourceHut CI: build with Arch Linux packages except wxWidgets 3.1.5
Signed-off-by: Be <be@mixxx.org>
2021-08-16 13:22:01 -05:00
Be
b1549dd13e
CMake: replace Conan with find_package and add find modules
Also, necessarily coupled with this:
* add CMakeLists.txt for vendored libnyquist
* fix SoundTouch header include paths
* move nyq_reformat_aud_do_response function
* handle portSMF headers installed to portsmf or portSMF

Signed-off-by: Be <be@mixxx.org>
2021-08-16 13:22:01 -05:00
Be
4777d04cf2
Disable EXPERIMENTAL_MIDI_OUT
This does not build without the vendored fork of PortAudio.

Signed-off-by: Be <be@mixxx.org>
2021-08-16 13:22:01 -05:00
Be
dedb67e932
AudioIOBase: add missing #include <portaudio.h>
Signed-off-by: Be <be@mixxx.org>
2021-08-16 13:22:01 -05:00
Panagiotis Vasilopoulos
12c9f5434a
Detect Audacity.Project files
The conditions that were affected by this change were also split across
multiple lines to improve formatting.

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Reference-to: 4408d96ff505d9d75de997ed5ca483a5ea393da5
Reference-to: https://github.com/tenacityteam/tenacity/pull/482
2021-08-15 17:20:20 +03:00
Sol Fisher Romanoff
c51b450d6c
Replace usage of std::uncaught_exception
* Update minimum MacOS version to 10.12 Sierra
* Replace `std::uncaught_exception` with `std::uncaught_exceptions`

Signed-off-by: Sol Fisher Romanoff <sol@solfisher.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/481
2021-08-15 10:04:30 -04:00
Emily Mabrey
4e877b8aed
Fix executable manifest regression
Add `publicKeyToken` attribute back to `Tenacity.exe.manifest`.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/475
Reference-to: 20ee9a6c57a54b24befe0f03fedefc040c160b70
2021-08-14 14:18:07 -04:00
Panagiotis Vasilopoulos
a928dbb6dc
Remove GStreamer references from locale files
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-08-14 09:02:26 +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
Sol Fisher Romanoff
4408d96ff5
Use Tenacity.Project in AudacityApp.cpp
Signed-off-by: Sol Fisher Romanoff <sol@solfisher.com>
2021-08-13 15:35:21 +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
Panagiotis Vasilopoulos
20ee9a6c57
Update Windows manifest
- Updated tagline
- Removed reference to Audacity public key

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-08-13 13:40:52 +03:00
Not a proton
57c4c6143d
Correct commit ID location in bug report form
Signed-off-by: Not a proton <notaproton8@gmail.com>
2021-08-13 12:51:04 +03:00
Vitaly Sverchinsky
a64277fb55
Fixing label track update on mouse movement
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-08-13 12:27:37 +03:00