Leland Lucius
6d093019ef
Fix module header paths
2019-12-12 12:43:58 -06:00
Paul Licameli
2e3ba2204f
Rewrites of TranslatableString and reimplementation of wxPLURAL...
...
... including move-construction of the base string, debug string formatting,
and contexts (not fully implemented)
2019-12-11 14:55:29 -05:00
Paul Licameli
9d05fc0c7d
Various preliminaries for use of ShuttleGui in more places
2019-12-10 09:59:34 -05:00
Paul Licameli
7d38500ecf
ShuttleGui::AddSpace takes prop argument...
...
... This will be needed to rewrite EffectRack
2019-12-10 09:58:39 -05:00
Paul Licameli
f825c32a50
ShuttleGui can specify orientation and minimum size...
...
... This will be needed for rewrite of EffectUIHost dialog
2019-12-10 09:58:39 -05:00
Paul Licameli
bb3159c758
Don't SetMinSize in ShuttleGui::StartNotebookPage...
...
... This could only affect the About dialog now, but does not have noticeable
effects.
StartNotebookPage will be reused for Export and Export Multiple dialogs, and
the effects of this SetMinSize call would be undesirable for them.
2019-12-10 09:58:39 -05:00
Paul Licameli
3b69a038c8
Add ShuttleGui functions to make simple book controls...
...
... analogous to StartNotebook() and EndNotebook()
This will be needed to rewrite export dialogs
2019-12-10 09:58:39 -05:00
Paul Licameli
1802b9316e
ShuttleGui::AddStandardButtons takes more general wxWindow *extra...
...
... This will be needed to rewrite the EffectUIHost dialog
2019-12-10 09:58:39 -05:00
Paul Licameli
dabf5c0e39
remove unnecessary qualified names
2019-12-10 09:58:38 -05:00
Paul Licameli
0cf90d65e6
S.GetParent() for all windows passed to ShuttleGui::AddWindow()...
...
... Verified that this makes no real change.
2019-12-10 09:58:38 -05:00
Paul Licameli
d49ac8bad3
Remove obsolete code
2019-12-10 09:58:38 -05:00
Leland Lucius
f7a1ca117d
Update project for Xcode 10+ and notarization
...
I've tested this with Xcode 9, 10, and 11 without issue.
2019-12-09 13:28:01 -06:00
Paul Licameli
94fc1bb2a8
TranslatableString has + and +=, and translation of Format arguments
2019-12-06 11:50:56 -05:00
Paul Licameli
d63b5b4bfa
Update list of Nyquist plug-ins in Xcode project
2019-12-06 11:30:39 -05:00
Bruno Ramalhete
e7076e4a75
Update Brazilian Portuguese Translation
2019-12-06 11:41:38 +00:00
Marco Oros
8947463d39
Update Slovak Translation
2019-12-06 11:40:03 +00:00
James Crook
23f05c618c
Fix signed/unsigned comparison warnings.
2019-12-06 11:33:22 +00:00
James Crook
7f3c40eb43
Fix class/struct warnings.
2019-12-06 11:32:17 +00:00
James Crook
5a3e9cd063
Fix dialog naming
...
For nicer Doxygen results, we need consistency in naming of classes.
Dialag classes are now called SomethingDialog.
2019-12-06 10:39:07 +00:00
James Crook
d4baeed6a5
Fix building of mod-script-pipe
...
Include files not needed.
2019-12-05 23:08:19 +00:00
SteveDaulton
c8e5cc8cd6
Add noise gate for Windows
2019-12-05 21:19:00 +00:00
SteveDaulton
c2d4b5616e
Add Noise Gate plug-in
2019-12-05 21:13:24 +00:00
Paul Licameli
1545d292d0
Fix Linux build
2019-12-05 14:08:35 -05:00
Paul Licameli
4b43962415
Fix Linux build
2019-12-05 13:14:42 -05:00
Paul Licameli
15260c2c95
TranslatableString can store a context and format arguments...
...
... Format arguments are substituted into the translation of the msgid, which
may not be known at the time the format arguments are captured (because locale
may change). This allows TranslatableString with arguments to be constructed
at static initialization time.
There is also a special "verbatim" or null context which makes no translations
of msgids.
There is not yet any use of other contexts besides default or null.
2019-12-05 11:34:06 -05:00
Paul Licameli
4fdd1b005c
Another part of the fix begun at 8640a83
2019-12-04 16:23:12 -05:00
Paul Licameli
ca70cc940f
Don't concatenate ":" onto user-visible strings...
...
... include it in the msgid intead, to get appropriate translations. For
instance some locales use the same character but prefer to insert a space
before it.
2019-12-04 16:19:07 -05:00
Paul Licameli
674ac42de9
ShuggleGui::NameSuffix inserts a space
2019-12-04 00:12:47 -05:00
Paul Licameli
7e314dcc37
More chain-call ShuttleGui functions specifying control attributes...
...
... so the code specifying the dialogs becomes more declarative and less
procedural.
2019-12-03 00:03:36 -05:00
Paul Licameli
930c21dc2a
Define and use ShuttleGui::Size
2019-12-02 22:02:46 -05:00
Paul Licameli
dd954247d3
More uses of Position(); don't fiddle with sizer items directly
2019-12-02 22:01:55 -05:00
Paul Licameli
3aef0f4eef
Don't directly create wxPanel in Equalization
2019-12-02 22:01:27 -05:00
Paul Licameli
96291c5476
Remove second argument of AddWindow(), use Position() instead
2019-12-02 22:01:22 -05:00
Paul Licameli
b5ee7676fd
Rename ShuttleGui::SetSizeHints, chain-call it like other methods...
...
... And rewrite some other existing calls to SetMinSize
2019-12-02 19:35:06 -05:00
Paul Licameli
64a96e6f01
Define and use ShuttleGui::ConnectRoot...
...
... And corrected improper connections in HistoryWindow and ContrastDialog,
improper because they got called with the wrong this pointer, to
the control instead of the dialog. But that was harmless anyway because the
handlers did not use this.
2019-12-02 19:35:01 -05:00
Paul Licameli
d98e41aad1
Define and use ShuttleGui::Disable; remove EnableCtrl
2019-12-02 17:54:07 -05:00
Paul Licameli
c72dbf5b51
Define and use ShuttleGui::Focus
2019-12-02 17:26:40 -05:00
Paul Licameli
30d375d6fa
Remove style argument from ShuttleGui::AddCombo & AddListBox...
...
... use the Style() chain-call instead, as needed
2019-12-02 17:26:38 -05:00
Paul Licameli
1bfbfb9640
ShuttleGui::Style analogous to other functions
2019-12-02 17:23:34 -05:00
Paul Licameli
9eeef4713d
Define and use ShuttleGui::Name and NameSuffix...
...
... For radio buttons, the name will default to the same as the prompt if not
otherwise specified
2019-12-02 16:55:46 -05:00
Paul Licameli
3ea0209e5c
Define and use ShuttleGui::ToolTip
2019-12-02 11:41:51 -05:00
Paul Licameli
1d32824e02
Define and use ShuttleGui::Validator
2019-12-02 11:21:40 -05:00
Paul Licameli
8ea137e041
Define struct DialogDefinition::Item, to be filled in
2019-12-01 22:21:49 -05:00
Paul Licameli
4a2cfd92d7
Define and use TranslatableString, instead of naked wxString...
...
... This type is now the value returned by the XO macro, and holds a string
that should be looked up in the translation catalog, not shown directly to the
user.
The type does not implicitly convert to or from wxString, so you must construct
it explicitly, or use XO, or use its Translation() member function, or else the
compiler stops you with an error.
2019-12-01 21:14:26 -05:00
Paul Licameli
72df562c4a
Conversion of TranslatableString to wxString is private
2019-12-01 18:17:57 -05:00
Paul Licameli
0b6618e491
Use TranslatableString in NumericTextCtrl...
...
... Fixing a minor error in TimerRecordDialog, where translation of format was
done too soon
2019-12-01 18:08:56 -05:00
Paul Licameli
b351eabf47
ComponentInterfaceSymbol contains TranslatableString
2019-12-01 18:08:56 -05:00
Paul Licameli
e4a7c9ba5b
Uses of TranslatableString as value of XO macro...
...
... It is not implicitly convertible from wxString, compelling many uses of
the new type to fix compilation.
2019-12-01 18:05:20 -05:00
Paul Licameli
911f5eabcc
Define TranslatableString...
...
... Perhaps it should be in Internat.h (which is at the lowest level of the
dependency graph), but later ComponentInterface.h will need to include it, and
I don't want includes/ to depend on src/.
Though there is still a linkage dependency on src if
TranslatableString::Translation() is used.
2019-12-01 18:05:20 -05:00
Paul Licameli
8640a83b25
"System" in language choice in Interface prefs was blank, fixed that
2019-12-01 18:04:51 -05:00