1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00

8242 Commits

Author SHA1 Message Date
Paul Licameli
cc455fac16 Rewrite ;copyright 2018-03-02 20:11:51 -05:00
Paul Licameli
6298ac947a Rewrite ;author 2018-03-02 20:11:51 -05:00
Paul Licameli
5e390f331a Rewrite ;info 2018-03-02 20:11:51 -05:00
Paul Licameli
72df4e833c Rewrite ;action 2018-03-02 20:11:50 -05:00
Paul Licameli
a13827e024 Rewrite ;name 2018-03-02 20:11:50 -05:00
Paul Licameli
ff3a869e83 Line breaks allowed in strings (or lists) in $ lines; \n means n ...
... because we must match how xgettext parses strings, and unlike XLisp, it
does it strictly according to this reference:

http://www.lispworks.com/documentation/lw70/CLHS/Body/02_de.htm
2018-03-02 20:11:47 -05:00
Paul Licameli
ad4843621b Allow Nyquist header lines to start with $ 2018-03-02 19:46:58 -05:00
Paul Licameli
ba8e6bd465 Change tokenization of header comment lines & translate strings ...
... allowing (_ "...") for single strings, and allowing a sequence of such
inside outer ( ) for choice controls, but still accepting the old syntax too
2018-03-02 19:46:58 -05:00
Paul Licameli
0879949904 Register translation functions for Nyquist effects into XLisp runtime 2018-03-02 19:46:57 -05:00
Paul Licameli
6ea647cc1d Set up for extracting i18n strings from .ny files with xgettext 2018-03-02 19:46:57 -05:00
Paul Licameli
d3493814e2 Fix Mac build 2018-03-02 19:46:35 -05:00
James Crook
3e8dec452c Give track name overlay a background.
- Also changed over from using the yellow color.
2018-03-02 19:27:42 +00:00
James Crook
3f358a39b6 Remove results window from BatchProcessDialog
- It isn't needed as the results go to the Long Message Dialog window.
2018-03-02 18:19:23 +00:00
James Crook
6509947de8 Fix some MSVC warnings. 2018-03-02 12:04:37 +00:00
Paul Licameli
29b214367d Make std::tuple known in Mac build 2018-03-01 22:21:55 -05:00
Paul Licameli
4e0420b9bd In all .ny, http: > https: for Audacity websites 2018-03-01 21:48:41 -05: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
8a216e86c2 Update audacity.pot for C++ string changes so far 2018-03-01 21:41:53 -05:00
Paul Licameli
223e0d5883 Update audacity.pot for C++ strings so far in 2.3.0 2018-03-01 21:41:16 -05:00
Paul Licameli
332d62823d Update POTFILES.in for new and removed files
find src include lib-src/FileDialog lib-src/mod-script-pipe lib-src/mod-null lib-src/mod-nyq-bench lib-src/lib-widget-extra -name '*.cpp' -o -name '*.h' -o -name '*.mm' | sort
2018-03-01 21:41:16 -05:00
Paul Licameli
42eadfc6f7 sort POTFILES.in, so less diff to see in the next commit 2018-03-01 21:41:16 -05:00
Paul Licameli
d226aaa8ee Add a space 2018-03-01 21:41:15 -05:00
James Crook
59d41a2064 Refine buttons (Chains)
- Move them around on EditChainsDialog so that dialog can be shrunk.  (new column).
- Use "Files..." not "Files" as the button text.
- Take 'Apply Chain to:' out of the BatchProcessingDialog buttons, and place as separate text.
2018-03-01 21:57:44 +00:00
James Crook
68e8a75686 Merge branch 'chains' into master
Some work on chains to make the dialogs easier to use.
- Reduced duplications and unnecessary text in the select command dialog.
- Select Command Dialog gains a new 'Details' text box.
- Resized dialog so that more commands are visible.
- Now can apply commands direct from the edit chains dialog.
- Editing commands goes direct to editing their parameters.
- Fixed minor UI issue where button did nothing if nothing selected.
2018-03-01 20:03:46 +00:00
James Crook
ef63f716e3 Remove duplicate commands from 'Select Commands' dialog.
- Removed special commands that now have menu equivalents.
- Removed duplicated commands in the list, e.g. from multiple instances of Nyquist effects.
2018-03-01 19:57:02 +00:00
James Crook
bf03fd874b Add details box to BatchCommandDialog
It is now populated with the CommandID and the command type.
Later we can add the command help string.

