1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 09:09:47 +02:00

3297 Commits

Author SHA1 Message Date
lllucius
d87c6942cd A couple more accessibility changes 2015-01-09 16:07:24 +00:00
lllucius
a6ace4a606 Ignore the key up events after showing the context menu (on Windows only) 2015-01-09 15:27:58 +00:00
lllucius
cdde320f0d Fix startup hangs when opening multiple files on Linux and Mac.
Seem there's either a critter in the wx2812 socket IPC code (the
socket processing was rewritten for the wx3 series) that could
cause Audacity to hang during startup if more than 1 file was
opened at the same time.  It was hit or miss, but more hit than
miss and was likely to occur when opening multiple files in a
file manager.

This fix was to stop using the wx2 IPC code and craft our own
basic startup messaging.
2015-01-09 07:47:28 +00:00
lllucius
945e68ba89 Should fix the single instance detection on OSX
The problem was that different temp directories can
be specified when using Portable Settings.  This caused
the single instance checker to look for it's lock file
in different locations so it was unable to detect that
another instance was running.

This changes the directory for the lock file to be the
user's home directory (which is the default for the checker
anyway).  This allow the user to still specify different
temp directories in the Portable Settings and ensure's 
that only one instance (per user) ever runs.

It now checks the single instance before initializing
preferences since preferences are modified during initialization
which could interere with an already running instance.

In addition, the Mac now uses the DDE IPC startup to 
ensure all files are opened by the single Audacity instance.
Normally this is not needed since we also support the OSX
mechanism for opening by an existing process.  But, that
only works if the exact same Audacity.app is used.  There
are instances when this is not always the case.

I also ran across a problem with language initialization.

Since preferences were initialized before the locale was set,
dialogs would be shown in English.  I've made a change that sets
the language to the system language until the preferences are
loaded and then resets it to the user selected language.
2015-01-07 19:39:44 +00:00
lllucius
70285448c9 Fix for non-responsive timeline and meters after a timer record
The problem is that the fix for bug #334 is a bit over zealous and
blocks ALL application level events instead of just the keyboard events.
This was blocking the new AUDIOIO event from being handled.

