1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 08:09:32 +02:00

1187 Commits

Author SHA1 Message Date
Leland Lucius
217ba2bbec Handle VEL_SLIDER in SliderDialog 2021-02-14 15:55:08 -06:00
Leland Lucius
7356c735ae Bug 1982 - Numeric entry in Play-at-Speed dialog allows entries not supported by the slider or the PAS functionality 2021-02-14 15:47:19 -06:00
Leland Lucius
d21b13a8e1 Bug 2351 - Selection toolbar displays incorrect number of samples beyond 2^31 -1 2021-02-13 12:42:41 -06:00
Leland Lucius
77f3cc5506 Bug 2416 - Mac: Grabbers of other toolbars get "pushed" when dragging another toolbar over them 2021-02-11 22:27:28 -06:00
Leland Lucius
cd359768a6 Bug 2473 - Linux: Numbers on meters have opaque backgrounds 2021-02-11 19:48:32 -06:00
Leland Lucius
11076f00e0 Bug 2446 - ENH: ultra-wide toolbars (Play-at-Speed & Mixer) with reticules and no numbers look far too sparse 2021-02-10 22:46:09 -06:00
Leland Lucius
a7197d7d14 Bug 1901 - Status bar message does not update when Recording or Playback sliders are moved 2021-02-10 13:43:06 -06:00
Leland Lucius
31c0196bb4 Bug 2636 - No thousands separator in Spectral Selection toolbar 2021-02-01 23:22:05 -06:00
Leland Lucius
005ceb31fc Add missing include 2021-01-31 23:43:44 -06:00
Leland Lucius
b9eb3c3b0e Can now retry read protected configuration files
Allow us to have a single error dialog for all cases.
2021-01-31 21:57:18 -06:00
Leland Lucius
da49fe63da Wrap overly long messages 2021-01-31 17:57:32 -06:00
Paul Licameli
ef2c0fca9a Fix assertion violation on shutdown after commit 21296b0 2021-01-31 13:45:34 -05:00
Paul Licameli
3480317ecd Move FileConfig::Warn() into AudacityFileConfig as an override 2021-01-31 11:28:12 -05:00
Paul Licameli
c853450ce0 Hide two-phase construction of AudacityFileConfig in factory function 2021-01-31 11:22:48 -05:00
Paul Licameli
030ba78c5f Demote Get/SetVersionKeysInit from AudacityPrefs into FileConfig 2021-01-31 11:00:34 -05:00
Paul Licameli
05d5f2677c Fix comments, remove unnecessary #include 2021-01-31 08:51:31 -05:00
Leland Lucius
21296b0cf1 New wrapper for wxFileConfig to fix several bugs
Bug 2135 - Audacity crashes if launched with a locked pluginregistry.cfg file
Bug 2651 - If pluginregistry.cfg gets locked while Audacity is active the Plug-in Manager is blocked - with no help
Bug 2650 - Virgin launch fails with no pluginregistry.cfg file created
Bug 1264 - Writing to locked audacity.cfg not reported to user
Bug 2649 - Launching Audacity with a locked audacity.cfg file gives not one but three error messages - and no help
Bug 2652 - User is not warned if they launch Audacity with a locked pluginsettings.cfg file
2021-01-31 04:24:35 -06:00
Paul Licameli
23f32a8319 Remove some unnecessary #include directives 2021-01-30 12:37:47 -05:00
David Bailes
6c44b4fdc0 Bug 2648: Grid accessibility: location can be incorrect.
The focus location provided to assistive technology by GridAx::GetLocation() does not take into account horizontal or vertical scrolling. So if there is any scrolling in either the Metadata or Labels editor, the focus location provided to assistive technology is not the same as the focus location shown by wxWidgets.
2021-01-29 16:25:26 +00:00
Leland Lucius
3e8e5aa1f5 Ensure selected cell in visible 2021-01-27 10:03:33 -06:00
Leland Lucius
e5bb95d6f2 Bug 2083 - Labels Editor has confusing selection interface - can cause wrong labels to be deleted 2021-01-26 12:18:51 -06:00
Leland Lucius
3d632d397d Ensure row selection mode is used in grids 2021-01-25 12:57:33 -06:00
Leland Lucius
0fcf9ffb52 Bug 2083 - Labels Editor has confusing selection interface - can cause wrong labels to be deleted 2021-01-25 01:13:02 -06:00
luzpaz
7a3bdcf3f2
Fix typos (user facing and non-user facing) (#727)
Found via `codespell v2.1.dev0`  
`codespell -q 3 -S *.po,./lib-src -L parm,parms,toke`
2021-01-24 09:46:08 +00:00
Leland Lucius
4b07fbaa8a Bug 2642 - Metadata Editor: Cut and paste does not work 2021-01-23 17:27:31 -06:00
Leland Lucius
50e803a974 Rework of commit b4a0be9
See comments 6-9 in bug #2642 for the problem it caused.
2021-01-22 15:16:38 -06:00
Leland Lucius
b4a0be99cd Bug 1579 - Mac: Cut/Copy from file save dialogs using shortcuts does not work
And Bug 1300 - Mac: COMMAND + V paste limitations in standard file save dialogs
2021-01-21 18:45:01 -06:00
Leland Lucius
171d8cf26c Bug 2613 - Selection bar sample display incorrect in German
This changes the way the decimal point is specified in the
PO files...uses '<' for "," and ">" for ".".

By doing this the translator is free to use "." or "," in the
digits fields as their language requires.
2021-01-12 19:19:44 -06:00
freddii
534359de6c
Fix minor typos (#720)
Co-authored-by: freddii <https://freddii@github.com>
2021-01-12 11:56:09 +00:00
Paul Licameli
58df1342c2 Bug1579 NOT fixed by this...
... but this may be a necessary piece of any fix that might be found.

See also recent commit c67842f525095f100aa662ff59be421545d8bfc4.

wxDF_UNICODETEXT replacing wxDF_TEXT was a necessary but not sufficient step to
fix a cut-copy-paste problem on Mac, and I suspect the same will be true here.

See also commits bbd369df1b3c5860ac1145f221c93972c9bac349 and
9036c001521883300c30c8e2d7ef6775dc00f918 for the commits that introduced this
code.

The partial fix they accomplished in 2.1.3 is no longer working, whether because
of wxWidgets changes, or macOS changes, or both.
2020-12-03 19:39:05 -05:00
Paul Licameli
c5c7a6d08a Fix Mac build 2020-09-14 15:05:42 -04:00
James Crook
b0e931bdd4 Fix compile error on Linux
(pointer to on-stack temporary).
2020-09-14 19:43:58 +01:00
James Crook
caf4eadb97 Help button for many warning messages; Restored warning icon.
The error icon was gone because we are now using the ErrorDialog, which didn't have it.  So added back explicitly.  I decided to go with wxART_WARNING rather than wxART_ERROR because nearly all of these present as warnings.
2020-09-14 17:43:28 +01:00
Leland Lucius
85b4a5376f AUP3: Make suggested directory preferences changes
In addition, I've extracted the wxTextCtrl wrapper from the
TimerRecordDialog intto widgets/wxTextCtrlWrapper.h and made
it the default for ShuttleGui::AddTextBox(). This way readonly
text controls are always included in the tab order.
2020-07-29 00:08:48 -05:00
Paul Licameli
bd6536f3c4 Remove obsolete mentions of blockfiles in comments & incomplete types 2020-07-20 19:03:31 -04:00
Henric Jungheim
639a82a4a0
Be more careful when handling grid keyboard navigation. (#589)
If the grid is empty or does not have a selected cell, the current
row and column must still maintain these class invariants:
   -1 <= current_row < rows
   -1 <= current_column < columns
    if either current_row or current_column is -1, then the other
       shall also be -1

wxGrid uses wxGridNoCellCoords to test for current_row == -1 &&
current_column == -1.  We treat the case where only one
of the coordinates is -1 as if both are -1.
2020-06-29 16:34:50 +01:00
Leland Lucius
e7e27aa7e9 Bug 2478 - Windows: with an empty rules list in "Extended Import" prefs - Tab or Home crashes Audacity 2020-06-15 08:55:38 -05:00
Paul Licameli
04a0eb4370 Fix comments 2020-06-14 13:44:52 -04:00
James Crook
4267ba0490 Bug 2473 - Linux: Numbers on meters have opaque backgrounds 2020-06-09 16:36:15 +01:00
SteveDaulton
fdc978e871 Fix Bug 2469 2020-06-09 13:04:46 +01:00
Leland Lucius
419e152ebd Bug 2403 - Undocking meter toolbars while playing/recording results in a frozen meter 2020-05-31 02:37:07 -05:00
Leland Lucius
8ae8e0f0a5 Bug 2458 - Possible crash when clearing text field in Gain dialog 2020-05-28 20:09:14 -05:00
Paul Licameli
fa4d35296e AllThemeResources.h has a .cpp & doesnt include Theme.h...
... (it used to, via MacroMagic)

This splits a cycle of 8 into 6 + 1 + 1
2020-05-28 05:50:24 -04:00
Paul Licameli
63b9b60542 Let's fix that again... good for Windows and the others too 2020-05-27 22:20:15 -04:00
Paul Licameli
ae966c88cc Fix Windows build broken by a57b63c63 2020-05-27 20:47:53 -04:00
Paul Licameli
4ff0a9d74e Can build for windows without precompiled headers...
... Requires some more wx header inclusions, a renaming of CopyFile (to avoid
colliding with a certain macro changing it to CopyFileW), and an explicit
deletion of a copy constructor and assignment (to avoid generation of
std::vector members for an incomplete type)
2020-05-27 17:36:25 -04:00
Leland Lucius
49c95973cd Try my hand at using XO()
Did I do it right Paul?
2020-05-26 20:51:10 -05:00
Paul Licameli
af26d0438c FileDialogPrivate.* include our Internat.h for macro _ ...
... or (win) just don't use _ when writing to the log
2020-05-26 21:19:29 -04:00
Paul Licameli
2a91f91287 Revert "Break cycle of FileDialog and FileDialogPrivate"...
... It didn't really break the cycle, because there were still indirect
inclusions via AudacityHeaders.h.

This reverts commit 4f78874978975b42a5ca0ffb7175d586875da629.
2020-05-26 15:24:00 -04:00
Paul Licameli
66c5b76573 Simplify public interface of FileHistory 2020-05-26 10:47:47 -04:00