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

716 Commits

Author SHA1 Message Date
Paul Licameli
954a974422 Changed the conditional compilation for alpha/beta/release...
... In particular, don't put the extra information in MIDI device info for Beta

But still link to the Alpha manual.
2017-09-11 00:10:22 -04:00
Paul Licameli
d7cc85b1e1 Fix an untranslated string, change "Midi track" to "Note Track" 2017-09-04 14:09:56 -04:00
Paul Licameli
faa7d1828a Commands adjusting pan and gain are enabled during transport...
... though they do have a messy interaction with Undo if recording that should
be fixe.

You may get an undo history item that not only restores the gain and pan, but
removes a part of the recording.
2017-08-26 11:37:43 -04:00
James Crook
ce9938787c Use alpha or released or local manual for "help on selection".
Previously this was hard coded to use the online alphamanual.
Some other help-on-errors paths were hardcoded to use the online manual, and did not use local help even if available, so these were changed too.

Also two naming changes in the code:
ShowHelpDialog() became ShowHelp() because it typically shows the help in your browser, only showing the help in a dialog under certain circumstances.
The helpURL parameter became helpPage since it is usually a page name that is then elaborated into a url.
The Link() function became InnerLink().

Some careful http -> https changes made too.
2017-08-25 13:59:16 +01:00
Paul Licameli
a44dbf3a96 Correct the flags for enabling some menu items that were moved...
... See email thread at
https://sourceforge.net/p/audacity/mailman/message/36008688/
for the rationales

The system for specifying conditions for menu items really needs a thorough
rewrite in a future version.
2017-08-23 15:53:57 -04:00
Paul Licameli
ea14a117df Expose the benchmark tool in end-user builds 2017-08-23 11:46:11 -04:00
James Crook
50258c1f21 Bug 1564 - Enh: Don't include empty tooldocks in CTRL + (SHIFT +) F6 cycling 2017-08-17 12:42:36 +01:00
James Crook
12410fb552 Bug 143 - Rogue "Recent &Files" Status Bar entry generated by Effect Menus
Workaround for a bug that is actually in wxWidgets.
2017-08-16 15:27:47 +01:00
James Crook
e7d33e18a7 Bug 1664 - Two shortcut pairs do not work in focused Karaoke window 2017-08-15 23:09:31 +01:00
James Crook
fab1a2778b Bug 753 - Sort Tracks by Name may misbehave with stereo tracks. 2017-08-14 19:58:02 +01:00
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