1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-16 00:27:42 +02:00

488 Commits

Author SHA1 Message Date
Paul Licameli
ad586b3e69 Bug36, partial: Redraw mixer board when meter range preference changes 2016-01-21 10:22:24 -05:00
Steve Daulton
159f0263f3 Update solo button defaults
As agreed by QA, the 'simple' behavior becomes the out-of-the-box
default, and 'standard' renamed as 'multi-track'.
2016-01-21 01:52:42 +00:00
James Crook
7eb7490a70 Bug 1243 - Audacity may open with too small width/height when not maximised on previous close
New behaviour, instead of resizing window when it doesn't fit, use the default size/position.
This touches code involved in the fix for 1119 (mac only bug on small screens) and should still
fix that bug, but that will need testing.
2015-10-14 18:06:49 +01:00
yam
c7792dd52f Fix for bug #1224 2015-10-08 16:52:58 -05:00
Paul Licameli
4e335af91f bug1197 again: better fix 2015-09-24 11:10:59 -04:00
Paul Licameli
d776f25830 bug1197: Correct horizontal scrollbar position at extreme zoom-in 2015-09-21 12:58:56 -04:00
Leland Lucius
1ccb7385c3 Fix for project windows opening larger than available display space on OSX
This should fix the nagging window under the menu bar problem and will
have to serve as a workaround for bug #1119 until the wxWidgets ticket
is addressed:

   http://trac.wxwidgets.org/ticket/14351
2015-09-12 01:34:27 -05:00
Leland Lucius
a584759f01 Further changes for #964...
...batting 1000 tonight.  grrrr
2015-09-04 01:59:17 -05:00
Leland Lucius
484e8c5014 Forgot to save before committing 2015-09-04 01:30:11 -05:00
Leland Lucius
49fc3336eb Temporary fix for bug #964 2015-09-04 01:24:28 -05:00
Leland Lucius
eabe014551 Fixes bug #1172 and removes fix for bug #334
The issue described by #334 doesn't appear to be a problem with
wx3 and it was causing an issue with focus.
2015-09-02 23:17:27 -05:00
Paul Licameli
62765cb4c5 Put one of those functions back... I will need it in future. 2015-08-30 13:47:12 -04:00
Paul Licameli
05de64e251 Remove unused fns; fix missing & misspelled headers in make & project files 2015-08-30 13:19:08 -04:00
Paul Licameli
ca761893c8 Removed unused method of TrackPanelListener 2015-08-30 12:35:13 -04:00
Paul Licameli
f49dbae9e2 Move minimize and close details out of TrackPanel.cpp 2015-08-29 13:46:26 -04:00
Paul Licameli
45e91f165a Move gain and pan details out of TrackPanel.cpp 2015-08-29 13:46:16 -04:00
Paul Licameli
6bfd3ee54a Move Mute and solo details out of TrackPanel.cpp 2015-08-29 13:45:51 -04:00
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