1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-07 15:22:34 +02:00

8902 Commits

Author SHA1 Message Date
Steve Daulton
217c1267bd Add Help button to Export Multiple dialog 2018-08-09 20:49:44 +01:00
James Crook
3d6f3f1866 Fix our custom NumericText controls are scrambled in RTL layout.
Fix is to force them to be LTR (for now).
2018-08-09 19:01:45 +01:00
James Crook
ddd1494e75 Fix crash from following NULL pointer
GetControlToolBar() can return NULL when closing windows/projects.
2018-08-09 18:29:57 +01:00
Paul Licameli
8c486b50f6 Changes via History affect selection exactly as undo/redo...
... I don't know a good reason why they didn't before.  It was ancient (2010)
behavior.

This also means that RollbackState really will properly rollback the selection
too, even when there are redo items.

This simplifies away an odd special case.
2018-08-09 13:22:07 -04:00
Paul Licameli
af81dfa10b Bug1922: updating play indicator when looping with a time track 2018-08-09 13:18:53 -04:00
Paul Licameli
871bc65c8e Fix loop play again (error introduced at 46d7804) 2018-08-09 11:39:51 -04:00
Paul Licameli
6f7eaf7746 Fewer calls to GetActiveProject() in AudioIO.cpp 2018-08-08 17:30:43 -04:00
Paul Licameli
2472b128d3 Fix compilation of EXPERIMENTAL_AUTOMATED_INPUT_LEVEL_ADJUSTMENT 2018-08-08 17:08:54 -04:00
Paul Licameli
197122c7d5 Collect initialization of playback schedule into a function 2018-08-08 16:36:42 -04:00
Paul Licameli
6e4d11e5af Fix loop play 2018-08-08 14:26:32 -04:00
Paul Licameli
cc08cfc9fd Restart of Mixer is same as Reposition at t0 2018-08-08 14:16:17 -04:00
Paul Licameli
46d7804cdf Group some of the fields of AudioIO into PlaybackSchedule 2018-08-08 14:10:21 -04:00
James Crook
adb33f466e Bug 1494 - Strange Pause behaviour with seeking/scrubbing
Now instead of the (strange) Pause, we Stop.
2018-08-08 18:40:16 +01:00
James Crook
0fe2659a7b Bug 1916 - Play at Speed - scrub widget appears unnecessarily 2018-08-08 17:59:18 +01:00
Paul Licameli
175a471261 Remove " == true" 2018-08-08 12:34:47 -04:00
Paul Licameli
fc8783bc74 Put callback in a member function, remove many more gAudioIO-> 2018-08-08 12:30:10 -04:00
Paul Licameli
fc497368a5 Remove needless gAudioIO-> in member functions (AudioIO is singleton) 2018-08-08 12:30:10 -04:00
James Crook
3353780bf9 Bug 1918 - Right to Left (RTL) language cannot be undone using preferences. 2018-08-08 17:21:45 +01:00
James Crook
bf6b47dbb4 Bug 1918 - Left to right (LTR) language selection reverses elements that should not be reversed
This does not entirely fix LTR language support, but dramatically ameliorates the problems originally reported in bug 1918.
2018-08-08 16:33:00 +01:00
Steve Daulton
0162badeff Fix Adjustable Fade preview for stereo tracks 2018-08-07 16:40:55 +01:00
James Crook
0c73bc1356 Bug 1897 - Export corrupts/clears the Recent Files list 2018-08-07 15:53:09 +01:00
Paul Licameli
22f85f244b Bug1917: TrackPanel should keep focus after click or drag...
... though ruler won't, and if you start to drag in TrackPanel but abort it
with the ESC key, that too returns focus
2018-08-07 10:42:38 -04:00
Paul Licameli
3f0b3bf1b8 Try to flash the pin even less at extreme positions 2018-08-07 10:27:37 -04:00
James Crook
9eab948fb1 Bug 1905 - Labels with more than 260 characters fail to load (with no warning) 2018-08-07 11:46:21 +01:00
James Crook
0022e0c06c Bug 1844 - Nyquist effects move subsequent envelope points by selection's length
Also renamed Envelop::Paste to Envelope::PasteEnvelope, since it was hard to find
just its usages, given the many usages of WaveTrack::Paste.
2018-08-07 10:39:18 +01:00
Paul Licameli
511b810fdc Pinned play head can be dragged during transport; dbl-click recenters 2018-08-06 21:58:42 -04:00
Paul Licameli
54807caa1a Correct flashing of the pin when dragged to extreme left or right 2018-08-06 21:58:42 -04:00
Paul Licameli
27dc8ffead Draggable pinned play head, double click to re-center 2018-08-06 21:58:42 -04:00
Paul Licameli
616ff31d04 Allow full screen of negative timeline during pinned play/record...
... (Or when dragging the scrollbar when scrolling left of zero is enabled)
2018-08-06 21:58:42 -04:00
Paul Licameli
1c5e523a1e A preference governs where the pinned head goes, not always exact center 2018-08-06 21:58:42 -04:00
Paul Licameli
b502d88285 Better enum value name 2018-08-06 21:58:41 -04:00
Paul Licameli
3010d3aaa8 More conservative rewriting of status as mouse moves over panels 2018-08-06 21:52:47 -04:00
Paul Licameli
2c28af05e8 Don't hit any TrackPanel or Ruler cells when mouse is out of window 2018-08-06 21:52:46 -04:00
Paul Licameli
74efec9d39 Bug1756 (shouldn't lose record status message) refixed differently...
... Don't let the status message during recording, about remaining disk
capacity, get lost when mouse moves across TrackPanel hit targets or toolbar
buttons.

But, will show those other messages too, only for limited time if the
mouse stops moving; then restore the capacity message.

Needed to correct for unreliability of wxTimer in AudacityProject, as with the
TrackPanel timer, by restarting it sometimes.

The intention evident in previous code was to refresh messages once every 3
seconds.  Should be better realized now.

See also the prior fix at b49e467412337be1d2aa0a3b45ba830b04a625b7
2018-08-06 20:09:39 -04:00
James Crook
cf442759b4 Add AUDACITY_FILE_SUFFIX_EVENT to ExportPCM
This signals a change in the file suffix, and it is received by the Exporter.
However, there is currently no way to change the displayed filename in
the file selection dialog.

This was a step towards a fix for Bug 1355 - "Other uncompressed files" does not (visually) update target file extension according to the chosen "Header" type
2018-08-06 15:56:56 +01:00
James Crook
7a56858f38 Bug 1893 - spurious plug-in reg error message for VidPlayVST32 (and others) 2018-08-06 13:13:34 +01:00
James Crook
901d684c3d Add Max Maisel to contributors (in AboutDialog) 2018-08-06 11:02:57 +01:00
Paul Licameli
bf82eaa4c6 Rewrite time ruler reusing CellularPanel; ESC aborts drags in it...
... And some improvement in prompt showing and hiding of the quick-play
guide line
2018-08-05 17:18:26 -04:00
Paul Licameli
7cfda551dd Move scrub click handling into a UIHandle, eliminate OnMouseEvents...
... And the one-shot hack can be simplified away.
2018-08-05 17:18:25 -04:00
Paul Licameli
153eb63b3e Rest of quick play mouse handling is invoked from UIHandle...
... and ESC key aborts the drag of play region
2018-08-05 17:18:25 -04:00
Paul Licameli
9491605cfc CellularPanel handles save/restore of focus for clicks in ruler...
... This lets the ESC key really work to abort drags
2018-08-05 17:18:25 -04:00
Paul Licameli
c85d2cdfa0 UIHandle objects now implement the context menus for the Ruler 2018-08-05 17:18:25 -04:00
Paul Licameli
0ae7f55fea Manage showing and hiding of quick play guide in CellularPanel base 2018-08-05 17:18:25 -04:00
Paul Licameli
af17e1ff95 Quick-play handle object manages lifetime of SnapManager 2018-08-05 17:18:24 -04:00
Paul Licameli
a70e2284b0 Manage ruler status messages and tooltips in CellularPanel base class 2018-08-05 17:18:24 -04:00
Paul Licameli
ba4ae4f7bd Manage ruler cursor changes in CellularPanel base class 2018-08-05 17:18:24 -04:00
Paul Licameli
ce48ac6307 Enable hit tests; let base class manage capture & release of mouse...
... also make popup menus at right up, not down, for consistency with other
popup menus in TrackPanel

Base class also does the event propagation "hack" for ScrubPoller
2018-08-05 17:18:24 -04:00
Paul Licameli
a853b7a3b4 Skeletal hit test and handle objects for quick play and scrubbing 2018-08-05 17:18:23 -04:00
Paul Licameli
bccb135e30 AdornedRulerPanel inherits from CellularPanel -- hit testing, still to do 2018-08-05 17:18:23 -04:00
James Crook
71005cf125 Add File->Reset Menu Item (#ifdeffed out)
An compile-time optional menu item for checking the ResetProjectToEmpty() functionality.
2018-08-05 21:34:24 +01:00