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

529 Commits

Author SHA1 Message Date
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
40ce9d6fca portaudio-v19: Update for VS2015+ 2018-06-26 06:53:47 -07:00
Henric Jungheim
2ebb341490 libscorealign: Update for VS2015+ 2018-06-26 06:53:47 -07:00
Henric Jungheim
bd5b333787 libnyquist: Update for VS2015+ 2018-06-26 06:53:47 -07:00
Henric Jungheim
8bf2071fdd lv2: 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
59cb9be780 pa_ringbuffer.c wasn't compiled by Travis, that broke the build 2018-05-10 00:21:31 -04:00
James Crook
763b2845ae Fix non-ASCII character in portaudio comment 2018-04-15 15:09:48 +01:00
James Crook
cbd0f8aba3 Fix (my) typo in a Mac #define.
Recreating a Mac fix locally on Windows, I copied too much text.
And of course it didn't show up in the Windows or Travis builds.
2018-04-13 08:04:25 +01:00
Paul Licameli
71f49ae0f6 Fix build targeting MacOS 10.6 2018-04-12 17:15:35 -04:00
James Crook
effab49a6f Improve Mac wx3.1.1 compatibility
1. Qualify hash as std::hash.
2. Ensure we have a header for the function 'free'
2018-04-12 20:10:41 +01:00
James Crook
04d7108509 Rejig mod-xxx building under Windows
The project files move from lib-src into the win/Projects folder.
Intermediate files are now kept well away from the files we want.
Less use of '..' and more of $(SolutionPath) in paths.
2018-04-07 12:41:57 +01:00
James Crook
1339c3a5e5 Add wx link info into mod-script-pipe for Windows
This puts it on the same footing as other mod-xxx
It also means we can shift between wxWidgets versions without updating the project file.
2018-04-07 12:41:57 +01:00
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
a13a925c6b autoreconf -ivf 2018-04-06 13:11:32 +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
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
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
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
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
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
SteveDaulton
6828627e0f Fix libsoxr build on Windows 2018-03-20 20:52:59 +00:00
Steve Daulton
ccc29c6c76 Upgrade libsoxr to 0.1.3 2018-03-20 20:52:59 +00:00
andheh
1bc7943560 fixed "unknown pragma" warnings for GCC 2018-03-06 21:29:51 +00: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
a52f7f5313 Fix build of Nyquist workbench 2018-02-24 16:57:06 -05:00
James Crook
1c988b4e3a Automation: AudacityCommand
This is a squash of 50 commits.

This merges the capabilities of BatchCommands and Effects using a new
AudacityCommand class.  AudacityCommand provides one function to specify the
parameters, and then we leverage that one function in automation, whether by chains,
mod-script-pipe or (future) Nyquist.

- Now have AudacityCommand which is using the same mechanism as Effect
- Has configurable parameters
- Has data-entry GUI (built using shuttle GUI)
- Registers with PluginManager.
- Menu commands now provided in chains, and to python batch.
   - Tested with Zoom Toggle.

- ShuttleParams now can set, get, set defaults, validate and specify
the parameters.
- Bugfix: Don't overwrite values with defaults first time out.
- Add DefineParams function for all built-in effects.
- Extend CommandContext to carry output channels for results.

We abuse EffectsManager.  It handles both Effects and
AudacityCommands now.  In time an Effect should become a special case of
AudacityCommand and we'll split and rename the EffectManager class.

- Don't use 'default' as a parameter name.
- Massive renaming for CommandDefinitionInterface
- EffectIdentInterface becomes EffectDefinitionInterface
- EffectAutomationParameters becomes CommandAutomationParameters
- PluginType is now a bit field.

This way we can search for related types at the same time.

- Most old batch commands made into AudacityCommands.
The ones that weren't are for a reason.  They are used by mod-script-pipe
to carry commands and responses across from a non-GUI thread to the GUI
thread.

- Major tidy up of ScreenshotCommand
- Reworking of SelectCommand
- GetPreferenceCommand and SetPreferenceCommand
- GetTrackInfo and SetTrackInfo
- GetInfoCommand
- Help, Open, Save, Import and Export commands.
- Removed obsolete commands ExecMenu, GetProjectInfo and SetProjectInfo
  which are now better handled by other commands.

- JSONify "GetInfo: Commands" output, i.e. commas in the right places.

- General work on better Doxygen.
    - Lyrics -> LyricsPanel
    - Meter -> MeterPanel
- Updated Linux makefile.
- Scripting commands added into Extra menu.
- Distinct names for previously duplicated find-clipping parameters.
- Fixed longstanding error with erroneous status field number which
  previously caused an ASSERT in debug.
- Sensible formatting of numbers in Chains, 0.1 not 0.1000000000137
2018-02-24 14:20:22 -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
Paul Licameli
cf66f88050 Fix build of mod-nyq-bench 2018-01-29 23:01:34 -05:00
Paul Licameli
f5737be02c Ran autoreconf --force --no-recursive 2018-01-24 22:34:35 -05:00
Paul Licameli
b3b4ace739 CHANGE LIB-SRC: make FLAC export error-check the closing of files 2018-01-22 16:48:19 -05:00
James Crook
549fa48a24 Fix order in which pipes are opened on linux. 2018-01-14 11:53:38 +00:00
Paul Licameli
e37d701bc0 WXINTL_NO_GETTEXT_MACRO defined in compiler options...
... so even if you neglect to include Audacity.h, it applies
2018-01-06 20:56:51 -05:00
Paul Licameli
df1d9a08fe Bug1808 (crash in Sliding Time Scale/Pitch Shift) PATCHED IN LIB-SRC...
... Error was in the libaries' memory management, causing an out-of-bounds
read of a buffer obtained with calloc.
2018-01-06 15:41:07 -05:00
James Crook
27d2b7c51b Add AutomationCommands class
- AutomationCommands replaces GetAllMenuCommands, and can provide
information about menus, buttons and toolbars to a script.
- BatchCommands can now return textual results to a script.
- There's a new GUID for mod-script-pipe and it is included in the .sln.
2018-01-06 19:27:45 +00:00
James Crook
d2fe7b1757 Clean up most remaining MSVC warnings. 2018-01-06 13:03:48 +00:00
Paul Licameli
ccb4bbac33 Translate "Message" as default title of message box...
... This required a sweeping change of all calls to wxMessageBox!  But it seems
safe to me, despite the great number of touched files.
2018-01-01 17:50:02 -05:00
James Crook
94b1175684 mod-script-pipe: Recreate MS project and .sln files.
This was to work around a bug in MSVC that reports a
bogus warning MSB8012, caused by using an upgraded project.

I also in the process fixed the release build, which was building as debug earlier.
2017-12-31 15:44:47 +00:00
James Crook
37ec3b52c7 mod-script-pipe: Use release libs in release build. 2017-12-30 08:20:27 +00:00
Olivier Humbert
0d89bc3f15 Fix some typos in msgids, thanks to Olivier Humbert...
... Fix the source code; fix up msgids in audacity.pot and *.po
2017-11-27 23:12:37 -05:00
Paul Licameli
41f191453f Make patch describing change in portaudio source at 38fd97b 2017-10-25 14:13:00 -04:00