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

12211 Commits

Author SHA1 Message Date
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
Leland Lucius
f33905cd30 Only set SSE/SSE2 flags for 32-bit builds on Windows
They aren't needed for 64-bit since all x86 64-bit processors have
these instructions.
2020-05-26 23:12:19 -05:00
Leland Lucius
97c5a9e0c2 Disable precompiled headers for Linux and Mac
This should catch any missing include directives.  Windows
will have to come later as it needs a lot of work.  It's
been using PCHs forever, so we've gotten away with a lot
of missing includes.
2020-05-26 20:53:14 -05:00
Leland Lucius
49c95973cd Try my hand at using XO()
Did I do it right Paul?
2020-05-26 20:51:10 -05:00
Paul Licameli
af26d0438c FileDialogPrivate.* include our Internat.h for macro _ ...
... or (win) just don't use _ when writing to the log
2020-05-26 21:19:29 -04:00
Leland Lucius
b9959de4ba Add cmake option to disable precompiled headers 2020-05-26 20:01:49 -05:00
Sebastian Ramacher
df16b7e5c8
cmake: check for system portsmf via correct pkg-config name (#539)
Thanks much
2020-05-26 18:58:02 -05:00
Leland Lucius
5679bb23b3 Make msgfmt.py compatible with py3 2020-05-26 15:03:21 -05:00
SteveDaulton
5f395ca6e9 Fix Python recording test
and update for Python 3
2020-05-26 20:44:24 +01:00
Leland Lucius
37a19d6db4 Enable precompiled headers on OSX
Learned today how to disable precompiled header usage
for specific files, so we can now enable PCH usage on
OSX.
2020-05-26 14:39:36 -05:00
Paul Licameli
2a91f91287 Revert "Break cycle of FileDialog and FileDialogPrivate"...
... It didn't really break the cycle, because there were still indirect
inclusions via AudacityHeaders.h.

This reverts commit 4f78874978975b42a5ca0ffb7175d586875da629.
2020-05-26 15:24:00 -04:00
Leland Lucius
a1dca132a8 Remove unnecessary ALIAS definition
No longer needed after removal of old build system
2020-05-26 13:50:34 -05:00
Leland Lucius
e7decd8013 Cleanup a few more library builds 2020-05-26 13:36:07 -05:00
Paul Licameli
83d5c81578 Change a function return from wxString to TranslatableString 2020-05-26 12:04:11 -04:00
Paul Licameli
66c5b76573 Simplify public interface of FileHistory 2020-05-26 10:47:47 -04:00
Paul Licameli
3313b33050 Move helper structure definitions out of CommandManager.h...
... and remove an indirection in handling one of them
2020-05-26 09:49:22 -04:00
James Crook
4c3dda596d Update win build instructions 2020-05-26 12:34:39 +01:00
Leland Lucius
ccb32b363d Adjust include paths 2020-05-26 03:24:27 -05:00
Leland Lucius
51507ecdf8 Move libmp3lame into the lame directory
This is where it would be in the original library structure
and makes the CMakeLists.txt a tad cleaner.
2020-05-26 02:05:43 -05:00
Leland Lucius
d738d35a7b Remove mpglib as it's not needed
And slower than libmad
2020-05-26 01:44:58 -05:00
Paul Licameli
4f78874978 Break cycle of FileDialog and FileDialogPrivate 2020-05-26 02:05:06 -04:00
Paul Licameli
5f61552987 Remove an unused ODLock...
... It became unused long ago at 61177a15ad95cf3f8d1e8eb37518764d8b980307
when libSndFileMutex in FileFormats.cpp took its job
2020-05-25 21:01:44 -04:00
Paul Licameli
0ef7213a2e Bug2453: Shoudln't show & accelerators in dialog text for key prefs 2020-05-25 19:57:20 -04:00
Leland Lucius
5e8cfb0c5a Bug 2431 - Mac: Real-time effects - Enable checkbox has no effect 2020-05-25 18:27:46 -05:00
Paul Licameli
2272055d44 More cleanup of the tree after moving modules & FileDialog 2020-05-25 17:21:35 -04:00
Paul Licameli
0a00110612 Remove mod-track-panel and all mention of it 2020-05-25 17:21:05 -04:00
Paul Licameli
7fbfc2b292 Finish the job of 30dbdf4, deleting abandoned source files...
... And correcting #include paths, and removing mentions in read-me files, and
correcting CMakeLists.txt
2020-05-25 17:21:05 -04:00