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

756 Commits

Author SHA1 Message Date
James Crook
c15bbc59db Bug 634 - Timeline does not zoom correctly when playback is paused
Playing + Paused now treated EXACTLY the same as stopped with respect to zooming.
2017-08-11 21:51:50 +01:00
Paul Licameli
c7d949c021 Menu consistency: Previous before Next for tools & clip Move 2017-08-09 11:05:30 -04:00
James Crook
3302455e5f Allow loop play whenever we allow play.
In particular Shift+Space should now loop play a MIDI track.
2017-08-04 14:45:29 +01:00
James Crook
7baf22b9c0 J, K, Shift-J and Shift-K always enabled.
They now just don't do anything if there is no track selected.  (Request from Robert Hänggi)
2017-08-04 14:36:13 +01:00
Paul Licameli
a5594537bb "/DefaultOpenPath" is now in only one place 2017-08-03 08:05:22 -04:00
Paul Licameli
5d48e96942 Where FileSelector was used, default to Documents not cwd; save prefs 2017-08-03 08:02:33 -04:00
Paul Licameli
3e39771c53 MIDI imports, like other imports, are put into recent files list 2017-08-02 11:19:27 -04:00
Paul Licameli
40a4f89243 Bug 1706: Export Midi available whenever MIDI tracks exist 2017-08-01 11:26:07 -04:00
Paul Licameli
f0de38dec1 Scanned for bad naked new; found none; changed comments, used safenew 2017-07-23 09:35:01 -04:00
James Crook
69655a14cd Fix menu item with two &s
Thanks to scootergrisen
2017-07-22 16:14:25 +01:00
James Crook
f38caa55ba Add strings that were not translated.
- A heading in the Edit Chains Dialog.
- Menu Items and submenus.
2017-07-22 11:33:09 +01:00
James Crook
c4a1787bb9 Improve source for generation of .pot file.
"clang " is the name of a compiler and should not be translated.
Other changes here from seeing how translation was actually being done.
2017-07-20 18:55:07 +01:00
Paul Licameli
cfeb7bced1 Zoom to fit after any import (labels, audio, or midi) 2017-07-19 22:10:22 -04:00
David Bailes
c1c19774b4 When a VST effect is opened, the dialog is not the focus.
Problem caused by commit: 79c3bef
SetFocus() is being called when !success.

Fix: Move the call to SetFocus back to its original place in the code.
2017-07-19 14:10:34 +01:00
Paul Licameli
f2deb1cc43 Bug1691: Make Mute and Solo shortcuts for focused track work for Midi 2017-07-17 09:09:51 -04:00
Pokechu22
681161f60b Add MIDI device diagnostics
* MIDI Device Info menu item, like Audio Device Info

 * MIDI device info in crash reports

 * Only enabled with EXPERIMENTAL_MIDI_OUT, but tracks info related to the (unimplemented) EXPERIMENTAL_MIDI_IN
2017-07-16 10:58:53 -04:00
Paul Licameli
c5fc8eef03 Revert "Split lines now only show over middle third of track height."
This was the fix for Bug 800 now considered unsatisfactory.

This reverts commit dc1193a0af83f1d43de5a30aea6b6b09087eea58.

(Some merge resolution was needed)
2017-07-14 23:09:41 -04:00
Paul Licameli
8bf3791edf TrackList constructed only by factory function, to avoid more trouble 2017-07-14 21:55:32 -04:00
Paul Licameli
903cebafe1 Bug1669: Close and Menu buttons should never disappear...
... As they did with Ctrl+Shift+F, with a certain minimimum number of wave
tracks that depends on screen resolution.  On my Macbook, that was 13 tracks.

This bug was a consequence of James' TCP layout changes making buttons a little
taller plus my changes to hide any top controls for which there is not
sufficient height.

The fix makes the height of tracks after Ctrl+Shift+F a bit more (44 pixels
not 40) than in 2.1.3.

This fix also replaces some more "magic numbers" with calculation from
tabled data about TCP layout.
2017-07-14 12:03:16 -04:00
David Bailes
a4f1c2cb9f Keyboard commands for clip boundaries: change to screen reader message
Change to message when clips are next to each other.
2017-07-14 11:19:42 +01:00
David Bailes
5f49892d61 Keyboard commands for moving clips: minor fix
Problem: the commands did not take into account that for a stereo track, the clip boundaries in the two channels can be different.

Fixed.
2017-07-13 16:32:55 +01:00
Paul Licameli
050824f467 Remove some unnecessary #includes 2017-07-12 14:15:16 -04:00
David Bailes
71ac4bb2f5 Fixes for commands to move cursor to or select to clip boundaries
The messages sent to screen readers for these commands were incorrect when stereo tracks were present. This has been fixed, including the case where the two channels of a stereo track have different clip boundaries.
2017-07-11 15:27:33 +01:00
James Crook
e3a822c34d Always Record on a new Track Pref.
Changed pref name, now unticked by default.
2017-07-11 15:07:10 +01:00
David Bailes
71a75fc28d Fixes for commands to select next/previous clip
The messages sent to screen readers for these commands were incorrect when stereo tracks were present. This has been fixed, including the case where the two channels of a stereo track have different clip boundaries.
2017-07-11 11:30:18 +01:00
David Bailes
f0702fb54b 1678: Cursor to track start/end misbehaves when no tracks selected
Problem: With no tracks selected, the commands cursor to track start/end set the cursor position to a silly high value or undefined respectively.

