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

149 Commits

Author SHA1 Message Date
Paul Licameli
bf8387327e src/graph.pl can generate hyperlinks for nodes in .svg images 2020-05-24 17:15:49 -04:00
Leland Lucius
c42d188e7b Removed old build system
This was fun!!! Holler if I had too much fun. :-)
2020-05-24 13:18:47 -05:00
James Crook
bdcd907b54 Bug 2409 - Linux: Min-source tarball includes 30Mb of wav files. 2020-05-03 09:51:17 +01:00
Leland Lucius
ef28b9214b Fix non-cmake buildable minsrc tarball 2020-04-25 02:15:05 -05:00
Leland Lucius
1a2b407e89 Add "minsrc" target to build tarball
This adds a new target that will build the "minsrc" tarball.

It can be created on any platform now, either from the command
line or from within the Window's and Mac's project files.

The output tarball will be in the build directory.

And it's very easy to update the list of files/directories to
exclude...see scripts/CMakeLists.txt
2020-02-28 01:40:16 -06:00
James Crook
1c44a1e061 Include libFlac in tarball. 2019-11-08 20:40:18 +00:00
Paul Licameli
b83ebc17a1 Revert addition of extraneous files under scripts/ 2019-10-24 15:17:53 -04:00
Paul Licameli
cfbffe6d54 Bug 2228: crash closing, only Linux, gcc, opt, wxWidgets 3.0...
... Not the most satisfactory fix, but in fact no dangling pointers will
happen with the code we have now, because the relevant windows are all destroyed
only at the end of AudacityProject's lifetime, including the non-modal windows
(macros, history, lyrics, mixer board, plot spectrum, and contrast) which
are hidden and shown again, not destroyed and recreated, when dismissed and
reopened.

To do:  figure out how to make wxWeakRef work on that combination without
crashing.
2019-10-17 17:07:37 -04:00
Steve Daulton
1639df03a4 Fix pipeclient.py for Windows 2019-05-21 17:54:24 +01:00
Paul Licameli
eeb290aeb6 New script graph.pl to analyze dependencies...
... To use it, first install graphViz.  Then change to the scripts directory
and run ./graph.pl .  Then view the resulting image file in a browser.

See an acyclic graph, each node labeled with the list of .cpp files in
one strongly connected component of the linkage dependencies as determined
by scanning the #include directives in the sources.

