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

379 Commits

Author SHA1 Message Date
Paul Licameli
684bd0285c Replace some unexplained magic numbers with constants, add comments...
... This commit changes no behavior, fixes no bugs
2015-08-21 00:35:04 -04:00
Paul Licameli
9a01c46c69 Fix that comment again... 2015-08-20 16:01:58 -04:00
Paul Licameli
0eca2bb23d Fix an inaccuracy in the comment 2015-08-20 15:58:54 -04:00
Paul Licameli
28239dfa1d Add one big, artistic comment to TrackPanel.cpp explaining the track rectangle 2015-08-20 15:52:56 -04:00
Paul Licameli
a2fbd1e208 Fix unreported bug that made labels jump when clicked on, sometimes 2015-08-20 12:15:48 -04:00
Leland Lucius
cca23724c2 Lost the change when I reverted 2015-08-20 08:24:53 -05:00
Leland Lucius
a80c20c9b2 Revert "Fix ghost image on track panel"
This reverts commit b19ed258e963c9342f0a573a3f054d9a8336f7fa.
2015-08-19 15:37:27 -05:00
Leland Lucius
b19ed258e9 Fix ghost image on track panel
Thanks to David for tracking down the cause, the ghost has
been banished.
2015-08-19 15:29:54 -05:00
Paul Licameli
83f1cb34ed Restore Waveform (dB) to track drop-down menu 2015-08-19 10:21:07 -04:00
Paul Licameli
112d2a903b Rename View Settings... to Spectrogram Settings... and enable it only for...
... spectrogram views, and don't show the Waveforms page.
2015-08-19 10:21:04 -04:00
David Bailes
58dc9ccb2c Fix for TrackPanel not releasing keyboard capture when losing focus.
Previously the TrackPanel didn't release keyboard capture when losing focus.
This led to bugs of this nature, which are now fixed:
1. On a label track, move the cursor to a position where there isn't a label.
2. Press ctrl+shift+f6 to move to the toolbars.
3. Press R. A label is created in the label track, rather than recording started.
2015-08-19 08:46:57 +01:00
Paul Licameli
ebef4aef2f Fix ctrl-mousewheel in vertical ruler of stereo track 2015-08-18 12:07:16 -04:00
Paul Licameli
409cbb2996 Bugs 994, 1030: Scrubbing behavior with pointer outside of the track panel...
... first: suspend scrubbing only when the application is deactivated -- not
necessarily when track panel loses focus; resume when reactivated.

second: click and drag to seek happens only when the pointer is in the track
panel, and either over a wave track, or over no track.
2015-08-18 11:06:53 -04:00
Paul Licameli
716d3252b3 Allow time shift only when mouse x is within bounds 2015-08-17 10:48:48 -04:00
Paul Licameli
141d93bbc0 Ctrl-mousewheel in vertical ruler of waveform dB view varies bottom of scale...
... provided the bottom is visible
2015-08-16 12:18:17 -04:00
Paul Licameli
cf45a58fdc dB range is now in Waveforms preferences and view settings, and ...
... the preference is independent of those in Interface and Recording
preferences, which affect meters, sound activated recordings, time track,
and Plot Spectrum
2015-08-15 18:07:29 -04:00
Paul Licameli
b66ade3a2d compilation warning 2015-08-15 00:02:40 -04:00
Paul Licameli
b22f4484e3 Zoomin the vertical ruler with scroll wheel keeps a fixed center. 2015-08-14 22:28:36 -04:00
Paul Licameli
5d2e877529 Scroll wheel with pointer in vertical ruler zooms in or out for wave track...
... regardless of the modifier keys; and does nothing in other tracks.
2015-08-14 20:34:06 -04:00
Paul Licameli
4cc064df8e Draw scrub speed like cursor or indicator: without a full refresh. 2015-08-13 19:49:09 -04:00
Paul Licameli
9ba6e03bd4 Reorganize code for drawing cursor and indicator, so it can generalize to...
... other things (like scrub speed)
2015-08-13 19:43:20 -04:00
Paul Licameli
fe01d68698 Bug1139: Paused play indicator should repaint when window is reexposed 2015-08-11 14:26:30 -04:00
Paul Licameli
8c0949315b Disable the popup menu for vertical rulers 2015-08-11 10:29:09 -04:00
Paul Licameli
5580aececc Untangle the control flow of mouse event handling in label tracks 2015-08-10 20:02:24 -04:00
Leland Lucius
04d026e5bc Further fixes for keyboard handling
I'm pretty sure this gets all of the currently known issues, including
the SHIFT+M not working, the Play buttons responding to SHIFT and CTRL,
the ESC key canceling drags, and I'm pretty sure it even fixes
but #784.
2015-08-10 13:15:15 -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
Steve Daulton
9e0c0d1b34 Update Spectrogram label
http://bugzilla.audacityteam.org/show_bug.cgi?id=1089#c2
2015-08-09 22:03:04 +01:00
Paul Licameli
9a53625ceb Bug1134: Click and drag to move a track should make only one undo item 2015-08-08 18:55:31 -04:00
Paul Licameli
ad7c87359a Bugs1133, 1135: Only left click in track control panel should select track...
... or (with shift) de-select it, or (with drag) rearrange the track sequence.
2015-08-08 18:47:36 -04:00
Paul Licameli
17bfd6cfde Bug829: Only the clips that really moved vertically should change their rate 2015-08-08 18:16:48 -04:00
Paul Licameli
17e3bf7b09 Bug752: yellow snap lines should erase when mouse-up is not over a track 2015-08-08 16:35:49 -04:00
Paul Licameli
cfdbc35990 Bug 1132: Time shift should not snap to starting positions of moving labels 2015-08-08 16:10:33 -04:00
Paul Licameli
ed277ec477 Bugs 1069, 1131: Time-shift of label tracks works as you would expect...
... and time-shifting of any track continues even when mouse drags over the
empty space
2015-08-08 13:00:40 -04:00
Paul Licameli
004218fb07 Bug1065: consistent moving of the selection in time shift 2015-08-08 12:25:54 -04:00
Paul Licameli
65dab6e109 Bug1067: don't show impossible snap positions for time-shift 2015-08-08 11:34:40 -04:00
Paul Licameli
bf679b7d6b Bug1066: never make yellow snap lines when ctrl-dragging clips up and down 2015-08-08 11:21:57 -04:00
Leland Lucius
79b3d4d7ad Works around "some" of the OSX drawing issues
This is related to a possible wx3 issue:

