Leland Lucius
379348898d
Bug 2324 - Windows: Screenshot tool success/completion dialog is unnecessarily over-large
2021-02-14 12:29:13 -06:00
Leland Lucius
a6d0b3f902
Bug 2360 - Scripting: "Message:" command may crash when using Nyquist with Python
2020-04-16 22:14:45 -05:00
James Crook
f3acd4ca00
Preallocate string for aud-do
...
Helps marginally with speed of commands which generate long strings in many small steps.
2020-02-06 09:40:30 +00:00
James Crook
0e7797935f
Avoid \n immediately after '(' in LISPY output formats
2020-02-03 21:59:40 +00:00
Paul Licameli
dc39f22442
AudacityMessageBox takes TranslatableString message and caption
2019-12-20 21:32:50 -05:00
Paul Licameli
53ee9c9800
TranslatableString for titles, names, labels of wxDialogWrappers...
...
... Found one missed translation in CommandTargets.cpp
2019-12-16 10:58:05 -05:00
Paul Licameli
f2f6ff3a1b
Break cycle of ScriptCommandRelay and CommandBuilder
2019-07-09 13:23:07 -04:00
Steve Daulton
7485d88bcd
Fix bug 2136 updated
...
As described by David Bailes, it should be std::locale nolocale("C");
2019-06-24 20:34:54 +01:00
Steve Daulton
13ca42638d
Fix for bug 2136
...
Don't translate doubles in Scripting messages. For valid JSON we need to
retain the dot as decimal separator.
2019-06-20 23:19:23 +01:00
Paul Licameli
f86403378b
Move AudacityMessageBox to its own files...
...
... breaking cycles among low-level files introduced by 273ba9f
2019-05-20 14:48:36 -04:00
Paul Licameli
1c0453106d
CommandTargets.cpp has fewer dependencies...
...
... freeing two files from dependency cycles
2019-05-18 20:31:17 -04:00
Paul Licameli
44d664c7bb
Remove ErrorDialog.h from .h files (one function moves out of line)
2019-03-31 15:39:55 -04:00
Paul Licameli
ce4ba9762b
Move more functions out-of-line
2019-03-23 11:41:01 -04:00
Paul Licameli
173a300427
Include nothing before Audacity.h, as comments say we should...
...
... and remove some duplicated inclusions
2019-03-17 21:41:39 -04:00
Paul Licameli
06b3b42794
Remove unnecessary initializers for empty wxString
2019-03-15 15:18:11 -04:00
Paul Licameli
2db49dc1f0
Use standard library style members of wxArrayString (and wxString) ...
...
... which will make it easier to change the types of those containers to
std::vectors of other string-like classes
for wxString,
IsEmpty => empty
Clear => clear
Alloc => reserve
for wxArrayString,
Count => size
GetCount => size
IsEmpty => empty
Add => push_back
Clear => clear
Empty => clear
Sort => std::sort (only with default comparator)
SetCount => resize
Last => back
Item => operator []
Alloc => reserve
2019-03-10 14:43:57 -04:00
Paul Licameli
caab0a5a4d
std::vector<int> replaces wxArrayInt, again
...
see also 8be1e8fdad
2019-03-09 12:02:13 -05:00
James Crook
460ff4644e
JSONify the JSON (Thanks Robert)
...
Added quotes around the keys in JSON key value pairs.
Before this fix, we had Javascript, not JSON.
2018-03-26 09:56:51 +01:00
Paul Licameli
9d531cad56
Translate dialog title
2018-03-14 17:18:24 -04: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
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
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
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
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
1551a5a073
Include tips in command list.
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
James Crook
8ebf502cd6
Cleaner class hierarchy
2018-02-24 14:20:24 -05:00
James Crook
b1b1a362ed
Doxygen, Clips and Labels
...
- Classes renamed and better doxygenated
- GetInfo: Type=Clips added
- GetInfo: Type=Labels added.
2018-02-24 14:20:24 -05:00
James Crook
ca5dac59ff
Support: JSON, Lispy or Other formats
2018-02-24 14:20:23 -05:00
James Crook
c0c5cc6337
Structured output for CommandContext
2018-02-24 14:20:23 -05:00
James Crook
2f6fc0a1e5
Long message target
...
This allows interactive display of the results of new commands that generate
lots of text.
2018-02-24 14:20:23 -05:00