1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-08 22:23:59 +01:00
Commit Graph

5182 Commits

Author SHA1 Message Date
James Crook
aee0c4cbc6 Fix for broken build (::None)
None clashed with something else under linux, probably a macro expansion.
2017-08-03 17:25:12 +01:00
James Crook
dddac6e47d Bug 1707 - MIDI Loop Play misses first few notes on looping.
The problem was that Audacity did not refill its buffers until the note-off of the last note played.  That was (in the James Bond case) 2.9s after the end of the loop.  The fix was to not add note off events after mT1 and instead use gAllNotesOff.
2017-08-03 14:34:54 +01:00
Paul Licameli
a3c4c5afb5 Bug1705: .gro files should open by drag and drop 2017-08-03 08:19:11 -04:00
Paul Licameli
a5594537bb "/DefaultOpenPath" is now in only one place 2017-08-03 08:05:22 -04:00
Paul Licameli
e3efc98a55 Remove the last defaulting to cwd 2017-08-03 08:05:22 -04:00
Paul Licameli
af447a87c3 Remove another use of cwd for default opening paths 2017-08-03 08:05:21 -04:00
Paul Licameli
5f7353af66 Chain export commands: no cwd; use the default export path, not open 2017-08-03 08:04:47 -04:00
Paul Licameli
5d48e96942 Where FileSelector was used, default to Documents not cwd; save prefs 2017-08-03 08:02:33 -04:00
Paul Licameli
a9d4c2c05b Defaulting of file paths to Documents is defined in just one place 2017-08-03 08:02:19 -04:00
Paul Licameli
d7ac0d30db Fix some missed internationalizations 2017-08-03 07:04:42 -04:00
Paul Licameli
3e39771c53 MIDI imports, like other imports, are put into recent files list 2017-08-02 11:19:27 -04:00
Paul Licameli
560a1e88ed Bug 1608: Don't crash editing parameters of LV2 effect in a Chain 2017-08-01 12:24:29 -04:00
Paul Licameli
40a4f89243 Bug 1706: Export Midi available whenever MIDI tracks exist 2017-08-01 11:26:07 -04:00
Paul Licameli
5bdac8b4d7 Bug1698: don't use 0 for menu item ID on Mac (assertion in wxWidgets) 2017-08-01 10:03:47 -04:00
James Crook
6cb6652464 Fix Linux: triple height Selection Toolbars 2017-07-29 17:39:33 +01:00
Paul Licameli
4a28645869 Fix bug found by Bill Wharrie in hightlighting of labels 2017-07-28 22:54:36 -04:00
James Crook
00f6ee2fc3 Const 'fix' no longer needed, thanks to Paul's fix.
Paul's change to DYLD_LIBRARY_PATH initialisation fixes the const issue.
2017-07-28 14:49:56 +01:00
Paul Licameli
e359383d3b Mac: Don't execve in main or fork & crash to evade its ill effects...
This at once reverts fixes for bugs 543 and 290;

290 being a problem loading libraries,
543 being a minor problem with the fix for 290, resulting in a rewrite of the
fix, but this rewrite having bad consequences, as in bugs 1567 and 1703.

See discussion in bug 1702 for the detailed history

See also commits
a05d039055 (fork and crash)
36361a6b86 (introduced execve)
2017-07-27 12:22:30 -04:00
James Crook
00f865860e LightTheme fix, but without the const.
To narrow down the Mac 'wrong library invoked' bug.
2017-07-26 15:37:31 +01:00
James Crook
c316f8122b Revert fix to light theme. To track down library issue. 2017-07-26 12:00:23 +01:00
Paul Licameli
f70788709c Bug1227: Make Audacity detect System language on Mac correctly 2017-07-26 01:04:27 -04:00
Paul Licameli
34f8e79623 Bug1590: Mac skips plugin cfg entries for .ny's of other versions...
... This conservative fix depends on where you put the executable bundle.

Assuing the executable is in /Applications, and the other Audacity version
(past or future) is there too (either bundled as for 2.1.3 and later, or
in a folder as for 2.1.2 and previous):

The .ny files that are part of the other version's shipment are ignored, and
therefore the Effects menu avoids duplicates.

But the .cfg file is not rewritten to eliminate them, in case you want to
switch back to the other version.  If that other version is 2.1.3 or earlier,
sorry but you will see duplicates.
2017-07-25 23:25:33 -04:00
Paul Licameli
fa42d4f661 Some null checks, might be needed when project is closing 2017-07-25 18:00:38 -04:00
James Crook
188886f4da Revert 'Possible fix for Mac library issue.'.
The ',' on the end of the data was not creating a rogue zero entry.
So adding ImageSize-- was incorrect.
2017-07-25 21:17:46 +01:00
James Crook
6513fcf2ca Possible fix for Mac library issue.
Fix off by one error in size.

