1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-21 06:40:08 +02:00

379 Commits

Author SHA1 Message Date
Paul Licameli
cd9bd79d83 Use an enumeration for UndoManager::PushState 2016-02-24 19:10:35 -05:00
Paul Licameli
73ced7b93f Remove UndoManager.h from other headers 2016-02-24 19:10:34 -05:00
Paul Licameli
c98b090182 Rename SyncLockTracksIterator::First to StartWith to be consistent 2016-02-24 12:59:28 -05:00
Paul Licameli
9bf098c7d9 Sweep unnecessary wxString copies: rest 2016-02-23 02:15:56 -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
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
7c4c45a0d5 "new"->"NEW" in comments, easier to find remaining naked operator new 2016-02-14 18:52:41 -05:00
Paul Licameli
d70ff3337d Bug501: Improve time-shift of clips between tracks...
... When you click in a stereo clip, move the correct partner clip with it.

When you click in the selection and it spans clips, move all clips containing
any part of the selection.  (As horizontal dragging does.)  Even if these are
not all within the same stereo track.

I implemented this rule:  If any clip moves up (or down) by n audio tracks
(not counting the label tracks), all clips must move the same number, and
all must move from mono to mono or left to left or right to right.  If that
is not possible, no move happens.
2016-01-24 23:08:10 -05:00
Paul Licameli
11f308c72a Bug1310: Expanding cutline in one stereo channel with no cutline opposite...
... should leave the undo history in a correct state.
2016-01-23 20:14:49 -05:00
Paul Licameli
c703631b8c Bug389: merging clips in one stereo channel should not affect the other...
... unless there is also a merge line at the same time in the other.
2016-01-23 18:17:35 -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
Steve Daulton
7608e9cb52 Fix missing shortcut text in track drop down menu 2016-01-21 00:55:59 +00:00
David Bailes
1d570ee182 Fix for track menu channel radio items on linux.
Steve suggested and tested this fix. Probably bug in wxWidgets.
2015-10-30 16:10:33 +00:00
David Bailes
758bd1ac2a Revert to appending the radio items for channels, rather than inserting them in reverse order.
Reverted the access key of Rate to e.
2015-10-28 09:13:59 +00:00
David Bailes
ba3b1b14ae possible fix for bug 1250
Go back to having both mono and stereo items in track menu.
2015-10-26 10:17:07 +00:00
James Crook
905ea0ce22 Bug 1208 - Spectrogram vertical zoom-in is limited to ten bins
Changed so that it is now limited to 1 bin.  Now it is obvious if you are zoomed in too far.
2015-09-21 14:54:23 +01:00
Leland Lucius
2d88ad63e0 Fix for bug 2015-09-08 11:24:59 -05:00
Paul Licameli
b84c1b322e Bug1169: end the separate treatment of lin vs. log display bounds for spectrum...
... also make WaveTrack responsible for storing and validating the bounds
... also let the bounds vary per-track even though other settings are default
... also change some code names to mention "period" not "undertone"
2015-09-06 21:47:14 -04:00
Paul Licameli
102f3c2130 A detail of interaction of spectral selection and undo 2015-09-05 10:10:19 -04:00
Paul Licameli
f24742acc0 Be sure to refresh scrub speed display when wheel moves but pointer does not 2015-09-04 20:52:26 -04:00
Paul Licameli
ac5d204e70 Bug1176 (snap guides should appear for clicks as well as drags); bug752 remains fixed too 2015-09-02 20:40:53 -04:00
Paul Licameli
229d15c8d0 Vertical ruler: interchange shift- and shift-ctrl-mousehweel for dB view, and...
... for other views, make sure shift-ctrl-mousewheel does nothing.
2015-09-01 17:23:11 -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
01fe404a02 Move track permuting details out of TrackPanel.cpp 2015-08-29 13:46:35 -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
79cf794d82 ctrl-shift-mousewheel for Waveform dB ruler varies the limit without magnifying 2015-08-27 16:55:09 -04:00
Paul Licameli
78ec5cdf0b Bug1161: maximum zoom-out in Waveform (dB) ruler should be +6.02 dB, not +2 dB 2015-08-27 14:18:25 -04:00
Paul Licameli
638b98b0a3 Implement scrolling of vertical ruler (without zooming) for wheel (no keys) 2015-08-27 12:55:29 -04:00
Paul Licameli
2217d1646e reassign modifier keys for vruler mousewheel 2015-08-27 12:55:26 -04:00
Paul Licameli
5697f77a06 pull out a function for vertical ruler wheel events 2015-08-27 12:55:24 -04:00
Paul Licameli
24538020ba right-click in vertical ruler of wavefrom view recenters, just as it does...
... for spectrogram.
2015-08-27 10:51:10 -04:00
Paul Licameli
6c6fc360ca Put the scroll-beyond-zero flag in just one place, ViewInfo 2015-08-26 23:17:20 -04:00
Paul Licameli
c45ea059e6 Reorder some things that happen in the track panel timer update. 2015-08-26 17:57:02 -04:00
Paul Licameli
67c794891d Correct the one-pixel wobble in scroll-scrubbing play indicator...
... that is, the green line, though the triangle in the ruler still jumps
sometimes.
2015-08-26 17:37:26 -04:00
Paul Licameli
555aa14e9e Bug1160: Fix scale limits in waveform views 2015-08-26 07:24:20 -04:00
Leland Lucius
f6cbc5e6db Merged a couple of patches from Debian, one of which should fix bug 2015-08-25 23:08:12 -05:00
Paul Licameli
fcc8c3b167 When deciding which overlays to redraw, account for Leland's recent OSX change
Conflicts:
	src/TrackPanel.cpp
2015-08-24 22:14:41 -04: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
439fdc66ff weaken dependency of TrackPanel.cpp on LabelTrack.h, a bit 2015-08-23 19:02:06 -04:00
Paul Licameli
372e2f9587 fixed label popup menu 2015-08-23 11:56:37 -04:00
Paul Licameli
99f490c75f Fix off-by-one errors in allowable ranges for drawing indicator and cursor 2015-08-21 22:47:43 -04:00
Paul Licameli
1b8f44d053 ViewInfo does not redundantly (or inconsistently!) store the screen width 2015-08-21 22:39:18 -04:00
Paul Licameli
a9ab31dedb Allow NULL arguments in TrackPanel::GetTracksUsableArea() 2015-08-21 12:02:48 -04:00
Paul Licameli
e7c7bb84a9 Fix off-by-one width in TrackPanel::GetTracksUsableArea() 2015-08-21 11:49:49 -04:00
Paul Licameli
4b028995cb Fix off-by-ones in drawing of zoom rectangles...
... If one dashed boundary goes through the click point, the other should go
through the drag point, not one next to it.

This applies to zoom in the vertical ruler, and to horizontal zoom with the
magnifier.
2015-08-21 11:32:53 -04:00
Paul Licameli
bc5aed7465 Bug1156, fix inconsistencies in mapping pixel heights to track vertical scales 2015-08-21 11:04:30 -04:00