1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 07:39:42 +02:00

13089 Commits

Author SHA1 Message Date
Leland Lucius
95bcb08b4b Revert "Cleanup and update FFmpeg support to v4.3.1 (#741)"
Removing until a decision is made on how to handle the required
library upgrade.
2021-05-10 10:33:01 -05:00
Paul Licameli
406b23cae7 More uses of AUDACITY_DLL_API...
... in many places where the function call will later need to be between
modules (or libraries, or the executable) and the annotation will be a necessity
to keep the linkage working on Windows.

That's all that this sweeping commit does.
2021-05-10 10:46:55 -04:00
Paul Licameli
fbfccf1393 Delete or un-inline some constructors, assignments, others...
... Which will be needed for various reasons for Windows builds of certain
modularizations, which will otherwise complain that they can no longer
generate them as inlines.

In one case, deleted copies require explicitly defaulted moves, but they will
work as generated inline.
2021-05-10 10:46:55 -04:00
Paul Licameli
3060530b4f Remove outdated comments about Audacity.h and AUDACITY_DLL_API 2021-05-10 08:03:31 -04:00
Paul Licameli
c5ebc396eb Audacity.h has shrunk to nothing, now remove it! 2021-05-10 00:05:23 -05:00
Paul Licameli
d51f505cd9 Define Audacity version constants in CMake not Audacity.h 2021-05-10 00:05:23 -05:00
Paul Licameli
d9b868334b Remove special version string for Dark Audacity 2021-05-10 00:05:23 -05:00
Paul Licameli
e6cd0b88bc Don't forward declare wxWindow in Audacity.h 2021-05-10 00:05:23 -05:00
Paul Licameli
794f4e5877 Inclusion of the correct config header on command line using CMake 2021-05-10 00:05:23 -05:00
Paul Licameli
229b82a502 Move definitions of safenew, PROHIBITED, _DEBUG into CMake 2021-05-10 00:05:23 -05:00
Paul Licameli
f2b53c82eb Move definition of AUDACITY_DLL_API into src/CMakeLists.txt 2021-05-10 00:05:23 -05:00
Paul Licameli
b9ca0acb4a Move some macros out of Audacity.h into various header files 2021-05-10 00:05:23 -05:00
Paul Licameli
79b259851f Version check on gcc compiler moved to CMakeLists.txt 2021-05-10 00:05:23 -05:00
Grzegorz Pruchniakowski
e93fdd16c5 Update pl.po from Transifex
Update pl.po from Transifex
Probably the last package of fixes for old translations.

Greetings,
Gootector
2021-05-09 16:02:29 +01:00
Grzegorz Pruchniakowski
7e4e512739 Update pl.pl from Transifex
Update pl.pl from Transifex
The next package of fixes.

Greetings,
Gootector
2021-05-07 10:48:51 +01:00
Paul Licameli
29a657bc77 CMake function addlib can be called multiply for the same library 2021-05-06 09:15:22 -05:00
Paul Licameli
ec3d2424a5 addlib supplies absolute path to add_subdirectory...
... not assuming that it is invoked from cmake-proxies/CMakeLists.txt

This will allow modules to use lib-src libraries, and even for a module to be
the sole user of one of them.

So addlib lines may be moved out of cmake-proxies/CMakeLists.txt, when no
longer needed to build the reduced executable without the modules.
2021-05-06 09:15:22 -05:00
Paul Licameli
dd1ce8dd63 Move definition of CMake function addlib, unchanged 2021-05-06 09:15:22 -05:00
Paul Licameli
9fb32528d6 Generate *_API compiler definitions for modules...
... So mod-foo defines FOO_API properly on the command line, for use in its
public header files; on Windows, appropriately expanding one way when compiling
the library, another way when compiling other code that uses it, so that all
will link correctly.
2021-05-06 09:15:22 -05:00
Paul Licameli
5844b2090a Generate a picture of module dependencies at configure time 2021-05-06 09:15:22 -05:00
Paul Licameli
1f6efefdf6 Fix math constants on Windows, such as M_PI, and min and max 2021-05-06 09:15:22 -05:00
Paul Licameli
fe8659f435 Separate CMake function for pervasive C++ flags, reuse it in modules 2021-05-06 09:15:22 -05:00
Paul Licameli
3943d1479f Each module defines an interface target that other modules may use...
... Solving some problems of linking modules dependent on other modules in
Unix
2021-05-06 09:15:22 -05:00
Paul Licameli
ee344aa6c9 Modules expose transitive link dependencies...
... which will simplify CMakeLists when modules depend on other modules
2021-05-06 09:15:22 -05:00
Paul Licameli
ca7d96f20a Transitive link dependencies via Audacity simplify module CMakeLists 2021-05-06 09:15:22 -05:00
Paul Licameli
938bbeb4f9 cmake function audacity_module abstracts common module setup steps...
... But leaving the wxDEBUG definition in each.  It should not be in the reused
function.
2021-05-06 09:15:22 -05:00
Paul Licameli
20e818cb9e CMake visits src before modules, because modules depend on src 2021-05-06 09:15:22 -05:00
Paul Licameli
6f58cb8294 Hoist the generation of the config header into top CMakeLists...
... Because it depends on having visited various lib-src directories, which I
want to delay until visiting various of the modules, and I also want to visit
src before the modules, because that's bottom-up dependency ordering.

