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

8294 Commits

Author SHA1 Message Date
andheh
1bc7943560 fixed "unknown pragma" warnings for GCC 2018-03-06 21:29:51 +00:00
andheh
9bfbc907a9 fixed indentation warnings in src/Menus.cpp 2018-03-06 21:29:50 +00:00
andheh
dd41df237c fixed an unused variable warning in src/LabelTrack.cpp 2018-03-06 21:29:50 +00:00
andheh
ade7854c1d fixed "statement has no effect" warnings 2018-03-06 21:29:31 +00:00
andheh
3dd0ce0459 fixed a signed vs. unsigned warning in src/AudioIO.cpp 2018-03-06 20:54:06 +00:00
andheh
1efe69e8b9 fixed a initialization order warning in src/AudioIO.cpp 2018-03-06 20:54:06 +00:00
Paul Licameli
08a8cc4bcf Strings in Nyquist plug-ins not translated too early...
... So that if you change language in-session, they will update.
2018-03-06 01:21:50 -05:00
Paul Licameli
f6efacbda3 Untranslated from GetVendor; translated in effect info menu only 2018-03-06 01:14:54 -05:00
James Crook
4617b0b1a8 Change wording: Now "Manage Plug-ins" and "Manage Macros" for those two dialogs. 2018-03-05 20:10:01 +00:00
Paul Licameli
8b68864ddb Fix another compilation warning 2018-03-05 14:22:23 -05:00
James Crook
4c5e1f30fd Keep focus on Expand/Shrink button when resizing Macro Dialog. 2018-03-05 15:13:42 +00:00
James Crook
6b44a53de9 Move Macro Dialog buttons around.
Based on feedback from quality list.
2018-03-05 15:00:11 +00:00
Paul Licameli
6cd877efed Fix complier warnings about returning reference to a temporary 2018-03-05 05:16:33 -05:00
Paul Licameli
c699bbda78 Merge branch 'master' of https://github.com/audacity/audacity 2018-03-05 05:04:13 -05:00
James Crook
ea0e0d71af Add scripts for names-on-tracks images. 2018-03-04 22:07:45 +00:00
Paul Licameli
8b9313aba8 Updated uk.po -- Ukrainian taken from Transifex (99%) 2018-03-04 14:56:57 -05:00
Paul Licameli
4ddb14235b Update old uk.po with msgmerge, so less diff in the next commit 2018-03-04 14:53:35 -05:00
James Crook
24ee14412f Merge branch 'macros' into master
- Macros Dialog expand/shrink now optically stable.
- Fade Ends macro now works (The ':' is in the right place)
- Macros can call other macros, but only one deep, now.
- MacroIDs are textual names now, not Macro007
- Macros Dialog expand/shrink saves the changes so they are not lost by resizing.
2018-03-04 19:42:53 +00:00
James Crook
834c9df32a Save Changes when Expanding/Shrinking Macro Dialog.
Previously the selected macro was forgotten, as were any pending
changes.
2018-03-04 19:16:30 +00:00
James Crook
70b1f69bbe Use names not numbers in MacroIdOfName()
Previously the ID for a macro was, e.g. Macro003.  However this would
not work if macros were added or deleted, since chains containing the old
macro references would now refer to a different macro.  So changed to using
names.
2018-03-04 19:11:26 +00:00
James Crook
585a4c6170 Prevent excessive macro reentry.
User could have made a macro call itself.
Or could have an 'exploding' macro chain with 'too much' in it.
So limit it to a macro can call a macro, but not deeper.
2018-03-04 18:41:17 +00:00
James Crook
153da3a94d Fix Fade-Ends MacroCommands
- Split parameters from command name.
- Improve test for 'fixed Macros'.
2018-03-04 18:41:16 +00:00
James Crook
4dfac323c0 Make Macro Dialog optically stable.
Expand and Shrink now happen 'in place'.
Title changes to and from 'Apply Macro' <-> 'Edit Macros'
2018-03-04 18:41:16 +00:00
James Crook
159a3ab6af Rejig EditLabels Dialog.
- Made it more like the Edit Chains Dialog. (Buttons on right).
- Now using ShuttleGui somewhat.
- Gave it a Help button.
2018-03-04 18:41:15 +00:00
Steve Daulton
5c4b2249fd bug 1851 Remove selection before Timer Record 2018-03-04 14:48:24 +00:00
Steve Daulton
f1ab2db9bb bug 1850 - add Track > Pan to History 2018-03-04 14:48:24 +00:00
James Crook
e45a6b09d4 Change wordings and consolidate prefs.
- Bring more options together into one static in prefs
- Use verb followed by description for options.
- Capitalise D in 'Down' in a menu item.
2018-03-04 09:39:42 +00:00
James Crook
eab0af21ee Merge branch 'tools-menu'
- New Tools menu, with macros and some nyquist in it
- Also has Macros... dialog, which can both edit and apply macros.
- 'Macros' feature was previously called 'Chains', so a lot of renaming.
2018-03-03 22:24:08 +00:00
James Crook
6f8d27208f Remove Apply-Macro from Tools menu.
Done by giving Macros... dialog an Expand / Shrink button
so that we can use it as just an apply-to-projects dialog, if we want.
The dialog is modal, and can be kept open whilst we work.  So for example
we could put useful presets into it as macros.
2018-03-03 22:20:25 +00:00
James Crook
fbef142fa5 Move 3 Nyquist plug-ins into Tools menu 2018-03-03 20:37:11 +00:00
James Crook
6e40d6d969 Add Fade-Ends macro. (a new item in Tools menu) 2018-03-03 20:36:13 +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
8ab69ae5c3 Update tools menu on Mac too.
This entailed making the Edit Chains and Apply Chain dialogs modeless.
That is good for other reasons too.
2018-03-03 19:16:50 +00:00
James Crook
f41e781c61 Fix bug where 'Applying chain to project' progress dialog might not show.
- Windows needs to wxYield, to give the dialog time to show after being created.
2018-03-03 12:57:39 +00:00
James Crook
6b54ffdf0f Update tools menu on changing available chains.
- We recreate the whole menu bar.
2018-03-03 12:57:36 +00:00
James Crook
e6a2d0f99a Add all chains into the Tools menu. 2018-03-03 12:57:35 +00:00
James Crook
8cd5d7f4fe Tools menu and EffectTypeTool
- Also add a 'Nyquist Prompt' to the Tools Menu.
- Currently it is the same as the Effects Nyquist Prompt.
- Chains moved into the Tools prompt.
2018-03-03 12:57:32 +00:00
James Crook
fb8b797d63 Layout changes
- Progress bar now less likely to obscure a small window that invokes it.
- Check boxes grouped together in TrackPrefs
2018-03-03 12:53:41 +00:00
James Crook
6b3041118f Add Help buttons to three Dialogs.
- Added to Edit and Apply Chains dialogs.
- Added to Select Command dialog.
2018-03-03 10:15:09 +00:00
Paul Licameli
6914c21413 Fix parentheses in a Lisp comment 2018-03-02 20:12:26 -05:00
Paul Licameli
24a350920c Internationalization of strings in .ny files, both headers and bodies 2018-03-02 20:11:56 -05:00
Paul Licameli
4dfa9aae8f Combine message catalogs into one...
... Done by hand thus:
msgcat audacity.pot ../nyq-po/audacity.pot > tmp; mv tmp audacity.pot
2018-03-02 20:11:56 -05:00
Paul Licameli
38a6ba5209 Generate nyq_po/audacity.pot 2018-03-02 20:11:55 -05:00
Paul Licameli
36ab6c7334 Rewrites of all the .ny files for internationalization 2018-03-02 20:11:55 -05:00
Paul Licameli
ac9148e48f Don't use \n sequence inside Lisp strings needing translation...
... Because xgettext will just remove the \, not replace \n with newline.

