1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 01:29:43 +02:00

37 Commits

Author SHA1 Message Date
Paul Licameli
a3afdf80d0 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
2018-11-15 11:23:19 -05:00
Paul Licameli
2fec472ba2 lib-src/libnyquist: eliminate register local variables 2018-11-15 11:23:17 -05:00
Paul Licameli
14bd1cad29 lib-src/libnyquist/nyquist/xlisp: fix duplicate "const" 2018-11-15 11:23:17 -05:00
Paul Licameli
06eee27b9a Rewrite commit 1bc0f0f without further changes to lib-src...
... Reuse the external function registration added earlier in 2.3.0
development, for support of internationalization in Nyquist.

This way, we avoid making cyclic static linkage dependencies between the
library and the application.
2018-08-01 23:11:30 -04:00
James Crook
1bc0f0f4d0 Make Nyquist support (AUD-DO)
Nyquist AUD-DO calls out to a new function that executes script commands, and returns results in a lisp string.
2018-08-01 20:32:03 +01:00
Henric Jungheim
bd5b333787 libnyquist: 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
6b2a219e26 Changes to make xlisp.h usable in C++ code...
1) #include guard
2) "C" linkage for all function declarations
3) some uses of const
2018-03-01 21:48:41 -05:00
Paul Licameli
5aa70545d5 Use casts with function pointers to quiet compilation warnings in Nyquist 2018-03-01 21:43:32 -05:00
Paul Licameli
e6d069787b Fix mistake in commit a1dc830 and add a comment 2018-02-22 01:10:10 -05:00
Paul Licameli
a1dc8305f0 A function to extend XLisp's table of function bindings dynamically 2018-02-21 17:32:08 -05:00
Steve Daulton
92335ce463 Enable Nyquist audio device selection 2017-06-22 10:24:59 +01:00
Steve Daulton
333c0e3440 Fix for bug 1653 (Nyquist *Table* size limit)
as suggested by RBD in comment #1
2017-06-15 21:46:11 +01:00
James Crook
016919a53b 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.
2016-06-26 08:35:19 +01:00
Paul Licameli
ba1b63a435 Bug1223 again: redo the fix exactly as Roger Dannenberg wants it 2016-06-22 15:50:20 -04:00
Paul Licameli
8ad9fd257c Bug1223: Avoid stack overflow crash generating long click track 2016-06-21 17:52:30 -04:00
Benjamin Drung
787f2afd10 Introduce end-of-line normalization
Ensures that all files that Git considers to be text will have
normalized (LF) line endings in the repository. When core.eol is set to
native (which is the default), Git will convert the line endings of
normalized files in your working directory back to your platform's
native line ending.

See also https://git-scm.com/docs/gitattributes
2016-05-17 01:05:05 +02:00
Benjamin Drung
8d360fe5f3 Remove unwanted files
There are some files in the repository that match rules in .gitignore
and shouldn't have been committed to the repository. Thus remove them.
2016-05-17 01:05:05 +02:00
Mojca Miklavec
ecc2138c5c comment out extra tokens at end of #endif directive to avoid compiler warnings [-Wextra-tokens] 2016-02-26 15:11:55 +01:00
Julien Nabet
132173badf cppcheck: fix 2 reports
[lib-src/libnyquist/nyquist/nyqsrc/sndwritepa.c:249]: (style) Same expression in both branches of ternary operator
[lib-src/libnyquist/nyquist/nyqsrc/f0.cpp:137]: (error) Mismatching allocation and deallocation: results
2015-11-07 22:47:34 +01:00
Leland Lucius
303faaa15b Replace convolve with previous version 2015-05-04 12:42:27 -05:00
Leland Lucius
ae7a7e67fb VS2013 includes the log2() function, so prevent Nyquist from defining it. 2015-04-08 11:29:55 -05:00
Leland Lucius
a66184f259 Adding changes that I missed when redoing my branches. 2015-04-08 10:21:17 -05:00
Leland Lucius
9fb0ce5b82 Update Nyquist to v3.09. 2015-04-07 22:10:17 -05:00
lllucius@gmail.com
e62d3a55c6 Temporary performance fix as discussed via email and:
http://bugzilla.audacityteam.org/show_bug.cgi?id=734

Will be reverted when Roger finishes modifications to
new Nyquist features and they get merged into the
Audacity tree.
2014-07-18 04:15:24 +00:00
v.audacity
c25514cb03 Steve Daulton's patch to fix bug 410 2012-02-14 00:25:35 +00:00
james.k.crook@gmail.com
14bc36ee39 Nyquist fixes for code that exits Audacity without saving audio. 2011-04-23 10:10:48 +00:00
rbdannenberg
c389f0348b Previous bug fix to add.c introduced a declaration after statements, rejected by some compilers. This new add.c should compile everywhere. 2010-09-27 17:55:51 +00:00
rbdannenberg
f37b4ab344 Fixed some Nyquist bugs, eliminate some compiler and wipro checker warnings 2010-09-27 05:42:28 +00:00
v.audacity
c159d469d6 Fix another bug reported by Wipro: "...at line 89 in function xlungetc , file xlio.c
'fptr', can take a NULL value. It is being derefed directly or through its aliases at: '(((fptr- >n_info).n_xstream).xs_savech)'"
2010-09-25 22:15:46 +00:00
rbdannenberg
639c8dbfb9 Fixed bug in Nyquist SND-AVG where block size smaller than skip size overwrote memory and crashed. 2010-09-19 12:19:26 +00:00
v.audacity
fb3e2dab1b Fix another error reported by Wipro, deref of possibly NULL pointer. 2010-09-14 23:02:19 +00:00
v.audacity
c3cc10a265 Fix a couple of errors reported by Wipro. 2010-09-13 23:42:21 +00:00
v.audacity
37f52c4695 Eliminate MSVC compiler warnings. 2010-09-02 04:02:23 +00:00
v.audacity
4c72458c6c Eliminate MSVC compiler warnings. 2010-09-02 03:32:35 +00:00
richardash1981
97f24531bd These editor temporary files should never have been under version control 2010-02-11 16:43:15 +00:00
ra
58caf78a86 Move library tree where it belongs 2010-01-24 09:19:39 +00:00