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

9791 Commits

Author SHA1 Message Date
Paul Licameli
b32940d931 Simplify specification of command item groups in Tracks menu 2019-03-13 01:09:52 -04:00
Paul Licameli
6d5bc21d50 Define and use wxArrayStringEx...
reducing verbosity where there were repeated calls of Add(), and defining
move construction and assignment for efficient returns from functions
2019-03-10 16:23:44 -04:00
Paul Licameli
07a42e8e19 Make NoiseReduction.cpp compilable with ADVANCED_SETTINGS 2019-03-10 16:21:16 -04:00
Paul Licameli
da33daf197 Some replacements of wxArrayString with auto 2019-03-10 14:47:12 -04:00
Paul Licameli
e46990f709 Less use of wxWidgets-specific idioms for wxString & wxArrayString...
... more use of standard library style alternatives instead.

Other types may then more easily replace them in future:  std::vector of
wxString or of other string-like classes.
2019-03-10 14:45:29 -04:00
Paul Licameli
2a1bf3a77f More std:: style for wxString...
... Remove all uses of the three-valued Cmp comparison member function, which
returns 0 for equality, except in one place.  Use operators == and != instead.

(C++20's spaceship operator hasn't landed here yet!)
2019-03-10 14:45:20 -04:00
Paul Licameli
795b6a2e42 More std:: style for wxString and wxArrayString...
... Replacing:

Insert => insert
RemoveAt => erase
Remove => erase
IsSameAs => operator == or operator !=
   (but only when second argument was true or default)
2019-03-10 14:45:12 -04:00
Paul Licameli
dd8eb9e3d9 Less use of wxArrayString::Index() ...
... instead use the utility make_iterator_range and its index() or contains()
method.  This generic utility works with any container defining begin() and
end().

This further lessens dependency on wxWidgets container idioms.
2019-03-10 14:45:06 -04:00
Paul Licameli
c68e336247 More use of std:: style members of wxString...
... replacing:

Length => length
Len => length
2019-03-10 14:44:54 -04:00
Paul Licameli
2db49dc1f0 Use standard library style members of wxArrayString (and wxString) ...
... which will make it easier to change the types of those containers to
std::vectors of other string-like classes

for wxString,

IsEmpty => empty
Clear => clear
Alloc => reserve

for wxArrayString,

Count => size
GetCount => size
IsEmpty => empty
Add => push_back
Clear => clear
Empty => clear
Sort => std::sort (only with default comparator)
SetCount => resize
Last => back
Item => operator []
Alloc => reserve
2019-03-10 14:43:57 -04:00
Paul Licameli
5daa67dfe6 Remove uses of wxSortedArrayString 2019-03-10 14:43:53 -04:00
Paul Licameli
52642e49a5 Define and use utilities transform_range, transform_container 2019-03-10 14:43:47 -04:00
Steve Daulton
b0738f6e09 Fix for bug 2050
This fix will become irrelevant when LAME is included, but may as well
fix it in the meantime.
2019-03-10 17:44:44 +00:00
Steve Daulton
8012f6b2dd Fix for bug 2072
id3_length_t is defined as "unsigned long" in id3tag.h, but is undefined
when building without libid3tag.
2019-03-10 17:35:52 +00:00
Paul Licameli
e832b6895e Case insensitive comparison for file extensions in two places...
... consistent with handling of file extensions elsewhere
2019-03-10 12:55:53 -04:00
Paul Licameli
a5e0b66d1f WrappedType is immutable (though it points to something mutable) 2019-03-10 12:38:35 -04:00
Paul Licameli
459582ce00 Remove some repetitous push_back 2019-03-10 12:34:49 -04:00
Paul Licameli
caab0a5a4d std::vector<int> replaces wxArrayInt, again
see also 8be1e8fdadaa39113803af306ed9da818f1380c1
2019-03-09 12:02:13 -05:00
Paul Licameli
30c4ca70ee Make EXPERIMENTAL_EFFECTS_RACK compilable 2019-03-09 12:02:13 -05:00
Paul Licameli
b4113aae35 Make EXPERIMENTAL_OD_FFMPEG compilable 2019-03-09 12:02:13 -05:00
Paul Licameli
f2405f3023 rename a function 2019-03-09 12:02:13 -05:00
Paul Licameli
617ac20e7f remove some unused things 2019-03-09 12:02:12 -05:00
Olivier Humbert
467e188672
Update fr.po 2019-03-09 02:44:28 +01:00
James Crook
d079de75b1 Bump version number 2019-03-08 19:00:00 +00:00
Vitaliy Kirsanov
a2543ff60e
Correct config macro for expat lib on MacOS
Otherwise build breaks
2019-03-01 23:51:35 +03:00
James Crook
1c21e9358b Update Changelog and ReadMe Audacity-2.3.1 2019-02-24 08:28:05 +00:00
James Crook
222dfa9dbd Building for 2.3.1 release now. 2019-02-23 11:10:11 +00:00
James Crook
cf9f7268aa Disable Vietnamese translation in win installer.
It causes an error message when building the installer.  The translation is
in any case not up to date.
2019-02-23 11:06:58 +00:00
Paul Licameli
aae544befe Determinate order of names under Tools> Apply Macro...
... There was a complaint that it was neither by name or by date for some users
2019-02-19 14:16:28 -05:00
Steve Daulton
e609a9dcef Fix bug 2069
Macros: Change Pitch in a Macro does not remember speed parameter setting
Also, Change Pitch did not remember settings after restart.
2019-02-17 18:44:22 +00:00
Paul Licameli
4ba373f2d9 Failed open of block file gives correct error message 2019-02-13 14:17:00 -05:00
James Crook
1d40f33eba Rename 64 bit ffmpeg libs.
Also change the prompting to suggest the new/expected name.
2019-02-13 10:14:13 +00:00
James Crook
c912b13747 Bug 2046 - LAME not found error on 64-bit Mac build shows wrong library (32-bit one)
Audacity now looks for libmp3lame64bit.dylib on mac.
It also reports 64 bit in the build tab in about Audacity if built for 64 bit.
2019-02-10 07:37:37 +00:00
Paul Licameli
d4c8e9e7b9 Bug2056 residual: Linux only time ruler drags and focus...
... Cross platform differences in Focus handling are confusing, and we don't
know yet how to abort drags and also put focus back where we want it on Linux.

