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

3954 Commits

Author SHA1 Message Date
Paul Licameli
e39206b81b Clean up conflict markers in commented-out code 2016-07-10 15:36:59 -04:00
Steve Daulton
cad6dc8dd6 include <algorithm> to fix Linux build 2016-07-10 16:59:41 +01:00
Paul Licameli
0857118916 Put labels directly in a vector, not pointers to them...
... but this brings back some "mutable" members, not in LabelTrack, but in
LabelStruct.

To make that go away, and still have the Draw function const, figure out how to
update the label track layout at the right times, outside of the draw function.
2016-07-10 03:21:06 -04:00
Paul Licameli
590d492782 Simplify iterations over labels 2016-07-10 03:21:06 -04:00
Paul Licameli
6e772a3569 Use stl container idioms 2016-07-10 03:21:05 -04:00
Paul Licameli
7c07cb3b42 Avoid repeated subexpressions accessing labels 2016-07-10 03:21:05 -04:00
Paul Licameli
8fefea6d36 Rewrite LabelTrack::SortLabels 2016-07-10 03:21:05 -04:00
Paul Licameli
15bb2f0434 Lower a piece of text box dragging logic out of TrackPanel...
... This might cause more redrawing of label tracks for left click without
Shift, but who cares.
2016-07-10 03:21:05 -04:00
Paul Licameli
815d75b305 LabelTrack::HandleClick rearranged 2016-07-10 03:21:05 -04:00
Paul Licameli
7060dc4088 Simplify cut, copy, paste, delete routines of LabelTrack 2016-07-10 03:21:05 -04:00
Paul Licameli
d99c8abcf2 Various simplifications of LabelTrack code 2016-07-10 03:21:05 -04:00
Paul Licameli
7055a0f7c0 Remove two more unnecessary LabelTrack members; no more mutables! 2016-07-10 03:21:05 -04:00
Paul Licameli
06fd481815 Don't need to delay certain state changes of LabelTrack until drawing 2016-07-10 03:21:05 -04:00
Paul Licameli
7a7379c6fc Label text coordinate calculations don't need a window 2016-07-10 03:21:05 -04:00
Paul Licameli
f01fc64a2d More safenew, const functions, remove unnecessary members 2016-07-10 03:21:05 -04:00
James Crook
d6fb30538f Bug 1377 - Crash after Audacity starts and low disk space warning appears
Very low risk workaround implemented - close and dispose of the splash screen before creating project.
It is pretty clear it is the interaction between two dialogs during AppInit that is the root cause of the problem.
A high risk solution would involve delving into and fixing wx3 internals.

Splash screen will now disappear fractionally sooner than before - the time it takes to create an empty project.
2016-07-09 22:36:48 +01:00
Paul Licameli
c9422aaea1 Bug1438: Fix horizontal scrollbar, while still fixing Bug 1197 2016-07-08 02:16:00 -04:00
Paul Licameli
4f1c8a3f2f Bug1438: Fix horizontal scrollbar, while still fixing Bug 1197 2016-07-08 02:14:47 -04:00
Paul Licameli
e1e1b9b138 Bug1437 again -- don't mess up the counting 2016-07-07 12:07:38 -04:00
Paul Licameli
e13ae7d410 Bug1437: Label Edit wont delete other labels, duplicate other tracks
This refers to the new Edit... command in the popup menu for individual labels.

