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

6647 Commits

Author SHA1 Message Date
Paul Licameli
1fc4c5724e MixerBoard no longer needs update at undo push...
... it does that sooner, and ony when needed, when relevant track data really
change, by listening to the TrackList.
2018-10-27 18:01:08 -04:00
Paul Licameli
ccc2bbe3ef MixerBoard listens for events for track sliders, mute, solo, name 2018-10-27 18:01:08 -04:00
Paul Licameli
5ab2faceea MixerBoard listens to TrackList for insert, delete, permute...
... Which is also sufficient to detect undo/redo/rollback

And detects more often than undo state changes, so that if you drag a track
in TrackPanel, the same permutation is seen at once in MixerBoard, even before
button-up
2018-10-27 18:00:52 -04:00
Paul Licameli
7150d43083 MixerBoard listens to TrackList for selection changes 2018-10-27 16:27:53 -04:00
Paul Licameli
96d104cb38 Lyrics panel listens; AudacityProject not responsible for updating it 2018-10-27 12:52:06 -04:00
Paul Licameli
ad8fafa6a0 History window listens for events 2018-10-27 12:52:06 -04:00
Paul Licameli
dbcf8ae59b AudacityApp emits an event when the global clipboard changes 2018-10-27 12:52:06 -04:00
Paul Licameli
cee0d35da2 UndoManager emits events when state changes 2018-10-27 12:51:59 -04:00
Paul Licameli
4f7d308ca3 Some inversion of control flow when popping Undo state 2018-10-27 11:31:42 -04:00
Paul Licameli
2741d58880 TrackList emits more events for certain changes of state of tracks...
... Also rewrote some of the existing event handling so all events from
TrackList are of the same, custom event class, and distinguishing addition
from resizing events, though this distinction is not yet used
2018-10-27 11:31:42 -04:00
Paul Licameli
ca4c9b81fc i18n hints and fix one missed translation 2018-10-25 04:15:18 -04:00
Paul Licameli
38f97349f5 Don't form translated strings with concatenation 2018-10-25 04:13:44 -04:00
Paul Licameli
303553ae4e Take class AdornedRulerPanel out of src/widgets...
... It's not a utility widget like RulerPanel.  It has a lot of application
specific logic in it.
2018-10-24 15:04:41 -04:00
Paul Licameli
492a44894b Move MenuManager functions out of Project.cpp 2018-10-24 15:04:41 -04:00
Paul Licameli
7b67bc053e Fix the P key to Pause 2018-10-24 15:03:19 -04:00
David Bailes
5eb670fd63 Fix windows build: problem with path of an include.
Problem: the line

Should be "..Menu.h", and this is already included.
2018-10-24 19:20:18 +01:00
Paul Licameli
193c4ae4c2 Remove unused things and obsolete comments in Menus.* ...
... This includes all that remained of MenuCommandHandler
2018-10-24 12:20:31 -04:00
Paul Licameli
e048a4aacd Move a static function and an enumeration out of MenuCommandHandler 2018-10-24 12:16:46 -04:00
Paul Licameli
800f6500ba No more member definitions of AudacityProject inside Menus.cpp 2018-10-24 12:16:46 -04:00
Paul Licameli
64b6493bec Help Menus 2018-10-24 12:16:45 -04:00
Paul Licameli
574fc7f2ec Extra Menus 2018-10-24 12:16:45 -04:00
Paul Licameli
4a8a30f1a9 Navigation Menus 2018-10-24 12:16:45 -04:00
Paul Licameli
c7521b211d Window Menu for Mac 2018-10-24 12:16:44 -04:00
Paul Licameli
9759c6bd4f Plugin Menus 2018-10-24 12:16:44 -04:00
Paul Licameli
1be1217d1d Tracks Menus 2018-10-24 12:16:40 -04:00
Paul Licameli
903b42f84a Transport Menus 2018-10-24 12:16:35 -04:00
Paul Licameli
c65fd0ebe1 View and Toolbar Menus 2018-10-24 12:16:35 -04:00
Paul Licameli
fb8b5029e5 Select and Clip Menus 2018-10-24 12:16:33 -04:00
Paul Licameli
2792faa114 Edit and Label Menus 2018-10-24 12:14:05 -04:00
Paul Licameli
4d6cad8ebc File Menus 2018-10-24 12:14:01 -04:00
Paul Licameli
3308054170 14 new, empty .cpp files in src/menus 2018-10-24 11:04:06 -04:00
Paul Licameli
280e8d9bac Some machinery to add more menu handler object classes...
...without adding linkage dependencies to AudacityProject constructor
2018-10-24 11:02:33 -04:00
Paul Licameli
b7f35609ad Clarify inheritance of MenuCommandHandler 2018-10-24 11:02:33 -04:00
Paul Licameli
8ca9edc2a4 Move some label editing functions into class LabelTrack 2018-10-24 11:02:33 -04:00
Paul Licameli
d1e2ec3b0f Remove some uses of MenuCommandHandler outside Menus.cpp...
... where the functions were simple call-throughs to something else
2018-10-24 11:02:32 -04:00
Paul Licameli
7b422afda5 Some further factoring of the menu building functions 2018-10-24 08:52:03 -04:00
David Bailes
5494185a88 Dialog for the name of a label: positioning fixes
Problems fixed:
1. When adding a label at playback position, the position of the dialog was calculated using the position of the edit cursor
2. When adding a label at selection, the dialog could be to the left of the Audacity Window, and indeed offscreen.
2018-10-24 11:07:17 +01:00
Steve Daulton
d716b61b1e Increase precision for doubles/string conversion
Required so that the Select: command has reasonable precision
on tracks longer than 17 minutes.
2018-10-23 20:28:43 +01:00
Paul Licameli
df3c2a7b2f Don't mutate uninitialized Maybe 2018-10-23 06:02:19 -04:00
Paul Licameli
48a1538b37 Comment, to deter repeat of the mistake corrected in the last commit! 2018-10-22 20:02:33 -04:00
Paul Licameli
2b8c4aa816 Fix the binding of ngettext in XLisp 2018-10-22 19:58:13 -04:00
Steve Daulton
388cf47a92
Update SetLabelCommand.cpp
SetLabels: command may put labels out of order, so sort them after.
2018-10-22 17:59:14 +01:00
Paul Licameli
d40dfa2de2 More comments explaining the C++11 exotica 2018-10-21 12:46:41 -04:00
Paul Licameli
78656f6543 Define table for Help menu 2018-10-21 12:16:30 -04:00
Paul Licameli
611ab0cc91 Define table for ungrouped Extra commands...
... and finish replacement of the old Extra menu code
2018-10-21 12:16:30 -04:00
Paul Licameli
2d03524760 Define table for Extra Scriptables II menu 2018-10-21 12:16:30 -04:00
Paul Licameli
f8379e2109 Define table for Extra Scriptables I menu 2018-10-21 12:16:29 -04:00
Paul Licameli
700eca1c9c Define table for Extra Track menu 2018-10-21 12:16:29 -04:00
Paul Licameli
b13e0e641d Define table for Extra Cursor menu 2018-10-21 12:16:29 -04:00
Paul Licameli
9b3f1a1335 Define table for Extra Focus menu 2018-10-21 12:16:29 -04:00