So don't take focus even temporarily in the time ruler.  Sorry, ESC key won't
work.
2019-02-09 18:38:37 -05:00
Mike Barker
4e57a369be Bug Fix 1979 and fix CreateHardLink arg conversion errors 2019-02-09 17:57:52 -05:00
Paul Licameli
9d18263be6 Bug2059: Save empty,record,save-as shouldn't delete old _data folder 2019-02-09 17:04:45 -05:00
David Bailes
012d707a8a Bug 2060: Windows: no access to microphone causes crash
Problem:
1. Set no access to microphone in Privacy category of Settings app.
2. Try to record in a new track. (not append to an existing track.)
3. Audacity crashes.

Cause of crash:
TrackPanel::OnTrackListResizing is called with a track after a call to
TrackList::ClearPendingTracks, which has removed its owner.
TrackPanel::OnTrackListResizing ends up calling TrackPanel::UpdateTrackVRuler,
and this function calls TrackList::Channels(t)), which assumes the track has an owner.
Crash.

Fix: in TrackPanel::OnTrackListResizing, check that the track has an owner.
2019-02-05 14:29:22 +00:00
James Crook
807a763c90 Increase space in OSX bundles for dylib filenames
This is needed to allow path names in the bundle to be rewritten by install_name_tool so that they are relative to the bundle rather than absolute paths.  The problem previously was that the new relative path names could be too long.
2019-02-04 11:43:17 +00:00
Paul Licameli
93f4e3bd66 Bug2056: TrackPanel should keep focus after quick play...
... Fixed as suggested by David Bailes.

Confirmed on Mac and Windows that the intended ESC key handling to abort drag
in the ruler also now works.  (It didn't on Windows in 2.3.0.)
2019-02-01 14:30:19 -05:00
Paul Licameli
d3316173b6 Fix unwrapped wxMessageDialog, small mistake in aee4005 2019-01-29 13:03:50 -05:00
Paul Licameli
38849cc902 Null check in AudacityApp:OnExceptionInMainLoop 2019-01-28 16:49:48 -05:00
Paul Licameli
0941eaa0d5 Bug2058: shouldn't lose data in original project when saving-as...
... Bug was introduced at commit e87e15f, which was part of an unsuccessful
attempt to fix performance Bug1979
2019-01-26 14:23:37 -05:00
Steve Daulton
b3dafcedd1 Fix: bug 2054
Windows: Macros - "ExportMP3 before" and "ExportMP3 after" overwrite
causing non-critical data loss.

Thanks to Mike Barker for locating the problem.

This fix also corrects the bit-rate for the ExportMP3_56k commands.
2019-01-21 10:21:03 +00:00
Michele Locati
6db75f421d
Spell-check 2019-01-18 09:23:42 +01:00
Michele Locati
3afd42b9d4
Finish Italian translation 2019-01-18 09:00:03 +01:00
Michele Locati
13ccbcde44
Update Italian translation 2019-01-17 08:32:48 +01:00
Michele Locati
bc419337ac
Update Italian translation 2019-01-16 15:46:21 +01:00
Steve Daulton
226851ab91 Fix empty string a no-op for all Nyquist plug-ins
Previously an empty string would preven ;type process plug-ins
from continuing to other tracks.
2019-01-14 16:25:53 +00:00
Виталий Кирсанов
1fc3acf595 Don't declare snprintf macro for MSVC 2015 and 2017 in lv2/CMakeLists.txt
That declaring breaks build on MSVC 2015/17 (2013 is ok). There is a note about
changed behaviour of snprintf beginning from VS 2015 here:
https://docs.microsoft.com/ru-ru/cpp/c-runtime-library/reference/snprintf-snprintf-snprintf-l-snwprintf-snwprintf-l?view=vs-2017#remarks
2019-01-13 19:08:43 +03:00
Steve Daulton
5a7b6a7323 Fix multiple selection Nyquist file widget
Wx "Style" flags are 4 bytes, not 1 byte.
Also update a couple of comments in passing.
2018-12-27 19:44:15 +00:00