The label editor can also be reached from toolbar menus, which shows data
for all labels.
2016-07-07 10:57:32 -04:00
Steve Daulton
70e0317daa Time Track scale choice as radio buttons 2016-07-07 11:49:52 +01:00
Paul Licameli
4375010983 Once again permit TAB navigation to pinned head button on Mac...
... But still don't let the ruler accept focus from a click on any platform
2016-07-06 15:54:19 -04:00
James Crook
0f597ae98e Bug 1220: Backslashes wrong for Mac
On Mac the path separator is different.  so conditional code to handle that.
2016-07-06 16:17:40 +01:00
James Crook
07090e691b Bug 1220: Residuals.
Space required in path name.  Also force old names that were set to temp directory to update to ones that aren't on Mac too.
Something to test on Mac -> What happens if suggested directory does not exist?
2016-07-06 16:01:23 +01:00
James Crook
eb32438907 Bug 1220 - OS X: Audacity's temp dir defaults to location that is cleaned up on reboot
Untested on Mac (I don't have one).  Might perhaps even fail to compile.  But 1220 is a P1.  Important enough for our schedule that we clear it now that I am happy enough to risk a 'blind patch'.
2016-07-06 12:10:26 +01:00
windinthew
145a54d4a8 trebmuh's update for French locale 2016-07-05 16:01:06 +01:00
James Crook
101b3ee8cd Bug 50 - Calculation of "disk space remains for recording (time)" incorrect when recording in 24 bit quality
There is a very slight performance cost in using the sample-format set in preferences that does not seem to matter in practice.  That's because the status message is updated infrequently, not every screen refresh, and the actual cost per look up is small.  See http://bugzilla.audacityteam.org/show_bug.cgi?id=1436 for information on slow reading of preferences.
2016-07-05 15:14:27 +01:00
James Crook
18eb2bbc7a Bug 193 - Audacity can't record at > 16-bit under MME or Windows DirectSound
Fix by Uwe and Carsten of DirectSound issue (only).  We can't interrogate for formats, so we use userData to tell PortAudio what the format should be.  I have a 16 bit built in sound device and that continues to function correctly at 16 bit with 24 bit requested.  Unable to test on a 24 bit device.
2016-07-05 11:56:04 +01:00
Paul Licameli
2e63a0ad37 Bug1434 (the crashing part) mixing and rendering a track with gaps 2016-07-04 16:52:02 -04:00
Steve Daulton
4c019a2b03 bug 1415 Display device toolbar on Linux Xfce
Please check on other platforms, including re-launching with
floating toolbars.
2016-07-03 23:43:32 +01:00
Paul Licameli
cc5d1036fa Pinch and spread gestures on Mac touchpad, if EVT_MAGNIFY is defined 2016-07-03 12:14:08 -04:00
James Crook
c93cb1b445 No return value for ClearBar() 2016-07-03 14:39:45 +01:00
Paul Licameli
9dfa646221 Bug1430: Don't crash resetting toolbars with legacy .cfg files 2016-07-03 05:05:01 -04:00
Paul Licameli
db2ee75c0a Fix docking of, e. g., scrubbing toolbar right of device 2016-07-02 13:14:14 -04:00
Paul Licameli
37798bfa6b But don't let that safety negate the fix now! 2016-07-02 13:14:14 -04:00
Paul Licameli
63f9875066 Make previous fix safer 2016-07-02 11:11:41 -04:00
Paul Licameli
28011280d0 Tool bar resizes orig focus at mouse up or ESC key, at least on Mac 2016-07-02 10:48:07 -04:00
Paul Licameli
dab59cb79d Revert "Make tool bar pushbuttons cooperate with Voiceover on Mac..."
This reverts commit acde3d615292a7401597246608596517d7664475.
2016-07-01 17:35:50 -04:00
Steve Daulton
673aecf05d Remove Leveller effect from Linux build 2016-07-01 16:49:49 +01:00
Steve Daulton
7c8d8b64d3 Distortion effect, 'Hard Clip' to 'Hard Clipping' 2016-07-01 11:27:23 +01:00
James Crook
8581229c6f Make BrowserDialog code look more like EffectUIHost code
Specifically in the area of closing a window.  Added mDismissed member which can stop double dismissal.  Perhaps more relevant (?) still do an EndModal IF IsModal() is true.  These changes are in response to feedback from Paul that simply removing EndModal (which seems good on Windows) causes problems (in TimerRecord!) on Mac.
2016-07-01 10:07:02 +01:00
Paul Licameli
acde3d6152 Make tool bar pushbuttons cooperate with Voiceover on Mac...
... Use Command+f5 to start VoiceOver, then control+alt+ left and right arrows
to navigate.

Much better now, but still we need to do something about sliders, meters, and
numeric text controls.
2016-07-01 00:10:06 -04:00
James Crook
21239d19a1 Fix crash on closing help window under Windows.
EndModal was being called for a non modal window.  Need to check the fix is OK on Mac and Linux.
2016-06-30 23:46:34 +01:00
James Crook
ee60ff37ba Fix ASSERT on double-clicked slider input.
Previously you could double click on a slider such as the volume slider to get the expanded/dialog view of it, and then assert when you drag the slider.   This was caused by wx3 error checking printf arguments.  Presumably wx2 did not.
2016-06-30 23:35:29 +01:00
Paul Licameli
5b7dd53add Improve the fix for the Ctrl+F6 cycle 2016-06-30 11:01:46 -04:00
Paul Licameli
81228eac0e Improve the fix for the Ctrl+F6 cycle 2016-06-30 11:00:56 -04:00
Paul Licameli
550d96b1a2 Fix misbehavior after right click in label text 2016-06-30 00:46:54 -04:00
Paul Licameli
625584d99a Bug1431: Undocked toolbars should hide when project window minimizes 2016-06-29 15:13:38 -04:00
Paul Licameli
fe1a0844d0 Correct the disabling of Minimize menu item 2016-06-29 14:38:09 -04:00
Paul Licameli
2beacb5396 Implement "bring all to front" on Mac (really deminiaturizes all)...
... (which is not exactly the standard behavior.)
2016-06-29 14:25:09 -04:00