1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 08:09:41 +02:00

13251 Commits

Author SHA1 Message Date
Paul Licameli
87652aff23 Updated .pot and .po (ran locale/update_po_files.sh) 2021-06-07 08:24:55 -04:00
Paul Licameli
ab30511ad7 Fixes so xgettext runs and doesn't extract example comments 2021-06-07 08:16:38 -04:00
Paul Licameli
e785c77226 CopyLibs.cmake, for macOS: visit unique EDGES (not nodes)...
... in the graph of library dependencies.

Necessary to avoid crashes on startup loading dynamic libraries, but sufficient
to avoid excessive build times with many libraries.
2021-06-06 22:45:28 -04:00
Paul Licameli
e83c66ee50 Improve CopyLibs.cmake fix from 7d30537 for nonrecursive cases...
... When the graph of library dependencies is not recursive but complicated,
a combinatorial explosion of paths could make the post-build step not infinite
but very long (80 minutes in one of my experimental refactoring branches!)
2021-06-05 22:07:37 -04:00
Jouni Helminen
b1797c88ea
Merge pull request #956 from audacity/i18n_corrections
Update UnusedStrings.h
2021-06-05 17:34:25 +01:00
Anton S. Gerasimov
9693e375c2
Update UnusedStrings.h 2021-06-05 18:20:51 +03:00
Jouni Helminen
1ccf2e73d9
Merge pull request #955 from audacity/string_corrections
Update UnusedStrings.h
2021-06-04 22:30:48 +01:00
Anton S. Gerasimov
7e15eef29e
Update UnusedStrings.h 2021-06-04 20:39:31 +03:00
Jouni Helminen
282f907860
Merge pull request #954 from audacity/update_strings
Update UnusedStrings.h
2021-06-04 17:23:28 +01:00
Anton S. Gerasimov
da59b6a82a
Update UnusedStrings.h 2021-06-04 19:08:41 +03:00
Jouni Helminen
bf3b6ad34b
Merge pull request #953 from audacity/update_strings
Update UnusedStrings.h
2021-06-04 15:25:22 +01:00
Anton S. Gerasimov
e12c52167f
Update UnusedStrings.h 2021-06-04 16:35:15 +03:00
Paul Licameli
7d30537374 Fix build time infinite recursion in CopyLibs.cmake 2021-06-03 09:40:48 -04:00
Jouni Helminen
63bde66f65
Update UnusedStrings.h (#940)
* Update UnusedStrings.h

Added translatable strings for crash/error reporting and the new spectrogram colour preferences (https://github.com/audacity/audacity/pull/830)

* Update UnusedStrings.h

updated as per guidance from Paul

* Update UnusedStrings.h

Commented out Paul's examples, updated the spectogram settings as per Steve's/Peter's suggestion - Color (Default) and Color (Classic)

* New crash reporter strings; access keys; context strings

* Added "Unknown assertion" and more context strings

* Added comments about shortcut keys

* Choice control items do NOT need & characters, choice label does

Co-authored-by: Paul Licameli <paul.licameli@audacityteam.org>
2021-06-03 09:37:12 -04:00
Dmitry Vedenko
37fba65d1b Adds lib-uuid
Adds a small library to generate UUID values. This library will be used in Sentry error reporting
Replace constructor cast with static_cast


Removes a noexcept sneaked in


Adds documentation and some code review fixes


Fixes doxygen
2021-06-02 07:41:54 -07:00
Paul Licameli
9f1d5d5d1a
Merge pull request #938 from Paul-Licameli/New-utility-library
New utility library
2021-06-02 07:44:51 -04: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
Dmitry Vedenko
ba90a562c2
Update BUILDING.md 2021-06-01 21:32:03 +03:00
Dmitry Vedenko
58d5cf73c2
Fixes a backtick in Linux instruction 2021-06-01 16:09:34 +03: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
James Crook
e391489156 Typos and tweaks to wording.
* The wording about mixing system and local libraries is still not clear
(or if it is clear is too wordy and could be shorter!).
2021-05-31 18:13:33 +01:00
Dmitry Vedenko
1cd4bef4db Adds a workaround for Conan issue 8025, affecting libjpeg-turbo compilation on AppleSilicon Macs 2021-05-31 14:03:24 +03:00
Grzegorz Pruchniakowski
ac55ef3a39 Update pl.po from Transifex
Update pl.po from Transifex
2 fixes.

Greetings,
Gootector
2021-05-31 02:28:44 -07:00
Dmitry Vedenko
7c1f843322 Use libjpeg-turbo as a wxWidgets dependecy
Turns out, libjpeg is downloaded over plain HTTP from the official IJG site. It is now replaced with libjpeg-turbo.
2021-05-31 02:08:17 -07:00
Dmitry Vedenko
68bd49da87 Copy the library to the desired location after the build 2021-05-28 04:04:40 -07:00
Dmitry Vedenko
c05c05ea7f
Remove the reference for snap as it uses ridiculous amount of space 2021-05-27 22:01:19 +03:00
Paul Licameli
428506ea2f
Merge pull request #923 from Paul-Licameli/Review-of-dithering
Review of dithering
2021-05-27 11:40:28 -04: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
Dmitry Vedenko
bdc5efc7ea
Create pull_request_template.md
Creates a PR template with a checklist
2021-05-27 18:37:07 +03:00
Paul Licameli
c35f7d35cc Startup without pluginregistry.cfg should not violate assertion 2021-05-27 11:07:39 -04:00
Dmitry Vedenko
55ddb32791
Clarifies the build instruction for Linux 2021-05-27 17:03:28 +03:00
Paul Licameli
7e9928e53c
Merge pull request #919 from Paul-Licameli/New-library-for-strings
New library for strings
2021-05-27 09:52:46 -04:00
Paul Licameli
45c6190c51 New library lib-strings for Identifier and internationalization 2021-05-27 09:51:32 -04:00
Paul Licameli
70c4898648 Move class wxArrayStringEx to its own files 2021-05-27 09:51:32 -04:00
Paul Licameli
7cf153a34b Duplicate MemoryX.h into wxArrayStringEx.h, diff should be empty 2021-05-27 09:51:32 -04:00
Paul Licameli
c4487814cf Invert dependency of TranslatableString and audacity/Types.h 2021-05-27 09:51:32 -04:00
Paul Licameli
f7d9602a42 TranslatableString.h does not include Identifier.h 2021-05-27 09:51:32 -04:00
Paul Licameli
bb14a6016f Move TranslatableString to new files 2021-05-27 09:51:32 -04:00
Paul Licameli
4d45054f4c Duplicate Types.h, Internat.cpp in TranslatableString.{h,cpp} 2021-05-27 09:51:32 -04:00