Simple fix: Set the flags on the commands to TracksSelectedFlag, as they were before the menus were reorganised.

Note that after this fix, with tracks present, but none selected, these commands cause a disallowed dialog to open, saying that there was a problem with the last action. I don't know if this behaviour is now expected.
2017-07-07 13:31:48 +01:00
Steve Daulton
bda2e54493 Fix typo in menu name 2017-07-01 18:25:50 +01:00
Steve Daulton
c457ce3bf3 Fix for bug 1673
Separate menu commands for Labels from commands for Labeled audio.
Revert name of "Remove Special" sub-menu.
2017-07-01 13:49:19 +01:00
James Crook
46154d0dca Upgraders to 2.2.0 retain the full set of default shortcuts.
If they delete audacity.cfg they get the new smaller set of defaults.  Also if they explicitly ask for the standard set.
2017-06-30 21:38:20 +01:00
James Crook
dc1193a0af Split lines now only show over middle third of track height.
This allows selection and clicking on split lines to merge clips to act independently.  It also means we don't need a portmanteau explanation in the status line, and the action to select up to a split line is simpler and easier to explain.
2017-06-29 17:04:59 +01:00
Paul Licameli
f3e31eca8b Simplify SelectHandle ctor; make frequency snapping functions static 2017-06-28 21:44:19 -04:00
James Crook
30ec8a1c90 Overdub off by default only in DA. 2017-06-26 19:44:39 +01:00
Paul Licameli
6373a5085c Select, cut, paste, undo: selection should be a point as after cut 2017-06-26 11:13:53 -04:00
James Crook
869de7d6f4 Overdub off by default.
Confused many new users in the past.  Experienced users can be expected to find it in preferences (or on menu) and turn it on, if they need it.
2017-06-26 15:31:11 +01:00
Paul Licameli
21b429e2b5 Update Mixer Board moving Note Track with TCP menu item, if MIDI_OUT 2017-06-24 11:52:12 -04:00
Paul Licameli
e771d6d9b5 Restore a NULL check in OnSplitNew, don't crash if non-wave selected 2017-06-24 11:36:19 -04:00
Paul Licameli
68dfdab843 Store tracks in TrackList with shared_ptr ...
... but still use unique_ptr from track factories and importers.
2017-06-23 15:05:50 -04:00
James Crook
aee04aba23 Bug 1663 - Cut does not remove Quick-Play region.
A perhaps unwanted side effect of this change is that cut also cancels a pause, if there was one.  Does not seem a problem to me.
2017-06-18 12:20:46 +01:00
Paul Licameli
114f5a4a63 Simplify ToolsToolBar::SetCurrentTool 2017-06-16 18:05:08 -04:00
Paul Licameli
770b3b52ef TrackPanel no longer implements the selection tool or MIDI stretch...
This one's big!

Also restores the effect of ctrl-click on label track.

Also adds ESC key handling for the Stretch.
2017-06-15 08:54:59 -04:00
Paul Licameli
674ccc5e15 Clean up last bits of old popup menu code 2017-06-15 08:21:40 -04:00
Paul Licameli
ef38af71dd Move more time-shifting functions out of TrackPanel.cpp 2017-06-15 08:21:01 -04:00
Paul Licameli
b15bf441ec Static TrackInfo slider accessors, const Track* arguments 2017-06-13 14:01:36 -04:00
Paul Licameli
e2d77b399d Move one more selection function out of TrackPanel 2017-06-11 16:14:26 -04:00
Paul Licameli
d834bcdbd1 Move some command handlers for selection and focus out of TrackPanel 2017-06-11 11:03:28 -04:00
James Crook
7341bff9e0 Disallow AutoSelect on dangerous commands.
Commands flagged with NoAutoSelect will not auto select, even if the user has asked for it.  This is used for Cut and 3 different kinds of delete.  We later might extend it to fades and repair.
2017-06-09 22:36:05 +01:00
James Crook
adc7312954 Auto-Select off by default.
I've implemented three states for what to do if no selection:
0 - Grey out (no longer used)
1 - Auto-select
2 - Give the warning message and try again.
2017-06-09 19:40:28 +01:00
Paul Licameli
a33ec61ddf Move code for toggling spectral selection (Q key) out of TrackPanel 2017-06-08 12:48:28 -04:00
windinthew
cb039c200a Wiki wording changes
a) 'Ends to Zero Crossings' to 'At Zero Crossings' and move from Region submenu to
root because this is not only a region command and to aid finding and easy access

b) Draw Tool error message recognises again that the tool works in Waveform (dB)
2017-06-08 01:57:30 +01:00
James Crook
8f66c3603d Screen capture preference panels too. 2017-06-07 15:59:25 +01:00