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

13572 Commits

Author SHA1 Message Date
Paul Licameli
058c729ea5 TrackInfo doesn't use the kTopMargin or kBottomMargin constants...
... It only needs their sum, which it will assume is the constant amount of
padding always between tracks (not channels of a track).
2021-08-12 10:26:03 -04:00
Paul Licameli
1880c14f11 Rewrite GetInfoCommand::ExploreTrackPanel...
... implemented simply and more correctly (though not efficiently), hiding
details about the method of rectangle subdivision, and allowing for multiple
sub-views.

This function can be exercised by choosing Boxes in the Track Info item of
Extra > Scriptables II

This commit leaves one fewer call to each of TrackView::GetY() and
TrackView::GetHeight()
2021-08-12 10:26:03 -04:00
Paul Licameli
8cbad20228 Hide details of screenshot rectangle computations in TrackPanel 2021-08-12 10:26:03 -04:00
Dmitry Vedenko
d4fb834c44 Fixes a typo in CMakeLists comment 2021-08-12 16:59:20 +03:00
Dmitry Vedenko
87b55d2752 Fixes Ubuntu package build 2021-08-12 16:59:20 +03:00
Dmitry Vedenko
22b2e11b70 Mark Find*.cmake defined variables as advanced 2021-08-12 16:59:20 +03:00
Dmitry Vedenko
4cd409beed References to removed lib-src files removed from .gitignore 2021-08-12 16:59:20 +03:00
Dmitry Vedenko
7d5285fc37 Remove libsndfile related source from lib-src 2021-08-12 16:59:20 +03:00
Dmitry Vedenko
50cf64f93f Manage libsndfile dependency with Conan 2021-08-12 16:59:20 +03:00
Dmitry Vedenko
305ac32ad0 Trailing white spaces removed 2021-08-12 16:59:20 +03:00
Dmitry Vedenko
188c8120b0 Mark CMake generate <PkgName>_DIR as advanced 2021-08-12 16:59:20 +03:00
Dmitry Vedenko
7da6a53213 Use system PortAudio in Linux packaging targets 2021-08-12 16:15:29 +03:00
Dmitry Vedenko
dde48c1bd5 Install Jack on Linux CI 2021-08-12 16:15:29 +03:00
Dmitry Vedenko
a07d8ed680 PortAudio removed from the source tree 2021-08-12 16:15:29 +03:00
Dmitry Vedenko
e6fb573001 PortAudio devendored
Closes  #1413
Closes #1414

This commit addresses issues with building PortMixer
using the upstream version of PortAudio.

The resulting solution allows:
* To build Linux with the vanilla PortAudio.
* To build Windows with the vanilla PortAudio, but the notable exceptions:
  * for PortMixer to work on MME - PA 19.7.0 is required; only static linking     is supported. A patch is available to allow dynamic linking;
  * for PortMixer to work on DirectSound - the patch is always required.
Remove nyquist autotools
2021-08-12 16:15:29 +03:00
Paul Licameli
394ddd2e35 Issue 871: Let Audacity compile with unmodified portaudio sources...
... This may allow upgrade to the latest version of portaudio, which is
desirable for fixes and improvements, including the fixing of build warnings on
Mac about use of deprecated SDK functions.

The function PaUtil_GetTime() cannot be called.

To make a conservative fix that doesn't affect the fine tuning of timing,
replicate the implementation of that function directly in AudioIO.cpp, with
all necessary conditional compilation branches.

Don't attempt a fix with std::chrono, although that would be more nicely
platform independent.

Testing should confirm that MIDI playback doesn't suffer any jittery timing,
such as it did especially on Linux with ALSA, when the playback feature was
under development in 2017.
2021-08-12 16:15:29 +03:00
Paul Licameli
a758491fd3 Merge pull request #1416 from Paul-Licameli/Experimental-QA-journalling-basics
Experimental qa journalling basics
2021-08-11 08:43:25 -04:00
Paul Licameli
03f8efc0ab CommandManager interacts with journal; simple journals can play...
... such as one whose only line is "CM,Exit", which can also be recorded.

