Paul Licameli
73ced7b93f
Remove UndoManager.h from other headers
2016-02-24 19:10:34 -05:00
Paul Licameli
9bf098c7d9
Sweep unnecessary wxString copies: rest
2016-02-23 02:15:56 -05:00
Paul Licameli
8e995d66d0
Avoid extra indirection in FormatList
2016-02-19 10:59:51 -05:00
Paul Licameli
1c07741d57
Sizers are owned by wxWindow objects when added, so use safenew, or...
...
... use unique_ptr in the interim between building them and adding.
This checks eliminates some naked news, which were not paired with deletes.
2016-02-18 18:58:38 -05:00
Paul Licameli
4d78e353c3
Revert "sizers"
...
This reverts commit 84c0a0b6663a1210be502a76ab9c48dd330b3919.
2016-02-18 14:50:52 -05:00
Paul Licameli
84c0a0b666
sizers
2016-02-18 02:54:50 -05:00
Paul Licameli
dbaa811577
Stack-allocate where possible! ...
...
... Removed many unnecessary naked news and deletes.
2016-02-17 18:15:57 -05:00
Paul Licameli
55d85f1b25
Remove more uses of at(); use a std::vector of bare pointers, not wx array
2016-02-16 09:35:03 -05:00
Paul Licameli
df6a7c5464
More uses of safenew for classes we derive from wxWindow classes...
...
... Also removed some unnecessary deletes of widgets that are managed by parent
windows
2016-02-14 20:39:28 -05:00
Paul Licameli
3f237daddc
Use macro safenew for many allocations of wxWindow subclasses
2016-02-14 20:20:19 -05:00
Paul Licameli
6052b5f9be
Throw by value, catch by reference: don't use pointers...
...
... that's what the better books on C++ recommend.
2016-02-14 19:36:17 -05:00
Paul Licameli
7c4c45a0d5
"new"->"NEW" in comments, easier to find remaining naked operator new
2016-02-14 18:52:41 -05:00
Paul Licameli
56e7653343
"delete"->"DELETE" in comments, easier to find remaining naked operator delete
2016-02-14 18:50:45 -05:00
Paul Licameli
51fbc697cf
One less indirection accessing Sequence::mBlock
2016-02-03 22:17:08 -05:00
Paul Licameli
38ba19183d
One less indirection accessing SeqBlock
2016-02-03 22:17:07 -05:00
Paul Licameli
507cee7ee5
One less indirection accessing Region
2016-02-02 11:49:53 -05:00
Paul Licameli
c9fa5000fc
Merge branch 'bug1197'
2016-01-28 10:38:44 -05:00
Paul Licameli
f47cb3d528
Bug1197, yet again: extreme zoom-in behavior, now Mac specific: ...
...
...fix differing results on Mac by calculating only in double, so that selection
remains centered at extreme zoom-in for long projects (about 20 min.) and
selection after about 15 min.
2016-01-28 10:36:48 -05:00
Paul Licameli
17c9369286
Bug1239: Correct time rulers after importing files (with File>Open) ...
...
... The fisheye stuff was to blame.
2016-01-26 18:09:29 -05:00
Paul Licameli
4b8a413bbb
Bug198: Change of selection format or snap-to should affect selection at once
2016-01-22 10:05:35 -05:00
Paul Licameli
376fc0ebf2
Bug144: Editing performance when Karaoke window is open and very many labels...
...
... in the first label track.
Problem was calling wxTextCtrl::AppendText once per label, per push of undo
stack, each call causing event handling.
Now call it only once per push.
2016-01-21 22:19:37 -05:00
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