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

7460 Commits

Author SHA1 Message Date
James Crook
77a2ac617b New Basque (Spanish) translation by Osoitz Elkorobarrutia 2017-07-29 15:00:59 +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
0830234a0f Audacity.dox version to 2.2.0 2017-07-28 20:09:35 +01: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
James Crook
6d1b17a24f Update Dutch translation by Thomas De Rocker 2017-07-28 14:23:17 +01:00
Paul Licameli
dba49dd485 Bug1702(Mac Sierra): Use right lib paths, no weird startup tricks...
... Reopens minor bug 543 as a won't-fix.

Bring back the shell script as a way to change environment for Audacity before
it starts.

Perhaps this fixes Bug 1703 too:  double-click on .aup before Audacity starts
brings up an empty window.
2017-07-27 14:19:05 -04:00
Paul Licameli
ac558ce700 Copying of Audacity.sh not an intall-only step, for debug convenience 2017-07-27 13:56:27 -04:00
Paul Licameli
8b32eea8bb Bug290 (load LAME, FFmpeg from correct place): original fix again...
... That is, put a little shell script in the application bundle, and invoke
it (in Release, though not Debug where it interferes with Xcode debugging)

See commit 07661c186f7e8e6d978fa35485d65364b96dfb3a

The shell nulls the environment variable DYLD_LIBRARY_PATH and then executes
the main program.

This is needed because changes to DYLD_LIBRARY_PATH during the main program's
run fail to affect the loading of dynamic libraries afterward.

We need null in DYLD_LIBRARY_PATH to make absolute paths to libraries take
priority.

More info:

Documentation of workings of the macOS dynamic loader
https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryUsageGuidelines.html

The same problem and solution is discussed here
https://stackoverflow.com/questions/6713692/problems-with-using-setenv-and-then-making-the-dlopen-call

It is claimed there that Firefox did the same trick with a shell, which I do
not observe in my version, but GIMP 2.8.16 does this, as I can see by examining
package contents

Also note the mention in this commit's comments (where the script was removed
because bug543's fix left it unused), that the script also used to
interfere with signing.  I hope that there will be a way around that.

98186b9317adf842e0469fe98175b55da31d3210
2017-07-27 13:39:22 -04: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
a05d039055909d7d1dc2d4f31e1fe0659a3207dd (fork and crash)
36361a6b86dac4b0f2b16b7017007b4cc7717c7a (introduced execve)
2017-07-27 12:22:30 -04:00
Steve Daulton
32f3ccd08e Update file name
The current OS for Mac is macOS
2017-07-27 16:06:21 +01: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
08795f6843 Fix line ending in Spanish translation 2017-07-26 12:51:32 +01:00
James Crook
2b3f914b5f Update Greek translation by Dimitris Spingos 2017-07-26 12:26:48 +01:00
James Crook
aa58124f53 Update Spanish translation by Antonio Paniagua Navarro 2017-07-26 12:26:12 +01:00
James Crook
e4e7d864ae Update Ukranian translation by Yuri Chornoivan 2017-07-26 12:25:03 +01:00
James Crook
d1b6f3d3b3 Update Danish translation by scotergrisen 2017-07-26 12:24:25 +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 c8e570797f1e7c76750b4a8f24d4fb97c612f7e6
2017-07-24 17:08:42 -04:00
James Crook
6ce85bee9a No need for CXXFLAGS in ./configure anymore. 2017-07-24 20:35:21 +01: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 b3c8f5db3dc386989fb03506b6f2f032319929e1
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 67b858ed3ff1c6c84fdb1b505e6ccb882471d6f6.
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
James Crook
7156479d11 Typo fix (extra s) 2017-07-23 14:25:44 +01:00
James Crook
c6fef0a46a Use local libraries by default on linux
Necessitated by MIDI support, as many people's local portaudio libs will not be patched.
This also solves some issues with building with lv2 and ffmpeg on some Ubuntu systems.
2017-07-23 14:20:57 +01: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 d1f66d768ffd3823757d2746388074eca95ec138 "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
James Crook
e2c0b2d00c Update German Translation to current .pot
The previous translation was using the 11:50 Audacity.pot.
2017-07-22 23:04:51 +01:00