1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-25 08:58:06 +02:00

719 Commits

Author SHA1 Message Date
Leland Lucius
0a4cae3a67 AUP3: Remove unwanted explanation from directory prefs 2020-07-29 07:18:21 -05: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
Leland Lucius
e2d6e1cc24 AUP3: Update default/lastused path handling 2020-07-27 14:11:50 -05:00
Leland Lucius
b1beb20ae9 AUP3: Remove obsolete audio file cache 2020-07-01 01:14:10 -05:00
Leland Lucius
cbf1bb558e AUP3: Removes OD code related to project file handling
This removes all of the OnDemand code embedded throughout
    the main codebase. Individual files related specifically
    to OD have been left in place, but removed from the build.
2020-07-01 01:14:05 -05:00
David Bailes
a1cb9c154a Extended import prefs: minor accessibility fixes
In the importer order list, ensure the selected item is also the focus.
2020-06-17 10:35:05 +01:00
Leland Lucius
456177a66d Bug 2470 - Linux/Mac: Modules may not be found if earlier version failed 2020-06-15 20:06:33 -05:00
Leland Lucius
7892e95d39 Fix off-by-one test reported by Henric Jungheim 2020-06-15 15:53:38 -05:00
Leland Lucius
f3d3211558 Bug 2470 - Linux/Mac: Modules may not be found if earlier version failed 2020-06-15 00:51:27 -05:00
Fishbeck, John
d5266912ef "and" -> && "or" -> ||
So Audacity compiles on older Visual Studio 2017.
2020-06-08 22:32:58 +01:00
Leland Lucius
815e655a5e Bug 2470 - Modules may not be found if earlier version failed 2020-06-03 22:35:57 -05:00
binarywisdom
5cec22e8a0 fixed bug 2396. Set button now accounts for the existence of legal shortcuts duplicates. 2020-05-31 18:02:30 +01:00
Paul Licameli
e9f63d43d1 Contexts & i18n-hints suggested by Joachim Huffer (thanks!) 2020-05-28 16:34:00 -04:00
Paul Licameli
0eafcd112b Theme does not depend on GUIPrefs...
...breaks cycle of 6, still Theme in a cycle with ImageManipulation
2020-05-28 05:50:25 -04:00
Paul Licameli
ae9aca8177 Implement member functions of classes in corresponding .cpp files...
... in four cases; not in some other .cpp file.

This is another move that causes the generated graph to reflect dependencies
correctly.

This fixes other large, hidden cycles that involved PrefsDialog.cpp: there was
link dependency on that when PrefsPanel.h was used for the base class.  No
longer.

Also cycles involving TrackPanel.cpp, which contained the default
implementations for TrackPanelCell and related abstract base classes.
2020-05-28 05:50:22 -04:00
Paul Licameli
0c97138840 Include only Registry.h where needed, without CommandManager.h 2020-05-28 05:45:11 -04:00
Paul Licameli
226a80140a Add some unnecessary #include directives...
... They are not necessary to build, but the do indicate some link
dependencies to fix, that were not shown in results of scripts/graph.pl.

The link dependencies exist because the header declaring some name did not
correspond to the .cpp file that defined it.
2020-05-27 19:58:17 -04:00
Paul Licameli
0a00110612 Remove mod-track-panel and all mention of it 2020-05-25 17:21:05 -04:00
Paul Licameli
2c8c5799f6 Correct menu ordering after "Reset Configuration" command, see f5afb28 2020-05-25 14:24:14 -04:00
Paul Licameli
1075f15182 Fix a comment 2020-05-24 12:38:20 -04: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
Paul Licameli
db690d94f7 Remove 27 various macro _ ...
... and supply a few missing translations in Dependencies.cpp

And substitute-don't-concatenate in a few places in Internat.cpp
2020-05-23 08:07:24 -04:00
Paul Licameli
2527bdecaf Add and correct various comments 2020-05-23 06:00:56 -04:00
Paul Licameli
d373e27840 Remove some unused forward declarations and #include directives 2020-05-23 05:32:01 -04:00
Paul Licameli
c44ae15a4d Remove inclusions of wx/filedlg.h 2020-05-22 20:18:51 -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
eb721f33ef Substitute, don't concatenate in user-visible strings 2020-05-22 12:48:49 -04:00
Leland Lucius
aef4eefb51 Force all language catalog names to lowercase
That way it's consistent across platforms.
2020-04-27 08:45:24 -05:00
Leland Lucius
1ca911ed38 Convert all __WXDEBUG__ tests to use new _DEBUG symbol
This symbol is based on the NDEBUG symbol that's automatically
defined by CMake.
2020-04-25 02:36:27 -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
Leland Lucius
8ef0bf3392 Bug 2178 - Mac: Export to (external program) fails with errors 2020-03-26 13:46:22 -05:00
James Crook
89beb0c143 Scrubbing off by default. 2020-03-15 23:15:15 +00:00
James Crook
ce085afb3b Bug 2357 ? - Non-standard behavior when right-clicking on pinned playhead/recordhead
This fix fixes a number of issues with right context menus and the pinned button.
I used bug number 2357 (P2) with a question mark as the reference, as I think after this fix 2357 can be closed, even though the fix does not directly address the reported problem.

