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

13582 Commits

Author SHA1 Message Date
Paul Licameli
8f8ec41899
Merge pull request #1442 from Paul-Licameli/Track-panel-fixes
Track panel fixes
2021-08-12 10:42:13 -04:00
Paul Licameli
fd836fc36f Change channel separator thickness to 1 2021-08-12 10:26:05 -04:00
Paul Licameli
cef8e228f9 In ViewInfo, remove GetLabelWidth() and add comments 2021-08-12 10:26:04 -04:00
Paul Licameli
e11db270d5 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).
2021-08-12 10:26:04 -04:00
Paul Licameli
f8e5bb9128 Publicize that all cells in TrackPanel inherit CommonTrackPanelCell 2021-08-12 10:26:04 -04:00
Paul Licameli
aa54bbd93a Fix warnings about missing "override" 2021-08-12 10:26:04 -04:00
Paul Licameli
5f7f180a6a Correct the allocation of track panel height for affordances...
... with some reinterpretation of what it means to "set the height" of a track.

Changing height allocation for a reduced separator between panels may also
be done, but that logic should also be localized in TrackPanel.cpp.
2021-08-12 10:26:04 -04:00
Paul Licameli
fba2ef009e Move some numbers out of ViewInfo.h ...
... Move them to new header TrackPanelConstants.h, to be used only by TrackPanel
and some closely cooperating classes, but not known to the track view, controls,
vertical ruler, or affordance classes.

Also distinguish track from channel separator thickness though these remain
equal.
2021-08-12 10:26:04 -04:00
Paul Licameli
1a9b4d16e7 Better document GetHeight of TrackView, rename GetY...
... And explain rectangle calculations in TrackPanel::RefreshTrack
2021-08-12 10:26:04 -04:00
Paul Licameli
579038e341 Rename "Actual" to "Expanded" height which explains purpose better 2021-08-12 10:26:03 -04:00
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
6cde697a8e59ae11adecb0b31f7749929a90d9b6 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