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

9545 Commits

Author SHA1 Message Date
Evropa1
3658032a8d Update ru.po 2018-10-30 18:35:50 +00:00
Paul Licameli
e9d1dfb2dd more const arguments in TrackArtist 2018-10-30 13:42:49 -04:00
Paul Licameli
c101cf3b32 Small widening of the click-to-deselect area below the tracks...
... this should make the division of the TrackPanel area defined in
TrackPanelCellIterator::UpdateRect exhaustive.
2018-10-30 13:03:47 -04:00
Steve Daulton
4f964c359b bug 2017 'offset' was used uninitialised 2018-10-30 15:58:47 +00:00
Paul Licameli
26abe0255d Precautions also in TrackIterRange::StaringWith() as in EndingAfter() 2018-10-30 11:37:08 -04:00
Paul Licameli
74a360f682 Bug2020: Fix sync-lock groupings 2018-10-30 10:54:37 -04:00
Paul Licameli
793949aa29 more comments about TrackIterRange operators 2018-10-30 09:32:29 -04:00
James Crook
cc2c3dc2fc Bug 2016 - Multiple problems with Change Pitch 2018-10-30 12:21:24 +00:00
Paul Licameli
3be57fce49 Bug2015: crash repeatedly append-recording with sync-lock on 2018-10-29 20:35:45 -04:00
Paul Licameli
911840074e Use tab character, not \t in translatable string in .ny file...
... The \t escape is changed to tab by the XLisp reader, but that is not
standard Common Lisp behavior, which would just strip the \ character and leave
t.

xgettext follows standard behavior when making the .pot file, so using \t
caused a mismatch between the catalog and the string actually looked up,
resulting in a translation failure.

There was only one occurence of \t in translatable strings in all of plug-ins.
I left alone the occurrences in non-translatable strings.
2018-10-29 17:23:03 -04:00
Paul Licameli
79cf475c87 Make update_po_files.sh run on macOS...
... BSD version of sed doesn't know -r, but does know -E.

BSD versions of head and tail didn't know --lines= but do know -n.

Also changed the mode to executable and added #! line.
2018-10-29 16:21:37 -04:00
Paul Licameli
9c9bc70e9b Fix sorting of effects below the separator...
... commit 52672ed was a mistake.
2018-10-29 16:21:37 -04:00
Steve Daulton
46a3f91d59 Add some useful path definitions for Nyquist 2018-10-29 20:01:21 +00:00
James Crook
c79d65cdeb Bug 2019 - Scriptables: Set Envelope allows envelope points at zero which can cause NaNs 2018-10-29 19:59:29 +00:00
James Crook
6a4663e19c Use wxGetUTCTimeMillis in preference to wxGetLocalTimeMillis
For internal time-difference test, it is significantly faster, and does not suffer from daylight-saving time shifts.
2018-10-29 19:59:28 +00:00
Paul Licameli
0fbea5f9ea Fix failure of Nyquist to translate some multiline strings...
... Don't trim leading whitespace from source file lines before passing them
to eval.

So when a string in Lisp code is (_ "like
   this")

(the Lisp reader allows embedded newlines in quoted strings),

then the string extracted to the .pot file by xgettext contains the spaces, and
the string literal seen by our Lisp interpreter will also retain the spaces and
match the msgid in the catalog exactly.
2018-10-29 13:49:14 -04:00
Paul Licameli
5dc4185ce2 Leave arguments anonymous, remove unused variables in menu code...
... history window updates itself in response to events.  The intention was to
eliminate all mention of it in edit menu code.
2018-10-29 13:37:24 -04:00
Paul Licameli
87592cc89b Remove unused (and unintended) overload of Items 2018-10-29 13:32:44 -04:00
James Crook
76166135d4 Fix many MSVC compiler warnings. 2018-10-29 13:19:33 +00:00
Paul Licameli
6fe0c6dd45 Slim AudacityProject some...
... move some specialized operations with few uses into menus/
2018-10-28 17:00:54 -04:00
Paul Licameli
50f8579475 Move AudacityProject::DoTrackMute and DoTrackSolo...
... also fixed the bug that muting and soloing from the mixer board did not
update accessibility.
2018-10-28 16:50:01 -04:00
Paul Licameli
51c3541716 Move AudacityProject::RemoveTrack 2018-10-28 16:45:38 -04:00
Paul Licameli
83f504e30f Move AudacityProject::SetTrackPan and SetTrackGain 2018-10-28 16:43:20 -04:00
Paul Licameli
edd23e2634 Move AudacityProject::GetZoomOf* 2018-10-28 16:43:17 -04:00
Paul Licameli
b2ea8ab6e9 Move AudacityProject::EditByLabel and EditClipboardByLabel 2018-10-28 16:30:39 -04:00
Paul Licameli
95cca91eb1 Move AudacityProject::Clear 2018-10-28 16:26:03 -04:00
Paul Licameli
0969d00b1b Comment out an unused UpdatePrefs function 2018-10-28 12:59:58 -04:00
Paul Licameli
b4fc4b9ceb Proper initialization of menu handlers from preferences 2018-10-28 12:58:39 -04:00
Paul Licameli
cda9715ce6 Fix TrackList event propagation 2018-10-27 21:26:07 -04:00
Paul Licameli
70fff4b28b History, Lyrics, Mixerboard windows listen for new events...
... rather than relying on other code to push updates into them.

This simplifies much other code, especially in case of Mixerboard, and
eliminates some #includes, making the code for these special windows more
decoupled from the core.
2018-10-27 18:09:29 -04:00
Paul Licameli
012ea76132 Moved mixer board update code out of class AudacityProject...
... And we don't need GetMixerBoard() any more
2018-10-27 18:01:09 -04:00
Paul Licameli
723cecbeac Mixerboard uses events to detect start and stop of playback 2018-10-27 18:01:08 -04:00
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
cfbe5c0a21 Replace MenuCommandHandler with many smaller classes and source files 2018-10-24 12:20:34 -04:00
Paul Licameli
7c7aab1648 Cleanup of Menus.* after moving most things out of them 2018-10-24 12:20:33 -04:00