I didn't want to monkey with the #334 solution at this time, so the
simple fix was to ensure the progress dialog was going (thus, enabling
appilcation events) was destroyed before attempting to stop the audio
stream.
2015-01-07 00:48:14 +00:00
stevethefiddle@gmail.com
b09c923e92 Fix crash reported by Bill
Steps to reproduce: 
1) Launch Audacity
2) File > New Project
3) Close second (new) project
4) Click Record button - Crash
2015-01-06 18:24:00 +00:00
lllucius
ea112bddc1 Fix crash reported by Steve
Steps to reproduce:
1) Launch Audacity
2) File > New
3) Generate a sound in the new project
4) Open a LADSPA effect
5) In second project: File > Close, don't save changes.
6) In first project, generate a sound.
7) Click "Play" button - crash :-(
2015-01-06 18:01:04 +00:00
lllucius
f60afbb8da Fix disk space checking to prevent error message
The error message only happens in debug builds, but the cause of
the message still happens in release builds.  Basically, the temporary
project directory may not yet be created if the person is only monitoring.
2015-01-06 16:16:01 +00:00
lllucius
5e46430d80 Update keyboard and a11y usage based on DB's suggestions 2015-01-05 16:36:17 +00:00
lllucius
3755e57591 Do not call start/stop if suspended
The RealtimeProcessStart/Stop methods are used to process the
samples for the master effect (the one the user interacts with),
it should be bypassed as well if suspended.
2015-01-05 15:50:45 +00:00
stevethefiddle@gmail.com
c8cabab88b Better fix for bug 802. 2015-01-05 11:07:55 +00:00
lllucius
82b2302921 Fix memleak 2015-01-05 09:15:33 +00:00
lllucius
0a37ca8106 Fix memleak when using text interface 2015-01-05 09:09:00 +00:00
lllucius
cd315f7f1e Do NOT call SetHost() after changing options
This reinits stuff that shouldn't be reinited while actively
previewing.  So, just reload the settings directly.
2015-01-05 09:00:10 +00:00
lllucius
000f353f57 Fix for problem caused by r5527, circa Sep. 2006
The problem was that if the user chose to quit Audacity when
the auto recovery dialog was displayed, Audacity would crash
because the command line was still parsed and any filenames
listed on the command line would still be opened.  But, that
would failed because "quit" processing had already been done.

Anyway, a simple one line fix.
2015-01-05 06:57:16 +00:00
lllucius@gmail.com
baee4cbb24 Do not pass garbage to first Audacity when starting another without args. 2015-01-05 01:03:17 +00:00
lllucius
9ead6d4221 Make the IPC classes wx3 compatible 2015-01-04 21:18:37 +00:00
lllucius
4e8b794452 Fix a conflict between the backported number validator and formatter
When building for wx3 on Linux, the backported number validators
and formatter conflicts with the wx3 version because I never
renamed them.  Crashes during termination would occur because
the wx3 version and our version had different vtables.

I was thinking that we would just be able to delete the
backported version when upgrading to wx3, but since
we've made Audacity specific changes to them we can't
simply start using the real wx3 versions anymore.

Therefore, I needed to rename then to prevent the crashes.
2015-01-04 21:17:16 +00:00
lllucius@gmail.com
22d3719db5 Enabling --with-wx-version parameter to facilitate wx3 testing 2015-01-04 20:02:52 +00:00
lllucius
b9647586af Committing patch from bug #794 2015-01-04 19:44:54 +00:00
lllucius
1201c5abe3 Applying patch from bug #795 2015-01-04 19:41:08 +00:00
lllucius
8bef14df36 Addresses meter accessibility mentioned in bug #33
And also corrects the missing focus rectangle display on
the toolbar buttons on Linux.
2015-01-04 09:24:26 +00:00
lllucius@gmail.com
3a23757e2e All the menu to be opened from the keyboard on the Mac as well. 2015-01-04 02:25:56 +00:00
lllucius@gmail.com
e33723d0e4 Figures Linux uses a differnet keycode for the context menu 2015-01-04 01:05:23 +00:00
lllucius@gmail.com
fcf2a28867 Fix for opening effect while play is active
Stupid Leland didn't test all cases...grrrr!!!
2015-01-03 17:55:36 +00:00
lllucius@gmail.com
38f27a76a1 Fix building on Linux with wx3 and gtk3 2015-01-03 17:10:53 +00:00
lllucius
3a098714d9 Persist looped button across toolbar resets...
...when started from the keyboard.
2015-01-03 11:27:24 +00:00
lllucius
7aa81bc34d Attempt to correct the size of the Set Rate dialog 2015-01-03 10:36:42 +00:00
lllucius
c9cde48f21 Open popup menu under icon when using context menu key 2015-01-03 09:29:42 +00:00
lllucius@gmail.com
c3c458e3fa Compact meters under GTK have same antialiasing issue as OSX 2015-01-03 07:00:39 +00:00
lllucius@gmail.com
16a5876b23 Updates to maketarball.sh
1)  Removed tabs and cleaned up consistency
2)  Added removeal of "win" and "mac" directories which don't do      
    Linux users any good
3)  Added removal of "lv2" directory as a system install of lv2
    and requisites will be used instead
4)  Added removal of "libvamp" directory as a system install of libvamp
    will be used instead
5)  Added removeal of "libsoxr" directory as a system install of libsoxr
    will be used instead
6)  Removed deletion of portaudio-v19/test since it seems to be required
    to build now
7)  Removed Windows project file updating
8)  Reordered the src directory copy so that it is done before any 
    changes are made.  This way if the tarball creation fails, you still
    have a pristine src directory.
