1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 23:59:37 +02:00

12870 Commits

Author SHA1 Message Date
Paul Licameli
05d5f2677c Fix comments, remove unnecessary #include 2021-01-31 08:51:31 -05:00
Paul Licameli
98223f9850 We no longer need to duplicate std::hash<wxString> 2021-01-31 08:27:18 -05:00
Leland Lucius
21296b0cf1 New wrapper for wxFileConfig to fix several bugs
Bug 2135 - Audacity crashes if launched with a locked pluginregistry.cfg file
Bug 2651 - If pluginregistry.cfg gets locked while Audacity is active the Plug-in Manager is blocked - with no help
Bug 2650 - Virgin launch fails with no pluginregistry.cfg file created
Bug 1264 - Writing to locked audacity.cfg not reported to user
Bug 2649 - Launching Audacity with a locked audacity.cfg file gives not one but three error messages - and no help
Bug 2652 - User is not warned if they launch Audacity with a locked pluginsettings.cfg file
2021-01-31 04:24:35 -06:00
Paul Licameli
78b6897f85 Remove unused function 2021-01-30 20:44:31 -05:00
Paul Licameli
8cc9bd9b57 Remove unnecessary call to Translation 2021-01-30 18:09:12 -05:00
Paul Licameli
ce9f25bafe Keep some EXPERIMENTALs compilable 2021-01-30 13:30:42 -05:00
Paul Licameli
23f32a8319 Remove some unnecessary #include directives 2021-01-30 12:37:47 -05:00
Leland Lucius
7aa26482eb Bug 1806 - Extreme negative settings in Change Tempo cause an "apparent" hang/freeze 2021-01-30 04:56:53 -06:00
Leland Lucius
754838844d Bug 119 - Linux: Export Multiple: "*" and "?" in label or track name wrongly rejected 2021-01-30 04:13:56 -06:00
Leland Lucius
ae3c89453f Bug 119 - Linux: Export Multiple: "*" and "?" in label or track name wrongly rejected 2021-01-30 03:55:59 -06:00
Leland Lucius
b53d06ed23 Bug 425 - Win/Linux: Nyquist: (vector (aref s 0)(aref s 0)) not returned correctly to track 2021-01-30 02:49:30 -06:00
Leland Lucius
618106f1c3 Bug 619 - TwoPassSimpleMono converts to track bit format between passes, losing quality. 2021-01-30 01:16:32 -06:00
Leland Lucius
0576d8c945 Bug 1215 - Incorrect splits produced by Change Tempo with leading whitespace 2021-01-29 23:23:54 -06:00
David Bailes
6c44b4fdc0 Bug 2648: Grid accessibility: location can be incorrect.
The focus location provided to assistive technology by GridAx::GetLocation() does not take into account horizontal or vertical scrolling. So if there is any scrolling in either the Metadata or Labels editor, the focus location provided to assistive technology is not the same as the focus location shown by wxWidgets.
2021-01-29 16:25:26 +00:00
Leland Lucius
9fee0d1c19 Bug 101 - Nyquist implementation: (dribble [fname]) function 2021-01-29 06:54:49 -06:00
Leland Lucius
52bde299aa Revert "Bug 2508 - Macros: Export2 handles channels > 2 incorrectly"
This reverts commit 2ecc98225f93e8c3fc85ce61991d0f33364e8b8e.

This is the one I was supposed to revert.
2021-01-29 06:38:12 -06:00
Leland Lucius
76460c73da Bug 2366 - Macros: Run does "Select All" ignoring setting in Tracks Behaviors Preferences
Reverted the wrong commit...needed to add an include anyway.
2021-01-29 06:37:30 -06:00
Leland Lucius
90a1783779 Revert "Bug 2366 - Macros: Run does "Select All" ignoring setting in Tracks Behaviors Preferences"
This reverts commit 1478abf3d02573538e95769a4aa3548c59f4bc19.

