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

13880 Commits

Author SHA1 Message Date
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
akleja
a120a514ae Remove bevel on transport
Removes the bevel of the transport toolbar.

Signed-off-by: akleja <storspov@gmail.com>
2021-08-11 16:37:54 +03:00
akleja
55f5ef8359 Remove lines from tooldocks
Removes horizontal lines from tooldocks

Signed-off-by: akleja <storspov@gmail.com>
2021-08-11 16:37:47 +03:00
akleja
cc7c659d6e Allow small color differences
Makes the theme respond better to system colors

Signed-off-by: akleja <storspov@gmail.com>
2021-08-11 16:37:42 +03:00
akleja
c3c5765a92 Change style of toolbar grabber
Remove bevels of toolbar grabber and change style

Signed-off-by: akleja <storspov@gmail.com>

Change style of toolbar grabber
2021-08-11 16:37:34 +03:00
Semisol
9fd60e6cc6 Convert issue templates to forms
Signed-off-by: Semisol <hi@semisol.dev>
2021-08-11 00:03:33 +03:00
Emily Mabrey
8c4278cc64 Fix typo in MixerBoard.cpp
This typo blocks the build under certain build configs but not others.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/456
2021-08-10 05:47:46 -04:00
Emily Mabrey
3608b32423 Merge pull request from Be-ing/no_use_midi
Fix build without USE_MIDI defined

Signed-off-by: Be <be@mixxx.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/451
2021-08-10 01:46:02 -04:00
semisol
bdbabb6262 add a cat
Signed-off-by: semisol <hi@semisol.dev>
2021-08-10 02:02:31 +03:00
Be
eafd9106ea fix build without USE_MIDI
Signed-off-by: Be <be@mixxx.org>
2021-08-09 15:19:39 -05:00
Emily Mabrey
4848dea701 Increase retries in repeat_hdiutil.sh script (#444)
* Increase retries in `repeat_hdiutil.sh` script

Increase both time between tries and number of tries.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>

* Modify config values

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-08-09 09:18:31 -05:00
Be
1fb034ce3a CMake: do not use precompiled headers with sccache
Reference-to: https://github.com/tenacityteam/tenacity/pull/437

Signed-off-by: Be <be@mixxx.org>
2021-08-08 13:37:59 +03:00
Emily Mabrey
4c5864d8f9 Merge pull request from tenacityteam/remove-topdir
Replace references to topdir and libsrc

Signed-off-by: Sol Fisher Romanoff <sol@solfisher.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/433
2021-08-08 01:23:39 -04:00
Emily Mabrey
f7692f7884 Merge pull request from akleja/sync-lock
Fixes a number of small theme coloring mistakes.
Changes GraphLines color in light theme to black.
Adds modifier key to temporarily override sync-lock
Improves the workflow when using synced tracks
Changes Background of synced tracks
Makes locked background tile without gaps and offsets

Signed-off-by: akleja <storspov@gmail.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/404
2021-08-08 01:10:40 -04:00
Даниил Николаев
6173fe9a9c Remove old QA files
Since they're not used or accurate anymore, and barely contain any useful
info, there isn't much of a purpose to keeping them in the repo.

Signed-off-by: nm17 <dannevergame@gmail.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/434
2021-08-07 15:26:29 -04:00
Sol Fisher Romanoff
8cae1b7cb4 Replace references to topdir and libsrc
Signed-off-by: Sol Fisher Romanoff <sol@solfisher.com>
2021-08-07 14:34:32 +03:00
Emily Mabrey
5c8f61af86 Improve changes to ProjectSerializer.cpp
Remove pointless addition of null-terminator bytes.
Replace `static_cast` usage with `memcpy` for aliasing reasons.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/422
Helped-by: nyanpasu64
2021-08-04 17:05:58 -04:00
fossdd
b59753cf2e Remove scripts/mailman-discard.pl
It was a helper script for audacity's mailing list.

There wasn't any references.

Signed-off-by: fossdd <fossdd@tenacityaudio.org>
2021-08-04 01:04:06 +03:00
Sol Fisher Romanoff
56c953a14d Use git-describe in versions
Reference-to: https://github.com/tenacityteam/tenacity/pull/396

Signed-off-by: Sol Fisher Romanoff <sol@solfisher.com>
2021-08-03 13:52:23 +03:00
Edgar
4f1d9f6f63 Remove ThreadPool from CMakeLists.txt
Signed-off-by: Edgar <Edgar@AnotherFoxGuy.com>
2021-08-02 15:00:29 +00: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
Emily Mabrey
657a83b9ef Fix for unsafe char* to wchar_t* cast (CWE-704)
* Add `void*` cast to indicate we are sure that the byte string is valid.
* Make `ProjectSerializer.cpp` use `static_cast` to preserve pointer addresses.
* Replace incorrect usage of `int` where `size_t` was appropriate

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/417
2021-07-31 01:42:55 -04:00