Git-bisect indicated a problem (on Mac only) caused by a change in an image file.
It's possible that this is an error in code that we have 'got away with' until now.
We always have an extra zero on the end of the image data and included it in the count of the
size of stream to unpack.  For a particular image this may have triggered a memory corruption
problem.
2017-07-25 20:53:42 +01:00
Paul Licameli
07ea0ae03f Workaround for GarageBand as synth not respecting notes-off message 2017-07-25 14:56:02 -04:00
Paul Licameli
c2229b131f Preset change menu items for Lv2 effects in plain UI did nothing! ...
... Fix that!
2017-07-25 01:14:52 -04:00
Paul Licameli
4a4fa8d97c Bug1183: make spectrogram settings scrollable for limited resolution 2017-07-24 21:12:19 -04:00
Paul Licameli
ff60610adf Bug1404: Close realtime effect with Enable unchecked; reopen; play...
... effect should apply to the audio stream.
2017-07-24 18:45:42 -04:00
Paul Licameli
54afdc762f More of bug 1338: avoid Mac hang with modal invocation of plugin...
... This required a separate set of changes and testing for the VST version of
SPAN, another for the AU version.

see commit c8e570797f
2017-07-24 17:08:42 -04:00
Paul Licameli
ddf236993f Bug1502: VST and AU plug-ins should show correct rates and spectra 2017-07-24 14:20:54 -04:00
Paul Licameli
2d56c8ec32 Fix misbehavior of toolbars after click without drag on a grabber...
... only lately introduced at b3c8f5db3d
2017-07-24 12:35:24 -04:00
Paul Licameli
2f178db700 Revert "Bug 1432 another case..." It's not safe for Windows...
... It made it possible to get into a state where some of the toolbars
stopped responding.

This reverts commit 67b858ed3f.
2017-07-23 17:32:01 -04:00
Paul Licameli
3b0a113525 The new event filter works more safely with Destroy, not Close events 2017-07-23 16:01:10 -04:00
Paul Licameli
67b858ed3f Bug 1432 another case...
...Mac, drag toolbar with the focus on or off dock, won't lose focus.

You still lose focus when dragging another bar to undocked.
2017-07-23 15:48:50 -04:00
Paul Licameli
68a0f29bc2 Remove unused member variable 2017-07-23 15:17:07 -04:00
Paul Licameli
503f3548a1 Bug1432 partial, keep correct focus in more cases, not all...
Works by using the newer and better logic of ToolManager for remembering which
window to focus.

It seems, at least on Windows, that when the toolbar with the focused control
is docked after the end of a docking (of itself or another bar), then focus
remains.

If the bar with the focus is undocked and another bar docks or undocks, focus
is still lost.
2017-07-23 14:57:19 -04:00
Paul Licameli
9aea0d3967 Do not redundantly track focus in AButton...
... I suspect it goes wrong on Mac sometimes, fault is in wxWidgets 3, not
sending all the kill focus events that it should.
2017-07-23 14:57:18 -04:00
James Crook
a8ba5d567e Restore LightTheme colours that were faded
I think the colours got faded because of colour blending when working with the images,
but I am not 100% sure.  Colour blending should be off when doing such work.  I recaptured
the unfaded colours from an older png.

The other themes seemed to have OK (unfaded) colours.
2017-07-23 19:08:26 +01:00
Paul Licameli
b3c8f5db3d Bug1432 partial: Dragging toolbar should't change focus...
... Only the case that you click the grabber and release, or you drag the
toolbar ending in a docked position.

Doesn't work yet when drag ends un-docked.
2017-07-23 13:49:03 -04:00
Paul Licameli
b521fb8422 Earlier detection and abort editing in case of overlong block file...
... Bill has reported that the truncation in WriteXML happened, but a
reproducible case is not known yet.
2017-07-23 12:41:46 -04:00
Paul Licameli
d88371b4b7 Revert stuff 2017-07-23 12:40:29 -04:00
Paul Licameli
e9576bf198 work 2017-07-23 11:51:26 -04:00
Paul Licameli
1a9dd310cd Bug1432, more: Restore focused control after drag of toolbar 2017-07-23 10:48:33 -04:00
Paul Licameli
ace1ac08e7 Bug1432, partial: Click on toolbar grabber, without drag, does nothing. 2017-07-23 09:49:58 -04:00
Paul Licameli
f0de38dec1 Scanned for bad naked new; found none; changed comments, used safenew 2017-07-23 09:35:01 -04:00
Paul Licameli
f1aa9161f0 Bug1603, speculative fix: AUNBandEQ crashes Audacity...
... I can't reproduce the symptoms on my Mac, but the stack trace supplied by
Gale shows an infinite recursion overflowing the stack.

I see that at commit d1f66d768f "Updates for wx3"
by Leland, he saw the need to set a guard against infinite recursion in another
window resizing callback.  He tested that guard, but did not set it, in two
other places.  I speculate that the cycle can be entered from those other
places, bypassing where the guard was set.  So I set the guard in more places.
2017-07-22 22:55:48 -04:00
Paul Licameli
f4c3f19dd1 Bug1520: Correct TQP when snap-to-nearest second & region selection 2017-07-22 19:44:09 -04:00
Paul Licameli
d9c3a02542 Bug1623: Update play, record button images when modal dialog closes 2017-07-22 19:08:54 -04:00
Paul Licameli
0feda0395e Comment a recent fix 2017-07-22 15:41:07 -04:00