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

8536 Commits

Author SHA1 Message Date
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
James Crook
9015dece06 Compile with wxWidgets 3.1.1 (on Windows).
3.1.1 includes hash<wxString> so we don't need to.
git now ignores the win-alt-build subdirectory, which can be used for an alternative set of
windows build files.  So for example, can keep an old 3.0.2 set up there whilst working on 3.1.1
2018-03-28 12:40:19 +01:00
James Crook
d153afb11c Allow SetLabel to make a selection too.
The 'Selected' option previously only selected the text.
2018-03-27 22:23:43 +01:00
James Crook
6228b6033b Modify scripts to adjust to Pull request #271
Parameter enum values have changed.
2018-03-27 22:00:16 +01:00
James Crook
4ae7a88fde
Merge pull request #271 from Paul-Licameli/choice-control-names
Choice control names
2018-03-27 21:35:16 +01:00
Paul Licameli
842025aeb3 Naming conventions for Nyquist choice controls too...
... see previous commit comment.  Also some i18n-hints
2018-03-27 15:57:49 -04:00
Paul Licameli
e1b60916b7 More consistent naming conventions for choice control items...
... This commit leaves at least a comment for all choice controls of all
built-in effects and commands.

Use CamelCase with no spaces for the internal identifiers, given in
wxT("...")

Use more idiomatic English with spaces in the user-visible names, given in
XO("..."); these strings go to the message catalog for internationalization

Do not use underscores

In case these strings are the same, give it just once in XO("..."), but if in
a future version it is decided to change the name in XO("..."), then the
original should be kept also in a distinct wxT("...") string, so that
saved configuration or plugin settings or macro files don't become gratuitously
incompatible just because of that user-visible name change.

Left TruncateSilence alone for now -- I think that choice demands a rewrite
as a slider instead.
2018-03-27 15:57:48 -04:00
Paul Licameli
6f52df545e Multi-line Nyquist header directives allow embedded comments 2018-03-27 15:54:47 -04:00
James Crook
b92e334873 Bug 1861 - SplitLabels command fails in Macros 2018-03-27 19:55:57 +01:00
James Crook
2db691dc67 Bug 1860 - Enh: Add preference to disable half-wave view on collapse. 2018-03-27 14:41:06 +01:00
Paul Licameli
886388e02c Distinguish internal from visible form of enum valued settings 2018-03-27 07:52:22 -04:00
Paul Licameli
7f30636ecb .ny header can distinguish internal vs visible choice strings...
... Syntax is like:

( "InternalString" (_ "Visible String") )

But none of the shipped .ny headers need this yet.
2018-03-27 07:51:45 -04:00
Paul Licameli
d464878d65 Use std::vector<>::data() not address of first element 2018-03-27 07:51:44 -04:00
Paul Licameli
2065eebff6 IdentInterfaceSymbol to distinguish internal vs visible enum settings 2018-03-27 07:51:44 -04:00
Paul Licameli
595cf05d42 More uses if LocalizedStrings 2018-03-27 07:51:44 -04:00
Paul Licameli
81dd580c57 Pass array and count separately to read/write/define enum 2018-03-27 07:51:43 -04:00
Paul Licameli
180cf92790 Move DbChoices out of Shuttle.h 2018-03-27 07:51:43 -04:00