1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 00:29:41 +02:00

11130 Commits

Author SHA1 Message Date
Paul Licameli
45a0ce1819 Bug2268: should be able to use " in Nyquist Prompt for Mac...
... We need to un-correct the smart quote characters back to dumb quotes
before passing the input to the Lisp interpreter.

The smart quote correction is a consequence of the move to the MacOS 10.9 SDK.
Stopping the correction at the source would require objective-C hacks in a
custom build of wxWidgets, and just not worth the effort.

This fix only corrects the text input at one wxTextCtrl.  Should we reexamine
other uses of that class?
2019-12-31 15:31:45 -05:00
Paul Licameli
460008f59d One less place that assumes at most two channels in a track 2019-12-31 15:10:11 -05:00
Paul Licameli
8abf3b490f Move an i18n-hint comment 2019-12-31 14:39:52 -05:00
Paul Licameli
353a235708 Bug2224: Should have error message trying to cut without selection...
... I got bitten by problems of static variable initialization order
2019-12-31 12:08:07 -05:00
Paul Licameli
917e84f382 Implement double-click at the view separator to split view evenly...
... And this can even change an unsplit view to evenly split when you get the
 cursor near the top or bottom
2019-12-31 11:21:28 -05:00
Paul Licameli
e0453d1b7e Fix redefinition compilation error on Windows 2019-12-31 11:13:12 -05:00
Paul Licameli
b747e88304 Bug2256: complete the fix, see 17ed489 2019-12-30 23:11:55 -05:00
Leland Lucius
50224b3a0c Change ho underaligned warning is disabled
Since it is only issued with clang 11(+), attempting to
disable it for via Xcode options doesn't work on older
versions of Xcode/clang.

So, make it clang version specific via configmac.h.
2019-12-30 19:42:46 -06:00
Paul Licameli
17ed4899ec Bug2256: Resizing channels should not change subview proportions 2019-12-30 17:38:07 -05:00
Leland Lucius
f39f505205 Add -Wno-underaligned-exception-object to Mac build 2019-12-30 16:07:03 -06:00
Paul Licameli
0c44d0f7d3 Bug2244: need a distinct cursor for adjustment of split views...
... Adapted from the bandwidth adjustment cursor for spectral selection, with
reversal of white and black, so the new ones are white around black
2019-12-30 15:18:31 -05:00
Paul Licameli
28e19e3e03 Bug2214: Mix and Render should insert new tracks after old tracks...
... or where the old tracks were, if replacing them

This puts the new track in the sync-lock group of the old tracks.
2019-12-30 11:13:18 -05:00
Paul Licameli
dbdfb26e4a Make FileNames a namespace (fixing Windows build)...
... as the comment said it should be.
2019-12-30 11:13:09 -05:00
Paul Licameli
de4edb0424 Nyquist output dialog uses ShuttleGui 2019-12-29 17:46:02 -05:00
Paul Licameli
093ffbd2f1 MultiDialog uses ShuttleGui, and TranslatableString for title 2019-12-29 16:17:04 -05:00
Paul Licameli
75b3ad7c61 Fix Linux build 2019-12-29 15:56:34 -05:00
Paul Licameli
cacdcf8ad5 Fix Linux build 2019-12-29 15:41:37 -05:00
Paul Licameli
7638dd0204 Redo file dialog masks with TranslatableString...
... eliminating some repetitious code, fixing some missing translations, and
presenting simpler strings to the translators, without any | or ; characters
that need to be preserved.
2019-12-29 15:35:04 -05:00
Paul Licameli
aa39f9ade2 Rewrite FileNames::SelectFile using FileTypes...
... And more uniformity in the descriptions of file types used in more than
one place

Also fixes missing translations in VSTEffect.cpp
2019-12-29 15:35:04 -05:00
Paul Licameli
9204319b86 Just one accessor needed for description of ExportPlugin 2019-12-29 15:35:03 -05:00
Paul Licameli
c64b3cb31f Rewrite FileDialogWrapper using FileNames::FileTypes...
... also removing some repeated code and using the config keys /DefaultOpenType
and /LastOpenType only in Import.cpp
2019-12-29 15:35:03 -05:00
Paul Licameli
fc668f09b0 Define FileNames::FileType and related utility functions 2019-12-29 15:35:03 -05:00
Paul Licameli
1c7fd66b6e Bug2225: Don't duplicate display of track name when view is split 2019-12-29 15:31:22 -05:00
Paul Licameli
c882564994 Move drawing of TrackName from the subview to VRulersAndChannels...
... And thus do it only once per channel (i.e. once per set of sub-views)
2019-12-29 15:31:03 -05:00
Paul Licameli
4b2f78fd0d One more level of hierarchy in the TrackPanel area sudivision...
... Encompassing all subviews, with their rulers, for one channel.

