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

69 Commits

Author SHA1 Message Date
james.k.crook@gmail.com
44808022e1 Split Inits between OnInit() and FinishInits()
This is after reading a note in the release notes for wxWidgets 3.0.0.  We need an event loop running to show a dialog in 3.0.0 (even though the splash screen works without).
2014-10-12 21:57:39 +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
66b3eb3d71 Fixed incorrect use of wxStaticCast.
We need wxDynamicCast because we are casting to a derived type.  wx3.0.1 complains otherwise.
2014-10-10 11:21:01 +00:00
lllucius
bdcefb4850 Preliminary changes for wxWidgets 3.0.1
We can't go to 3.0.1 yet as there are still build issues on
Linux and OSX.  You can get Windows to build, but there's
still some display issues.

These changes should work with wxWidgets 2.8.12 as well, so
we can take our time to get things working properly before
switching over.
2014-10-06 08:10:50 +00:00
lllucius@gmail.com
4965b5a78d Fix bug #737.
The problem was the the splash window was displayed
when the FFmpeg warning dialog appeared.  Just needed
to hide it before deleting the window since the actual
deletion is defered to some time later.
2014-08-04 16:41:27 +00:00
RichardAsh1981@gmail.com
3f49828d37 Standardise on working oof Recording and Playback rather than Input and Output throughout Audacity. Remove some very old junks strings at the same time. 2014-07-21 21:37:53 +00:00
james.k.crook@gmail.com
f4f5d19995 Audacity now 'owns' a client window added by a plug-in. 2014-06-26 17:39:09 +00:00
benjamin.drung@gmail.com
277932dccb Remove trailing spaces. 2014-06-03 20:30:19 +00:00
lllucius
4c771843c2 Rework of the gstreamer importer.
To test on Windows:

1)  Install gstreamer 1.0 devel and runtime
2)  Add an GSTREAMER_SDK environment variable which points to the
    gstreamer base directory
3)  Uncomment USE_GSTREAMER in configwin.h
2014-05-16 17:13:01 +00:00
lllucius
ccf157db84 Translate the "File" menu on the Mac root menu.
(No idea what this was never changed.)
2013-10-28 08:28:49 +00:00
lllucius
5a518256e8 Splash screen title (Audacity is starting up) was not being translated.
It was created before the locale was set.
2013-10-28 07:30:17 +00:00
lllucius
3532ecd7b2 Reworked LV2 plug-ing support.
This enables all platforms to use LV2 plugins in non-GUI mode.  There is
still some work to do, like subgroup handling and better scalepoint
handling.
2013-10-27 11:13:20 +00:00
lllucius
52afa22aaf Removing liblrdf, libraptor, redland, and slv2 in preparation for
conversion to lilv, serd, sord, and sratom.
2013-10-27 08:50:38 +00:00
lllucius
865e22c0ee Bug 637 - Some full and reduced Menu Bar items are not translated
Relocates the translation tables to the bundle

This will change the location of the translation tables from:

<root>
  Audacity.app/
    Languanges/<langcode>/

to:

<root>
  Audacity.app/Contents/Resources/<langcode>.lproj/

  This will allow the menu items to be translated as expected.
2013-10-23 17:41:10 +00:00
lllucius
1fab1cdb21 Bug 337 - New logger class allows log to be initialized immediately without crashing Mac empty project windows
This is an older one...originally from 2011.  Bug says it all, but basically it allows logging
to begin immediately upon startup for all platforms.  And it has multithreading protection, so
it should now be safe to log from the non-GUI threads.
2013-10-23 17:00:28 +00:00
lllucius
d8e3eb4440 Correct initial focus issues and adds a splash screen. 2013-10-18 20:01:41 +00:00
lllucius
450615867e Focus for main Audacity window on Linux broken as of r12667 due to
the change setting focus when it should not have been.

This change restricts focus setting to dialogs only.
2013-10-15 13:13:54 +00:00
lllucius
401ca077e2 Fixes the real issue described by bug #57.
http://bugzilla.audacityteam.org/show_bug.cgi?id=57
2013-10-11 20:00:47 +00:00
lllucius
423ede06cc Fix for bug #658.
http://bugzilla.audacityteam.org/show_bug.cgi?id=658
2013-10-07 23:30:43 +00:00
james.k.crook@gmail.com
4cdf602343 Code to iconize and show temporary window (so that audacity appears on taskbar) made __WXMSW__ only, as it is unsafe (crashes) on MAC. 2013-10-01 10:53:08 +00:00
james.k.crook@gmail.com
aad9d12c39 Shows a taskbar button earlier in initialising Audacity, so that users can find any start-up dialogs like the VST scanning one, if/when they are hidden behind other windows. Fixes point 1 of summary Bug 646. 2013-09-30 20:34:10 +00:00
james.k.crook@gmail.com
4e71dfe030 Changes code style (spaces) to match surrounding code. 2013-09-29 22:05:28 +00:00
james.k.crook@gmail.com
1b6f24337a Removed one TODO comment. Removing gone files from MRU list is already handled. 2013-09-29 12:24:57 +00:00
james.k.crook@gmail.com
f2c3327058 Probable fix for bug 655, file-open failure - solution found by Leland. I'm committing the change and adding comments. A FIXME is now a TODO (i.e. not signalling broken, just a would-be-nice). 2013-09-29 11:52:02 +00:00
james.k.crook@gmail.com
c980a6bdb4 Restored deleted code to initialise save-yourself-call-back pending discussion/decision on value of the code. 2013-09-27 15:35:43 +00:00
RichardAsh1981@gmail.com
6a7da21dec remove various unused #defines and bits of code, patch by Campbell Barton 2013-09-23 20:16:02 +00:00
RichardAsh1981@gmail.com
6758caa5e1 Make a large number of global variables static so they only have file scope when that is all they need. Part of a patch by Campbell Barton 2013-09-21 19:11:41 +00:00
v.audacity
8bd603db70 Leland's import_crash_fix.patch for bug 648 2013-09-16 03:24:46 +00:00
v.audacity
cc876ce7be just some cleanups on FIXMEs and unused method parameters 2013-08-31 05:57:48 +00:00
james.k.crook@gmail.com
dba81b3f1c Cleanup: Fixed lots of trivial MSVC warnings. 2013-08-25 21:51:26 +00:00
v.audacity
c7daafede2 In off-list discussion, Steve mentioned that kdevelop / kate highlighting recognizes "FIXME", but not "FIX-ME", which has been the Audacity convention. This commit changes Audacity code to use the "FIXME" convention (though I've never known it as convention and MSVC doesn't recognize it).
Also, minor change in WaveTrack.cpp in the effort on bug 641. Should have no functional difference.
2013-08-24 20:30:47 +00:00
v.audacity
36361a6b86 Leland's patch to fix http://bugzilla.audacityteam.org/show_bug.cgi?id=543 -- Hope it doesn't have line ending issues. 2013-07-18 03:28:15 +00:00
martynshaw99
37f74e27bb Adding the ability to load 'non-recognised' modules, with a warning to the user (the main point).
Removing duplicate code from LoadModules, at the expense of making  ModuleManager::Initialize more monolithic.

