1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 08:39:46 +02:00

7102 Commits

Author SHA1 Message Date
Pokechu22
1610da4bb3 Re-add automake files for portmidi
These were created by rbdannenberg, in commit
932ca88255a322bff833e3eb4e3931a971aa97d4, but were accidently deleted
later in commit bb63fa0d07dad9a9f02b75eda455576e6e8b4da4 (which updated
portmidi).  I can't say whether they work or not, and even when they were
introduced it was stated that they may be wrong.  But it's better than not
having any automake files at all, and will at least provide a base for
them.

I didn't add some of the sourcefile changes from the first commit (some
were already added to portmidi, and others weren't).  Some of them may be
needed to get building to work (or, we could update portmidi, if there are
any changes upstream).  I also didn't add any of the libscorealign changes
other than one, since libscorealign already had makefiles (other than the
uninstalled one).

These configure scripts may be really old; regenerating them is probably a
good idea.
2017-07-04 07:50:15 -04:00
Pokechu22
724091eb15 Fix missing include for allegro
Allegro, for some reason, does not include <cstring>, which causes compile errors when including the header.
2017-07-04 07:50:15 -04:00
James Crook
9ab40113b7 Bug 1677 - Swap two tracks leads to crash on exit. 2017-07-04 11:56:06 +01:00
Pokechu22
b46abbec62 Keep the current note centered when holding control to zoom 2017-07-04 06:45:21 -04:00
Paul Licameli
776e4dfdab Mismatched return values will cause compiler errors in Xcode build 2017-07-04 06:29:53 -04:00
Paul Licameli
bc281fa7b4 Fix one of the patches to wxWidgets source for Mac...
... an inline function in a header was declared to return bool, but returned
nothing.  Now its type is void.

This function's undefined return value was not used anywhere.
2017-07-04 06:25:35 -04:00
Pokechu22
e7065d9e86 Fix note track status message
'verticaly' isn't a word; it's better to just completely reuse the wave track message.
2017-07-03 18:26:25 -04:00
Pokechu22
b7d6077af5 Implement Shift+Right-click for full extent on the note track VRuler 2017-07-03 18:25:13 -04:00
James Crook
a5df25f762 Bug 1672 - Residual
Now clear the pointer to the screenshot window, if it is closed by some other route.
2017-07-03 21:55:56 +01:00
James Crook
51c5c73b3b Bug 1672 - OS window close button crashes Audacity if Screenshot Tools are open. File > Close hides Screenshot tools and then any closure method crashes Audacity. 2017-07-03 19:48:33 +01:00
Pokechu22
0e21143cee Implement scrolling for the note track vertical ruler
Command zooms in/out, and shift moves up and down.
2017-07-03 14:23:13 -04:00
James Crook
58bd03419a Move Shift+J and Shift+K shortcuts into the standard set. 2017-07-03 17:30:12 +01:00
James Crook
fb26ee9e80 wxCOPY rather than wxINVERT for cursor. 2017-07-02 15:31:04 +01:00
Steve Daulton
cbe554e10a Ensure Nyquist Prompt initialises mName 2017-07-02 12:33:08 +01:00
James Crook
11f9a8bb00 "Hi Contrast" -> "High Contrast" 2017-07-02 09:39:44 +01:00
windinthew
7494afb7d5 Changed two prefs labels partly per suggestion 2017-07-02 01:01:53 +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
Gale Andrews
7c4aa4cfa0 Colon before recording space value, per Wording 2017-07-01 02:33:05 +01:00
James Crook
c38b8c857f Use same cursor colour on Mac/Linux as on Win. 2017-06-30 21:59:11 +01:00
James Crook
0878de1dbb BLACK is the new WHITE (for split lines). 2017-06-30 21:45: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
aa8be0c413 Make it easier to start a new selection at a split line.
If you hover exactly above the split line, you now get a pointing hand icon and status message, allowing you to start a selection at the split line more easily.
2017-06-30 13:17:21 +01:00
Paul Licameli
8f50940b91 Restore turning-off highlighting label glyph when mouse leaves it...
But inelegantly!

It was broken at commit 828d9c3ccd3795bb665aaa59694ad89590d019bc

Nicer solutions in progres...
2017-06-30 00:14:41 -04: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
f6d92ece82 Revert "Update from expat 2.1.0 to version 2.2.1..."
This reverts commit 2b146bf5437b94f2b5493afa8fadfe821adf292b, reversing
changes made to 138c188fb463b475ae5c243e2bc798b9450e6237.
2017-06-29 11:27:12 -04:00
Paul Licameli
f3e31eca8b Simplify SelectHandle ctor; make frequency snapping functions static 2017-06-28 21:44:19 -04:00
Paul Licameli
2b146bf543 Update from expat 2.1.0 to version 2.2.1...
The expat site says versions like 2.1.0 with an odd number for minor version
should be considered "beta".  This is instead "production grade".

