1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00

2597 Commits

Author SHA1 Message Date
james.k.crook@gmail.com
e42ac43908 Added <wx/version.h> so that the wxCHECK_VERSION will work. 2014-10-18 19:18:35 +00:00
james.k.crook@gmail.com
af649b94e1 c_str()'s for Linux.
[Need to review this for wx3.x]
2014-10-18 18:46:50 +00:00
james.k.crook@gmail.com
e77fa72adc wxMemoryDC needed. 2014-10-18 18:41:56 +00:00
james.k.crook@gmail.com
bffa710ce4 Removed TrackPanel:: prefix so can compile under Linux. 2014-10-18 18:36:34 +00:00
james.k.crook@gmail.com
a6f9f6bc58 Spectral Editing: Using subroutines to shorten code, and more comments in the code. 2014-10-18 16:01:50 +00:00
james.k.crook@gmail.com
4a3fc8f9ec Added two new names to Contributors. 2014-10-18 14:29:50 +00:00
james.k.crook@gmail.com
9884538167 New header files that I missed out from the previous commit (Spectral editing) 2014-10-18 14:25:44 +00:00
james.k.crook@gmail.com
37608c2290 Paul Licameli's Spectral Editing Patch.
This relies on three new nyquist scripts to actually do the editing.  The peak-snapping code in FrequencyWindow has been extracted into a new class, SpectrumAnalyst, to provide peak-snapping in spectrogram too.
2014-10-18 14:19:38 +00:00
lllucius@gmail.com
b84fdb82e1 Looks like accidentially commited this back in 2013.
It should be here and causes problems when committing.
2014-10-18 04:38:46 +00:00
lllucius
0f1d1ad6f9 I missed a few WXWIN variables as pointed out by Rob (RPM) 2014-10-17 17:58:27 +00:00
lllucius
043d776bd1 Just needed to merge the ".user" properties into the main project file
You should now be able to switch between wx2 and wx3 configs.
(For real this time.)
2014-10-17 14:22:09 +00:00
lllucius
5ee1b966dc Provides the debugging settings to allow for wx2 and wx3 switching 2014-10-17 12:40:11 +00:00
james.k.crook@gmail.com
466287b46e Disable splash screen in wx3 whilst we work out what the problem is with showing a dialog and a splash screen at the same time. 2014-10-16 20:23:26 +00:00
lllucius
c512822138 Additional changes for wx3
These are mostly for getting it to build on Linux, but I've
also created new configs in Visual Studio to make it easier
to switch between wx2 and wx3.

For Linux, you have to tell configure where to find the wx3
version of the wx-config script and, since some distros build
wxWidgets v3 against GTK+ v3, you may also need to enable
gtk3 with something like:

./configure --enable-gtk3 WX_CONFIG=/usr/bin/wx-config-3.0

On Windows, I've added "wx3-Debug" and "wx3-Release" to the
existing "Debug" and "Release" configurations.

They depend on you having your WXWIN environment variable
pointing to your wx2 directory and a new WXWIN3 environment
variable pointing to your wx3 directory.  For instance, I
have:

WXWIN=C:\Users\yam\Documents\wxWidgets-2.8.13
WXWIN3=C:\Users\yam\Documents\wxWidgets-3.0.2

Doing this allows you to switch freely among the 4 configurations
without having to get out of Visual Studio and monkey around with
the environment.

The project files will also add the location of the wxWidgets DLLs
to the PATH when running Audacity from within Visual Studio.  They
add %WXWIN%\lib\vc_dll or %WXWIN3%\lib\vc_dll at the beginning
of the PATH variable as appropriate.