- The right context menu is now shorter and has pinned/unpinned in it.
- Two menu items have moved to interface preferences (timeline)
- The pin-unpin button now makes a pop-up menu whether right or left clicked.
- The menu is now in the right place.
- The pop up menu now uses checkboxes rather than the text changing.
2020-03-15 19:53:18 +00:00
Paul Licameli
b9a145f0f8 Keep SHOW_PINNED_POSITION_IN_PREFS compilable 2020-03-14 15:53:51 -04:00
Paul Licameli
c376557011 Keep DEPRECATED_AUDIO_CACHE compilable 2020-03-14 15:09:04 -04:00
Paul Licameli
046ee21e72 Move GetEditClipsCanMove to global function in TracksBehaviorsPrefs.cpp 2020-03-09 11:23:08 -04:00
James Crook
a284f57e39 Remove warning about empty statement.
(thanks to pi1024e)
2020-03-09 14:00:14 +00:00
Leland Lucius
668bcfc82e Bug 2315 - Mac: Keyboard Preferences is unusable until scrolled.
Second attempt with this bug.  I see a pattern emerging for my
"fixes"!!! :-(
2020-03-08 23:18:51 -05:00
James Crook
877ffc3287 Bug 2344 - Windows: Generate Support Data shows info/error message re. language 2020-03-06 12:06:17 +00:00
Leland Lucius
e994141c5f Fix for refresh issue on several preference panes
See bug #2315, but this should be review and removed
after moving to wx3.1.3.
2020-02-25 09:18:51 -06:00
Paul Licameli
127eb56d4e EnumValueSymbols for scale names 2020-02-03 15:34:48 -05:00
Paul Licameli
3b77af5dfc Remove TranslatableStringArray.h 2020-02-02 18:02:32 -05:00
Paul Licameli
93c5bfd86d Remove inappropriate uses of macro _ from commit 9bce51a 2020-02-01 09:45:15 -05:00
Paul Licameli
a333b7d35a Redefine PrefsPanel::Registration with new Registry system...
... preserving the existing ordering of pages with a combination of
preferences and ordering hints
2020-02-01 07:13:03 -05:00
Paul Licameli
2ee8a6440a Initialize ordering preference for Preference dialog pages 2020-02-01 07:13:03 -05:00
Paul Licameli
1664463444 Define registry item class and visitor for Preference pages 2020-02-01 07:13:03 -05:00
Binary Wisdom
9bce51a60e Bug 624: Keyboard Prefs: importing XML file can cause duplicated bindings
The fix follows the agreed behavior (see emails from around October 25) . For the sake of convenience see the agreed behavior below:

_"- first, check the xml-file. If it contains illegal shortcut duplicates, refuse importing. Shortcut duplicates are LEGAL if default settings also have those operations with the matching shortcuts. A refusal to import shortcuts must happen with the message that warns the user of a failure and explains the reason.

if the xml-file looks ok, import the shortcuts. As discussed before, because different versions of Audacity might have different sets of operations with shortcuts, it is still possible to end up with illegal shortcut duplicates for a perfectly correct xml-file. This situation must be monitored. In case of any conflicts, the shortcut from the xml-file is used, and the pre-existing shortcut is wiped clean.
When telling the user the commands which have had their shortcut removed, I think it would be useful to tell the user the name of the command, the shortcut, and and name of the command which still has that shortcut."_

I didn't find a clean way to intercept the imported content before it makes its way to the shortcut preferences, so I had to jump through some hoops right in KeyConfigPrefs::OnImport().
In general, I tried to keep changes minimal.
2020-01-31 11:32:23 +00:00
Paul Licameli
f6e5696146 Most functions defining menus compute once and cache the result...
... Except a few where project or plugin manager state or preferences are
needed to compute the items, so evaluation is delayed, often inside lambdas

Comment "Delayed evaluation" wherever there are exceptions
2020-01-24 18:05:56 -05:00
Paul Licameli
72d8a927e7 Fix Linux build 2020-01-20 07:17:50 -05:00