Correct the comments about the subdivision.
2019-12-29 15:07:55 -05:00
James Crook
e6c370023c Fix broken Windows build. 2019-12-29 17:38:44 +00:00
Paul Licameli
3b01794eb1 More TranslatableString, less _, in various places 2019-12-29 00:13:10 -05:00
Paul Licameli
7bdb3491c7 Fix usage comment for PopupMenuTable 2019-12-29 00:08:31 -05:00
Paul Licameli
0704f6919a EffectPresetsDialog::SetPrefix takes TranslatableString 2019-12-29 00:01:57 -05:00
Paul Licameli
eaffb4ed74 TranslatableString for some maybe-useful-in-future strings 2019-12-28 23:55:34 -05:00
Paul Licameli
61161a2f00 TranslatableString for more status bar messages 2019-12-28 23:49:18 -05:00
Paul Licameli
6e14d2e56c RulerPanel uses TranslatableString for units string...
... also fixing missed translation of "k" in spectrum vertical ruler
2019-12-28 23:49:18 -05:00
Paul Licameli
1887928fe2 ProjectManager::GetHoursMinsString returns TranslatableString 2019-12-28 23:49:18 -05:00
Paul Licameli
4afd93e84e XO for dummy strings and format arguments in uses of wxPLURAL 2019-12-28 23:49:18 -05:00
Paul Licameli
3b9442a000 Fewer uses of macro _ in Nyquist.cpp 2019-12-28 23:49:18 -05:00
Paul Licameli
e0d57a0e6b Use TranslatableString in TimerRecordPathCtrl 2019-12-28 23:49:17 -05:00
Paul Licameli
956e0813c4 SliderAx uses TranslatableString 2019-12-28 23:49:17 -05:00
Paul Licameli
65a13fd3d6 Remove unused variable 2019-12-28 23:49:17 -05:00
Paul Licameli
259359a283 Update some calls expecting TranslatableString in disabled code 2019-12-28 23:49:14 -05:00
Paul Licameli
18942d9909 Rename a function in Distortion.cpp 2019-12-28 19:56:59 -05:00
Paul Licameli
d6cd48cde1 Eliminate uses of macro _ in Distortion 2019-12-28 19:56:59 -05:00
Paul Licameli
8b532546c9 Bug2267: Nyquist prompt should allow multiline input...
... Fixing a side effect of the fix for bugs 2107 and 1329 which was done at
commit da66806 in version 2.3.3
2019-12-28 19:54:31 -05:00
Paul Licameli
fb5e871d0a Revert "Bug2267: Nyquist prompt should allow multiline input..."
This reverts commit 33bd2a4d93bbb1fc0dc3367896182b7f3678025a.
2019-12-28 19:49:13 -05:00
Paul Licameli
8c4bc6c91f Make some more text windows read-only 2019-12-28 19:43:36 -05:00
Paul Licameli
33bd2a4d93 Bug2267: Nyquist prompt should allow multiline input...
... Fixing a side effect of the fix for bugs 2107 and 1329 which was done at
commit da66806 in version 2.3.3
2019-12-28 19:35:45 -05:00
Paul Licameli
7171220630 Preliminaries for fixing duplicated track names in split views 2019-12-28 13:45:23 -05:00
Paul Licameli
8905e52ee0 Override TrackPanelDrawable::DrawingArea() properly for track names 2019-12-28 13:36:47 -05:00
Paul Licameli
71b3fc0647 Factor rectangle computation out of DrawTrackName 2019-12-28 13:36:47 -05:00
Paul Licameli
a65ab2146b Rewrite DrawTrackName with fewer magic numbers, rename variables 2019-12-28 13:36:47 -05:00
Paul Licameli
996d60de81 Remove undefined member function 2019-12-28 13:36:46 -05:00