1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-14 17:14:07 +01:00
Commit Graph

784 Commits

Author SHA1 Message Date
Paul Licameli
37c0c15f12 Replace various calls to _ with XO 2020-05-22 20:45:07 -04:00
Paul Licameli
4d09705a73 Change XO to XXO in many more places, with no effects at all...
... because the two macros have the same expansion, and are both checked for
in the --keyword arguments passed to msgfmt by locale/update_po_files.sh.

This commit makes ONLY such changes, and comments in Internat.h.  It is big
but quite harmless.

The intention is to introduce a type distinction in a later release, by defining
XXO differently.  XXO is used where & characters in strings (for hotkeys of menu
items or control prompts) are permitted, XO where not.
2020-05-22 13:07:50 -04:00
James Crook
20ba353038 Bug 2389 - Residual. Spectrogram needs minimal selection line too. 2020-04-21 17:27:23 +01:00
James Crook
9ad06aeeb1 Bug 2389 - At some zoom levels the light-blue/white selection visual cue disappears 2020-04-21 14:00:46 +01:00
Leland Lucius
7c8bef9467 Bug 2358 - Loop Quick-Play does not scroll when playing 2020-04-18 16:49:06 -05:00
James Crook
5c382be484 Bug 2380 - Residual: Possible to create micro-labels with shift+drag
Shift+Drag of a point could convert the point to a micro range label.
That's fixed now.  Shift+Drag on an existing micro label will now preserve
that label's length, without coalescing the spots.  That's intended, and
is needed for advanced users who use shift-drag to preserve length.
2020-04-17 15:11:27 +01:00
James Crook
0fdce092b3 Bug 2380 - Residual uncollapsing of point label
A rounding error meant that a point label could uncollapse when clicked on.
Calculation of position was done using floats, and not doubles.
2020-04-11 19:07:00 +01:00
James Crook
d4c91c7a65 Bug 2388 - Point label and range label can appear identical 2020-04-11 17:36:50 +01:00
Yuri Chornoivan
d1ada5f08c Fix minor typos 2020-04-11 10:06:24 +01:00
Paul Licameli
61abb87a77 Reviewed all i18n-hint comments...
... Moved many misplaced ones, which msgfmt would not have extracted into
audacity.pot.

Duplicated some of them, to appear with related but distinct msgids.

Added a few new comments.

Deleted one that was no longer needed in ProjectManager.cpp.
2020-04-05 09:00:00 -04:00
James Crook
b16251f0ed Bug 2380 - Enh: Point label micro-range issue 2020-04-04 23:10:07 +01:00
James Crook
a41e16cb1f Update wording per https://wiki.audacityteam.org/wiki/Wording
Also wording on Mac, Command+Click
2020-04-04 16:03:04 +01:00
James Crook
a072e21b77 Bug 2363 - Double-click-selecting a clip partly selects clip before too 2020-03-21 22:54:33 +00:00
Paul Licameli
6cf635fdc1 Keep EXPERIMENTAL_FIND_NOTES compilable 2020-03-14 15:53:51 -04:00
Leland Lucius
8cf40d84c2 Fix legacy build... 2020-03-09 13:15:21 -05:00
Leland Lucius
a7bd7331ac Bug 625 - Track Pan / Gain sliders don't show tool tip on hover 2020-03-09 11:06:07 -05:00
James Crook
efc8f216b1 Clearer code for TimeTrack ruler
(Thanks to pi1024e)
2020-03-09 12:00:20 +00:00
James Crook
836bc36536 Bug 2248 - Multi-view: can get numbers overflowing the Vertical Scale 2020-02-25 13:09:48 +00:00
Paul Licameli
2e314b9dd2 ScrubForwarder pushes and pops itself on the window handler stack...
... Fixing crashes on close of project window seen in some Linux builds of
2.3.3.  The bug began at commit a3b434be1c
2020-02-21 14:15:14 -05:00
Paul Licameli
d06625ba60 Revert "Fix unbalanced event handler push/pop"
This reverts commit 8ac5699fcd.
2020-02-21 12:42:24 -05:00
Leland Lucius
8ac5699fcd Fix unbalanced event handler push/pop
Fix was provided by Hans Petter Selasky with the following comment:

   This is a regression issue after:

   Move the scrub mouse event handler into ScrubUI...

   Where:
      if (mWindow)
           mWindow->PushEventHandler(&mForwarder);

   was removed from the Scrubber() constructor function and
   not from the ~Scrubber().
