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

414 Commits

Author SHA1 Message Date
Paul Licameli
05efeeb5bd New files for ProjectSettings 2019-06-03 01:13:13 -04:00
Paul Licameli
af039f19ff Generalize means for decoupled code to add data to core structures...
... Generalizing what was first done at 280e8d9 for certain menu command
handlers.

Allow core data structures to host data attached by other code, on which it
need have no compilation or link dependencies.
2019-05-21 10:08:56 -04:00
Paul Licameli
390af96796 Dispatch read of top-level project XML tags with a table of functions...
... which makes Project.cpp a bit less dependent on some details of other
classes

This puts Tags.cpp back into the big strongly connected component of the
dependency graph.  That will be remedied later when Project.cpp becomes a
low-level file
2019-05-20 21:38:07 -04:00
Henric Jungheim
6a04d36bbd Tell Visual Studio that KeyboardCapture.h is a header file. 2019-05-20 17:59:19 -07:00
Paul Licameli
f86403378b Move AudacityMessageBox to its own files...
... breaking cycles among low-level files introduced by 273ba9f
2019-05-20 14:48:36 -04:00
Paul Licameli
e5c7e5a21f Three new files in the build, still empty 2019-05-18 14:57:24 -04:00
Paul Licameli
b04387a21d Move AudacityApp::GenerateCrashReport to its own files 2019-05-17 16:29:31 -04:00
Paul Licameli
a047fa6e7a Missing alias file tracking out of AudacityApp, into new files...
... which reduces the need for including AudacityApp.h
2019-05-17 16:28:50 -04:00
Paul Licameli
338d7cd164 A class encapsulating the global clipboard 2019-05-17 06:47:53 -04:00
James Crook
027c5b4533 Give Inno Setup its own folder 2019-04-21 21:04:09 +01:00
Henric Jungheim
e2b5dade4c Store project dependencies in Audacity.vcxproj, not audacity.sln. 2019-04-12 13:50:36 -07:00
James Crook
afde1a8e91 Build mod-script-pipe when building solution. 2019-04-11 10:06:49 +01:00
James Crook
947a977256 Build windows installer with mod-script-pipe. 2019-04-10 20:05:24 +01:00
James Crook
084ad070b2 Show config.h in MSVC project 2019-04-06 10:54:06 +01:00
Henric Jungheim
cd3a0326ae Remove ReleaseSSE and ReleaseNASM solution configurations.
Remove the ReleaseSSE configuration from the libmp3lame and
libmpg123 projects.
Remove unused files.
2019-03-28 02:53:06 -07:00
James Crook
01d95a4113 Enable SSE in LAME
Maybe a 5% speed improvement - but hard to judge.  Possibly not worth it?
2019-03-27 16:30:33 +00:00
James Crook
5e0efd1a25 Start on built-in LAME
Using LAME 3.10
Windows project files substantially changed from original, and included into audacity solution.
2019-03-26 17:46:53 +00:00
Steve Daulton
6e6148604d Nyquist plug-in installer added
Ran "autoreconf --force --no-recursive" for Linux build.

Add nyquist-plug-in-installer.ny to Windows build

Add Nyquist Plug-in Installer to mac build

Fix translation strings in plug-in installer
2019-03-21 14:30:26 +00:00
Paul Licameli
3dba70120c CommandManager, MenuManager don't use Lyrics.h, MixerBoard.h ...
... instead define new base classes in src/commands that those other
windows can inherit.  The classes have nothing but a virtual destructor.  This
lets CommandManager use dynamic_cast to detect the special windows.

