Commit Graph

9667 Commits

Author SHA1 Message Date
Paul Licameli 77dab158c3 Make Audacity build in C++17 ...
... Fixing many conditional operators with explicit construction of wxString
instead of simple string literals;

And fixing allocation of more strictly aligned structures on Mac, without need
for 10.14 as the minimum SDK, by means of some class-specific operators new
and delete.
2021-06-18 21:44:55 +03:00
Dmitry Vedenko e6e81399f7
Fixes alphabetical order in credits 2021-06-18 18:38:40 +03:00
Paul Licameli 6b82f43000 Additions to credits 2021-06-18 09:58:27 -04:00
gera 87d94fe249 Add new review recommendations.
Clean up extra code, remake static title, move settings to UpdateManager class.
2021-06-18 09:46:40 -04:00
gera 93b9bcf470 Add review recommendations. 2021-06-18 09:46:40 -04:00
gera d9ab95a4b2 Add application preferences with update checkbox. 2021-06-18 09:46:40 -04:00
gera d6f95c8575 Add Audacuty naming style and fix macOS assertion. 2021-06-18 09:46:40 -04:00
gera ec0554e131 Add some recommends and delete extra static methods. 2021-06-18 09:46:40 -04:00
gera d15d88af71 Add recommends from review. 2021-06-18 09:46:40 -04:00
gera c7a24df915 Add recommends from review. 2021-06-18 09:46:40 -04:00
gera 0ab6aefe11 Merge with master and resolve CI configure script conflict. 2021-06-18 09:46:40 -04:00
James Crook 183d3dd1d8 Bug 2807 - Error message for a failed import of malforned MP3 lacks a "?" help button 2021-06-17 17:45:27 +01:00
Dmitry Vedenko 045fcbf688 Fixes #984
Fix uses the approach proposed by David Bailes
2021-06-16 11:54:20 -04:00
Peter Jonas de2213ea2c Generate AppImage on GitHub Actions
Fixes #695. Supersedes #172. See https://appimage.org/.
2021-06-16 11:00:16 -04:00
Paul Licameli d167b0bc83 Correct Japanese strings for Linux destkop and Windows installer...
... as suggested by 森の子リスのミーコの大冒険 <phroneris@gmail.com>
2021-06-15 21:39:01 -04:00
Vitaly Sverchinsky e8b186a9b4 Crashreporting 2021-06-15 22:44:07 +03:00
dofuuz 060885c4f6 Changes to Spectrogram color scheme user-visible strings because of string freeze 2021-06-15 12:41:44 -04:00
dofuuz e9f0590c28 Add spectrogram preference migration from old 'Grayscale' checkbox to new 'Color Scheme' choice 2021-06-15 12:41:44 -04:00
dofuuz e135bcf16f Some more cleanup for new spectrogram color scheme
- Add some assertion
- Define spectrogram color scheme name using the two-argument constructor. (i18n)
2021-06-15 12:41:44 -04:00
dofuuz 474f05d414 New colormap for Spectrogram
- Add color scheme preference

Add 'Spectro. Color scheme' to 'Set Track Visuals' macro command
2021-06-15 12:41:44 -04:00
dofuuz ca58443644 Refactor AColor.cpp 2021-06-15 12:41:44 -04:00
Paul Licameli 5cf1d514f6 Made new strings agree with FutureStrings.h; removed from there 2021-06-13 19:24:12 -04:00
Paul Licameli bb907fca48 "Menu Tree" doesn't need to translate 2021-06-11 17:44:42 -04:00
James Crook 858517f404 Update credits
Buanzo, Leland and Bill move to 'Emeritus'.
2021-06-11 22:32:42 +01:00
Paul Licameli 2c4ed8b31f Bug2800: File>Open should allow non-project from a FAT drive...
... but still disallow it for .aup3 files.

The fix is a simple moving of the check for a FAT filesystem after several
other checks that distinguish types of imported files.
2021-06-10 17:13:45 -04:00
Peter Jonas 4b5c95d7fe Move GitHub Actions CI scripts into separate files
Break the workflow into smaller stages (Configure, Build, Install,
Package, etc.) so that you can see exactly which stage failed in the
GitHub Actions run log.

Create a separate Bash CI script for each job stage (configure.sh,
build.sh, install.sh, package.sh, etc.) to reduce the size of the main
YAML workflow file and enable Bash syntax highlighting.

