1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-15 07:01:18 +02:00
Commit Graph

13801 Commits

Author SHA1 Message Date
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: 4408d96ff5
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: 20ee9a6c57
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
Vitaly Sverchinsky
379bcd9767 Changing affordance hint text
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-08-13 12:27:37 +03:00
Paul LaMendola
425a182de0 Add triangle waveform to Tone Generator.
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-08-13 12:27:37 +03:00
Paul Licameli
be46a473fd Fix off-by-one error...
... Everywhere else, GetLeftOffset() not GetLabelWidth() is used as the origin
in PositionToTime and TimeToPosition.

This only affects two commands in TransportMenus.cpp.  Starting time of
playback may change slightly (by the duration that corresponds to one pixel).

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-08-13 12:27:37 +03:00
Vitaly Sverchinsky
cbe05d8030 Note track affordances
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-08-13 12:27:37 +03:00
Paul Licameli
dbdd2a39ef Shift+Drag of clips between tracks was never allowed up to 2.4.2...
... and in 3.0.0 started crashing instead.  Just disallow it again, no
functionality lost.

Signed-off-by: Sol Fisher Romanoff <sol@solfisher.com>
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-08-13 12:15:07 +03:00
akleja
55d9d57a95 Fix TCP button issues
Do not recolor tcp buttons, since they are transparent.

Signed-off-by: akleja <storspov@gmail.com>
2021-08-13 09:58:16 +03:00
Panagiotis Vasilopoulos
bea07f7ab2 Update CONTRIBUTING.md
Co-authored-by: Semisol <hi@semisol.dev>
Co-authored-by: Sol Fisher Romanoff <sol@solfisher.com>
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Signed-off-by: Semisol <hi@semisol.dev>
Signed-off-by: Sol Fisher Romanoff <sol@solfisher.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/369#issuecomment-886717796
2021-08-12 20:04:49 +03:00
TheEvilSkeleton
62a523f4f7 Fix and improve metadata file for Flatpak (#426)
* Fix and improve metadata file for Flatpak

- Remove bolding
- Fix APP ID typo
- Fix project license
- Add releases tags
- Migrate to metainfo from appdata
- Change screenshot and add dark screenshot
- Clarify metainfo license

Co-authored-by: Edgar <Edgar@AnotherFoxGuy.com>
Co-authored-by: Semisol <hi@semisol.dev>
2021-08-12 08:54:00 -05:00