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

8667 Commits

Author SHA1 Message Date
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
Henric Jungheim
1a3005182b Const'ify images 2018-03-27 05:36:02 -04:00
Henric Jungheim
b77637750d Const'ify xpm images 2018-03-27 05:36:02 -04:00
Henric Jungheim
d8da4015ef Make it possible to const'ify xpm. 2018-03-27 05:36:02 -04:00
Paul Licameli
aaecf213b8 use const 2018-03-26 18:04:36 -04:00
Paul Licameli
2bd4665461 This is not needed after 170f92c 2018-03-26 18:04:36 -04:00
Steve Daulton
15e6792be9 Fix bug 929 2018-03-26 22:51:50 +01:00
Paul Licameli
ab509acdf7 Remove overloads that are not needed after 277537c 2018-03-26 16:57:10 -04:00
James Crook
a4a588610e Revert "Bug 893 - Spectral Selection Toolbar misnamed"
This reverts commit eaada3a51d1cea89e737eb73f607a089e07816a2.
2018-03-26 20:18:37 +01:00
Paul Licameli
d1ffb8a5b8 Supply missing #include 2018-03-26 15:15:13 -04:00
Paul Licameli
277537c7b8 Store choices as numerical codes in ScreenshotCommand, not strings...
... there was confusion whether they were meant to be a translated strings or
not
2018-03-26 14:45:22 -04:00
Paul Licameli
78f058b844 ShuttleGetDefinition::DefineEnum should emit a string not number 2018-03-26 14:33:35 -04:00
Paul Licameli
1e4ac7010c addendum 2018-03-26 14:29:40 -04:00
Paul Licameli
170f92c181 A means to specify legacy values of effect choice controls...
... For Truncate Silence only now, perhaps it will find more future use
2018-03-26 14:26:30 -04:00
James Crook
cb8e35574d Fix half sized equalization dB ruler. 2018-03-26 11:52:12 +01:00
James Crook
c086e252fb Fix wording in recording preferences (Thanks Bill) 2018-03-26 09:59:24 +01:00
James Crook
460ff4644e JSONify the JSON (Thanks Robert)
Added quotes around the keys in JSON key value pairs.
Before this fix, we had Javascript, not JSON.
2018-03-26 09:56:51 +01:00
Paul Licameli
0bc96c3831 Oops, Internal() was needed here, not Translation() 2018-03-26 01:06:24 -04:00
James Crook
afe09bb172 Bug 1731 - No help button in "Error: not well formed Iinvalid token at line (x) 2018-03-25 21:41:57 +01:00
James Crook
eaada3a51d Bug 893 - Spectral Selection Toolbar misnamed 2018-03-25 21:41:56 +01:00