Paul Licameli
080dd34e61
Get rid of wx object arrays, use std::vector
2018-02-21 19:33:27 -05:00
Paul Licameli
151cbb1305
Follow wxWidgets argument conventions for other ctors
2018-02-21 19:21:03 -05:00
Paul Licameli
d4b21bb33e
Bug 1600: Should keep progress dialog visible throughout Exp. Multi
2018-01-25 15:58:37 -05:00
James Crook
b384f99e62
Bug 1825 - Import Uncompressed File Dialog Incorrect Reference to Menu Item
2018-01-17 13:27:00 +00:00
Paul Licameli
def1d52505
Substitute, don't concatenate, when composing localized strings...
...
... Avoid English syntax bias.
2018-01-04 04:30:46 -05:00
Paul Licameli
7fd78183d2
Remove needless uses of wxString::c_str() in wxString::Format...
...
... and similar wx "variadics," which all treat wxString smartly enough that
you don't need this.
Don't need c_str either to convert wxString to const wxChar * because
wxString has a conversion operator that does the same.
2018-01-01 20:34:33 -05:00
Paul Licameli
384300016d
Define FileDialogWrapper, with localized default prompt and name
2018-01-01 17:50:04 -05:00
Paul Licameli
ccb4bbac33
Translate "Message" as default title of message box...
...
... This required a sweeping change of all calls to wxMessageBox! But it seems
safe to me, despite the great number of touched files.
2018-01-01 17:50:02 -05:00
James Crook
f463eda36c
Clean up some dead code and MSVC warnings.
...
- Dead code from experiments in SelectionBar removed.
- Many warnings about unused parameters fixed with WXUNUSED()
- Many warnings about signed / unsigned comparisons cleaned up.
- Several 'local variable declared but not used' warnings fixed.
2017-12-08 15:20:39 +00:00
Paul Licameli
49174461d1
Overwriting export via save-compressed or chain commands: safety...
...
... of original file contents in case of failure.
2017-10-17 06:46:29 -04:00
Paul Licameli
cbf4c11e26
When export fails, don't leave a partially written file.
2017-10-17 06:29:04 -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
7ced70c210
Bug1315 fix suggested by Bobby Kent (export file dialog problem)
2017-07-22 14:41:02 -04:00
James Crook
cc38ba34a4
Bug 1607 - Some dialogs appear on primary monitor when Audacity is running on secondary monitor
2017-05-14 14:25:40 +01:00
Paul Licameli
6c4cf46c06
Move mute and solo state into PlayableTrack
2017-03-29 13:45:08 -04:00
Paul Licameli
38b8e57e4e
Specify whether to throw on bad read in Mixer and WaveTrackCache...
...
... Do throw when exporting or mixing-and-rendering; don't if playing back or
drawing a spectrogram, but then just use zeroes.
2017-03-21 17:23:35 -04:00
Paul Licameli
48459404a5
Exception safety in: general exporting routines
2017-03-21 14:11:22 -04:00
Paul Licameli
1614db9994
Remove naked malloc (or similar) and free in: export
2017-03-17 17:52:52 -04:00
Paul Licameli
9bdc7b2cbf
Remove naked new[] in: export
2017-03-17 17:52:45 -04:00
Paul Licameli
aa0d55ac83
Use enum class ProgressResult, don't interconvert with int or bool
2017-03-17 17:52:24 -04:00
James Crook
a4136f5979
Bug 1427 - Summary: Wording Issues - Metadata Tags
2017-03-01 15:57:48 +00:00
James Crook
5809499cfc
Bug 1580 - Residual
...
I'd missed the path for Export Audio and Export Selected Audio.
2017-02-07 11:38:56 +00:00
James Crook
e9b9fcbcb2
Bug 1304 - Starting Save or Export directory is not set, so is unwritable or requires authentication for most users
...
I have done as suggested in the bug comments, and used:
Windows: Users\username\Documents
Unix/Mac: ~/Documents .
We could though use GetLocalizedResourcesDir() and could use Music rather than Documents.
2017-01-03 15:31:12 +00:00
Paul Licameli
f993f1eadf
Regularize casts as (int), so they are easier to find and review
2016-09-20 08:42:11 -04:00
James Crook
923eefaf90
Add code from merging.
...
This brings more of the code from DarkAudacity into Audacity, though not yet enabled. This will make cherry picking later easier.
- Changing colour of html displays now possible, as colour links are visible for substitution. (Can't use css as wxHTML is very limited).
- Export can now be preset to a particular format independent of preferences.
- SnapTo reversion on zoom now a DA controlled option.
- Caching of pinning preference for faster repaint because preferences are slow.
- Record Append now has sensible limit on number of tracks, rather than giving an error, and flipping the meaning of shift is now DA controlled.
2016-09-10 21:34:14 +01:00
Paul Licameli
67cec5ad83
Make many counts of tracks and channels unsigned...
...
... And in some places where a library uses signed types, assert that
the reported number is not negative.
What led me to this, is that there are many places where a size_t value for
an allocation is the product of a number of channels and some other number.
2016-09-07 10:11:41 -04:00
Paul Licameli
fe5ab9a462
Remove the naked new in allocation of AudacityProject
2016-08-14 15:24:59 -04:00
Paul Licameli
f82ff73578
Remove some naked new amd delete in: import and export
2016-08-08 07:53:28 -04:00
Paul Licameli
84c0337aba
Fix TAB key navigation on Mac for all dialogs (not only for panels)
2016-07-10 17:12:27 -04:00
Paul Licameli
4739f3e27b
Compensate for wxW 3 tab navigation deficiencies on Mac...
...
... using char hook event handlers. We don't need to go the extreme length
of patching wxWidgets source.
2016-06-25 19:14:05 -04:00
Paul Licameli
87f368f380
Redo AliasedFile using wxFileNameWrapper.
2016-04-17 03:31:16 -04:00
Steve Daulton
5b968e8250
Fix bug 1374
2016-04-12 21:58:44 +01:00
Paul Licameli
ff3e3d0e83
ExportPlugin::CreateMixer returns a smart pointer
2016-04-06 14:56:05 -04:00
Paul Licameli
456c8fb01e
ExportPlugins managed with smart pointers
2016-04-06 14:08:42 -04:00
James Crook
b764c465d0
Reduced some repetitive code. Added credit for Mark Young.
...
Also added i18n-hint on translation and a couple of TODOs for further improvement.
2016-04-01 11:13:32 +01:00
tip2tail
aa5ffe99a7
Timer Recording Enhancements to allow Automatic Save and Export after
...
recording. Also allows for additional options to be carried out after a
successful timer recording such as Exit, Retsrat and Shutdown.
2016-03-30 20:42:59 +01:00
Paul Licameli
43790cfa56
std::vector for wave track pointers; remove deprecated TrackList function; ...
...
... and some more uses of const
2016-03-01 20:54:48 -05:00
Paul Licameli
88eeebcb8b
Undoing and redoing of Tags...
...
Use reference counting (in std::shared_ptr) to avoid replicating Tags with each
Undo state.
2016-02-24 19:25:39 -05:00
Paul Licameli
83e8a80f61
Sweep unnecessary wxString copies: export
2016-02-22 22:22:25 -05:00
Paul Licameli
1c07741d57
Sizers are owned by wxWindow objects when added, so use safenew, or...
...
... use unique_ptr in the interim between building them and adding.
This checks eliminates some naked news, which were not paired with deletes.
2016-02-18 18:58:38 -05:00
Paul Licameli
4d78e353c3
Revert "sizers"
...
This reverts commit 84c0a0b6663a1210be502a76ab9c48dd330b3919.
2016-02-18 14:50:52 -05:00
Paul Licameli
84c0a0b666
sizers
2016-02-18 02:54:50 -05:00
Paul Licameli
df6a7c5464
More uses of safenew for classes we derive from wxWindow classes...
...
... Also removed some unnecessary deletes of widgets that are managed by parent
windows
2016-02-14 20:39:28 -05:00
Paul Licameli
3f237daddc
Use macro safenew for many allocations of wxWindow subclasses
2016-02-14 20:20:19 -05:00
Paul Licameli
7c4c45a0d5
"new"->"NEW" in comments, easier to find remaining naked operator new
2016-02-14 18:52:41 -05:00
Steve Daulton
d6b8080a5d
Fix for bug 1313
2016-01-29 22:12:41 +00:00
Paul Licameli
a047fcf0f8
Travis
2016-01-26 14:14:10 -05:00
Paul Licameli
53a8b44f1d
Bug1217: Export "other uncompressed files" now uses correct default extension...
...
... but there is this consequence: If you do type an explicit extension,
which is one of the acceptable extensions though different from the
"Header:" chocie, then it is also corrected, silently. This behavior is
different from other cases where the user types an inappropriate explicit
extension and is prompted to fix it.
2016-01-26 13:48:37 -05:00
Leland Lucius
aefde8ad30
Fix for bug #1216
2015-09-30 10:22:23 -05:00
Leland Lucius
8d236b88ae
Fix bug #1110
2015-08-09 23:28:13 -05:00