1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-02 08:59:28 +02:00

35 Commits

Author SHA1 Message Date
Paul Licameli
8be1e8fdad Remove wxArray(Int|Long|Double) except where wxWidgets fns need it 2018-02-21 19:33:31 -05:00
Paul Licameli
228388a63c Follow wxWidgets argument conventions for PrefsPanel factories 2018-02-21 19:21:04 -05:00
James Crook
a019addafb All preferences in scrollers
We now do not need to worry about the preference dialogs getting too big for small screens.
2018-01-17 20:41:40 +00:00
Paul Licameli
c6696f1b49 Move definition of _ and related into Internat.h 2018-01-06 21:03:32 -05:00
Paul Licameli
80a958f8a4 Rewrite empty prompts to ShuttleGUI functions as {} ...
... so we might more easily redefine the type of the function argument,
some other day (not this release)
2018-01-01 22:51:25 -05:00
Paul Licameli
7fd78183d2 Remove needless uses of wxString::c_str() in wxString::Format...
... and similar wx "variadics," which all treat wxString smartly enough that
you don't need this.

Don't need c_str either to convert wxString to const wxChar * because
wxString has a conversion operator that does the same.
2018-01-01 20:34:33 -05:00
Paul Licameli
48202284b2 Change virtual function interface of PrefsPanel 2017-06-25 11:42:20 -04:00
Steve Daulton
e16f6f9221 Add small help button to Prefs pages 2017-05-14 19:02:36 +01:00
Paul Licameli
0ce4fe0b83 Sweep unnecessary wxString copies: prefs 2016-02-22 21:30:42 -05:00
Paul Licameli
df6a7c5464 More uses of safenew for classes we derive from wxWindow classes...
... Also removed some unnecessary deletes of widgets that are managed by parent
windows
2016-02-14 20:39:28 -05:00
Paul Licameli
7c4c45a0d5 "new"->"NEW" in comments, easier to find remaining naked operator new 2016-02-14 18:52:41 -05:00
Paul Licameli
8399effc45 Table-driven construction of Prefs dialog. A factory for each kind of panel...
... and maybe a future plug-in protocol to break compilation dependency on
all of the PrefsPanel subclasses.
2015-07-26 19:41:20 -04:00
Leland Lucius
0ef7ccb1d1 Fix permissions...not sure why this was happening though 2015-05-29 19:49:28 -05:00
Leland Lucius
16e0fe3e12 The real fix for bug #965 2015-05-26 18:16:34 -05:00
Leland Lucius
6ba5eb0a84 Fix for bug #965
Not the best fix in the world, but once "modules" are brought into
the plugin handling, this'll be revised.
2015-05-24 07:11:21 -05:00
Leland Lucius
1c31dfdce1 Resolve gettext message
src/prefs/ModulePrefs.cpp:99: warning: Empty msgid.  It is reserved by GNU gettext:
                                       gettext("") returns the header entry with
                                       meta information, not the empty string.
2015-04-20 01:43:07 -05:00
james.k.crook@gmail.com
6e07efa539 One final instance of 'mods' (in a comment) changed to 'modules'. 2014-10-12 20:18:38 +00:00
james.k.crook@gmail.com
0ff355fb49 Changed mods back to modules again.
Review did not like 'mods'.  Was felt to be too non-standard.  Note that we gained a '?' on a question to the user, an internationalisation hint about the word 'modules' and the words 'the Audacity Manual' (note caps) in making and 'reverting' this change.
2014-10-12 20:15:24 +00:00
windinthew
b7c5a6c271 I think capitalising "The" in the middle of a sentence is wrong, so I'm
just going to change it...
2014-10-12 09:01:17 +00:00
james.k.crook@gmail.com
5b65647b3b 'Manual' with capital M when referring to OUR Manual. 2014-10-11 12:04:44 +00:00
james.k.crook@gmail.com
00d8875fd7 Modules renamed as 'mods' for user.
We previously had both 'modules' and 'plug-ins' and the files are called things like mod-script-pipe.dll.  Three different things.  From a user's point of view it is easier to think of them as modifications to the basic program, like mods in Minecraft.  Hence the name change.  The search path now has 'mods' in it rather than 'modules'.  Didn't see a need to rename the 'Modules' source code as programmers know what modules are and the mods are modules too.
2014-10-11 11:59:04 +00:00
james.k.crook@gmail.com
1cb59ab078 Fix: Flush module prefs after a change.
This ensures that the config file remembers a 'fail to load'.  We set status to fail before loading a module, that now gets written out to the config file because we flush prefs, the dodgy module loads and crashes, and next time Audacity knows it's a fail.  If instead the module loads and does not crash on load, the original status (enabled or ask) is written back to the config file.
2014-10-10 16:13:09 +00:00
james.k.crook@gmail.com
221474e37a Fixed bugs with MultiDialog. Fixed Bug with prompting about modules.
Previously MultiDialog attempted to centre on parent dialog, but there was a NULL parent.  Now the application top window is used. Dialog shows centred, for example when there are missing block files.  If the top window is a WX_STAY_ON_TOP, we move our dialog to the left, as otherwise it would be partially hidden.

Previously Audacity would ask about enabling a module whilst the splash screen was showing.  For some as yet undetermined reason the MultiDialog and Splash Screen are incompatible.  Possibly it's related to doing a ShowModal before a full application exists.  The not ideal workaround is to now delay showing the splash screen until after the modules have been loaded.
2014-10-10 15:36:51 +00:00
james.k.crook@gmail.com
1dee669c1b Updated text and comments.
Added text for user about need to restart Audacity for modules to take effect.  Corrected typo.  Comments now mention more modules and a TODO.
2014-10-10 10:51:51 +00:00
james.k.crook@gmail.com
d36a95b0a2 Module prefs in Preferences no longer experimental.
We do not now prompt about new modules at start up, unless you set a module to 'ask'.  This means we can ship experimental modules with Audacity.  Users can enable them if they want to, but aren't troubled by them otherwise.
2014-10-01 12:06:06 +00:00
james.k.crook@gmail.com
4c0d515dba Added <wx/filename.h> to #includes. 2014-06-13 17:02:37 +00:00
james.k.crook@gmail.com
676cd8b1d4 Add "Prefs.h" into #includes fixing broken build (mea culpa). 2014-06-13 16:58:27 +00:00
james.k.crook@gmail.com
55e6a71fd3 With EXPERIMENTAL_MODULE_PREFS we now have a dynamic list of modules, and we have options, enable, disable, ask, failed, new (=ask once and remember the answer). Without the #define the behaviour is unchanged. We ask about each module each time Audacity runs. 2014-06-12 21:08:14 +00:00
benjamin.drung@gmail.com
277932dccb Remove trailing spaces. 2014-06-03 20:30:19 +00:00
martynshaw99
4ce2643d5f Remove the
// Indentation settings for Vim and Emacs
etc. lines from all files, as Campbell's patch (except for other changes to Languages.cpp)
2013-09-24 00:14:37 +00:00
richardash1981
393129d9b9 fix the line endings on this file, and set svn:eol-style to native so they stay fixed 2013-01-01 15:54:53 +00:00
windinthew
308cef62ae Add a few missing access keys 2012-08-29 06:27:51 +00:00
v.audacity
7954424567 Slight wording change, to specify it's "next time Audacity is started". 2012-07-31 22:48:07 +00:00
v.audacity
5578721c56 grammar niggles, starting with sentence ending with period 2012-07-16 23:03:59 +00:00
james.k.crook@gmail.com
0574c96a4c Start of module prefs. (work in progress). Linux will need the makefile updating. 2012-07-13 21:51:45 +00:00