See commits cbfde23 and 68e4bf6 which added the #include directives
2019-03-16 13:10:59 -04:00
Henric Jungheim
d06abcd27e Enable conformance mode for the FileDialog and Audacity projects. 2019-03-15 10:13:27 +00:00
Henric Jungheim
0f33e2bafa Provide global build defaults for Windows.
Set the SDK to 10.0.17763.
Set a default WXWIN property if the WXWIN environment variable is not set.
Source files will be interpreted as UTF-8 by default.
Use LTCG for release builds.
2019-03-15 10:11:35 +00:00
Henric Jungheim
d734cf9a4e Drop an unmatched quote from the Audacity Debug configuration's include dirs. 2019-03-15 10:11:35 +00:00
James Crook
cf9f7268aa Disable Vietnamese translation in win installer.
It causes an error message when building the installer.  The translation is
in any case not up to date.
2019-02-23 11:06:58 +00:00
SteveDaulton
aceb34d786 Add aud-do-support.lsp to Windows build 2018-11-09 20:23:50 +00:00
Mikhail Korbakov
472240494c We can get only Unofficial/Vietnamese.islu for Inno Setup 5.6.1 2018-11-04 17:56:00 +00:00
James Crook
88c70f3c37 Remove win/compile.txt which was accidentally re-introduced.
win/build.txt is its replacement.
2018-11-02 23:09:16 +00:00
James Crook
466e9c179e Create ComponentInterface
It combines the old IdentInterface with the ParamsInterface, providing an identifier and parameters (if needed).
The main purpose of the change is to make the class hierarchy (as viewed via doxygen) much easier to follow.
2018-11-02 17:04:43 +00:00
Paul Licameli
39fc20c5ee TrackPanelCellIterator is no longer needed 2018-11-01 18:25:02 -04:00
Paul Licameli
303553ae4e Take class AdornedRulerPanel out of src/widgets...
... It's not a utility widget like RulerPanel.  It has a lot of application
specific logic in it.
2018-10-24 15:04:41 -04:00
Paul Licameli
3308054170 14 new, empty .cpp files in src/menus 2018-10-24 11:04:06 -04:00
Steve Daulton
826353c812
Update build.txt
"Git for Windows" is no longer included in "GitExtensions"
2018-10-22 09:41:35 +01:00
Steve Daulton
5d34d022a5 Add rms.ny to Audacity bundle
Tidy translation code in init.lsp
Include rms.ny in Makefile.am
Add rms.ny to Linux package
Update Makefiles with: autoreconf --force --no-recursive
Add rms.ny to mac build
Add rms.ny to Windows build
2018-10-08 18:55:46 +01:00
James Crook
83f1537e33 Update build instructions for 2.3.0 2018-09-15 22:22:14 +01:00
James Crook
03ef66d070 Bug 1915 - Win: Audacity on Windows depends on MSVCP140.dll and VCRUNTIME140.dll
Update to new redistributables.
2018-09-14 23:20:37 +01:00
Paul Licameli
f6609e5ffb Move class CellularPanel into its own files 2018-08-05 14:02:55 -04:00
Henric Jungheim
d8b7e3d8a9 Switch the default toolset from VS2013 to VS2017 2018-06-26 06:53:48 -07:00
Henric Jungheim
6ae5bd46ad Rework locale VS project to use CustomBuildStep.
Make sure Clean, Build, and Build targets work.
Use NuGet to provide gettext for msgfmt.
2018-06-26 06:53:47 -07:00
henric
75bc81a1dd Don't use a separate build script for optional files. 2018-06-26 06:53:47 -07:00
Henric Jungheim
ee5609b8ee libsndfile: Update for VS2015+ 2018-06-26 06:53:47 -07:00
Henric Jungheim
8bf2071fdd lv2: Update for VS2015+ 2018-06-26 06:53:47 -07:00
henric
659f8cbc6f Get rid of the Windows compatibility headers stdint.h and inttypes.h.
Microsoft provides their own these days.
2018-06-26 06:53:47 -07:00
Paul-Licameli
af62506175 Update pointer to our wxWidgets custom branch in build texts 2018-06-19 22:50:34 -04:00
James Crook
c2e07b4620 Change manifest from 'any architecture' to '32bit'.
Also upped version.
The reason to change to 32 bit, is that * (i.e. any) can lead to a mix of 32 bit and 64 bit on 64 bit systems.  That in turn can lead to reported SxS 78 errors.
2018-04-22 15:33:05 +01:00
James Crook
89788d4690 mod-script-pipe windows release build to link to release dlls. 2018-04-13 23:41:55 +01:00
James Crook
8e32c2df5d Only build mod-xxx-xxx if user requests it. 2018-04-11 22:36:26 +01:00
James Crook
9cb593fe54 Fix MSB8012 and consequent Link error with modules.
See https://stackoverflow.com/questions/4494028/warning-msb8012-make-sure-that-outdir-targetname-and-targetext-prope?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa for the gory details.

This error is not just a project upgraders error.  It can also happen when moving projects - as I found after recreating the projects afresh and still having the error.  The essential problem is that the configuration parameters are over determined, and hence can conflict.  It's compounded by there being no warning of conflicting parameters at project configuration time.
2018-04-11 11:08:29 +01:00
James Crook
04d7108509 Rejig mod-xxx building under Windows
The project files move from lib-src into the win/Projects folder.
Intermediate files are now kept well away from the files we want.
Less use of '..' and more of $(SolutionPath) in paths.
2018-04-07 12:41:57 +01:00
James Crook
bf9beb1f36 Revert locale tidy up
We want to use the fix ups that use NuGet.  However, they break the windows build-bot.  At the moment the windows build-bot is more important than the better locale code - hence reverting.
2018-04-04 17:04:58 +01:00
James Crook
082ab5ca28 Don't build locale in release build
This is a temporary measure to possibly get the MSVC buildbot working again.
2018-04-03 19:57:28 +01:00
David Bailes
f027708fe1 Fix an issue caused by the accessibility changes in wxWidgets 3.1.1
The main change in wx accessibility is this:
7dab555f71 (diff-04f5191d86f95b1c4d5d9c979da65878)

However wxWindowAccessible has not been updated to take into account of that change. In particular wxWindowAccessible::GetParent() was always wrong, but it was consistent with the rest of the framework. Now it's wrong and inconsistent. This function should return an object with role window, and which has the same name.

The fix is to introduce class WindowAccessible, which is effectively our own version of wxWindowAccessible. This class does not override GetParent(), and so just relies on a standard accessible object to to the right thing in wxIAccessible::get_accParent() (which is does). This class also allows us to have our own version of GetName(), which allows us to set the accessibility names of buttons.

These changes will break the accessibility of Audacity if it is built with wxWidgets 3.0.X. If this is a problem, then there could be some #if stuff in WindowAccessible.h to turn the WindowAccessible class into one which simply inherits from wxWindowAccessible, and doesn't override anything.
2018-04-03 14:57:59 +01:00