2015-01-03 06:56:38 +00:00
lllucius@gmail.com
87a6371ba9 Cleanup aclocal files 2015-01-03 06:12:20 +00:00
lllucius@gmail.com
82d9b91184 Prepping for next release...regenerating build files 2015-01-03 05:57:16 +00:00
lllucius@gmail.com
a1b40ef5e2 Workaround VPATH issue when generating message files
This was in locale/Makefile.in.in, but it would be easy
to accidentally lose those changes by running autopoint.
2015-01-03 03:49:50 +00:00
lllucius@gmail.com
7912b2ce5f Cleanup locale makefiles
This will remove that pesky Makefile.in that would get in
the way when trying to commit.  It doesn't need to be in 
SVN since it is regenerated each build.

And this will restore Makefile.in.in to the unmodified
version there was a risk of losing those changes when/if
autopoint was rerun.

The changes were moved to configure.ac.
2015-01-03 03:47:17 +00:00
stevethefiddle@gmail.com
a13cb99e67 Modernize ';nyquist plug-in' header command.
Ref. QA topic: http://sourceforge.net/p/audacity/mailman/message/33193296/
2015-01-02 15:24:11 +00:00
lllucius
0c00a5f463 SetCursor() is only needed once
Thanks to a discussion with Steve, I went back to the docs
and found that SetCursor() is persistent.  So it doesn't
have to be done in a mouse event handler.  The constructor
is perfectly sufficient.
2015-01-02 14:58:22 +00:00
lllucius
15ac9905ad Do not allow resizer to accept focus. 2015-01-02 14:39:56 +00:00
windinthew@gmail.com
42d1c05e5b 2014 copyright > 2015. 2015-01-02 12:30:35 +00:00
lllucius@gmail.com
3fcaddf69f Fix Linux build 2015-01-02 07:15:16 +00:00
lllucius
aaaac65176 Doesn't support chains 2015-01-02 06:56:13 +00:00
lllucius@gmail.com
aa49817563 Fixes 2 VST issues, an RTP issue, and relaxes an AU restriction
1)  Shell VSTs were completely unrecognized...that is no longer the case
2)  All VSTs will now ALWAYS be initialized and cleaned up from the main
    GUI thread.  I found that some Waves VSTs would freeze Audacity when
    initialized in the audio thread and closed in the GUI thread.
3)  While realtime previewing, it was possible that the wrong slave 
    could be used to process new blocks of audio.
4)  I found that the Waves AUs don't crash on a real Mac (instead of a
    virtual machine), so I removed the "black list" I'd put in just for
    them.  (Something to do with needing full 3D support I think.)

Anyway, #2 and #3 were quite intrusive, so as much RTP testing as possible
would be a good thing.
2015-01-02 05:24:43 +00:00
lllucius
bec5866653 Persist meter state across toolbar resets and fix clipping indicator
This will fix the clipping indicator turning on after a toolbar reset
and, as a bonus, the timers now only run if playing, capturing, or
monitoring.  Will (slightly) reduce the CPU consumption.
2015-01-01 23:29:08 +00:00
lllucius
2e6e110a34 Allow speed slider to persist across toolbar reset 2015-01-01 20:27:29 +00:00
lllucius
6459324b4c Allow selected tool to persist across toolbar reset 2015-01-01 20:05:06 +00:00
lllucius
622b609f91 Allow button state to persist across toolbar reset 2015-01-01 11:46:52 +00:00
lllucius
0c447f3108 These generators don't support chains, so don't say they do 2015-01-01 10:34:48 +00:00
lllucius@gmail.com
02717da3a2 Fix for bug #808 2014-12-30 22:06:46 +00:00
stevethefiddle@gmail.com
3bf763194b Simplify misleading (and dangerous looking) initialisation. 2014-12-30 12:32:15 +00:00
lllucius
f5f3c5135f Make sure display refreshes after audio I/O stops
What looked simple in r13811 was not so simple apparently.
(We REALLY need a gAudioIO->IsCapturing())
2014-12-29 22:28:32 +00:00