So the step should not be done in src.
2021-05-06 09:15:22 -05:00
Leland Lucius
25089ff3ee Modules should go into <prefix>/<libdir>/audacity/modules on Linux 2021-05-06 00:47:27 -05:00
Leland Lucius
72c5ed863c
Cleanup and update FFmpeg support to v4.3.1 (#741)
* Cleanup and update FFmpeg support to v4.3.1

* Removing testing leftover
2021-05-05 10:54:36 -05:00
Dmitry Vedenko
770d0b3091 Update SQLite to 3.35.5
This update contains to important features:
1. Improved performance of WAL mode locking primitives in cases where there are hundreds of connections all accessing the same database file at once
2. In WAL mode, if a writer crashes and leaves the shm file in an inconsistent state, subsequent transactions are now able to recover the shm file even if there are active read transactions. Before this enhancement, shm file recovery that scenario would result in an SQLITE_PROTOCOL error.
2021-05-05 18:42:40 +03:00
James Crook
92d1a34366 Update Credits
- Add Dmitry
- Show roles for Peter
2021-05-05 15:21:09 +01:00
Grzegorz Pruchniakowski
307790d81e Update pl.po from Transifex
Update pl.po from Transifex
A lot of improvements

Greetings,
Gootector
2021-05-04 10:15:51 +01:00
Paul Licameli
c1c8c373d4 Bug2759: A failed macro command should not leave vacuous undo item 2021-05-01 19:24:00 -05:00
Paul Licameli
38e0a982ce Bug2772: Crash after failed open of corrupt project 2021-05-01 12:46:27 -04:00
Paul Licameli
5e21f526b4 Replace inappropriate assertion with only a log message 2021-05-01 12:10:57 -04:00
Grzegorz Pruchniakowski
bcef48576d Update pl.po from Transifex - fix
Update pl.po from Transifex - fix

Greetings,
Gootector
2021-04-30 21:16:53 +01:00
James Crook
cf0293396d Fix project backup
I broke this in the development version by changing the return type
of FastMode to return an Sqlite return code.
2021-04-30 09:09:12 +01:00
Paul Licameli
19312e44c8 Some variables defined in CMake let us eliminate Experimental.h ...
... and eliminate the possibility of the error of omitting the header, when
moving code to other files.  The mistake sometimes caused subtle, unintended
changes of behavior.
2021-04-27 13:04:17 -04:00
Paul Licameli
e653b4aaf8 Eliminate Experimental.h, configure compile options instead...
... This makes it impossible to forget to include the EXPERIMENTAL definitions
(such as when cutting and pasting code) and so get unintended quiet changes of
behavior.

The EXPERIMENTAL flags are now specified instead in new file Experimental.cmake
2021-04-27 12:40:07 -04:00
Paul Licameli
c781a108e3 Move compile-time testing of crash report support out of Experimental.h 2021-04-27 12:40:06 -04:00
Paul Licameli
83efa5a0df Remove flags from Experimental.h not used anywhere else 2021-04-27 12:40:06 -04:00
Paul Licameli
b45882e8a0 Move some conditionally compiled declarations out of Experimental.h 2021-04-27 12:40:06 -04:00
SteveDaulton
b4b5cc8124 Bug 2757 - No support for Jack Audio System 2021-04-26 15:45:40 +01:00
SteveDaulton
921f40255d Bug 1091 Spectral Edit effects may have unpredictable results 2021-04-25 14:39:57 +01:00
James Crook
28a634c5e2 Bug 2671 - ENH: "Show track name as overlay" cannot be turned on from main menus 2021-04-24 12:21:25 +01:00
Ian McInerney
91be0e6969 Ensure declaration of function matches its definition
It was defined as taking a size_t paramater when it was written,
so the declarations used to call it should also use a size_t parameter
to ensure the call is correct.
2021-04-23 09:12:30 +01:00
SteveDaulton
2eab4d7b11 Remove irrelevant comment
While it would be nice to have access to *track* properties, ;tool type
plug-ins do not iterate through tracks, so this is not possible.
2021-04-21 13:00:38 +01:00
SteveDaulton
99a2b4c48a Nyquist-Macros should add state to history 2021-04-21 12:05:27 +01:00
Leland Lucius
795c097ea9 Fix VBR check in MP3 importer
Reported here:

35e88d995b (r49760178)
2021-04-20 11:50:31 -05:00