This version promises to fix a possible "infinite loop DoS" attack, though
that is unlikely to happen with Audacity which does not download XML content.
2017-06-28 21:16:51 -04:00
Paul Licameli
b8007778f0 Other new files from expat github, probably not needed 2017-06-28 21:16:42 -04:00
Paul Licameli
941ad55140 Update expat sources 2017-06-28 21:16:42 -04:00
Gale Andrews
138c188fb4 Message now says merge to match with Undo History 2017-06-29 01:31:29 +01:00
James Crook
2f3530e1f8 Fix verbosity in status message. 2017-06-29 00:00:50 +01:00
James Crook
a9cbebcb0f Reduce number of shortcuts provided by default.
The full list of shortcuts, the maxList, is still available, and can be set in KeyboardPreferences.
2017-06-28 23:00:02 +01:00
Gale Andrews
17b705f2d8 Status bar help for selecting from a split line
Any ideas for shortening the new message welcome. Sometime, status bar messages want transforming to sentence case as intended.
2017-06-28 17:50:20 +01:00
David Bailes
27f706bb2c TrackPanelAx::SetFocus - minor fix
Fix for bug introduced by commit fb18f6a: mFocusedTrack needs to be updated before the focus event is sent to ensure that when TrackPanelAx::GetState is called, mFocusedTrack is the focused track.
2017-06-28 11:48:09 +01:00
David Bailes
69ab49c3a4 Fix for Audacity crashing when running Jaws on Windows 10 1703
Problem: On Windows 10 1703, with the Jaws screen reader running, additional paint messages are sent to Audacity compared with when Jaws is not running. My assumption is this is probably a Jaws bug. In particular, when a project is closed, ToolDock::OnPaint, and AdornedRulerPanel::OnPaint are called.

Fix: changes ensure that these OnPaint functions can be called without causing a crash.
2017-06-28 10:42:13 +01:00
David Bailes
d8930f00b5 Fix Windows build - simple fix 2017-06-28 09:57:00 +01:00
Paul Licameli
4c2a69cc1e More uses of shared_ptr and weak_ptr to Tracks and TrackPanelCells 2017-06-28 01:47:59 -04:00
Paul Licameli
e424f8e54e TrackPanel::mpClickedTrack is a safe weak_ptr 2017-06-28 01:46:59 -04:00
Paul Licameli
6684c7b9b0 More careful use of weak pointers to tracks in UIHandles 2017-06-28 01:46:59 -04:00
Paul Licameli
e2f0a16839 TrackButtonHandle keeps weak_ptr to the cell 2017-06-28 01:46:58 -04:00
Paul Licameli
b0c6a67c33 TrackPanelMouseEvent stores shared_ptr to cell; some handles too...
... those handles that force a simulated button-up when play interrupts drag,
and can assume that pointers to tracks remain nonNULL and part of the current
project state (not the undo history).

Also pass shared_ptr to Track into more hit test routines.
2017-06-28 01:46:56 -04:00
Paul Licameli
708d84ac22 CommonTrackPanelCell::FindTrack returns shared_ptr 2017-06-27 23:09:35 -04:00
Paul Licameli
b3208ab12d Restore status message "Click and drag to select audio" 2017-06-27 22:35:19 -04:00
Paul Licameli
1c0af82903 Changed hit test priorities; message, cursor for text box mouse-over 2017-06-27 08:34:51 -04:00
Paul Licameli
bce3571372 Redo hit test priorities in TrackPanel...
Zoom tool takes precedence;

Otherwise do special hits appropriate to the track subclass -- and only
WaveTrack here uses Tools toolbar state, and now disallows clicks on things
when they are not drawn because the view is spectrogram;

Finally, default to right button zooming in Multi tool, or to time shift in
that tool, or to selection adjustment in Multi or in Select tool.
2017-06-27 08:26:07 -04:00
Paul Licameli
9e0010ec5f Time track editing requires click on the curve in multi tool...
... and it will also work so, later, in all tools besides Zoom.
2017-06-27 08:26:07 -04:00
Paul Licameli
24ebf27bb6 Cursor change and status message for mouse over label text boxes 2017-06-27 08:16:09 -04:00
Paul Licameli
828d9c3ccd Simplify label track hit tests 2017-06-27 08:16:09 -04:00
Paul Licameli
34da6e6ad3 Mouse-over highlighting of slider thumbs in toolbar & mixer board 2017-06-27 06:38:53 -04:00