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

8552 Commits

Author SHA1 Message Date
James Crook
6e59c2e286 Move Nyquist Workbench to Tools menu
Also disable and comment an incorrect ASSERT.
2018-04-06 14:27:33 +01:00
James Crook
31ce57e324 Make modules as part of Travis build
They are quick to build, and this ensures we keep them building OK as we make other changes.
2018-04-06 13:20:11 +01:00
James Crook
e35c49f648 Merge branch 'automake' 2018-04-06 13:19:33 +01:00
James Crook
a13a925c6b autoreconf -ivf 2018-04-06 13:11:32 +01:00
James Crook
213daba23f Avoid multiple include of configunix.h 2018-04-06 11:54:15 +01:00
James Crook
b24dae713b Update configure.ac for modules. 2018-04-06 11:54:15 +01:00
James Crook
2004aa2be2 Add m4 macros for gnu++11 2018-04-06 11:54:14 +01:00
James Crook
60a8e832b7 Update module makefiles 2018-04-06 11:53:57 +01:00
James Crook
30d438958c Get module sources ready for building on linux 2018-04-06 10:00:59 +01:00
James Crook
0885fda459 Fix mod-nyq-bench compilation under Windows. 2018-04-05 19:41:10 +01:00
James Crook
af54ac9cf6 Don't record a stereo track into a mono track
Or more precisely, don't do append-record, if doing so would lose a channel - e.g. if there is only a mono track selected and recording is set to stereo.
2018-04-05 11:53:58 +01:00
James Crook
6a62443337 Switch AppVeyor to wxWidgets 3.1.1
Using v3.1.1 removes our custom fixes - of which the most important tis the rename-retry to deal with virus checkers.  We'll bring that back in later with code in Audacity itself.
Use --recurse-submodules as wxWidgets now has png and other subprojects as submodules.
2018-04-05 09:23:30 +01:00
James Crook
76f72f0a3b Don't record a mono track into a stereo track. 2018-04-04 22:36:07 +01:00
James Crook
902e1ab0a1 Merge branch 'paint-by-numbers' 2018-04-04 21:37:22 +01:00
James Crook
291be502a0 Generate JSON box list for ThemeCache
The commented out wxLogDebug statements in Theme.cpp give the
location of all the boxes in the theme.  This is useful
for identifying what is in the theme cache for javascript code.
2018-04-04 21:34:15 +01:00
James Crook
8782a7264a Add code for iota theme-bitmap
This #ifdeffed out TEST_CARD is useful for javascript code that shows how a
theme will look, when applied to Audacity.  With the code enabled, each
pixel of audacity is painted with a colour that encodes the location in
the theme image map that was used.