Removing until some questions are answered.
2021-01-29 06:16:17 -06:00
SteveDaulton
e5ca3cefba Whitespace corrections in Nyquist plug-ins 2021-01-29 12:13:49 +00:00
Leland Lucius
2ecc98225f Bug 2508 - Macros: Export2 handles channels > 2 incorrectly 2021-01-29 06:00:36 -06:00
Leland Lucius
1478abf3d0 Bug 2366 - Macros: Run does "Select All" ignoring setting in Tracks Behaviors Preferences 2021-01-29 05:08:05 -06:00
Leland Lucius
bcb4bb91c7 Bug 101 - Nyquist implementation: (dribble [fname]) function 2021-01-28 19:54:21 -06:00
Leland Lucius
a7c1906bf5 A small change to accommodate new Nyquist version 2021-01-28 19:10:08 -06:00
Leland Lucius
9e5ec6d9cc Bug 2135 - Audacity crashes if launched with a locked pluginregistry.cfg file 2021-01-28 15:05:10 -06:00
Leland Lucius
d84ce6d147 Bug 2647 - Audacity can import Word 2000 files as "audio" 2021-01-28 14:41:32 -06:00
Leland Lucius
a3a158e56b Bug 101 - Nyquist implementation: (dribble [fname]) function 2021-01-28 14:16:41 -06:00
Paul Licameli
ae99e69af0 Fix #include guard 2021-01-28 12:13:50 -05:00
luzpaz
98d3e91452
Fix typos (user facing and non-user facing) (#733)
Found via `codespell`
2021-01-28 12:36:41 +00:00
luzpaz
e050b0ecbb
Fix source typos (#732)
Coefficents->Coefficients
2021-01-28 12:35:23 +00:00
Leland Lucius
a2bcd53418 Record Nyquist upgrade in lib-src/audacity-patches.txt 2021-01-28 02:41:48 -06:00
Leland Lucius
f24d42d510 Update Audacity's Nyquist interface for r331 (r3.16+)
This includes converting some types to int64_t to be
compatible with Nyquist's improved 64-bit support.
2021-01-28 02:34:43 -06:00
freddii
edb00dd422 Fix some spelling mistakes. 2021-01-28 02:29:46 -06:00
SteveDaulton
afb286ab7e Nyquist: Cache supported Scripting command profiles.
Fixes slow load on first run of Nyquist effect.
Revert aud-import-effects to optional, and add
aud-do-command as fast alternative.
Slow load now only on first debug use of new commands
and cached until Nyquist temp folder is cleared.
To avoid unnecessary overhead, 'Lispy' scripting commands
only provide additional validation when debugging enabled.
AUD-PRINT-COMMAND added as handy reference for new commands.
Cache may be refreshed manually with (aud-refresh-debug-data-cache).
2021-01-28 02:26:02 -06:00
SteveDaulton
740ab2aa1f Nyquist: Fix multichan-expand
Many existing Nyquist plug-ins require the old version
of multichan-expand, so in Audacity we need to support
both the old and new versions.
2021-01-28 02:22:46 -06:00
SteveDaulton
a661bc6220 Restore Nyquist *runtime-path* 2021-01-28 02:17:50 -06:00
Leland Lucius
883aafe8dc Reapply local changes to Nyquist runtime
commit 48b6a9a8594c072de0849f33ad554e7f60980bb4
Author: Steve Daulton <SteveDaulton@users.noreply.github.com>
Date:   Wed Dec 18 20:28:04 2019 +0000

    Update init.lsp

    *NYQ-PATH* is not required (and not currently used).
    Use *RUNTIME-PATH* instead (already defined in Nyquist, but not previously documented).

commit f99d564fd6dbddfa995ff16ae18aef3429aee2ed
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Tue Jul 2 15:02:00 2019 +0100

    Fix bug 2148

    Ensure that backslashes in GetInfo data are escaped.

commit 5a7b6a7323a12591f79176588581e7dd84a49038
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Thu Dec 27 19:44:05 2018 +0000

    Fix multiple selection Nyquist file widget

    Wx "Style" flags are 4 bytes, not 1 byte.
    Also update a couple of comments in passing.

commit 26e19bfd5a2485aaa8aa1554b9d45c248b4c134b
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Fri Nov 9 16:35:37 2018 +0000

    Add aud-do-support.lsp for Linux build

    Provides Nyquist (LISP) wrapper functions for macro "Commands".

commit 46a3f91d5946a0248631d590a05073911f7f87cc
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Mon Oct 29 15:20:36 2018 +0000

    Add some useful path definitions for Nyquist

commit 37ec7da3c33efbd7e804b59e8b3cbfec8ece8b8e
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Thu Oct 11 02:43:07 2018 +0100

    Throw error if Nyquist *LOCALE* is malformed

    Partial translations are allowed.

commit 297bf442a45b4e7fd7831a35102585ac2d50cbc3
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Tue Oct 9 01:13:48 2018 +0100

    Fix typo in 665e2d0

commit 665e2d0e9c72335911a8572393d0b30ee38b1662
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Tue Oct 9 01:04:05 2018 +0100

    Correction to translation of rms.ny

    Update Russian translation in rms.ny and make variables local to
    underscore function.

commit 5d34d022a5cc7c4efa631a3a815121584dd2e9c6
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Sun Oct 7 18:40:41 2018 +0100

    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

commit ae2bbb327613ed35ddc1e37d5f9fd443180b06c2
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Mon Sep 3 16:57:06 2018 +0100

    AUD-GET-INFO function added to init.lsp

    Provide built-in Nyquist function to call scripting command
    GetInfo, and return result as LISP list.

commit 367d15a0b0695f0aa29bc4500c6702bd17c3ce6f
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Sun Aug 26 20:07:47 2018 +0100

    Add a couple of helpers for parsing string

    Provides a convenient function and macro, intended specifically for
    parsing strings returned by (aud-do "GetInfo: ...

commit 504cf0fe8553a60aee5557e820c43ca6aa51a47a
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Sun May 6 17:08:12 2018 +0100

    Runtime translation for 3rd party Nyquist plug-ins

    3rd party plug-ins may provide their own translations for runtime
    messages (return strings and debug messages).
2021-01-28 02:14:08 -06:00
Leland Lucius
586b86a77f Update Nyquist to SVN r331 2021-01-28 02:13:05 -06:00
Leland Lucius
29d35e46e9 Misc changes to get new Nyquist to build 2021-01-28 01:59:04 -06:00
Carlo Bramini
6181f406fd Fix error build with MinGW and CYGWIN (#556)
When compiling, I got this error:

/lib-src/libnyquist/nyquist/nyqsrc/sndread.c: In function 'snd_make_read':
/lib-src/libnyquist/nyquist/nyqsrc/sndread.c:169:30: error: invalid operands to binary | (have 'int' and 'long int *')
  169 |         susp->sf_info.format |= format;
      |                              ^~

I would like to suggest this fix for this error.
2021-01-28 01:00:59 -06:00
Carlo Bramini
3dfc9d6dec Fix build on CYGWIN. (#557)
* [NYQUIST] Fix build on CYGWIN

Cygwin requires to include unistd.h for building without errors.

* [NYQUIST] Fix build on CYGWIN.

Cygwin requires to include endian.h to build without errors.
2021-01-28 01:00:36 -06:00
Leland Lucius
5ba6072bbb Workaround for bug #2264
Reverting back to previous behavior to get proper
escaping.
2021-01-28 00:52:33 -06:00
Leland Lucius
d8b878f163 Reapply 5aa70545d56d4b53fa740afcf066725101d746b5
Author: Paul Licameli <paul.licameli@audacityteam.org>
    Date:   Mon Feb 26 11:18:22 2018 -0500

        Use casts with function pointers to quiet compilation warnings in Nyquist
2021-01-28 00:47:48 -06:00
Leland Lucius
cb810e8652 Reapply 5955dbc75295997f273981224ffede70506bc185
Author: Leland Lucius <github@homerow.net>
    Date:   Wed Oct 2 10:17:00 2019 -0500

        Possible fix for bug #590

        This change reduces the risk of LADSPA plugins referencing
        Audacity symbols by using the RTLD_DEEPBIND flag when loading
        the plugins.

        It also addresses an issue specific to the "blop" plugins where
        they load their own libraries (without RTLD_DEEPBIND).

        A much better solution would be to change Audacity's default
        symbol visibility to "hidden" which would expose ONLY symbols
        specificially marked as visible.
2021-01-28 00:43:08 -06:00
Leland Lucius
1f27ad932c Reapply a3afdf80d00c68dddba6aa66829ac296891bf2d4
Author: Paul Licameli <paul.licameli@audacityteam.org>
    Date:   Tue Nov 13 08:36:22 2018 -0500

        lib-src/libnyquist: fix warning about always-false comparison...

        ... but this raises questions about the intention to catch negative values,
        which if they ever happened, were just mis-cast to unsigned at call sites
2021-01-28 00:35:40 -06:00
Leland Lucius
19494d6277 Reapply 2fec472ba2b4e8df797d7dac2528d8ccbdaea44c
Author: Paul Licameli <paul.licameli@audacityteam.org>
    Date:   Tue Nov 13 07:50:01 2018 -0500

        lib-src/libnyquist: eliminate register local variables
2021-01-28 00:35:19 -06:00
Leland Lucius
981f41ccf4 Reapply 6b2a219e2687de3eb77a888ca739151c461c2aa7
Author: Paul Licameli <paul.licameli@audacityteam.org>
    Date:   Tue Feb 27 13:51:10 2018 -0500

        Changes to make xlisp.h usable in C++ code...

        1) #include guard
        2) "C" linkage for all function declarations
        3) some uses of const
2021-01-28 00:34:50 -06:00
Leland Lucius
9b77109eff Reapply e6d069787bb0c010c7afb55841754fb85dd123e0
and a1dc8305f0a369b97b6a9f44d4e97197f1983872

    Author: Paul Licameli <paul.licameli@audacityteam.org>
    Date:   Thu Feb 22 01:02:15 2018 -0500

        Fix mistake in commit a1dc830 and add a comment

    Author: Paul Licameli <paul.licameli@audacityteam.org>
    Date:   Wed Feb 21 15:46:18 2018 -0500

        A function to extend XLisp's table of function bindings dynamically
2021-01-28 00:34:28 -06:00
Leland Lucius
9d61ee437a Reapply 016919a53bb8f17de2a9070fbe84ed88fb27e175
Author: James Crook <james.k.crook@gmail.com>
   Date:   Sun Jun 26 08:35:19 2016 +0100

       Bug1223: (correction).  Fix new potential crash in following pointer.

       With recent changes to the Nyquist code for freeing blocks, the pointer 'next' could be uninitialised when 'list' points to the zero chain.  So Audacity would follow a rogue pointer.  We'd get away with it if the uninitialised value happened to be zero.
2021-01-28 00:29:58 -06:00
Leland Lucius
7e083b6ba1 Reapply ecc2138c5ca7eadb7d77151767b1ccd8cfe4a1ca
Author: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
    Date:   Fri Feb 26 15:11:55 2016 +0100

        comment out extra tokens at end of #endif directive to avoid compiler warnings [-Wextra-tokens]
2021-01-28 00:29:22 -06:00
Leland Lucius
f678aa44f9 Reapply 132173badfe9315e94ab30fb19d366adbc63e826
Author: Julien Nabet <serval2412@yahoo.fr>
   Date:   Sat Nov 7 22:47:34 2015 +0100

       cppcheck: fix 2 reports

       [lib-src/libnyquist/nyquist/nyqsrc/f0.cpp:137]: (error) Mismatching allocation and deallocation: results
2021-01-28 00:27:43 -06:00