1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-13 08:33:51 +01:00
Commit Graph

1805 Commits

Author SHA1 Message Date
james.k.crook@gmail.com
421bc76856 Fix my regression in previous patch: Edges on grayscale should be white, not black. 2014-10-22 22:45:29 +00:00
james.k.crook@gmail.com
3d7dd6c74a Draw dotted lines on frequency selection.
Patch from Paul Licameli, but simplified.
2014-10-22 21:06:15 +00:00
james.k.crook@gmail.com
57544635f9 Changed colours for spectral selection per Steve's suggestion. 2014-10-22 18:46:42 +00:00
james.k.crook@gmail.com
e31644eda8 Fix: Can now drag double height toolbars onto start of last row, even when last row is single height.
I also simplified the code by (a) exiting from a loop as soon as we know the answer and by (b) not treating the initial case of a loop as 'special'.
2014-10-21 16:36:32 +00:00
james.k.crook@gmail.com
2c5d9ef569 Comments and new variables in ToolDocking code. No change to function. 2014-10-21 14:17:42 +00:00
james.k.crook@gmail.com
bdbdf68248 Device and Mixer toolbar switched to LeftToRight order, record then play, for consistency with MeterToolbar. 2014-10-21 10:02:05 +00:00
james.k.crook@gmail.com
c47a140bcb Record on left, play on right. Left-to-right flow. 2014-10-20 20:12:56 +00:00
lllucius@gmail.com
1b993ccd08 Patch provided by Rob (RPM) to resolve many of the wx3 format string assertions
He wanted to help so I asked if he wanted to track them down.  He agreed and
found more than I probably would have.  And he said there were more, but the
rest were questionable and since he works on Windows, wasn't able to actually
test.

I give a few of the ones he did find a go and they do indeed get rid of the
assertions.

(Basically, a 64-bit/32-bit issue, easily resolved with a typecast.)
2014-10-19 03:08:10 +00:00
lllucius@gmail.com
97639c4620 Get rid of build OSX build errors:
/Users/yam/tl/audacity/mac/../src/TrackPanel.cpp:1746: error: '<anonymous enum>' is/uses anonymous type
/Users/yam/tl/audacity/mac/../src/TrackPanel.cpp:1746: error:   trying to instantiate 'template<class A, class B, class DIST> bool within(A, B, DIST)'
2014-10-19 02:46:44 +00:00
james.k.crook@gmail.com
fec5c20c65 Fix warning.
Warning was about deleting an incomplete type.  Needed definition of class Ruler.
2014-10-18 21:18:28 +00:00
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
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
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
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
lllucius@gmail.com
c31abaa7aa Add new SelectedRegion.h to Linux build 2014-10-09 00:56:51 +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
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
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
v.audacity
67bbebc06b Paul Licameli's fix for http://bugzilla.audacityteam.org/show_bug.cgi?id=751. 2014-10-07 06:53:15 +00:00
lllucius
4f81d188f0 Fix release build when using VS2013.
Should probably just get rid of this file now and will probably
do so when I delete the VS2008 project files.
2014-10-07 04:18:22 +00:00