Close #917
2021-06-10 10:09:49 -07:00
Paul Licameli 3ebebbb360 Add a string for after 3.0.3, to disambiguate "Recording"...
... as suggested by Sampo Hippeläinen.
2021-06-10 12:07:33 -04:00
Paul Licameli e2fda7df32 Better node names for 3p libraries in picture of dependencies 2021-06-09 15:06:21 -04:00
James Crook 404ad6ad8a Bug 2803 - Audacity unresponsive after 'Fit to Height'
a) Fixed root cause, which is conversion of a
negative integer to a large unsigned, leading to
a very tall track.
b) Improved mitigation (in projects that already
have over tall tracks) by setting a smaller minimum
for the allowed size.
2021-06-08 22:05:56 +01:00
James Crook 1b9e938869 Fix / workaround for bad track heights.
The root cause of the bad track height hasn't been tracked down
yet.  It  may be related to collapsing tracks as it was first seen with
all tracks collapsed.
2021-06-08 19:29:55 +01:00
Dmitry Vedenko 97914403f6 Updates Doxygen documentation 2021-06-08 08:08:26 -07:00
Dmitry Vedenko 950d170ae6 Adds context to SQLite3 exceptions 2021-06-08 08:08:26 -07:00
Dmitry Vedenko 690772ccb0 Use ShowExceptionDialog when we want to show ErrorReportDialog 2021-06-08 08:08:26 -07:00
Dmitry Vedenko bbb9ca14a2 Adds ErrorReportDialog and ShowExceptionDialog 2021-06-08 08:08:26 -07:00
Paul Licameli d28554189d Add alpha-build-only crash-me buttons, for testing of crash reporting 2021-06-08 02:23:53 -07:00
Paul Licameli 64d7ca7403 New utility library 2021-06-02 07:08:19 -04:00
Paul Licameli 094675bd42 Remove wx/any.h from MemoryX.h; sacrifice MSVC debug new macro ...
... it never helped us debug much, and polluted the preprocessor namespace and
made this bad depencency
2021-06-02 07:08:19 -04:00
Paul Licameli 434f3919f9 MemoryX.h does not include wx/utils.h 2021-06-02 07:08:19 -04:00
Paul Licameli e6e96de0fd Replace most inclusions of MemoryX.h with <memory> ...
... Most often it was needed for a custom definition of std::make_unique, but
we build C++14 now.
2021-06-02 07:08:19 -04:00
James Crook 27618eb95f Update AboutDialog
* Move Peter Sampson to emeritus.
* Trademark no longer 'of Dominic Mazzoni'.
2021-06-01 11:31:37 +01:00
Paul Licameli 9c70887c34 A rewrite in Nyquist to make reinterpret_cast unnecessary 2021-05-27 11:38:10 -04:00
Paul Licameli f369b5109b Change almost all uses of WaveTrack::Get() to GetFloats() ...
... A call graph browser easily shows that the extra generality of fetching
samples in some other format is only used in Benchmark -- where the format is
always the same as what the track is constructed with.

This makes re-verification of the claims in comments two commits ago easier.
2021-05-27 11:38:10 -04:00
Paul Licameli 0aa8625cff WaveTrackCache was only used with float; don't support other formats 2021-05-27 11:38:10 -04:00
Paul Licameli 4fcb8bffbf Comments about dithering in SqliteSampleBlock 2021-05-27 11:38:10 -04:00
Paul Licameli 528b57ff8e Comments about dithering in ImportAup 2021-05-27 11:38:10 -04:00
Paul Licameli 43310b6a1e Review of ImportAup.cpp ...
... incidental to a review of CopySamples in it.  This code is used only when
importing an old-style .aup project file into the new project format.

Fixed some RAII for file handle.

Rewrote every call to IsGoodInt or IsGoodInt64 with a narrowly scoped temporary
variable.

Use IsGoodInt64 only for total track lengths and positions; but use IsGoodInt
for block and blockfile sizes, which are not supposed to be huge but are
supposed to fit in memory buffers.
2021-05-27 11:38:10 -04:00
Paul Licameli 0053c61c08 Do not dither samples as they pass through RingBuffer...
... See allocation of RingBuffers in AudioIO.

Playback buffers always used floatSample format so this change has no
effect on them.

But we also want no extra dithering applied during recording, where the capture
format might be narrower than float.
2021-05-27 11:38:10 -04:00
Paul Licameli 50a26d9caf CopySamples gives more than binary choice of dither algorithm...
... And so a separate function CopySamplesNoDither is not needed
2021-05-27 11:38:10 -04:00
Paul Licameli 6eb5f3ac5b Eliminate CopySamples calls where destination is always float...
.. Call the function SamplesToFloats instead, or in one place, where source
is also always float, just do memcpy.

Dithering never happened in these cases.
2021-05-27 11:38:09 -04:00
Paul Licameli c35f7d35cc Startup without pluginregistry.cfg should not violate assertion 2021-05-27 11:07:39 -04:00