1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-29 15:09:30 +02:00

1108 Commits

Author SHA1 Message Date
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
Paul Licameli
4f78874978 Break cycle of FileDialog and FileDialogPrivate 2020-05-26 02:05:06 -04:00
Paul Licameli
7fbfc2b292 Finish the job of 30dbdf4, deleting abandoned source files...
... And correcting #include paths, and removing mentions in read-me files, and
correcting CMakeLists.txt
2020-05-25 17:21:05 -04:00
Leland Lucius
a5d765c9c5 Stop using deprecated function 2020-05-24 16:54:15 -05:00
Leland Lucius
30dbdf40a9 Cleaning up lib-src
FileDialog goes into audacity/src/widgets and the mod-* directories go into
audacity/modules.

This leaves nothing in lib-src that isn't a 3rd-party libs or supporting
files.
2020-05-24 16:21:26 -05:00
Paul Licameli
8ce72748bf CommandManager stores only stripped menu names (no & characters)...
... Keyboard preference dialog does not need to repeat the stripping
2020-05-23 22:42:21 -04:00
Leland Lucius
fa878ef05b Adjust ASlider for wx313 2020-05-23 13:08:21 -05:00
Paul Licameli
b81c03c194 Change the menu labels in vertical rulers...
... and recompute popup menu tables that depend on preferences.

The code for labels in the rulers was unsatisfactory because

(1) rescanning and editing the post-translation strings is a hack to avoid, and
(2) separating the hints like "Shift-Left-Click" with a tab character made them
invisible on Mac.  So instead, append strings like " (Shift-Left-Click)"
2020-05-23 13:58:22 -04:00
Paul Licameli
2527bdecaf Add and correct various comments 2020-05-23 06:00:56 -04:00
Paul Licameli
b1cf7e57cb Simplify AButton...
... Don't need another constructor just to do conversions from wxImage to
ImageRoll, which can happen implicitly
2020-05-23 05:43:13 -04:00
Paul Licameli
d373e27840 Remove some unused forward declarations and #include directives 2020-05-23 05:32:01 -04:00
Paul Licameli
7fb4652c88 Remove some unused functions and forward declarations 2020-05-23 05:16:59 -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
Paul Licameli
1b2d4e26ba Consistently compare to translation of "Command" in KeyView.cpp...
... note that "cat" compared with it is concatenated with _("Menu") and
stored in KeyNode::category, which is also compared elsewhere with
CommandTranslated.  So this change in one comparison is the right one.
2020-05-22 13:07:50 -04:00
Paul Licameli
44b30ca4e1 Don't internationalize "e" (introducing numeric exponent) 2020-05-22 13:07:49 -04:00
Paul Licameli
a0045f8772 Remove some macro _ in NumericTextCtrl & substitute-don't-concatenate 2020-05-22 13:07:32 -04:00
Paul Licameli
630bc15fd3 Fix some misplaced i18n-hint comments 2020-05-22 12:48:49 -04:00
James Crook
67849b33ae Bug 2399 - Selection and Time toolbars incorrectly display sample format 2020-04-26 11:04:18 +01:00
James Crook
0a95de6c06 Bug 2241 - Spectral Selection Toolbar displays frequencies 100x too small in some languages 2020-04-20 23:36:05 +01:00
Paul Licameli
23f5811061 Fix uninitialized values 2020-04-20 14:54:04 -04:00
Leland Lucius
6c605c8d6a Stop ASliders from flashing when entered/changed 2020-04-18 16:40:52 -05:00
Leland Lucius
01ccb518fd Bug 2390 - Linux: Nyquist plug-ins with multi-choice widgets are not accessible 2020-04-17 09:54:08 -05:00
Leland Lucius
383000557e Reduce flickering when Time toolbar is huge 2020-04-13 09:49:53 -05:00
Paul Licameli
30ac43e195 Fix more comments ("it's" -> "its") 2020-04-12 18:49:22 -04:00
Leland Lucius
a5db7bbb2b Bug 2318 - Linux: Time Toolbar is needlessly resized too large when accommodating longer time format 2020-04-12 01:14:08 -05: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
Paul Licameli
c001fd97f7 fix comment 2020-03-14 13:47:49 -04:00
Leland Lucius
867775ef99 Looks like FindFocus() on wxGTK can return NULL 2020-03-10 12:56:43 -05:00
Leland Lucius
0e42bd42b6 Bug 682 - Linux: Keyboard Preferences: focus trapped in Search box
Gotta love when the solution is right in the bug report.  :-)
2020-03-10 09:52:58 -05:00