Paul Licameli
8c4d8db133
Move classes EffectUIHost and EffectPanel to EffectUI.cpp
2020-01-05 16:11:54 -05:00
Paul Licameli
91536d734f
Rename EffectRack.* as EffectUI
2020-01-05 16:11:54 -05:00
Leland Lucius
3637f134ac
Remove unnecessary SDK handling
...
And restrict 32-bit builds to <OS 10.15 and <SDK 10.14
2020-01-05 13:54:08 -06:00
Paul Licameli
129c9deb99
Remove GetActiveProject from EffectRack...
...
... and make one EffectRack window per project
2020-01-04 16:36:55 -05:00
Paul Licameli
dd4870b83f
Remove various calls to GetActiveProject
2020-01-04 14:03:01 -05:00
Paul Licameli
390d833229
Remove one more GetActiveProject in a menu command handler
2020-01-04 14:00:32 -05:00
Paul Licameli
f0b75832b4
Remove uses of GetActiveProject in some dialogs
2020-01-04 13:55:34 -05:00
Paul Licameli
f924df16f8
Eliminate calls to GetActiveProject in src/prefs
2020-01-04 13:19:06 -05:00
Paul Licameli
c3b32d1106
Remove GetActiveProject where finding track panel button tooltips
2020-01-04 12:59:37 -05:00
Paul Licameli
275797bbb4
Fewer uses of ::GetActiveProject()...
...
... where we have a window, ascend the chain of parent pointers instead to
find the project window.
2020-01-04 12:59:37 -05:00
Paul Licameli
9029eee5bd
Remove GetActiveProject from SelectHandle
2020-01-04 12:59:37 -05:00
Paul Licameli
02e5b8db07
Remove unnecessary members of CommandHandler...
...
... see also commit 02d5e6c
2020-01-04 12:59:37 -05:00
Paul Licameli
c9a9c06bd0
Pass AudacityProject * into preference panel factories
2020-01-04 12:37:57 -05:00
Paul Licameli
72f66b7096
Mac: don't crash in Preferences when there is no project window...
...
... and you press Preview in Spectrogram preferences.
And complete null checks on GetActiveProject calls in src/prefs.
And in fact, don't even show the useless Preview button when there is no
project.
2020-01-04 12:14:47 -05:00
Paul Licameli
92b857d551
Remove unnecessary const_cast
2020-01-04 11:59:44 -05:00
Paul Licameli
dffe3155b0
Pass AudacityProject & into ButtonHandle::Tip
2020-01-04 11:27:28 -05:00
Paul Licameli
2f71f2768d
Revert "Clean up the Xcode project a tad"
...
This reverts commit f1ee1689c695db13ef4cfc159e9a7d6fd4a23ccd.
2020-01-04 10:32:02 -05:00
Paul Licameli
f64bc5a829
Pass non-const AudacityProject to HitTest::Preview...
...
... because that will be needed for elimination of some GetActiveProject()
calls. Because some overrides need to find the focused track, but that may
mutate the project by setting the focused track when it wasn't yet defined.
2020-01-04 09:40:33 -05:00
Leland Lucius
f1ee1689c6
Clean up the Xcode project a tad
...
This removes dependencies on older SDKs, fixes a signing
issue, reinstates 10.7 as the minimum supported MacOS version,
and cleans out some (legacy) library handling.
2020-01-04 03:16:55 -06:00
Leland Lucius
3f22cbe549
Simplify the wxWidgets build script
...
Since we're not using a specific SDK any longer, I cleaned
up the script but still left the ability to specify an SDK
if we need to in the future.
2020-01-04 03:14:26 -06:00
Leland Lucius
9e0c1b0bd4
Sign the DMG with the correct cert
...
It must be signed with a "Developer ID Application" certificate
and not the "Developer ID Installer" certificate.
And make sure to sign the app before copying it to the temporary
DMG folder.
2020-01-04 03:12:26 -06:00
Leland Lucius
31d9789c4d
Force Aqua appearance on 10.15+
...
If built using the 10.15+ SDK, the UI will take on some
of the new system visuals (like colors). But, Audacity
isn't ready for that yet, so this tells the system it
needs the old look.
2020-01-04 03:10:05 -06:00
Leland Lucius
04dcc8994d
Remove leftover debugging code
2020-01-04 00:43:52 -06:00
Paul Licameli
aef4b80d53
a null check on GetActiveProject()
2020-01-03 20:14:19 -05:00
Paul Licameli
93c2a692c1
Preliminaries before removal of some more calls to GetActiveProject
2020-01-03 18:20:41 -05:00
Paul Licameli
973f15c5ac
Move ProjectWindowBase to new files...
...
... So that you can use GetProject without other linkage dependencies
2020-01-03 17:58:21 -05:00
Paul Licameli
be24e6b5a1
Separate class ProjectWindowBase...
...
... which adds a project association to wxFrame, and nothing else
2020-01-03 17:54:44 -05:00
Paul Licameli
db6265d4e7
Fix build
2020-01-03 10:14:12 -05:00
Paul Licameli
4a5abc9e41
Pass AudacityProject* to more methods of UIHandle
2020-01-03 10:09:46 -05:00
Paul Licameli
ba5ce23668
Remove many calls to GetActiveProject
2020-01-02 14:05:49 -05:00
Paul Licameli
a769cdfe1d
MacroCommandDialog remembers reference to project
2020-01-02 14:04:53 -05:00
Paul Licameli
c39718fa1f
MacroCommands remembers a reference to project...
...
... Eliminating several GetActiveProject calls, notably including those where
we construct a CommandContext for executing commands.
2020-01-02 13:58:49 -05:00
Paul Licameli
f85f4db704
Remove use of GetActiveProject in MacroCommandsDialog...
...
... instead pass into it the project pointer already given to ctor of
MacrosWindow
2020-01-02 13:52:26 -05:00
Paul Licameli
e2539be53b
WaveTrack::SyncLockAdjust doesn't need a factory to make a temp track
2020-01-02 13:40:06 -05:00
Paul Licameli
914bb1dc95
Remove some uses of GetActiveProject in src/effects
2020-01-02 13:32:04 -05:00
Paul Licameli
83f7bc6b5c
Eliminate some uses of GetActiveProject...
...
... where there was already a project at hand
2020-01-02 13:15:14 -05:00
Paul Licameli
d23569ca10
Construct Exporter with project pointer, fewer GetActiveProject calls
2020-01-02 13:13:48 -05:00
Paul Licameli
ece7bd888d
Eliminate GetActiveProject in TimerRecordDialog
2020-01-02 13:11:17 -05:00
Paul Licameli
7592227f14
Remove uses of GetActiveProject in import
2020-01-02 13:11:17 -05:00
Paul Licameli
a1eeb528b7
Lift a call to GetActiveProject into ScriptCommandRelay...
...
... Don't do it at the low level of construction of a command object. Do it
only at the highest possible level, where an external scripting module or
Nyquist calls into the command framework. Pass the project pointer down where
it is needed.
2020-01-02 13:05:09 -05:00
Paul Licameli
1e3779c2f3
Remove uses of GetActiveProject in popup menu handlers
2020-01-01 22:10:25 -05:00
Paul Licameli
fce85d0e56
Don't use GetActiveProject in track panel pop-up menu handlers
2020-01-01 22:06:16 -05:00
Paul Licameli
7dbca958a6
CellularPanel passes AudacityProject* to DoContextMenu() of cell
2020-01-01 21:57:39 -05:00
Paul Licameli
12bbafe013
Separate storing of user data from initialization of popup items
2020-01-01 21:54:45 -05:00
Paul Licameli
0256156dec
Implement Multi View checkbox menu item in wave track TCP...
...
... When it's off (default), Spectrum and Waveform buttons behave as before,
and dragging of the sub-view separator is disabled.
When it transitions to off, and the view is split, then the top sub-view takes
up the whole view.
When it transitions on, nothing visible happens.
When it is on, and you choose Spectrum or Waveform, then the corrsponding
sub-view toggles visibility.
When a sub-view is turned on by the menu item, it appears lowest.
2020-01-01 15:37:49 -05:00
Paul Licameli
30c37e9110
Sort source files in src/prefs in Xcode browser
2020-01-01 14:48:30 -05:00
Paul Licameli
00661d273a
Scale choices at the top of the Waveform pop-up menu...
...
... as they have been in the menu for spectrum
2020-01-01 12:05:14 -05:00
Paul Licameli
389d04459a
Move choice of waveform scale from TCP menu to ruler context menu
2019-12-31 19:26:51 -05:00
Loss
e787694f07
Implementation of Timer Toolbar
...
PRL: Rebased onto recent master, fixed compilation and indentation, added new
files to the XCode project, added an EXPERIMENTAL flag
2019-12-31 17:42:54 -05:00
Paul Licameli
f1e5e96480
Double-click on stereo channel separator makes heights equal
2019-12-31 17:36:03 -05:00