http://trac.wxwidgets.org/ticket/17091

But, there's still quite a few more to resolve.
2015-08-08 00:24:52 -05:00
James Crook
2af3a8ca7e Make "Draw Tool" translatable. 2015-08-05 21:26:05 +01:00
Paul Licameli
1eb3ebe2e0 In time track popup menu, shorten "Set &Range..." to "Range...", which...
... is consistent with the shortened "Rate..." and "Format..." for wave tracks
2015-08-04 13:02:10 -04:00
Paul Licameli
b0de2fa900 Show only the channel-related menu items appropriate to mono or stereo, and...
... Changed accelerators to avoid conflict:
for mono tracks, R&ight
for stereo tracks, Split Stereo to &Mono
2015-08-04 13:00:46 -04:00
Paul Licameli
eeaaadb530 Merge branch 'master'
* master:
  fewer #includes in TrackPanel.cpp
  Fix spacing on comment
  Add output gain control to Phaser effect
  Add output gain control to Wahwah effect
  Bug1115:  click below vertical ruler deselects track now, just as...
  Rename some variables
  Save overwrite choice in Export Multiple
2015-08-04 12:26:22 -04:00
Paul Licameli
db896e6511 Revert "Show only the appropriate channel-related track menu items for mono or stereo."
This reverts commit 7b737a99c7d0cb76c3b45137bce1d37a9f7d93f2.
2015-08-04 12:23:50 -04:00
Paul Licameli
6d18e3681a fewer #includes in TrackPanel.cpp 2015-08-04 01:23:51 -04:00
Paul Licameli
9bbbf555c5 Bug1115: click below vertical ruler deselects track now, just as...
... clicks below the control panel or the track area do.
2015-08-03 16:56:03 -04:00
Paul Licameli
971fd38615 Rename some variables 2015-08-03 13:50:49 -04:00
Paul Licameli
7b737a99c7 Show only the appropriate channel-related track menu items for mono or stereo. 2015-08-02 14:29:56 -04:00
Paul Licameli
60983f6bf7 Revert "Cascade the four move commands of the track control menu..."
This reverts commit 413edf2820a861737efc920df97d8d9d82e4987e.
2015-08-02 13:27:23 -04:00
Paul Licameli
d6b76e3589 Revert "Make a Channels sub-menu, and change accelerators to be more mnemonic..."
This reverts commit cc08bba27a8ae4c6d30387c13f35a8edd434e663.

Conflicts:
	src/TrackPanel.cpp
2015-08-02 13:27:22 -04:00
Paul Licameli
0c8ee32050 Revert "Channel cascade -- yes. Move cascade -- no."
This reverts commit d0071fc92ed049ef17119f35f42b440705e3a718, reversing
changes made to 5a4d28dba3a7957d4857ae866b3e6d3e0b526c16.
2015-08-02 13:17:56 -04:00
Paul Licameli
03788a58a6 Channel cascade -- yes. Move cascade -- no. 2015-08-02 04:50:39 -04:00