1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 09:01:15 +02:00
Commit Graph

474 Commits

Author SHA1 Message Date
Paul Licameli
ae351abbc2 Fix warnings about override and final 2018-03-09 01:53:19 -05:00
Paul Licameli
4bfd8abc2b Fix more missed translations 2018-03-08 22:53:00 -05:00
Paul Licameli
77f720b0c8 Show friendly names of commands in message boxes...
... With spaces in the English; maybe later they will localize
2018-03-07 23:55:19 -05:00
Paul Licameli
bf4c8eff63 Fix another neglected i18n 2018-03-07 17:37:59 -05:00
Paul Licameli
bc773e02d3 Supply some missing translation in Macros dialogs...
... The "Set" prompt for checkboxes;

Strings in Choice controls, which had been declared translatable with XO, but
the translations not yet used.

This can be tested in Ukrainian locale now, for editing parameters of
commands like Select or Drag, but be aware that even uk.po is not up to date
for all recent changes in the Manage Macros dialog itself.
2018-03-07 15:06:55 -05:00
Paul Licameli
ffadd64a56 Define MacroCommandsCatalog to associate friendly and internal names...
... friendly names are still English only.  Not yet localized, but ought to be.
2018-03-06 18:47:56 -05:00
James Crook
a5d06ff257 Fix comments needed for Doxygen. 2018-03-06 21:42:58 +00:00
andheh
87eaaa6f45 fixing strict-aliasing rule violations by passing enum types as int references 2018-03-06 21:30:39 +00:00
andheh
ed83ec73b3 fixed "unused variable" warnings 2018-03-06 21:30:36 +00:00
andheh
0a362e241c fixed "class is implicitly friended with itself" warning 2018-03-06 21:30:34 +00:00
andheh
e6ba33c247 fixed "/*" in comment warnings 2018-03-06 21:30:33 +00:00
andheh
d72028de26 fixed more "statement has no effect" warnings 2018-03-06 21:29:58 +00:00
andheh
ade7854c1d fixed "statement has no effect" warnings 2018-03-06 21:29:31 +00:00
James Crook
c0dcba66dd Rename Chains to Macros.
Lots of renaming.
Did not rename the containing files (yet) since that will require makefile updates.
2018-03-03 19:17:18 +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
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
66c421f28d Fix Windows build 2018-02-26 08:48:00 -05: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
James Crook
12a2fbf489 Build on Linux
Updated project file for mac for both release and debug.
Updated makefile.am and makefile.in
Removed include .cpp hack that avoided need for makefile changes.
2018-02-24 14:20:30 -05:00
James Crook
0ad533a740 Automation -> Scripting. 2018-02-24 14:20:30 -05: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
4724c6a131 Fix spectral preferences extra caching issue. 2018-02-24 14:20:29 -05:00
James Crook
6a5a61d39a Fix reload bug. 2018-02-24 14:20:29 -05:00
James Crook
e3ef968d57 Add DragCommand. Default Y/N on optional fields. Open/Save project items.
- More Y/N in Optional, making it easier to omit parameters.
- AT removed from Envelope, since T already gives it.
2018-02-24 14:20:29 -05:00
James Crook
859fe69a15 Case insensitive command names. 2018-02-24 14:20:28 -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
89cd4aef88 More Screenshot options 2018-02-24 14:20:28 -05:00
James Crook
79145d3e89 Remove "list" from LISP label format.
- Not needed if we can add a back tick at the start.
2018-02-24 14:20:28 -05:00
James Crook
b4f7f485a8 Less verbose LISPy output of GetInfo: Type=Labels 2018-02-24 14:20:27 -05:00
James Crook
a2eb8cdae3 Support Spectral Selection and Spectrogram mode in Automation. 2018-02-24 14:20:27 -05:00
James Crook
3c5468a1c8 Add buttons. Help and Cancel. 2018-02-24 14:20:27 -05:00
James Crook
f7fe295651 Make Message command into an AudacityCommand. 2018-02-24 14:20:27 -05:00
James Crook
edf90d6e2c Add envelope commands
- Added SetEnvelope (which can also delete/clear an envelope.)
- Added GetInfo: Type=Envelope
2018-02-24 14:20:27 -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
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
1f605ccfc8 Fix ScreenshotCommand
- Show Status immediately (Flush), don't wait for window to be closed.
- Correct strings with _ in them.
- Remove unhelpful 'Received Script Command' message.
2018-02-24 14:20:25 -05:00
James Crook
85c36fe7fe Implement selection from ends of tracks. 2018-02-24 14:20:25 -05:00
James Crook
99e18a8896 Implement ReloadPreferences for SetPreferences Command. 2018-02-24 14:20:25 -05:00
James Crook
1551a5a073 Include tips in command list. 2018-02-24 14:20:25 -05:00
James Crook
5c2f35d96f Fix Automation listing
- Now correctly shows optional fields
- Now includes the zero-parameter commands.
- Fetches the Short-Names for menu commands.
2018-02-24 14:20:25 -05:00
James Crook
78fbb6e21f Fix GetInfo: Commands (Automated type matching matched 'the wrong thing'). 2018-02-24 14:20:25 -05:00