That's consistent with Lisp reader behavior in this documentation:
http://www.lispworks.com/documentation/lw70/CLHS/Body/02_de.htm

The XLisp reader, which replaces \n with newline, is nonstandard.

So, to accommodate xgettext, use (format nil "...~%...") instead, or where
you can't do that in a $ header line, just make a line break inside the ""

There are a few "\n" left alone in sample-data-export.ny which are neither
in $ lines nor inside (_ "...")
2018-03-02 20:11:55 -05:00
Paul Licameli
da39cc451f Remove redundant ellipses from names in .ny files...
... The code that parses the header was always just throwing them out.

The code that populates menus deduces whether to add ellipses, as there are
controls or not, regardless what the $name line said.
2018-03-02 20:11:54 -05:00
Paul Licameli
0beb16210f Usage of _ in Nyquist program bodies 2018-03-02 20:11:54 -05:00
Paul Licameli
da9471ac7f Internationalize some of sample-data-export.ny, including HTML...
... The rule that one should avoid markup in translatable strings conflicted
with the more important rule against concatenating too many strings that are
too short.
2018-03-02 20:11:53 -05:00
Paul Licameli
4733899dd7 Rewrite default values of string controls 2018-03-02 20:11:53 -05:00
Paul Licameli
447d15bc75 Rewrite trailing labels of controls 2018-03-02 20:11:53 -05:00