But no commands that pop up modal dialogs, or mouse interactions, can yet play
back.
2021-08-11 08:42:27 -04:00
Paul Licameli
82d88b99e1 AudacityApp invokes Journal utility; new command line option -j 2021-08-11 08:42:12 -04:00
Paul Licameli
030574cdf8 Menu item to turn journalling on and off -- alpha builds only now 2021-08-11 08:42:10 -04:00
Paul Licameli
af0aab83c3 Journal playback and recording utilities, not yet used 2021-08-11 08:39:32 -04:00
Paul Licameli
b8f22981ee Don't delay exit of the program until next idle...
... restoring it to immediate dispatch, as it was before
6cde697a8e which was a cycle-breaking move
2021-08-11 08:25:22 -04:00
Paul Licameli
d8cb4721f1 Fixes for linking the following commits on Windows 2021-08-11 08:25:22 -04:00
Vitaly Sverchinsky
cea4a91108 Fixing label track update on mouse movement 2021-08-09 08:02:30 -04:00
Vitaly Sverchinsky
63ce4db946 Enable support for move sematics for EnvelopeHandle and BackgroundHandle 2021-08-09 08:02:30 -04:00
Paul Licameli
cf09f0ad60 Fix event types used in PrefsListener singalling...
... which broke at a2f109d
2021-08-09 12:05:43 +03:00
Paul Licameli
60f0820916 Merge pull request #1429 from Paul-Licameli/extract-lib-registries
Extract lib registries
2021-08-06 08:57:11 -04:00
Paul Licameli
48217d5acf Macros to simplify usage of class template AttachedVirtualFunction ...
... And allow correct linkage when overrides are defined in dynamically loaded
modules
2021-08-06 08:56:16 -04:00
Paul Licameli
ed3e4de17b New library for registries 2021-08-06 08:56:16 -04:00
Grzegorz Pruchniakowski
31515085c5 Update pl.po - fixes for 3.1
Update pl.po - fixes for 3.1

Greetings,
Gootector
2021-08-06 14:21:47 +03:00
Anton S. Gerasimov
dd16749bae Install updates (#1323)
* Add progress bar dialog.


Add update downloading.

* Add installer launching for Windows.

* Add macOS support and BasicUI service using.

* Add review recommendations.

* Add preprocessor compilation cases for manual tests.
2021-08-04 19:15:05 -04:00
Paul LaMendola
7d3d8fcf86 Add triangle waveform to Tone Generator. 2021-08-04 07:24:28 -04:00
dofuuz
5126ea4105 Cleanup ImportRaw.cpp
- Add localization for 'Import Raw Data' window title format
2021-08-04 06:52:30 -04:00
dofuuz
6a4f1cfe7a Append filename at 'Import Raw Data' window title 2021-08-04 06:52:30 -04:00
dofuuz
f83f65cadc Disable auto format detection of Import Raw Data
- Use recent import setting instead of auto detection
- Add Detect button
2021-08-04 06:52:30 -04:00
Vitaly Sverchinsky
f90698c980 Changing affordance hint text 2021-08-03 11:57:44 -04:00
Dmitry Vedenko
c189066c4d Fix the default value of conan_allow_prebuilt_binaries 2021-08-03 14:28:27 +03:00
Dmitry Vedenko
9df3c4b398 Merge pull request #1388 from crsib/linux_packages
Linux packages
2021-08-03 12:13:00 +03:00
Dmitry Vedenko
9f17e141e8 Add build image for Ubuntu 20.04 2021-08-02 19:52:31 +03:00
Dmitry Vedenko
d699b4311b Set propper ABI on Linux
This change only affects Debian and Ubuntu, on other systems libcxx
ABI is detected correctly anyway
2021-08-02 19:52:15 +03:00
Dmitry Vedenko
dc92a7c59f Reduce requirements, so they match Ubuntu 20.04
For id3tag and mad - Ubuntu has broken package config, so this change
is no-op.
2021-08-02 19:52:15 +03:00
Dmitry Vedenko
583adc57d0 Add a Dockerfile and Spec for Fedora 34 2021-08-02 19:52:15 +03:00
Dmitry Vedenko
58f2b2f99e Add a Dockerfile and PKGBUILD for Arch Linux 2021-08-02 19:52:15 +03:00
Dmitry Vedenko
cf328b9d87 Add a framework to generate offline dependencies
`prepare_offline_dependencies.sh` will generate a tarball containing:

* Files required for PIP to install Conan
* Conan download cache

The resulting tarball content depends on CMake flags passed down
to the script.

`build_package.sh` demonstrates how to use the offline dependecies
to build Audacity. The script requires the exact CMake options that were
provided to `prepare_offline_dependencies.sh`

`build_packages.sh` allows validating the build process for different
Linux distros. It uses Docker to:

* Generate the dependencies tarball.
* Execute an offline build using `build_package.sh`.
* Generate distro specific packages, offline as well.
2021-08-02 19:52:15 +03:00
Dmitry Vedenko
b25e3b767f Add a find_package fallback for the *system* libs
This is required, as PortMidi does not have package config available
2021-08-02 19:52:15 +03:00
Dmitry Vedenko
aae3627476 Add an option to force the build of dependencies
When `audacity_conan_allow_prebuilt_binaries` is turned on,
the dependecies that are managed by Conan
will be built from the source code every time
cmake configuartion changes
2021-08-02 19:52:15 +03:00
Dmitry Vedenko
f0bea9ed21 Add .vscode to .gitignore 2021-08-02 19:52:15 +03:00
Paul Licameli
502cb06471 Merge pull request #1359 from Paul-Licameli/extract-lib-files
Extract lib files
2021-07-30 08:51:52 -04:00
Paul Licameli
0506faee02 New library for files 2021-07-30 08:17:27 -04:00
Paul Licameli
4fd6e8a151 Move LogWindow to new files 2021-07-30 08:17:27 -04:00