1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00

9830 Commits

Author SHA1 Message Date
Max Maisel
e5a6585a12 Start work on new Compressor2 effect.
Add skeleton files and add them to build systems.

Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02: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
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
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
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
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
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
Be
9a48dffa97 CMake: copy dylibs into macOS bundle
Somehow this was broken by
https://github.com/tenacityteam/tenacity/pull/228

I don't know how it ever worked before without this.

Signed-off-by: Be <be@mixxx.org>
2021-09-13 01:26:06 -05:00
Be
9f85801ff6 CMake: fix copying of dylibs on macOS
Fixes https://github.com/tenacityteam/tenacity/issues/542

Signed-off-by: Be <be@mixxx.org>
2021-09-12 21:58:00 -05:00
Mart Raudsepp
663dfa4671 FileNames: Support XDG paths handling under wxGTK 3.0
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
2021-09-08 00:29:10 +03:00
Mart Raudsepp
930a3a7386 FileNames: Fix typo in __WXMSW__ preprocessor check
Fixes: 401979369ba7a480ed70719025e55176581309e6
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
2021-09-08 00:29:10 +03:00
Sol Fisher Romanoff
4a3f84efe5
Merge branch 'AutoRecoveryDialog-wxDVC'
* AutoRecoveryDialog: Rename PopulateOrExchange to Populate
* AutoRecoveryDialog: Port to wxDataViewListCtrl
2021-09-07 21:02:41 +03:00
Emily Mabrey
7450432f9a
Attempt to fix macOS build issues
Add `umount` command behavior
Modify to retry 12 times over the course of 240 seconds total
Change `scripts\build\macOS\DMGSetup.scpt` to close DMG when finished.
Improve system detection for setting project name.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-06 02:06:04 -04:00
Emily Mabrey
c3db577e93
Refactor build and CI configurations
Reword vcpkg caching comment
Make comment about wxwidgets Linux/macOS workaround more clear
Give each step of `cmake_build.yml` workflow a unique ID
Change cache lookups to use step's id instead of step's name
Add glob protection to runner OS detection in CI
Set new default CI build type of MinSizeRel
Ensure consistent formatting across `CMakeLists.txt` files
Change mimetypes generated on Linux to use tenacity-project mimetype
Add more explanatory comments to both `CMakeLists.txt`
Replace improper build architecture debug messages

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-06 02:06:04 -04:00
Emily Mabrey
b650b5aafc
Enable Interprocedural Optimization
CMake will now enable linking IPO if the compiler supports it

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-06 02:05:21 -04:00
Emily Mabrey
b9ad2747fb
Merge pull request from lmarz/dbpage_fix
ProjectFileIO: Check for SQLITE_ENABLE_DBPAGE_VTAB option

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/568
2021-09-05 01:56:50 -04:00
Mart Raudsepp
4baa9dea93 AutoRecoveryDialog: Port to wxDataViewListCtrl
wxDataViewCtrl and co are preferred over legacy wxListCtrl/wxTreeCtrl.
wxDataViewCtrl gives a native wxGTK and wxMac widget, unlike wxListCtrl.
It also supports a checkboxes column in wxWidgets-3.0, for which
wxListCtrl only added support in 3.1.

Signed-off-by: Mart Raudsepp <leio@gentoo.org>
2021-09-05 00:53:00 +03:00
Mart Raudsepp
16e02cb373 AutoRecoveryDialog: Rename PopulateOrExchange to Populate
Here it is never called after initial creation, so using the "standard"
method name of PopulateOrExchange, as done in prefs ShuttleAll and co,
is just confusing. Rename it for clarity.

Signed-off-by: Mart Raudsepp <leio@gentoo.org>
2021-09-05 00:53:00 +03:00
Juozas
fe71cee15f Remove crash reporting from help menu
This commit removes unused crash reporting menu items from the help menu
as the code related to it were already removed from the code tenacity.

Signed-off-by: Juozas <juozaspo@gmail.com>
2021-09-04 14:04:59 +03:00
akleja
35d059c965
Remove AILA
Removes Experimental automated input level adjustment.
It uses PortMixer (hardware level adjustments) to try to adjust the input
level, which is a flawed concept. It also relies on PortMixer which is no
longer supported.

Signed-off-by: akleja <storspov@gmail.com>
2021-09-03 02:07:50 +03:00
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
akleja
056de91cf7
Remove MixerToolbar
The mixer toolbar is redundant when PortMixer isn't supported

Signed-off-by: akleja <storspov@gmail.com>
2021-09-03 02:07:50 +03:00
Sol Fisher Romanoff
807b710c74
Merge branch 'wx3.0-compat-initial'
Reference-to: https://github.com/tenacityteam/tenacity/pull/514

Signed-off-by: Mart Raudsepp <leio@gentoo.org>
2021-08-31 20:17:30 +03:00
Leon Marz
b805725a61 ProjectFileIO: Check for SQLITE_ENABLE_DBPAGE_VTAB option
Signed-off-by: Leon Marz <main@lmarz.org>
2021-08-31 12:17:48 +02:00
aeiouaeiouaeiouaeiouaeiouaeiou
b2243e97f4
Update macOS icons
Reference-to: https://github.com/tenacityteam/tenacity/pull/556

Signed-off-by: aeiouaeiouaeiouaeiouaeiouaeiou <aeioudev@outlook.com>
2021-08-30 13:05:01 +03:00
Mart Raudsepp
7d57a665c3 FileConfig: Compat with wx3.0 (reintroduces tiny bug if 3.0 used)
This makes it have the potential of bogus temporary files again.
This issue feels small enough vs not being able to run against wx3.0.

Signed-off-by: Mart Raudsepp <leio@gentoo.org>
2021-08-28 00:34:08 +03:00
Mart Raudsepp
786f21b85c Meter: Make compatible with wx3.0 with a local wxColour::GetLuminance
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
2021-08-28 00:29:03 +03:00
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
Emily Mabrey
40d4883233
Revert "Replace header guards with #pragma once"
This reverts commit a6bc896e246d48821ff7ae70d572aefcf0cbedd6.
2021-08-24 16:57:24 -04: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
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
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
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
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
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
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
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
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
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