Net result - in javascript you can change any colour in the theme cache
and instantly see how Audacity will look.
2018-04-04 21:30:10 +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
67f7ca7d0a Bug 1731 - No help button in "Error: not well formed Invalid token at line (x) [Residual]
With this change, help now goes to a specific sub-page for this error, rather than to the generic top level page.
2018-04-04 16:48:21 +01:00
Henric Jungheim
de13357a27 Appveyor updates and without locale (Thanks henricj) 2018-04-04 15:35:55 +01:00
James Crook
68b4cb919f Add "Help" button to Noise Reduction. 2018-04-04 15:16:04 +01:00
James Crook
c0e1c82be9 Add missing files to Mac build.
Also moved the constructor into the .cpp file, so that wxWindow is a fully defined class.
2018-04-04 14:14:59 +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
Steve Daulton
0a12f6a81f Increase max sample rate for RAW to 384 kHz
Match the maximum preset sample rate.
2018-04-03 19:04:44 +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
James Crook
0fb99c5f54 Back to Visual Studio Express 2013 as the standard audacity.sln.
- Reverting a change from henricj who is using Visual Studio 15.
2018-04-02 20:02:05 +01:00
James Crook
d68500fe2b Possible MSVC buildbot fix.
The buildbot was reporting "error C2440: 'default argument' : cannot convert from 'initializer-list' to 'const wxString &'" for prefs.h
2018-04-02 19:46:08 +01:00
James Crook
1eafc323d5 Exclude win/.nuget from Git. 2018-04-02 18:17:40 +01:00
James Crook
3880558e2d Merge remote-tracking branch 'henricj/locale' 2018-04-02 18:08:39 +01:00
James Crook
6220c27613 Do an autoreconf -ivf
This was done on a Ubuntu 14.04 system with wxWidgets 3.1.1 installed.
The resulting buildfiles successfully build Audacity on Ubuntu 14.04 (with 3.1.1) and on Travis (with 3.0.0).
2018-04-02 17:32:17 +01:00
James Crook
b7b367a165 Prepare for compiling with wxWidgets 3.1.1
- Upped version number to Audacity 2.3.0 in configure.ac
- configure.ac now wants 3.1.1 but still accepts 3.0.0 (for top level, lib-widgets-extra and mod-nyq-bench)
- .travis.yml now apt-gets autopoint.  This allows us to do an autoreconf -ivf on Travis, IF we want to, but i snot used yet.
- FileDialog MakeFile.am now has LDFLAGS to resolve libtools issue on Travis with missing --tags=CXX
2018-04-02 17:28:38 +01:00
Henric Jungheim
112fd246fd Rework locale VS project to use CustomBuildStep.
Make sure Clean, Build, and Build targets work.
Use NuGet to provide gettext for msgfmt.
2018-04-02 03:18:12 -07:00
James Crook
8c15422211 Allow 'Export Multiple' of a single track. 2018-04-01 17:52:34 +01:00
James Crook
b8eeebc269 Merge branch 'cmake' 2018-04-01 16:00:16 +01:00
James Crook
03945e8057 Compile all libs and link (Debug only so far) using CMake 2018-04-01 15:51:11 +01:00
James Crook
47e826546a Move all CMake of lib-src to cmake-proxies
Previously lib-src that we controlled had their cmake files with them.  This is clearer.
Also added place holders for help and locale.
Also enabled libvorbis and soundtouch and disabled portburn.
2018-04-01 09:58:23 +01:00
James Crook
94a731982d Add cotire (compile time reducer) to CMake
https://github.com/sakra/cotire

Currently we only use it for precompiled headers for Audacity src.
There is a 'unity' build, but it needs work by us to fix it for duplicate
definition.
2018-04-01 09:23:11 +01:00
James Crook
2ff69bc041 Add remaining libs to CMake
These now all appear in the MSVC project.
Currently only FileDialog, Nyquist, mod-script-pipe compile and link, and Audacity compiles.
Still to set include directories and flags for most of the libs.
2018-04-01 09:23:11 +01:00
James Crook
a6bbfc400f Add more libs for Audacity to CMake 2018-04-01 09:23:11 +01:00
James Crook
c3a440e561 Add audacity src 2018-04-01 09:23:11 +01:00
James Crook
ece54aa947 Get basic CMake for mod-script-pipe working.
Can then extend this to more source files.
2018-04-01 09:23:10 +01:00
Paul Licameli
3d82ee7ec0 fix Mac build 2018-03-31 23:28:08 -04:00
James Crook
1f0061ba79 Fix sizing bug in InfoDialog (misuse of wxALIGN_BOTTOM) 2018-03-31 21:08:16 +01:00
James Crook
4ae394ff5e Fix some warnings (MSVC) 2018-03-31 19:47:16 +01:00
James Crook
b5ffaca980 Possible MSVC build fix for Windows build-bot 2018-03-30 21:50:41 +01:00
James Crook
877f07834f Fix redefinition warning in Internat.h 2018-03-30 20:46:18 +01:00
James Crook
26cf8a41c1 Upgrade mod-script-pipe to wx3.1.1 release build too. 2018-03-30 14:14:27 +01:00
James Crook
00b6664749 Upgrade mod-script-pipe to wx3.1.1 2018-03-30 10:48:57 +01:00
James Crook
e9146d6922 Update Windows build instructions for wxWidgets 3.1.1.
Also fix a typo ASIOSDK2 -> ASIOSDK (Thanks Mike Bailey)
Also removed obsolete Cygwin instructions.
2018-03-29 20:02:10 +01:00
James Crook
3c0c9d48ae Update audacity.iss for 3.1.1
Also update copyright in audacity.rc
2018-03-29 16:46:20 +01:00
Paul Licameli
0fb02a8024 IdentInterfaceSymbol in NumericTextCtrl; don't persist translated 2018-03-28 14:00:17 -04:00