Make MultiDialog a bit more general.

Remove a few warnings.

Some logging has been turned back on when loading libs, we could turn it off again.

To test you could compile mod-nyq-bench and make sure it is available on the bottom of the 'View' menu, then unselect it in the Prefs -> Modules an retry.
2013-06-05 00:35:10 +00:00
martynshaw99
1af35d4168 Removal of all the stuff marked as 'Experimental CLEANSPEECH' about a year ago. 2013-04-29 23:23:14 +00:00
richardash1981
b95918fe52 apply parts of Campbell Bartons patch for cleaning up compiler warnings: add static qualifiers to methods, ensure prototypes match definitions and some whitespace and comment changes 2013-02-22 21:29:19 +00:00
v.audacity
79faef4192 Convert default resampler from libresample to libsoxr. 2012-10-09 02:57:19 +00:00
v.audacity
ebb4f530bb Apparently, wxConfigBase::Write() does not update values for next access on all platforms unless Flush() method is called. Added many calls to wxConfigBase::Flush() to make sure the Rad() calls get the right values. 2012-08-02 06:03:19 +00:00
v.audacity
efaebf27fa Purge ANSI.
Also remove redundant (R) sign from main page in About dialog.
2012-06-23 02:28:04 +00:00
martynshaw99
758a8f65e6 Inserting CLEANSPEECH ifdef's around anything CleanSpeech so that CleanSpeech can be removed easily in the (not to distant) future. The idea is never to turn CLEANSPEECH on, but fix any (unexpected) differences this may make. 2012-04-26 22:57:04 +00:00
james.k.crook@gmail.com
dd97cae3d9 Removed some (hidden) Cleanspeech cruft that had been used to disable effects. Made some static text open to translation. Added more i18n hints (thanks Thomas Breinstrup). 2012-04-05 11:21:15 +00:00
james.k.crook@gmail.com
c85dc5bb87 Fixed missing wxT(). Use logger even in debug builds. 2012-03-22 23:08:39 +00:00
james.k.crook@gmail.com
4403da58ff Don't start logging window in debug builds under windows (we use the MSVC debugger window instead).
Added (commented out) memory leak detection to AudacityHeaders.h
2012-03-19 17:54:52 +00:00
mchinen
642c9d5b82 Remove glib included that conflicts with wxGTK for new glib versions. This glib header is not needed here. Patch by David Timms 2012-03-10 10:54:21 +00:00
richardash1981
08e16c00ad Change the default location of the audacity temporary directory to be in /var/tmp not /tmp, so that files are not deleted on reboot by the OS automation, as suggested by several users on the mailing list. 2011-11-26 17:21:52 +00:00
richardash1981
6362c4377c If this program isn't called "audacity" then don't use ~/.audacity-data/ as the per-user files directory, use the relevant name based on what this program is actually called (if users don't want this, they can get the previous behaviour using a symlink, but you can't emulate this behaviour if you have the other one) 2011-11-26 17:05:50 +00:00
v.audacity
41ed3aaae8 (bug 315, p2)
See http://bugzilla.audacityteam.org/show_bug.cgi?id=315#c22. Attempt to fix problem on Mac. 

Also removed pointless call to wxLog::FlushActive() -- it was before anything was written to the log, so nothing to flush.
2011-11-19 00:56:42 +00:00
v.audacity
59db8d4ad4 See http://bugzilla.audacityteam.org/show_bug.cgi?id=451#c31 and http://bugzilla.audacityteam.org/show_bug.cgi?id=451#c32. 2011-11-16 05:59:48 +00:00
v.audacity
ea1bc0f5a3 Use IPC_APPL where appropriate, rather than duplicating it.
Don't translate the app name in AboutDialog. It's trademarked.
2011-08-26 23:56:44 +00:00
windinthew
9717857b66 Bug 315: Putting AUDACITY_VERSION_STRING at top of log (needs testing on Mac). See discussion at http://bugzilla.audacityteam.org/show_bug.cgi?id=315#c18 2011-08-17 18:29:27 +00:00
mchinen
9a8b53c440 Bug 330 (P2) followup - Make missing aliased warnings 1 per project instead of 1 for all projects 2011-04-02 13:03:02 +00:00