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

12137 Commits

Author SHA1 Message Date
Paul Licameli
c973f0d8ed Do restore a piece of 5e8cfb0c5adf9b3f917123e4d04d00423206d7d5...
... to initialize a variable
2020-05-29 20:54:45 -04:00
Paul Licameli
9894abc4f4 Revert "Bug 2431 - Mac: Real-time effects - Enable checkbox has no effect"
... so I can make a more general fix, for more than only AudioUnit effects

This reverts commit 5e8cfb0c5adf9b3f917123e4d04d00423206d7d5.
2020-05-29 20:54:45 -04:00
Leland Lucius
a4b0635dd5 Bug 2410 - Mac: Cosmetic issues with undocked resizable toolbars in Dark and High Contrast themes 2020-05-29 18:31:35 -05:00
James Crook
d6f8410d56 Bug 2408 part 2.
Only modify label tracks with sync lock, when they are also part of the sync lock group.  This corrects a problem where edits in a wave track culd affect later label tracks that were not in its group.
2020-05-29 22:37:49 +01:00
James Crook
6b1b9cc088 Bug 2408 - A region label gets split on inserting audio when Sync-lock is turned on 2020-05-29 22:27:04 +01:00
James Crook
637712489f Bug 2428 - Nyquist Effects do not display a Progress Dialog if run from a Macro. 2020-05-29 21:54:18 +01:00
James Crook
6d49228d65 Bug 2439 - Mix and Render to New Track selects left channel of new stereo track 2020-05-29 21:13:37 +01:00
Leland Lucius
f3f0f4610d Add lrintf() for 64-bit Windows build 2020-05-29 13:00:25 -05:00
Leland Lucius
458239b04d Use LINGUAS as list of message catalogs 2020-05-29 12:53:07 -05:00
Leland Lucius
7e1f5faaa6 Inline assembler not available for 64-bit targets 2020-05-29 10:57:41 -05:00
Paul Licameli
9360359e9d
Module manager (#549)
* Eliminate ModuleManagerInterface...

... It was there only to provide RegisterModule(), but that was not used
anywhere.  So simplify.

* Remove nested #include of ModuleInterface.h
2020-05-29 10:48:52 -05:00
Leland Lucius
5bede69d11 Bug 2457 - Windows: WAV Export runs 6 to 7 times slower than on 2.3.3 (and 12-14 times slower than 2.2.2) 2020-05-29 08:31:15 -05:00
David Bailes
ef98e5d25f Help menu: add missing access key 2020-05-29 08:31:50 +01:00
Leland Lucius
1b5370bec2 Bug 2456 - audacity 2.3.3 config with Spectral Selection toolbar corrupts lower dock in 2.4.x and can crash 2020-05-29 02:03:46 -05:00
Leland Lucius
5cf8434b06 Bug 2410 - Mac: Cosmetic issues with undocked resizable toolbars in Dark and High Contrast themes 2020-05-28 23:10:48 -05:00
Leland Lucius
8ae8e0f0a5 Bug 2458 - Possible crash when clearing text field in Gain dialog 2020-05-28 20:09:14 -05:00
Leland Lucius
cd38e0e76d Bug 2457 - Windows: WAV Export runs 6 to 7 times slower than on 2.3.3 (and 12-14 times slower than 2.2.2) 2020-05-28 19:21:44 -05:00
Carlo Bramini
8ef97738ad
[CMAKE] Fix build for Cygwin. (#548)
* [CMAKE] fix build for Cygwin.

* [CMAKE] Fix build for Cygwin.
2020-05-28 16:21:22 -05:00
Paul Licameli
e9f63d43d1 Contexts & i18n-hints suggested by Joachim Huffer (thanks!) 2020-05-28 16:34:00 -04:00
Paul Licameli
a93ee4b4bc Fix update_po_files.sh 2020-05-28 16:33:39 -04:00
Paul Licameli
7325e6839e New macro XXC is like XXO but with a context (and really same as XC) 2020-05-28 16:06:53 -04:00
Paul Licameli
c3a2eb043f scripts/graph.pl clusters certain sub-folders 2020-05-28 15:21:06 -04:00
Paul Licameli
eb038972b0 Remove unused function and data member 2020-05-28 11:23:09 -04:00
James Crook
6cd4fce29b Build fix for PR 547 2020-05-28 15:49:56 +01:00
Paul Licameli
9b0488ab4f Dependency graph and script improvements...
... The graph.pl script now makes nodes for header files that do not have
corresponding .cpp files.

With more nodes, more dependency cycles can be revealed that were not detected
before.

Two previously known cycles, and two newly revealed cycles, are broken up by
easy means (cutting and pasting of code to new files, changes of #include
directives) that don't involve more risky transformations.

extern declarations were also reviewed.  extern declarations should not be in
.cpp files (at least for anything Audacity defines) but instead in .h files.
Definitions for those declarations should be in the corresponding .cpp files,
so that the graph generated by the script really shows all the link
dependencies.

To obey that rule requires supplying new .cpp files for existing .h files.

A similar rule applies for member funtions of classes.

So another large, hidden cycle was broken by defining PrefsPanel.cpp.
2020-05-28 05:50:25 -04:00
Paul Licameli
f3d91f488e Remove extern declarations from .cpp files...
... Require the declarations to be in .h files, to be sure graph.pl detects the
dependencies.

Only one more #include was needed in Nyquist.cpp.   This doesn't reveal any
more hidden cycles.
2020-05-28 05:50:25 -04:00
Paul Licameli
0eafcd112b Theme does not depend on GUIPrefs...
...breaks cycle of 6, still Theme in a cycle with ImageManipulation
2020-05-28 05:50:25 -04:00
Paul Licameli
fa4d35296e AllThemeResources.h has a .cpp & doesnt include Theme.h...
... (it used to, via MacroMagic)

This splits a cycle of 8 into 6 + 1 + 1
2020-05-28 05:50:24 -04:00
Paul Licameli
ae9aca8177 Implement member functions of classes in corresponding .cpp files...
... in four cases; not in some other .cpp file.

This is another move that causes the generated graph to reflect dependencies
correctly.

This fixes other large, hidden cycles that involved PrefsDialog.cpp: there was
link dependency on that when PrefsPanel.h was used for the base class.  No
longer.

Also cycles involving TrackPanel.cpp, which contained the default
implementations for TrackPanelCell and related abstract base classes.
2020-05-28 05:50:22 -04:00
Paul Licameli
0c97138840 Include only Registry.h where needed, without CommandManager.h 2020-05-28 05:45:11 -04:00
Paul Licameli
4a271ba549 Move namespace Registry into new source files 2020-05-28 05:45:11 -04:00
Paul Licameli
1195168240 RealFFTf doesn't need RealFFTf48x 2020-05-28 05:45:10 -04:00
Paul Licameli
63b9b60542 Let's fix that again... good for Windows and the others too 2020-05-27 22:20:15 -04:00
Paul Licameli
ae966c88cc Fix Windows build broken by a57b63c63 2020-05-27 20:47:53 -04:00
Paul Licameli
a57b63c63f More unnecessary includes indicating hidden link dependencies...
... This brings the big s.c.c. to 88 files
2020-05-27 20:23:28 -04:00
Paul Licameli
226a80140a Add some unnecessary #include directives...
... They are not necessary to build, but the do indicate some link
dependencies to fix, that were not shown in results of scripts/graph.pl.

The link dependencies exist because the header declaring some name did not
correspond to the .cpp file that defined it.
2020-05-27 19:58:17 -04:00
Leland Lucius
446da212f1 Make sure the modules are built 2020-05-27 16:57:11 -05:00
Paul Licameli
4ff0a9d74e Can build for windows without precompiled headers...
... Requires some more wx header inclusions, a renaming of CopyFile (to avoid
colliding with a certain macro changing it to CopyFileW), and an explicit
deletion of a copy constructor and assignment (to avoid generation of
std::vector members for an incomplete type)
2020-05-27 17:36:25 -04:00
Leland Lucius
5f5a477dbf Changed build to require python3 instead of python2 2020-05-27 16:01:04 -05:00
Carlo Bramini
bf5cd11a43
[WIN32] PCH: DEBUG_NEW unsupported by GNU libstdc++ (#544) 2020-05-27 15:45:03 -05:00
Jack Thomson
27d6841a85 Update bash script to use python3 2020-05-27 19:45:25 +01:00
Jack Thomson
c542cf5ef1 Update Windows Batch scripts to use python3 2020-05-27 19:45:25 +01:00
Jack Thomson
56f02ce13e Move mw2html and htmldata to python3 2020-05-27 19:45:25 +01:00
Paul Licameli
6541e808be graph.pl includes .mm files, and unpaired .h ; reveals more cycles...
... There is now a new big blob of 40 and a smaller one of 4
2020-05-27 13:42:20 -04:00
Paul Licameli
9dfa8f205c Rewrite QuickFix button (Dark Audacity) without SetClientData...
... Instead, it's easier to capture data in a lambda and use Bind.

Eliminates client data, casting, and use of the fields of the event object.
2020-05-27 10:32:32 -04:00
James Crook
47fa55c4b7 Update Windows build.txt 2020-05-27 12:16:20 +01:00
James Crook
62c4e10a16 Comment about resetting toolbars in OnResetConfig 2020-05-27 12:16:20 +01:00
Leland Lucius
84f5c55d7c Don't need smartmsgmerge.py either
Since it doesn't work anymore.
2020-05-27 00:43:16 -05:00
Leland Lucius
50c7627f74 Fix a few warnings on Windows build 2020-05-26 23:52:23 -05:00
Leland Lucius
1426331d3f Fix detection of ssize_t for libsndfile 2020-05-26 23:50:48 -05:00