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

6355 Commits

Author SHA1 Message Date
Paul Licameli
8e2e4a53b8 Define SimpleMessageBoxException 2017-03-31 17:47:18 -04:00
Paul Licameli
d1cbac4181 more finally, more const, remove unused, fix warnings 2017-03-31 17:47:18 -04:00
Paul Licameli
699b9d0517 Merge branch 'master' into head 2017-03-31 17:46:47 -04:00
Paul Licameli
a1b88fe8d6 Fix assertion in MIDI prefs when there are no devices 2017-03-31 13:02:57 -04:00
Paul Licameli
8928bd4d7b Correct MixerTrackCluster::GetRight() 2017-03-31 00:48:04 -04:00
Paul Licameli
a936aed643 Another use of type AudioTrack 2017-03-30 20:48:27 -04:00
Steve Daulton
a9879bddf0 Refactor clipfix.ny to fix multiple problems
Basically a rewrite based on the original algorithm.
2017-03-31 00:01:18 +01:00
Paul Licameli
23dc35a18c Bug1614: fix crash duplicating a clip 2017-03-30 16:48:52 -04:00
Paul Licameli
7bda40f656 Common functions read and write mute and solo in Wave and Note 2017-03-30 16:00:27 -04:00
Paul Licameli
1a86819b4b Fixes for clang build with 64 bit unsigned long 2017-03-30 10:46:44 -04:00
Paul Licameli
82f909fe31 Again, fix compilation without USE_MIDI 2017-03-30 10:22:20 -04:00
windinthew
64a6fa625d pacovila PR 183 verb to noun 2017-03-30 02:26:42 +01:00
windinthew
930e834aef Mark Young PR 192 (modified)
Change 2.1.2 to 2.1.3/2.2.0-alpha in win/compile.txt
 Git-ignore VisualStudio 2017 files.
2017-03-30 02:03:46 +01:00
Paul Licameli
8c796e2603 Some preliminaries for playable MIDI tracks 2017-03-29 14:01:00 -04:00
Paul Licameli
d109142693 Make mute and solo of NoteTrack persistent, if EXPERIMENTAL_MIDI_OUT 2017-03-29 13:58:20 -04:00
Paul Licameli
6c4cf46c06 Move mute and solo state into PlayableTrack 2017-03-29 13:45:08 -04:00
Paul Licameli
ed0088491c Remove MixerTrackClusters right to left, remove assertion 2017-03-29 13:45:07 -04:00
Paul Licameli
b2ab9b5087 Simplify MixerBoard.cpp using the PlayableTrack type 2017-03-29 13:42:51 -04:00
Paul Licameli
f1bec85675 use AudioTrack 2017-03-29 13:27:22 -04:00
Paul Licameli
c391a8f884 Define AudioTrack and PlayableTrack as common bases for Wave and Note 2017-03-29 13:27:22 -04:00
Paul Licameli
80984c9f1d From Pokechu22: Rename gain to velocity on note tracks
"Velocity" is the technical term, and it's the term that's used everywhere.
"Gain" was probably only used because "gain" is used on wave tracks; since
note tracks aren't wave tracks (and shouldn't be treated as them) the
corresponding variables should be named velocity.
2017-03-29 13:27:22 -04:00
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