1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-09 21:11:11 +02:00

5776 Commits

Author SHA1 Message Date
Paul Licameli
ac2730170d Import and Export are methods of LabelStruct 2016-07-10 20:02:14 -04:00
Paul Licameli
519f4d6cf6 Simplify the label import routine 2016-07-10 20:02:14 -04:00
James Crook
6062fd08dc Merge pull request #140 from yurchor/master
Update Ukrainian translation
2016-07-10 23:29:16 +01:00
James Crook
4374757caa Merge pull request #138 from scootergrisen/patch-2
Update da.po
2016-07-10 23:24:17 +01:00
Paul Licameli
2543eacd94 Bug1442: fix cyclic TAB navigation among labels...
... with this small difference from 2.1.2 behavior:  when no label is
highlighted, the selection becomes empty.
2016-07-10 17:23:26 -04:00
Paul Licameli
84c0337aba Fix TAB key navigation on Mac for all dialogs (not only for panels) 2016-07-10 17:12:27 -04:00
Paul Licameli
e0f6ed9972 Rewrite wxPanelWrapper passing the base class as a template 2016-07-10 17:12:27 -04:00
James Crook
0a16141ee5 Flag PortAudio and PortMixer unhandled error returns. 2016-07-10 21:40:49 +01:00
James Crook
763485b0dc Add error check comments.
These are places where we don't properly handle error returns.
2016-07-10 21:40:48 +01:00
Paul Licameli
c8d5905bd3 Clean up conflict markers in commented-out code 2016-07-10 15:37:32 -04:00
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
adb4ba3f04 Various cleanups of label track code, no changes of behavior...
... this includes eliminating one indirection in accessing them
2016-07-10 04:03:03 -04: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
windinthew
757af1c33e Update copyright year 2016-07-03 17:33:21 +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
windinthew
6aac29596c Remove Leveller from Windows project files 2016-07-03 16:09:01 +01: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