Std::pair changed to std::tuple to accommodate the extra information.
2018-03-01 19:55:34 +00:00
James Crook
f5929381ec Add buttons to Edit Chains Dialog
- Added the Apply-to-Project and Apply-To-Files buttons
- Derived EditChainsDialog from BatchProcessDialog so as to share code.
- Added Edit button, for people who don't realise they can click on the list.
- Clicking on list now directly invokes the parameter editing.
- Insert and Edit now insert before --END-- if nothing was selected.
2018-03-01 19:55:33 +00:00
James Crook
f01fed2ba2 Remove unwanted items from 'Select Command' in chains.
- Remove menu-version of effects.  They are already there because of EffectsManager.
-- This gets rid of all the entries with long paths in them.
- Mark more menu items as prompting, using '...', and so not suitable for chains.
2018-03-01 19:55:33 +00:00
Steve Daulton
1ef4d73629 bug 1839 - Consistent recording behavior
Same behavior whether there is playback or not.
2018-02-28 21:20:06 +00:00
David Bailes
1412f21f66 Make the name of a control in the selection bar less verbose
Make the name less verbose for the benefit of the users of screen readers.
2018-02-28 16:18:40 +00:00
Paul Licameli
4474dec9c2 Fix more hassle from the MSVC STL implementation. 2018-02-28 05:14:21 -05:00
James Crook
1fb333e9cc Merge branch 'scripting'
This is mainly to add GetInfo: Type=Preferences. done by iterating through the preferences dialog.
Scripting is now mainstream, so removed the two hardly-used #ifdef Experimentals about AUTOMATION.
This also extends the default for the screenshot dialog, which also gains ability to capture the Scriptables dialogs.
2018-02-27 22:48:26 +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
104c3b6a5a Add scriptables to screenshot, remove menus.
- Also made automation and the extra screenshot buttons non-experimental.
2018-02-27 22:26:30 +00:00
James Crook
e1c30db38c Fix Open and Save project. 2018-02-27 22:26:29 +00:00
James Crook
ea4968e094 Add GetInfo Preferences. 2018-02-27 22:26:28 +00:00
James Crook
11fa48d66f Fix some warnings. 2018-02-27 22:26:23 +00:00
Paul Licameli
f10b9c68ec wxString in Nyquist prompt makes trip to UTF8 and back properly...
... Simple test:  In Nyquist prompt enter

(progn "Ü")

Using Alt+U, U.

Formerly it came back mis-encoded.
2018-02-27 01:35:01 -05:00
Paul Licameli
6d687136aa Bug1845: Remove the vacuous undo check, wasn't good enough anyway 2018-02-26 09:49:01 -05:00
James Crook
e8da2f82a5 Wording.
- Changes, mostly to capitalization, per https://wiki.audacityteam.org/wiki/Wording
- Removed some dead comments.
- Added a very few i18n-hints
- Per consensus, removed ':' in some strings read by screen readers.
2018-02-26 14:39:30 +00:00
James Crook
8991fe7521 Fix incorrect https and translation markings.
- DarkAudacity website does not support https, so don't specify https in strings.
- Don't translate text about DarkAudacity.
2018-02-26 14:09:07 +00:00
Paul Licameli
66c421f28d Fix Windows build 2018-02-26 08:48:00 -05:00
Steve Daulton
cf9ab70406 bug 1741 Update target of audio import help button 2018-02-26 13:09:38 +00:00
Paul Licameli
e5052a1973 Use a type distinction for key strings in normalized form...
... Such are not for display to the user.  They are appended to menu item
names to identify accelerators, and wxWidgets transforms them appropriately
for the operating system.
2018-02-25 14:56:17 -05:00
Steve Daulton
19014f22b7 Prompt for track selection when required 2018-02-25 15:22:45 +00:00
Paul Licameli
298e440e1b Fix compilation of EXPERIMENTAL_EFFECTS_RACK again 2018-02-24 17:07:22 -05:00
Paul Licameli
a52f7f5313 Fix build of Nyquist workbench 2018-02-24 16:57:06 -05:00
Paul Licameli
05de90d4a7 James' automation project, minus the new foreign function in XLisp 2018-02-24 14:27:25 -05:00
James Crook
33daaafc59 Make Nyquist effects define their parameters. 2018-02-24 14:20:30 -05:00