2020-02-21 10:57:30 -06:00
Paul Licameli
adb46093fa Show drag cursor to rearrange tracks only when there is more than one 2020-02-20 13:41:18 -05:00
Paul Licameli
e4d5eefee0 A tooltip for the sub-view rearranging cursor 2020-02-20 13:25:03 -05:00
Paul Licameli
38bf4f558b Better cursors for open and closed hands 2020-02-20 13:16:13 -05:00
James Crook
0fcb965b15 Revert 72f20d91; Pointer for TCP cursor.
- The TCP cursor is indicating both selection and dragability, so we use the arrow (as UI for tabs does, which are selectable and draggable).
- When actually dragging, we use the clenched fist icon, not the new clenched fist with the fingers cut off icon (aka snowball icon).
2020-02-17 19:17:36 +00:00
Paul Licameli
3b9b0eb5f2 Register Wave Color, Spectrogram Settings popup menu items 2020-02-15 15:58:02 -05:00
Paul Licameli
4d7a9f00a1 Popup menu table for wave track has member function to get the track 2020-02-15 13:52:41 -05:00
Paul Licameli
46f958f376 Use computed registry items for conditionally shown popup menu items 2020-02-14 21:38:07 -05:00
Paul Licameli
ab4751d092 Remove some unused things 2020-02-14 09:43:55 -05:00
David Bailes
d28c2417db Minor fix to my commit e030225
Forgot that the initial speed can be negative.
2020-02-12 14:06:58 +00:00
David Bailes
e0302257c5 Keyboard scrubbing and Play-at-speed: remove initial silence
Currently AudioIoCallback::ScrubState::Get(), inserts a period of silence the first time it's called because at this time Scrubber::ContinueScrubbingPoll() has not been called, and so message.end has not been set to an appropriate value.
In the case of keyboard scrubbing and play-at-speed, the initial speed is already known, so message.end can be set to this value, removing the need for an initial silence.
The start of keyboard scrubbing and play-at-speed are now faster (the latter very much faster).
2020-02-11 15:56:12 +00:00
Paul Licameli
db3543500c Each popup menu item can carry a callback to check or disable it 2020-02-09 23:48:40 -05:00
Paul Licameli
e1e0869e26 Replace some macros for popup menus with function calls 2020-02-09 23:48:40 -05:00
Paul Licameli
8f88aa106e Bug2312: don't crash using Wave Color, Format, Rate sub-menus of TCP 2020-02-08 13:20:18 -05:00
Paul Licameli
d631697321 Reorganize "Wave Color" and "Spectrogram Settings" in TCP menu...
... Now they are treated more alike:

Each is shown or hidden (not enabled or disabled) as the corresponding sub-view
of the wave track is shown or not.

Each has separator lines above and below.

They are shown (one or the other or both) after the choices for sub-views, and
not near the bottom of the menu.

This makes the TCP menu one item shorter in the default case that you view only
waveform.
2020-02-06 17:52:58 -05:00
Paul Licameli
99e3dd5d3f Require an identifier for each popup menu item 2020-02-06 00:52:54 -05:00
Paul Licameli
f68da05c1d PopupMenuTable ctor requires an identifier 2020-02-06 00:52:54 -05:00
Paul Licameli
08b1be5514 Macros describe popup menus' sections, not their separators 2020-02-06 00:52:54 -05:00
Paul Licameli
3517b900b1 PopupMenuTable need not publicize its wxMenu subclass 2020-02-06 00:52:54 -05:00
Paul Licameli
9435e97fb8 Store popup sub-menu caption with its item table 2020-02-06 00:52:53 -05:00
Paul Licameli
1e37172e6d Popup sub-menus don't require ids 2020-02-06 00:52:53 -05:00
Paul Licameli
127eb56d4e EnumValueSymbols for scale names 2020-02-03 15:34:48 -05:00
Paul Licameli
6e57428e47 PopupMenuTable does not need TranslatableArray...
... because the strings in it are TranslatableString, not translated
2020-02-02 17:32:23 -05:00
Paul Licameli
4d43967add Restore commit c1d129ec98 2020-01-31 23:51:12 -05:00
Paul Licameli
2c25a37994 Revert to a465ce0046 2020-01-31 22:34:25 -05:00
Paul Licameli
ffe101f9a2 TransportMenus not link dependent on SelectMenus or Scrubbing 2020-01-31 21:22:47 -05:00
Paul Licameli
9639ba84f4 Reimplement commit 512c27d, fixing menus & shortcut keys on Windows 2020-01-29 13:39:19 -05:00
Paul Licameli
ef41b8f2ee Fix static initialization order problem for more ReservedCommandFlags 2020-01-29 11:24:25 -05:00
Paul Licameli
9093364b8c Fix other problems since commit f6e5696...
... Problem with static initialization order of ReservedCommandFlags, caused
wrong enablement of menu items (at least on Mac), such as Plot Spectrum or
Contrast enabled when there was no selection
2020-01-28 17:49:07 -05:00
Paul Licameli
393a098b69 Store a string identifier in each menu item...
... which is not yet used for anything.

It could be used to describe textual paths for attaching plug-in menu items.

Strings are only path local, not necessarily globally unique, and may be
left empty for separators and for groups that should be transparent to
path identification.

It may also be empty for certain sub-menus, such as those that group effects
according to the changeable criteria in Preferences.
2020-01-24 18:05:56 -05:00