Paul Licameli
e7482c74bd
Move cursor moving functions out of TrackPanel
2015-08-27 21:22:41 -04:00
Paul Licameli
6c6fc360ca
Put the scroll-beyond-zero flag in just one place, ViewInfo
2015-08-26 23:17:20 -04:00
Leland Lucius
f6cbc5e6db
Merged a couple of patches from Debian, one of which should fix bug #1147
2015-08-25 23:08:12 -05:00
Leland Lucius
6a9dae20f5
Appearance on OSX is now back to normal or better
...
Some additional wx3 cleanup as well.
2015-08-23 20:25:01 -05:00
Paul Licameli
bd3af324f9
travis
2015-08-22 00:28:20 -04:00
Paul Licameli
1b8f44d053
ViewInfo does not redundantly (or inconsistently!) store the screen width
2015-08-21 22:39:18 -04:00
Leland Lucius
13dbaf11ec
Ensure the project window doesn't fall underneath the menu on OSX
2015-08-17 02:12:55 -05:00
Leland Lucius
bb553a1cfb
Workaround 2.1.1 and older window size bug
...
It causes zero width/height window dimensions to be written to
the config.
2015-08-17 01:58:30 -05:00
Leland Lucius
1a54947e92
Make sure new project windows get the focus on OSX.
2015-08-14 16:04:23 -05:00
Leland Lucius
300f0f05a0
Move TrackPanel keyboard handling out of AudacityProject...
...
...and into TrackPanel where it should be.
2015-08-09 18:26:29 -05:00
Leland Lucius
f36fe29f96
Fixes for bugs 1122 and 1113
...
Several other issues were also fixed (hopefully ;-)).
This is a major change to accelerator handling and keyboard
capturing. Menu shortcuts, non-menu commands, label editing,
navigation, and basically anything else were you might use
the keyboard should be thoroughly tested.
2015-08-08 00:01:24 -05:00
Leland Lucius
1e195ecea6
Fix many wx3.1.0 assertions now to prevent double testing
2015-07-30 02:05:23 -05:00
Leland Lucius
f2d87803d3
Followup to bug #1099 .
2015-07-29 14:43:53 -05:00
Leland Lucius
32465d1686
Fix for bug #1099...left in some debugging.
2015-07-29 10:10:41 -05:00
Leland Lucius
37168ebbf6
Merge remote-tracking branch 'upstream/master' into wx3
2015-07-28 15:06:25 -05:00
Leland Lucius
5bdfcff97d
Menu shortcut hiding has been removed
...
It had been causing problems in Unity for a while now and they
were missing on OSX as well in wx3. So, the old menu Open/Close
method of hiding has been removed and replaced with an event
filter/monitor which looks for wxEVT_CHAR_HOOK events to pass
key events to the handler that has the keyboard captured.
2015-07-28 14:35:09 -05:00
Paul Licameli
7bba4500c4
Move mdBr from TrackPanel to ViewInfo, no more lookup of prefs in Envelope.cpp
2015-07-28 11:53:01 -04:00
Paul Licameli
4a4918a3f8
More uses if IsUnsafe() or IsAudioActive()
2015-07-28 11:49:53 -04:00
Paul Licameli
f35d519c21
Define AudacityProject::RollbackState() for reuse elsewhere
2015-07-28 11:49:52 -04:00
Paul Licameli
4decbe80d3
Remove Meter.h from other headers
2015-07-28 10:02:10 -04:00
Paul Licameli
f81231efae
Remove Sequence.h from other headers
2015-07-28 10:02:08 -04:00
Paul Licameli
d39eaa4e65
Remove WaveTrack.h from other headers
2015-07-28 10:02:05 -04:00
Paul Licameli
b89c2a130c
Remove Track.h from other headers
2015-07-28 10:02:03 -04:00
Paul Licameli
fd274e6d0e
Bug892: Spec. Sel. Toolbar no longer forces selection below half project rate...
...
... rather, selections up to half of the maximum of project rate and all track
rates is permitted.
Also added some more cautions to the Nyquist code for spectral selection
effects, in case input frequencies exceed Nyquist for the track (as they
may now do).
2015-07-25 13:28:23 -04:00
Leland Lucius
255be8cfe7
Reworked the TipPanel used with ASliders
...
It was producing "ghost" windows on OSX in wx3. These were
supposed to be hidden, but they weren't any longer and after
reviewing TipPanel, I realized that there was a separate
code path for OSX entirely...must've gone back to some of the
earliest versions.
Now all platforms use the same bit of code.
2015-07-20 02:10:05 -05:00
Leland Lucius
3fe146f306
Merge remote-tracking branch 'upstream/master' into wx3
2015-07-19 18:00:02 -05:00
Paul Licameli
79e9f2b5dd
Scrolling left of zero will work right with fisheye present.
2015-07-19 11:44:25 -04:00
Paul-Licameli
5418ce377b
Move PositionToTime, TimeToPosition into class ZoomInfo ...
...
... and use them in many more places in TrackPanel.cpp, so there are fewer
direct uses of ZoomInfo::zoom.
Also use then in horizontal scrolling code
2015-07-19 11:44:04 -04:00
Paul-Licameli
5a6d5d1443
Add and use some ZoomInfo and ViewInfo member functions, so we can eliminate...
...
... miscellaneous direct uses of ZoomInfo::zoom to test and set zoom level.
This includes all the remaining assignments to it.
But moving TrackInfo::PositionToTime and TrackInfo::TimeToPosition into
ZoomInfo and using them is needed to eliminate many more uses.
Also #if'd out the unused AudacityProject::OnZoomToggle().
2015-07-19 11:44:02 -04:00
Paul-Licameli
ab21f75c77
ViewInfo is becoming a smart class, not a dumb struct
...
Now it has:
A constructor
XML attribute serializer functions (but no XML tag of its own)
Also removed unused lastZoom
2015-07-19 11:43:59 -04:00
Leland Lucius
39064c42d5
FileDialog shouldn't return duplicate names.
2015-07-18 21:26:11 -05:00
James Crook
c43936f630
Bug1085 - Play-at-Speed key-binding broken
...
Caused by fix to Bug 844 not initialising mIsCapturing to false. So play-at-apeed could mistakenly think recording was in progress, and so prevent play-at-speed.
2015-07-18 12:51:28 +01:00
Leland Lucius
805f0e29d1
Round 7 of wx3 changes
...
I believe the FileDialog is now complete and consistent across
all 3 platforms.
2015-07-16 01:12:09 -05:00
Leland Lucius
9b9c8cc073
Round 5 of wx3 changes
...
FileDialog now complete on Linux. Needs some fine tuning on
Windows and OSX.
Builds with wx3 and gtk2 or gtk3.
Still more effect work to do.
2015-07-14 23:33:53 -05:00
Leland Lucius
d1f66d768f
Updates for wx3
...
A long way to go yet, but many OSX issues fixed including
conversion of Audio Unit effects.
2015-06-30 11:25:32 -05:00
Leland Lucius
602e21358c
Do not cause duplicate ".aup" extensions to be added on OSX
...
The real problem is that there's a lot of code that is looking
for the ".aup" extension, but it's not using case insensitive
comparisons.
But that'll have to get resolved ... later.
2015-06-16 00:03:03 -05:00
Leland Lucius
de1fe0ae37
Fix for bug #1034
2015-06-15 23:38:02 -05:00
Paul Licameli
79305db179
Project.h does not need Meter.h
2015-06-10 00:29:47 -04:00
David Bailes
d395a61450
Fix for initial width of actual rate field of status bar. This was too big, and causing messages in the main field to be truncated.
2015-06-08 12:33:20 +01:00
Leland Lucius
f3f8e9cedb
Make autosave filename English to work with Arabic translation on LInux
...
And just fix up a few comments.
2015-06-07 12:38:29 -05:00
David Bailes
391bd1691c
status bar state field. When you move to the menubar, the state field is no longer cleared. This was achieved by introducing a dummy field of width 0. When you first open a new audacity project, the state is stopped - previously the state only appeared after the first play/pause/etc command.
2015-06-02 15:18:46 +01:00
Leland Lucius
0e12ab6760
Fix for bug #334
2015-05-29 23:01:58 -05:00
Paul Licameli
6ae8a656ab
Rewrote escape key handling, more like other Track Panel key handlers
...
... and removed some abandoned spectral editing code
2015-05-29 21:13:59 -04:00
Leland Lucius
0ef7ccb1d1
Fix permissions...not sure why this was happening though
2015-05-29 19:49:28 -05:00
David Bailes
5c67bc38b3
Add a field to the status bar to show the state of Audacity, eg play/record/play pause. This is useful so that screen readers can easily read audacitys state.
2015-05-29 17:47:43 +01:00
Paul Licameli
6810095509
Removed some functions never called, code never reached, fields never used
2015-05-29 00:13:50 -04:00
Paul Licameli
c84eeabe97
Bug 986 and other changes for more consistent zoom all and zoom fit...
...
... when there is audio before time zero.
2015-05-28 20:22:42 -04:00
Paul Licameli
0bfac5db40
Two colored time ruler, when scrolling past zero enabled.
2015-05-28 17:07:42 -04:00
Paul Licameli
f07a487e47
Bug977: Enable new scrolling limits as a Tracks preference, default off.
2015-05-27 18:47:03 -04:00
Paul Licameli
fa3f91b38d
Horizontal scrolling snaps 0 to left edge and guarantees it is reachable
2015-05-26 21:28:22 -04:00