James Crook
c20a3526a6
Update Chinese Translation by zhangmin
2017-03-29 09:15:50 +01:00
Paul Licameli
9dadc5af6d
Revert "Needed to compile Pokechu22's fix-midi-output on Mac"
...
This reverts commit 5badb9174aa3ca3159c9b2bc97dc35e2c294044f.
2017-03-27 23:40:10 -04:00
Paul Licameli
5badb9174a
Needed to compile Pokechu22's fix-midi-output on Mac
2017-03-27 01:37:38 -04:00
Pokechu22
2d912f3c93
Replace assert calls with wxASSERT
2017-03-27 01:26:42 -04:00
Pokechu22
0ce9598274
Fix midi-related compile problems in AudioIO and NoteTrack
...
The compilation was broken in 67cec5a but fixed in ed8c7fd. However, the warnings weren't fixed. The same general sign-related changes from 67cec5a were applied, fixing several warnings.
This also changes the arguments for NoteTrack's label click handler, to match the ones found in TrackPanel. That's needed to handle some other const-related changes.
Additionally, EXPERIMENTAL_MIDI_PLAYBACK was changed to EXPERIMENTAL_MIDI_OUT in the documentation, as that is the correct name.
2017-03-27 01:12:16 -04:00
Pokechu22
bdb0790150
Fix compiling when USE_MIDI not is defined
...
Compilation broke in TrackPanel in ed277ec and in TrackpanelAx in a96c719c.
2017-03-27 01:12:16 -04:00
windinthew
e2a7282690
Fix wording issues reported on Wiki
...
No ellipses in title bar of file open/import dialogs
Auto Recovery Discard dialogs say only recoverable projects are discarded
Capitalised button in Dependency dialogue per MS guidelines.
2017-03-27 05:36:10 +01:00
James Crook
78149bc3da
Disable command-list capture code, by default.
...
Also added a comment to say what it is.
2017-03-23 18:48:00 +00:00
James Crook
3ffcc29bf6
Add code to capture command List
...
Capture the commands and key bindings to debug channel:
a) From the menus
b) from the preferences.
2017-03-23 18:42:54 +00:00
Steve Daulton
a07bf9c325
Rearrange 'Skip to' menu
...
Group "cursor to project start / end" with other "Cursor to" commands.
Move remaining two "Skip to" commands to View menu (subject to change).
Access keys to be decided.
2017-03-23 11:39:36 +00:00
James Crook
f4ac5c2350
Update Ukranian Translation by Yuri Chonoivan
2017-03-23 08:48:36 +00:00
James Crook
7a2b199cbf
Fix Italian Translation Typos by Lorenzo Pini
2017-03-23 08:46:37 +00:00
Steve Daulton
260044bcb0
Ffix wx assert in debug build
2017-03-22 20:26:39 +00:00
Paul Licameli
def0d2bada
Fix Linux build
2017-03-22 16:25:49 -04:00
James Crook
f62062aa3e
Update Catalan Translation by Robert Gelonch
2017-03-22 17:48:22 +00:00
James Crook
ebfca79b92
Update Russian Translation by Alexander Gvaramiya
2017-03-22 17:47:23 +00:00
James Crook
1dce83006f
Record on same track is now the default.
...
Record new track is now accessed by SHIFT+R and is so named in the menu and tool tip.
2017-03-22 16:42:40 +00:00
David Bailes
5f6a013a87
Fix windows build
...
Paul should check this fix.
2017-03-22 11:33:10 +00:00
Paul Licameli
5aefa783c8
More of the exception safety project...
...
... Specifying non-throwing in some places wehre WaveTracks are read;
on failure, substitute zeroes instead and continue.
What remains is to rewrite operations in classes Sequence, WaveClip, and
WaveTrack with appropriate exception-safety guarantees; and then, to enable
new throw statements.
2017-03-21 21:09:25 -04:00
Paul Licameli
1b00c87c03
Where reading a WaveTrack, specify whether to allow exceptions...
...
... by default, yes; as in effects or export or other editing.
But no, for mere display operations, or playback, or sample hit test. In such
cases, substitute zeroes for unavailable data.
By stipulating no-throw in such places, there are fewer places that require
scrutiny for exception-safety.
The default exception handling would also be undesirable, because we don't want
such operations to cause repeated error dialogs.
2017-03-21 20:59:43 -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
987b038fd8
Exception safety in overrides of WriteSummary
2017-03-21 17:23:35 -04:00
Paul Licameli
39b8d99a56
WaveTrack::Get, WaveClip::GetSamples take a mayThrow=true argument...
...
... and pass non-default in all needed places.
Don't throw, don't put up error dialogs, in drawing or hit-test code.
2017-03-21 17:23:34 -04:00
Paul Licameli
834a141cee
More of the exception safety project, no new throws yet
2017-03-21 14:21:49 -04:00
Paul Licameli
98d1468a01
BlockFile::ReadData overrides: on failure, pad with 0s or throw...
...
... as the mayThrow argument directs.
2017-03-21 14:19:03 -04:00
Paul Licameli
70d9e4bdc7
GetMinMax, GetRMS functions take a mayThrow argument, return numbers
2017-03-21 14:19:02 -04:00
Paul Licameli
dcac8788ff
Safeties where block file read/write exceptions need to propagate...
...
... I think this covers all places. Really.
The results of a very thorough examination of lots of code!
2017-03-21 14:17:13 -04:00
Paul Licameli
1552ff188f
When opening a file into a new project, delete the project on failure
2017-03-21 14:11:28 -04:00
Paul Licameli
2626f6cd5b
Exception safety in: subclasses of ImportFileHandle
2017-03-21 14:11:27 -04:00
Paul Licameli
ed6f2ea80f
Exception safety in: locking of BlockFile for read
2017-03-21 14:11:27 -04:00
Paul Licameli
f5fe9281e4
Strong safety guarantee for removing file dependencies
2017-03-21 14:11:26 -04:00
Paul Licameli
7159966eb4
Comment that cache-filling should be no-fail (we don't use it anyway)
2017-03-21 14:11:26 -04:00
Paul Licameli
54c1b0c955
Exception safety in: opening and saving of projects
2017-03-21 14:11:25 -04:00
Paul Licameli
4d4cd91d91
Hoist, and delay, the saving of import tag while opening the file...
...
... so that AudacityProject::AudacityProject no longer has a path in the
static call graph that reaches block file write operations that might throw.
So it is easier to prove that other functions, calling that, don't throw.
Also delay the possibly thowing save of the import until after certain other
steps in the file opening procedure.
2017-03-21 14:11:25 -04:00
Paul Licameli
22a12c6852
Exception safety in: some effects and generators...
...
... Those that directly call WaveTrack functions in their Process() routines,
which might throw exceptions for disk space exhaustion.
2017-03-21 14:11:25 -04:00
Paul Licameli
1fad6292a2
Exception safety in: overrides of ShowInterface
2017-03-21 14:11:24 -04:00
Paul Licameli
79c3bef2ce
Exception safety in: general effect performing functions
2017-03-21 14:11:24 -04:00
Paul Licameli
2cbdd1cc43
Exception safety in: ControlToolBar & Ruler functions...
...
... because SetupCutPreviewTracks has a small chance of throwing for want
of disk space.
StopStream however is considered nonthrowing.
2017-03-21 14:11:23 -04:00
Paul Licameli
0bb6a3d971
Exception safety in: importing functions...
...
... Side effects on preferences may persist even after errors.
2017-03-21 14:11:23 -04:00
Paul Licameli
0c8bedc59a
Exception safety in: subclasses of ExportPlugin; and more error checking
2017-03-21 14:11:22 -04:00
Paul Licameli
48459404a5
Exception safety in: general exporting routines
2017-03-21 14:11:22 -04:00
Paul Licameli
464828d88f
Exception safety in: batch processing
2017-03-21 14:11:21 -04:00
Paul Licameli
abbe9276f0
Exception safety in: CommandManager
2017-03-21 14:11:21 -04:00
Paul Licameli
40aa70a255
Exception safety for Edit toolbar button presses
2017-03-21 14:11:21 -04:00
Paul Licameli
664974d3ff
Exception safety in: ondemand
2017-03-21 14:11:20 -04:00
Paul Licameli
195732f074
Exception safety in: BatchCommands
2017-03-21 14:11:20 -04:00
Paul Licameli
1a90b7d942
TimerRecordDialog: comment why nothing need be done for exceptions
2017-03-21 14:11:20 -04:00
Paul Licameli
63e44e2b6b
Rearrange a few things in time shift button up...
...
... to reclaim some memory earlier, before possible throws
2017-03-21 14:11:19 -04:00
Paul Licameli
68c726918b
If exception in cut/copy, leave clipboard clear (no partial results)
2017-03-21 14:11:19 -04:00
Paul Licameli
41f1ebfb5d
Commit resampling of tracks to undo history one track at a time
2017-03-21 14:11:18 -04:00