Paul Licameli
e0970ad1e8
Remove unnecesary Format, Printf, casts to wxString
2018-01-01 21:53:51 -05:00
Paul Licameli
7fd78183d2
Remove needless uses of wxString::c_str() in wxString::Format...
...
... and similar wx "variadics," which all treat wxString smartly enough that
you don't need this.
Don't need c_str either to convert wxString to const wxChar * because
wxString has a conversion operator that does the same.
2018-01-01 20:34:33 -05:00
Paul Licameli
0efbf6a190
Localized default names and titles for many utility dialogs...
...
... Certain wrappers are put around direct usage of classes like
wxMessageDialog which did NOT localize by default.
Also consistently mention (translated) names of effects in titles of message
boxes that they display.
2018-01-01 17:53:13 -05:00
Paul Licameli
384300016d
Define FileDialogWrapper, with localized default prompt and name
2018-01-01 17:50:04 -05:00
Paul Licameli
cf4b9eb5c8
Define wxDirDialogWrapper, with localized default prompt and name
2018-01-01 17:50:04 -05:00
Paul Licameli
729fd3767c
wxDialogWrapper and wxPanelWrapper have localized default window name
2018-01-01 17:50:03 -05:00
Paul Licameli
e8b875ff81
Define AudacityMessageDialog wrapper around wxMessageDialog...
...
... Prohibiting use of the default caption which is unlocalized. (But we
didn't use it in fact anywhere.)
2018-01-01 17:50:03 -05:00
Paul Licameli
af290d73c0
Define AudacityTextEntryDialog wrapper around wxTextEntryDialog...
...
... Prohibiting use of the default caption which is unlocalized. (But we
didn't use it in fact anywhere.)
2018-01-01 17:50:03 -05:00
Paul Licameli
ccb4bbac33
Translate "Message" as default title of message box...
...
... This required a sweeping change of all calls to wxMessageBox! But it seems
safe to me, despite the great number of touched files.
2018-01-01 17:50:02 -05:00
Paul Licameli
378c96fda1
Consistently use translated effect name in titles of message boxes...
...
... For built-in and Nyquist effects.
2018-01-01 17:50:01 -05:00
James Crook
d7574b799b
NoteTrack: Fix VZooming indicators.
...
Previously the changed cursor and VZooming lines showed whether or not VZooming by drag was enabled.
2018-01-01 16:24:12 +00:00
James Crook
916db76052
Bug 1813 - Vertical Zooming Beartrap
...
Fixed by making 'More vertical zooming' an opt in (rather than opt out) option.
Also changed 'More' to 'Advanced' at the same time.
2018-01-01 16:17:37 +00:00
James Crook
26a18679f2
Comment out iterator transform code
...
It was causing a problem on MSVC2013.
2018-01-01 16:15:40 +00:00
Paul Licameli
3c9cdac778
Drag-and-drop checks file extensions first for plug-in candidates...
...
... Avoids big delays in drag-and-drop importation caused by
765ca0c8136134a1d65bfad0ea39682a83d3d984
2018-01-01 10:29:26 -05:00
Paul Licameli
2cdf931e5a
More IteratorRange utility functions and member functions
2018-01-01 09:59:35 -05:00
Paul Licameli
7ec5fd79df
Interface preferences displays self-names of languages
2017-12-31 21:58:36 -05:00
Paul Licameli
2e8a73bab1
Fix Windows build
2017-12-31 20:04:35 -05:00
Paul Licameli
765ca0c813
Easy drag-and-drop installation of Nyquist and LADSPA effects
2017-12-31 18:24:48 -05:00
Paul Licameli
2c2db0fe09
Implement drag-and-drop of Nyquist, LADSPA, VST plug-ins...
...
... I'm not sure how to make it work for AudioUnits, LV2, or Vamp, for which
the API for identifying a plug-in doesn't map straightforwardly to a file name.
2017-12-31 18:09:41 -05:00
Paul Licameli
8cfb8d2400
Change ModuleInterface for support of drag-and-drop of plug-in files
2017-12-31 18:09:36 -05:00
Paul Licameli
6463e12576
Move MyCopyFile into class FileNames
2017-12-31 16:18:55 -05:00
Paul Licameli
0c97918bb9
Ladspa, VST: As before eb3bc7e: keep registering even if some errors
2017-12-31 16:18:53 -05:00
Paul Licameli
86b9c5c5fe
Can use std::function on Mac too
2017-12-31 16:18:51 -05:00
James Crook
80d7f2426f
NoteTrack VZooming.
2017-12-31 18:04:47 +00:00
James Crook
94b1175684
mod-script-pipe: Recreate MS project and .sln files.
...
This was to work around a bug in MSVC that reports a
bogus warning MSB8012, caused by using an upgraded project.
I also in the process fixed the release build, which was building as debug earlier.
2017-12-31 15:44:47 +00:00
Paul Licameli
e06a6fd797
Fix blank filenames in .aup saved then saved-as twice to same path...
...
Bug was introduced at commit c1d1bee6b1914faba750dd4c488e99ced32edad4
2017-12-30 18:00:18 -05:00
Paul Licameli
0c8890cda1
Bug 1793: Applying chain to files should zoom-to-fit
2017-12-30 14:15:17 -05:00
James Crook
37ec3b52c7
mod-script-pipe: Use release libs in release build.
2017-12-30 08:20:27 +00:00
James Crook
647f9ce0bb
Merge pull request #225 from Pointedstick/unify-appstream-id
...
Standardize on an rDNS-style AppStream ID
2017-12-29 23:14:49 +00:00
Nathaniel Graham
f736703417
Standardize on an rDNS-style AppStream ID
2017-12-29 14:25:57 -07:00
James Crook
52e9763337
Fix multiple bugs in IsGoodInt and IsGoodInt64
...
Alerted to this buggy code by Darrell Walisser's comment:
"Whoops, the range on the 64-bit signed integer check is incorrect."
After these fixes, I saw that IsGoodInt was being used to test a dotted
version number, so I commented out that (bogus) test which was previously
always succeeding.
The IsGood{num} functions did no range checking if the numbers were shorter
than the max value. Then, if the number was similar in length, the first digit could
be an invalid character and the code also previously accepted all 9's followed by 1.
My new code would benefit from code review and unit tests.
2017-12-29 20:15:29 +00:00
Paul Licameli
bdd1358f9b
Error messages for failing to load Nyquist effects
2017-12-27 15:46:06 -05:00
Paul Licameli
eb3bc7e642
Minimal error messages for failing to load non-Nyquist effects
2017-12-27 15:19:43 -05:00
Paul Licameli
0f8bd45a7c
ModuleInterface::RegisterPlugin can report an error message
2017-12-27 15:19:36 -05:00
Paul Licameli
f3a05540b0
Shrink the zone for vertical ruler zooming for NoteTrack too
2017-12-23 22:50:06 -05:00
James Crook
db45280695
Add names to some windows.
...
This is mainly for automation, so that when exploring the windows we have a name for
each.
2017-12-22 14:03:32 +00:00
James Crook
42573d36f8
Make 'Message' default be 'Connected'.
2017-12-21 17:33:23 +00:00
Paul Licameli
095ee9185f
Reimplement the narrowed hot zone for vertical ruler...
...
... Don't define the TrackPanelCell to be narrower. Instead, change its
hit-test routine, and only if it is a Wave track.
Previous implementation had the unintended consequence, that a click in the
area excluded from vertical zooming was treated as a click on the background
outside of all tracks, causing de-selection of all tracks.
2017-12-20 23:20:05 -05:00
James Crook
a7960864dd
Fix scripting bug where missing parameters gave syntax error
...
In these cases the default parameters should have been used instead.
Also the Help command now gives Help on Help by default.
2017-12-20 19:58:05 +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
0c2f6bb176
Fix end of range of TrackPanelCellIterator
2017-12-20 11:21:29 -05:00
James Crook
63de7f0884
Bug 305 - Analysis effects produce false indication that a label is open for editing
...
This was true of any Nyquist or VAMP effect that created labels.
2017-12-17 21:18:07 +00:00
James Crook
d9bab5347a
String changes: Exporting 'the audio' rather than 'the entire project'.
2017-12-17 17:34:28 +00:00
James Crook
4da9e41e03
Bug 1799 - Un-muting with a single track unnecessarily activates the Solo button
2017-12-17 16:49:35 +00:00
James Crook
1e07ef9727
Workaround Travis update.
...
Travis .yml updated to keep using old version, per:
https://blog.travis-ci.com/2017-12-12-new-trusty-images-q4-launch
2017-12-17 16:17:09 +00:00
James Crook
2108515938
Bug 63 - Analysis effects that create labels should give focus to label Track
...
If a generator, effect or analyser has created a new track, scroll to the bottom of the track list.
Acheived using new function, VerticalScroll()
2017-12-17 14:59:59 +00:00
Paul Licameli
4d978bcefb
Use wxPrintf not printf
2017-12-16 11:54:32 -05:00
Paul Licameli
cd06c04fa0
Use wxFprintf not fprintf and you don't need c_str
2017-12-16 11:54:18 -05:00