It worked for me in macOS.
2019-05-15 14:06:06 -04:00
James Crook
0c38b9f41e Update names in scripts. 2019-04-11 22:26:17 +01:00
James Crook
9890b12619 Add README.txt for piped-work and results. 2019-04-10 16:28:50 +01:00
James Crook
0f256df79d Make scripted tests portable (e.g. to mac) 2019-04-10 15:04:09 +01:00
James Crook
5739c579fa Script changes to include the 'arrange' script. 2019-04-09 22:34:02 +01:00
James Crook
0188b7570d Do script changes for Pull request #271 that were previously missed. 2019-04-09 21:55:22 +01:00
Steve Daulton
6f9746b601 Update pipe_test.py for Python 3 2019-03-22 14:21:56 +00:00
Steve Daulton
bedd4f1f3f Fix pipe_test for Python3 on Linux
The script still works with Python 2 on Linux, but it should be tested
(with Python 3) on Windows and Mac.
2019-03-22 10:15:51 +00:00
James Crook
4cff5c4cb9 Bug 1768 - Local Manual says 'offline' in the footer and 'development' in the title. 2018-09-15 13:29:38 +01:00
Steve Daulton
d990890232 Update alpha manual URLs in mw2html scripts 2018-07-22 15:07:52 +01:00
James Crook
f8da13f00a Bug 1875 - wiki2htm.sh fails with https 2018-07-22 14:07:56 +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
3896ff98dd Update scripts for revised commands. 2018-03-19 16:09:25 +00:00
James Crook
ea0e0d71af Add scripts for names-on-tracks images. 2018-03-04 22:07:45 +00:00
James Crook
ca2dc254b1 Added a regression test and an image mangling python script
- Added docimages_regression_tests.py
-- It's a test for Bug1844, concerning envelope points.
- Added decorate_images.py
-- It's a script to crop and drop shadow.
2018-02-27 22:26:30 +00:00
James Crook
fa49d94530 Script work
Add Envelope script
Add Clips and Boundaries Scripts.
Add docimages_oddments.py for the weirder cases.
Add make html script.
Add more spectral images
Add Dark versions of spectrograms (paul's comment)
Clean up oddments script.

- This commit also adds an option NOT to bring Audacity to the top when screenshotting.
-- That's because QuickPlay will disappear if you do -because you lose mouse capture.
- Also allow negative window IDs in the drag command.

- Registration names of align commands sorted.  They had &, : and / in them.
- Fixed bug in SetTrackInfo where bFocused was being ignored
- Fixed bug where command manager ignored multi-commands.
- Commit docimages_oddments.py again, to fix line endings.
2018-02-24 14:20:29 -05:00
James Crook
e9e9ee2998 Can choose by Channel or by Track in Set commands. 2018-02-24 14:20:28 -05:00
James Crook
8ab9345268 Work on Scripts.
Add script for spectrograms.
Add Script for 'after' with effects examples.
Add space and dc bias to afters script.
Add docimages_all.py script to call all scripts.
Shared part of scripts extracted into docimages_core.py
2018-02-24 14:20:28 -05:00
James Crook
5d36890cb0 Shorter command names. General tidying.
-More commands now have shorter names for parameters.
-New scripts for generating images.
-Several old-style commands retired.
2018-02-24 14:20:26 -05:00
James Crook
62ca1cce26 Improved labels script. 2018-02-24 14:20:26 -05:00
James Crook
29c96f5470 Add ability to set the selected label. 2018-02-24 14:20:26 -05:00
James Crook
26e1a33369 More screenshot options. 2018-02-24 14:20:26 -05:00
James Crook
5e2371c636 Use a-lists for Lispy output.
- Also bump long strings onto a new line in JSON and LISP formats.
2018-02-24 14:20:26 -05:00
James Crook
510f68e9ad Fix \n shenanigans in command output. 2018-02-24 14:20:26 -05:00
James Crook
65c160212e Script the images for Tracks page of manual.
- There's a problem with stem plot preference.  It isn't reloading properly from batch but is from menu.
2018-02-24 14:20:26 -05:00
James Crook
24e8bbc623 Scripts in Piped-Work
- New docimages script for the tracks.
- Added new option in screenshots to capture ruler as well as track.
- Typo fix (focussed)
2018-02-24 14:20:26 -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
Steve Daulton
76954f4bcd Update default tests in pipe-test.pl for 2.2.2 2018-01-21 23:24:37 +00:00
James Crook
8434c3903a Start of automated recording tests. 2018-01-18 20:42:40 +00:00
James Crook
74d8160db5 Sidebar links now to use https.
Also included WIT in the links.
2018-01-17 11:50:48 +00:00
James Crook
f9f3da384c Update Perl pipe-test.pl script. 2018-01-14 15:26:42 +00:00
James Crook
ce697d052a mod-script-pipe python scripts working on linux too.
- Pipe names are different on Linux.
- End of line is different on linux.
- The pipe must be opened with 'w+' not just 'w'.
2018-01-13 13:54:44 +00: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
b6138b1968 Move pipe scripts into a subdirectory. 2017-12-20 19:57:03 +00:00
James Crook
a084c3dbbf pipetest.py to test mod-script-pipe's pipe.
First version in python (we used to use perl).
2017-12-20 16:39:51 +00:00
James Crook
217a2540d4 Convenience .bat file for working with manual.
Also exclude the hep/temp files from git.
2017-12-20 16:39:51 +00:00
Paul Licameli
fb8ab91326 Do not include .gitattributes in tarball 2017-11-25 11:09:38 -05:00
James Crook
4eaef13f0b Fix small sub sub headings in local copy of manual. 2017-11-21 19:38:40 +00:00
Paul Licameli
3f00979fc2 maketarball script includes portmidi, minus unused sub-dirs 2017-10-25 14:59:48 -04:00
James Crook
069da03e9e Fixes to local-manual script Part 4.
This change makes the deployment of css related files work on both windows and mac.
2017-08-24 12:13:05 +01:00
James Crook
78567cbba9 Fixes to local-manual script Part 3.
Added media wiki background, fixed footer, handled mute/unmute special case (it creates a subdirectory), removed "Navigation menu", deployed files from script directory.
2017-08-23 15:10:24 +01:00