1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 07:39:42 +02:00

661 Commits

Author SHA1 Message Date
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
Pokechu22
6d47a79d3e Bug 1689: Fix MIDI devices not being found on linux
PortMidi requires PMALSA to be defined to compile with ALSA support.  Without it, it simply does not find any devices.  (There is also PMNULL, but the files controlled by that define do not actually exist)
2017-07-20 09:41:15 -04:00
Paul Licameli
38fd97b8e2 Fix "C" linkage of PaUtil_GetTime (TOUCHES lib-src !) 2017-07-15 13:32:42 -04:00
Pokechu22
f50b301694 Regenerate configure scripts and Makefile.in's 2017-07-04 07:50:16 -04:00
Pokechu22
0c00435f08 Attempt to add the rest of the makefile for portmidi
Also, fix a broken(?) include in px_linux_alsa.c.  I don't know if it was actually broken, but it seems like that was wrong.
2017-07-04 07:50:15 -04:00
Pokechu22
1610da4bb3 Re-add automake files for portmidi
These were created by rbdannenberg, in commit
932ca88255a322bff833e3eb4e3931a971aa97d4, but were accidently deleted
later in commit bb63fa0d07dad9a9f02b75eda455576e6e8b4da4 (which updated
portmidi).  I can't say whether they work or not, and even when they were
introduced it was stated that they may be wrong.  But it's better than not
having any automake files at all, and will at least provide a base for
them.

I didn't add some of the sourcefile changes from the first commit (some
were already added to portmidi, and others weren't).  Some of them may be
needed to get building to work (or, we could update portmidi, if there are
any changes upstream).  I also didn't add any of the libscorealign changes
other than one, since libscorealign already had makefiles (other than the
uninstalled one).

These configure scripts may be really old; regenerating them is probably a
good idea.
2017-07-04 07:50:15 -04:00
Paul Licameli
f6d92ece82 Revert "Update from expat 2.1.0 to version 2.2.1..."
This reverts commit 2b146bf5437b94f2b5493afa8fadfe821adf292b, reversing
changes made to 138c188fb463b475ae5c243e2bc798b9450e6237.
2017-06-29 11:27:12 -04:00
Paul Licameli
b8007778f0 Other new files from expat github, probably not needed 2017-06-28 21:16:42 -04:00
Paul Licameli
941ad55140 Update expat sources 2017-06-28 21:16:42 -04: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
Steve Daulton
516570074b Add preference option for Stem Plot
Tracks 'behaviors' preferences split to sub-page to avoid over-long
page for Tracks preferences.
2017-04-27 15:16:05 +01:00
James Crook
439edae203 Update source files.
Used autoreconf --no-recursive --install to do this.
2017-03-18 20:13:39 +00:00
Paul Licameli
5036583549 Fewer inclusions of AudacityApp.h 2017-03-17 17:52:24 -04:00
Darrell Walisser
0a0a9f615c Bug 1528 - Linux: Mod-script-pipe can't be built 2017-02-24 22:54:57 +00:00
James Crook
dd6fb7b91d Updated README.txts 2016-12-31 15:01:43 +00:00
Steve Daulton
6f3aad2fe0 Update for Sample Data Import
Makefile updated for Linux build
2016-11-23 17:49:53 +00:00
yam
967275528b Get Nyquist Workbench building again 2016-10-02 19:20:31 -05:00
Leland Lucius
f4d38476a6 Actually commit the mod-null changes this time! 2016-10-01 20:23:09 -05:00