Paul Licameli
0ab29d21e9
Some naming consistency...
...
Prefer "MissingAliasFiles" not other permutations of the words
2019-05-17 06:47:53 -04:00
Paul Licameli
6c57948d8f
Remove unnecessary #include-s from .cpp files...
...
... Unnecessary because transitively included.
But each .cpp file still includes its own .h file near the top to ensure
that it compiles indenendently, even if it is reincluded transitively later.
2019-05-16 17:21:00 -04:00
Paul Licameli
548192fcf3
Remove redundant #include-s from .h files...
...
Redundant, because transitively implied. But don't do this for inclusions of
Audacity.h or Experimental.h.
2019-05-16 14:58:34 -04:00
Paul Licameli
56f51d8176
Revert "Remove redundant #include-s from .h files..."
...
This reverts commit b7fe62d170 .
2019-05-16 14:33:55 -04:00
Paul Licameli
b7fe62d170
Remove redundant #include-s from .h files...
...
Redundant, because transitively implied. But don't do this for inclusions of
Audacity.h or Experimental.h.
2019-05-16 14:15:05 -04:00
Paul Licameli
961882838f
Move definition of std::hash< wxString >
2019-05-16 12:30:26 -04:00
Paul Licameli
f6adeed47b
Remove some unnecessary #include directives
2019-05-15 14:14:18 -04:00
Paul Licameli
c8d95e1117
Bug2105: Enable TAB to sliders on Mac...
...
... I think this is a defect in wxWidgets, but one we can work around with a
simple wrapper class around wxSlider overriding one method.
To make the fix complete, change all occurrences of "safenew wxSlider"
but the one in ShuttleGui.cpp covers most cases
2019-04-30 21:50:22 +01:00
Paul Licameli
c46fbd919c
rename function as AudacityProject::GetProjectName...
...
... So it does not hide inherited wxWindow::GetName().
And make it const.
2019-04-26 14:10:05 -04:00
James Crook
7e53282164
Bug 2057 - Size problem is relevant to AIFF too.
...
Change the error warning (in English only). Change the link page.
2019-04-26 18:11:36 +01:00
Paul Licameli
544d9aa580
Don't use AudacityApp where you only need wxApp...
...
... I want to have fewer inclusions of AudacityApp.h. More work on removing
them will happen in the next version.
2019-04-26 11:54:28 -04:00
James Crook
410746b3d2
Bug 2075 - Change link to manual to Size_limits_for_WAV_files
2019-04-25 20:44:34 +01:00
James Crook
4e89d6b0fa
Bug 2057 - Exporting WAV files > 4GB silently creates invalid, truncated, WAV file
2019-04-25 18:38:43 +01:00
James Crook
7838aa0a90
Prepare error strings for bug 2057.
2019-04-18 18:12:33 +01:00
James Crook
5c361631c6
Fix Show/Hide Tags Dialog, for export multiple by Labels.
...
Previously I only fixed the export by tracks case.
Oh beware, duplicated code.
2019-04-13 14:27:25 +01:00
James Crook
adf243568b
Fix Show/Hide Tags dialog for export multiple too.
...
Previously it was not remembering a change in show/hide.
2019-04-13 12:25:31 +01:00
Paul Licameli
2463a6683b
Comments about "/FileFormats/FFmpegUseLPC"
2019-04-06 11:07:28 -04:00
Paul Licameli
f4622af749
Fix error in config path in FFmpeg options dialog...
...
... Two controls were associated with the same path,
"/FileFormats/FFmpegMaxPredOrder"
But where the paths are read in ExportFFmpeg.cpp, that was read in one place,
and in another, "/FileFormats/FFmpegMaxPartOrder" was read, and that path was
not written anywhere.
The intention was surely that the other spin control should have used that path.
2019-04-06 10:41:03 -04:00
James Crook
ae431bc5bd
Build LAME on macOS
2019-04-06 12:05:43 +01:00
Paul Licameli
2e1fe80601
Remove or comment wxPanelWrapper.h in headers
2019-04-04 10:13:23 -04:00
Paul Licameli
0b733eed3f
Remove (or comment) ProgressDialog.h in headers...
...
... For ImportPlugin, use unique_ptr not Maybe to hold it, and take constructors
out-of-line.
2019-04-04 09:47:57 -04:00
Paul Licameli
3002aa5362
Remove Tags.h, Grid.h from headers
2019-03-31 16:01:02 -04:00
James Crook
2936459bca
Fix Windows Build
2019-03-31 20:46:06 +01:00
Paul Licameli
4714d72b3f
Can't remove remaining wx headers from other headers, comment that
2019-03-31 01:41:16 -04:00
Paul Licameli
71d94c9cb5
wx/listimpl.cpp no longer used anywhere
2019-03-30 13:25:52 -04:00
Paul Licameli
34f318cd41
Remove wx/{imaglist,generic/dragimgg,gauge,dynarray}.h from *.h
2019-03-30 12:51:12 -04:00
Paul Licameli
d28ae40399
Remove wx/dialog.h from headers
2019-03-30 12:01:39 -04:00
Paul Licameli
870c08ac06
Remove wx/{log.h, image.h, listctrl.h, utils.h} from headers
2019-03-30 11:21:51 -04:00
Paul Licameli
08c16b6eb7
Remove wx/{html/htmlwin,fileconf,dragimag,debug,dcclient}.h from *.h
2019-03-30 10:53:22 -04:00
Paul Licameli
3a7324984c
wx/hashmap.h no longer used anywhere
2019-03-30 10:06:52 -04:00
Paul Licameli
4e9c3cfb5f
Remove wx/{dc,tokenzr,tglbtn,statusbr,simplebook}.h from *.h
2019-03-29 06:29:35 -04:00
Paul Licameli
d71a54b4e9
Remove wx/checkbox.h from headers
2019-03-28 12:55:34 -04:00
Paul Licameli
803d8b9559
Remove wx/filename.h, wx/choice.h, wxFileNameWrapper.h from headers
2019-03-28 03:12:42 -04:00
Paul Licameli
8cf6874555
Remove wx/textctrl.h from headers
2019-03-28 01:43:53 -04:00
Paul Licameli
b8aea73c91
Remove wx/stattext.h from headers
2019-03-27 14:33:46 -04:00
Paul Licameli
7766d9a192
AddCheckBox takes a bool for initial state, not string
2019-03-27 12:58:40 -04:00
James Crook
47fe07bb42
Wording
...
'MP3' -> 'LAME MP3' x2
'Built In' -> 'Built-in'
'AudioUnit' -> 'Audio Unit'
2019-03-27 10:57:11 +00:00
James Crook
a2ee30240c
Use built-in LAME (Windows only)
2019-03-26 17:47:41 +00:00
Paul Licameli
40b4361732
Remove wx/arrstr.h from headers
2019-03-26 12:41:44 -04:00
Paul Licameli
1d0247607a
Remove wx/string.h from headers
2019-03-26 11:33:55 -04:00
Paul Licameli
2176de79fb
Rewrite #include directives in lib-src/FileDialog ...
...
... Removing one from the public header file
2019-03-23 11:31:17 -04:00
Paul Licameli
cb3c8b553c
Remove wx/checkbox.h from FFmpeg.h, moving inline functions out
2019-03-23 11:14:42 -04:00
Paul Licameli
f45300f032
This is only comments, in files where USE_ macros are tested...
...
... following the comment convention used in the preceding commit.
2019-03-22 12:38:30 -04:00
Paul Licameli
adcb93512c
Include Audacity.h in all files that test config USE_ macros...
...
... except Experimental.h, but see preceding commit.
This is especially important in the header files.
Be sure there are no quiet changes of meaning when a header file is included
in a different context, not having seen Audacity.h. Rather include Audacity.h
even if redundantly.
Also, in some header files, move more inside the include-guard #ifdef-#endif
pair.
2019-03-22 12:36:54 -04:00
Paul Licameli
5e7d41ec07
Each .cpp/.mm file includes corresponding header before any other...
...
... except Audacity.h
This forces us to make each header contain all forward declarations or nested
headers that it requires, rather than depend on context.
2019-03-17 22:54:52 -04:00
Paul Licameli
173a300427
Include nothing before Audacity.h, as comments say we should...
...
... and remove some duplicated inclusions
2019-03-17 21:41:39 -04:00
Paul Licameli
1bcb7c20a5
Remove some nested #include from Project.h
2019-03-16 13:09:54 -04:00
Paul Licameli
dd86346156
ShuttlegGUI: const wxArrayStringEx & arguments, not wxArrayString *...
...
... for choice, combo, and listbox; reference allows passing temporaries,
eliminating need for some variables to hold the string arrays.
2019-03-16 07:17:21 -04:00
Paul Licameli
dcd82b8ef5
ShuttleGui::AddChoice takes int to specify selection, with a default...
...
... This makes things brief and where non-default avoids some repetition of
literal strings
2019-03-15 23:35:13 -04:00
Paul Licameli
a30000cf74
Use type aliases FilePath, FilePaths...
...
... for wxString and wxArrayStringEx, holding file paths (absolute or relative,
directory or plain file); to be replaced later with different types
(not yet using std::vector, becase of some uses of wxArrayString::Index with
two arguments)
2019-03-15 15:18:11 -04:00