I expect that once we convert to wx3 we'll just drop back down to
the normal Debug and Release configurations, but this should make
switching between wx2 and wx3 much easier during the transition.
2014-10-16 16:18:04 +00:00
martynshaw99
4cf7b2665d Paul L's patch for bug 525, which is minimally invasive for fix the problem. 2014-10-14 23:24:37 +00:00
james.k.crook@gmail.com
166a17506d Adrian Wadey's changes to get MIDI_OUT to compile again. 2014-10-14 12:09:58 +00:00
james.k.crook@gmail.com
c68351706b Add include to fix problem in release build with overload void return in thread.h.
(From Andrew Hallendorff, e.mail on audacity-devel, 13-Oct-2014)
2014-10-13 18:33:55 +00:00
james.k.crook@gmail.com
0e659f4cf0 Code to make dialogs early on work in wxWidgets 3.0.1.
A complication is that the 'OnEventLoopEnter()' gets called many times, so we need to only call FinishInits() once.  There is something else not right with the dialog this early on, so for now I have moved it back into the OnAppInit() which works on both wx2.8.12 and 3.0.1.
2014-10-12 22:25:33 +00:00
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
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
stevethefiddle@gmail.com
3b13b78c02 Code optimization and a bit of tidying by Paul Licameli.
No changes to UI or algorithm.
2014-10-12 14:27:22 +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
martynshaw99
ea87902940 Our previous VS and VS 13 may not do the same. 2014-10-12 00:31:36 +00:00
james.k.crook@gmail.com
15d7a1d765 Output file path changed to 'mod' from 'modules'. 2014-10-11 12:11:46 +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
RichardAsh1981@gmail.com
7bf8f2021e commit Gale's patch to consistently use RMS for Root Mean Square values in the UI. Fixes bug 767 2014-10-10 21:18:18 +00:00
james.k.crook@gmail.com
a82940197d Comments, and cleaned up a piece of dead code. 2014-10-10 19:47:58 +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
9d74c49721 Fixed warning about different definitions of the same symbol. 2014-10-10 15:41:18 +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
james.k.crook@gmail.com
f140c0249a Added a comment about an ASSERT that can happen.
Also added a TODO.
2014-10-10 11:11:55 +00:00
james.k.crook@gmail.com
1211725f39 Removed SetStretchy.
It was setting a non-existent column to stretchy.  Did nothing on wx2.8.12.  Was an error on wx3.0.1.
2014-10-10 11:07:44 +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
14e0380444 Fixed some warnings. 2014-10-09 22:12:51 +00:00
james.k.crook@gmail.com
3da033cdb7 Andrew Hallendorff's multithreaded Equalization effect. 2014-10-09 21:52:19 +00:00
stevethefiddle@gmail.com
22019c47dc Updated Vocal Remover GUI to current guidelines.
The effect is functionally identical to the previous version.
2014-10-09 16:26:01 +00:00
lllucius@gmail.com
f02dec76ef Adding SelectedRegion.h to OSX build 2014-10-09 01:04:18 +00:00
lllucius@gmail.com
c31abaa7aa Add new SelectedRegion.h to Linux build 2014-10-09 00:56:51 +00:00
stevethefiddle@gmail.com
2d3441e7e1 Added error message when mono track is selected. 2014-10-08 21:05:49 +00:00
lllucius
532272370c Stupid Leland needs to build on other plats and not assume he got it right. 2014-10-08 13:44:44 +00:00
lllucius
19b9fc5f91 Remove conditional build of DirectX support
With the move to VS2013, we no longer need the DirectX SDK
and, therefore, we can always enable DirectX support.

If an individual user doesn't want DirectX support, they can
always disable it for their private copy.  But, I believe we
will always release with DX support, so it is now on always.

For those that have the DX SDK installed just for building
Audacity, you may now remove it and you should still get
DX support in Audacity.
2014-10-08 03:56:43 +00:00
lllucius
c6faffd731 Further Nyquist Prompt bug fixing from Steve
With the addition of the preview button, it became evident
that if an effect were to return text instead of audio, the
processing loop would not stop properly.

And he also found a case where the debug state wasn't reset
after using the debug button.  If this was following by the
preview button the next time the effect was used, the debug
window would reappear before the preview.
2014-10-08 01:47:01 +00:00
lllucius@gmail.com
77ac0e403b Fix the bad rendering of text on OSX
The problem was because I added double buffering to reduce
flicker on Windows.  But, OSX already does its own buffering
and adding more causes text to be rendered incorrectly.

This happened a long time ago on the track panel and when
Bill gave the screenshot, my aging brain slowly remembered
the cause.
2014-10-07 23:23:40 +00:00
lllucius
08a3c2672c 2nd try at getting the TimeTextControl font correct. 2014-10-07 21:27:55 +00:00
lllucius
6fd448d1be Fix incorrect font setting introduced in r13403
https://code.google.com/p/audacity/source/detail?r=13403
2014-10-07 18:26:50 +00:00
windinthew
4e85bc5148 Fix incorrect translation of "Level" slider in Bass and Treble. 2014-10-07 13:50:32 +00:00
james.k.crook@gmail.com
93f3c3cef1 Paul Licameli's fix for http://bugzilla.audacityteam.org/show_bug.cgi?id=751. modified. Exclude collapsed tracks from the resizing too, not just from computation of the new size.
The original fix silently change sizes of collapsed wavetracks.  That's not visible, but will be seen when they are next unminimized.  To be consistent with the new size calculation, we now only changes the sizes of the unminimized wavetracks.
2014-10-07 07:30:58 +00:00